]> git.saurik.com Git - wxWidgets.git/blob - wxPython/contrib/ogl/oglshapes.cpp
updates of generated sources for wxGTK
[wxWidgets.git] / wxPython / contrib / ogl / oglshapes.cpp
1 /*
2 * FILE : contrib/ogl/oglshapes.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
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 #include "Python.h"
40
41 #ifdef __cplusplus
42 extern "C" {
43 #endif
44
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
49 extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
50 extern PyObject *SWIG_newvarlink(void);
51 #ifdef __cplusplus
52 }
53 #endif
54 #define SWIG_init initoglshapesc
55
56 #define SWIG_name "oglshapesc"
57
58 #include "export.h"
59 #include "oglhelpers.h"
60
61 static PyObject* l_output_helper(PyObject* target, PyObject* o) {
62 PyObject* o2;
63 if (!target) {
64 target = o;
65 } else if (target == Py_None) {
66 Py_DECREF(Py_None);
67 target = o;
68 } else {
69 if (!PyList_Check(target)) {
70 o2 = target;
71 target = PyList_New(0);
72 PyList_Append(target, o2);
73 Py_XDECREF(o2);
74 }
75 PyList_Append(target,o);
76 Py_XDECREF(o);
77 }
78 return target;
79 }
80
81 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
82 PyObject* o2;
83 PyObject* o3;
84
85 if (!target) {
86 target = o;
87 } else if (target == Py_None) {
88 Py_DECREF(Py_None);
89 target = o;
90 } else {
91 if (!PyTuple_Check(target)) {
92 o2 = target;
93 target = PyTuple_New(1);
94 PyTuple_SetItem(target, 0, o2);
95 }
96 o3 = PyTuple_New(1);
97 PyTuple_SetItem(o3, 0, o);
98
99 o2 = target;
100 target = PySequence_Concat(o2, o3);
101 Py_DECREF(o2);
102 Py_DECREF(o3);
103 }
104 return target;
105 }
106
107 static char* wxStringErrorMsg = "string type is required for parameter";
108
109 WXSHAPE_IMP_CALLBACKS(wxPyRectangleShape, wxRectangleShape);
110
111 WXSHAPE_IMP_CALLBACKS(wxPyControlPoint, wxControlPoint);
112
113 WXSHAPE_IMP_CALLBACKS(wxPyBitmapShape, wxBitmapShape);
114
115 WXSHAPE_IMP_CALLBACKS(wxPyDrawnShape, wxDrawnShape);
116
117 WXSHAPE_IMP_CALLBACKS(wxPyCompositeShape, wxCompositeShape);
118
119 WXSHAPE_IMP_CALLBACKS(wxPyDividedShape, wxDividedShape);
120
121 WXSHAPE_IMP_CALLBACKS(wxPyDivisionShape, wxDivisionShape);
122 #ifdef __cplusplus
123 extern "C" {
124 #endif
125 #define new_wxPseudoMetaFile() (new wxPseudoMetaFile())
126 static PyObject *_wrap_new_wxPseudoMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
127 PyObject * _resultobj;
128 wxPseudoMetaFile * _result;
129 char *_kwnames[] = { NULL };
130 char _ptemp[128];
131
132 self = self;
133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPseudoMetaFile",_kwnames))
134 return NULL;
135 {
136 wxPy_BEGIN_ALLOW_THREADS;
137 _result = (wxPseudoMetaFile *)new_wxPseudoMetaFile();
138
139 wxPy_END_ALLOW_THREADS;
140 } if (_result) {
141 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPseudoMetaFile_p");
142 _resultobj = Py_BuildValue("s",_ptemp);
143 } else {
144 Py_INCREF(Py_None);
145 _resultobj = Py_None;
146 }
147 return _resultobj;
148 }
149
150 #define delete_wxPseudoMetaFile(_swigobj) (delete _swigobj)
151 static PyObject *_wrap_delete_wxPseudoMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
152 PyObject * _resultobj;
153 wxPseudoMetaFile * _arg0;
154 PyObject * _argo0 = 0;
155 char *_kwnames[] = { "self", NULL };
156
157 self = self;
158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPseudoMetaFile",_kwnames,&_argo0))
159 return NULL;
160 if (_argo0) {
161 if (_argo0 == Py_None) { _arg0 = NULL; }
162 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
163 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPseudoMetaFile. Expected _wxPseudoMetaFile_p.");
164 return NULL;
165 }
166 }
167 {
168 wxPy_BEGIN_ALLOW_THREADS;
169 delete_wxPseudoMetaFile(_arg0);
170
171 wxPy_END_ALLOW_THREADS;
172 } Py_INCREF(Py_None);
173 _resultobj = Py_None;
174 return _resultobj;
175 }
176
177 #define wxPseudoMetaFile_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2))
178 static PyObject *_wrap_wxPseudoMetaFile_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
179 PyObject * _resultobj;
180 wxPseudoMetaFile * _arg0;
181 wxDC * _arg1;
182 double _arg2;
183 double _arg3;
184 PyObject * _argo0 = 0;
185 PyObject * _argo1 = 0;
186 char *_kwnames[] = { "self","dc","xoffset","yoffset", NULL };
187
188 self = self;
189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd:wxPseudoMetaFile_Draw",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
190 return NULL;
191 if (_argo0) {
192 if (_argo0 == Py_None) { _arg0 = NULL; }
193 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
194 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_Draw. Expected _wxPseudoMetaFile_p.");
195 return NULL;
196 }
197 }
198 if (_argo1) {
199 if (_argo1 == Py_None) { _arg1 = NULL; }
200 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
201 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_Draw. Expected _wxDC_p.");
202 return NULL;
203 }
204 }
205 {
206 wxPy_BEGIN_ALLOW_THREADS;
207 wxPseudoMetaFile_Draw(_arg0,*_arg1,_arg2,_arg3);
208
209 wxPy_END_ALLOW_THREADS;
210 } Py_INCREF(Py_None);
211 _resultobj = Py_None;
212 return _resultobj;
213 }
214
215 #define wxPseudoMetaFile_WriteAttributes(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteAttributes(_swigarg0,_swigarg1))
216 static PyObject *_wrap_wxPseudoMetaFile_WriteAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
217 PyObject * _resultobj;
218 wxPseudoMetaFile * _arg0;
219 wxExpr * _arg1;
220 int _arg2;
221 PyObject * _argo0 = 0;
222 PyObject * _argo1 = 0;
223 char *_kwnames[] = { "self","clause","whichAngle", NULL };
224
225 self = self;
226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPseudoMetaFile_WriteAttributes",_kwnames,&_argo0,&_argo1,&_arg2))
227 return NULL;
228 if (_argo0) {
229 if (_argo0 == Py_None) { _arg0 = NULL; }
230 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
231 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_WriteAttributes. Expected _wxPseudoMetaFile_p.");
232 return NULL;
233 }
234 }
235 if (_argo1) {
236 if (_argo1 == Py_None) { _arg1 = NULL; }
237 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxExpr_p")) {
238 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_WriteAttributes. Expected _wxExpr_p.");
239 return NULL;
240 }
241 }
242 {
243 wxPy_BEGIN_ALLOW_THREADS;
244 wxPseudoMetaFile_WriteAttributes(_arg0,_arg1,_arg2);
245
246 wxPy_END_ALLOW_THREADS;
247 } Py_INCREF(Py_None);
248 _resultobj = Py_None;
249 return _resultobj;
250 }
251
252 #define wxPseudoMetaFile_ReadAttributes(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadAttributes(_swigarg0,_swigarg1))
253 static PyObject *_wrap_wxPseudoMetaFile_ReadAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
254 PyObject * _resultobj;
255 wxPseudoMetaFile * _arg0;
256 wxExpr * _arg1;
257 int _arg2;
258 PyObject * _argo0 = 0;
259 PyObject * _argo1 = 0;
260 char *_kwnames[] = { "self","clause","whichAngle", NULL };
261
262 self = self;
263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPseudoMetaFile_ReadAttributes",_kwnames,&_argo0,&_argo1,&_arg2))
264 return NULL;
265 if (_argo0) {
266 if (_argo0 == Py_None) { _arg0 = NULL; }
267 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
268 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_ReadAttributes. Expected _wxPseudoMetaFile_p.");
269 return NULL;
270 }
271 }
272 if (_argo1) {
273 if (_argo1 == Py_None) { _arg1 = NULL; }
274 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxExpr_p")) {
275 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_ReadAttributes. Expected _wxExpr_p.");
276 return NULL;
277 }
278 }
279 {
280 wxPy_BEGIN_ALLOW_THREADS;
281 wxPseudoMetaFile_ReadAttributes(_arg0,_arg1,_arg2);
282
283 wxPy_END_ALLOW_THREADS;
284 } Py_INCREF(Py_None);
285 _resultobj = Py_None;
286 return _resultobj;
287 }
288
289 #define wxPseudoMetaFile_Clear(_swigobj) (_swigobj->Clear())
290 static PyObject *_wrap_wxPseudoMetaFile_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
291 PyObject * _resultobj;
292 wxPseudoMetaFile * _arg0;
293 PyObject * _argo0 = 0;
294 char *_kwnames[] = { "self", NULL };
295
296 self = self;
297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_Clear",_kwnames,&_argo0))
298 return NULL;
299 if (_argo0) {
300 if (_argo0 == Py_None) { _arg0 = NULL; }
301 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
302 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_Clear. Expected _wxPseudoMetaFile_p.");
303 return NULL;
304 }
305 }
306 {
307 wxPy_BEGIN_ALLOW_THREADS;
308 wxPseudoMetaFile_Clear(_arg0);
309
310 wxPy_END_ALLOW_THREADS;
311 } Py_INCREF(Py_None);
312 _resultobj = Py_None;
313 return _resultobj;
314 }
315
316 #define wxPseudoMetaFile_Copy(_swigobj,_swigarg0) (_swigobj->Copy(_swigarg0))
317 static PyObject *_wrap_wxPseudoMetaFile_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
318 PyObject * _resultobj;
319 wxPseudoMetaFile * _arg0;
320 wxPseudoMetaFile * _arg1;
321 PyObject * _argo0 = 0;
322 PyObject * _argo1 = 0;
323 char *_kwnames[] = { "self","copy", NULL };
324
325 self = self;
326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_Copy",_kwnames,&_argo0,&_argo1))
327 return NULL;
328 if (_argo0) {
329 if (_argo0 == Py_None) { _arg0 = NULL; }
330 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
331 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_Copy. Expected _wxPseudoMetaFile_p.");
332 return NULL;
333 }
334 }
335 if (_argo1) {
336 if (_argo1 == Py_None) { _arg1 = NULL; }
337 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPseudoMetaFile_p")) {
338 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_Copy. Expected _wxPseudoMetaFile_p.");
339 return NULL;
340 }
341 }
342 {
343 wxPy_BEGIN_ALLOW_THREADS;
344 wxPseudoMetaFile_Copy(_arg0,*_arg1);
345
346 wxPy_END_ALLOW_THREADS;
347 } Py_INCREF(Py_None);
348 _resultobj = Py_None;
349 return _resultobj;
350 }
351
352 #define wxPseudoMetaFile_Scale(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scale(_swigarg0,_swigarg1))
353 static PyObject *_wrap_wxPseudoMetaFile_Scale(PyObject *self, PyObject *args, PyObject *kwargs) {
354 PyObject * _resultobj;
355 wxPseudoMetaFile * _arg0;
356 double _arg1;
357 double _arg2;
358 PyObject * _argo0 = 0;
359 char *_kwnames[] = { "self","sx","sy", NULL };
360
361 self = self;
362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPseudoMetaFile_Scale",_kwnames,&_argo0,&_arg1,&_arg2))
363 return NULL;
364 if (_argo0) {
365 if (_argo0 == Py_None) { _arg0 = NULL; }
366 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
367 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_Scale. Expected _wxPseudoMetaFile_p.");
368 return NULL;
369 }
370 }
371 {
372 wxPy_BEGIN_ALLOW_THREADS;
373 wxPseudoMetaFile_Scale(_arg0,_arg1,_arg2);
374
375 wxPy_END_ALLOW_THREADS;
376 } Py_INCREF(Py_None);
377 _resultobj = Py_None;
378 return _resultobj;
379 }
380
381 #define wxPseudoMetaFile_ScaleTo(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScaleTo(_swigarg0,_swigarg1))
382 static PyObject *_wrap_wxPseudoMetaFile_ScaleTo(PyObject *self, PyObject *args, PyObject *kwargs) {
383 PyObject * _resultobj;
384 wxPseudoMetaFile * _arg0;
385 double _arg1;
386 double _arg2;
387 PyObject * _argo0 = 0;
388 char *_kwnames[] = { "self","w","h", NULL };
389
390 self = self;
391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPseudoMetaFile_ScaleTo",_kwnames,&_argo0,&_arg1,&_arg2))
392 return NULL;
393 if (_argo0) {
394 if (_argo0 == Py_None) { _arg0 = NULL; }
395 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
396 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_ScaleTo. Expected _wxPseudoMetaFile_p.");
397 return NULL;
398 }
399 }
400 {
401 wxPy_BEGIN_ALLOW_THREADS;
402 wxPseudoMetaFile_ScaleTo(_arg0,_arg1,_arg2);
403
404 wxPy_END_ALLOW_THREADS;
405 } Py_INCREF(Py_None);
406 _resultobj = Py_None;
407 return _resultobj;
408 }
409
410 #define wxPseudoMetaFile_Translate(_swigobj,_swigarg0,_swigarg1) (_swigobj->Translate(_swigarg0,_swigarg1))
411 static PyObject *_wrap_wxPseudoMetaFile_Translate(PyObject *self, PyObject *args, PyObject *kwargs) {
412 PyObject * _resultobj;
413 wxPseudoMetaFile * _arg0;
414 double _arg1;
415 double _arg2;
416 PyObject * _argo0 = 0;
417 char *_kwnames[] = { "self","x","y", NULL };
418
419 self = self;
420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPseudoMetaFile_Translate",_kwnames,&_argo0,&_arg1,&_arg2))
421 return NULL;
422 if (_argo0) {
423 if (_argo0 == Py_None) { _arg0 = NULL; }
424 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
425 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_Translate. Expected _wxPseudoMetaFile_p.");
426 return NULL;
427 }
428 }
429 {
430 wxPy_BEGIN_ALLOW_THREADS;
431 wxPseudoMetaFile_Translate(_arg0,_arg1,_arg2);
432
433 wxPy_END_ALLOW_THREADS;
434 } Py_INCREF(Py_None);
435 _resultobj = Py_None;
436 return _resultobj;
437 }
438
439 #define wxPseudoMetaFile_Rotate(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Rotate(_swigarg0,_swigarg1,_swigarg2))
440 static PyObject *_wrap_wxPseudoMetaFile_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
441 PyObject * _resultobj;
442 wxPseudoMetaFile * _arg0;
443 double _arg1;
444 double _arg2;
445 double _arg3;
446 PyObject * _argo0 = 0;
447 char *_kwnames[] = { "self","x","y","theta", NULL };
448
449 self = self;
450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oddd:wxPseudoMetaFile_Rotate",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
451 return NULL;
452 if (_argo0) {
453 if (_argo0 == Py_None) { _arg0 = NULL; }
454 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
455 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_Rotate. Expected _wxPseudoMetaFile_p.");
456 return NULL;
457 }
458 }
459 {
460 wxPy_BEGIN_ALLOW_THREADS;
461 wxPseudoMetaFile_Rotate(_arg0,_arg1,_arg2,_arg3);
462
463 wxPy_END_ALLOW_THREADS;
464 } Py_INCREF(Py_None);
465 _resultobj = Py_None;
466 return _resultobj;
467 }
468
469 #define wxPseudoMetaFile_LoadFromMetaFile(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromMetaFile(_swigarg0,_swigarg1,_swigarg2))
470 static PyObject *_wrap_wxPseudoMetaFile_LoadFromMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
471 PyObject * _resultobj;
472 bool _result;
473 wxPseudoMetaFile * _arg0;
474 char * _arg1;
475 double * _arg2;
476 double * _arg3;
477 PyObject * _argo0 = 0;
478 PyObject * _argo2 = 0;
479 PyObject * _argo3 = 0;
480 char *_kwnames[] = { "self","filename","width","height", NULL };
481
482 self = self;
483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OsOO:wxPseudoMetaFile_LoadFromMetaFile",_kwnames,&_argo0,&_arg1,&_argo2,&_argo3))
484 return NULL;
485 if (_argo0) {
486 if (_argo0 == Py_None) { _arg0 = NULL; }
487 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
488 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_LoadFromMetaFile. Expected _wxPseudoMetaFile_p.");
489 return NULL;
490 }
491 }
492 if (_argo2) {
493 if (_argo2 == Py_None) { _arg2 = NULL; }
494 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_double_p")) {
495 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPseudoMetaFile_LoadFromMetaFile. Expected _double_p.");
496 return NULL;
497 }
498 }
499 if (_argo3) {
500 if (_argo3 == Py_None) { _arg3 = NULL; }
501 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_double_p")) {
502 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxPseudoMetaFile_LoadFromMetaFile. Expected _double_p.");
503 return NULL;
504 }
505 }
506 {
507 wxPy_BEGIN_ALLOW_THREADS;
508 _result = (bool )wxPseudoMetaFile_LoadFromMetaFile(_arg0,_arg1,_arg2,_arg3);
509
510 wxPy_END_ALLOW_THREADS;
511 } _resultobj = Py_BuildValue("i",_result);
512 return _resultobj;
513 }
514
515 #define wxPseudoMetaFile_GetBounds(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetBounds(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
516 static PyObject *_wrap_wxPseudoMetaFile_GetBounds(PyObject *self, PyObject *args, PyObject *kwargs) {
517 PyObject * _resultobj;
518 wxPseudoMetaFile * _arg0;
519 double * _arg1;
520 double * _arg2;
521 double * _arg3;
522 double * _arg4;
523 PyObject * _argo0 = 0;
524 PyObject * _argo1 = 0;
525 PyObject * _argo2 = 0;
526 PyObject * _argo3 = 0;
527 PyObject * _argo4 = 0;
528 char *_kwnames[] = { "self","minX","minY","maxX","maxY", NULL };
529
530 self = self;
531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOOO:wxPseudoMetaFile_GetBounds",_kwnames,&_argo0,&_argo1,&_argo2,&_argo3,&_argo4))
532 return NULL;
533 if (_argo0) {
534 if (_argo0 == Py_None) { _arg0 = NULL; }
535 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
536 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_GetBounds. Expected _wxPseudoMetaFile_p.");
537 return NULL;
538 }
539 }
540 if (_argo1) {
541 if (_argo1 == Py_None) { _arg1 = NULL; }
542 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_double_p")) {
543 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_GetBounds. Expected _double_p.");
544 return NULL;
545 }
546 }
547 if (_argo2) {
548 if (_argo2 == Py_None) { _arg2 = NULL; }
549 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_double_p")) {
550 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPseudoMetaFile_GetBounds. Expected _double_p.");
551 return NULL;
552 }
553 }
554 if (_argo3) {
555 if (_argo3 == Py_None) { _arg3 = NULL; }
556 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_double_p")) {
557 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxPseudoMetaFile_GetBounds. Expected _double_p.");
558 return NULL;
559 }
560 }
561 if (_argo4) {
562 if (_argo4 == Py_None) { _arg4 = NULL; }
563 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_double_p")) {
564 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxPseudoMetaFile_GetBounds. Expected _double_p.");
565 return NULL;
566 }
567 }
568 {
569 wxPy_BEGIN_ALLOW_THREADS;
570 wxPseudoMetaFile_GetBounds(_arg0,_arg1,_arg2,_arg3,_arg4);
571
572 wxPy_END_ALLOW_THREADS;
573 } Py_INCREF(Py_None);
574 _resultobj = Py_None;
575 return _resultobj;
576 }
577
578 #define wxPseudoMetaFile_CalculateSize(_swigobj,_swigarg0) (_swigobj->CalculateSize(_swigarg0))
579 static PyObject *_wrap_wxPseudoMetaFile_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
580 PyObject * _resultobj;
581 wxPseudoMetaFile * _arg0;
582 wxDrawnShape * _arg1;
583 PyObject * _argo0 = 0;
584 PyObject * _argo1 = 0;
585 char *_kwnames[] = { "self","shape", NULL };
586
587 self = self;
588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_CalculateSize",_kwnames,&_argo0,&_argo1))
589 return NULL;
590 if (_argo0) {
591 if (_argo0 == Py_None) { _arg0 = NULL; }
592 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
593 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_CalculateSize. Expected _wxPseudoMetaFile_p.");
594 return NULL;
595 }
596 }
597 if (_argo1) {
598 if (_argo1 == Py_None) { _arg1 = NULL; }
599 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDrawnShape_p")) {
600 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_CalculateSize. Expected _wxDrawnShape_p.");
601 return NULL;
602 }
603 }
604 {
605 wxPy_BEGIN_ALLOW_THREADS;
606 wxPseudoMetaFile_CalculateSize(_arg0,_arg1);
607
608 wxPy_END_ALLOW_THREADS;
609 } Py_INCREF(Py_None);
610 _resultobj = Py_None;
611 return _resultobj;
612 }
613
614 #define wxPseudoMetaFile_SetRotateable(_swigobj,_swigarg0) (_swigobj->SetRotateable(_swigarg0))
615 static PyObject *_wrap_wxPseudoMetaFile_SetRotateable(PyObject *self, PyObject *args, PyObject *kwargs) {
616 PyObject * _resultobj;
617 wxPseudoMetaFile * _arg0;
618 bool _arg1;
619 PyObject * _argo0 = 0;
620 int tempbool1;
621 char *_kwnames[] = { "self","rot", NULL };
622
623 self = self;
624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPseudoMetaFile_SetRotateable",_kwnames,&_argo0,&tempbool1))
625 return NULL;
626 if (_argo0) {
627 if (_argo0 == Py_None) { _arg0 = NULL; }
628 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
629 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetRotateable. Expected _wxPseudoMetaFile_p.");
630 return NULL;
631 }
632 }
633 _arg1 = (bool ) tempbool1;
634 {
635 wxPy_BEGIN_ALLOW_THREADS;
636 wxPseudoMetaFile_SetRotateable(_arg0,_arg1);
637
638 wxPy_END_ALLOW_THREADS;
639 } Py_INCREF(Py_None);
640 _resultobj = Py_None;
641 return _resultobj;
642 }
643
644 #define wxPseudoMetaFile_GetRotateable(_swigobj) (_swigobj->GetRotateable())
645 static PyObject *_wrap_wxPseudoMetaFile_GetRotateable(PyObject *self, PyObject *args, PyObject *kwargs) {
646 PyObject * _resultobj;
647 bool _result;
648 wxPseudoMetaFile * _arg0;
649 PyObject * _argo0 = 0;
650 char *_kwnames[] = { "self", NULL };
651
652 self = self;
653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_GetRotateable",_kwnames,&_argo0))
654 return NULL;
655 if (_argo0) {
656 if (_argo0 == Py_None) { _arg0 = NULL; }
657 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
658 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_GetRotateable. Expected _wxPseudoMetaFile_p.");
659 return NULL;
660 }
661 }
662 {
663 wxPy_BEGIN_ALLOW_THREADS;
664 _result = (bool )wxPseudoMetaFile_GetRotateable(_arg0);
665
666 wxPy_END_ALLOW_THREADS;
667 } _resultobj = Py_BuildValue("i",_result);
668 return _resultobj;
669 }
670
671 #define wxPseudoMetaFile_SetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
672 static PyObject *_wrap_wxPseudoMetaFile_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
673 PyObject * _resultobj;
674 wxPseudoMetaFile * _arg0;
675 double _arg1;
676 double _arg2;
677 PyObject * _argo0 = 0;
678 char *_kwnames[] = { "self","w","h", NULL };
679
680 self = self;
681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPseudoMetaFile_SetSize",_kwnames,&_argo0,&_arg1,&_arg2))
682 return NULL;
683 if (_argo0) {
684 if (_argo0 == Py_None) { _arg0 = NULL; }
685 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
686 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetSize. Expected _wxPseudoMetaFile_p.");
687 return NULL;
688 }
689 }
690 {
691 wxPy_BEGIN_ALLOW_THREADS;
692 wxPseudoMetaFile_SetSize(_arg0,_arg1,_arg2);
693
694 wxPy_END_ALLOW_THREADS;
695 } Py_INCREF(Py_None);
696 _resultobj = Py_None;
697 return _resultobj;
698 }
699
700 #define wxPseudoMetaFile_SetFillBrush(_swigobj,_swigarg0) (_swigobj->SetFillBrush(_swigarg0))
701 static PyObject *_wrap_wxPseudoMetaFile_SetFillBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
702 PyObject * _resultobj;
703 wxPseudoMetaFile * _arg0;
704 wxBrush * _arg1;
705 PyObject * _argo0 = 0;
706 PyObject * _obj1 = 0;
707 char *_kwnames[] = { "self","brush", NULL };
708
709 self = self;
710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_SetFillBrush",_kwnames,&_argo0,&_obj1))
711 return NULL;
712 if (_argo0) {
713 if (_argo0 == Py_None) { _arg0 = NULL; }
714 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
715 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetFillBrush. Expected _wxPseudoMetaFile_p.");
716 return NULL;
717 }
718 }
719 {
720 wxBrush* temp;
721 if (_obj1) {
722 if (_obj1 == Py_None) { temp = NULL; }
723 else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxBrush_p")) {
724 PyErr_SetString(PyExc_TypeError,"Type error, expected _wxBrush_p.");
725 return NULL;
726 }
727 }
728 if (temp)
729 _arg1 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
730 else
731 _arg1 = NULL;
732 }
733 {
734 wxPy_BEGIN_ALLOW_THREADS;
735 wxPseudoMetaFile_SetFillBrush(_arg0,_arg1);
736
737 wxPy_END_ALLOW_THREADS;
738 } Py_INCREF(Py_None);
739 _resultobj = Py_None;
740 return _resultobj;
741 }
742
743 #define wxPseudoMetaFile_GetFillBrush(_swigobj) (_swigobj->GetFillBrush())
744 static PyObject *_wrap_wxPseudoMetaFile_GetFillBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
745 PyObject * _resultobj;
746 wxBrush * _result;
747 wxPseudoMetaFile * _arg0;
748 PyObject * _argo0 = 0;
749 char *_kwnames[] = { "self", NULL };
750 char _ptemp[128];
751
752 self = self;
753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_GetFillBrush",_kwnames,&_argo0))
754 return NULL;
755 if (_argo0) {
756 if (_argo0 == Py_None) { _arg0 = NULL; }
757 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
758 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_GetFillBrush. Expected _wxPseudoMetaFile_p.");
759 return NULL;
760 }
761 }
762 {
763 wxPy_BEGIN_ALLOW_THREADS;
764 _result = (wxBrush *)wxPseudoMetaFile_GetFillBrush(_arg0);
765
766 wxPy_END_ALLOW_THREADS;
767 } if (_result) {
768 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBrush_p");
769 _resultobj = Py_BuildValue("s",_ptemp);
770 } else {
771 Py_INCREF(Py_None);
772 _resultobj = Py_None;
773 }
774 return _resultobj;
775 }
776
777 #define wxPseudoMetaFile_SetOutlinePen(_swigobj,_swigarg0) (_swigobj->SetOutlinePen(_swigarg0))
778 static PyObject *_wrap_wxPseudoMetaFile_SetOutlinePen(PyObject *self, PyObject *args, PyObject *kwargs) {
779 PyObject * _resultobj;
780 wxPseudoMetaFile * _arg0;
781 wxPen * _arg1;
782 PyObject * _argo0 = 0;
783 PyObject * _obj1 = 0;
784 char *_kwnames[] = { "self","pen", NULL };
785
786 self = self;
787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_SetOutlinePen",_kwnames,&_argo0,&_obj1))
788 return NULL;
789 if (_argo0) {
790 if (_argo0 == Py_None) { _arg0 = NULL; }
791 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
792 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetOutlinePen. Expected _wxPseudoMetaFile_p.");
793 return NULL;
794 }
795 }
796 {
797 wxPen* temp;
798 if (_obj1) {
799 if (_obj1 == Py_None) { temp = NULL; }
800 else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxPen_p")) {
801 PyErr_SetString(PyExc_TypeError,"Type error, expected _wxPen_p.");
802 return NULL;
803 }
804 }
805 if (temp)
806 _arg1 = wxThePenList->FindOrCreatePen(temp->GetColour(),
807 temp->GetWidth(),
808 temp->GetStyle());
809 else
810 _arg1 = NULL;
811 }
812 {
813 wxPy_BEGIN_ALLOW_THREADS;
814 wxPseudoMetaFile_SetOutlinePen(_arg0,_arg1);
815
816 wxPy_END_ALLOW_THREADS;
817 } Py_INCREF(Py_None);
818 _resultobj = Py_None;
819 return _resultobj;
820 }
821
822 #define wxPseudoMetaFile_GetOutlinePen(_swigobj) (_swigobj->GetOutlinePen())
823 static PyObject *_wrap_wxPseudoMetaFile_GetOutlinePen(PyObject *self, PyObject *args, PyObject *kwargs) {
824 PyObject * _resultobj;
825 wxPen * _result;
826 wxPseudoMetaFile * _arg0;
827 PyObject * _argo0 = 0;
828 char *_kwnames[] = { "self", NULL };
829 char _ptemp[128];
830
831 self = self;
832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_GetOutlinePen",_kwnames,&_argo0))
833 return NULL;
834 if (_argo0) {
835 if (_argo0 == Py_None) { _arg0 = NULL; }
836 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
837 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_GetOutlinePen. Expected _wxPseudoMetaFile_p.");
838 return NULL;
839 }
840 }
841 {
842 wxPy_BEGIN_ALLOW_THREADS;
843 _result = (wxPen *)wxPseudoMetaFile_GetOutlinePen(_arg0);
844
845 wxPy_END_ALLOW_THREADS;
846 } if (_result) {
847 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPen_p");
848 _resultobj = Py_BuildValue("s",_ptemp);
849 } else {
850 Py_INCREF(Py_None);
851 _resultobj = Py_None;
852 }
853 return _resultobj;
854 }
855
856 #define wxPseudoMetaFile_SetOutlineOp(_swigobj,_swigarg0) (_swigobj->SetOutlineOp(_swigarg0))
857 static PyObject *_wrap_wxPseudoMetaFile_SetOutlineOp(PyObject *self, PyObject *args, PyObject *kwargs) {
858 PyObject * _resultobj;
859 wxPseudoMetaFile * _arg0;
860 int _arg1;
861 PyObject * _argo0 = 0;
862 char *_kwnames[] = { "self","op", NULL };
863
864 self = self;
865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPseudoMetaFile_SetOutlineOp",_kwnames,&_argo0,&_arg1))
866 return NULL;
867 if (_argo0) {
868 if (_argo0 == Py_None) { _arg0 = NULL; }
869 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
870 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetOutlineOp. Expected _wxPseudoMetaFile_p.");
871 return NULL;
872 }
873 }
874 {
875 wxPy_BEGIN_ALLOW_THREADS;
876 wxPseudoMetaFile_SetOutlineOp(_arg0,_arg1);
877
878 wxPy_END_ALLOW_THREADS;
879 } Py_INCREF(Py_None);
880 _resultobj = Py_None;
881 return _resultobj;
882 }
883
884 #define wxPseudoMetaFile_GetOutlineOp(_swigobj) (_swigobj->GetOutlineOp())
885 static PyObject *_wrap_wxPseudoMetaFile_GetOutlineOp(PyObject *self, PyObject *args, PyObject *kwargs) {
886 PyObject * _resultobj;
887 int _result;
888 wxPseudoMetaFile * _arg0;
889 PyObject * _argo0 = 0;
890 char *_kwnames[] = { "self", NULL };
891
892 self = self;
893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_GetOutlineOp",_kwnames,&_argo0))
894 return NULL;
895 if (_argo0) {
896 if (_argo0 == Py_None) { _arg0 = NULL; }
897 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
898 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_GetOutlineOp. Expected _wxPseudoMetaFile_p.");
899 return NULL;
900 }
901 }
902 {
903 wxPy_BEGIN_ALLOW_THREADS;
904 _result = (int )wxPseudoMetaFile_GetOutlineOp(_arg0);
905
906 wxPy_END_ALLOW_THREADS;
907 } _resultobj = Py_BuildValue("i",_result);
908 return _resultobj;
909 }
910
911 #define wxPseudoMetaFile_IsValid(_swigobj) (_swigobj->IsValid())
912 static PyObject *_wrap_wxPseudoMetaFile_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
913 PyObject * _resultobj;
914 bool _result;
915 wxPseudoMetaFile * _arg0;
916 PyObject * _argo0 = 0;
917 char *_kwnames[] = { "self", NULL };
918
919 self = self;
920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_IsValid",_kwnames,&_argo0))
921 return NULL;
922 if (_argo0) {
923 if (_argo0 == Py_None) { _arg0 = NULL; }
924 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
925 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_IsValid. Expected _wxPseudoMetaFile_p.");
926 return NULL;
927 }
928 }
929 {
930 wxPy_BEGIN_ALLOW_THREADS;
931 _result = (bool )wxPseudoMetaFile_IsValid(_arg0);
932
933 wxPy_END_ALLOW_THREADS;
934 } _resultobj = Py_BuildValue("i",_result);
935 return _resultobj;
936 }
937
938 #define wxPseudoMetaFile_DrawLine(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawLine(_swigarg0,_swigarg1))
939 static PyObject *_wrap_wxPseudoMetaFile_DrawLine(PyObject *self, PyObject *args, PyObject *kwargs) {
940 PyObject * _resultobj;
941 wxPseudoMetaFile * _arg0;
942 wxPoint * _arg1;
943 wxPoint * _arg2;
944 PyObject * _argo0 = 0;
945 wxPoint temp;
946 PyObject * _obj1 = 0;
947 wxPoint temp0;
948 PyObject * _obj2 = 0;
949 char *_kwnames[] = { "self","pt1","pt2", NULL };
950
951 self = self;
952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPseudoMetaFile_DrawLine",_kwnames,&_argo0,&_obj1,&_obj2))
953 return NULL;
954 if (_argo0) {
955 if (_argo0 == Py_None) { _arg0 = NULL; }
956 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
957 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawLine. Expected _wxPseudoMetaFile_p.");
958 return NULL;
959 }
960 }
961 {
962 _arg1 = &temp;
963 if (! wxPoint_helper(_obj1, &_arg1))
964 return NULL;
965 }
966 {
967 _arg2 = &temp0;
968 if (! wxPoint_helper(_obj2, &_arg2))
969 return NULL;
970 }
971 {
972 wxPy_BEGIN_ALLOW_THREADS;
973 wxPseudoMetaFile_DrawLine(_arg0,*_arg1,*_arg2);
974
975 wxPy_END_ALLOW_THREADS;
976 } Py_INCREF(Py_None);
977 _resultobj = Py_None;
978 return _resultobj;
979 }
980
981 #define wxPseudoMetaFile_DrawRectangle(_swigobj,_swigarg0) (_swigobj->DrawRectangle(_swigarg0))
982 static PyObject *_wrap_wxPseudoMetaFile_DrawRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
983 PyObject * _resultobj;
984 wxPseudoMetaFile * _arg0;
985 wxRect * _arg1;
986 PyObject * _argo0 = 0;
987 wxRect temp;
988 PyObject * _obj1 = 0;
989 char *_kwnames[] = { "self","rect", NULL };
990
991 self = self;
992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_DrawRectangle",_kwnames,&_argo0,&_obj1))
993 return NULL;
994 if (_argo0) {
995 if (_argo0 == Py_None) { _arg0 = NULL; }
996 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
997 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawRectangle. Expected _wxPseudoMetaFile_p.");
998 return NULL;
999 }
1000 }
1001 {
1002 _arg1 = &temp;
1003 if (! wxRect_helper(_obj1, &_arg1))
1004 return NULL;
1005 }
1006 {
1007 wxPy_BEGIN_ALLOW_THREADS;
1008 wxPseudoMetaFile_DrawRectangle(_arg0,*_arg1);
1009
1010 wxPy_END_ALLOW_THREADS;
1011 } Py_INCREF(Py_None);
1012 _resultobj = Py_None;
1013 return _resultobj;
1014 }
1015
1016 #define wxPseudoMetaFile_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1))
1017 static PyObject *_wrap_wxPseudoMetaFile_DrawRoundedRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
1018 PyObject * _resultobj;
1019 wxPseudoMetaFile * _arg0;
1020 wxRect * _arg1;
1021 double _arg2;
1022 PyObject * _argo0 = 0;
1023 wxRect temp;
1024 PyObject * _obj1 = 0;
1025 char *_kwnames[] = { "self","rect","radius", NULL };
1026
1027 self = self;
1028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOd:wxPseudoMetaFile_DrawRoundedRectangle",_kwnames,&_argo0,&_obj1,&_arg2))
1029 return NULL;
1030 if (_argo0) {
1031 if (_argo0 == Py_None) { _arg0 = NULL; }
1032 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1033 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawRoundedRectangle. Expected _wxPseudoMetaFile_p.");
1034 return NULL;
1035 }
1036 }
1037 {
1038 _arg1 = &temp;
1039 if (! wxRect_helper(_obj1, &_arg1))
1040 return NULL;
1041 }
1042 {
1043 wxPy_BEGIN_ALLOW_THREADS;
1044 wxPseudoMetaFile_DrawRoundedRectangle(_arg0,*_arg1,_arg2);
1045
1046 wxPy_END_ALLOW_THREADS;
1047 } Py_INCREF(Py_None);
1048 _resultobj = Py_None;
1049 return _resultobj;
1050 }
1051
1052 #define wxPseudoMetaFile_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2))
1053 static PyObject *_wrap_wxPseudoMetaFile_DrawArc(PyObject *self, PyObject *args, PyObject *kwargs) {
1054 PyObject * _resultobj;
1055 wxPseudoMetaFile * _arg0;
1056 wxPoint * _arg1;
1057 wxPoint * _arg2;
1058 wxPoint * _arg3;
1059 PyObject * _argo0 = 0;
1060 wxPoint temp;
1061 PyObject * _obj1 = 0;
1062 wxPoint temp0;
1063 PyObject * _obj2 = 0;
1064 wxPoint temp1;
1065 PyObject * _obj3 = 0;
1066 char *_kwnames[] = { "self","centrePt","startPt","endPt", NULL };
1067
1068 self = self;
1069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxPseudoMetaFile_DrawArc",_kwnames,&_argo0,&_obj1,&_obj2,&_obj3))
1070 return NULL;
1071 if (_argo0) {
1072 if (_argo0 == Py_None) { _arg0 = NULL; }
1073 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1074 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawArc. Expected _wxPseudoMetaFile_p.");
1075 return NULL;
1076 }
1077 }
1078 {
1079 _arg1 = &temp;
1080 if (! wxPoint_helper(_obj1, &_arg1))
1081 return NULL;
1082 }
1083 {
1084 _arg2 = &temp0;
1085 if (! wxPoint_helper(_obj2, &_arg2))
1086 return NULL;
1087 }
1088 {
1089 _arg3 = &temp1;
1090 if (! wxPoint_helper(_obj3, &_arg3))
1091 return NULL;
1092 }
1093 {
1094 wxPy_BEGIN_ALLOW_THREADS;
1095 wxPseudoMetaFile_DrawArc(_arg0,*_arg1,*_arg2,*_arg3);
1096
1097 wxPy_END_ALLOW_THREADS;
1098 } Py_INCREF(Py_None);
1099 _resultobj = Py_None;
1100 return _resultobj;
1101 }
1102
1103 #define wxPseudoMetaFile_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2))
1104 static PyObject *_wrap_wxPseudoMetaFile_DrawEllipticArc(PyObject *self, PyObject *args, PyObject *kwargs) {
1105 PyObject * _resultobj;
1106 wxPseudoMetaFile * _arg0;
1107 wxRect * _arg1;
1108 double _arg2;
1109 double _arg3;
1110 PyObject * _argo0 = 0;
1111 wxRect temp;
1112 PyObject * _obj1 = 0;
1113 char *_kwnames[] = { "self","rect","startAngle","endAngle", NULL };
1114
1115 self = self;
1116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd:wxPseudoMetaFile_DrawEllipticArc",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3))
1117 return NULL;
1118 if (_argo0) {
1119 if (_argo0 == Py_None) { _arg0 = NULL; }
1120 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1121 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawEllipticArc. Expected _wxPseudoMetaFile_p.");
1122 return NULL;
1123 }
1124 }
1125 {
1126 _arg1 = &temp;
1127 if (! wxRect_helper(_obj1, &_arg1))
1128 return NULL;
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 wxRect temp;
1147 PyObject * _obj1 = 0;
1148 char *_kwnames[] = { "self","rect", NULL };
1149
1150 self = self;
1151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_DrawEllipse",_kwnames,&_argo0,&_obj1))
1152 return NULL;
1153 if (_argo0) {
1154 if (_argo0 == Py_None) { _arg0 = NULL; }
1155 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1156 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawEllipse. Expected _wxPseudoMetaFile_p.");
1157 return NULL;
1158 }
1159 }
1160 {
1161 _arg1 = &temp;
1162 if (! wxRect_helper(_obj1, &_arg1))
1163 return NULL;
1164 }
1165 {
1166 wxPy_BEGIN_ALLOW_THREADS;
1167 wxPseudoMetaFile_DrawEllipse(_arg0,*_arg1);
1168
1169 wxPy_END_ALLOW_THREADS;
1170 } Py_INCREF(Py_None);
1171 _resultobj = Py_None;
1172 return _resultobj;
1173 }
1174
1175 #define wxPseudoMetaFile_DrawPoint(_swigobj,_swigarg0) (_swigobj->DrawPoint(_swigarg0))
1176 static PyObject *_wrap_wxPseudoMetaFile_DrawPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
1177 PyObject * _resultobj;
1178 wxPseudoMetaFile * _arg0;
1179 wxPoint * _arg1;
1180 PyObject * _argo0 = 0;
1181 wxPoint temp;
1182 PyObject * _obj1 = 0;
1183 char *_kwnames[] = { "self","pt", NULL };
1184
1185 self = self;
1186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_DrawPoint",_kwnames,&_argo0,&_obj1))
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 {
1196 _arg1 = &temp;
1197 if (! wxPoint_helper(_obj1, &_arg1))
1198 return NULL;
1199 }
1200 {
1201 wxPy_BEGIN_ALLOW_THREADS;
1202 wxPseudoMetaFile_DrawPoint(_arg0,*_arg1);
1203
1204 wxPy_END_ALLOW_THREADS;
1205 } Py_INCREF(Py_None);
1206 _resultobj = Py_None;
1207 return _resultobj;
1208 }
1209
1210 #define wxPseudoMetaFile_DrawText(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawText(_swigarg0,_swigarg1))
1211 static PyObject *_wrap_wxPseudoMetaFile_DrawText(PyObject *self, PyObject *args, PyObject *kwargs) {
1212 PyObject * _resultobj;
1213 wxPseudoMetaFile * _arg0;
1214 wxString * _arg1;
1215 wxPoint * _arg2;
1216 PyObject * _argo0 = 0;
1217 PyObject * _obj1 = 0;
1218 wxPoint temp;
1219 PyObject * _obj2 = 0;
1220 char *_kwnames[] = { "self","text","pt", NULL };
1221
1222 self = self;
1223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPseudoMetaFile_DrawText",_kwnames,&_argo0,&_obj1,&_obj2))
1224 return NULL;
1225 if (_argo0) {
1226 if (_argo0 == Py_None) { _arg0 = NULL; }
1227 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1228 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawText. Expected _wxPseudoMetaFile_p.");
1229 return NULL;
1230 }
1231 }
1232 {
1233 #if PYTHON_API_VERSION >= 1009
1234 char* tmpPtr; int tmpSize;
1235 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
1236 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
1237 return NULL;
1238 }
1239 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1240 return NULL;
1241 _arg1 = new wxString(tmpPtr, tmpSize);
1242 #else
1243 if (!PyString_Check(_obj1)) {
1244 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1245 return NULL;
1246 }
1247 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1248 #endif
1249 }
1250 {
1251 _arg2 = &temp;
1252 if (! wxPoint_helper(_obj2, &_arg2))
1253 return NULL;
1254 }
1255 {
1256 wxPy_BEGIN_ALLOW_THREADS;
1257 wxPseudoMetaFile_DrawText(_arg0,*_arg1,*_arg2);
1258
1259 wxPy_END_ALLOW_THREADS;
1260 } Py_INCREF(Py_None);
1261 _resultobj = Py_None;
1262 {
1263 if (_obj1)
1264 delete _arg1;
1265 }
1266 return _resultobj;
1267 }
1268
1269 #define wxPseudoMetaFile_DrawLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawLines(_swigarg0,_swigarg1))
1270 static PyObject *_wrap_wxPseudoMetaFile_DrawLines(PyObject *self, PyObject *args, PyObject *kwargs) {
1271 PyObject * _resultobj;
1272 wxPseudoMetaFile * _arg0;
1273 int _arg1;
1274 wxPoint * _arg2;
1275 PyObject * _argo0 = 0;
1276 PyObject * _obj2 = 0;
1277 char *_kwnames[] = { "self","points", NULL };
1278
1279 self = self;
1280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_DrawLines",_kwnames,&_argo0,&_obj2))
1281 return NULL;
1282 if (_argo0) {
1283 if (_argo0 == Py_None) { _arg0 = NULL; }
1284 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1285 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawLines. Expected _wxPseudoMetaFile_p.");
1286 return NULL;
1287 }
1288 }
1289 if (_obj2)
1290 {
1291 _arg2 = wxPoint_LIST_helper(_obj2);
1292 if (_arg2 == NULL) {
1293 return NULL;
1294 }
1295 }
1296 {
1297 if (_obj2) {
1298 _arg1 = PyList_Size(_obj2);
1299 }
1300 else {
1301 _arg1 = 0;
1302 }
1303 }
1304 {
1305 wxPy_BEGIN_ALLOW_THREADS;
1306 wxPseudoMetaFile_DrawLines(_arg0,_arg1,_arg2);
1307
1308 wxPy_END_ALLOW_THREADS;
1309 } Py_INCREF(Py_None);
1310 _resultobj = Py_None;
1311 {
1312 delete [] _arg2;
1313 }
1314 return _resultobj;
1315 }
1316
1317 #define wxPseudoMetaFile_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2))
1318 static PyObject *_wrap_wxPseudoMetaFile_DrawPolygon(PyObject *self, PyObject *args, PyObject *kwargs) {
1319 PyObject * _resultobj;
1320 wxPseudoMetaFile * _arg0;
1321 int _arg1;
1322 wxPoint * _arg2;
1323 int _arg3 = (int ) 0;
1324 PyObject * _argo0 = 0;
1325 PyObject * _obj2 = 0;
1326 char *_kwnames[] = { "self","points","flags", NULL };
1327
1328 self = self;
1329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPseudoMetaFile_DrawPolygon",_kwnames,&_argo0,&_obj2,&_arg3))
1330 return NULL;
1331 if (_argo0) {
1332 if (_argo0 == Py_None) { _arg0 = NULL; }
1333 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1334 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawPolygon. Expected _wxPseudoMetaFile_p.");
1335 return NULL;
1336 }
1337 }
1338 if (_obj2)
1339 {
1340 _arg2 = wxPoint_LIST_helper(_obj2);
1341 if (_arg2 == NULL) {
1342 return NULL;
1343 }
1344 }
1345 {
1346 if (_obj2) {
1347 _arg1 = PyList_Size(_obj2);
1348 }
1349 else {
1350 _arg1 = 0;
1351 }
1352 }
1353 {
1354 wxPy_BEGIN_ALLOW_THREADS;
1355 wxPseudoMetaFile_DrawPolygon(_arg0,_arg1,_arg2,_arg3);
1356
1357 wxPy_END_ALLOW_THREADS;
1358 } Py_INCREF(Py_None);
1359 _resultobj = Py_None;
1360 {
1361 delete [] _arg2;
1362 }
1363 return _resultobj;
1364 }
1365
1366 #define wxPseudoMetaFile_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1))
1367 static PyObject *_wrap_wxPseudoMetaFile_DrawSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
1368 PyObject * _resultobj;
1369 wxPseudoMetaFile * _arg0;
1370 int _arg1;
1371 wxPoint * _arg2;
1372 PyObject * _argo0 = 0;
1373 PyObject * _obj2 = 0;
1374 char *_kwnames[] = { "self","points", NULL };
1375
1376 self = self;
1377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_DrawSpline",_kwnames,&_argo0,&_obj2))
1378 return NULL;
1379 if (_argo0) {
1380 if (_argo0 == Py_None) { _arg0 = NULL; }
1381 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1382 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawSpline. Expected _wxPseudoMetaFile_p.");
1383 return NULL;
1384 }
1385 }
1386 if (_obj2)
1387 {
1388 _arg2 = wxPoint_LIST_helper(_obj2);
1389 if (_arg2 == NULL) {
1390 return NULL;
1391 }
1392 }
1393 {
1394 if (_obj2) {
1395 _arg1 = PyList_Size(_obj2);
1396 }
1397 else {
1398 _arg1 = 0;
1399 }
1400 }
1401 {
1402 wxPy_BEGIN_ALLOW_THREADS;
1403 wxPseudoMetaFile_DrawSpline(_arg0,_arg1,_arg2);
1404
1405 wxPy_END_ALLOW_THREADS;
1406 } Py_INCREF(Py_None);
1407 _resultobj = Py_None;
1408 {
1409 delete [] _arg2;
1410 }
1411 return _resultobj;
1412 }
1413
1414 #define wxPseudoMetaFile_SetClippingRect(_swigobj,_swigarg0) (_swigobj->SetClippingRect(_swigarg0))
1415 static PyObject *_wrap_wxPseudoMetaFile_SetClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
1416 PyObject * _resultobj;
1417 wxPseudoMetaFile * _arg0;
1418 wxRect * _arg1;
1419 PyObject * _argo0 = 0;
1420 wxRect temp;
1421 PyObject * _obj1 = 0;
1422 char *_kwnames[] = { "self","rect", NULL };
1423
1424 self = self;
1425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_SetClippingRect",_kwnames,&_argo0,&_obj1))
1426 return NULL;
1427 if (_argo0) {
1428 if (_argo0 == Py_None) { _arg0 = NULL; }
1429 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1430 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetClippingRect. Expected _wxPseudoMetaFile_p.");
1431 return NULL;
1432 }
1433 }
1434 {
1435 _arg1 = &temp;
1436 if (! wxRect_helper(_obj1, &_arg1))
1437 return NULL;
1438 }
1439 {
1440 wxPy_BEGIN_ALLOW_THREADS;
1441 wxPseudoMetaFile_SetClippingRect(_arg0,*_arg1);
1442
1443 wxPy_END_ALLOW_THREADS;
1444 } Py_INCREF(Py_None);
1445 _resultobj = Py_None;
1446 return _resultobj;
1447 }
1448
1449 #define wxPseudoMetaFile_DestroyClippingRect(_swigobj) (_swigobj->DestroyClippingRect())
1450 static PyObject *_wrap_wxPseudoMetaFile_DestroyClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
1451 PyObject * _resultobj;
1452 wxPseudoMetaFile * _arg0;
1453 PyObject * _argo0 = 0;
1454 char *_kwnames[] = { "self", NULL };
1455
1456 self = self;
1457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_DestroyClippingRect",_kwnames,&_argo0))
1458 return NULL;
1459 if (_argo0) {
1460 if (_argo0 == Py_None) { _arg0 = NULL; }
1461 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1462 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DestroyClippingRect. Expected _wxPseudoMetaFile_p.");
1463 return NULL;
1464 }
1465 }
1466 {
1467 wxPy_BEGIN_ALLOW_THREADS;
1468 wxPseudoMetaFile_DestroyClippingRect(_arg0);
1469
1470 wxPy_END_ALLOW_THREADS;
1471 } Py_INCREF(Py_None);
1472 _resultobj = Py_None;
1473 return _resultobj;
1474 }
1475
1476 #define wxPseudoMetaFile_SetPen(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPen(_swigarg0,_swigarg1))
1477 static PyObject *_wrap_wxPseudoMetaFile_SetPen(PyObject *self, PyObject *args, PyObject *kwargs) {
1478 PyObject * _resultobj;
1479 wxPseudoMetaFile * _arg0;
1480 wxPen * _arg1;
1481 bool _arg2 = (bool ) FALSE;
1482 PyObject * _argo0 = 0;
1483 PyObject * _obj1 = 0;
1484 int tempbool2 = (int) FALSE;
1485 char *_kwnames[] = { "self","pen","isOutline", NULL };
1486
1487 self = self;
1488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPseudoMetaFile_SetPen",_kwnames,&_argo0,&_obj1,&tempbool2))
1489 return NULL;
1490 if (_argo0) {
1491 if (_argo0 == Py_None) { _arg0 = NULL; }
1492 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1493 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetPen. Expected _wxPseudoMetaFile_p.");
1494 return NULL;
1495 }
1496 }
1497 {
1498 wxPen* temp;
1499 if (_obj1) {
1500 if (_obj1 == Py_None) { temp = NULL; }
1501 else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxPen_p")) {
1502 PyErr_SetString(PyExc_TypeError,"Type error, expected _wxPen_p.");
1503 return NULL;
1504 }
1505 }
1506 if (temp)
1507 _arg1 = wxThePenList->FindOrCreatePen(temp->GetColour(),
1508 temp->GetWidth(),
1509 temp->GetStyle());
1510 else
1511 _arg1 = NULL;
1512 }
1513 _arg2 = (bool ) tempbool2;
1514 {
1515 wxPy_BEGIN_ALLOW_THREADS;
1516 wxPseudoMetaFile_SetPen(_arg0,_arg1,_arg2);
1517
1518 wxPy_END_ALLOW_THREADS;
1519 } Py_INCREF(Py_None);
1520 _resultobj = Py_None;
1521 return _resultobj;
1522 }
1523
1524 #define wxPseudoMetaFile_SetBrush(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetBrush(_swigarg0,_swigarg1))
1525 static PyObject *_wrap_wxPseudoMetaFile_SetBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
1526 PyObject * _resultobj;
1527 wxPseudoMetaFile * _arg0;
1528 wxBrush * _arg1;
1529 bool _arg2 = (bool ) FALSE;
1530 PyObject * _argo0 = 0;
1531 PyObject * _obj1 = 0;
1532 int tempbool2 = (int) FALSE;
1533 char *_kwnames[] = { "self","brush","isFill", NULL };
1534
1535 self = self;
1536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPseudoMetaFile_SetBrush",_kwnames,&_argo0,&_obj1,&tempbool2))
1537 return NULL;
1538 if (_argo0) {
1539 if (_argo0 == Py_None) { _arg0 = NULL; }
1540 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1541 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetBrush. Expected _wxPseudoMetaFile_p.");
1542 return NULL;
1543 }
1544 }
1545 {
1546 wxBrush* temp;
1547 if (_obj1) {
1548 if (_obj1 == Py_None) { temp = NULL; }
1549 else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxBrush_p")) {
1550 PyErr_SetString(PyExc_TypeError,"Type error, expected _wxBrush_p.");
1551 return NULL;
1552 }
1553 }
1554 if (temp)
1555 _arg1 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
1556 else
1557 _arg1 = NULL;
1558 }
1559 _arg2 = (bool ) tempbool2;
1560 {
1561 wxPy_BEGIN_ALLOW_THREADS;
1562 wxPseudoMetaFile_SetBrush(_arg0,_arg1,_arg2);
1563
1564 wxPy_END_ALLOW_THREADS;
1565 } Py_INCREF(Py_None);
1566 _resultobj = Py_None;
1567 return _resultobj;
1568 }
1569
1570 #define wxPseudoMetaFile_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
1571 static PyObject *_wrap_wxPseudoMetaFile_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1572 PyObject * _resultobj;
1573 wxPseudoMetaFile * _arg0;
1574 wxFont * _arg1;
1575 PyObject * _argo0 = 0;
1576 PyObject * _obj1 = 0;
1577 char *_kwnames[] = { "self","font", NULL };
1578
1579 self = self;
1580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_SetFont",_kwnames,&_argo0,&_obj1))
1581 return NULL;
1582 if (_argo0) {
1583 if (_argo0 == Py_None) { _arg0 = NULL; }
1584 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1585 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetFont. Expected _wxPseudoMetaFile_p.");
1586 return NULL;
1587 }
1588 }
1589 {
1590 wxFont* temp;
1591 if (_obj1) {
1592 if (_obj1 == Py_None) { temp = NULL; }
1593 else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxFont_p")) {
1594 PyErr_SetString(PyExc_TypeError,"Type error, expected _wxFont_p.");
1595 return NULL;
1596 }
1597 }
1598 if (temp)
1599 _arg1 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
1600 temp->GetFamily(),
1601 temp->GetStyle(),
1602 temp->GetWeight(),
1603 temp->GetUnderlined(),
1604 temp->GetFaceName(),
1605 temp->GetEncoding());
1606 else
1607 _arg1 = NULL;
1608 }
1609 {
1610 wxPy_BEGIN_ALLOW_THREADS;
1611 wxPseudoMetaFile_SetFont(_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_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
1620 static PyObject *_wrap_wxPseudoMetaFile_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1621 PyObject * _resultobj;
1622 wxPseudoMetaFile * _arg0;
1623 wxColour * _arg1;
1624 PyObject * _argo0 = 0;
1625 wxColour temp;
1626 PyObject * _obj1 = 0;
1627 char *_kwnames[] = { "self","colour", NULL };
1628
1629 self = self;
1630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_SetTextColour",_kwnames,&_argo0,&_obj1))
1631 return NULL;
1632 if (_argo0) {
1633 if (_argo0 == Py_None) { _arg0 = NULL; }
1634 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1635 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetTextColour. Expected _wxPseudoMetaFile_p.");
1636 return NULL;
1637 }
1638 }
1639 {
1640 _arg1 = &temp;
1641 if (! wxColour_helper(_obj1, &_arg1))
1642 return NULL;
1643 }
1644 {
1645 wxPy_BEGIN_ALLOW_THREADS;
1646 wxPseudoMetaFile_SetTextColour(_arg0,*_arg1);
1647
1648 wxPy_END_ALLOW_THREADS;
1649 } Py_INCREF(Py_None);
1650 _resultobj = Py_None;
1651 return _resultobj;
1652 }
1653
1654 #define wxPseudoMetaFile_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
1655 static PyObject *_wrap_wxPseudoMetaFile_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1656 PyObject * _resultobj;
1657 wxPseudoMetaFile * _arg0;
1658 wxColour * _arg1;
1659 PyObject * _argo0 = 0;
1660 wxColour temp;
1661 PyObject * _obj1 = 0;
1662 char *_kwnames[] = { "self","colour", NULL };
1663
1664 self = self;
1665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
1666 return NULL;
1667 if (_argo0) {
1668 if (_argo0 == Py_None) { _arg0 = NULL; }
1669 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1670 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetBackgroundColour. Expected _wxPseudoMetaFile_p.");
1671 return NULL;
1672 }
1673 }
1674 {
1675 _arg1 = &temp;
1676 if (! wxColour_helper(_obj1, &_arg1))
1677 return NULL;
1678 }
1679 {
1680 wxPy_BEGIN_ALLOW_THREADS;
1681 wxPseudoMetaFile_SetBackgroundColour(_arg0,*_arg1);
1682
1683 wxPy_END_ALLOW_THREADS;
1684 } Py_INCREF(Py_None);
1685 _resultobj = Py_None;
1686 return _resultobj;
1687 }
1688
1689 #define wxPseudoMetaFile_SetBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetBackgroundMode(_swigarg0))
1690 static PyObject *_wrap_wxPseudoMetaFile_SetBackgroundMode(PyObject *self, PyObject *args, PyObject *kwargs) {
1691 PyObject * _resultobj;
1692 wxPseudoMetaFile * _arg0;
1693 int _arg1;
1694 PyObject * _argo0 = 0;
1695 char *_kwnames[] = { "self","mode", NULL };
1696
1697 self = self;
1698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPseudoMetaFile_SetBackgroundMode",_kwnames,&_argo0,&_arg1))
1699 return NULL;
1700 if (_argo0) {
1701 if (_argo0 == Py_None) { _arg0 = NULL; }
1702 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1703 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetBackgroundMode. Expected _wxPseudoMetaFile_p.");
1704 return NULL;
1705 }
1706 }
1707 {
1708 wxPy_BEGIN_ALLOW_THREADS;
1709 wxPseudoMetaFile_SetBackgroundMode(_arg0,_arg1);
1710
1711 wxPy_END_ALLOW_THREADS;
1712 } Py_INCREF(Py_None);
1713 _resultobj = Py_None;
1714 return _resultobj;
1715 }
1716
1717 static void *SwigwxPyRectangleShapeTowxPyShape(void *ptr) {
1718 wxPyRectangleShape *src;
1719 wxPyShape *dest;
1720 src = (wxPyRectangleShape *) ptr;
1721 dest = (wxPyShape *) src;
1722 return (void *) dest;
1723 }
1724
1725 static void *SwigwxPyRectangleShapeTowxPyShapeEvtHandler(void *ptr) {
1726 wxPyRectangleShape *src;
1727 wxPyShapeEvtHandler *dest;
1728 src = (wxPyRectangleShape *) ptr;
1729 dest = (wxPyShapeEvtHandler *) src;
1730 return (void *) dest;
1731 }
1732
1733 #define new_wxPyRectangleShape(_swigarg0,_swigarg1) (new wxPyRectangleShape(_swigarg0,_swigarg1))
1734 static PyObject *_wrap_new_wxPyRectangleShape(PyObject *self, PyObject *args, PyObject *kwargs) {
1735 PyObject * _resultobj;
1736 wxPyRectangleShape * _result;
1737 double _arg0 = (double ) 0.0;
1738 double _arg1 = (double ) 0.0;
1739 char *_kwnames[] = { "width","height", NULL };
1740 char _ptemp[128];
1741
1742 self = self;
1743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|dd:new_wxPyRectangleShape",_kwnames,&_arg0,&_arg1))
1744 return NULL;
1745 {
1746 wxPy_BEGIN_ALLOW_THREADS;
1747 _result = (wxPyRectangleShape *)new_wxPyRectangleShape(_arg0,_arg1);
1748
1749 wxPy_END_ALLOW_THREADS;
1750 } if (_result) {
1751 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyRectangleShape_p");
1752 _resultobj = Py_BuildValue("s",_ptemp);
1753 } else {
1754 Py_INCREF(Py_None);
1755 _resultobj = Py_None;
1756 }
1757 return _resultobj;
1758 }
1759
1760 #define wxPyRectangleShape__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
1761 static PyObject *_wrap_wxPyRectangleShape__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
1762 PyObject * _resultobj;
1763 wxPyRectangleShape * _arg0;
1764 PyObject * _arg1;
1765 PyObject * _arg2;
1766 PyObject * _argo0 = 0;
1767 PyObject * _obj1 = 0;
1768 PyObject * _obj2 = 0;
1769 char *_kwnames[] = { "self","self","_class", NULL };
1770
1771 self = self;
1772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyRectangleShape__setSelf",_kwnames,&_argo0,&_obj1,&_obj2))
1773 return NULL;
1774 if (_argo0) {
1775 if (_argo0 == Py_None) { _arg0 = NULL; }
1776 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
1777 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape__setSelf. Expected _wxPyRectangleShape_p.");
1778 return NULL;
1779 }
1780 }
1781 {
1782 _arg1 = _obj1;
1783 }
1784 {
1785 _arg2 = _obj2;
1786 }
1787 {
1788 wxPy_BEGIN_ALLOW_THREADS;
1789 wxPyRectangleShape__setSelf(_arg0,_arg1,_arg2);
1790
1791 wxPy_END_ALLOW_THREADS;
1792 } Py_INCREF(Py_None);
1793 _resultobj = Py_None;
1794 return _resultobj;
1795 }
1796
1797 #define wxPyRectangleShape_SetCornerRadius(_swigobj,_swigarg0) (_swigobj->SetCornerRadius(_swigarg0))
1798 static PyObject *_wrap_wxPyRectangleShape_SetCornerRadius(PyObject *self, PyObject *args, PyObject *kwargs) {
1799 PyObject * _resultobj;
1800 wxPyRectangleShape * _arg0;
1801 double _arg1;
1802 PyObject * _argo0 = 0;
1803 char *_kwnames[] = { "self","radius", NULL };
1804
1805 self = self;
1806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Od:wxPyRectangleShape_SetCornerRadius",_kwnames,&_argo0,&_arg1))
1807 return NULL;
1808 if (_argo0) {
1809 if (_argo0 == Py_None) { _arg0 = NULL; }
1810 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
1811 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_SetCornerRadius. Expected _wxPyRectangleShape_p.");
1812 return NULL;
1813 }
1814 }
1815 {
1816 wxPy_BEGIN_ALLOW_THREADS;
1817 wxPyRectangleShape_SetCornerRadius(_arg0,_arg1);
1818
1819 wxPy_END_ALLOW_THREADS;
1820 } Py_INCREF(Py_None);
1821 _resultobj = Py_None;
1822 return _resultobj;
1823 }
1824
1825 #define wxPyRectangleShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
1826 static PyObject *_wrap_wxPyRectangleShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
1827 PyObject * _resultobj;
1828 wxPyRectangleShape * _arg0;
1829 PyObject * _argo0 = 0;
1830 char *_kwnames[] = { "self", NULL };
1831
1832 self = self;
1833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyRectangleShape_base_OnDelete",_kwnames,&_argo0))
1834 return NULL;
1835 if (_argo0) {
1836 if (_argo0 == Py_None) { _arg0 = NULL; }
1837 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
1838 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDelete. Expected _wxPyRectangleShape_p.");
1839 return NULL;
1840 }
1841 }
1842 {
1843 wxPy_BEGIN_ALLOW_THREADS;
1844 wxPyRectangleShape_base_OnDelete(_arg0);
1845
1846 wxPy_END_ALLOW_THREADS;
1847 } Py_INCREF(Py_None);
1848 _resultobj = Py_None;
1849 return _resultobj;
1850 }
1851
1852 #define wxPyRectangleShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
1853 static PyObject *_wrap_wxPyRectangleShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
1854 PyObject * _resultobj;
1855 wxPyRectangleShape * _arg0;
1856 wxDC * _arg1;
1857 PyObject * _argo0 = 0;
1858 PyObject * _argo1 = 0;
1859 char *_kwnames[] = { "self","dc", NULL };
1860
1861 self = self;
1862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnDraw",_kwnames,&_argo0,&_argo1))
1863 return NULL;
1864 if (_argo0) {
1865 if (_argo0 == Py_None) { _arg0 = NULL; }
1866 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
1867 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDraw. Expected _wxPyRectangleShape_p.");
1868 return NULL;
1869 }
1870 }
1871 if (_argo1) {
1872 if (_argo1 == Py_None) { _arg1 = NULL; }
1873 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
1874 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnDraw. Expected _wxDC_p.");
1875 return NULL;
1876 }
1877 }
1878 {
1879 wxPy_BEGIN_ALLOW_THREADS;
1880 wxPyRectangleShape_base_OnDraw(_arg0,*_arg1);
1881
1882 wxPy_END_ALLOW_THREADS;
1883 } Py_INCREF(Py_None);
1884 _resultobj = Py_None;
1885 return _resultobj;
1886 }
1887
1888 #define wxPyRectangleShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
1889 static PyObject *_wrap_wxPyRectangleShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
1890 PyObject * _resultobj;
1891 wxPyRectangleShape * _arg0;
1892 wxDC * _arg1;
1893 PyObject * _argo0 = 0;
1894 PyObject * _argo1 = 0;
1895 char *_kwnames[] = { "self","dc", NULL };
1896
1897 self = self;
1898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1))
1899 return NULL;
1900 if (_argo0) {
1901 if (_argo0 == Py_None) { _arg0 = NULL; }
1902 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
1903 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDrawContents. Expected _wxPyRectangleShape_p.");
1904 return NULL;
1905 }
1906 }
1907 if (_argo1) {
1908 if (_argo1 == Py_None) { _arg1 = NULL; }
1909 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
1910 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnDrawContents. Expected _wxDC_p.");
1911 return NULL;
1912 }
1913 }
1914 {
1915 wxPy_BEGIN_ALLOW_THREADS;
1916 wxPyRectangleShape_base_OnDrawContents(_arg0,*_arg1);
1917
1918 wxPy_END_ALLOW_THREADS;
1919 } Py_INCREF(Py_None);
1920 _resultobj = Py_None;
1921 return _resultobj;
1922 }
1923
1924 #define wxPyRectangleShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
1925 static PyObject *_wrap_wxPyRectangleShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
1926 PyObject * _resultobj;
1927 wxPyRectangleShape * _arg0;
1928 wxDC * _arg1;
1929 bool _arg2 = (bool ) FALSE;
1930 PyObject * _argo0 = 0;
1931 PyObject * _argo1 = 0;
1932 int tempbool2 = (int) FALSE;
1933 char *_kwnames[] = { "self","dc","erase", NULL };
1934
1935 self = self;
1936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyRectangleShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2))
1937 return NULL;
1938 if (_argo0) {
1939 if (_argo0 == Py_None) { _arg0 = NULL; }
1940 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
1941 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDrawBranches. Expected _wxPyRectangleShape_p.");
1942 return NULL;
1943 }
1944 }
1945 if (_argo1) {
1946 if (_argo1 == Py_None) { _arg1 = NULL; }
1947 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
1948 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnDrawBranches. Expected _wxDC_p.");
1949 return NULL;
1950 }
1951 }
1952 _arg2 = (bool ) tempbool2;
1953 {
1954 wxPy_BEGIN_ALLOW_THREADS;
1955 wxPyRectangleShape_base_OnDrawBranches(_arg0,*_arg1,_arg2);
1956
1957 wxPy_END_ALLOW_THREADS;
1958 } Py_INCREF(Py_None);
1959 _resultobj = Py_None;
1960 return _resultobj;
1961 }
1962
1963 #define wxPyRectangleShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
1964 static PyObject *_wrap_wxPyRectangleShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
1965 PyObject * _resultobj;
1966 wxPyRectangleShape * _arg0;
1967 wxDC * _arg1;
1968 PyObject * _argo0 = 0;
1969 PyObject * _argo1 = 0;
1970 char *_kwnames[] = { "self","dc", NULL };
1971
1972 self = self;
1973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1))
1974 return NULL;
1975 if (_argo0) {
1976 if (_argo0 == Py_None) { _arg0 = NULL; }
1977 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
1978 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnMoveLinks. Expected _wxPyRectangleShape_p.");
1979 return NULL;
1980 }
1981 }
1982 if (_argo1) {
1983 if (_argo1 == Py_None) { _arg1 = NULL; }
1984 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
1985 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnMoveLinks. Expected _wxDC_p.");
1986 return NULL;
1987 }
1988 }
1989 {
1990 wxPy_BEGIN_ALLOW_THREADS;
1991 wxPyRectangleShape_base_OnMoveLinks(_arg0,*_arg1);
1992
1993 wxPy_END_ALLOW_THREADS;
1994 } Py_INCREF(Py_None);
1995 _resultobj = Py_None;
1996 return _resultobj;
1997 }
1998
1999 #define wxPyRectangleShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
2000 static PyObject *_wrap_wxPyRectangleShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
2001 PyObject * _resultobj;
2002 wxPyRectangleShape * _arg0;
2003 wxDC * _arg1;
2004 PyObject * _argo0 = 0;
2005 PyObject * _argo1 = 0;
2006 char *_kwnames[] = { "self","dc", NULL };
2007
2008 self = self;
2009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnErase",_kwnames,&_argo0,&_argo1))
2010 return NULL;
2011 if (_argo0) {
2012 if (_argo0 == Py_None) { _arg0 = NULL; }
2013 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2014 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnErase. Expected _wxPyRectangleShape_p.");
2015 return NULL;
2016 }
2017 }
2018 if (_argo1) {
2019 if (_argo1 == Py_None) { _arg1 = NULL; }
2020 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2021 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnErase. Expected _wxDC_p.");
2022 return NULL;
2023 }
2024 }
2025 {
2026 wxPy_BEGIN_ALLOW_THREADS;
2027 wxPyRectangleShape_base_OnErase(_arg0,*_arg1);
2028
2029 wxPy_END_ALLOW_THREADS;
2030 } Py_INCREF(Py_None);
2031 _resultobj = Py_None;
2032 return _resultobj;
2033 }
2034
2035 #define wxPyRectangleShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
2036 static PyObject *_wrap_wxPyRectangleShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
2037 PyObject * _resultobj;
2038 wxPyRectangleShape * _arg0;
2039 wxDC * _arg1;
2040 PyObject * _argo0 = 0;
2041 PyObject * _argo1 = 0;
2042 char *_kwnames[] = { "self","dc", NULL };
2043
2044 self = self;
2045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1))
2046 return NULL;
2047 if (_argo0) {
2048 if (_argo0 == Py_None) { _arg0 = NULL; }
2049 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2050 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnEraseContents. Expected _wxPyRectangleShape_p.");
2051 return NULL;
2052 }
2053 }
2054 if (_argo1) {
2055 if (_argo1 == Py_None) { _arg1 = NULL; }
2056 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2057 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnEraseContents. Expected _wxDC_p.");
2058 return NULL;
2059 }
2060 }
2061 {
2062 wxPy_BEGIN_ALLOW_THREADS;
2063 wxPyRectangleShape_base_OnEraseContents(_arg0,*_arg1);
2064
2065 wxPy_END_ALLOW_THREADS;
2066 } Py_INCREF(Py_None);
2067 _resultobj = Py_None;
2068 return _resultobj;
2069 }
2070
2071 #define wxPyRectangleShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
2072 static PyObject *_wrap_wxPyRectangleShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
2073 PyObject * _resultobj;
2074 wxPyRectangleShape * _arg0;
2075 wxDC * _arg1;
2076 PyObject * _argo0 = 0;
2077 PyObject * _argo1 = 0;
2078 char *_kwnames[] = { "self","dc", NULL };
2079
2080 self = self;
2081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnHighlight",_kwnames,&_argo0,&_argo1))
2082 return NULL;
2083 if (_argo0) {
2084 if (_argo0 == Py_None) { _arg0 = NULL; }
2085 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2086 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnHighlight. Expected _wxPyRectangleShape_p.");
2087 return NULL;
2088 }
2089 }
2090 if (_argo1) {
2091 if (_argo1 == Py_None) { _arg1 = NULL; }
2092 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2093 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnHighlight. Expected _wxDC_p.");
2094 return NULL;
2095 }
2096 }
2097 {
2098 wxPy_BEGIN_ALLOW_THREADS;
2099 wxPyRectangleShape_base_OnHighlight(_arg0,*_arg1);
2100
2101 wxPy_END_ALLOW_THREADS;
2102 } Py_INCREF(Py_None);
2103 _resultobj = Py_None;
2104 return _resultobj;
2105 }
2106
2107 #define wxPyRectangleShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2108 static PyObject *_wrap_wxPyRectangleShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2109 PyObject * _resultobj;
2110 wxPyRectangleShape * _arg0;
2111 double _arg1;
2112 double _arg2;
2113 int _arg3 = (int ) 0;
2114 int _arg4 = (int ) 0;
2115 PyObject * _argo0 = 0;
2116 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
2117
2118 self = self;
2119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
2120 return NULL;
2121 if (_argo0) {
2122 if (_argo0 == Py_None) { _arg0 = NULL; }
2123 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2124 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnLeftClick. Expected _wxPyRectangleShape_p.");
2125 return NULL;
2126 }
2127 }
2128 {
2129 wxPy_BEGIN_ALLOW_THREADS;
2130 wxPyRectangleShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4);
2131
2132 wxPy_END_ALLOW_THREADS;
2133 } Py_INCREF(Py_None);
2134 _resultobj = Py_None;
2135 return _resultobj;
2136 }
2137
2138 #define wxPyRectangleShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2139 static PyObject *_wrap_wxPyRectangleShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2140 PyObject * _resultobj;
2141 wxPyRectangleShape * _arg0;
2142 double _arg1;
2143 double _arg2;
2144 int _arg3 = (int ) 0;
2145 int _arg4 = (int ) 0;
2146 PyObject * _argo0 = 0;
2147 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
2148
2149 self = self;
2150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
2151 return NULL;
2152 if (_argo0) {
2153 if (_argo0 == Py_None) { _arg0 = NULL; }
2154 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2155 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnLeftDoubleClick. Expected _wxPyRectangleShape_p.");
2156 return NULL;
2157 }
2158 }
2159 {
2160 wxPy_BEGIN_ALLOW_THREADS;
2161 wxPyRectangleShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4);
2162
2163 wxPy_END_ALLOW_THREADS;
2164 } Py_INCREF(Py_None);
2165 _resultobj = Py_None;
2166 return _resultobj;
2167 }
2168
2169 #define wxPyRectangleShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2170 static PyObject *_wrap_wxPyRectangleShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2171 PyObject * _resultobj;
2172 wxPyRectangleShape * _arg0;
2173 double _arg1;
2174 double _arg2;
2175 int _arg3 = (int ) 0;
2176 int _arg4 = (int ) 0;
2177 PyObject * _argo0 = 0;
2178 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
2179
2180 self = self;
2181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
2182 return NULL;
2183 if (_argo0) {
2184 if (_argo0 == Py_None) { _arg0 = NULL; }
2185 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2186 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnRightClick. Expected _wxPyRectangleShape_p.");
2187 return NULL;
2188 }
2189 }
2190 {
2191 wxPy_BEGIN_ALLOW_THREADS;
2192 wxPyRectangleShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4);
2193
2194 wxPy_END_ALLOW_THREADS;
2195 } Py_INCREF(Py_None);
2196 _resultobj = Py_None;
2197 return _resultobj;
2198 }
2199
2200 #define wxPyRectangleShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
2201 static PyObject *_wrap_wxPyRectangleShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2202 PyObject * _resultobj;
2203 wxPyRectangleShape * _arg0;
2204 double _arg1;
2205 double _arg2;
2206 PyObject * _argo0 = 0;
2207 char *_kwnames[] = { "self","x","y", NULL };
2208
2209 self = self;
2210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyRectangleShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2))
2211 return NULL;
2212 if (_argo0) {
2213 if (_argo0 == Py_None) { _arg0 = NULL; }
2214 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2215 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnSize. Expected _wxPyRectangleShape_p.");
2216 return NULL;
2217 }
2218 }
2219 {
2220 wxPy_BEGIN_ALLOW_THREADS;
2221 wxPyRectangleShape_base_OnSize(_arg0,_arg1,_arg2);
2222
2223 wxPy_END_ALLOW_THREADS;
2224 } Py_INCREF(Py_None);
2225 _resultobj = Py_None;
2226 return _resultobj;
2227 }
2228
2229 #define wxPyRectangleShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2230 static PyObject *_wrap_wxPyRectangleShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
2231 PyObject * _resultobj;
2232 bool _result;
2233 wxPyRectangleShape * _arg0;
2234 wxDC * _arg1;
2235 double _arg2;
2236 double _arg3;
2237 double _arg4;
2238 double _arg5;
2239 bool _arg6 = (bool ) TRUE;
2240 PyObject * _argo0 = 0;
2241 PyObject * _argo1 = 0;
2242 int tempbool6 = (int) TRUE;
2243 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
2244
2245 self = self;
2246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyRectangleShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
2247 return NULL;
2248 if (_argo0) {
2249 if (_argo0 == Py_None) { _arg0 = NULL; }
2250 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2251 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnMovePre. Expected _wxPyRectangleShape_p.");
2252 return NULL;
2253 }
2254 }
2255 if (_argo1) {
2256 if (_argo1 == Py_None) { _arg1 = NULL; }
2257 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2258 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnMovePre. Expected _wxDC_p.");
2259 return NULL;
2260 }
2261 }
2262 _arg6 = (bool ) tempbool6;
2263 {
2264 wxPy_BEGIN_ALLOW_THREADS;
2265 _result = (bool )wxPyRectangleShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
2266
2267 wxPy_END_ALLOW_THREADS;
2268 } _resultobj = Py_BuildValue("i",_result);
2269 return _resultobj;
2270 }
2271
2272 #define wxPyRectangleShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2273 static PyObject *_wrap_wxPyRectangleShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
2274 PyObject * _resultobj;
2275 wxPyRectangleShape * _arg0;
2276 wxDC * _arg1;
2277 double _arg2;
2278 double _arg3;
2279 double _arg4;
2280 double _arg5;
2281 bool _arg6 = (bool ) TRUE;
2282 PyObject * _argo0 = 0;
2283 PyObject * _argo1 = 0;
2284 int tempbool6 = (int) TRUE;
2285 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
2286
2287 self = self;
2288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyRectangleShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
2289 return NULL;
2290 if (_argo0) {
2291 if (_argo0 == Py_None) { _arg0 = NULL; }
2292 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2293 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnMovePost. Expected _wxPyRectangleShape_p.");
2294 return NULL;
2295 }
2296 }
2297 if (_argo1) {
2298 if (_argo1 == Py_None) { _arg1 = NULL; }
2299 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2300 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnMovePost. Expected _wxDC_p.");
2301 return NULL;
2302 }
2303 }
2304 _arg6 = (bool ) tempbool6;
2305 {
2306 wxPy_BEGIN_ALLOW_THREADS;
2307 wxPyRectangleShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
2308
2309 wxPy_END_ALLOW_THREADS;
2310 } Py_INCREF(Py_None);
2311 _resultobj = Py_None;
2312 return _resultobj;
2313 }
2314
2315 #define wxPyRectangleShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2316 static PyObject *_wrap_wxPyRectangleShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2317 PyObject * _resultobj;
2318 wxPyRectangleShape * _arg0;
2319 bool _arg1;
2320 double _arg2;
2321 double _arg3;
2322 int _arg4 = (int ) 0;
2323 int _arg5 = (int ) 0;
2324 PyObject * _argo0 = 0;
2325 int tempbool1;
2326 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
2327
2328 self = self;
2329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyRectangleShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
2330 return NULL;
2331 if (_argo0) {
2332 if (_argo0 == Py_None) { _arg0 = NULL; }
2333 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2334 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDragLeft. Expected _wxPyRectangleShape_p.");
2335 return NULL;
2336 }
2337 }
2338 _arg1 = (bool ) tempbool1;
2339 {
2340 wxPy_BEGIN_ALLOW_THREADS;
2341 wxPyRectangleShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
2342
2343 wxPy_END_ALLOW_THREADS;
2344 } Py_INCREF(Py_None);
2345 _resultobj = Py_None;
2346 return _resultobj;
2347 }
2348
2349 #define wxPyRectangleShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2350 static PyObject *_wrap_wxPyRectangleShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2351 PyObject * _resultobj;
2352 wxPyRectangleShape * _arg0;
2353 double _arg1;
2354 double _arg2;
2355 int _arg3 = (int ) 0;
2356 int _arg4 = (int ) 0;
2357 PyObject * _argo0 = 0;
2358 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
2359
2360 self = self;
2361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
2362 return NULL;
2363 if (_argo0) {
2364 if (_argo0 == Py_None) { _arg0 = NULL; }
2365 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2366 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnBeginDragLeft. Expected _wxPyRectangleShape_p.");
2367 return NULL;
2368 }
2369 }
2370 {
2371 wxPy_BEGIN_ALLOW_THREADS;
2372 wxPyRectangleShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
2373
2374 wxPy_END_ALLOW_THREADS;
2375 } Py_INCREF(Py_None);
2376 _resultobj = Py_None;
2377 return _resultobj;
2378 }
2379
2380 #define wxPyRectangleShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2381 static PyObject *_wrap_wxPyRectangleShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2382 PyObject * _resultobj;
2383 wxPyRectangleShape * _arg0;
2384 double _arg1;
2385 double _arg2;
2386 int _arg3 = (int ) 0;
2387 int _arg4 = (int ) 0;
2388 PyObject * _argo0 = 0;
2389 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
2390
2391 self = self;
2392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
2393 return NULL;
2394 if (_argo0) {
2395 if (_argo0 == Py_None) { _arg0 = NULL; }
2396 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2397 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnEndDragLeft. Expected _wxPyRectangleShape_p.");
2398 return NULL;
2399 }
2400 }
2401 {
2402 wxPy_BEGIN_ALLOW_THREADS;
2403 wxPyRectangleShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
2404
2405 wxPy_END_ALLOW_THREADS;
2406 } Py_INCREF(Py_None);
2407 _resultobj = Py_None;
2408 return _resultobj;
2409 }
2410
2411 #define wxPyRectangleShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2412 static PyObject *_wrap_wxPyRectangleShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2413 PyObject * _resultobj;
2414 wxPyRectangleShape * _arg0;
2415 bool _arg1;
2416 double _arg2;
2417 double _arg3;
2418 int _arg4 = (int ) 0;
2419 int _arg5 = (int ) 0;
2420 PyObject * _argo0 = 0;
2421 int tempbool1;
2422 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
2423
2424 self = self;
2425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyRectangleShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
2426 return NULL;
2427 if (_argo0) {
2428 if (_argo0 == Py_None) { _arg0 = NULL; }
2429 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2430 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDragRight. Expected _wxPyRectangleShape_p.");
2431 return NULL;
2432 }
2433 }
2434 _arg1 = (bool ) tempbool1;
2435 {
2436 wxPy_BEGIN_ALLOW_THREADS;
2437 wxPyRectangleShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
2438
2439 wxPy_END_ALLOW_THREADS;
2440 } Py_INCREF(Py_None);
2441 _resultobj = Py_None;
2442 return _resultobj;
2443 }
2444
2445 #define wxPyRectangleShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2446 static PyObject *_wrap_wxPyRectangleShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2447 PyObject * _resultobj;
2448 wxPyRectangleShape * _arg0;
2449 double _arg1;
2450 double _arg2;
2451 int _arg3 = (int ) 0;
2452 int _arg4 = (int ) 0;
2453 PyObject * _argo0 = 0;
2454 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
2455
2456 self = self;
2457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
2458 return NULL;
2459 if (_argo0) {
2460 if (_argo0 == Py_None) { _arg0 = NULL; }
2461 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2462 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnBeginDragRight. Expected _wxPyRectangleShape_p.");
2463 return NULL;
2464 }
2465 }
2466 {
2467 wxPy_BEGIN_ALLOW_THREADS;
2468 wxPyRectangleShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
2469
2470 wxPy_END_ALLOW_THREADS;
2471 } Py_INCREF(Py_None);
2472 _resultobj = Py_None;
2473 return _resultobj;
2474 }
2475
2476 #define wxPyRectangleShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2477 static PyObject *_wrap_wxPyRectangleShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2478 PyObject * _resultobj;
2479 wxPyRectangleShape * _arg0;
2480 double _arg1;
2481 double _arg2;
2482 int _arg3 = (int ) 0;
2483 int _arg4 = (int ) 0;
2484 PyObject * _argo0 = 0;
2485 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
2486
2487 self = self;
2488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
2489 return NULL;
2490 if (_argo0) {
2491 if (_argo0 == Py_None) { _arg0 = NULL; }
2492 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2493 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnEndDragRight. Expected _wxPyRectangleShape_p.");
2494 return NULL;
2495 }
2496 }
2497 {
2498 wxPy_BEGIN_ALLOW_THREADS;
2499 wxPyRectangleShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
2500
2501 wxPy_END_ALLOW_THREADS;
2502 } Py_INCREF(Py_None);
2503 _resultobj = Py_None;
2504 return _resultobj;
2505 }
2506
2507 #define wxPyRectangleShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2508 static PyObject *_wrap_wxPyRectangleShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
2509 PyObject * _resultobj;
2510 wxPyRectangleShape * _arg0;
2511 wxDC * _arg1;
2512 double _arg2;
2513 double _arg3;
2514 double _arg4;
2515 double _arg5;
2516 PyObject * _argo0 = 0;
2517 PyObject * _argo1 = 0;
2518 char *_kwnames[] = { "self","dc","x","y","w","h", NULL };
2519
2520 self = self;
2521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyRectangleShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
2522 return NULL;
2523 if (_argo0) {
2524 if (_argo0 == Py_None) { _arg0 = NULL; }
2525 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2526 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDrawOutline. Expected _wxPyRectangleShape_p.");
2527 return NULL;
2528 }
2529 }
2530 if (_argo1) {
2531 if (_argo1 == Py_None) { _arg1 = NULL; }
2532 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2533 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnDrawOutline. Expected _wxDC_p.");
2534 return NULL;
2535 }
2536 }
2537 {
2538 wxPy_BEGIN_ALLOW_THREADS;
2539 wxPyRectangleShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5);
2540
2541 wxPy_END_ALLOW_THREADS;
2542 } Py_INCREF(Py_None);
2543 _resultobj = Py_None;
2544 return _resultobj;
2545 }
2546
2547 #define wxPyRectangleShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
2548 static PyObject *_wrap_wxPyRectangleShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
2549 PyObject * _resultobj;
2550 wxPyRectangleShape * _arg0;
2551 wxDC * _arg1;
2552 PyObject * _argo0 = 0;
2553 PyObject * _argo1 = 0;
2554 char *_kwnames[] = { "self","dc", NULL };
2555
2556 self = self;
2557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1))
2558 return NULL;
2559 if (_argo0) {
2560 if (_argo0 == Py_None) { _arg0 = NULL; }
2561 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2562 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDrawControlPoints. Expected _wxPyRectangleShape_p.");
2563 return NULL;
2564 }
2565 }
2566 if (_argo1) {
2567 if (_argo1 == Py_None) { _arg1 = NULL; }
2568 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2569 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnDrawControlPoints. Expected _wxDC_p.");
2570 return NULL;
2571 }
2572 }
2573 {
2574 wxPy_BEGIN_ALLOW_THREADS;
2575 wxPyRectangleShape_base_OnDrawControlPoints(_arg0,*_arg1);
2576
2577 wxPy_END_ALLOW_THREADS;
2578 } Py_INCREF(Py_None);
2579 _resultobj = Py_None;
2580 return _resultobj;
2581 }
2582
2583 #define wxPyRectangleShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
2584 static PyObject *_wrap_wxPyRectangleShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
2585 PyObject * _resultobj;
2586 wxPyRectangleShape * _arg0;
2587 wxDC * _arg1;
2588 PyObject * _argo0 = 0;
2589 PyObject * _argo1 = 0;
2590 char *_kwnames[] = { "self","dc", NULL };
2591
2592 self = self;
2593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1))
2594 return NULL;
2595 if (_argo0) {
2596 if (_argo0 == Py_None) { _arg0 = NULL; }
2597 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2598 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnEraseControlPoints. Expected _wxPyRectangleShape_p.");
2599 return NULL;
2600 }
2601 }
2602 if (_argo1) {
2603 if (_argo1 == Py_None) { _arg1 = NULL; }
2604 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2605 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnEraseControlPoints. Expected _wxDC_p.");
2606 return NULL;
2607 }
2608 }
2609 {
2610 wxPy_BEGIN_ALLOW_THREADS;
2611 wxPyRectangleShape_base_OnEraseControlPoints(_arg0,*_arg1);
2612
2613 wxPy_END_ALLOW_THREADS;
2614 } Py_INCREF(Py_None);
2615 _resultobj = Py_None;
2616 return _resultobj;
2617 }
2618
2619 #define wxPyRectangleShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
2620 static PyObject *_wrap_wxPyRectangleShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
2621 PyObject * _resultobj;
2622 wxPyRectangleShape * _arg0;
2623 wxDC * _arg1;
2624 bool _arg2 = (bool ) TRUE;
2625 PyObject * _argo0 = 0;
2626 PyObject * _argo1 = 0;
2627 int tempbool2 = (int) TRUE;
2628 char *_kwnames[] = { "self","dc","moveControlPoints", NULL };
2629
2630 self = self;
2631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyRectangleShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2))
2632 return NULL;
2633 if (_argo0) {
2634 if (_argo0 == Py_None) { _arg0 = NULL; }
2635 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2636 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnMoveLink. Expected _wxPyRectangleShape_p.");
2637 return NULL;
2638 }
2639 }
2640 if (_argo1) {
2641 if (_argo1 == Py_None) { _arg1 = NULL; }
2642 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2643 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnMoveLink. Expected _wxDC_p.");
2644 return NULL;
2645 }
2646 }
2647 _arg2 = (bool ) tempbool2;
2648 {
2649 wxPy_BEGIN_ALLOW_THREADS;
2650 wxPyRectangleShape_base_OnMoveLink(_arg0,*_arg1,_arg2);
2651
2652 wxPy_END_ALLOW_THREADS;
2653 } Py_INCREF(Py_None);
2654 _resultobj = Py_None;
2655 return _resultobj;
2656 }
2657
2658 #define wxPyRectangleShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2659 static PyObject *_wrap_wxPyRectangleShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2660 PyObject * _resultobj;
2661 wxPyRectangleShape * _arg0;
2662 wxPyControlPoint * _arg1;
2663 bool _arg2;
2664 double _arg3;
2665 double _arg4;
2666 int _arg5 = (int ) 0;
2667 int _arg6 = (int ) 0;
2668 PyObject * _argo0 = 0;
2669 PyObject * _argo1 = 0;
2670 int tempbool2;
2671 char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL };
2672
2673 self = self;
2674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyRectangleShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6))
2675 return NULL;
2676 if (_argo0) {
2677 if (_argo0 == Py_None) { _arg0 = NULL; }
2678 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2679 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnSizingDragLeft. Expected _wxPyRectangleShape_p.");
2680 return NULL;
2681 }
2682 }
2683 if (_argo1) {
2684 if (_argo1 == Py_None) { _arg1 = NULL; }
2685 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
2686 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
2687 return NULL;
2688 }
2689 }
2690 _arg2 = (bool ) tempbool2;
2691 {
2692 wxPy_BEGIN_ALLOW_THREADS;
2693 wxPyRectangleShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
2694
2695 wxPy_END_ALLOW_THREADS;
2696 } Py_INCREF(Py_None);
2697 _resultobj = Py_None;
2698 return _resultobj;
2699 }
2700
2701 #define wxPyRectangleShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2702 static PyObject *_wrap_wxPyRectangleShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2703 PyObject * _resultobj;
2704 wxPyRectangleShape * _arg0;
2705 wxPyControlPoint * _arg1;
2706 double _arg2;
2707 double _arg3;
2708 int _arg4 = (int ) 0;
2709 int _arg5 = (int ) 0;
2710 PyObject * _argo0 = 0;
2711 PyObject * _argo1 = 0;
2712 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
2713
2714 self = self;
2715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyRectangleShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
2716 return NULL;
2717 if (_argo0) {
2718 if (_argo0 == Py_None) { _arg0 = NULL; }
2719 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2720 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnSizingBeginDragLeft. Expected _wxPyRectangleShape_p.");
2721 return NULL;
2722 }
2723 }
2724 if (_argo1) {
2725 if (_argo1 == Py_None) { _arg1 = NULL; }
2726 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
2727 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
2728 return NULL;
2729 }
2730 }
2731 {
2732 wxPy_BEGIN_ALLOW_THREADS;
2733 wxPyRectangleShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
2734
2735 wxPy_END_ALLOW_THREADS;
2736 } Py_INCREF(Py_None);
2737 _resultobj = Py_None;
2738 return _resultobj;
2739 }
2740
2741 #define wxPyRectangleShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2742 static PyObject *_wrap_wxPyRectangleShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2743 PyObject * _resultobj;
2744 wxPyRectangleShape * _arg0;
2745 wxPyControlPoint * _arg1;
2746 double _arg2;
2747 double _arg3;
2748 int _arg4 = (int ) 0;
2749 int _arg5 = (int ) 0;
2750 PyObject * _argo0 = 0;
2751 PyObject * _argo1 = 0;
2752 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
2753
2754 self = self;
2755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyRectangleShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
2756 return NULL;
2757 if (_argo0) {
2758 if (_argo0 == Py_None) { _arg0 = NULL; }
2759 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2760 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnSizingEndDragLeft. Expected _wxPyRectangleShape_p.");
2761 return NULL;
2762 }
2763 }
2764 if (_argo1) {
2765 if (_argo1 == Py_None) { _arg1 = NULL; }
2766 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
2767 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
2768 return NULL;
2769 }
2770 }
2771 {
2772 wxPy_BEGIN_ALLOW_THREADS;
2773 wxPyRectangleShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
2774
2775 wxPy_END_ALLOW_THREADS;
2776 } Py_INCREF(Py_None);
2777 _resultobj = Py_None;
2778 return _resultobj;
2779 }
2780
2781 #define wxPyRectangleShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
2782 static PyObject *_wrap_wxPyRectangleShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2783 PyObject * _resultobj;
2784 wxPyRectangleShape * _arg0;
2785 double _arg1;
2786 double _arg2;
2787 PyObject * _argo0 = 0;
2788 char *_kwnames[] = { "self","w","h", NULL };
2789
2790 self = self;
2791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyRectangleShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2))
2792 return NULL;
2793 if (_argo0) {
2794 if (_argo0 == Py_None) { _arg0 = NULL; }
2795 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2796 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnBeginSize. Expected _wxPyRectangleShape_p.");
2797 return NULL;
2798 }
2799 }
2800 {
2801 wxPy_BEGIN_ALLOW_THREADS;
2802 wxPyRectangleShape_base_OnBeginSize(_arg0,_arg1,_arg2);
2803
2804 wxPy_END_ALLOW_THREADS;
2805 } Py_INCREF(Py_None);
2806 _resultobj = Py_None;
2807 return _resultobj;
2808 }
2809
2810 #define wxPyRectangleShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
2811 static PyObject *_wrap_wxPyRectangleShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2812 PyObject * _resultobj;
2813 wxPyRectangleShape * _arg0;
2814 double _arg1;
2815 double _arg2;
2816 PyObject * _argo0 = 0;
2817 char *_kwnames[] = { "self","w","h", NULL };
2818
2819 self = self;
2820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyRectangleShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2))
2821 return NULL;
2822 if (_argo0) {
2823 if (_argo0 == Py_None) { _arg0 = NULL; }
2824 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2825 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnEndSize. Expected _wxPyRectangleShape_p.");
2826 return NULL;
2827 }
2828 }
2829 {
2830 wxPy_BEGIN_ALLOW_THREADS;
2831 wxPyRectangleShape_base_OnEndSize(_arg0,_arg1,_arg2);
2832
2833 wxPy_END_ALLOW_THREADS;
2834 } Py_INCREF(Py_None);
2835 _resultobj = Py_None;
2836 return _resultobj;
2837 }
2838
2839 static void *SwigwxPyControlPointTowxPyRectangleShape(void *ptr) {
2840 wxPyControlPoint *src;
2841 wxPyRectangleShape *dest;
2842 src = (wxPyControlPoint *) ptr;
2843 dest = (wxPyRectangleShape *) src;
2844 return (void *) dest;
2845 }
2846
2847 static void *SwigwxPyControlPointTowxPyShape(void *ptr) {
2848 wxPyControlPoint *src;
2849 wxPyShape *dest;
2850 src = (wxPyControlPoint *) ptr;
2851 dest = (wxPyShape *) src;
2852 return (void *) dest;
2853 }
2854
2855 static void *SwigwxPyControlPointTowxPyShapeEvtHandler(void *ptr) {
2856 wxPyControlPoint *src;
2857 wxPyShapeEvtHandler *dest;
2858 src = (wxPyControlPoint *) ptr;
2859 dest = (wxPyShapeEvtHandler *) src;
2860 return (void *) dest;
2861 }
2862
2863 #define new_wxPyControlPoint(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyControlPoint(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2864 static PyObject *_wrap_new_wxPyControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2865 PyObject * _resultobj;
2866 wxPyControlPoint * _result;
2867 wxPyShapeCanvas * _arg0 = (wxPyShapeCanvas *) NULL;
2868 wxPyShape * _arg1 = (wxPyShape *) NULL;
2869 double _arg2 = (double ) 0.0;
2870 double _arg3 = (double ) 0.0;
2871 double _arg4 = (double ) 0.0;
2872 int _arg5 = (int ) 0;
2873 PyObject * _argo0 = 0;
2874 PyObject * _argo1 = 0;
2875 char *_kwnames[] = { "the_canvas","object","size","the_xoffset","the_yoffset","the_type", NULL };
2876 char _ptemp[128];
2877
2878 self = self;
2879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OOdddi:new_wxPyControlPoint",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
2880 return NULL;
2881 if (_argo0) {
2882 if (_argo0 == Py_None) { _arg0 = NULL; }
2883 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeCanvas_p")) {
2884 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPyControlPoint. Expected _wxPyShapeCanvas_p.");
2885 return NULL;
2886 }
2887 }
2888 if (_argo1) {
2889 if (_argo1 == Py_None) { _arg1 = NULL; }
2890 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) {
2891 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxPyControlPoint. Expected _wxPyShape_p.");
2892 return NULL;
2893 }
2894 }
2895 {
2896 wxPy_BEGIN_ALLOW_THREADS;
2897 _result = (wxPyControlPoint *)new_wxPyControlPoint(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
2898
2899 wxPy_END_ALLOW_THREADS;
2900 } if (_result) {
2901 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyControlPoint_p");
2902 _resultobj = Py_BuildValue("s",_ptemp);
2903 } else {
2904 Py_INCREF(Py_None);
2905 _resultobj = Py_None;
2906 }
2907 return _resultobj;
2908 }
2909
2910 #define wxPyControlPoint__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
2911 static PyObject *_wrap_wxPyControlPoint__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
2912 PyObject * _resultobj;
2913 wxPyControlPoint * _arg0;
2914 PyObject * _arg1;
2915 PyObject * _arg2;
2916 PyObject * _argo0 = 0;
2917 PyObject * _obj1 = 0;
2918 PyObject * _obj2 = 0;
2919 char *_kwnames[] = { "self","self","_class", NULL };
2920
2921 self = self;
2922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyControlPoint__setSelf",_kwnames,&_argo0,&_obj1,&_obj2))
2923 return NULL;
2924 if (_argo0) {
2925 if (_argo0 == Py_None) { _arg0 = NULL; }
2926 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
2927 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint__setSelf. Expected _wxPyControlPoint_p.");
2928 return NULL;
2929 }
2930 }
2931 {
2932 _arg1 = _obj1;
2933 }
2934 {
2935 _arg2 = _obj2;
2936 }
2937 {
2938 wxPy_BEGIN_ALLOW_THREADS;
2939 wxPyControlPoint__setSelf(_arg0,_arg1,_arg2);
2940
2941 wxPy_END_ALLOW_THREADS;
2942 } Py_INCREF(Py_None);
2943 _resultobj = Py_None;
2944 return _resultobj;
2945 }
2946
2947 #define wxPyControlPoint_SetCornerRadius(_swigobj,_swigarg0) (_swigobj->SetCornerRadius(_swigarg0))
2948 static PyObject *_wrap_wxPyControlPoint_SetCornerRadius(PyObject *self, PyObject *args, PyObject *kwargs) {
2949 PyObject * _resultobj;
2950 wxPyControlPoint * _arg0;
2951 double _arg1;
2952 PyObject * _argo0 = 0;
2953 char *_kwnames[] = { "self","radius", NULL };
2954
2955 self = self;
2956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Od:wxPyControlPoint_SetCornerRadius",_kwnames,&_argo0,&_arg1))
2957 return NULL;
2958 if (_argo0) {
2959 if (_argo0 == Py_None) { _arg0 = NULL; }
2960 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
2961 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_SetCornerRadius. Expected _wxPyControlPoint_p.");
2962 return NULL;
2963 }
2964 }
2965 {
2966 wxPy_BEGIN_ALLOW_THREADS;
2967 wxPyControlPoint_SetCornerRadius(_arg0,_arg1);
2968
2969 wxPy_END_ALLOW_THREADS;
2970 } Py_INCREF(Py_None);
2971 _resultobj = Py_None;
2972 return _resultobj;
2973 }
2974
2975 #define wxPyControlPoint_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
2976 static PyObject *_wrap_wxPyControlPoint_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
2977 PyObject * _resultobj;
2978 wxPyControlPoint * _arg0;
2979 PyObject * _argo0 = 0;
2980 char *_kwnames[] = { "self", NULL };
2981
2982 self = self;
2983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControlPoint_base_OnDelete",_kwnames,&_argo0))
2984 return NULL;
2985 if (_argo0) {
2986 if (_argo0 == Py_None) { _arg0 = NULL; }
2987 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
2988 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDelete. Expected _wxPyControlPoint_p.");
2989 return NULL;
2990 }
2991 }
2992 {
2993 wxPy_BEGIN_ALLOW_THREADS;
2994 wxPyControlPoint_base_OnDelete(_arg0);
2995
2996 wxPy_END_ALLOW_THREADS;
2997 } Py_INCREF(Py_None);
2998 _resultobj = Py_None;
2999 return _resultobj;
3000 }
3001
3002 #define wxPyControlPoint_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
3003 static PyObject *_wrap_wxPyControlPoint_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
3004 PyObject * _resultobj;
3005 wxPyControlPoint * _arg0;
3006 wxDC * _arg1;
3007 PyObject * _argo0 = 0;
3008 PyObject * _argo1 = 0;
3009 char *_kwnames[] = { "self","dc", NULL };
3010
3011 self = self;
3012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnDraw",_kwnames,&_argo0,&_argo1))
3013 return NULL;
3014 if (_argo0) {
3015 if (_argo0 == Py_None) { _arg0 = NULL; }
3016 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3017 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDraw. Expected _wxPyControlPoint_p.");
3018 return NULL;
3019 }
3020 }
3021 if (_argo1) {
3022 if (_argo1 == Py_None) { _arg1 = NULL; }
3023 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3024 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnDraw. Expected _wxDC_p.");
3025 return NULL;
3026 }
3027 }
3028 {
3029 wxPy_BEGIN_ALLOW_THREADS;
3030 wxPyControlPoint_base_OnDraw(_arg0,*_arg1);
3031
3032 wxPy_END_ALLOW_THREADS;
3033 } Py_INCREF(Py_None);
3034 _resultobj = Py_None;
3035 return _resultobj;
3036 }
3037
3038 #define wxPyControlPoint_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
3039 static PyObject *_wrap_wxPyControlPoint_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
3040 PyObject * _resultobj;
3041 wxPyControlPoint * _arg0;
3042 wxDC * _arg1;
3043 PyObject * _argo0 = 0;
3044 PyObject * _argo1 = 0;
3045 char *_kwnames[] = { "self","dc", NULL };
3046
3047 self = self;
3048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnDrawContents",_kwnames,&_argo0,&_argo1))
3049 return NULL;
3050 if (_argo0) {
3051 if (_argo0 == Py_None) { _arg0 = NULL; }
3052 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3053 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDrawContents. Expected _wxPyControlPoint_p.");
3054 return NULL;
3055 }
3056 }
3057 if (_argo1) {
3058 if (_argo1 == Py_None) { _arg1 = NULL; }
3059 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3060 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnDrawContents. Expected _wxDC_p.");
3061 return NULL;
3062 }
3063 }
3064 {
3065 wxPy_BEGIN_ALLOW_THREADS;
3066 wxPyControlPoint_base_OnDrawContents(_arg0,*_arg1);
3067
3068 wxPy_END_ALLOW_THREADS;
3069 } Py_INCREF(Py_None);
3070 _resultobj = Py_None;
3071 return _resultobj;
3072 }
3073
3074 #define wxPyControlPoint_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
3075 static PyObject *_wrap_wxPyControlPoint_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
3076 PyObject * _resultobj;
3077 wxPyControlPoint * _arg0;
3078 wxDC * _arg1;
3079 bool _arg2 = (bool ) FALSE;
3080 PyObject * _argo0 = 0;
3081 PyObject * _argo1 = 0;
3082 int tempbool2 = (int) FALSE;
3083 char *_kwnames[] = { "self","dc","erase", NULL };
3084
3085 self = self;
3086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyControlPoint_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2))
3087 return NULL;
3088 if (_argo0) {
3089 if (_argo0 == Py_None) { _arg0 = NULL; }
3090 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3091 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDrawBranches. Expected _wxPyControlPoint_p.");
3092 return NULL;
3093 }
3094 }
3095 if (_argo1) {
3096 if (_argo1 == Py_None) { _arg1 = NULL; }
3097 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3098 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnDrawBranches. Expected _wxDC_p.");
3099 return NULL;
3100 }
3101 }
3102 _arg2 = (bool ) tempbool2;
3103 {
3104 wxPy_BEGIN_ALLOW_THREADS;
3105 wxPyControlPoint_base_OnDrawBranches(_arg0,*_arg1,_arg2);
3106
3107 wxPy_END_ALLOW_THREADS;
3108 } Py_INCREF(Py_None);
3109 _resultobj = Py_None;
3110 return _resultobj;
3111 }
3112
3113 #define wxPyControlPoint_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
3114 static PyObject *_wrap_wxPyControlPoint_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
3115 PyObject * _resultobj;
3116 wxPyControlPoint * _arg0;
3117 wxDC * _arg1;
3118 PyObject * _argo0 = 0;
3119 PyObject * _argo1 = 0;
3120 char *_kwnames[] = { "self","dc", NULL };
3121
3122 self = self;
3123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnMoveLinks",_kwnames,&_argo0,&_argo1))
3124 return NULL;
3125 if (_argo0) {
3126 if (_argo0 == Py_None) { _arg0 = NULL; }
3127 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3128 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnMoveLinks. Expected _wxPyControlPoint_p.");
3129 return NULL;
3130 }
3131 }
3132 if (_argo1) {
3133 if (_argo1 == Py_None) { _arg1 = NULL; }
3134 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3135 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnMoveLinks. Expected _wxDC_p.");
3136 return NULL;
3137 }
3138 }
3139 {
3140 wxPy_BEGIN_ALLOW_THREADS;
3141 wxPyControlPoint_base_OnMoveLinks(_arg0,*_arg1);
3142
3143 wxPy_END_ALLOW_THREADS;
3144 } Py_INCREF(Py_None);
3145 _resultobj = Py_None;
3146 return _resultobj;
3147 }
3148
3149 #define wxPyControlPoint_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
3150 static PyObject *_wrap_wxPyControlPoint_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
3151 PyObject * _resultobj;
3152 wxPyControlPoint * _arg0;
3153 wxDC * _arg1;
3154 PyObject * _argo0 = 0;
3155 PyObject * _argo1 = 0;
3156 char *_kwnames[] = { "self","dc", NULL };
3157
3158 self = self;
3159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnErase",_kwnames,&_argo0,&_argo1))
3160 return NULL;
3161 if (_argo0) {
3162 if (_argo0 == Py_None) { _arg0 = NULL; }
3163 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3164 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnErase. Expected _wxPyControlPoint_p.");
3165 return NULL;
3166 }
3167 }
3168 if (_argo1) {
3169 if (_argo1 == Py_None) { _arg1 = NULL; }
3170 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3171 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnErase. Expected _wxDC_p.");
3172 return NULL;
3173 }
3174 }
3175 {
3176 wxPy_BEGIN_ALLOW_THREADS;
3177 wxPyControlPoint_base_OnErase(_arg0,*_arg1);
3178
3179 wxPy_END_ALLOW_THREADS;
3180 } Py_INCREF(Py_None);
3181 _resultobj = Py_None;
3182 return _resultobj;
3183 }
3184
3185 #define wxPyControlPoint_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
3186 static PyObject *_wrap_wxPyControlPoint_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
3187 PyObject * _resultobj;
3188 wxPyControlPoint * _arg0;
3189 wxDC * _arg1;
3190 PyObject * _argo0 = 0;
3191 PyObject * _argo1 = 0;
3192 char *_kwnames[] = { "self","dc", NULL };
3193
3194 self = self;
3195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnEraseContents",_kwnames,&_argo0,&_argo1))
3196 return NULL;
3197 if (_argo0) {
3198 if (_argo0 == Py_None) { _arg0 = NULL; }
3199 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3200 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnEraseContents. Expected _wxPyControlPoint_p.");
3201 return NULL;
3202 }
3203 }
3204 if (_argo1) {
3205 if (_argo1 == Py_None) { _arg1 = NULL; }
3206 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3207 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnEraseContents. Expected _wxDC_p.");
3208 return NULL;
3209 }
3210 }
3211 {
3212 wxPy_BEGIN_ALLOW_THREADS;
3213 wxPyControlPoint_base_OnEraseContents(_arg0,*_arg1);
3214
3215 wxPy_END_ALLOW_THREADS;
3216 } Py_INCREF(Py_None);
3217 _resultobj = Py_None;
3218 return _resultobj;
3219 }
3220
3221 #define wxPyControlPoint_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
3222 static PyObject *_wrap_wxPyControlPoint_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
3223 PyObject * _resultobj;
3224 wxPyControlPoint * _arg0;
3225 wxDC * _arg1;
3226 PyObject * _argo0 = 0;
3227 PyObject * _argo1 = 0;
3228 char *_kwnames[] = { "self","dc", NULL };
3229
3230 self = self;
3231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnHighlight",_kwnames,&_argo0,&_argo1))
3232 return NULL;
3233 if (_argo0) {
3234 if (_argo0 == Py_None) { _arg0 = NULL; }
3235 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3236 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnHighlight. Expected _wxPyControlPoint_p.");
3237 return NULL;
3238 }
3239 }
3240 if (_argo1) {
3241 if (_argo1 == Py_None) { _arg1 = NULL; }
3242 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3243 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnHighlight. Expected _wxDC_p.");
3244 return NULL;
3245 }
3246 }
3247 {
3248 wxPy_BEGIN_ALLOW_THREADS;
3249 wxPyControlPoint_base_OnHighlight(_arg0,*_arg1);
3250
3251 wxPy_END_ALLOW_THREADS;
3252 } Py_INCREF(Py_None);
3253 _resultobj = Py_None;
3254 return _resultobj;
3255 }
3256
3257 #define wxPyControlPoint_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3258 static PyObject *_wrap_wxPyControlPoint_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
3259 PyObject * _resultobj;
3260 wxPyControlPoint * _arg0;
3261 double _arg1;
3262 double _arg2;
3263 int _arg3 = (int ) 0;
3264 int _arg4 = (int ) 0;
3265 PyObject * _argo0 = 0;
3266 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
3267
3268 self = self;
3269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
3270 return NULL;
3271 if (_argo0) {
3272 if (_argo0 == Py_None) { _arg0 = NULL; }
3273 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3274 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnLeftClick. Expected _wxPyControlPoint_p.");
3275 return NULL;
3276 }
3277 }
3278 {
3279 wxPy_BEGIN_ALLOW_THREADS;
3280 wxPyControlPoint_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4);
3281
3282 wxPy_END_ALLOW_THREADS;
3283 } Py_INCREF(Py_None);
3284 _resultobj = Py_None;
3285 return _resultobj;
3286 }
3287
3288 #define wxPyControlPoint_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3289 static PyObject *_wrap_wxPyControlPoint_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
3290 PyObject * _resultobj;
3291 wxPyControlPoint * _arg0;
3292 double _arg1;
3293 double _arg2;
3294 int _arg3 = (int ) 0;
3295 int _arg4 = (int ) 0;
3296 PyObject * _argo0 = 0;
3297 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
3298
3299 self = self;
3300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
3301 return NULL;
3302 if (_argo0) {
3303 if (_argo0 == Py_None) { _arg0 = NULL; }
3304 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3305 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnLeftDoubleClick. Expected _wxPyControlPoint_p.");
3306 return NULL;
3307 }
3308 }
3309 {
3310 wxPy_BEGIN_ALLOW_THREADS;
3311 wxPyControlPoint_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4);
3312
3313 wxPy_END_ALLOW_THREADS;
3314 } Py_INCREF(Py_None);
3315 _resultobj = Py_None;
3316 return _resultobj;
3317 }
3318
3319 #define wxPyControlPoint_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3320 static PyObject *_wrap_wxPyControlPoint_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
3321 PyObject * _resultobj;
3322 wxPyControlPoint * _arg0;
3323 double _arg1;
3324 double _arg2;
3325 int _arg3 = (int ) 0;
3326 int _arg4 = (int ) 0;
3327 PyObject * _argo0 = 0;
3328 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
3329
3330 self = self;
3331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
3332 return NULL;
3333 if (_argo0) {
3334 if (_argo0 == Py_None) { _arg0 = NULL; }
3335 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3336 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnRightClick. Expected _wxPyControlPoint_p.");
3337 return NULL;
3338 }
3339 }
3340 {
3341 wxPy_BEGIN_ALLOW_THREADS;
3342 wxPyControlPoint_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4);
3343
3344 wxPy_END_ALLOW_THREADS;
3345 } Py_INCREF(Py_None);
3346 _resultobj = Py_None;
3347 return _resultobj;
3348 }
3349
3350 #define wxPyControlPoint_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
3351 static PyObject *_wrap_wxPyControlPoint_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3352 PyObject * _resultobj;
3353 wxPyControlPoint * _arg0;
3354 double _arg1;
3355 double _arg2;
3356 PyObject * _argo0 = 0;
3357 char *_kwnames[] = { "self","x","y", NULL };
3358
3359 self = self;
3360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyControlPoint_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2))
3361 return NULL;
3362 if (_argo0) {
3363 if (_argo0 == Py_None) { _arg0 = NULL; }
3364 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3365 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnSize. Expected _wxPyControlPoint_p.");
3366 return NULL;
3367 }
3368 }
3369 {
3370 wxPy_BEGIN_ALLOW_THREADS;
3371 wxPyControlPoint_base_OnSize(_arg0,_arg1,_arg2);
3372
3373 wxPy_END_ALLOW_THREADS;
3374 } Py_INCREF(Py_None);
3375 _resultobj = Py_None;
3376 return _resultobj;
3377 }
3378
3379 #define wxPyControlPoint_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3380 static PyObject *_wrap_wxPyControlPoint_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
3381 PyObject * _resultobj;
3382 bool _result;
3383 wxPyControlPoint * _arg0;
3384 wxDC * _arg1;
3385 double _arg2;
3386 double _arg3;
3387 double _arg4;
3388 double _arg5;
3389 bool _arg6 = (bool ) TRUE;
3390 PyObject * _argo0 = 0;
3391 PyObject * _argo1 = 0;
3392 int tempbool6 = (int) TRUE;
3393 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
3394
3395 self = self;
3396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyControlPoint_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
3397 return NULL;
3398 if (_argo0) {
3399 if (_argo0 == Py_None) { _arg0 = NULL; }
3400 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3401 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnMovePre. Expected _wxPyControlPoint_p.");
3402 return NULL;
3403 }
3404 }
3405 if (_argo1) {
3406 if (_argo1 == Py_None) { _arg1 = NULL; }
3407 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3408 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnMovePre. Expected _wxDC_p.");
3409 return NULL;
3410 }
3411 }
3412 _arg6 = (bool ) tempbool6;
3413 {
3414 wxPy_BEGIN_ALLOW_THREADS;
3415 _result = (bool )wxPyControlPoint_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
3416
3417 wxPy_END_ALLOW_THREADS;
3418 } _resultobj = Py_BuildValue("i",_result);
3419 return _resultobj;
3420 }
3421
3422 #define wxPyControlPoint_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3423 static PyObject *_wrap_wxPyControlPoint_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
3424 PyObject * _resultobj;
3425 wxPyControlPoint * _arg0;
3426 wxDC * _arg1;
3427 double _arg2;
3428 double _arg3;
3429 double _arg4;
3430 double _arg5;
3431 bool _arg6 = (bool ) TRUE;
3432 PyObject * _argo0 = 0;
3433 PyObject * _argo1 = 0;
3434 int tempbool6 = (int) TRUE;
3435 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
3436
3437 self = self;
3438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyControlPoint_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
3439 return NULL;
3440 if (_argo0) {
3441 if (_argo0 == Py_None) { _arg0 = NULL; }
3442 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3443 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnMovePost. Expected _wxPyControlPoint_p.");
3444 return NULL;
3445 }
3446 }
3447 if (_argo1) {
3448 if (_argo1 == Py_None) { _arg1 = NULL; }
3449 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3450 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnMovePost. Expected _wxDC_p.");
3451 return NULL;
3452 }
3453 }
3454 _arg6 = (bool ) tempbool6;
3455 {
3456 wxPy_BEGIN_ALLOW_THREADS;
3457 wxPyControlPoint_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
3458
3459 wxPy_END_ALLOW_THREADS;
3460 } Py_INCREF(Py_None);
3461 _resultobj = Py_None;
3462 return _resultobj;
3463 }
3464
3465 #define wxPyControlPoint_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3466 static PyObject *_wrap_wxPyControlPoint_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3467 PyObject * _resultobj;
3468 wxPyControlPoint * _arg0;
3469 bool _arg1;
3470 double _arg2;
3471 double _arg3;
3472 int _arg4 = (int ) 0;
3473 int _arg5 = (int ) 0;
3474 PyObject * _argo0 = 0;
3475 int tempbool1;
3476 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
3477
3478 self = self;
3479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyControlPoint_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
3480 return NULL;
3481 if (_argo0) {
3482 if (_argo0 == Py_None) { _arg0 = NULL; }
3483 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3484 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDragLeft. Expected _wxPyControlPoint_p.");
3485 return NULL;
3486 }
3487 }
3488 _arg1 = (bool ) tempbool1;
3489 {
3490 wxPy_BEGIN_ALLOW_THREADS;
3491 wxPyControlPoint_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
3492
3493 wxPy_END_ALLOW_THREADS;
3494 } Py_INCREF(Py_None);
3495 _resultobj = Py_None;
3496 return _resultobj;
3497 }
3498
3499 #define wxPyControlPoint_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3500 static PyObject *_wrap_wxPyControlPoint_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3501 PyObject * _resultobj;
3502 wxPyControlPoint * _arg0;
3503 double _arg1;
3504 double _arg2;
3505 int _arg3 = (int ) 0;
3506 int _arg4 = (int ) 0;
3507 PyObject * _argo0 = 0;
3508 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
3509
3510 self = self;
3511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
3512 return NULL;
3513 if (_argo0) {
3514 if (_argo0 == Py_None) { _arg0 = NULL; }
3515 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3516 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnBeginDragLeft. Expected _wxPyControlPoint_p.");
3517 return NULL;
3518 }
3519 }
3520 {
3521 wxPy_BEGIN_ALLOW_THREADS;
3522 wxPyControlPoint_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
3523
3524 wxPy_END_ALLOW_THREADS;
3525 } Py_INCREF(Py_None);
3526 _resultobj = Py_None;
3527 return _resultobj;
3528 }
3529
3530 #define wxPyControlPoint_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3531 static PyObject *_wrap_wxPyControlPoint_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3532 PyObject * _resultobj;
3533 wxPyControlPoint * _arg0;
3534 double _arg1;
3535 double _arg2;
3536 int _arg3 = (int ) 0;
3537 int _arg4 = (int ) 0;
3538 PyObject * _argo0 = 0;
3539 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
3540
3541 self = self;
3542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
3543 return NULL;
3544 if (_argo0) {
3545 if (_argo0 == Py_None) { _arg0 = NULL; }
3546 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3547 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnEndDragLeft. Expected _wxPyControlPoint_p.");
3548 return NULL;
3549 }
3550 }
3551 {
3552 wxPy_BEGIN_ALLOW_THREADS;
3553 wxPyControlPoint_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
3554
3555 wxPy_END_ALLOW_THREADS;
3556 } Py_INCREF(Py_None);
3557 _resultobj = Py_None;
3558 return _resultobj;
3559 }
3560
3561 #define wxPyControlPoint_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3562 static PyObject *_wrap_wxPyControlPoint_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3563 PyObject * _resultobj;
3564 wxPyControlPoint * _arg0;
3565 bool _arg1;
3566 double _arg2;
3567 double _arg3;
3568 int _arg4 = (int ) 0;
3569 int _arg5 = (int ) 0;
3570 PyObject * _argo0 = 0;
3571 int tempbool1;
3572 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
3573
3574 self = self;
3575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyControlPoint_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
3576 return NULL;
3577 if (_argo0) {
3578 if (_argo0 == Py_None) { _arg0 = NULL; }
3579 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3580 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDragRight. Expected _wxPyControlPoint_p.");
3581 return NULL;
3582 }
3583 }
3584 _arg1 = (bool ) tempbool1;
3585 {
3586 wxPy_BEGIN_ALLOW_THREADS;
3587 wxPyControlPoint_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
3588
3589 wxPy_END_ALLOW_THREADS;
3590 } Py_INCREF(Py_None);
3591 _resultobj = Py_None;
3592 return _resultobj;
3593 }
3594
3595 #define wxPyControlPoint_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3596 static PyObject *_wrap_wxPyControlPoint_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3597 PyObject * _resultobj;
3598 wxPyControlPoint * _arg0;
3599 double _arg1;
3600 double _arg2;
3601 int _arg3 = (int ) 0;
3602 int _arg4 = (int ) 0;
3603 PyObject * _argo0 = 0;
3604 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
3605
3606 self = self;
3607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
3608 return NULL;
3609 if (_argo0) {
3610 if (_argo0 == Py_None) { _arg0 = NULL; }
3611 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3612 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnBeginDragRight. Expected _wxPyControlPoint_p.");
3613 return NULL;
3614 }
3615 }
3616 {
3617 wxPy_BEGIN_ALLOW_THREADS;
3618 wxPyControlPoint_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
3619
3620 wxPy_END_ALLOW_THREADS;
3621 } Py_INCREF(Py_None);
3622 _resultobj = Py_None;
3623 return _resultobj;
3624 }
3625
3626 #define wxPyControlPoint_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3627 static PyObject *_wrap_wxPyControlPoint_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3628 PyObject * _resultobj;
3629 wxPyControlPoint * _arg0;
3630 double _arg1;
3631 double _arg2;
3632 int _arg3 = (int ) 0;
3633 int _arg4 = (int ) 0;
3634 PyObject * _argo0 = 0;
3635 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
3636
3637 self = self;
3638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
3639 return NULL;
3640 if (_argo0) {
3641 if (_argo0 == Py_None) { _arg0 = NULL; }
3642 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3643 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnEndDragRight. Expected _wxPyControlPoint_p.");
3644 return NULL;
3645 }
3646 }
3647 {
3648 wxPy_BEGIN_ALLOW_THREADS;
3649 wxPyControlPoint_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
3650
3651 wxPy_END_ALLOW_THREADS;
3652 } Py_INCREF(Py_None);
3653 _resultobj = Py_None;
3654 return _resultobj;
3655 }
3656
3657 #define wxPyControlPoint_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3658 static PyObject *_wrap_wxPyControlPoint_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
3659 PyObject * _resultobj;
3660 wxPyControlPoint * _arg0;
3661 wxDC * _arg1;
3662 double _arg2;
3663 double _arg3;
3664 double _arg4;
3665 double _arg5;
3666 PyObject * _argo0 = 0;
3667 PyObject * _argo1 = 0;
3668 char *_kwnames[] = { "self","dc","x","y","w","h", NULL };
3669
3670 self = self;
3671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyControlPoint_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
3672 return NULL;
3673 if (_argo0) {
3674 if (_argo0 == Py_None) { _arg0 = NULL; }
3675 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3676 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDrawOutline. Expected _wxPyControlPoint_p.");
3677 return NULL;
3678 }
3679 }
3680 if (_argo1) {
3681 if (_argo1 == Py_None) { _arg1 = NULL; }
3682 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3683 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnDrawOutline. Expected _wxDC_p.");
3684 return NULL;
3685 }
3686 }
3687 {
3688 wxPy_BEGIN_ALLOW_THREADS;
3689 wxPyControlPoint_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5);
3690
3691 wxPy_END_ALLOW_THREADS;
3692 } Py_INCREF(Py_None);
3693 _resultobj = Py_None;
3694 return _resultobj;
3695 }
3696
3697 #define wxPyControlPoint_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
3698 static PyObject *_wrap_wxPyControlPoint_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
3699 PyObject * _resultobj;
3700 wxPyControlPoint * _arg0;
3701 wxDC * _arg1;
3702 PyObject * _argo0 = 0;
3703 PyObject * _argo1 = 0;
3704 char *_kwnames[] = { "self","dc", NULL };
3705
3706 self = self;
3707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1))
3708 return NULL;
3709 if (_argo0) {
3710 if (_argo0 == Py_None) { _arg0 = NULL; }
3711 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3712 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDrawControlPoints. Expected _wxPyControlPoint_p.");
3713 return NULL;
3714 }
3715 }
3716 if (_argo1) {
3717 if (_argo1 == Py_None) { _arg1 = NULL; }
3718 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3719 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnDrawControlPoints. Expected _wxDC_p.");
3720 return NULL;
3721 }
3722 }
3723 {
3724 wxPy_BEGIN_ALLOW_THREADS;
3725 wxPyControlPoint_base_OnDrawControlPoints(_arg0,*_arg1);
3726
3727 wxPy_END_ALLOW_THREADS;
3728 } Py_INCREF(Py_None);
3729 _resultobj = Py_None;
3730 return _resultobj;
3731 }
3732
3733 #define wxPyControlPoint_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
3734 static PyObject *_wrap_wxPyControlPoint_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
3735 PyObject * _resultobj;
3736 wxPyControlPoint * _arg0;
3737 wxDC * _arg1;
3738 PyObject * _argo0 = 0;
3739 PyObject * _argo1 = 0;
3740 char *_kwnames[] = { "self","dc", NULL };
3741
3742 self = self;
3743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1))
3744 return NULL;
3745 if (_argo0) {
3746 if (_argo0 == Py_None) { _arg0 = NULL; }
3747 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3748 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnEraseControlPoints. Expected _wxPyControlPoint_p.");
3749 return NULL;
3750 }
3751 }
3752 if (_argo1) {
3753 if (_argo1 == Py_None) { _arg1 = NULL; }
3754 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3755 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnEraseControlPoints. Expected _wxDC_p.");
3756 return NULL;
3757 }
3758 }
3759 {
3760 wxPy_BEGIN_ALLOW_THREADS;
3761 wxPyControlPoint_base_OnEraseControlPoints(_arg0,*_arg1);
3762
3763 wxPy_END_ALLOW_THREADS;
3764 } Py_INCREF(Py_None);
3765 _resultobj = Py_None;
3766 return _resultobj;
3767 }
3768
3769 #define wxPyControlPoint_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
3770 static PyObject *_wrap_wxPyControlPoint_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
3771 PyObject * _resultobj;
3772 wxPyControlPoint * _arg0;
3773 wxDC * _arg1;
3774 bool _arg2 = (bool ) TRUE;
3775 PyObject * _argo0 = 0;
3776 PyObject * _argo1 = 0;
3777 int tempbool2 = (int) TRUE;
3778 char *_kwnames[] = { "self","dc","moveControlPoints", NULL };
3779
3780 self = self;
3781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyControlPoint_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2))
3782 return NULL;
3783 if (_argo0) {
3784 if (_argo0 == Py_None) { _arg0 = NULL; }
3785 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3786 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnMoveLink. Expected _wxPyControlPoint_p.");
3787 return NULL;
3788 }
3789 }
3790 if (_argo1) {
3791 if (_argo1 == Py_None) { _arg1 = NULL; }
3792 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3793 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnMoveLink. Expected _wxDC_p.");
3794 return NULL;
3795 }
3796 }
3797 _arg2 = (bool ) tempbool2;
3798 {
3799 wxPy_BEGIN_ALLOW_THREADS;
3800 wxPyControlPoint_base_OnMoveLink(_arg0,*_arg1,_arg2);
3801
3802 wxPy_END_ALLOW_THREADS;
3803 } Py_INCREF(Py_None);
3804 _resultobj = Py_None;
3805 return _resultobj;
3806 }
3807
3808 #define wxPyControlPoint_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3809 static PyObject *_wrap_wxPyControlPoint_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3810 PyObject * _resultobj;
3811 wxPyControlPoint * _arg0;
3812 wxPyControlPoint * _arg1;
3813 bool _arg2;
3814 double _arg3;
3815 double _arg4;
3816 int _arg5 = (int ) 0;
3817 int _arg6 = (int ) 0;
3818 PyObject * _argo0 = 0;
3819 PyObject * _argo1 = 0;
3820 int tempbool2;
3821 char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL };
3822
3823 self = self;
3824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyControlPoint_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6))
3825 return NULL;
3826 if (_argo0) {
3827 if (_argo0 == Py_None) { _arg0 = NULL; }
3828 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3829 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
3830 return NULL;
3831 }
3832 }
3833 if (_argo1) {
3834 if (_argo1 == Py_None) { _arg1 = NULL; }
3835 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
3836 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
3837 return NULL;
3838 }
3839 }
3840 _arg2 = (bool ) tempbool2;
3841 {
3842 wxPy_BEGIN_ALLOW_THREADS;
3843 wxPyControlPoint_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
3844
3845 wxPy_END_ALLOW_THREADS;
3846 } Py_INCREF(Py_None);
3847 _resultobj = Py_None;
3848 return _resultobj;
3849 }
3850
3851 #define wxPyControlPoint_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3852 static PyObject *_wrap_wxPyControlPoint_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3853 PyObject * _resultobj;
3854 wxPyControlPoint * _arg0;
3855 wxPyControlPoint * _arg1;
3856 double _arg2;
3857 double _arg3;
3858 int _arg4 = (int ) 0;
3859 int _arg5 = (int ) 0;
3860 PyObject * _argo0 = 0;
3861 PyObject * _argo1 = 0;
3862 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
3863
3864 self = self;
3865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyControlPoint_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
3866 return NULL;
3867 if (_argo0) {
3868 if (_argo0 == Py_None) { _arg0 = NULL; }
3869 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3870 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
3871 return NULL;
3872 }
3873 }
3874 if (_argo1) {
3875 if (_argo1 == Py_None) { _arg1 = NULL; }
3876 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
3877 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
3878 return NULL;
3879 }
3880 }
3881 {
3882 wxPy_BEGIN_ALLOW_THREADS;
3883 wxPyControlPoint_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
3884
3885 wxPy_END_ALLOW_THREADS;
3886 } Py_INCREF(Py_None);
3887 _resultobj = Py_None;
3888 return _resultobj;
3889 }
3890
3891 #define wxPyControlPoint_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3892 static PyObject *_wrap_wxPyControlPoint_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3893 PyObject * _resultobj;
3894 wxPyControlPoint * _arg0;
3895 wxPyControlPoint * _arg1;
3896 double _arg2;
3897 double _arg3;
3898 int _arg4 = (int ) 0;
3899 int _arg5 = (int ) 0;
3900 PyObject * _argo0 = 0;
3901 PyObject * _argo1 = 0;
3902 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
3903
3904 self = self;
3905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyControlPoint_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
3906 return NULL;
3907 if (_argo0) {
3908 if (_argo0 == Py_None) { _arg0 = NULL; }
3909 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3910 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
3911 return NULL;
3912 }
3913 }
3914 if (_argo1) {
3915 if (_argo1 == Py_None) { _arg1 = NULL; }
3916 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
3917 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
3918 return NULL;
3919 }
3920 }
3921 {
3922 wxPy_BEGIN_ALLOW_THREADS;
3923 wxPyControlPoint_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
3924
3925 wxPy_END_ALLOW_THREADS;
3926 } Py_INCREF(Py_None);
3927 _resultobj = Py_None;
3928 return _resultobj;
3929 }
3930
3931 #define wxPyControlPoint_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
3932 static PyObject *_wrap_wxPyControlPoint_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3933 PyObject * _resultobj;
3934 wxPyControlPoint * _arg0;
3935 double _arg1;
3936 double _arg2;
3937 PyObject * _argo0 = 0;
3938 char *_kwnames[] = { "self","w","h", NULL };
3939
3940 self = self;
3941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyControlPoint_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2))
3942 return NULL;
3943 if (_argo0) {
3944 if (_argo0 == Py_None) { _arg0 = NULL; }
3945 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3946 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnBeginSize. Expected _wxPyControlPoint_p.");
3947 return NULL;
3948 }
3949 }
3950 {
3951 wxPy_BEGIN_ALLOW_THREADS;
3952 wxPyControlPoint_base_OnBeginSize(_arg0,_arg1,_arg2);
3953
3954 wxPy_END_ALLOW_THREADS;
3955 } Py_INCREF(Py_None);
3956 _resultobj = Py_None;
3957 return _resultobj;
3958 }
3959
3960 #define wxPyControlPoint_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
3961 static PyObject *_wrap_wxPyControlPoint_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3962 PyObject * _resultobj;
3963 wxPyControlPoint * _arg0;
3964 double _arg1;
3965 double _arg2;
3966 PyObject * _argo0 = 0;
3967 char *_kwnames[] = { "self","w","h", NULL };
3968
3969 self = self;
3970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyControlPoint_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2))
3971 return NULL;
3972 if (_argo0) {
3973 if (_argo0 == Py_None) { _arg0 = NULL; }
3974 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3975 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnEndSize. Expected _wxPyControlPoint_p.");
3976 return NULL;
3977 }
3978 }
3979 {
3980 wxPy_BEGIN_ALLOW_THREADS;
3981 wxPyControlPoint_base_OnEndSize(_arg0,_arg1,_arg2);
3982
3983 wxPy_END_ALLOW_THREADS;
3984 } Py_INCREF(Py_None);
3985 _resultobj = Py_None;
3986 return _resultobj;
3987 }
3988
3989 static void *SwigwxPyBitmapShapeTowxPyRectangleShape(void *ptr) {
3990 wxPyBitmapShape *src;
3991 wxPyRectangleShape *dest;
3992 src = (wxPyBitmapShape *) ptr;
3993 dest = (wxPyRectangleShape *) src;
3994 return (void *) dest;
3995 }
3996
3997 static void *SwigwxPyBitmapShapeTowxPyShape(void *ptr) {
3998 wxPyBitmapShape *src;
3999 wxPyShape *dest;
4000 src = (wxPyBitmapShape *) ptr;
4001 dest = (wxPyShape *) src;
4002 return (void *) dest;
4003 }
4004
4005 static void *SwigwxPyBitmapShapeTowxPyShapeEvtHandler(void *ptr) {
4006 wxPyBitmapShape *src;
4007 wxPyShapeEvtHandler *dest;
4008 src = (wxPyBitmapShape *) ptr;
4009 dest = (wxPyShapeEvtHandler *) src;
4010 return (void *) dest;
4011 }
4012
4013 #define new_wxPyBitmapShape() (new wxPyBitmapShape())
4014 static PyObject *_wrap_new_wxPyBitmapShape(PyObject *self, PyObject *args, PyObject *kwargs) {
4015 PyObject * _resultobj;
4016 wxPyBitmapShape * _result;
4017 char *_kwnames[] = { NULL };
4018 char _ptemp[128];
4019
4020 self = self;
4021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyBitmapShape",_kwnames))
4022 return NULL;
4023 {
4024 wxPy_BEGIN_ALLOW_THREADS;
4025 _result = (wxPyBitmapShape *)new_wxPyBitmapShape();
4026
4027 wxPy_END_ALLOW_THREADS;
4028 } if (_result) {
4029 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyBitmapShape_p");
4030 _resultobj = Py_BuildValue("s",_ptemp);
4031 } else {
4032 Py_INCREF(Py_None);
4033 _resultobj = Py_None;
4034 }
4035 return _resultobj;
4036 }
4037
4038 #define wxPyBitmapShape__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
4039 static PyObject *_wrap_wxPyBitmapShape__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
4040 PyObject * _resultobj;
4041 wxPyBitmapShape * _arg0;
4042 PyObject * _arg1;
4043 PyObject * _arg2;
4044 PyObject * _argo0 = 0;
4045 PyObject * _obj1 = 0;
4046 PyObject * _obj2 = 0;
4047 char *_kwnames[] = { "self","self","_class", NULL };
4048
4049 self = self;
4050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyBitmapShape__setSelf",_kwnames,&_argo0,&_obj1,&_obj2))
4051 return NULL;
4052 if (_argo0) {
4053 if (_argo0 == Py_None) { _arg0 = NULL; }
4054 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4055 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape__setSelf. Expected _wxPyBitmapShape_p.");
4056 return NULL;
4057 }
4058 }
4059 {
4060 _arg1 = _obj1;
4061 }
4062 {
4063 _arg2 = _obj2;
4064 }
4065 {
4066 wxPy_BEGIN_ALLOW_THREADS;
4067 wxPyBitmapShape__setSelf(_arg0,_arg1,_arg2);
4068
4069 wxPy_END_ALLOW_THREADS;
4070 } Py_INCREF(Py_None);
4071 _resultobj = Py_None;
4072 return _resultobj;
4073 }
4074
4075 #define wxPyBitmapShape_GetBitmap(_swigobj) (_swigobj->GetBitmap())
4076 static PyObject *_wrap_wxPyBitmapShape_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4077 PyObject * _resultobj;
4078 wxBitmap * _result;
4079 wxPyBitmapShape * _arg0;
4080 PyObject * _argo0 = 0;
4081 char *_kwnames[] = { "self", NULL };
4082 char _ptemp[128];
4083
4084 self = self;
4085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyBitmapShape_GetBitmap",_kwnames,&_argo0))
4086 return NULL;
4087 if (_argo0) {
4088 if (_argo0 == Py_None) { _arg0 = NULL; }
4089 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4090 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_GetBitmap. Expected _wxPyBitmapShape_p.");
4091 return NULL;
4092 }
4093 }
4094 {
4095 wxPy_BEGIN_ALLOW_THREADS;
4096 wxBitmap & _result_ref = wxPyBitmapShape_GetBitmap(_arg0);
4097 _result = (wxBitmap *) &_result_ref;
4098
4099 wxPy_END_ALLOW_THREADS;
4100 } if (_result) {
4101 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
4102 _resultobj = Py_BuildValue("s",_ptemp);
4103 } else {
4104 Py_INCREF(Py_None);
4105 _resultobj = Py_None;
4106 }
4107 return _resultobj;
4108 }
4109
4110 #define wxPyBitmapShape_GetFilename(_swigobj) (_swigobj->GetFilename())
4111 static PyObject *_wrap_wxPyBitmapShape_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
4112 PyObject * _resultobj;
4113 wxString * _result;
4114 wxPyBitmapShape * _arg0;
4115 PyObject * _argo0 = 0;
4116 char *_kwnames[] = { "self", NULL };
4117
4118 self = self;
4119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyBitmapShape_GetFilename",_kwnames,&_argo0))
4120 return NULL;
4121 if (_argo0) {
4122 if (_argo0 == Py_None) { _arg0 = NULL; }
4123 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4124 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_GetFilename. Expected _wxPyBitmapShape_p.");
4125 return NULL;
4126 }
4127 }
4128 {
4129 wxPy_BEGIN_ALLOW_THREADS;
4130 _result = new wxString (wxPyBitmapShape_GetFilename(_arg0));
4131
4132 wxPy_END_ALLOW_THREADS;
4133 }{
4134 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4135 }
4136 {
4137 delete _result;
4138 }
4139 return _resultobj;
4140 }
4141
4142 #define wxPyBitmapShape_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
4143 static PyObject *_wrap_wxPyBitmapShape_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4144 PyObject * _resultobj;
4145 wxPyBitmapShape * _arg0;
4146 wxBitmap * _arg1;
4147 PyObject * _argo0 = 0;
4148 PyObject * _argo1 = 0;
4149 char *_kwnames[] = { "self","bitmap", NULL };
4150
4151 self = self;
4152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_SetBitmap",_kwnames,&_argo0,&_argo1))
4153 return NULL;
4154 if (_argo0) {
4155 if (_argo0 == Py_None) { _arg0 = NULL; }
4156 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4157 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_SetBitmap. Expected _wxPyBitmapShape_p.");
4158 return NULL;
4159 }
4160 }
4161 if (_argo1) {
4162 if (_argo1 == Py_None) { _arg1 = NULL; }
4163 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
4164 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_SetBitmap. Expected _wxBitmap_p.");
4165 return NULL;
4166 }
4167 }
4168 {
4169 wxPy_BEGIN_ALLOW_THREADS;
4170 wxPyBitmapShape_SetBitmap(_arg0,*_arg1);
4171
4172 wxPy_END_ALLOW_THREADS;
4173 } Py_INCREF(Py_None);
4174 _resultobj = Py_None;
4175 return _resultobj;
4176 }
4177
4178 #define wxPyBitmapShape_SetFilename(_swigobj,_swigarg0) (_swigobj->SetFilename(_swigarg0))
4179 static PyObject *_wrap_wxPyBitmapShape_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
4180 PyObject * _resultobj;
4181 wxPyBitmapShape * _arg0;
4182 wxString * _arg1;
4183 PyObject * _argo0 = 0;
4184 PyObject * _obj1 = 0;
4185 char *_kwnames[] = { "self","filename", NULL };
4186
4187 self = self;
4188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_SetFilename",_kwnames,&_argo0,&_obj1))
4189 return NULL;
4190 if (_argo0) {
4191 if (_argo0 == Py_None) { _arg0 = NULL; }
4192 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4193 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_SetFilename. Expected _wxPyBitmapShape_p.");
4194 return NULL;
4195 }
4196 }
4197 {
4198 #if PYTHON_API_VERSION >= 1009
4199 char* tmpPtr; int tmpSize;
4200 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
4201 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
4202 return NULL;
4203 }
4204 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
4205 return NULL;
4206 _arg1 = new wxString(tmpPtr, tmpSize);
4207 #else
4208 if (!PyString_Check(_obj1)) {
4209 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4210 return NULL;
4211 }
4212 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
4213 #endif
4214 }
4215 {
4216 wxPy_BEGIN_ALLOW_THREADS;
4217 wxPyBitmapShape_SetFilename(_arg0,*_arg1);
4218
4219 wxPy_END_ALLOW_THREADS;
4220 } Py_INCREF(Py_None);
4221 _resultobj = Py_None;
4222 {
4223 if (_obj1)
4224 delete _arg1;
4225 }
4226 return _resultobj;
4227 }
4228
4229 #define wxPyBitmapShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
4230 static PyObject *_wrap_wxPyBitmapShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
4231 PyObject * _resultobj;
4232 wxPyBitmapShape * _arg0;
4233 PyObject * _argo0 = 0;
4234 char *_kwnames[] = { "self", NULL };
4235
4236 self = self;
4237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyBitmapShape_base_OnDelete",_kwnames,&_argo0))
4238 return NULL;
4239 if (_argo0) {
4240 if (_argo0 == Py_None) { _arg0 = NULL; }
4241 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4242 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDelete. Expected _wxPyBitmapShape_p.");
4243 return NULL;
4244 }
4245 }
4246 {
4247 wxPy_BEGIN_ALLOW_THREADS;
4248 wxPyBitmapShape_base_OnDelete(_arg0);
4249
4250 wxPy_END_ALLOW_THREADS;
4251 } Py_INCREF(Py_None);
4252 _resultobj = Py_None;
4253 return _resultobj;
4254 }
4255
4256 #define wxPyBitmapShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
4257 static PyObject *_wrap_wxPyBitmapShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
4258 PyObject * _resultobj;
4259 wxPyBitmapShape * _arg0;
4260 wxDC * _arg1;
4261 PyObject * _argo0 = 0;
4262 PyObject * _argo1 = 0;
4263 char *_kwnames[] = { "self","dc", NULL };
4264
4265 self = self;
4266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnDraw",_kwnames,&_argo0,&_argo1))
4267 return NULL;
4268 if (_argo0) {
4269 if (_argo0 == Py_None) { _arg0 = NULL; }
4270 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4271 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDraw. Expected _wxPyBitmapShape_p.");
4272 return NULL;
4273 }
4274 }
4275 if (_argo1) {
4276 if (_argo1 == Py_None) { _arg1 = NULL; }
4277 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4278 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnDraw. Expected _wxDC_p.");
4279 return NULL;
4280 }
4281 }
4282 {
4283 wxPy_BEGIN_ALLOW_THREADS;
4284 wxPyBitmapShape_base_OnDraw(_arg0,*_arg1);
4285
4286 wxPy_END_ALLOW_THREADS;
4287 } Py_INCREF(Py_None);
4288 _resultobj = Py_None;
4289 return _resultobj;
4290 }
4291
4292 #define wxPyBitmapShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
4293 static PyObject *_wrap_wxPyBitmapShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
4294 PyObject * _resultobj;
4295 wxPyBitmapShape * _arg0;
4296 wxDC * _arg1;
4297 PyObject * _argo0 = 0;
4298 PyObject * _argo1 = 0;
4299 char *_kwnames[] = { "self","dc", NULL };
4300
4301 self = self;
4302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1))
4303 return NULL;
4304 if (_argo0) {
4305 if (_argo0 == Py_None) { _arg0 = NULL; }
4306 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4307 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDrawContents. Expected _wxPyBitmapShape_p.");
4308 return NULL;
4309 }
4310 }
4311 if (_argo1) {
4312 if (_argo1 == Py_None) { _arg1 = NULL; }
4313 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4314 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnDrawContents. Expected _wxDC_p.");
4315 return NULL;
4316 }
4317 }
4318 {
4319 wxPy_BEGIN_ALLOW_THREADS;
4320 wxPyBitmapShape_base_OnDrawContents(_arg0,*_arg1);
4321
4322 wxPy_END_ALLOW_THREADS;
4323 } Py_INCREF(Py_None);
4324 _resultobj = Py_None;
4325 return _resultobj;
4326 }
4327
4328 #define wxPyBitmapShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
4329 static PyObject *_wrap_wxPyBitmapShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
4330 PyObject * _resultobj;
4331 wxPyBitmapShape * _arg0;
4332 wxDC * _arg1;
4333 bool _arg2 = (bool ) FALSE;
4334 PyObject * _argo0 = 0;
4335 PyObject * _argo1 = 0;
4336 int tempbool2 = (int) FALSE;
4337 char *_kwnames[] = { "self","dc","erase", NULL };
4338
4339 self = self;
4340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyBitmapShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2))
4341 return NULL;
4342 if (_argo0) {
4343 if (_argo0 == Py_None) { _arg0 = NULL; }
4344 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4345 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDrawBranches. Expected _wxPyBitmapShape_p.");
4346 return NULL;
4347 }
4348 }
4349 if (_argo1) {
4350 if (_argo1 == Py_None) { _arg1 = NULL; }
4351 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4352 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnDrawBranches. Expected _wxDC_p.");
4353 return NULL;
4354 }
4355 }
4356 _arg2 = (bool ) tempbool2;
4357 {
4358 wxPy_BEGIN_ALLOW_THREADS;
4359 wxPyBitmapShape_base_OnDrawBranches(_arg0,*_arg1,_arg2);
4360
4361 wxPy_END_ALLOW_THREADS;
4362 } Py_INCREF(Py_None);
4363 _resultobj = Py_None;
4364 return _resultobj;
4365 }
4366
4367 #define wxPyBitmapShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
4368 static PyObject *_wrap_wxPyBitmapShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
4369 PyObject * _resultobj;
4370 wxPyBitmapShape * _arg0;
4371 wxDC * _arg1;
4372 PyObject * _argo0 = 0;
4373 PyObject * _argo1 = 0;
4374 char *_kwnames[] = { "self","dc", NULL };
4375
4376 self = self;
4377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1))
4378 return NULL;
4379 if (_argo0) {
4380 if (_argo0 == Py_None) { _arg0 = NULL; }
4381 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4382 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnMoveLinks. Expected _wxPyBitmapShape_p.");
4383 return NULL;
4384 }
4385 }
4386 if (_argo1) {
4387 if (_argo1 == Py_None) { _arg1 = NULL; }
4388 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4389 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnMoveLinks. Expected _wxDC_p.");
4390 return NULL;
4391 }
4392 }
4393 {
4394 wxPy_BEGIN_ALLOW_THREADS;
4395 wxPyBitmapShape_base_OnMoveLinks(_arg0,*_arg1);
4396
4397 wxPy_END_ALLOW_THREADS;
4398 } Py_INCREF(Py_None);
4399 _resultobj = Py_None;
4400 return _resultobj;
4401 }
4402
4403 #define wxPyBitmapShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
4404 static PyObject *_wrap_wxPyBitmapShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
4405 PyObject * _resultobj;
4406 wxPyBitmapShape * _arg0;
4407 wxDC * _arg1;
4408 PyObject * _argo0 = 0;
4409 PyObject * _argo1 = 0;
4410 char *_kwnames[] = { "self","dc", NULL };
4411
4412 self = self;
4413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnErase",_kwnames,&_argo0,&_argo1))
4414 return NULL;
4415 if (_argo0) {
4416 if (_argo0 == Py_None) { _arg0 = NULL; }
4417 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4418 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnErase. Expected _wxPyBitmapShape_p.");
4419 return NULL;
4420 }
4421 }
4422 if (_argo1) {
4423 if (_argo1 == Py_None) { _arg1 = NULL; }
4424 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4425 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnErase. Expected _wxDC_p.");
4426 return NULL;
4427 }
4428 }
4429 {
4430 wxPy_BEGIN_ALLOW_THREADS;
4431 wxPyBitmapShape_base_OnErase(_arg0,*_arg1);
4432
4433 wxPy_END_ALLOW_THREADS;
4434 } Py_INCREF(Py_None);
4435 _resultobj = Py_None;
4436 return _resultobj;
4437 }
4438
4439 #define wxPyBitmapShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
4440 static PyObject *_wrap_wxPyBitmapShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
4441 PyObject * _resultobj;
4442 wxPyBitmapShape * _arg0;
4443 wxDC * _arg1;
4444 PyObject * _argo0 = 0;
4445 PyObject * _argo1 = 0;
4446 char *_kwnames[] = { "self","dc", NULL };
4447
4448 self = self;
4449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1))
4450 return NULL;
4451 if (_argo0) {
4452 if (_argo0 == Py_None) { _arg0 = NULL; }
4453 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4454 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnEraseContents. Expected _wxPyBitmapShape_p.");
4455 return NULL;
4456 }
4457 }
4458 if (_argo1) {
4459 if (_argo1 == Py_None) { _arg1 = NULL; }
4460 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4461 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnEraseContents. Expected _wxDC_p.");
4462 return NULL;
4463 }
4464 }
4465 {
4466 wxPy_BEGIN_ALLOW_THREADS;
4467 wxPyBitmapShape_base_OnEraseContents(_arg0,*_arg1);
4468
4469 wxPy_END_ALLOW_THREADS;
4470 } Py_INCREF(Py_None);
4471 _resultobj = Py_None;
4472 return _resultobj;
4473 }
4474
4475 #define wxPyBitmapShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
4476 static PyObject *_wrap_wxPyBitmapShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
4477 PyObject * _resultobj;
4478 wxPyBitmapShape * _arg0;
4479 wxDC * _arg1;
4480 PyObject * _argo0 = 0;
4481 PyObject * _argo1 = 0;
4482 char *_kwnames[] = { "self","dc", NULL };
4483
4484 self = self;
4485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnHighlight",_kwnames,&_argo0,&_argo1))
4486 return NULL;
4487 if (_argo0) {
4488 if (_argo0 == Py_None) { _arg0 = NULL; }
4489 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4490 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnHighlight. Expected _wxPyBitmapShape_p.");
4491 return NULL;
4492 }
4493 }
4494 if (_argo1) {
4495 if (_argo1 == Py_None) { _arg1 = NULL; }
4496 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4497 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnHighlight. Expected _wxDC_p.");
4498 return NULL;
4499 }
4500 }
4501 {
4502 wxPy_BEGIN_ALLOW_THREADS;
4503 wxPyBitmapShape_base_OnHighlight(_arg0,*_arg1);
4504
4505 wxPy_END_ALLOW_THREADS;
4506 } Py_INCREF(Py_None);
4507 _resultobj = Py_None;
4508 return _resultobj;
4509 }
4510
4511 #define wxPyBitmapShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4512 static PyObject *_wrap_wxPyBitmapShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
4513 PyObject * _resultobj;
4514 wxPyBitmapShape * _arg0;
4515 double _arg1;
4516 double _arg2;
4517 int _arg3 = (int ) 0;
4518 int _arg4 = (int ) 0;
4519 PyObject * _argo0 = 0;
4520 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
4521
4522 self = self;
4523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
4524 return NULL;
4525 if (_argo0) {
4526 if (_argo0 == Py_None) { _arg0 = NULL; }
4527 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4528 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnLeftClick. Expected _wxPyBitmapShape_p.");
4529 return NULL;
4530 }
4531 }
4532 {
4533 wxPy_BEGIN_ALLOW_THREADS;
4534 wxPyBitmapShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4);
4535
4536 wxPy_END_ALLOW_THREADS;
4537 } Py_INCREF(Py_None);
4538 _resultobj = Py_None;
4539 return _resultobj;
4540 }
4541
4542 #define wxPyBitmapShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4543 static PyObject *_wrap_wxPyBitmapShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
4544 PyObject * _resultobj;
4545 wxPyBitmapShape * _arg0;
4546 double _arg1;
4547 double _arg2;
4548 int _arg3 = (int ) 0;
4549 int _arg4 = (int ) 0;
4550 PyObject * _argo0 = 0;
4551 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
4552
4553 self = self;
4554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
4555 return NULL;
4556 if (_argo0) {
4557 if (_argo0 == Py_None) { _arg0 = NULL; }
4558 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4559 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnLeftDoubleClick. Expected _wxPyBitmapShape_p.");
4560 return NULL;
4561 }
4562 }
4563 {
4564 wxPy_BEGIN_ALLOW_THREADS;
4565 wxPyBitmapShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4);
4566
4567 wxPy_END_ALLOW_THREADS;
4568 } Py_INCREF(Py_None);
4569 _resultobj = Py_None;
4570 return _resultobj;
4571 }
4572
4573 #define wxPyBitmapShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4574 static PyObject *_wrap_wxPyBitmapShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
4575 PyObject * _resultobj;
4576 wxPyBitmapShape * _arg0;
4577 double _arg1;
4578 double _arg2;
4579 int _arg3 = (int ) 0;
4580 int _arg4 = (int ) 0;
4581 PyObject * _argo0 = 0;
4582 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
4583
4584 self = self;
4585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
4586 return NULL;
4587 if (_argo0) {
4588 if (_argo0 == Py_None) { _arg0 = NULL; }
4589 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4590 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnRightClick. Expected _wxPyBitmapShape_p.");
4591 return NULL;
4592 }
4593 }
4594 {
4595 wxPy_BEGIN_ALLOW_THREADS;
4596 wxPyBitmapShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4);
4597
4598 wxPy_END_ALLOW_THREADS;
4599 } Py_INCREF(Py_None);
4600 _resultobj = Py_None;
4601 return _resultobj;
4602 }
4603
4604 #define wxPyBitmapShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
4605 static PyObject *_wrap_wxPyBitmapShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4606 PyObject * _resultobj;
4607 wxPyBitmapShape * _arg0;
4608 double _arg1;
4609 double _arg2;
4610 PyObject * _argo0 = 0;
4611 char *_kwnames[] = { "self","x","y", NULL };
4612
4613 self = self;
4614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyBitmapShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2))
4615 return NULL;
4616 if (_argo0) {
4617 if (_argo0 == Py_None) { _arg0 = NULL; }
4618 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4619 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnSize. Expected _wxPyBitmapShape_p.");
4620 return NULL;
4621 }
4622 }
4623 {
4624 wxPy_BEGIN_ALLOW_THREADS;
4625 wxPyBitmapShape_base_OnSize(_arg0,_arg1,_arg2);
4626
4627 wxPy_END_ALLOW_THREADS;
4628 } Py_INCREF(Py_None);
4629 _resultobj = Py_None;
4630 return _resultobj;
4631 }
4632
4633 #define wxPyBitmapShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4634 static PyObject *_wrap_wxPyBitmapShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
4635 PyObject * _resultobj;
4636 bool _result;
4637 wxPyBitmapShape * _arg0;
4638 wxDC * _arg1;
4639 double _arg2;
4640 double _arg3;
4641 double _arg4;
4642 double _arg5;
4643 bool _arg6 = (bool ) TRUE;
4644 PyObject * _argo0 = 0;
4645 PyObject * _argo1 = 0;
4646 int tempbool6 = (int) TRUE;
4647 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
4648
4649 self = self;
4650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyBitmapShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
4651 return NULL;
4652 if (_argo0) {
4653 if (_argo0 == Py_None) { _arg0 = NULL; }
4654 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4655 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnMovePre. Expected _wxPyBitmapShape_p.");
4656 return NULL;
4657 }
4658 }
4659 if (_argo1) {
4660 if (_argo1 == Py_None) { _arg1 = NULL; }
4661 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4662 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnMovePre. Expected _wxDC_p.");
4663 return NULL;
4664 }
4665 }
4666 _arg6 = (bool ) tempbool6;
4667 {
4668 wxPy_BEGIN_ALLOW_THREADS;
4669 _result = (bool )wxPyBitmapShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
4670
4671 wxPy_END_ALLOW_THREADS;
4672 } _resultobj = Py_BuildValue("i",_result);
4673 return _resultobj;
4674 }
4675
4676 #define wxPyBitmapShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4677 static PyObject *_wrap_wxPyBitmapShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
4678 PyObject * _resultobj;
4679 wxPyBitmapShape * _arg0;
4680 wxDC * _arg1;
4681 double _arg2;
4682 double _arg3;
4683 double _arg4;
4684 double _arg5;
4685 bool _arg6 = (bool ) TRUE;
4686 PyObject * _argo0 = 0;
4687 PyObject * _argo1 = 0;
4688 int tempbool6 = (int) TRUE;
4689 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
4690
4691 self = self;
4692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyBitmapShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
4693 return NULL;
4694 if (_argo0) {
4695 if (_argo0 == Py_None) { _arg0 = NULL; }
4696 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4697 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnMovePost. Expected _wxPyBitmapShape_p.");
4698 return NULL;
4699 }
4700 }
4701 if (_argo1) {
4702 if (_argo1 == Py_None) { _arg1 = NULL; }
4703 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4704 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnMovePost. Expected _wxDC_p.");
4705 return NULL;
4706 }
4707 }
4708 _arg6 = (bool ) tempbool6;
4709 {
4710 wxPy_BEGIN_ALLOW_THREADS;
4711 wxPyBitmapShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
4712
4713 wxPy_END_ALLOW_THREADS;
4714 } Py_INCREF(Py_None);
4715 _resultobj = Py_None;
4716 return _resultobj;
4717 }
4718
4719 #define wxPyBitmapShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4720 static PyObject *_wrap_wxPyBitmapShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
4721 PyObject * _resultobj;
4722 wxPyBitmapShape * _arg0;
4723 bool _arg1;
4724 double _arg2;
4725 double _arg3;
4726 int _arg4 = (int ) 0;
4727 int _arg5 = (int ) 0;
4728 PyObject * _argo0 = 0;
4729 int tempbool1;
4730 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
4731
4732 self = self;
4733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyBitmapShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
4734 return NULL;
4735 if (_argo0) {
4736 if (_argo0 == Py_None) { _arg0 = NULL; }
4737 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4738 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDragLeft. Expected _wxPyBitmapShape_p.");
4739 return NULL;
4740 }
4741 }
4742 _arg1 = (bool ) tempbool1;
4743 {
4744 wxPy_BEGIN_ALLOW_THREADS;
4745 wxPyBitmapShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
4746
4747 wxPy_END_ALLOW_THREADS;
4748 } Py_INCREF(Py_None);
4749 _resultobj = Py_None;
4750 return _resultobj;
4751 }
4752
4753 #define wxPyBitmapShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4754 static PyObject *_wrap_wxPyBitmapShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
4755 PyObject * _resultobj;
4756 wxPyBitmapShape * _arg0;
4757 double _arg1;
4758 double _arg2;
4759 int _arg3 = (int ) 0;
4760 int _arg4 = (int ) 0;
4761 PyObject * _argo0 = 0;
4762 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
4763
4764 self = self;
4765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
4766 return NULL;
4767 if (_argo0) {
4768 if (_argo0 == Py_None) { _arg0 = NULL; }
4769 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4770 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnBeginDragLeft. Expected _wxPyBitmapShape_p.");
4771 return NULL;
4772 }
4773 }
4774 {
4775 wxPy_BEGIN_ALLOW_THREADS;
4776 wxPyBitmapShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
4777
4778 wxPy_END_ALLOW_THREADS;
4779 } Py_INCREF(Py_None);
4780 _resultobj = Py_None;
4781 return _resultobj;
4782 }
4783
4784 #define wxPyBitmapShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4785 static PyObject *_wrap_wxPyBitmapShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
4786 PyObject * _resultobj;
4787 wxPyBitmapShape * _arg0;
4788 double _arg1;
4789 double _arg2;
4790 int _arg3 = (int ) 0;
4791 int _arg4 = (int ) 0;
4792 PyObject * _argo0 = 0;
4793 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
4794
4795 self = self;
4796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
4797 return NULL;
4798 if (_argo0) {
4799 if (_argo0 == Py_None) { _arg0 = NULL; }
4800 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4801 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnEndDragLeft. Expected _wxPyBitmapShape_p.");
4802 return NULL;
4803 }
4804 }
4805 {
4806 wxPy_BEGIN_ALLOW_THREADS;
4807 wxPyBitmapShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
4808
4809 wxPy_END_ALLOW_THREADS;
4810 } Py_INCREF(Py_None);
4811 _resultobj = Py_None;
4812 return _resultobj;
4813 }
4814
4815 #define wxPyBitmapShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4816 static PyObject *_wrap_wxPyBitmapShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
4817 PyObject * _resultobj;
4818 wxPyBitmapShape * _arg0;
4819 bool _arg1;
4820 double _arg2;
4821 double _arg3;
4822 int _arg4 = (int ) 0;
4823 int _arg5 = (int ) 0;
4824 PyObject * _argo0 = 0;
4825 int tempbool1;
4826 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
4827
4828 self = self;
4829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyBitmapShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
4830 return NULL;
4831 if (_argo0) {
4832 if (_argo0 == Py_None) { _arg0 = NULL; }
4833 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4834 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDragRight. Expected _wxPyBitmapShape_p.");
4835 return NULL;
4836 }
4837 }
4838 _arg1 = (bool ) tempbool1;
4839 {
4840 wxPy_BEGIN_ALLOW_THREADS;
4841 wxPyBitmapShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
4842
4843 wxPy_END_ALLOW_THREADS;
4844 } Py_INCREF(Py_None);
4845 _resultobj = Py_None;
4846 return _resultobj;
4847 }
4848
4849 #define wxPyBitmapShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4850 static PyObject *_wrap_wxPyBitmapShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
4851 PyObject * _resultobj;
4852 wxPyBitmapShape * _arg0;
4853 double _arg1;
4854 double _arg2;
4855 int _arg3 = (int ) 0;
4856 int _arg4 = (int ) 0;
4857 PyObject * _argo0 = 0;
4858 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
4859
4860 self = self;
4861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
4862 return NULL;
4863 if (_argo0) {
4864 if (_argo0 == Py_None) { _arg0 = NULL; }
4865 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4866 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnBeginDragRight. Expected _wxPyBitmapShape_p.");
4867 return NULL;
4868 }
4869 }
4870 {
4871 wxPy_BEGIN_ALLOW_THREADS;
4872 wxPyBitmapShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
4873
4874 wxPy_END_ALLOW_THREADS;
4875 } Py_INCREF(Py_None);
4876 _resultobj = Py_None;
4877 return _resultobj;
4878 }
4879
4880 #define wxPyBitmapShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4881 static PyObject *_wrap_wxPyBitmapShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
4882 PyObject * _resultobj;
4883 wxPyBitmapShape * _arg0;
4884 double _arg1;
4885 double _arg2;
4886 int _arg3 = (int ) 0;
4887 int _arg4 = (int ) 0;
4888 PyObject * _argo0 = 0;
4889 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
4890
4891 self = self;
4892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
4893 return NULL;
4894 if (_argo0) {
4895 if (_argo0 == Py_None) { _arg0 = NULL; }
4896 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4897 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnEndDragRight. Expected _wxPyBitmapShape_p.");
4898 return NULL;
4899 }
4900 }
4901 {
4902 wxPy_BEGIN_ALLOW_THREADS;
4903 wxPyBitmapShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
4904
4905 wxPy_END_ALLOW_THREADS;
4906 } Py_INCREF(Py_None);
4907 _resultobj = Py_None;
4908 return _resultobj;
4909 }
4910
4911 #define wxPyBitmapShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4912 static PyObject *_wrap_wxPyBitmapShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
4913 PyObject * _resultobj;
4914 wxPyBitmapShape * _arg0;
4915 wxDC * _arg1;
4916 double _arg2;
4917 double _arg3;
4918 double _arg4;
4919 double _arg5;
4920 PyObject * _argo0 = 0;
4921 PyObject * _argo1 = 0;
4922 char *_kwnames[] = { "self","dc","x","y","w","h", NULL };
4923
4924 self = self;
4925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyBitmapShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
4926 return NULL;
4927 if (_argo0) {
4928 if (_argo0 == Py_None) { _arg0 = NULL; }
4929 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4930 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDrawOutline. Expected _wxPyBitmapShape_p.");
4931 return NULL;
4932 }
4933 }
4934 if (_argo1) {
4935 if (_argo1 == Py_None) { _arg1 = NULL; }
4936 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4937 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnDrawOutline. Expected _wxDC_p.");
4938 return NULL;
4939 }
4940 }
4941 {
4942 wxPy_BEGIN_ALLOW_THREADS;
4943 wxPyBitmapShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5);
4944
4945 wxPy_END_ALLOW_THREADS;
4946 } Py_INCREF(Py_None);
4947 _resultobj = Py_None;
4948 return _resultobj;
4949 }
4950
4951 #define wxPyBitmapShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
4952 static PyObject *_wrap_wxPyBitmapShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
4953 PyObject * _resultobj;
4954 wxPyBitmapShape * _arg0;
4955 wxDC * _arg1;
4956 PyObject * _argo0 = 0;
4957 PyObject * _argo1 = 0;
4958 char *_kwnames[] = { "self","dc", NULL };
4959
4960 self = self;
4961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1))
4962 return NULL;
4963 if (_argo0) {
4964 if (_argo0 == Py_None) { _arg0 = NULL; }
4965 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4966 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDrawControlPoints. Expected _wxPyBitmapShape_p.");
4967 return NULL;
4968 }
4969 }
4970 if (_argo1) {
4971 if (_argo1 == Py_None) { _arg1 = NULL; }
4972 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4973 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnDrawControlPoints. Expected _wxDC_p.");
4974 return NULL;
4975 }
4976 }
4977 {
4978 wxPy_BEGIN_ALLOW_THREADS;
4979 wxPyBitmapShape_base_OnDrawControlPoints(_arg0,*_arg1);
4980
4981 wxPy_END_ALLOW_THREADS;
4982 } Py_INCREF(Py_None);
4983 _resultobj = Py_None;
4984 return _resultobj;
4985 }
4986
4987 #define wxPyBitmapShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
4988 static PyObject *_wrap_wxPyBitmapShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
4989 PyObject * _resultobj;
4990 wxPyBitmapShape * _arg0;
4991 wxDC * _arg1;
4992 PyObject * _argo0 = 0;
4993 PyObject * _argo1 = 0;
4994 char *_kwnames[] = { "self","dc", NULL };
4995
4996 self = self;
4997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1))
4998 return NULL;
4999 if (_argo0) {
5000 if (_argo0 == Py_None) { _arg0 = NULL; }
5001 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
5002 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnEraseControlPoints. Expected _wxPyBitmapShape_p.");
5003 return NULL;
5004 }
5005 }
5006 if (_argo1) {
5007 if (_argo1 == Py_None) { _arg1 = NULL; }
5008 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
5009 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnEraseControlPoints. Expected _wxDC_p.");
5010 return NULL;
5011 }
5012 }
5013 {
5014 wxPy_BEGIN_ALLOW_THREADS;
5015 wxPyBitmapShape_base_OnEraseControlPoints(_arg0,*_arg1);
5016
5017 wxPy_END_ALLOW_THREADS;
5018 } Py_INCREF(Py_None);
5019 _resultobj = Py_None;
5020 return _resultobj;
5021 }
5022
5023 #define wxPyBitmapShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
5024 static PyObject *_wrap_wxPyBitmapShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
5025 PyObject * _resultobj;
5026 wxPyBitmapShape * _arg0;
5027 wxDC * _arg1;
5028 bool _arg2 = (bool ) TRUE;
5029 PyObject * _argo0 = 0;
5030 PyObject * _argo1 = 0;
5031 int tempbool2 = (int) TRUE;
5032 char *_kwnames[] = { "self","dc","moveControlPoints", NULL };
5033
5034 self = self;
5035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyBitmapShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2))
5036 return NULL;
5037 if (_argo0) {
5038 if (_argo0 == Py_None) { _arg0 = NULL; }
5039 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
5040 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnMoveLink. Expected _wxPyBitmapShape_p.");
5041 return NULL;
5042 }
5043 }
5044 if (_argo1) {
5045 if (_argo1 == Py_None) { _arg1 = NULL; }
5046 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
5047 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnMoveLink. Expected _wxDC_p.");
5048 return NULL;
5049 }
5050 }
5051 _arg2 = (bool ) tempbool2;
5052 {
5053 wxPy_BEGIN_ALLOW_THREADS;
5054 wxPyBitmapShape_base_OnMoveLink(_arg0,*_arg1,_arg2);
5055
5056 wxPy_END_ALLOW_THREADS;
5057 } Py_INCREF(Py_None);
5058 _resultobj = Py_None;
5059 return _resultobj;
5060 }
5061
5062 #define wxPyBitmapShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5063 static PyObject *_wrap_wxPyBitmapShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
5064 PyObject * _resultobj;
5065 wxPyBitmapShape * _arg0;
5066 wxPyControlPoint * _arg1;
5067 bool _arg2;
5068 double _arg3;
5069 double _arg4;
5070 int _arg5 = (int ) 0;
5071 int _arg6 = (int ) 0;
5072 PyObject * _argo0 = 0;
5073 PyObject * _argo1 = 0;
5074 int tempbool2;
5075 char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL };
5076
5077 self = self;
5078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyBitmapShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6))
5079 return NULL;
5080 if (_argo0) {
5081 if (_argo0 == Py_None) { _arg0 = NULL; }
5082 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
5083 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnSizingDragLeft. Expected _wxPyBitmapShape_p.");
5084 return NULL;
5085 }
5086 }
5087 if (_argo1) {
5088 if (_argo1 == Py_None) { _arg1 = NULL; }
5089 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
5090 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
5091 return NULL;
5092 }
5093 }
5094 _arg2 = (bool ) tempbool2;
5095 {
5096 wxPy_BEGIN_ALLOW_THREADS;
5097 wxPyBitmapShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
5098
5099 wxPy_END_ALLOW_THREADS;
5100 } Py_INCREF(Py_None);
5101 _resultobj = Py_None;
5102 return _resultobj;
5103 }
5104
5105 #define wxPyBitmapShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5106 static PyObject *_wrap_wxPyBitmapShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
5107 PyObject * _resultobj;
5108 wxPyBitmapShape * _arg0;
5109 wxPyControlPoint * _arg1;
5110 double _arg2;
5111 double _arg3;
5112 int _arg4 = (int ) 0;
5113 int _arg5 = (int ) 0;
5114 PyObject * _argo0 = 0;
5115 PyObject * _argo1 = 0;
5116 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
5117
5118 self = self;
5119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyBitmapShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
5120 return NULL;
5121 if (_argo0) {
5122 if (_argo0 == Py_None) { _arg0 = NULL; }
5123 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
5124 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnSizingBeginDragLeft. Expected _wxPyBitmapShape_p.");
5125 return NULL;
5126 }
5127 }
5128 if (_argo1) {
5129 if (_argo1 == Py_None) { _arg1 = NULL; }
5130 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
5131 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
5132 return NULL;
5133 }
5134 }
5135 {
5136 wxPy_BEGIN_ALLOW_THREADS;
5137 wxPyBitmapShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
5138
5139 wxPy_END_ALLOW_THREADS;
5140 } Py_INCREF(Py_None);
5141 _resultobj = Py_None;
5142 return _resultobj;
5143 }
5144
5145 #define wxPyBitmapShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5146 static PyObject *_wrap_wxPyBitmapShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
5147 PyObject * _resultobj;
5148 wxPyBitmapShape * _arg0;
5149 wxPyControlPoint * _arg1;
5150 double _arg2;
5151 double _arg3;
5152 int _arg4 = (int ) 0;
5153 int _arg5 = (int ) 0;
5154 PyObject * _argo0 = 0;
5155 PyObject * _argo1 = 0;
5156 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
5157
5158 self = self;
5159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyBitmapShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
5160 return NULL;
5161 if (_argo0) {
5162 if (_argo0 == Py_None) { _arg0 = NULL; }
5163 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
5164 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnSizingEndDragLeft. Expected _wxPyBitmapShape_p.");
5165 return NULL;
5166 }
5167 }
5168 if (_argo1) {
5169 if (_argo1 == Py_None) { _arg1 = NULL; }
5170 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
5171 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
5172 return NULL;
5173 }
5174 }
5175 {
5176 wxPy_BEGIN_ALLOW_THREADS;
5177 wxPyBitmapShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
5178
5179 wxPy_END_ALLOW_THREADS;
5180 } Py_INCREF(Py_None);
5181 _resultobj = Py_None;
5182 return _resultobj;
5183 }
5184
5185 #define wxPyBitmapShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
5186 static PyObject *_wrap_wxPyBitmapShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5187 PyObject * _resultobj;
5188 wxPyBitmapShape * _arg0;
5189 double _arg1;
5190 double _arg2;
5191 PyObject * _argo0 = 0;
5192 char *_kwnames[] = { "self","w","h", NULL };
5193
5194 self = self;
5195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyBitmapShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2))
5196 return NULL;
5197 if (_argo0) {
5198 if (_argo0 == Py_None) { _arg0 = NULL; }
5199 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
5200 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnBeginSize. Expected _wxPyBitmapShape_p.");
5201 return NULL;
5202 }
5203 }
5204 {
5205 wxPy_BEGIN_ALLOW_THREADS;
5206 wxPyBitmapShape_base_OnBeginSize(_arg0,_arg1,_arg2);
5207
5208 wxPy_END_ALLOW_THREADS;
5209 } Py_INCREF(Py_None);
5210 _resultobj = Py_None;
5211 return _resultobj;
5212 }
5213
5214 #define wxPyBitmapShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
5215 static PyObject *_wrap_wxPyBitmapShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5216 PyObject * _resultobj;
5217 wxPyBitmapShape * _arg0;
5218 double _arg1;
5219 double _arg2;
5220 PyObject * _argo0 = 0;
5221 char *_kwnames[] = { "self","w","h", NULL };
5222
5223 self = self;
5224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyBitmapShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2))
5225 return NULL;
5226 if (_argo0) {
5227 if (_argo0 == Py_None) { _arg0 = NULL; }
5228 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
5229 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnEndSize. Expected _wxPyBitmapShape_p.");
5230 return NULL;
5231 }
5232 }
5233 {
5234 wxPy_BEGIN_ALLOW_THREADS;
5235 wxPyBitmapShape_base_OnEndSize(_arg0,_arg1,_arg2);
5236
5237 wxPy_END_ALLOW_THREADS;
5238 } Py_INCREF(Py_None);
5239 _resultobj = Py_None;
5240 return _resultobj;
5241 }
5242
5243 static void *SwigwxPyDrawnShapeTowxPyRectangleShape(void *ptr) {
5244 wxPyDrawnShape *src;
5245 wxPyRectangleShape *dest;
5246 src = (wxPyDrawnShape *) ptr;
5247 dest = (wxPyRectangleShape *) src;
5248 return (void *) dest;
5249 }
5250
5251 static void *SwigwxPyDrawnShapeTowxPyShape(void *ptr) {
5252 wxPyDrawnShape *src;
5253 wxPyShape *dest;
5254 src = (wxPyDrawnShape *) ptr;
5255 dest = (wxPyShape *) src;
5256 return (void *) dest;
5257 }
5258
5259 static void *SwigwxPyDrawnShapeTowxPyShapeEvtHandler(void *ptr) {
5260 wxPyDrawnShape *src;
5261 wxPyShapeEvtHandler *dest;
5262 src = (wxPyDrawnShape *) ptr;
5263 dest = (wxPyShapeEvtHandler *) src;
5264 return (void *) dest;
5265 }
5266
5267 #define new_wxPyDrawnShape() (new wxPyDrawnShape())
5268 static PyObject *_wrap_new_wxPyDrawnShape(PyObject *self, PyObject *args, PyObject *kwargs) {
5269 PyObject * _resultobj;
5270 wxPyDrawnShape * _result;
5271 char *_kwnames[] = { NULL };
5272 char _ptemp[128];
5273
5274 self = self;
5275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyDrawnShape",_kwnames))
5276 return NULL;
5277 {
5278 wxPy_BEGIN_ALLOW_THREADS;
5279 _result = (wxPyDrawnShape *)new_wxPyDrawnShape();
5280
5281 wxPy_END_ALLOW_THREADS;
5282 } if (_result) {
5283 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyDrawnShape_p");
5284 _resultobj = Py_BuildValue("s",_ptemp);
5285 } else {
5286 Py_INCREF(Py_None);
5287 _resultobj = Py_None;
5288 }
5289 return _resultobj;
5290 }
5291
5292 #define wxPyDrawnShape__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
5293 static PyObject *_wrap_wxPyDrawnShape__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
5294 PyObject * _resultobj;
5295 wxPyDrawnShape * _arg0;
5296 PyObject * _arg1;
5297 PyObject * _arg2;
5298 PyObject * _argo0 = 0;
5299 PyObject * _obj1 = 0;
5300 PyObject * _obj2 = 0;
5301 char *_kwnames[] = { "self","self","_class", NULL };
5302
5303 self = self;
5304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyDrawnShape__setSelf",_kwnames,&_argo0,&_obj1,&_obj2))
5305 return NULL;
5306 if (_argo0) {
5307 if (_argo0 == Py_None) { _arg0 = NULL; }
5308 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5309 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape__setSelf. Expected _wxPyDrawnShape_p.");
5310 return NULL;
5311 }
5312 }
5313 {
5314 _arg1 = _obj1;
5315 }
5316 {
5317 _arg2 = _obj2;
5318 }
5319 {
5320 wxPy_BEGIN_ALLOW_THREADS;
5321 wxPyDrawnShape__setSelf(_arg0,_arg1,_arg2);
5322
5323 wxPy_END_ALLOW_THREADS;
5324 } Py_INCREF(Py_None);
5325 _resultobj = Py_None;
5326 return _resultobj;
5327 }
5328
5329 #define wxPyDrawnShape_CalculateSize(_swigobj) (_swigobj->CalculateSize())
5330 static PyObject *_wrap_wxPyDrawnShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5331 PyObject * _resultobj;
5332 wxPyDrawnShape * _arg0;
5333 PyObject * _argo0 = 0;
5334 char *_kwnames[] = { "self", NULL };
5335
5336 self = self;
5337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_CalculateSize",_kwnames,&_argo0))
5338 return NULL;
5339 if (_argo0) {
5340 if (_argo0 == Py_None) { _arg0 = NULL; }
5341 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5342 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_CalculateSize. Expected _wxPyDrawnShape_p.");
5343 return NULL;
5344 }
5345 }
5346 {
5347 wxPy_BEGIN_ALLOW_THREADS;
5348 wxPyDrawnShape_CalculateSize(_arg0);
5349
5350 wxPy_END_ALLOW_THREADS;
5351 } Py_INCREF(Py_None);
5352 _resultobj = Py_None;
5353 return _resultobj;
5354 }
5355
5356 #define wxPyDrawnShape_DestroyClippingRect(_swigobj) (_swigobj->DestroyClippingRect())
5357 static PyObject *_wrap_wxPyDrawnShape_DestroyClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
5358 PyObject * _resultobj;
5359 wxPyDrawnShape * _arg0;
5360 PyObject * _argo0 = 0;
5361 char *_kwnames[] = { "self", NULL };
5362
5363 self = self;
5364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_DestroyClippingRect",_kwnames,&_argo0))
5365 return NULL;
5366 if (_argo0) {
5367 if (_argo0 == Py_None) { _arg0 = NULL; }
5368 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5369 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DestroyClippingRect. Expected _wxPyDrawnShape_p.");
5370 return NULL;
5371 }
5372 }
5373 {
5374 wxPy_BEGIN_ALLOW_THREADS;
5375 wxPyDrawnShape_DestroyClippingRect(_arg0);
5376
5377 wxPy_END_ALLOW_THREADS;
5378 } Py_INCREF(Py_None);
5379 _resultobj = Py_None;
5380 return _resultobj;
5381 }
5382
5383 #define wxPyDrawnShape_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2))
5384 static PyObject *_wrap_wxPyDrawnShape_DrawArc(PyObject *self, PyObject *args, PyObject *kwargs) {
5385 PyObject * _resultobj;
5386 wxPyDrawnShape * _arg0;
5387 wxPoint * _arg1;
5388 wxPoint * _arg2;
5389 wxPoint * _arg3;
5390 PyObject * _argo0 = 0;
5391 wxPoint temp;
5392 PyObject * _obj1 = 0;
5393 wxPoint temp0;
5394 PyObject * _obj2 = 0;
5395 wxPoint temp1;
5396 PyObject * _obj3 = 0;
5397 char *_kwnames[] = { "self","centrePoint","startPoint","endPoint", NULL };
5398
5399 self = self;
5400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxPyDrawnShape_DrawArc",_kwnames,&_argo0,&_obj1,&_obj2,&_obj3))
5401 return NULL;
5402 if (_argo0) {
5403 if (_argo0 == Py_None) { _arg0 = NULL; }
5404 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5405 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawArc. Expected _wxPyDrawnShape_p.");
5406 return NULL;
5407 }
5408 }
5409 {
5410 _arg1 = &temp;
5411 if (! wxPoint_helper(_obj1, &_arg1))
5412 return NULL;
5413 }
5414 {
5415 _arg2 = &temp0;
5416 if (! wxPoint_helper(_obj2, &_arg2))
5417 return NULL;
5418 }
5419 {
5420 _arg3 = &temp1;
5421 if (! wxPoint_helper(_obj3, &_arg3))
5422 return NULL;
5423 }
5424 {
5425 wxPy_BEGIN_ALLOW_THREADS;
5426 wxPyDrawnShape_DrawArc(_arg0,*_arg1,*_arg2,*_arg3);
5427
5428 wxPy_END_ALLOW_THREADS;
5429 } Py_INCREF(Py_None);
5430 _resultobj = Py_None;
5431 return _resultobj;
5432 }
5433
5434 #define wxPyDrawnShape_DrawAtAngle(_swigobj,_swigarg0) (_swigobj->DrawAtAngle(_swigarg0))
5435 static PyObject *_wrap_wxPyDrawnShape_DrawAtAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
5436 PyObject * _resultobj;
5437 wxPyDrawnShape * _arg0;
5438 int _arg1;
5439 PyObject * _argo0 = 0;
5440 char *_kwnames[] = { "self","angle", NULL };
5441
5442 self = self;
5443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDrawnShape_DrawAtAngle",_kwnames,&_argo0,&_arg1))
5444 return NULL;
5445 if (_argo0) {
5446 if (_argo0 == Py_None) { _arg0 = NULL; }
5447 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5448 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawAtAngle. Expected _wxPyDrawnShape_p.");
5449 return NULL;
5450 }
5451 }
5452 {
5453 wxPy_BEGIN_ALLOW_THREADS;
5454 wxPyDrawnShape_DrawAtAngle(_arg0,_arg1);
5455
5456 wxPy_END_ALLOW_THREADS;
5457 } Py_INCREF(Py_None);
5458 _resultobj = Py_None;
5459 return _resultobj;
5460 }
5461
5462 #define wxPyDrawnShape_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2))
5463 static PyObject *_wrap_wxPyDrawnShape_DrawEllipticArc(PyObject *self, PyObject *args, PyObject *kwargs) {
5464 PyObject * _resultobj;
5465 wxPyDrawnShape * _arg0;
5466 wxRect * _arg1;
5467 double _arg2;
5468 double _arg3;
5469 PyObject * _argo0 = 0;
5470 wxRect temp;
5471 PyObject * _obj1 = 0;
5472 char *_kwnames[] = { "self","rect","startAngle","endAngle", NULL };
5473
5474 self = self;
5475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd:wxPyDrawnShape_DrawEllipticArc",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3))
5476 return NULL;
5477 if (_argo0) {
5478 if (_argo0 == Py_None) { _arg0 = NULL; }
5479 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5480 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawEllipticArc. Expected _wxPyDrawnShape_p.");
5481 return NULL;
5482 }
5483 }
5484 {
5485 _arg1 = &temp;
5486 if (! wxRect_helper(_obj1, &_arg1))
5487 return NULL;
5488 }
5489 {
5490 wxPy_BEGIN_ALLOW_THREADS;
5491 wxPyDrawnShape_DrawEllipticArc(_arg0,*_arg1,_arg2,_arg3);
5492
5493 wxPy_END_ALLOW_THREADS;
5494 } Py_INCREF(Py_None);
5495 _resultobj = Py_None;
5496 return _resultobj;
5497 }
5498
5499 #define wxPyDrawnShape_DrawLine(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawLine(_swigarg0,_swigarg1))
5500 static PyObject *_wrap_wxPyDrawnShape_DrawLine(PyObject *self, PyObject *args, PyObject *kwargs) {
5501 PyObject * _resultobj;
5502 wxPyDrawnShape * _arg0;
5503 wxPoint * _arg1;
5504 wxPoint * _arg2;
5505 PyObject * _argo0 = 0;
5506 wxPoint temp;
5507 PyObject * _obj1 = 0;
5508 wxPoint temp0;
5509 PyObject * _obj2 = 0;
5510 char *_kwnames[] = { "self","point1","point2", NULL };
5511
5512 self = self;
5513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyDrawnShape_DrawLine",_kwnames,&_argo0,&_obj1,&_obj2))
5514 return NULL;
5515 if (_argo0) {
5516 if (_argo0 == Py_None) { _arg0 = NULL; }
5517 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5518 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawLine. Expected _wxPyDrawnShape_p.");
5519 return NULL;
5520 }
5521 }
5522 {
5523 _arg1 = &temp;
5524 if (! wxPoint_helper(_obj1, &_arg1))
5525 return NULL;
5526 }
5527 {
5528 _arg2 = &temp0;
5529 if (! wxPoint_helper(_obj2, &_arg2))
5530 return NULL;
5531 }
5532 {
5533 wxPy_BEGIN_ALLOW_THREADS;
5534 wxPyDrawnShape_DrawLine(_arg0,*_arg1,*_arg2);
5535
5536 wxPy_END_ALLOW_THREADS;
5537 } Py_INCREF(Py_None);
5538 _resultobj = Py_None;
5539 return _resultobj;
5540 }
5541
5542 #define wxPyDrawnShape_DrawLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawLines(_swigarg0,_swigarg1))
5543 static PyObject *_wrap_wxPyDrawnShape_DrawLines(PyObject *self, PyObject *args, PyObject *kwargs) {
5544 PyObject * _resultobj;
5545 wxPyDrawnShape * _arg0;
5546 int _arg1;
5547 wxPoint * _arg2;
5548 PyObject * _argo0 = 0;
5549 PyObject * _obj2 = 0;
5550 char *_kwnames[] = { "self","points", NULL };
5551
5552 self = self;
5553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_DrawLines",_kwnames,&_argo0,&_obj2))
5554 return NULL;
5555 if (_argo0) {
5556 if (_argo0 == Py_None) { _arg0 = NULL; }
5557 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5558 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawLines. Expected _wxPyDrawnShape_p.");
5559 return NULL;
5560 }
5561 }
5562 if (_obj2)
5563 {
5564 _arg2 = wxPoint_LIST_helper(_obj2);
5565 if (_arg2 == NULL) {
5566 return NULL;
5567 }
5568 }
5569 {
5570 if (_obj2) {
5571 _arg1 = PyList_Size(_obj2);
5572 }
5573 else {
5574 _arg1 = 0;
5575 }
5576 }
5577 {
5578 wxPy_BEGIN_ALLOW_THREADS;
5579 wxPyDrawnShape_DrawLines(_arg0,_arg1,_arg2);
5580
5581 wxPy_END_ALLOW_THREADS;
5582 } Py_INCREF(Py_None);
5583 _resultobj = Py_None;
5584 {
5585 delete [] _arg2;
5586 }
5587 return _resultobj;
5588 }
5589
5590 #define wxPyDrawnShape_DrawPoint(_swigobj,_swigarg0) (_swigobj->DrawPoint(_swigarg0))
5591 static PyObject *_wrap_wxPyDrawnShape_DrawPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
5592 PyObject * _resultobj;
5593 wxPyDrawnShape * _arg0;
5594 wxPoint * _arg1;
5595 PyObject * _argo0 = 0;
5596 wxPoint temp;
5597 PyObject * _obj1 = 0;
5598 char *_kwnames[] = { "self","point", NULL };
5599
5600 self = self;
5601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_DrawPoint",_kwnames,&_argo0,&_obj1))
5602 return NULL;
5603 if (_argo0) {
5604 if (_argo0 == Py_None) { _arg0 = NULL; }
5605 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5606 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawPoint. Expected _wxPyDrawnShape_p.");
5607 return NULL;
5608 }
5609 }
5610 {
5611 _arg1 = &temp;
5612 if (! wxPoint_helper(_obj1, &_arg1))
5613 return NULL;
5614 }
5615 {
5616 wxPy_BEGIN_ALLOW_THREADS;
5617 wxPyDrawnShape_DrawPoint(_arg0,*_arg1);
5618
5619 wxPy_END_ALLOW_THREADS;
5620 } Py_INCREF(Py_None);
5621 _resultobj = Py_None;
5622 return _resultobj;
5623 }
5624
5625 #define wxPyDrawnShape_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2))
5626 static PyObject *_wrap_wxPyDrawnShape_DrawPolygon(PyObject *self, PyObject *args, PyObject *kwargs) {
5627 PyObject * _resultobj;
5628 wxPyDrawnShape * _arg0;
5629 int _arg1;
5630 wxPoint * _arg2;
5631 int _arg3 = (int ) 0;
5632 PyObject * _argo0 = 0;
5633 PyObject * _obj2 = 0;
5634 char *_kwnames[] = { "self","points","flags", NULL };
5635
5636 self = self;
5637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDrawnShape_DrawPolygon",_kwnames,&_argo0,&_obj2,&_arg3))
5638 return NULL;
5639 if (_argo0) {
5640 if (_argo0 == Py_None) { _arg0 = NULL; }
5641 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5642 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawPolygon. Expected _wxPyDrawnShape_p.");
5643 return NULL;
5644 }
5645 }
5646 if (_obj2)
5647 {
5648 _arg2 = wxPoint_LIST_helper(_obj2);
5649 if (_arg2 == NULL) {
5650 return NULL;
5651 }
5652 }
5653 {
5654 if (_obj2) {
5655 _arg1 = PyList_Size(_obj2);
5656 }
5657 else {
5658 _arg1 = 0;
5659 }
5660 }
5661 {
5662 wxPy_BEGIN_ALLOW_THREADS;
5663 wxPyDrawnShape_DrawPolygon(_arg0,_arg1,_arg2,_arg3);
5664
5665 wxPy_END_ALLOW_THREADS;
5666 } Py_INCREF(Py_None);
5667 _resultobj = Py_None;
5668 {
5669 delete [] _arg2;
5670 }
5671 return _resultobj;
5672 }
5673
5674 #define wxPyDrawnShape_DrawRectangle(_swigobj,_swigarg0) (_swigobj->DrawRectangle(_swigarg0))
5675 static PyObject *_wrap_wxPyDrawnShape_DrawRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
5676 PyObject * _resultobj;
5677 wxPyDrawnShape * _arg0;
5678 wxRect * _arg1;
5679 PyObject * _argo0 = 0;
5680 wxRect temp;
5681 PyObject * _obj1 = 0;
5682 char *_kwnames[] = { "self","rect", NULL };
5683
5684 self = self;
5685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_DrawRectangle",_kwnames,&_argo0,&_obj1))
5686 return NULL;
5687 if (_argo0) {
5688 if (_argo0 == Py_None) { _arg0 = NULL; }
5689 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5690 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawRectangle. Expected _wxPyDrawnShape_p.");
5691 return NULL;
5692 }
5693 }
5694 {
5695 _arg1 = &temp;
5696 if (! wxRect_helper(_obj1, &_arg1))
5697 return NULL;
5698 }
5699 {
5700 wxPy_BEGIN_ALLOW_THREADS;
5701 wxPyDrawnShape_DrawRectangle(_arg0,*_arg1);
5702
5703 wxPy_END_ALLOW_THREADS;
5704 } Py_INCREF(Py_None);
5705 _resultobj = Py_None;
5706 return _resultobj;
5707 }
5708
5709 #define wxPyDrawnShape_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1))
5710 static PyObject *_wrap_wxPyDrawnShape_DrawRoundedRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
5711 PyObject * _resultobj;
5712 wxPyDrawnShape * _arg0;
5713 wxRect * _arg1;
5714 double _arg2;
5715 PyObject * _argo0 = 0;
5716 wxRect temp;
5717 PyObject * _obj1 = 0;
5718 char *_kwnames[] = { "self","rect","radius", NULL };
5719
5720 self = self;
5721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOd:wxPyDrawnShape_DrawRoundedRectangle",_kwnames,&_argo0,&_obj1,&_arg2))
5722 return NULL;
5723 if (_argo0) {
5724 if (_argo0 == Py_None) { _arg0 = NULL; }
5725 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5726 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawRoundedRectangle. Expected _wxPyDrawnShape_p.");
5727 return NULL;
5728 }
5729 }
5730 {
5731 _arg1 = &temp;
5732 if (! wxRect_helper(_obj1, &_arg1))
5733 return NULL;
5734 }
5735 {
5736 wxPy_BEGIN_ALLOW_THREADS;
5737 wxPyDrawnShape_DrawRoundedRectangle(_arg0,*_arg1,_arg2);
5738
5739 wxPy_END_ALLOW_THREADS;
5740 } Py_INCREF(Py_None);
5741 _resultobj = Py_None;
5742 return _resultobj;
5743 }
5744
5745 #define wxPyDrawnShape_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1))
5746 static PyObject *_wrap_wxPyDrawnShape_DrawSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
5747 PyObject * _resultobj;
5748 wxPyDrawnShape * _arg0;
5749 int _arg1;
5750 wxPoint * _arg2;
5751 PyObject * _argo0 = 0;
5752 PyObject * _obj2 = 0;
5753 char *_kwnames[] = { "self","points", NULL };
5754
5755 self = self;
5756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_DrawSpline",_kwnames,&_argo0,&_obj2))
5757 return NULL;
5758 if (_argo0) {
5759 if (_argo0 == Py_None) { _arg0 = NULL; }
5760 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5761 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawSpline. Expected _wxPyDrawnShape_p.");
5762 return NULL;
5763 }
5764 }
5765 if (_obj2)
5766 {
5767 _arg2 = wxPoint_LIST_helper(_obj2);
5768 if (_arg2 == NULL) {
5769 return NULL;
5770 }
5771 }
5772 {
5773 if (_obj2) {
5774 _arg1 = PyList_Size(_obj2);
5775 }
5776 else {
5777 _arg1 = 0;
5778 }
5779 }
5780 {
5781 wxPy_BEGIN_ALLOW_THREADS;
5782 wxPyDrawnShape_DrawSpline(_arg0,_arg1,_arg2);
5783
5784 wxPy_END_ALLOW_THREADS;
5785 } Py_INCREF(Py_None);
5786 _resultobj = Py_None;
5787 {
5788 delete [] _arg2;
5789 }
5790 return _resultobj;
5791 }
5792
5793 #define wxPyDrawnShape_DrawText(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawText(_swigarg0,_swigarg1))
5794 static PyObject *_wrap_wxPyDrawnShape_DrawText(PyObject *self, PyObject *args, PyObject *kwargs) {
5795 PyObject * _resultobj;
5796 wxPyDrawnShape * _arg0;
5797 wxString * _arg1;
5798 wxPoint * _arg2;
5799 PyObject * _argo0 = 0;
5800 PyObject * _obj1 = 0;
5801 wxPoint temp;
5802 PyObject * _obj2 = 0;
5803 char *_kwnames[] = { "self","text","point", NULL };
5804
5805 self = self;
5806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyDrawnShape_DrawText",_kwnames,&_argo0,&_obj1,&_obj2))
5807 return NULL;
5808 if (_argo0) {
5809 if (_argo0 == Py_None) { _arg0 = NULL; }
5810 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5811 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawText. Expected _wxPyDrawnShape_p.");
5812 return NULL;
5813 }
5814 }
5815 {
5816 #if PYTHON_API_VERSION >= 1009
5817 char* tmpPtr; int tmpSize;
5818 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
5819 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
5820 return NULL;
5821 }
5822 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
5823 return NULL;
5824 _arg1 = new wxString(tmpPtr, tmpSize);
5825 #else
5826 if (!PyString_Check(_obj1)) {
5827 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5828 return NULL;
5829 }
5830 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
5831 #endif
5832 }
5833 {
5834 _arg2 = &temp;
5835 if (! wxPoint_helper(_obj2, &_arg2))
5836 return NULL;
5837 }
5838 {
5839 wxPy_BEGIN_ALLOW_THREADS;
5840 wxPyDrawnShape_DrawText(_arg0,*_arg1,*_arg2);
5841
5842 wxPy_END_ALLOW_THREADS;
5843 } Py_INCREF(Py_None);
5844 _resultobj = Py_None;
5845 {
5846 if (_obj1)
5847 delete _arg1;
5848 }
5849 return _resultobj;
5850 }
5851
5852 #define wxPyDrawnShape_GetAngle(_swigobj) (_swigobj->GetAngle())
5853 static PyObject *_wrap_wxPyDrawnShape_GetAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
5854 PyObject * _resultobj;
5855 int _result;
5856 wxPyDrawnShape * _arg0;
5857 PyObject * _argo0 = 0;
5858 char *_kwnames[] = { "self", NULL };
5859
5860 self = self;
5861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_GetAngle",_kwnames,&_argo0))
5862 return NULL;
5863 if (_argo0) {
5864 if (_argo0 == Py_None) { _arg0 = NULL; }
5865 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5866 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_GetAngle. Expected _wxPyDrawnShape_p.");
5867 return NULL;
5868 }
5869 }
5870 {
5871 wxPy_BEGIN_ALLOW_THREADS;
5872 _result = (int )wxPyDrawnShape_GetAngle(_arg0);
5873
5874 wxPy_END_ALLOW_THREADS;
5875 } _resultobj = Py_BuildValue("i",_result);
5876 return _resultobj;
5877 }
5878
5879 #define wxPyDrawnShape_GetMetaFile(_swigobj) (_swigobj->GetMetaFile())
5880 static PyObject *_wrap_wxPyDrawnShape_GetMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5881 PyObject * _resultobj;
5882 wxPseudoMetaFile * _result;
5883 wxPyDrawnShape * _arg0;
5884 PyObject * _argo0 = 0;
5885 char *_kwnames[] = { "self", NULL };
5886 char _ptemp[128];
5887
5888 self = self;
5889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_GetMetaFile",_kwnames,&_argo0))
5890 return NULL;
5891 if (_argo0) {
5892 if (_argo0 == Py_None) { _arg0 = NULL; }
5893 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5894 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_GetMetaFile. Expected _wxPyDrawnShape_p.");
5895 return NULL;
5896 }
5897 }
5898 {
5899 wxPy_BEGIN_ALLOW_THREADS;
5900 wxPseudoMetaFile & _result_ref = wxPyDrawnShape_GetMetaFile(_arg0);
5901 _result = (wxPseudoMetaFile *) &_result_ref;
5902
5903 wxPy_END_ALLOW_THREADS;
5904 } if (_result) {
5905 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPseudoMetaFile_p");
5906 _resultobj = Py_BuildValue("s",_ptemp);
5907 } else {
5908 Py_INCREF(Py_None);
5909 _resultobj = Py_None;
5910 }
5911 return _resultobj;
5912 }
5913
5914 #define wxPyDrawnShape_GetRotation(_swigobj) (_swigobj->GetRotation())
5915 static PyObject *_wrap_wxPyDrawnShape_GetRotation(PyObject *self, PyObject *args, PyObject *kwargs) {
5916 PyObject * _resultobj;
5917 double _result;
5918 wxPyDrawnShape * _arg0;
5919 PyObject * _argo0 = 0;
5920 char *_kwnames[] = { "self", NULL };
5921
5922 self = self;
5923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_GetRotation",_kwnames,&_argo0))
5924 return NULL;
5925 if (_argo0) {
5926 if (_argo0 == Py_None) { _arg0 = NULL; }
5927 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5928 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_GetRotation. Expected _wxPyDrawnShape_p.");
5929 return NULL;
5930 }
5931 }
5932 {
5933 wxPy_BEGIN_ALLOW_THREADS;
5934 _result = (double )wxPyDrawnShape_GetRotation(_arg0);
5935
5936 wxPy_END_ALLOW_THREADS;
5937 } _resultobj = Py_BuildValue("d",_result);
5938 return _resultobj;
5939 }
5940
5941 #define wxPyDrawnShape_LoadFromMetaFile(_swigobj,_swigarg0) (_swigobj->LoadFromMetaFile(_swigarg0))
5942 static PyObject *_wrap_wxPyDrawnShape_LoadFromMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5943 PyObject * _resultobj;
5944 bool _result;
5945 wxPyDrawnShape * _arg0;
5946 char * _arg1;
5947 PyObject * _argo0 = 0;
5948 char *_kwnames[] = { "self","filename", NULL };
5949
5950 self = self;
5951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os:wxPyDrawnShape_LoadFromMetaFile",_kwnames,&_argo0,&_arg1))
5952 return NULL;
5953 if (_argo0) {
5954 if (_argo0 == Py_None) { _arg0 = NULL; }
5955 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5956 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_LoadFromMetaFile. Expected _wxPyDrawnShape_p.");
5957 return NULL;
5958 }
5959 }
5960 {
5961 wxPy_BEGIN_ALLOW_THREADS;
5962 _result = (bool )wxPyDrawnShape_LoadFromMetaFile(_arg0,_arg1);
5963
5964 wxPy_END_ALLOW_THREADS;
5965 } _resultobj = Py_BuildValue("i",_result);
5966 return _resultobj;
5967 }
5968
5969 #define wxPyDrawnShape_Rotate(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Rotate(_swigarg0,_swigarg1,_swigarg2))
5970 static PyObject *_wrap_wxPyDrawnShape_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
5971 PyObject * _resultobj;
5972 wxPyDrawnShape * _arg0;
5973 double _arg1;
5974 double _arg2;
5975 double _arg3;
5976 PyObject * _argo0 = 0;
5977 char *_kwnames[] = { "self","x","y","theta", NULL };
5978
5979 self = self;
5980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oddd:wxPyDrawnShape_Rotate",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
5981 return NULL;
5982 if (_argo0) {
5983 if (_argo0 == Py_None) { _arg0 = NULL; }
5984 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5985 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_Rotate. Expected _wxPyDrawnShape_p.");
5986 return NULL;
5987 }
5988 }
5989 {
5990 wxPy_BEGIN_ALLOW_THREADS;
5991 wxPyDrawnShape_Rotate(_arg0,_arg1,_arg2,_arg3);
5992
5993 wxPy_END_ALLOW_THREADS;
5994 } Py_INCREF(Py_None);
5995 _resultobj = Py_None;
5996 return _resultobj;
5997 }
5998
5999 #define wxPyDrawnShape_SetClippingRect(_swigobj,_swigarg0) (_swigobj->SetClippingRect(_swigarg0))
6000 static PyObject *_wrap_wxPyDrawnShape_SetClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6001 PyObject * _resultobj;
6002 wxPyDrawnShape * _arg0;
6003 wxRect * _arg1;
6004 PyObject * _argo0 = 0;
6005 wxRect temp;
6006 PyObject * _obj1 = 0;
6007 char *_kwnames[] = { "self","rect", NULL };
6008
6009 self = self;
6010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_SetClippingRect",_kwnames,&_argo0,&_obj1))
6011 return NULL;
6012 if (_argo0) {
6013 if (_argo0 == Py_None) { _arg0 = NULL; }
6014 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6015 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetClippingRect. Expected _wxPyDrawnShape_p.");
6016 return NULL;
6017 }
6018 }
6019 {
6020 _arg1 = &temp;
6021 if (! wxRect_helper(_obj1, &_arg1))
6022 return NULL;
6023 }
6024 {
6025 wxPy_BEGIN_ALLOW_THREADS;
6026 wxPyDrawnShape_SetClippingRect(_arg0,*_arg1);
6027
6028 wxPy_END_ALLOW_THREADS;
6029 } Py_INCREF(Py_None);
6030 _resultobj = Py_None;
6031 return _resultobj;
6032 }
6033
6034 #define wxPyDrawnShape_SetDrawnBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetDrawnBackgroundColour(_swigarg0))
6035 static PyObject *_wrap_wxPyDrawnShape_SetDrawnBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6036 PyObject * _resultobj;
6037 wxPyDrawnShape * _arg0;
6038 wxColour * _arg1;
6039 PyObject * _argo0 = 0;
6040 wxColour temp;
6041 PyObject * _obj1 = 0;
6042 char *_kwnames[] = { "self","colour", NULL };
6043
6044 self = self;
6045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_SetDrawnBackgroundColour",_kwnames,&_argo0,&_obj1))
6046 return NULL;
6047 if (_argo0) {
6048 if (_argo0 == Py_None) { _arg0 = NULL; }
6049 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6050 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnBackgroundColour. Expected _wxPyDrawnShape_p.");
6051 return NULL;
6052 }
6053 }
6054 {
6055 _arg1 = &temp;
6056 if (! wxColour_helper(_obj1, &_arg1))
6057 return NULL;
6058 }
6059 {
6060 wxPy_BEGIN_ALLOW_THREADS;
6061 wxPyDrawnShape_SetDrawnBackgroundColour(_arg0,*_arg1);
6062
6063 wxPy_END_ALLOW_THREADS;
6064 } Py_INCREF(Py_None);
6065 _resultobj = Py_None;
6066 return _resultobj;
6067 }
6068
6069 #define wxPyDrawnShape_SetDrawnBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetDrawnBackgroundMode(_swigarg0))
6070 static PyObject *_wrap_wxPyDrawnShape_SetDrawnBackgroundMode(PyObject *self, PyObject *args, PyObject *kwargs) {
6071 PyObject * _resultobj;
6072 wxPyDrawnShape * _arg0;
6073 int _arg1;
6074 PyObject * _argo0 = 0;
6075 char *_kwnames[] = { "self","mode", NULL };
6076
6077 self = self;
6078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDrawnShape_SetDrawnBackgroundMode",_kwnames,&_argo0,&_arg1))
6079 return NULL;
6080 if (_argo0) {
6081 if (_argo0 == Py_None) { _arg0 = NULL; }
6082 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6083 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnBackgroundMode. Expected _wxPyDrawnShape_p.");
6084 return NULL;
6085 }
6086 }
6087 {
6088 wxPy_BEGIN_ALLOW_THREADS;
6089 wxPyDrawnShape_SetDrawnBackgroundMode(_arg0,_arg1);
6090
6091 wxPy_END_ALLOW_THREADS;
6092 } Py_INCREF(Py_None);
6093 _resultobj = Py_None;
6094 return _resultobj;
6095 }
6096
6097 #define wxPyDrawnShape_SetDrawnBrush(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDrawnBrush(_swigarg0,_swigarg1))
6098 static PyObject *_wrap_wxPyDrawnShape_SetDrawnBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
6099 PyObject * _resultobj;
6100 wxPyDrawnShape * _arg0;
6101 wxBrush * _arg1;
6102 bool _arg2 = (bool ) FALSE;
6103 PyObject * _argo0 = 0;
6104 PyObject * _obj1 = 0;
6105 int tempbool2 = (int) FALSE;
6106 char *_kwnames[] = { "self","pen","isOutline", NULL };
6107
6108 self = self;
6109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDrawnShape_SetDrawnBrush",_kwnames,&_argo0,&_obj1,&tempbool2))
6110 return NULL;
6111 if (_argo0) {
6112 if (_argo0 == Py_None) { _arg0 = NULL; }
6113 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6114 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnBrush. Expected _wxPyDrawnShape_p.");
6115 return NULL;
6116 }
6117 }
6118 {
6119 wxBrush* temp;
6120 if (_obj1) {
6121 if (_obj1 == Py_None) { temp = NULL; }
6122 else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxBrush_p")) {
6123 PyErr_SetString(PyExc_TypeError,"Type error, expected _wxBrush_p.");
6124 return NULL;
6125 }
6126 }
6127 if (temp)
6128 _arg1 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
6129 else
6130 _arg1 = NULL;
6131 }
6132 _arg2 = (bool ) tempbool2;
6133 {
6134 wxPy_BEGIN_ALLOW_THREADS;
6135 wxPyDrawnShape_SetDrawnBrush(_arg0,_arg1,_arg2);
6136
6137 wxPy_END_ALLOW_THREADS;
6138 } Py_INCREF(Py_None);
6139 _resultobj = Py_None;
6140 return _resultobj;
6141 }
6142
6143 #define wxPyDrawnShape_SetDrawnFont(_swigobj,_swigarg0) (_swigobj->SetDrawnFont(_swigarg0))
6144 static PyObject *_wrap_wxPyDrawnShape_SetDrawnFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6145 PyObject * _resultobj;
6146 wxPyDrawnShape * _arg0;
6147 wxFont * _arg1;
6148 PyObject * _argo0 = 0;
6149 PyObject * _obj1 = 0;
6150 char *_kwnames[] = { "self","font", NULL };
6151
6152 self = self;
6153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_SetDrawnFont",_kwnames,&_argo0,&_obj1))
6154 return NULL;
6155 if (_argo0) {
6156 if (_argo0 == Py_None) { _arg0 = NULL; }
6157 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6158 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnFont. Expected _wxPyDrawnShape_p.");
6159 return NULL;
6160 }
6161 }
6162 {
6163 wxFont* temp;
6164 if (_obj1) {
6165 if (_obj1 == Py_None) { temp = NULL; }
6166 else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxFont_p")) {
6167 PyErr_SetString(PyExc_TypeError,"Type error, expected _wxFont_p.");
6168 return NULL;
6169 }
6170 }
6171 if (temp)
6172 _arg1 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
6173 temp->GetFamily(),
6174 temp->GetStyle(),
6175 temp->GetWeight(),
6176 temp->GetUnderlined(),
6177 temp->GetFaceName(),
6178 temp->GetEncoding());
6179 else
6180 _arg1 = NULL;
6181 }
6182 {
6183 wxPy_BEGIN_ALLOW_THREADS;
6184 wxPyDrawnShape_SetDrawnFont(_arg0,_arg1);
6185
6186 wxPy_END_ALLOW_THREADS;
6187 } Py_INCREF(Py_None);
6188 _resultobj = Py_None;
6189 return _resultobj;
6190 }
6191
6192 #define wxPyDrawnShape_SetDrawnPen(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDrawnPen(_swigarg0,_swigarg1))
6193 static PyObject *_wrap_wxPyDrawnShape_SetDrawnPen(PyObject *self, PyObject *args, PyObject *kwargs) {
6194 PyObject * _resultobj;
6195 wxPyDrawnShape * _arg0;
6196 wxPen * _arg1;
6197 bool _arg2 = (bool ) FALSE;
6198 PyObject * _argo0 = 0;
6199 PyObject * _obj1 = 0;
6200 int tempbool2 = (int) FALSE;
6201 char *_kwnames[] = { "self","pen","isOutline", NULL };
6202
6203 self = self;
6204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDrawnShape_SetDrawnPen",_kwnames,&_argo0,&_obj1,&tempbool2))
6205 return NULL;
6206 if (_argo0) {
6207 if (_argo0 == Py_None) { _arg0 = NULL; }
6208 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6209 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnPen. Expected _wxPyDrawnShape_p.");
6210 return NULL;
6211 }
6212 }
6213 {
6214 wxPen* temp;
6215 if (_obj1) {
6216 if (_obj1 == Py_None) { temp = NULL; }
6217 else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxPen_p")) {
6218 PyErr_SetString(PyExc_TypeError,"Type error, expected _wxPen_p.");
6219 return NULL;
6220 }
6221 }
6222 if (temp)
6223 _arg1 = wxThePenList->FindOrCreatePen(temp->GetColour(),
6224 temp->GetWidth(),
6225 temp->GetStyle());
6226 else
6227 _arg1 = NULL;
6228 }
6229 _arg2 = (bool ) tempbool2;
6230 {
6231 wxPy_BEGIN_ALLOW_THREADS;
6232 wxPyDrawnShape_SetDrawnPen(_arg0,_arg1,_arg2);
6233
6234 wxPy_END_ALLOW_THREADS;
6235 } Py_INCREF(Py_None);
6236 _resultobj = Py_None;
6237 return _resultobj;
6238 }
6239
6240 #define wxPyDrawnShape_SetDrawnTextColour(_swigobj,_swigarg0) (_swigobj->SetDrawnTextColour(_swigarg0))
6241 static PyObject *_wrap_wxPyDrawnShape_SetDrawnTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6242 PyObject * _resultobj;
6243 wxPyDrawnShape * _arg0;
6244 wxColour * _arg1;
6245 PyObject * _argo0 = 0;
6246 wxColour temp;
6247 PyObject * _obj1 = 0;
6248 char *_kwnames[] = { "self","colour", NULL };
6249
6250 self = self;
6251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_SetDrawnTextColour",_kwnames,&_argo0,&_obj1))
6252 return NULL;
6253 if (_argo0) {
6254 if (_argo0 == Py_None) { _arg0 = NULL; }
6255 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6256 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnTextColour. Expected _wxPyDrawnShape_p.");
6257 return NULL;
6258 }
6259 }
6260 {
6261 _arg1 = &temp;
6262 if (! wxColour_helper(_obj1, &_arg1))
6263 return NULL;
6264 }
6265 {
6266 wxPy_BEGIN_ALLOW_THREADS;
6267 wxPyDrawnShape_SetDrawnTextColour(_arg0,*_arg1);
6268
6269 wxPy_END_ALLOW_THREADS;
6270 } Py_INCREF(Py_None);
6271 _resultobj = Py_None;
6272 return _resultobj;
6273 }
6274
6275 #define wxPyDrawnShape_Scale(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scale(_swigarg0,_swigarg1))
6276 static PyObject *_wrap_wxPyDrawnShape_Scale(PyObject *self, PyObject *args, PyObject *kwargs) {
6277 PyObject * _resultobj;
6278 wxPyDrawnShape * _arg0;
6279 double _arg1;
6280 double _arg2;
6281 PyObject * _argo0 = 0;
6282 char *_kwnames[] = { "self","sx","sy", NULL };
6283
6284 self = self;
6285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDrawnShape_Scale",_kwnames,&_argo0,&_arg1,&_arg2))
6286 return NULL;
6287 if (_argo0) {
6288 if (_argo0 == Py_None) { _arg0 = NULL; }
6289 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6290 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_Scale. Expected _wxPyDrawnShape_p.");
6291 return NULL;
6292 }
6293 }
6294 {
6295 wxPy_BEGIN_ALLOW_THREADS;
6296 wxPyDrawnShape_Scale(_arg0,_arg1,_arg2);
6297
6298 wxPy_END_ALLOW_THREADS;
6299 } Py_INCREF(Py_None);
6300 _resultobj = Py_None;
6301 return _resultobj;
6302 }
6303
6304 #define wxPyDrawnShape_SetSaveToFile(_swigobj,_swigarg0) (_swigobj->SetSaveToFile(_swigarg0))
6305 static PyObject *_wrap_wxPyDrawnShape_SetSaveToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6306 PyObject * _resultobj;
6307 wxPyDrawnShape * _arg0;
6308 bool _arg1;
6309 PyObject * _argo0 = 0;
6310 int tempbool1;
6311 char *_kwnames[] = { "self","save", NULL };
6312
6313 self = self;
6314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDrawnShape_SetSaveToFile",_kwnames,&_argo0,&tempbool1))
6315 return NULL;
6316 if (_argo0) {
6317 if (_argo0 == Py_None) { _arg0 = NULL; }
6318 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6319 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetSaveToFile. Expected _wxPyDrawnShape_p.");
6320 return NULL;
6321 }
6322 }
6323 _arg1 = (bool ) tempbool1;
6324 {
6325 wxPy_BEGIN_ALLOW_THREADS;
6326 wxPyDrawnShape_SetSaveToFile(_arg0,_arg1);
6327
6328 wxPy_END_ALLOW_THREADS;
6329 } Py_INCREF(Py_None);
6330 _resultobj = Py_None;
6331 return _resultobj;
6332 }
6333
6334 #define wxPyDrawnShape_Translate(_swigobj,_swigarg0,_swigarg1) (_swigobj->Translate(_swigarg0,_swigarg1))
6335 static PyObject *_wrap_wxPyDrawnShape_Translate(PyObject *self, PyObject *args, PyObject *kwargs) {
6336 PyObject * _resultobj;
6337 wxPyDrawnShape * _arg0;
6338 double _arg1;
6339 double _arg2;
6340 PyObject * _argo0 = 0;
6341 char *_kwnames[] = { "self","x","y", NULL };
6342
6343 self = self;
6344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDrawnShape_Translate",_kwnames,&_argo0,&_arg1,&_arg2))
6345 return NULL;
6346 if (_argo0) {
6347 if (_argo0 == Py_None) { _arg0 = NULL; }
6348 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6349 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_Translate. Expected _wxPyDrawnShape_p.");
6350 return NULL;
6351 }
6352 }
6353 {
6354 wxPy_BEGIN_ALLOW_THREADS;
6355 wxPyDrawnShape_Translate(_arg0,_arg1,_arg2);
6356
6357 wxPy_END_ALLOW_THREADS;
6358 } Py_INCREF(Py_None);
6359 _resultobj = Py_None;
6360 return _resultobj;
6361 }
6362
6363 #define wxPyDrawnShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
6364 static PyObject *_wrap_wxPyDrawnShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
6365 PyObject * _resultobj;
6366 wxPyDrawnShape * _arg0;
6367 PyObject * _argo0 = 0;
6368 char *_kwnames[] = { "self", NULL };
6369
6370 self = self;
6371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_base_OnDelete",_kwnames,&_argo0))
6372 return NULL;
6373 if (_argo0) {
6374 if (_argo0 == Py_None) { _arg0 = NULL; }
6375 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6376 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDelete. Expected _wxPyDrawnShape_p.");
6377 return NULL;
6378 }
6379 }
6380 {
6381 wxPy_BEGIN_ALLOW_THREADS;
6382 wxPyDrawnShape_base_OnDelete(_arg0);
6383
6384 wxPy_END_ALLOW_THREADS;
6385 } Py_INCREF(Py_None);
6386 _resultobj = Py_None;
6387 return _resultobj;
6388 }
6389
6390 #define wxPyDrawnShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
6391 static PyObject *_wrap_wxPyDrawnShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
6392 PyObject * _resultobj;
6393 wxPyDrawnShape * _arg0;
6394 wxDC * _arg1;
6395 PyObject * _argo0 = 0;
6396 PyObject * _argo1 = 0;
6397 char *_kwnames[] = { "self","dc", NULL };
6398
6399 self = self;
6400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnDraw",_kwnames,&_argo0,&_argo1))
6401 return NULL;
6402 if (_argo0) {
6403 if (_argo0 == Py_None) { _arg0 = NULL; }
6404 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6405 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDraw. Expected _wxPyDrawnShape_p.");
6406 return NULL;
6407 }
6408 }
6409 if (_argo1) {
6410 if (_argo1 == Py_None) { _arg1 = NULL; }
6411 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
6412 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnDraw. Expected _wxDC_p.");
6413 return NULL;
6414 }
6415 }
6416 {
6417 wxPy_BEGIN_ALLOW_THREADS;
6418 wxPyDrawnShape_base_OnDraw(_arg0,*_arg1);
6419
6420 wxPy_END_ALLOW_THREADS;
6421 } Py_INCREF(Py_None);
6422 _resultobj = Py_None;
6423 return _resultobj;
6424 }
6425
6426 #define wxPyDrawnShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
6427 static PyObject *_wrap_wxPyDrawnShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
6428 PyObject * _resultobj;
6429 wxPyDrawnShape * _arg0;
6430 wxDC * _arg1;
6431 PyObject * _argo0 = 0;
6432 PyObject * _argo1 = 0;
6433 char *_kwnames[] = { "self","dc", NULL };
6434
6435 self = self;
6436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1))
6437 return NULL;
6438 if (_argo0) {
6439 if (_argo0 == Py_None) { _arg0 = NULL; }
6440 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6441 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDrawContents. Expected _wxPyDrawnShape_p.");
6442 return NULL;
6443 }
6444 }
6445 if (_argo1) {
6446 if (_argo1 == Py_None) { _arg1 = NULL; }
6447 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
6448 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnDrawContents. Expected _wxDC_p.");
6449 return NULL;
6450 }
6451 }
6452 {
6453 wxPy_BEGIN_ALLOW_THREADS;
6454 wxPyDrawnShape_base_OnDrawContents(_arg0,*_arg1);
6455
6456 wxPy_END_ALLOW_THREADS;
6457 } Py_INCREF(Py_None);
6458 _resultobj = Py_None;
6459 return _resultobj;
6460 }
6461
6462 #define wxPyDrawnShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
6463 static PyObject *_wrap_wxPyDrawnShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
6464 PyObject * _resultobj;
6465 wxPyDrawnShape * _arg0;
6466 wxDC * _arg1;
6467 bool _arg2 = (bool ) FALSE;
6468 PyObject * _argo0 = 0;
6469 PyObject * _argo1 = 0;
6470 int tempbool2 = (int) FALSE;
6471 char *_kwnames[] = { "self","dc","erase", NULL };
6472
6473 self = self;
6474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDrawnShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2))
6475 return NULL;
6476 if (_argo0) {
6477 if (_argo0 == Py_None) { _arg0 = NULL; }
6478 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6479 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDrawBranches. Expected _wxPyDrawnShape_p.");
6480 return NULL;
6481 }
6482 }
6483 if (_argo1) {
6484 if (_argo1 == Py_None) { _arg1 = NULL; }
6485 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
6486 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnDrawBranches. Expected _wxDC_p.");
6487 return NULL;
6488 }
6489 }
6490 _arg2 = (bool ) tempbool2;
6491 {
6492 wxPy_BEGIN_ALLOW_THREADS;
6493 wxPyDrawnShape_base_OnDrawBranches(_arg0,*_arg1,_arg2);
6494
6495 wxPy_END_ALLOW_THREADS;
6496 } Py_INCREF(Py_None);
6497 _resultobj = Py_None;
6498 return _resultobj;
6499 }
6500
6501 #define wxPyDrawnShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
6502 static PyObject *_wrap_wxPyDrawnShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
6503 PyObject * _resultobj;
6504 wxPyDrawnShape * _arg0;
6505 wxDC * _arg1;
6506 PyObject * _argo0 = 0;
6507 PyObject * _argo1 = 0;
6508 char *_kwnames[] = { "self","dc", NULL };
6509
6510 self = self;
6511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1))
6512 return NULL;
6513 if (_argo0) {
6514 if (_argo0 == Py_None) { _arg0 = NULL; }
6515 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6516 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnMoveLinks. Expected _wxPyDrawnShape_p.");
6517 return NULL;
6518 }
6519 }
6520 if (_argo1) {
6521 if (_argo1 == Py_None) { _arg1 = NULL; }
6522 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
6523 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnMoveLinks. Expected _wxDC_p.");
6524 return NULL;
6525 }
6526 }
6527 {
6528 wxPy_BEGIN_ALLOW_THREADS;
6529 wxPyDrawnShape_base_OnMoveLinks(_arg0,*_arg1);
6530
6531 wxPy_END_ALLOW_THREADS;
6532 } Py_INCREF(Py_None);
6533 _resultobj = Py_None;
6534 return _resultobj;
6535 }
6536
6537 #define wxPyDrawnShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
6538 static PyObject *_wrap_wxPyDrawnShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
6539 PyObject * _resultobj;
6540 wxPyDrawnShape * _arg0;
6541 wxDC * _arg1;
6542 PyObject * _argo0 = 0;
6543 PyObject * _argo1 = 0;
6544 char *_kwnames[] = { "self","dc", NULL };
6545
6546 self = self;
6547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnErase",_kwnames,&_argo0,&_argo1))
6548 return NULL;
6549 if (_argo0) {
6550 if (_argo0 == Py_None) { _arg0 = NULL; }
6551 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6552 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnErase. Expected _wxPyDrawnShape_p.");
6553 return NULL;
6554 }
6555 }
6556 if (_argo1) {
6557 if (_argo1 == Py_None) { _arg1 = NULL; }
6558 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
6559 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnErase. Expected _wxDC_p.");
6560 return NULL;
6561 }
6562 }
6563 {
6564 wxPy_BEGIN_ALLOW_THREADS;
6565 wxPyDrawnShape_base_OnErase(_arg0,*_arg1);
6566
6567 wxPy_END_ALLOW_THREADS;
6568 } Py_INCREF(Py_None);
6569 _resultobj = Py_None;
6570 return _resultobj;
6571 }
6572
6573 #define wxPyDrawnShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
6574 static PyObject *_wrap_wxPyDrawnShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
6575 PyObject * _resultobj;
6576 wxPyDrawnShape * _arg0;
6577 wxDC * _arg1;
6578 PyObject * _argo0 = 0;
6579 PyObject * _argo1 = 0;
6580 char *_kwnames[] = { "self","dc", NULL };
6581
6582 self = self;
6583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1))
6584 return NULL;
6585 if (_argo0) {
6586 if (_argo0 == Py_None) { _arg0 = NULL; }
6587 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6588 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnEraseContents. Expected _wxPyDrawnShape_p.");
6589 return NULL;
6590 }
6591 }
6592 if (_argo1) {
6593 if (_argo1 == Py_None) { _arg1 = NULL; }
6594 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
6595 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnEraseContents. Expected _wxDC_p.");
6596 return NULL;
6597 }
6598 }
6599 {
6600 wxPy_BEGIN_ALLOW_THREADS;
6601 wxPyDrawnShape_base_OnEraseContents(_arg0,*_arg1);
6602
6603 wxPy_END_ALLOW_THREADS;
6604 } Py_INCREF(Py_None);
6605 _resultobj = Py_None;
6606 return _resultobj;
6607 }
6608
6609 #define wxPyDrawnShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
6610 static PyObject *_wrap_wxPyDrawnShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
6611 PyObject * _resultobj;
6612 wxPyDrawnShape * _arg0;
6613 wxDC * _arg1;
6614 PyObject * _argo0 = 0;
6615 PyObject * _argo1 = 0;
6616 char *_kwnames[] = { "self","dc", NULL };
6617
6618 self = self;
6619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnHighlight",_kwnames,&_argo0,&_argo1))
6620 return NULL;
6621 if (_argo0) {
6622 if (_argo0 == Py_None) { _arg0 = NULL; }
6623 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6624 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnHighlight. Expected _wxPyDrawnShape_p.");
6625 return NULL;
6626 }
6627 }
6628 if (_argo1) {
6629 if (_argo1 == Py_None) { _arg1 = NULL; }
6630 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
6631 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnHighlight. Expected _wxDC_p.");
6632 return NULL;
6633 }
6634 }
6635 {
6636 wxPy_BEGIN_ALLOW_THREADS;
6637 wxPyDrawnShape_base_OnHighlight(_arg0,*_arg1);
6638
6639 wxPy_END_ALLOW_THREADS;
6640 } Py_INCREF(Py_None);
6641 _resultobj = Py_None;
6642 return _resultobj;
6643 }
6644
6645 #define wxPyDrawnShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6646 static PyObject *_wrap_wxPyDrawnShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
6647 PyObject * _resultobj;
6648 wxPyDrawnShape * _arg0;
6649 double _arg1;
6650 double _arg2;
6651 int _arg3 = (int ) 0;
6652 int _arg4 = (int ) 0;
6653 PyObject * _argo0 = 0;
6654 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
6655
6656 self = self;
6657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
6658 return NULL;
6659 if (_argo0) {
6660 if (_argo0 == Py_None) { _arg0 = NULL; }
6661 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6662 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnLeftClick. Expected _wxPyDrawnShape_p.");
6663 return NULL;
6664 }
6665 }
6666 {
6667 wxPy_BEGIN_ALLOW_THREADS;
6668 wxPyDrawnShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4);
6669
6670 wxPy_END_ALLOW_THREADS;
6671 } Py_INCREF(Py_None);
6672 _resultobj = Py_None;
6673 return _resultobj;
6674 }
6675
6676 #define wxPyDrawnShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6677 static PyObject *_wrap_wxPyDrawnShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
6678 PyObject * _resultobj;
6679 wxPyDrawnShape * _arg0;
6680 double _arg1;
6681 double _arg2;
6682 int _arg3 = (int ) 0;
6683 int _arg4 = (int ) 0;
6684 PyObject * _argo0 = 0;
6685 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
6686
6687 self = self;
6688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
6689 return NULL;
6690 if (_argo0) {
6691 if (_argo0 == Py_None) { _arg0 = NULL; }
6692 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6693 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnLeftDoubleClick. Expected _wxPyDrawnShape_p.");
6694 return NULL;
6695 }
6696 }
6697 {
6698 wxPy_BEGIN_ALLOW_THREADS;
6699 wxPyDrawnShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4);
6700
6701 wxPy_END_ALLOW_THREADS;
6702 } Py_INCREF(Py_None);
6703 _resultobj = Py_None;
6704 return _resultobj;
6705 }
6706
6707 #define wxPyDrawnShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6708 static PyObject *_wrap_wxPyDrawnShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
6709 PyObject * _resultobj;
6710 wxPyDrawnShape * _arg0;
6711 double _arg1;
6712 double _arg2;
6713 int _arg3 = (int ) 0;
6714 int _arg4 = (int ) 0;
6715 PyObject * _argo0 = 0;
6716 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
6717
6718 self = self;
6719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
6720 return NULL;
6721 if (_argo0) {
6722 if (_argo0 == Py_None) { _arg0 = NULL; }
6723 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6724 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnRightClick. Expected _wxPyDrawnShape_p.");
6725 return NULL;
6726 }
6727 }
6728 {
6729 wxPy_BEGIN_ALLOW_THREADS;
6730 wxPyDrawnShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4);
6731
6732 wxPy_END_ALLOW_THREADS;
6733 } Py_INCREF(Py_None);
6734 _resultobj = Py_None;
6735 return _resultobj;
6736 }
6737
6738 #define wxPyDrawnShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
6739 static PyObject *_wrap_wxPyDrawnShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6740 PyObject * _resultobj;
6741 wxPyDrawnShape * _arg0;
6742 double _arg1;
6743 double _arg2;
6744 PyObject * _argo0 = 0;
6745 char *_kwnames[] = { "self","x","y", NULL };
6746
6747 self = self;
6748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDrawnShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2))
6749 return NULL;
6750 if (_argo0) {
6751 if (_argo0 == Py_None) { _arg0 = NULL; }
6752 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6753 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnSize. Expected _wxPyDrawnShape_p.");
6754 return NULL;
6755 }
6756 }
6757 {
6758 wxPy_BEGIN_ALLOW_THREADS;
6759 wxPyDrawnShape_base_OnSize(_arg0,_arg1,_arg2);
6760
6761 wxPy_END_ALLOW_THREADS;
6762 } Py_INCREF(Py_None);
6763 _resultobj = Py_None;
6764 return _resultobj;
6765 }
6766
6767 #define wxPyDrawnShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6768 static PyObject *_wrap_wxPyDrawnShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
6769 PyObject * _resultobj;
6770 bool _result;
6771 wxPyDrawnShape * _arg0;
6772 wxDC * _arg1;
6773 double _arg2;
6774 double _arg3;
6775 double _arg4;
6776 double _arg5;
6777 bool _arg6 = (bool ) TRUE;
6778 PyObject * _argo0 = 0;
6779 PyObject * _argo1 = 0;
6780 int tempbool6 = (int) TRUE;
6781 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
6782
6783 self = self;
6784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDrawnShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
6785 return NULL;
6786 if (_argo0) {
6787 if (_argo0 == Py_None) { _arg0 = NULL; }
6788 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6789 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnMovePre. Expected _wxPyDrawnShape_p.");
6790 return NULL;
6791 }
6792 }
6793 if (_argo1) {
6794 if (_argo1 == Py_None) { _arg1 = NULL; }
6795 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
6796 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnMovePre. Expected _wxDC_p.");
6797 return NULL;
6798 }
6799 }
6800 _arg6 = (bool ) tempbool6;
6801 {
6802 wxPy_BEGIN_ALLOW_THREADS;
6803 _result = (bool )wxPyDrawnShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
6804
6805 wxPy_END_ALLOW_THREADS;
6806 } _resultobj = Py_BuildValue("i",_result);
6807 return _resultobj;
6808 }
6809
6810 #define wxPyDrawnShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6811 static PyObject *_wrap_wxPyDrawnShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
6812 PyObject * _resultobj;
6813 wxPyDrawnShape * _arg0;
6814 wxDC * _arg1;
6815 double _arg2;
6816 double _arg3;
6817 double _arg4;
6818 double _arg5;
6819 bool _arg6 = (bool ) TRUE;
6820 PyObject * _argo0 = 0;
6821 PyObject * _argo1 = 0;
6822 int tempbool6 = (int) TRUE;
6823 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
6824
6825 self = self;
6826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDrawnShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
6827 return NULL;
6828 if (_argo0) {
6829 if (_argo0 == Py_None) { _arg0 = NULL; }
6830 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6831 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnMovePost. Expected _wxPyDrawnShape_p.");
6832 return NULL;
6833 }
6834 }
6835 if (_argo1) {
6836 if (_argo1 == Py_None) { _arg1 = NULL; }
6837 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
6838 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnMovePost. Expected _wxDC_p.");
6839 return NULL;
6840 }
6841 }
6842 _arg6 = (bool ) tempbool6;
6843 {
6844 wxPy_BEGIN_ALLOW_THREADS;
6845 wxPyDrawnShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
6846
6847 wxPy_END_ALLOW_THREADS;
6848 } Py_INCREF(Py_None);
6849 _resultobj = Py_None;
6850 return _resultobj;
6851 }
6852
6853 #define wxPyDrawnShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6854 static PyObject *_wrap_wxPyDrawnShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
6855 PyObject * _resultobj;
6856 wxPyDrawnShape * _arg0;
6857 bool _arg1;
6858 double _arg2;
6859 double _arg3;
6860 int _arg4 = (int ) 0;
6861 int _arg5 = (int ) 0;
6862 PyObject * _argo0 = 0;
6863 int tempbool1;
6864 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
6865
6866 self = self;
6867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDrawnShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
6868 return NULL;
6869 if (_argo0) {
6870 if (_argo0 == Py_None) { _arg0 = NULL; }
6871 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6872 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDragLeft. Expected _wxPyDrawnShape_p.");
6873 return NULL;
6874 }
6875 }
6876 _arg1 = (bool ) tempbool1;
6877 {
6878 wxPy_BEGIN_ALLOW_THREADS;
6879 wxPyDrawnShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
6880
6881 wxPy_END_ALLOW_THREADS;
6882 } Py_INCREF(Py_None);
6883 _resultobj = Py_None;
6884 return _resultobj;
6885 }
6886
6887 #define wxPyDrawnShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6888 static PyObject *_wrap_wxPyDrawnShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
6889 PyObject * _resultobj;
6890 wxPyDrawnShape * _arg0;
6891 double _arg1;
6892 double _arg2;
6893 int _arg3 = (int ) 0;
6894 int _arg4 = (int ) 0;
6895 PyObject * _argo0 = 0;
6896 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
6897
6898 self = self;
6899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
6900 return NULL;
6901 if (_argo0) {
6902 if (_argo0 == Py_None) { _arg0 = NULL; }
6903 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6904 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnBeginDragLeft. Expected _wxPyDrawnShape_p.");
6905 return NULL;
6906 }
6907 }
6908 {
6909 wxPy_BEGIN_ALLOW_THREADS;
6910 wxPyDrawnShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
6911
6912 wxPy_END_ALLOW_THREADS;
6913 } Py_INCREF(Py_None);
6914 _resultobj = Py_None;
6915 return _resultobj;
6916 }
6917
6918 #define wxPyDrawnShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6919 static PyObject *_wrap_wxPyDrawnShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
6920 PyObject * _resultobj;
6921 wxPyDrawnShape * _arg0;
6922 double _arg1;
6923 double _arg2;
6924 int _arg3 = (int ) 0;
6925 int _arg4 = (int ) 0;
6926 PyObject * _argo0 = 0;
6927 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
6928
6929 self = self;
6930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
6931 return NULL;
6932 if (_argo0) {
6933 if (_argo0 == Py_None) { _arg0 = NULL; }
6934 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6935 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnEndDragLeft. Expected _wxPyDrawnShape_p.");
6936 return NULL;
6937 }
6938 }
6939 {
6940 wxPy_BEGIN_ALLOW_THREADS;
6941 wxPyDrawnShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
6942
6943 wxPy_END_ALLOW_THREADS;
6944 } Py_INCREF(Py_None);
6945 _resultobj = Py_None;
6946 return _resultobj;
6947 }
6948
6949 #define wxPyDrawnShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6950 static PyObject *_wrap_wxPyDrawnShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
6951 PyObject * _resultobj;
6952 wxPyDrawnShape * _arg0;
6953 bool _arg1;
6954 double _arg2;
6955 double _arg3;
6956 int _arg4 = (int ) 0;
6957 int _arg5 = (int ) 0;
6958 PyObject * _argo0 = 0;
6959 int tempbool1;
6960 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
6961
6962 self = self;
6963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDrawnShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
6964 return NULL;
6965 if (_argo0) {
6966 if (_argo0 == Py_None) { _arg0 = NULL; }
6967 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6968 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDragRight. Expected _wxPyDrawnShape_p.");
6969 return NULL;
6970 }
6971 }
6972 _arg1 = (bool ) tempbool1;
6973 {
6974 wxPy_BEGIN_ALLOW_THREADS;
6975 wxPyDrawnShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
6976
6977 wxPy_END_ALLOW_THREADS;
6978 } Py_INCREF(Py_None);
6979 _resultobj = Py_None;
6980 return _resultobj;
6981 }
6982
6983 #define wxPyDrawnShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6984 static PyObject *_wrap_wxPyDrawnShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
6985 PyObject * _resultobj;
6986 wxPyDrawnShape * _arg0;
6987 double _arg1;
6988 double _arg2;
6989 int _arg3 = (int ) 0;
6990 int _arg4 = (int ) 0;
6991 PyObject * _argo0 = 0;
6992 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
6993
6994 self = self;
6995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
6996 return NULL;
6997 if (_argo0) {
6998 if (_argo0 == Py_None) { _arg0 = NULL; }
6999 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7000 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnBeginDragRight. Expected _wxPyDrawnShape_p.");
7001 return NULL;
7002 }
7003 }
7004 {
7005 wxPy_BEGIN_ALLOW_THREADS;
7006 wxPyDrawnShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
7007
7008 wxPy_END_ALLOW_THREADS;
7009 } Py_INCREF(Py_None);
7010 _resultobj = Py_None;
7011 return _resultobj;
7012 }
7013
7014 #define wxPyDrawnShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7015 static PyObject *_wrap_wxPyDrawnShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
7016 PyObject * _resultobj;
7017 wxPyDrawnShape * _arg0;
7018 double _arg1;
7019 double _arg2;
7020 int _arg3 = (int ) 0;
7021 int _arg4 = (int ) 0;
7022 PyObject * _argo0 = 0;
7023 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
7024
7025 self = self;
7026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
7027 return NULL;
7028 if (_argo0) {
7029 if (_argo0 == Py_None) { _arg0 = NULL; }
7030 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7031 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnEndDragRight. Expected _wxPyDrawnShape_p.");
7032 return NULL;
7033 }
7034 }
7035 {
7036 wxPy_BEGIN_ALLOW_THREADS;
7037 wxPyDrawnShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
7038
7039 wxPy_END_ALLOW_THREADS;
7040 } Py_INCREF(Py_None);
7041 _resultobj = Py_None;
7042 return _resultobj;
7043 }
7044
7045 #define wxPyDrawnShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7046 static PyObject *_wrap_wxPyDrawnShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
7047 PyObject * _resultobj;
7048 wxPyDrawnShape * _arg0;
7049 wxDC * _arg1;
7050 double _arg2;
7051 double _arg3;
7052 double _arg4;
7053 double _arg5;
7054 PyObject * _argo0 = 0;
7055 PyObject * _argo1 = 0;
7056 char *_kwnames[] = { "self","dc","x","y","w","h", NULL };
7057
7058 self = self;
7059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyDrawnShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
7060 return NULL;
7061 if (_argo0) {
7062 if (_argo0 == Py_None) { _arg0 = NULL; }
7063 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7064 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDrawOutline. Expected _wxPyDrawnShape_p.");
7065 return NULL;
7066 }
7067 }
7068 if (_argo1) {
7069 if (_argo1 == Py_None) { _arg1 = NULL; }
7070 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7071 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnDrawOutline. Expected _wxDC_p.");
7072 return NULL;
7073 }
7074 }
7075 {
7076 wxPy_BEGIN_ALLOW_THREADS;
7077 wxPyDrawnShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5);
7078
7079 wxPy_END_ALLOW_THREADS;
7080 } Py_INCREF(Py_None);
7081 _resultobj = Py_None;
7082 return _resultobj;
7083 }
7084
7085 #define wxPyDrawnShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
7086 static PyObject *_wrap_wxPyDrawnShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
7087 PyObject * _resultobj;
7088 wxPyDrawnShape * _arg0;
7089 wxDC * _arg1;
7090 PyObject * _argo0 = 0;
7091 PyObject * _argo1 = 0;
7092 char *_kwnames[] = { "self","dc", NULL };
7093
7094 self = self;
7095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1))
7096 return NULL;
7097 if (_argo0) {
7098 if (_argo0 == Py_None) { _arg0 = NULL; }
7099 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7100 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDrawControlPoints. Expected _wxPyDrawnShape_p.");
7101 return NULL;
7102 }
7103 }
7104 if (_argo1) {
7105 if (_argo1 == Py_None) { _arg1 = NULL; }
7106 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7107 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnDrawControlPoints. Expected _wxDC_p.");
7108 return NULL;
7109 }
7110 }
7111 {
7112 wxPy_BEGIN_ALLOW_THREADS;
7113 wxPyDrawnShape_base_OnDrawControlPoints(_arg0,*_arg1);
7114
7115 wxPy_END_ALLOW_THREADS;
7116 } Py_INCREF(Py_None);
7117 _resultobj = Py_None;
7118 return _resultobj;
7119 }
7120
7121 #define wxPyDrawnShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
7122 static PyObject *_wrap_wxPyDrawnShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
7123 PyObject * _resultobj;
7124 wxPyDrawnShape * _arg0;
7125 wxDC * _arg1;
7126 PyObject * _argo0 = 0;
7127 PyObject * _argo1 = 0;
7128 char *_kwnames[] = { "self","dc", NULL };
7129
7130 self = self;
7131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1))
7132 return NULL;
7133 if (_argo0) {
7134 if (_argo0 == Py_None) { _arg0 = NULL; }
7135 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7136 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnEraseControlPoints. Expected _wxPyDrawnShape_p.");
7137 return NULL;
7138 }
7139 }
7140 if (_argo1) {
7141 if (_argo1 == Py_None) { _arg1 = NULL; }
7142 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7143 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnEraseControlPoints. Expected _wxDC_p.");
7144 return NULL;
7145 }
7146 }
7147 {
7148 wxPy_BEGIN_ALLOW_THREADS;
7149 wxPyDrawnShape_base_OnEraseControlPoints(_arg0,*_arg1);
7150
7151 wxPy_END_ALLOW_THREADS;
7152 } Py_INCREF(Py_None);
7153 _resultobj = Py_None;
7154 return _resultobj;
7155 }
7156
7157 #define wxPyDrawnShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
7158 static PyObject *_wrap_wxPyDrawnShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
7159 PyObject * _resultobj;
7160 wxPyDrawnShape * _arg0;
7161 wxDC * _arg1;
7162 bool _arg2 = (bool ) TRUE;
7163 PyObject * _argo0 = 0;
7164 PyObject * _argo1 = 0;
7165 int tempbool2 = (int) TRUE;
7166 char *_kwnames[] = { "self","dc","moveControlPoints", NULL };
7167
7168 self = self;
7169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDrawnShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2))
7170 return NULL;
7171 if (_argo0) {
7172 if (_argo0 == Py_None) { _arg0 = NULL; }
7173 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7174 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnMoveLink. Expected _wxPyDrawnShape_p.");
7175 return NULL;
7176 }
7177 }
7178 if (_argo1) {
7179 if (_argo1 == Py_None) { _arg1 = NULL; }
7180 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7181 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnMoveLink. Expected _wxDC_p.");
7182 return NULL;
7183 }
7184 }
7185 _arg2 = (bool ) tempbool2;
7186 {
7187 wxPy_BEGIN_ALLOW_THREADS;
7188 wxPyDrawnShape_base_OnMoveLink(_arg0,*_arg1,_arg2);
7189
7190 wxPy_END_ALLOW_THREADS;
7191 } Py_INCREF(Py_None);
7192 _resultobj = Py_None;
7193 return _resultobj;
7194 }
7195
7196 #define wxPyDrawnShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7197 static PyObject *_wrap_wxPyDrawnShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7198 PyObject * _resultobj;
7199 wxPyDrawnShape * _arg0;
7200 wxPyControlPoint * _arg1;
7201 bool _arg2;
7202 double _arg3;
7203 double _arg4;
7204 int _arg5 = (int ) 0;
7205 int _arg6 = (int ) 0;
7206 PyObject * _argo0 = 0;
7207 PyObject * _argo1 = 0;
7208 int tempbool2;
7209 char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL };
7210
7211 self = self;
7212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyDrawnShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6))
7213 return NULL;
7214 if (_argo0) {
7215 if (_argo0 == Py_None) { _arg0 = NULL; }
7216 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7217 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnSizingDragLeft. Expected _wxPyDrawnShape_p.");
7218 return NULL;
7219 }
7220 }
7221 if (_argo1) {
7222 if (_argo1 == Py_None) { _arg1 = NULL; }
7223 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
7224 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
7225 return NULL;
7226 }
7227 }
7228 _arg2 = (bool ) tempbool2;
7229 {
7230 wxPy_BEGIN_ALLOW_THREADS;
7231 wxPyDrawnShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
7232
7233 wxPy_END_ALLOW_THREADS;
7234 } Py_INCREF(Py_None);
7235 _resultobj = Py_None;
7236 return _resultobj;
7237 }
7238
7239 #define wxPyDrawnShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7240 static PyObject *_wrap_wxPyDrawnShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7241 PyObject * _resultobj;
7242 wxPyDrawnShape * _arg0;
7243 wxPyControlPoint * _arg1;
7244 double _arg2;
7245 double _arg3;
7246 int _arg4 = (int ) 0;
7247 int _arg5 = (int ) 0;
7248 PyObject * _argo0 = 0;
7249 PyObject * _argo1 = 0;
7250 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
7251
7252 self = self;
7253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDrawnShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
7254 return NULL;
7255 if (_argo0) {
7256 if (_argo0 == Py_None) { _arg0 = NULL; }
7257 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7258 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnSizingBeginDragLeft. Expected _wxPyDrawnShape_p.");
7259 return NULL;
7260 }
7261 }
7262 if (_argo1) {
7263 if (_argo1 == Py_None) { _arg1 = NULL; }
7264 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
7265 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
7266 return NULL;
7267 }
7268 }
7269 {
7270 wxPy_BEGIN_ALLOW_THREADS;
7271 wxPyDrawnShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
7272
7273 wxPy_END_ALLOW_THREADS;
7274 } Py_INCREF(Py_None);
7275 _resultobj = Py_None;
7276 return _resultobj;
7277 }
7278
7279 #define wxPyDrawnShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7280 static PyObject *_wrap_wxPyDrawnShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7281 PyObject * _resultobj;
7282 wxPyDrawnShape * _arg0;
7283 wxPyControlPoint * _arg1;
7284 double _arg2;
7285 double _arg3;
7286 int _arg4 = (int ) 0;
7287 int _arg5 = (int ) 0;
7288 PyObject * _argo0 = 0;
7289 PyObject * _argo1 = 0;
7290 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
7291
7292 self = self;
7293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDrawnShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
7294 return NULL;
7295 if (_argo0) {
7296 if (_argo0 == Py_None) { _arg0 = NULL; }
7297 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7298 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnSizingEndDragLeft. Expected _wxPyDrawnShape_p.");
7299 return NULL;
7300 }
7301 }
7302 if (_argo1) {
7303 if (_argo1 == Py_None) { _arg1 = NULL; }
7304 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
7305 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
7306 return NULL;
7307 }
7308 }
7309 {
7310 wxPy_BEGIN_ALLOW_THREADS;
7311 wxPyDrawnShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
7312
7313 wxPy_END_ALLOW_THREADS;
7314 } Py_INCREF(Py_None);
7315 _resultobj = Py_None;
7316 return _resultobj;
7317 }
7318
7319 #define wxPyDrawnShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
7320 static PyObject *_wrap_wxPyDrawnShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7321 PyObject * _resultobj;
7322 wxPyDrawnShape * _arg0;
7323 double _arg1;
7324 double _arg2;
7325 PyObject * _argo0 = 0;
7326 char *_kwnames[] = { "self","w","h", NULL };
7327
7328 self = self;
7329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDrawnShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2))
7330 return NULL;
7331 if (_argo0) {
7332 if (_argo0 == Py_None) { _arg0 = NULL; }
7333 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7334 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnBeginSize. Expected _wxPyDrawnShape_p.");
7335 return NULL;
7336 }
7337 }
7338 {
7339 wxPy_BEGIN_ALLOW_THREADS;
7340 wxPyDrawnShape_base_OnBeginSize(_arg0,_arg1,_arg2);
7341
7342 wxPy_END_ALLOW_THREADS;
7343 } Py_INCREF(Py_None);
7344 _resultobj = Py_None;
7345 return _resultobj;
7346 }
7347
7348 #define wxPyDrawnShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
7349 static PyObject *_wrap_wxPyDrawnShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7350 PyObject * _resultobj;
7351 wxPyDrawnShape * _arg0;
7352 double _arg1;
7353 double _arg2;
7354 PyObject * _argo0 = 0;
7355 char *_kwnames[] = { "self","w","h", NULL };
7356
7357 self = self;
7358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDrawnShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2))
7359 return NULL;
7360 if (_argo0) {
7361 if (_argo0 == Py_None) { _arg0 = NULL; }
7362 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7363 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnEndSize. Expected _wxPyDrawnShape_p.");
7364 return NULL;
7365 }
7366 }
7367 {
7368 wxPy_BEGIN_ALLOW_THREADS;
7369 wxPyDrawnShape_base_OnEndSize(_arg0,_arg1,_arg2);
7370
7371 wxPy_END_ALLOW_THREADS;
7372 } Py_INCREF(Py_None);
7373 _resultobj = Py_None;
7374 return _resultobj;
7375 }
7376
7377 static wxOGLConstraint *new_wxOGLConstraint(int type,wxPyShape *constraining,PyObject *constrained) {
7378 wxList* list = wxPy_wxListHelper(constrained, "_wxPyShape_p");
7379 wxOGLConstraint* rv = new wxOGLConstraint(type, constraining, *list);
7380 delete list;
7381 return rv;
7382 }
7383
7384 static PyObject *_wrap_new_wxOGLConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
7385 PyObject * _resultobj;
7386 wxOGLConstraint * _result;
7387 int _arg0;
7388 wxPyShape * _arg1;
7389 PyObject * _arg2;
7390 PyObject * _argo1 = 0;
7391 PyObject * _obj2 = 0;
7392 char *_kwnames[] = { "type","constraining","constrained", NULL };
7393 char _ptemp[128];
7394
7395 self = self;
7396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iOO:new_wxOGLConstraint",_kwnames,&_arg0,&_argo1,&_obj2))
7397 return NULL;
7398 if (_argo1) {
7399 if (_argo1 == Py_None) { _arg1 = NULL; }
7400 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) {
7401 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxOGLConstraint. Expected _wxPyShape_p.");
7402 return NULL;
7403 }
7404 }
7405 {
7406 _arg2 = _obj2;
7407 }
7408 {
7409 wxPy_BEGIN_ALLOW_THREADS;
7410 _result = (wxOGLConstraint *)new_wxOGLConstraint(_arg0,_arg1,_arg2);
7411
7412 wxPy_END_ALLOW_THREADS;
7413 } if (_result) {
7414 SWIG_MakePtr(_ptemp, (char *) _result,"_wxOGLConstraint_p");
7415 _resultobj = Py_BuildValue("s",_ptemp);
7416 } else {
7417 Py_INCREF(Py_None);
7418 _resultobj = Py_None;
7419 }
7420 return _resultobj;
7421 }
7422
7423 #define wxOGLConstraint_Evaluate(_swigobj) (_swigobj->Evaluate())
7424 static PyObject *_wrap_wxOGLConstraint_Evaluate(PyObject *self, PyObject *args, PyObject *kwargs) {
7425 PyObject * _resultobj;
7426 bool _result;
7427 wxOGLConstraint * _arg0;
7428 PyObject * _argo0 = 0;
7429 char *_kwnames[] = { "self", NULL };
7430
7431 self = self;
7432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxOGLConstraint_Evaluate",_kwnames,&_argo0))
7433 return NULL;
7434 if (_argo0) {
7435 if (_argo0 == Py_None) { _arg0 = NULL; }
7436 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxOGLConstraint_p")) {
7437 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxOGLConstraint_Evaluate. Expected _wxOGLConstraint_p.");
7438 return NULL;
7439 }
7440 }
7441 {
7442 wxPy_BEGIN_ALLOW_THREADS;
7443 _result = (bool )wxOGLConstraint_Evaluate(_arg0);
7444
7445 wxPy_END_ALLOW_THREADS;
7446 } _resultobj = Py_BuildValue("i",_result);
7447 return _resultobj;
7448 }
7449
7450 #define wxOGLConstraint_SetSpacing(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSpacing(_swigarg0,_swigarg1))
7451 static PyObject *_wrap_wxOGLConstraint_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
7452 PyObject * _resultobj;
7453 wxOGLConstraint * _arg0;
7454 double _arg1;
7455 double _arg2;
7456 PyObject * _argo0 = 0;
7457 char *_kwnames[] = { "self","x","y", NULL };
7458
7459 self = self;
7460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxOGLConstraint_SetSpacing",_kwnames,&_argo0,&_arg1,&_arg2))
7461 return NULL;
7462 if (_argo0) {
7463 if (_argo0 == Py_None) { _arg0 = NULL; }
7464 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxOGLConstraint_p")) {
7465 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxOGLConstraint_SetSpacing. Expected _wxOGLConstraint_p.");
7466 return NULL;
7467 }
7468 }
7469 {
7470 wxPy_BEGIN_ALLOW_THREADS;
7471 wxOGLConstraint_SetSpacing(_arg0,_arg1,_arg2);
7472
7473 wxPy_END_ALLOW_THREADS;
7474 } Py_INCREF(Py_None);
7475 _resultobj = Py_None;
7476 return _resultobj;
7477 }
7478
7479 #define wxOGLConstraint_Equals(_swigobj,_swigarg0,_swigarg1) (_swigobj->Equals(_swigarg0,_swigarg1))
7480 static PyObject *_wrap_wxOGLConstraint_Equals(PyObject *self, PyObject *args, PyObject *kwargs) {
7481 PyObject * _resultobj;
7482 bool _result;
7483 wxOGLConstraint * _arg0;
7484 double _arg1;
7485 double _arg2;
7486 PyObject * _argo0 = 0;
7487 char *_kwnames[] = { "self","a","b", NULL };
7488
7489 self = self;
7490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxOGLConstraint_Equals",_kwnames,&_argo0,&_arg1,&_arg2))
7491 return NULL;
7492 if (_argo0) {
7493 if (_argo0 == Py_None) { _arg0 = NULL; }
7494 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxOGLConstraint_p")) {
7495 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxOGLConstraint_Equals. Expected _wxOGLConstraint_p.");
7496 return NULL;
7497 }
7498 }
7499 {
7500 wxPy_BEGIN_ALLOW_THREADS;
7501 _result = (bool )wxOGLConstraint_Equals(_arg0,_arg1,_arg2);
7502
7503 wxPy_END_ALLOW_THREADS;
7504 } _resultobj = Py_BuildValue("i",_result);
7505 return _resultobj;
7506 }
7507
7508 static void *SwigwxPyCompositeShapeTowxPyRectangleShape(void *ptr) {
7509 wxPyCompositeShape *src;
7510 wxPyRectangleShape *dest;
7511 src = (wxPyCompositeShape *) ptr;
7512 dest = (wxPyRectangleShape *) src;
7513 return (void *) dest;
7514 }
7515
7516 static void *SwigwxPyCompositeShapeTowxPyShape(void *ptr) {
7517 wxPyCompositeShape *src;
7518 wxPyShape *dest;
7519 src = (wxPyCompositeShape *) ptr;
7520 dest = (wxPyShape *) src;
7521 return (void *) dest;
7522 }
7523
7524 static void *SwigwxPyCompositeShapeTowxPyShapeEvtHandler(void *ptr) {
7525 wxPyCompositeShape *src;
7526 wxPyShapeEvtHandler *dest;
7527 src = (wxPyCompositeShape *) ptr;
7528 dest = (wxPyShapeEvtHandler *) src;
7529 return (void *) dest;
7530 }
7531
7532 #define new_wxPyCompositeShape() (new wxPyCompositeShape())
7533 static PyObject *_wrap_new_wxPyCompositeShape(PyObject *self, PyObject *args, PyObject *kwargs) {
7534 PyObject * _resultobj;
7535 wxPyCompositeShape * _result;
7536 char *_kwnames[] = { NULL };
7537 char _ptemp[128];
7538
7539 self = self;
7540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyCompositeShape",_kwnames))
7541 return NULL;
7542 {
7543 wxPy_BEGIN_ALLOW_THREADS;
7544 _result = (wxPyCompositeShape *)new_wxPyCompositeShape();
7545
7546 wxPy_END_ALLOW_THREADS;
7547 } if (_result) {
7548 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyCompositeShape_p");
7549 _resultobj = Py_BuildValue("s",_ptemp);
7550 } else {
7551 Py_INCREF(Py_None);
7552 _resultobj = Py_None;
7553 }
7554 return _resultobj;
7555 }
7556
7557 #define wxPyCompositeShape__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
7558 static PyObject *_wrap_wxPyCompositeShape__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
7559 PyObject * _resultobj;
7560 wxPyCompositeShape * _arg0;
7561 PyObject * _arg1;
7562 PyObject * _arg2;
7563 PyObject * _argo0 = 0;
7564 PyObject * _obj1 = 0;
7565 PyObject * _obj2 = 0;
7566 char *_kwnames[] = { "self","self","_class", NULL };
7567
7568 self = self;
7569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyCompositeShape__setSelf",_kwnames,&_argo0,&_obj1,&_obj2))
7570 return NULL;
7571 if (_argo0) {
7572 if (_argo0 == Py_None) { _arg0 = NULL; }
7573 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7574 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape__setSelf. Expected _wxPyCompositeShape_p.");
7575 return NULL;
7576 }
7577 }
7578 {
7579 _arg1 = _obj1;
7580 }
7581 {
7582 _arg2 = _obj2;
7583 }
7584 {
7585 wxPy_BEGIN_ALLOW_THREADS;
7586 wxPyCompositeShape__setSelf(_arg0,_arg1,_arg2);
7587
7588 wxPy_END_ALLOW_THREADS;
7589 } Py_INCREF(Py_None);
7590 _resultobj = Py_None;
7591 return _resultobj;
7592 }
7593
7594 #define wxPyCompositeShape_AddChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddChild(_swigarg0,_swigarg1))
7595 static PyObject *_wrap_wxPyCompositeShape_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
7596 PyObject * _resultobj;
7597 wxPyCompositeShape * _arg0;
7598 wxPyShape * _arg1;
7599 wxPyShape * _arg2 = (wxPyShape *) NULL;
7600 PyObject * _argo0 = 0;
7601 PyObject * _argo1 = 0;
7602 PyObject * _argo2 = 0;
7603 char *_kwnames[] = { "self","child","addAfter", NULL };
7604
7605 self = self;
7606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxPyCompositeShape_AddChild",_kwnames,&_argo0,&_argo1,&_argo2))
7607 return NULL;
7608 if (_argo0) {
7609 if (_argo0 == Py_None) { _arg0 = NULL; }
7610 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7611 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_AddChild. Expected _wxPyCompositeShape_p.");
7612 return NULL;
7613 }
7614 }
7615 if (_argo1) {
7616 if (_argo1 == Py_None) { _arg1 = NULL; }
7617 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) {
7618 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_AddChild. Expected _wxPyShape_p.");
7619 return NULL;
7620 }
7621 }
7622 if (_argo2) {
7623 if (_argo2 == Py_None) { _arg2 = NULL; }
7624 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyShape_p")) {
7625 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyCompositeShape_AddChild. Expected _wxPyShape_p.");
7626 return NULL;
7627 }
7628 }
7629 {
7630 wxPy_BEGIN_ALLOW_THREADS;
7631 wxPyCompositeShape_AddChild(_arg0,_arg1,_arg2);
7632
7633 wxPy_END_ALLOW_THREADS;
7634 } Py_INCREF(Py_None);
7635 _resultobj = Py_None;
7636 return _resultobj;
7637 }
7638
7639 #define wxPyCompositeShape_AddConstraint(_swigobj,_swigarg0) (_swigobj->AddConstraint(_swigarg0))
7640 static PyObject *_wrap_wxPyCompositeShape_AddConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
7641 PyObject * _resultobj;
7642 wxOGLConstraint * _result;
7643 wxPyCompositeShape * _arg0;
7644 wxOGLConstraint * _arg1;
7645 PyObject * _argo0 = 0;
7646 PyObject * _argo1 = 0;
7647 char *_kwnames[] = { "self","constraint", NULL };
7648 char _ptemp[128];
7649
7650 self = self;
7651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_AddConstraint",_kwnames,&_argo0,&_argo1))
7652 return NULL;
7653 if (_argo0) {
7654 if (_argo0 == Py_None) { _arg0 = NULL; }
7655 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7656 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_AddConstraint. Expected _wxPyCompositeShape_p.");
7657 return NULL;
7658 }
7659 }
7660 if (_argo1) {
7661 if (_argo1 == Py_None) { _arg1 = NULL; }
7662 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxOGLConstraint_p")) {
7663 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_AddConstraint. Expected _wxOGLConstraint_p.");
7664 return NULL;
7665 }
7666 }
7667 {
7668 wxPy_BEGIN_ALLOW_THREADS;
7669 _result = (wxOGLConstraint *)wxPyCompositeShape_AddConstraint(_arg0,_arg1);
7670
7671 wxPy_END_ALLOW_THREADS;
7672 } if (_result) {
7673 SWIG_MakePtr(_ptemp, (char *) _result,"_wxOGLConstraint_p");
7674 _resultobj = Py_BuildValue("s",_ptemp);
7675 } else {
7676 Py_INCREF(Py_None);
7677 _resultobj = Py_None;
7678 }
7679 return _resultobj;
7680 }
7681
7682 static wxOGLConstraint * wxPyCompositeShape_AddConstrainedShapes(wxPyCompositeShape *self,int type,wxPyShape * constraining,PyObject * constrained) {
7683 wxList* list = wxPy_wxListHelper(constrained, "_wxPyShape_p");
7684 wxOGLConstraint* rv = self->AddConstraint(type, constraining, *list);
7685 delete list;
7686 return rv;
7687 }
7688 static PyObject *_wrap_wxPyCompositeShape_AddConstrainedShapes(PyObject *self, PyObject *args, PyObject *kwargs) {
7689 PyObject * _resultobj;
7690 wxOGLConstraint * _result;
7691 wxPyCompositeShape * _arg0;
7692 int _arg1;
7693 wxPyShape * _arg2;
7694 PyObject * _arg3;
7695 PyObject * _argo0 = 0;
7696 PyObject * _argo2 = 0;
7697 PyObject * _obj3 = 0;
7698 char *_kwnames[] = { "self","type","constraining","constrained", NULL };
7699 char _ptemp[128];
7700
7701 self = self;
7702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO:wxPyCompositeShape_AddConstrainedShapes",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3))
7703 return NULL;
7704 if (_argo0) {
7705 if (_argo0 == Py_None) { _arg0 = NULL; }
7706 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7707 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_AddConstrainedShapes. Expected _wxPyCompositeShape_p.");
7708 return NULL;
7709 }
7710 }
7711 if (_argo2) {
7712 if (_argo2 == Py_None) { _arg2 = NULL; }
7713 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyShape_p")) {
7714 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyCompositeShape_AddConstrainedShapes. Expected _wxPyShape_p.");
7715 return NULL;
7716 }
7717 }
7718 {
7719 _arg3 = _obj3;
7720 }
7721 {
7722 wxPy_BEGIN_ALLOW_THREADS;
7723 _result = (wxOGLConstraint *)wxPyCompositeShape_AddConstrainedShapes(_arg0,_arg1,_arg2,_arg3);
7724
7725 wxPy_END_ALLOW_THREADS;
7726 } if (_result) {
7727 SWIG_MakePtr(_ptemp, (char *) _result,"_wxOGLConstraint_p");
7728 _resultobj = Py_BuildValue("s",_ptemp);
7729 } else {
7730 Py_INCREF(Py_None);
7731 _resultobj = Py_None;
7732 }
7733 return _resultobj;
7734 }
7735
7736 #define wxPyCompositeShape_AddSimpleConstraint(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AddConstraint(_swigarg0,_swigarg1,_swigarg2))
7737 static PyObject *_wrap_wxPyCompositeShape_AddSimpleConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
7738 PyObject * _resultobj;
7739 wxOGLConstraint * _result;
7740 wxPyCompositeShape * _arg0;
7741 int _arg1;
7742 wxPyShape * _arg2;
7743 wxPyShape * _arg3;
7744 PyObject * _argo0 = 0;
7745 PyObject * _argo2 = 0;
7746 PyObject * _argo3 = 0;
7747 char *_kwnames[] = { "self","type","constraining","constrained", NULL };
7748 char _ptemp[128];
7749
7750 self = self;
7751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO:wxPyCompositeShape_AddSimpleConstraint",_kwnames,&_argo0,&_arg1,&_argo2,&_argo3))
7752 return NULL;
7753 if (_argo0) {
7754 if (_argo0 == Py_None) { _arg0 = NULL; }
7755 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7756 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_AddSimpleConstraint. Expected _wxPyCompositeShape_p.");
7757 return NULL;
7758 }
7759 }
7760 if (_argo2) {
7761 if (_argo2 == Py_None) { _arg2 = NULL; }
7762 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyShape_p")) {
7763 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyCompositeShape_AddSimpleConstraint. Expected _wxPyShape_p.");
7764 return NULL;
7765 }
7766 }
7767 if (_argo3) {
7768 if (_argo3 == Py_None) { _arg3 = NULL; }
7769 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxPyShape_p")) {
7770 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxPyCompositeShape_AddSimpleConstraint. Expected _wxPyShape_p.");
7771 return NULL;
7772 }
7773 }
7774 {
7775 wxPy_BEGIN_ALLOW_THREADS;
7776 _result = (wxOGLConstraint *)wxPyCompositeShape_AddSimpleConstraint(_arg0,_arg1,_arg2,_arg3);
7777
7778 wxPy_END_ALLOW_THREADS;
7779 } if (_result) {
7780 SWIG_MakePtr(_ptemp, (char *) _result,"_wxOGLConstraint_p");
7781 _resultobj = Py_BuildValue("s",_ptemp);
7782 } else {
7783 Py_INCREF(Py_None);
7784 _resultobj = Py_None;
7785 }
7786 return _resultobj;
7787 }
7788
7789 #define wxPyCompositeShape_CalculateSize(_swigobj) (_swigobj->CalculateSize())
7790 static PyObject *_wrap_wxPyCompositeShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7791 PyObject * _resultobj;
7792 wxPyCompositeShape * _arg0;
7793 PyObject * _argo0 = 0;
7794 char *_kwnames[] = { "self", NULL };
7795
7796 self = self;
7797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_CalculateSize",_kwnames,&_argo0))
7798 return NULL;
7799 if (_argo0) {
7800 if (_argo0 == Py_None) { _arg0 = NULL; }
7801 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7802 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_CalculateSize. Expected _wxPyCompositeShape_p.");
7803 return NULL;
7804 }
7805 }
7806 {
7807 wxPy_BEGIN_ALLOW_THREADS;
7808 wxPyCompositeShape_CalculateSize(_arg0);
7809
7810 wxPy_END_ALLOW_THREADS;
7811 } Py_INCREF(Py_None);
7812 _resultobj = Py_None;
7813 return _resultobj;
7814 }
7815
7816 #define wxPyCompositeShape_ContainsDivision(_swigobj,_swigarg0) (_swigobj->ContainsDivision(_swigarg0))
7817 static PyObject *_wrap_wxPyCompositeShape_ContainsDivision(PyObject *self, PyObject *args, PyObject *kwargs) {
7818 PyObject * _resultobj;
7819 bool _result;
7820 wxPyCompositeShape * _arg0;
7821 wxPyDivisionShape * _arg1;
7822 PyObject * _argo0 = 0;
7823 PyObject * _argo1 = 0;
7824 char *_kwnames[] = { "self","division", NULL };
7825
7826 self = self;
7827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_ContainsDivision",_kwnames,&_argo0,&_argo1))
7828 return NULL;
7829 if (_argo0) {
7830 if (_argo0 == Py_None) { _arg0 = NULL; }
7831 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7832 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_ContainsDivision. Expected _wxPyCompositeShape_p.");
7833 return NULL;
7834 }
7835 }
7836 if (_argo1) {
7837 if (_argo1 == Py_None) { _arg1 = NULL; }
7838 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyDivisionShape_p")) {
7839 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_ContainsDivision. Expected _wxPyDivisionShape_p.");
7840 return NULL;
7841 }
7842 }
7843 {
7844 wxPy_BEGIN_ALLOW_THREADS;
7845 _result = (bool )wxPyCompositeShape_ContainsDivision(_arg0,_arg1);
7846
7847 wxPy_END_ALLOW_THREADS;
7848 } _resultobj = Py_BuildValue("i",_result);
7849 return _resultobj;
7850 }
7851
7852 #define wxPyCompositeShape_DeleteConstraint(_swigobj,_swigarg0) (_swigobj->DeleteConstraint(_swigarg0))
7853 static PyObject *_wrap_wxPyCompositeShape_DeleteConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
7854 PyObject * _resultobj;
7855 wxPyCompositeShape * _arg0;
7856 wxOGLConstraint * _arg1;
7857 PyObject * _argo0 = 0;
7858 PyObject * _argo1 = 0;
7859 char *_kwnames[] = { "self","constraint", NULL };
7860
7861 self = self;
7862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_DeleteConstraint",_kwnames,&_argo0,&_argo1))
7863 return NULL;
7864 if (_argo0) {
7865 if (_argo0 == Py_None) { _arg0 = NULL; }
7866 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7867 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_DeleteConstraint. Expected _wxPyCompositeShape_p.");
7868 return NULL;
7869 }
7870 }
7871 if (_argo1) {
7872 if (_argo1 == Py_None) { _arg1 = NULL; }
7873 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxOGLConstraint_p")) {
7874 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_DeleteConstraint. Expected _wxOGLConstraint_p.");
7875 return NULL;
7876 }
7877 }
7878 {
7879 wxPy_BEGIN_ALLOW_THREADS;
7880 wxPyCompositeShape_DeleteConstraint(_arg0,_arg1);
7881
7882 wxPy_END_ALLOW_THREADS;
7883 } Py_INCREF(Py_None);
7884 _resultobj = Py_None;
7885 return _resultobj;
7886 }
7887
7888 #define wxPyCompositeShape_DeleteConstraintsInvolvingChild(_swigobj,_swigarg0) (_swigobj->DeleteConstraintsInvolvingChild(_swigarg0))
7889 static PyObject *_wrap_wxPyCompositeShape_DeleteConstraintsInvolvingChild(PyObject *self, PyObject *args, PyObject *kwargs) {
7890 PyObject * _resultobj;
7891 wxPyCompositeShape * _arg0;
7892 wxPyShape * _arg1;
7893 PyObject * _argo0 = 0;
7894 PyObject * _argo1 = 0;
7895 char *_kwnames[] = { "self","child", NULL };
7896
7897 self = self;
7898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_DeleteConstraintsInvolvingChild",_kwnames,&_argo0,&_argo1))
7899 return NULL;
7900 if (_argo0) {
7901 if (_argo0 == Py_None) { _arg0 = NULL; }
7902 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7903 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_DeleteConstraintsInvolvingChild. Expected _wxPyCompositeShape_p.");
7904 return NULL;
7905 }
7906 }
7907 if (_argo1) {
7908 if (_argo1 == Py_None) { _arg1 = NULL; }
7909 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) {
7910 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_DeleteConstraintsInvolvingChild. Expected _wxPyShape_p.");
7911 return NULL;
7912 }
7913 }
7914 {
7915 wxPy_BEGIN_ALLOW_THREADS;
7916 wxPyCompositeShape_DeleteConstraintsInvolvingChild(_arg0,_arg1);
7917
7918 wxPy_END_ALLOW_THREADS;
7919 } Py_INCREF(Py_None);
7920 _resultobj = Py_None;
7921 return _resultobj;
7922 }
7923
7924 #define wxPyCompositeShape_FindContainerImage(_swigobj) (_swigobj->FindContainerImage())
7925 static PyObject *_wrap_wxPyCompositeShape_FindContainerImage(PyObject *self, PyObject *args, PyObject *kwargs) {
7926 PyObject * _resultobj;
7927 wxPyShape * _result;
7928 wxPyCompositeShape * _arg0;
7929 PyObject * _argo0 = 0;
7930 char *_kwnames[] = { "self", NULL };
7931 char _ptemp[128];
7932
7933 self = self;
7934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_FindContainerImage",_kwnames,&_argo0))
7935 return NULL;
7936 if (_argo0) {
7937 if (_argo0 == Py_None) { _arg0 = NULL; }
7938 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7939 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_FindContainerImage. Expected _wxPyCompositeShape_p.");
7940 return NULL;
7941 }
7942 }
7943 {
7944 wxPy_BEGIN_ALLOW_THREADS;
7945 _result = (wxPyShape *)wxPyCompositeShape_FindContainerImage(_arg0);
7946
7947 wxPy_END_ALLOW_THREADS;
7948 } if (_result) {
7949 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyShape_p");
7950 _resultobj = Py_BuildValue("s",_ptemp);
7951 } else {
7952 Py_INCREF(Py_None);
7953 _resultobj = Py_None;
7954 }
7955 return _resultobj;
7956 }
7957
7958 static PyObject * wxPyCompositeShape_GetConstraints(wxPyCompositeShape *self) {
7959 wxList& list = self->GetConstraints();
7960 return wxPy_ConvertList(&list, "wxOGLConstraint");
7961 }
7962 static PyObject *_wrap_wxPyCompositeShape_GetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
7963 PyObject * _resultobj;
7964 PyObject * _result;
7965 wxPyCompositeShape * _arg0;
7966 PyObject * _argo0 = 0;
7967 char *_kwnames[] = { "self", NULL };
7968
7969 self = self;
7970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_GetConstraints",_kwnames,&_argo0))
7971 return NULL;
7972 if (_argo0) {
7973 if (_argo0 == Py_None) { _arg0 = NULL; }
7974 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7975 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_GetConstraints. Expected _wxPyCompositeShape_p.");
7976 return NULL;
7977 }
7978 }
7979 {
7980 wxPy_BEGIN_ALLOW_THREADS;
7981 _result = (PyObject *)wxPyCompositeShape_GetConstraints(_arg0);
7982
7983 wxPy_END_ALLOW_THREADS;
7984 }{
7985 _resultobj = _result;
7986 }
7987 return _resultobj;
7988 }
7989
7990 static PyObject * wxPyCompositeShape_GetDivisions(wxPyCompositeShape *self) {
7991 wxList& list = self->GetDivisions();
7992 return wxPy_ConvertList(&list, "wxPyDivisionShape");
7993 }
7994 static PyObject *_wrap_wxPyCompositeShape_GetDivisions(PyObject *self, PyObject *args, PyObject *kwargs) {
7995 PyObject * _resultobj;
7996 PyObject * _result;
7997 wxPyCompositeShape * _arg0;
7998 PyObject * _argo0 = 0;
7999 char *_kwnames[] = { "self", NULL };
8000
8001 self = self;
8002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_GetDivisions",_kwnames,&_argo0))
8003 return NULL;
8004 if (_argo0) {
8005 if (_argo0 == Py_None) { _arg0 = NULL; }
8006 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8007 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_GetDivisions. Expected _wxPyCompositeShape_p.");
8008 return NULL;
8009 }
8010 }
8011 {
8012 wxPy_BEGIN_ALLOW_THREADS;
8013 _result = (PyObject *)wxPyCompositeShape_GetDivisions(_arg0);
8014
8015 wxPy_END_ALLOW_THREADS;
8016 }{
8017 _resultobj = _result;
8018 }
8019 return _resultobj;
8020 }
8021
8022 #define wxPyCompositeShape_MakeContainer(_swigobj) (_swigobj->MakeContainer())
8023 static PyObject *_wrap_wxPyCompositeShape_MakeContainer(PyObject *self, PyObject *args, PyObject *kwargs) {
8024 PyObject * _resultobj;
8025 wxPyCompositeShape * _arg0;
8026 PyObject * _argo0 = 0;
8027 char *_kwnames[] = { "self", NULL };
8028
8029 self = self;
8030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_MakeContainer",_kwnames,&_argo0))
8031 return NULL;
8032 if (_argo0) {
8033 if (_argo0 == Py_None) { _arg0 = NULL; }
8034 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8035 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_MakeContainer. Expected _wxPyCompositeShape_p.");
8036 return NULL;
8037 }
8038 }
8039 {
8040 wxPy_BEGIN_ALLOW_THREADS;
8041 wxPyCompositeShape_MakeContainer(_arg0);
8042
8043 wxPy_END_ALLOW_THREADS;
8044 } Py_INCREF(Py_None);
8045 _resultobj = Py_None;
8046 return _resultobj;
8047 }
8048
8049 #define wxPyCompositeShape_Recompute(_swigobj) (_swigobj->Recompute())
8050 static PyObject *_wrap_wxPyCompositeShape_Recompute(PyObject *self, PyObject *args, PyObject *kwargs) {
8051 PyObject * _resultobj;
8052 bool _result;
8053 wxPyCompositeShape * _arg0;
8054 PyObject * _argo0 = 0;
8055 char *_kwnames[] = { "self", NULL };
8056
8057 self = self;
8058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_Recompute",_kwnames,&_argo0))
8059 return NULL;
8060 if (_argo0) {
8061 if (_argo0 == Py_None) { _arg0 = NULL; }
8062 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8063 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_Recompute. Expected _wxPyCompositeShape_p.");
8064 return NULL;
8065 }
8066 }
8067 {
8068 wxPy_BEGIN_ALLOW_THREADS;
8069 _result = (bool )wxPyCompositeShape_Recompute(_arg0);
8070
8071 wxPy_END_ALLOW_THREADS;
8072 } _resultobj = Py_BuildValue("i",_result);
8073 return _resultobj;
8074 }
8075
8076 #define wxPyCompositeShape_RemoveChild(_swigobj,_swigarg0) (_swigobj->RemoveChild(_swigarg0))
8077 static PyObject *_wrap_wxPyCompositeShape_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
8078 PyObject * _resultobj;
8079 wxPyCompositeShape * _arg0;
8080 wxPyShape * _arg1;
8081 PyObject * _argo0 = 0;
8082 PyObject * _argo1 = 0;
8083 char *_kwnames[] = { "self","child", NULL };
8084
8085 self = self;
8086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_RemoveChild",_kwnames,&_argo0,&_argo1))
8087 return NULL;
8088 if (_argo0) {
8089 if (_argo0 == Py_None) { _arg0 = NULL; }
8090 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8091 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_RemoveChild. Expected _wxPyCompositeShape_p.");
8092 return NULL;
8093 }
8094 }
8095 if (_argo1) {
8096 if (_argo1 == Py_None) { _arg1 = NULL; }
8097 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) {
8098 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_RemoveChild. Expected _wxPyShape_p.");
8099 return NULL;
8100 }
8101 }
8102 {
8103 wxPy_BEGIN_ALLOW_THREADS;
8104 wxPyCompositeShape_RemoveChild(_arg0,_arg1);
8105
8106 wxPy_END_ALLOW_THREADS;
8107 } Py_INCREF(Py_None);
8108 _resultobj = Py_None;
8109 return _resultobj;
8110 }
8111
8112 #define wxPyCompositeShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
8113 static PyObject *_wrap_wxPyCompositeShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
8114 PyObject * _resultobj;
8115 wxPyCompositeShape * _arg0;
8116 PyObject * _argo0 = 0;
8117 char *_kwnames[] = { "self", NULL };
8118
8119 self = self;
8120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_base_OnDelete",_kwnames,&_argo0))
8121 return NULL;
8122 if (_argo0) {
8123 if (_argo0 == Py_None) { _arg0 = NULL; }
8124 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8125 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDelete. Expected _wxPyCompositeShape_p.");
8126 return NULL;
8127 }
8128 }
8129 {
8130 wxPy_BEGIN_ALLOW_THREADS;
8131 wxPyCompositeShape_base_OnDelete(_arg0);
8132
8133 wxPy_END_ALLOW_THREADS;
8134 } Py_INCREF(Py_None);
8135 _resultobj = Py_None;
8136 return _resultobj;
8137 }
8138
8139 #define wxPyCompositeShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
8140 static PyObject *_wrap_wxPyCompositeShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
8141 PyObject * _resultobj;
8142 wxPyCompositeShape * _arg0;
8143 wxDC * _arg1;
8144 PyObject * _argo0 = 0;
8145 PyObject * _argo1 = 0;
8146 char *_kwnames[] = { "self","dc", NULL };
8147
8148 self = self;
8149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnDraw",_kwnames,&_argo0,&_argo1))
8150 return NULL;
8151 if (_argo0) {
8152 if (_argo0 == Py_None) { _arg0 = NULL; }
8153 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8154 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDraw. Expected _wxPyCompositeShape_p.");
8155 return NULL;
8156 }
8157 }
8158 if (_argo1) {
8159 if (_argo1 == Py_None) { _arg1 = NULL; }
8160 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8161 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnDraw. Expected _wxDC_p.");
8162 return NULL;
8163 }
8164 }
8165 {
8166 wxPy_BEGIN_ALLOW_THREADS;
8167 wxPyCompositeShape_base_OnDraw(_arg0,*_arg1);
8168
8169 wxPy_END_ALLOW_THREADS;
8170 } Py_INCREF(Py_None);
8171 _resultobj = Py_None;
8172 return _resultobj;
8173 }
8174
8175 #define wxPyCompositeShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
8176 static PyObject *_wrap_wxPyCompositeShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
8177 PyObject * _resultobj;
8178 wxPyCompositeShape * _arg0;
8179 wxDC * _arg1;
8180 PyObject * _argo0 = 0;
8181 PyObject * _argo1 = 0;
8182 char *_kwnames[] = { "self","dc", NULL };
8183
8184 self = self;
8185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1))
8186 return NULL;
8187 if (_argo0) {
8188 if (_argo0 == Py_None) { _arg0 = NULL; }
8189 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8190 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDrawContents. Expected _wxPyCompositeShape_p.");
8191 return NULL;
8192 }
8193 }
8194 if (_argo1) {
8195 if (_argo1 == Py_None) { _arg1 = NULL; }
8196 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8197 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnDrawContents. Expected _wxDC_p.");
8198 return NULL;
8199 }
8200 }
8201 {
8202 wxPy_BEGIN_ALLOW_THREADS;
8203 wxPyCompositeShape_base_OnDrawContents(_arg0,*_arg1);
8204
8205 wxPy_END_ALLOW_THREADS;
8206 } Py_INCREF(Py_None);
8207 _resultobj = Py_None;
8208 return _resultobj;
8209 }
8210
8211 #define wxPyCompositeShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
8212 static PyObject *_wrap_wxPyCompositeShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
8213 PyObject * _resultobj;
8214 wxPyCompositeShape * _arg0;
8215 wxDC * _arg1;
8216 bool _arg2 = (bool ) FALSE;
8217 PyObject * _argo0 = 0;
8218 PyObject * _argo1 = 0;
8219 int tempbool2 = (int) FALSE;
8220 char *_kwnames[] = { "self","dc","erase", NULL };
8221
8222 self = self;
8223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyCompositeShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2))
8224 return NULL;
8225 if (_argo0) {
8226 if (_argo0 == Py_None) { _arg0 = NULL; }
8227 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8228 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDrawBranches. Expected _wxPyCompositeShape_p.");
8229 return NULL;
8230 }
8231 }
8232 if (_argo1) {
8233 if (_argo1 == Py_None) { _arg1 = NULL; }
8234 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8235 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnDrawBranches. Expected _wxDC_p.");
8236 return NULL;
8237 }
8238 }
8239 _arg2 = (bool ) tempbool2;
8240 {
8241 wxPy_BEGIN_ALLOW_THREADS;
8242 wxPyCompositeShape_base_OnDrawBranches(_arg0,*_arg1,_arg2);
8243
8244 wxPy_END_ALLOW_THREADS;
8245 } Py_INCREF(Py_None);
8246 _resultobj = Py_None;
8247 return _resultobj;
8248 }
8249
8250 #define wxPyCompositeShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
8251 static PyObject *_wrap_wxPyCompositeShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
8252 PyObject * _resultobj;
8253 wxPyCompositeShape * _arg0;
8254 wxDC * _arg1;
8255 PyObject * _argo0 = 0;
8256 PyObject * _argo1 = 0;
8257 char *_kwnames[] = { "self","dc", NULL };
8258
8259 self = self;
8260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1))
8261 return NULL;
8262 if (_argo0) {
8263 if (_argo0 == Py_None) { _arg0 = NULL; }
8264 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8265 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnMoveLinks. Expected _wxPyCompositeShape_p.");
8266 return NULL;
8267 }
8268 }
8269 if (_argo1) {
8270 if (_argo1 == Py_None) { _arg1 = NULL; }
8271 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8272 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnMoveLinks. Expected _wxDC_p.");
8273 return NULL;
8274 }
8275 }
8276 {
8277 wxPy_BEGIN_ALLOW_THREADS;
8278 wxPyCompositeShape_base_OnMoveLinks(_arg0,*_arg1);
8279
8280 wxPy_END_ALLOW_THREADS;
8281 } Py_INCREF(Py_None);
8282 _resultobj = Py_None;
8283 return _resultobj;
8284 }
8285
8286 #define wxPyCompositeShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
8287 static PyObject *_wrap_wxPyCompositeShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
8288 PyObject * _resultobj;
8289 wxPyCompositeShape * _arg0;
8290 wxDC * _arg1;
8291 PyObject * _argo0 = 0;
8292 PyObject * _argo1 = 0;
8293 char *_kwnames[] = { "self","dc", NULL };
8294
8295 self = self;
8296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnErase",_kwnames,&_argo0,&_argo1))
8297 return NULL;
8298 if (_argo0) {
8299 if (_argo0 == Py_None) { _arg0 = NULL; }
8300 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8301 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnErase. Expected _wxPyCompositeShape_p.");
8302 return NULL;
8303 }
8304 }
8305 if (_argo1) {
8306 if (_argo1 == Py_None) { _arg1 = NULL; }
8307 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8308 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnErase. Expected _wxDC_p.");
8309 return NULL;
8310 }
8311 }
8312 {
8313 wxPy_BEGIN_ALLOW_THREADS;
8314 wxPyCompositeShape_base_OnErase(_arg0,*_arg1);
8315
8316 wxPy_END_ALLOW_THREADS;
8317 } Py_INCREF(Py_None);
8318 _resultobj = Py_None;
8319 return _resultobj;
8320 }
8321
8322 #define wxPyCompositeShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
8323 static PyObject *_wrap_wxPyCompositeShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
8324 PyObject * _resultobj;
8325 wxPyCompositeShape * _arg0;
8326 wxDC * _arg1;
8327 PyObject * _argo0 = 0;
8328 PyObject * _argo1 = 0;
8329 char *_kwnames[] = { "self","dc", NULL };
8330
8331 self = self;
8332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1))
8333 return NULL;
8334 if (_argo0) {
8335 if (_argo0 == Py_None) { _arg0 = NULL; }
8336 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8337 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnEraseContents. Expected _wxPyCompositeShape_p.");
8338 return NULL;
8339 }
8340 }
8341 if (_argo1) {
8342 if (_argo1 == Py_None) { _arg1 = NULL; }
8343 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8344 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnEraseContents. Expected _wxDC_p.");
8345 return NULL;
8346 }
8347 }
8348 {
8349 wxPy_BEGIN_ALLOW_THREADS;
8350 wxPyCompositeShape_base_OnEraseContents(_arg0,*_arg1);
8351
8352 wxPy_END_ALLOW_THREADS;
8353 } Py_INCREF(Py_None);
8354 _resultobj = Py_None;
8355 return _resultobj;
8356 }
8357
8358 #define wxPyCompositeShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
8359 static PyObject *_wrap_wxPyCompositeShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
8360 PyObject * _resultobj;
8361 wxPyCompositeShape * _arg0;
8362 wxDC * _arg1;
8363 PyObject * _argo0 = 0;
8364 PyObject * _argo1 = 0;
8365 char *_kwnames[] = { "self","dc", NULL };
8366
8367 self = self;
8368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnHighlight",_kwnames,&_argo0,&_argo1))
8369 return NULL;
8370 if (_argo0) {
8371 if (_argo0 == Py_None) { _arg0 = NULL; }
8372 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8373 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnHighlight. Expected _wxPyCompositeShape_p.");
8374 return NULL;
8375 }
8376 }
8377 if (_argo1) {
8378 if (_argo1 == Py_None) { _arg1 = NULL; }
8379 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8380 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnHighlight. Expected _wxDC_p.");
8381 return NULL;
8382 }
8383 }
8384 {
8385 wxPy_BEGIN_ALLOW_THREADS;
8386 wxPyCompositeShape_base_OnHighlight(_arg0,*_arg1);
8387
8388 wxPy_END_ALLOW_THREADS;
8389 } Py_INCREF(Py_None);
8390 _resultobj = Py_None;
8391 return _resultobj;
8392 }
8393
8394 #define wxPyCompositeShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8395 static PyObject *_wrap_wxPyCompositeShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
8396 PyObject * _resultobj;
8397 wxPyCompositeShape * _arg0;
8398 double _arg1;
8399 double _arg2;
8400 int _arg3 = (int ) 0;
8401 int _arg4 = (int ) 0;
8402 PyObject * _argo0 = 0;
8403 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
8404
8405 self = self;
8406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8407 return NULL;
8408 if (_argo0) {
8409 if (_argo0 == Py_None) { _arg0 = NULL; }
8410 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8411 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnLeftClick. Expected _wxPyCompositeShape_p.");
8412 return NULL;
8413 }
8414 }
8415 {
8416 wxPy_BEGIN_ALLOW_THREADS;
8417 wxPyCompositeShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4);
8418
8419 wxPy_END_ALLOW_THREADS;
8420 } Py_INCREF(Py_None);
8421 _resultobj = Py_None;
8422 return _resultobj;
8423 }
8424
8425 #define wxPyCompositeShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8426 static PyObject *_wrap_wxPyCompositeShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
8427 PyObject * _resultobj;
8428 wxPyCompositeShape * _arg0;
8429 double _arg1;
8430 double _arg2;
8431 int _arg3 = (int ) 0;
8432 int _arg4 = (int ) 0;
8433 PyObject * _argo0 = 0;
8434 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
8435
8436 self = self;
8437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8438 return NULL;
8439 if (_argo0) {
8440 if (_argo0 == Py_None) { _arg0 = NULL; }
8441 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8442 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnLeftDoubleClick. Expected _wxPyCompositeShape_p.");
8443 return NULL;
8444 }
8445 }
8446 {
8447 wxPy_BEGIN_ALLOW_THREADS;
8448 wxPyCompositeShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4);
8449
8450 wxPy_END_ALLOW_THREADS;
8451 } Py_INCREF(Py_None);
8452 _resultobj = Py_None;
8453 return _resultobj;
8454 }
8455
8456 #define wxPyCompositeShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8457 static PyObject *_wrap_wxPyCompositeShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
8458 PyObject * _resultobj;
8459 wxPyCompositeShape * _arg0;
8460 double _arg1;
8461 double _arg2;
8462 int _arg3 = (int ) 0;
8463 int _arg4 = (int ) 0;
8464 PyObject * _argo0 = 0;
8465 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
8466
8467 self = self;
8468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8469 return NULL;
8470 if (_argo0) {
8471 if (_argo0 == Py_None) { _arg0 = NULL; }
8472 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8473 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnRightClick. Expected _wxPyCompositeShape_p.");
8474 return NULL;
8475 }
8476 }
8477 {
8478 wxPy_BEGIN_ALLOW_THREADS;
8479 wxPyCompositeShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4);
8480
8481 wxPy_END_ALLOW_THREADS;
8482 } Py_INCREF(Py_None);
8483 _resultobj = Py_None;
8484 return _resultobj;
8485 }
8486
8487 #define wxPyCompositeShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
8488 static PyObject *_wrap_wxPyCompositeShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8489 PyObject * _resultobj;
8490 wxPyCompositeShape * _arg0;
8491 double _arg1;
8492 double _arg2;
8493 PyObject * _argo0 = 0;
8494 char *_kwnames[] = { "self","x","y", NULL };
8495
8496 self = self;
8497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyCompositeShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2))
8498 return NULL;
8499 if (_argo0) {
8500 if (_argo0 == Py_None) { _arg0 = NULL; }
8501 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8502 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnSize. Expected _wxPyCompositeShape_p.");
8503 return NULL;
8504 }
8505 }
8506 {
8507 wxPy_BEGIN_ALLOW_THREADS;
8508 wxPyCompositeShape_base_OnSize(_arg0,_arg1,_arg2);
8509
8510 wxPy_END_ALLOW_THREADS;
8511 } Py_INCREF(Py_None);
8512 _resultobj = Py_None;
8513 return _resultobj;
8514 }
8515
8516 #define wxPyCompositeShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8517 static PyObject *_wrap_wxPyCompositeShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
8518 PyObject * _resultobj;
8519 bool _result;
8520 wxPyCompositeShape * _arg0;
8521 wxDC * _arg1;
8522 double _arg2;
8523 double _arg3;
8524 double _arg4;
8525 double _arg5;
8526 bool _arg6 = (bool ) TRUE;
8527 PyObject * _argo0 = 0;
8528 PyObject * _argo1 = 0;
8529 int tempbool6 = (int) TRUE;
8530 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
8531
8532 self = self;
8533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyCompositeShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
8534 return NULL;
8535 if (_argo0) {
8536 if (_argo0 == Py_None) { _arg0 = NULL; }
8537 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8538 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnMovePre. Expected _wxPyCompositeShape_p.");
8539 return NULL;
8540 }
8541 }
8542 if (_argo1) {
8543 if (_argo1 == Py_None) { _arg1 = NULL; }
8544 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8545 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnMovePre. Expected _wxDC_p.");
8546 return NULL;
8547 }
8548 }
8549 _arg6 = (bool ) tempbool6;
8550 {
8551 wxPy_BEGIN_ALLOW_THREADS;
8552 _result = (bool )wxPyCompositeShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
8553
8554 wxPy_END_ALLOW_THREADS;
8555 } _resultobj = Py_BuildValue("i",_result);
8556 return _resultobj;
8557 }
8558
8559 #define wxPyCompositeShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8560 static PyObject *_wrap_wxPyCompositeShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
8561 PyObject * _resultobj;
8562 wxPyCompositeShape * _arg0;
8563 wxDC * _arg1;
8564 double _arg2;
8565 double _arg3;
8566 double _arg4;
8567 double _arg5;
8568 bool _arg6 = (bool ) TRUE;
8569 PyObject * _argo0 = 0;
8570 PyObject * _argo1 = 0;
8571 int tempbool6 = (int) TRUE;
8572 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
8573
8574 self = self;
8575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyCompositeShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
8576 return NULL;
8577 if (_argo0) {
8578 if (_argo0 == Py_None) { _arg0 = NULL; }
8579 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8580 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnMovePost. Expected _wxPyCompositeShape_p.");
8581 return NULL;
8582 }
8583 }
8584 if (_argo1) {
8585 if (_argo1 == Py_None) { _arg1 = NULL; }
8586 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8587 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnMovePost. Expected _wxDC_p.");
8588 return NULL;
8589 }
8590 }
8591 _arg6 = (bool ) tempbool6;
8592 {
8593 wxPy_BEGIN_ALLOW_THREADS;
8594 wxPyCompositeShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
8595
8596 wxPy_END_ALLOW_THREADS;
8597 } Py_INCREF(Py_None);
8598 _resultobj = Py_None;
8599 return _resultobj;
8600 }
8601
8602 #define wxPyCompositeShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8603 static PyObject *_wrap_wxPyCompositeShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8604 PyObject * _resultobj;
8605 wxPyCompositeShape * _arg0;
8606 bool _arg1;
8607 double _arg2;
8608 double _arg3;
8609 int _arg4 = (int ) 0;
8610 int _arg5 = (int ) 0;
8611 PyObject * _argo0 = 0;
8612 int tempbool1;
8613 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
8614
8615 self = self;
8616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyCompositeShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
8617 return NULL;
8618 if (_argo0) {
8619 if (_argo0 == Py_None) { _arg0 = NULL; }
8620 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8621 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDragLeft. Expected _wxPyCompositeShape_p.");
8622 return NULL;
8623 }
8624 }
8625 _arg1 = (bool ) tempbool1;
8626 {
8627 wxPy_BEGIN_ALLOW_THREADS;
8628 wxPyCompositeShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
8629
8630 wxPy_END_ALLOW_THREADS;
8631 } Py_INCREF(Py_None);
8632 _resultobj = Py_None;
8633 return _resultobj;
8634 }
8635
8636 #define wxPyCompositeShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8637 static PyObject *_wrap_wxPyCompositeShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8638 PyObject * _resultobj;
8639 wxPyCompositeShape * _arg0;
8640 double _arg1;
8641 double _arg2;
8642 int _arg3 = (int ) 0;
8643 int _arg4 = (int ) 0;
8644 PyObject * _argo0 = 0;
8645 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
8646
8647 self = self;
8648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8649 return NULL;
8650 if (_argo0) {
8651 if (_argo0 == Py_None) { _arg0 = NULL; }
8652 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8653 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnBeginDragLeft. Expected _wxPyCompositeShape_p.");
8654 return NULL;
8655 }
8656 }
8657 {
8658 wxPy_BEGIN_ALLOW_THREADS;
8659 wxPyCompositeShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
8660
8661 wxPy_END_ALLOW_THREADS;
8662 } Py_INCREF(Py_None);
8663 _resultobj = Py_None;
8664 return _resultobj;
8665 }
8666
8667 #define wxPyCompositeShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8668 static PyObject *_wrap_wxPyCompositeShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8669 PyObject * _resultobj;
8670 wxPyCompositeShape * _arg0;
8671 double _arg1;
8672 double _arg2;
8673 int _arg3 = (int ) 0;
8674 int _arg4 = (int ) 0;
8675 PyObject * _argo0 = 0;
8676 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
8677
8678 self = self;
8679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8680 return NULL;
8681 if (_argo0) {
8682 if (_argo0 == Py_None) { _arg0 = NULL; }
8683 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8684 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnEndDragLeft. Expected _wxPyCompositeShape_p.");
8685 return NULL;
8686 }
8687 }
8688 {
8689 wxPy_BEGIN_ALLOW_THREADS;
8690 wxPyCompositeShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
8691
8692 wxPy_END_ALLOW_THREADS;
8693 } Py_INCREF(Py_None);
8694 _resultobj = Py_None;
8695 return _resultobj;
8696 }
8697
8698 #define wxPyCompositeShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8699 static PyObject *_wrap_wxPyCompositeShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8700 PyObject * _resultobj;
8701 wxPyCompositeShape * _arg0;
8702 bool _arg1;
8703 double _arg2;
8704 double _arg3;
8705 int _arg4 = (int ) 0;
8706 int _arg5 = (int ) 0;
8707 PyObject * _argo0 = 0;
8708 int tempbool1;
8709 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
8710
8711 self = self;
8712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyCompositeShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
8713 return NULL;
8714 if (_argo0) {
8715 if (_argo0 == Py_None) { _arg0 = NULL; }
8716 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8717 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDragRight. Expected _wxPyCompositeShape_p.");
8718 return NULL;
8719 }
8720 }
8721 _arg1 = (bool ) tempbool1;
8722 {
8723 wxPy_BEGIN_ALLOW_THREADS;
8724 wxPyCompositeShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
8725
8726 wxPy_END_ALLOW_THREADS;
8727 } Py_INCREF(Py_None);
8728 _resultobj = Py_None;
8729 return _resultobj;
8730 }
8731
8732 #define wxPyCompositeShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8733 static PyObject *_wrap_wxPyCompositeShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8734 PyObject * _resultobj;
8735 wxPyCompositeShape * _arg0;
8736 double _arg1;
8737 double _arg2;
8738 int _arg3 = (int ) 0;
8739 int _arg4 = (int ) 0;
8740 PyObject * _argo0 = 0;
8741 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
8742
8743 self = self;
8744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8745 return NULL;
8746 if (_argo0) {
8747 if (_argo0 == Py_None) { _arg0 = NULL; }
8748 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8749 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnBeginDragRight. Expected _wxPyCompositeShape_p.");
8750 return NULL;
8751 }
8752 }
8753 {
8754 wxPy_BEGIN_ALLOW_THREADS;
8755 wxPyCompositeShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
8756
8757 wxPy_END_ALLOW_THREADS;
8758 } Py_INCREF(Py_None);
8759 _resultobj = Py_None;
8760 return _resultobj;
8761 }
8762
8763 #define wxPyCompositeShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8764 static PyObject *_wrap_wxPyCompositeShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8765 PyObject * _resultobj;
8766 wxPyCompositeShape * _arg0;
8767 double _arg1;
8768 double _arg2;
8769 int _arg3 = (int ) 0;
8770 int _arg4 = (int ) 0;
8771 PyObject * _argo0 = 0;
8772 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
8773
8774 self = self;
8775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8776 return NULL;
8777 if (_argo0) {
8778 if (_argo0 == Py_None) { _arg0 = NULL; }
8779 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8780 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnEndDragRight. Expected _wxPyCompositeShape_p.");
8781 return NULL;
8782 }
8783 }
8784 {
8785 wxPy_BEGIN_ALLOW_THREADS;
8786 wxPyCompositeShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
8787
8788 wxPy_END_ALLOW_THREADS;
8789 } Py_INCREF(Py_None);
8790 _resultobj = Py_None;
8791 return _resultobj;
8792 }
8793
8794 #define wxPyCompositeShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8795 static PyObject *_wrap_wxPyCompositeShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
8796 PyObject * _resultobj;
8797 wxPyCompositeShape * _arg0;
8798 wxDC * _arg1;
8799 double _arg2;
8800 double _arg3;
8801 double _arg4;
8802 double _arg5;
8803 PyObject * _argo0 = 0;
8804 PyObject * _argo1 = 0;
8805 char *_kwnames[] = { "self","dc","x","y","w","h", NULL };
8806
8807 self = self;
8808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyCompositeShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
8809 return NULL;
8810 if (_argo0) {
8811 if (_argo0 == Py_None) { _arg0 = NULL; }
8812 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8813 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDrawOutline. Expected _wxPyCompositeShape_p.");
8814 return NULL;
8815 }
8816 }
8817 if (_argo1) {
8818 if (_argo1 == Py_None) { _arg1 = NULL; }
8819 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8820 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnDrawOutline. Expected _wxDC_p.");
8821 return NULL;
8822 }
8823 }
8824 {
8825 wxPy_BEGIN_ALLOW_THREADS;
8826 wxPyCompositeShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5);
8827
8828 wxPy_END_ALLOW_THREADS;
8829 } Py_INCREF(Py_None);
8830 _resultobj = Py_None;
8831 return _resultobj;
8832 }
8833
8834 #define wxPyCompositeShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
8835 static PyObject *_wrap_wxPyCompositeShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
8836 PyObject * _resultobj;
8837 wxPyCompositeShape * _arg0;
8838 wxDC * _arg1;
8839 PyObject * _argo0 = 0;
8840 PyObject * _argo1 = 0;
8841 char *_kwnames[] = { "self","dc", NULL };
8842
8843 self = self;
8844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1))
8845 return NULL;
8846 if (_argo0) {
8847 if (_argo0 == Py_None) { _arg0 = NULL; }
8848 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8849 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDrawControlPoints. Expected _wxPyCompositeShape_p.");
8850 return NULL;
8851 }
8852 }
8853 if (_argo1) {
8854 if (_argo1 == Py_None) { _arg1 = NULL; }
8855 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8856 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnDrawControlPoints. Expected _wxDC_p.");
8857 return NULL;
8858 }
8859 }
8860 {
8861 wxPy_BEGIN_ALLOW_THREADS;
8862 wxPyCompositeShape_base_OnDrawControlPoints(_arg0,*_arg1);
8863
8864 wxPy_END_ALLOW_THREADS;
8865 } Py_INCREF(Py_None);
8866 _resultobj = Py_None;
8867 return _resultobj;
8868 }
8869
8870 #define wxPyCompositeShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
8871 static PyObject *_wrap_wxPyCompositeShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
8872 PyObject * _resultobj;
8873 wxPyCompositeShape * _arg0;
8874 wxDC * _arg1;
8875 PyObject * _argo0 = 0;
8876 PyObject * _argo1 = 0;
8877 char *_kwnames[] = { "self","dc", NULL };
8878
8879 self = self;
8880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1))
8881 return NULL;
8882 if (_argo0) {
8883 if (_argo0 == Py_None) { _arg0 = NULL; }
8884 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8885 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnEraseControlPoints. Expected _wxPyCompositeShape_p.");
8886 return NULL;
8887 }
8888 }
8889 if (_argo1) {
8890 if (_argo1 == Py_None) { _arg1 = NULL; }
8891 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8892 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnEraseControlPoints. Expected _wxDC_p.");
8893 return NULL;
8894 }
8895 }
8896 {
8897 wxPy_BEGIN_ALLOW_THREADS;
8898 wxPyCompositeShape_base_OnEraseControlPoints(_arg0,*_arg1);
8899
8900 wxPy_END_ALLOW_THREADS;
8901 } Py_INCREF(Py_None);
8902 _resultobj = Py_None;
8903 return _resultobj;
8904 }
8905
8906 #define wxPyCompositeShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
8907 static PyObject *_wrap_wxPyCompositeShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
8908 PyObject * _resultobj;
8909 wxPyCompositeShape * _arg0;
8910 wxDC * _arg1;
8911 bool _arg2 = (bool ) TRUE;
8912 PyObject * _argo0 = 0;
8913 PyObject * _argo1 = 0;
8914 int tempbool2 = (int) TRUE;
8915 char *_kwnames[] = { "self","dc","moveControlPoints", NULL };
8916
8917 self = self;
8918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyCompositeShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2))
8919 return NULL;
8920 if (_argo0) {
8921 if (_argo0 == Py_None) { _arg0 = NULL; }
8922 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8923 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnMoveLink. Expected _wxPyCompositeShape_p.");
8924 return NULL;
8925 }
8926 }
8927 if (_argo1) {
8928 if (_argo1 == Py_None) { _arg1 = NULL; }
8929 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8930 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnMoveLink. Expected _wxDC_p.");
8931 return NULL;
8932 }
8933 }
8934 _arg2 = (bool ) tempbool2;
8935 {
8936 wxPy_BEGIN_ALLOW_THREADS;
8937 wxPyCompositeShape_base_OnMoveLink(_arg0,*_arg1,_arg2);
8938
8939 wxPy_END_ALLOW_THREADS;
8940 } Py_INCREF(Py_None);
8941 _resultobj = Py_None;
8942 return _resultobj;
8943 }
8944
8945 #define wxPyCompositeShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8946 static PyObject *_wrap_wxPyCompositeShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8947 PyObject * _resultobj;
8948 wxPyCompositeShape * _arg0;
8949 wxPyControlPoint * _arg1;
8950 bool _arg2;
8951 double _arg3;
8952 double _arg4;
8953 int _arg5 = (int ) 0;
8954 int _arg6 = (int ) 0;
8955 PyObject * _argo0 = 0;
8956 PyObject * _argo1 = 0;
8957 int tempbool2;
8958 char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL };
8959
8960 self = self;
8961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyCompositeShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6))
8962 return NULL;
8963 if (_argo0) {
8964 if (_argo0 == Py_None) { _arg0 = NULL; }
8965 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8966 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnSizingDragLeft. Expected _wxPyCompositeShape_p.");
8967 return NULL;
8968 }
8969 }
8970 if (_argo1) {
8971 if (_argo1 == Py_None) { _arg1 = NULL; }
8972 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
8973 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
8974 return NULL;
8975 }
8976 }
8977 _arg2 = (bool ) tempbool2;
8978 {
8979 wxPy_BEGIN_ALLOW_THREADS;
8980 wxPyCompositeShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
8981
8982 wxPy_END_ALLOW_THREADS;
8983 } Py_INCREF(Py_None);
8984 _resultobj = Py_None;
8985 return _resultobj;
8986 }
8987
8988 #define wxPyCompositeShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8989 static PyObject *_wrap_wxPyCompositeShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8990 PyObject * _resultobj;
8991 wxPyCompositeShape * _arg0;
8992 wxPyControlPoint * _arg1;
8993 double _arg2;
8994 double _arg3;
8995 int _arg4 = (int ) 0;
8996 int _arg5 = (int ) 0;
8997 PyObject * _argo0 = 0;
8998 PyObject * _argo1 = 0;
8999 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
9000
9001 self = self;
9002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyCompositeShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
9003 return NULL;
9004 if (_argo0) {
9005 if (_argo0 == Py_None) { _arg0 = NULL; }
9006 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
9007 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnSizingBeginDragLeft. Expected _wxPyCompositeShape_p.");
9008 return NULL;
9009 }
9010 }
9011 if (_argo1) {
9012 if (_argo1 == Py_None) { _arg1 = NULL; }
9013 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
9014 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
9015 return NULL;
9016 }
9017 }
9018 {
9019 wxPy_BEGIN_ALLOW_THREADS;
9020 wxPyCompositeShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
9021
9022 wxPy_END_ALLOW_THREADS;
9023 } Py_INCREF(Py_None);
9024 _resultobj = Py_None;
9025 return _resultobj;
9026 }
9027
9028 #define wxPyCompositeShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
9029 static PyObject *_wrap_wxPyCompositeShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9030 PyObject * _resultobj;
9031 wxPyCompositeShape * _arg0;
9032 wxPyControlPoint * _arg1;
9033 double _arg2;
9034 double _arg3;
9035 int _arg4 = (int ) 0;
9036 int _arg5 = (int ) 0;
9037 PyObject * _argo0 = 0;
9038 PyObject * _argo1 = 0;
9039 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
9040
9041 self = self;
9042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyCompositeShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
9043 return NULL;
9044 if (_argo0) {
9045 if (_argo0 == Py_None) { _arg0 = NULL; }
9046 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
9047 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnSizingEndDragLeft. Expected _wxPyCompositeShape_p.");
9048 return NULL;
9049 }
9050 }
9051 if (_argo1) {
9052 if (_argo1 == Py_None) { _arg1 = NULL; }
9053 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
9054 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
9055 return NULL;
9056 }
9057 }
9058 {
9059 wxPy_BEGIN_ALLOW_THREADS;
9060 wxPyCompositeShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
9061
9062 wxPy_END_ALLOW_THREADS;
9063 } Py_INCREF(Py_None);
9064 _resultobj = Py_None;
9065 return _resultobj;
9066 }
9067
9068 #define wxPyCompositeShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
9069 static PyObject *_wrap_wxPyCompositeShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9070 PyObject * _resultobj;
9071 wxPyCompositeShape * _arg0;
9072 double _arg1;
9073 double _arg2;
9074 PyObject * _argo0 = 0;
9075 char *_kwnames[] = { "self","w","h", NULL };
9076
9077 self = self;
9078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyCompositeShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2))
9079 return NULL;
9080 if (_argo0) {
9081 if (_argo0 == Py_None) { _arg0 = NULL; }
9082 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
9083 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnBeginSize. Expected _wxPyCompositeShape_p.");
9084 return NULL;
9085 }
9086 }
9087 {
9088 wxPy_BEGIN_ALLOW_THREADS;
9089 wxPyCompositeShape_base_OnBeginSize(_arg0,_arg1,_arg2);
9090
9091 wxPy_END_ALLOW_THREADS;
9092 } Py_INCREF(Py_None);
9093 _resultobj = Py_None;
9094 return _resultobj;
9095 }
9096
9097 #define wxPyCompositeShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
9098 static PyObject *_wrap_wxPyCompositeShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9099 PyObject * _resultobj;
9100 wxPyCompositeShape * _arg0;
9101 double _arg1;
9102 double _arg2;
9103 PyObject * _argo0 = 0;
9104 char *_kwnames[] = { "self","w","h", NULL };
9105
9106 self = self;
9107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyCompositeShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2))
9108 return NULL;
9109 if (_argo0) {
9110 if (_argo0 == Py_None) { _arg0 = NULL; }
9111 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
9112 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnEndSize. Expected _wxPyCompositeShape_p.");
9113 return NULL;
9114 }
9115 }
9116 {
9117 wxPy_BEGIN_ALLOW_THREADS;
9118 wxPyCompositeShape_base_OnEndSize(_arg0,_arg1,_arg2);
9119
9120 wxPy_END_ALLOW_THREADS;
9121 } Py_INCREF(Py_None);
9122 _resultobj = Py_None;
9123 return _resultobj;
9124 }
9125
9126 static void *SwigwxPyDividedShapeTowxPyRectangleShape(void *ptr) {
9127 wxPyDividedShape *src;
9128 wxPyRectangleShape *dest;
9129 src = (wxPyDividedShape *) ptr;
9130 dest = (wxPyRectangleShape *) src;
9131 return (void *) dest;
9132 }
9133
9134 static void *SwigwxPyDividedShapeTowxPyShape(void *ptr) {
9135 wxPyDividedShape *src;
9136 wxPyShape *dest;
9137 src = (wxPyDividedShape *) ptr;
9138 dest = (wxPyShape *) src;
9139 return (void *) dest;
9140 }
9141
9142 static void *SwigwxPyDividedShapeTowxPyShapeEvtHandler(void *ptr) {
9143 wxPyDividedShape *src;
9144 wxPyShapeEvtHandler *dest;
9145 src = (wxPyDividedShape *) ptr;
9146 dest = (wxPyShapeEvtHandler *) src;
9147 return (void *) dest;
9148 }
9149
9150 #define new_wxPyDividedShape(_swigarg0,_swigarg1) (new wxPyDividedShape(_swigarg0,_swigarg1))
9151 static PyObject *_wrap_new_wxPyDividedShape(PyObject *self, PyObject *args, PyObject *kwargs) {
9152 PyObject * _resultobj;
9153 wxPyDividedShape * _result;
9154 double _arg0 = (double ) 0.0;
9155 double _arg1 = (double ) 0.0;
9156 char *_kwnames[] = { "width","height", NULL };
9157 char _ptemp[128];
9158
9159 self = self;
9160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|dd:new_wxPyDividedShape",_kwnames,&_arg0,&_arg1))
9161 return NULL;
9162 {
9163 wxPy_BEGIN_ALLOW_THREADS;
9164 _result = (wxPyDividedShape *)new_wxPyDividedShape(_arg0,_arg1);
9165
9166 wxPy_END_ALLOW_THREADS;
9167 } if (_result) {
9168 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyDividedShape_p");
9169 _resultobj = Py_BuildValue("s",_ptemp);
9170 } else {
9171 Py_INCREF(Py_None);
9172 _resultobj = Py_None;
9173 }
9174 return _resultobj;
9175 }
9176
9177 #define wxPyDividedShape__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
9178 static PyObject *_wrap_wxPyDividedShape__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
9179 PyObject * _resultobj;
9180 wxPyDividedShape * _arg0;
9181 PyObject * _arg1;
9182 PyObject * _arg2;
9183 PyObject * _argo0 = 0;
9184 PyObject * _obj1 = 0;
9185 PyObject * _obj2 = 0;
9186 char *_kwnames[] = { "self","self","_class", NULL };
9187
9188 self = self;
9189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyDividedShape__setSelf",_kwnames,&_argo0,&_obj1,&_obj2))
9190 return NULL;
9191 if (_argo0) {
9192 if (_argo0 == Py_None) { _arg0 = NULL; }
9193 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9194 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape__setSelf. Expected _wxPyDividedShape_p.");
9195 return NULL;
9196 }
9197 }
9198 {
9199 _arg1 = _obj1;
9200 }
9201 {
9202 _arg2 = _obj2;
9203 }
9204 {
9205 wxPy_BEGIN_ALLOW_THREADS;
9206 wxPyDividedShape__setSelf(_arg0,_arg1,_arg2);
9207
9208 wxPy_END_ALLOW_THREADS;
9209 } Py_INCREF(Py_None);
9210 _resultobj = Py_None;
9211 return _resultobj;
9212 }
9213
9214 #define wxPyDividedShape_EditRegions(_swigobj) (_swigobj->EditRegions())
9215 static PyObject *_wrap_wxPyDividedShape_EditRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
9216 PyObject * _resultobj;
9217 wxPyDividedShape * _arg0;
9218 PyObject * _argo0 = 0;
9219 char *_kwnames[] = { "self", NULL };
9220
9221 self = self;
9222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDividedShape_EditRegions",_kwnames,&_argo0))
9223 return NULL;
9224 if (_argo0) {
9225 if (_argo0 == Py_None) { _arg0 = NULL; }
9226 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9227 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_EditRegions. Expected _wxPyDividedShape_p.");
9228 return NULL;
9229 }
9230 }
9231 {
9232 wxPy_BEGIN_ALLOW_THREADS;
9233 wxPyDividedShape_EditRegions(_arg0);
9234
9235 wxPy_END_ALLOW_THREADS;
9236 } Py_INCREF(Py_None);
9237 _resultobj = Py_None;
9238 return _resultobj;
9239 }
9240
9241 #define wxPyDividedShape_SetRegionSizes(_swigobj) (_swigobj->SetRegionSizes())
9242 static PyObject *_wrap_wxPyDividedShape_SetRegionSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
9243 PyObject * _resultobj;
9244 wxPyDividedShape * _arg0;
9245 PyObject * _argo0 = 0;
9246 char *_kwnames[] = { "self", NULL };
9247
9248 self = self;
9249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDividedShape_SetRegionSizes",_kwnames,&_argo0))
9250 return NULL;
9251 if (_argo0) {
9252 if (_argo0 == Py_None) { _arg0 = NULL; }
9253 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9254 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_SetRegionSizes. Expected _wxPyDividedShape_p.");
9255 return NULL;
9256 }
9257 }
9258 {
9259 wxPy_BEGIN_ALLOW_THREADS;
9260 wxPyDividedShape_SetRegionSizes(_arg0);
9261
9262 wxPy_END_ALLOW_THREADS;
9263 } Py_INCREF(Py_None);
9264 _resultobj = Py_None;
9265 return _resultobj;
9266 }
9267
9268 #define wxPyDividedShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
9269 static PyObject *_wrap_wxPyDividedShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
9270 PyObject * _resultobj;
9271 wxPyDividedShape * _arg0;
9272 PyObject * _argo0 = 0;
9273 char *_kwnames[] = { "self", NULL };
9274
9275 self = self;
9276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDividedShape_base_OnDelete",_kwnames,&_argo0))
9277 return NULL;
9278 if (_argo0) {
9279 if (_argo0 == Py_None) { _arg0 = NULL; }
9280 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9281 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDelete. Expected _wxPyDividedShape_p.");
9282 return NULL;
9283 }
9284 }
9285 {
9286 wxPy_BEGIN_ALLOW_THREADS;
9287 wxPyDividedShape_base_OnDelete(_arg0);
9288
9289 wxPy_END_ALLOW_THREADS;
9290 } Py_INCREF(Py_None);
9291 _resultobj = Py_None;
9292 return _resultobj;
9293 }
9294
9295 #define wxPyDividedShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
9296 static PyObject *_wrap_wxPyDividedShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
9297 PyObject * _resultobj;
9298 wxPyDividedShape * _arg0;
9299 wxDC * _arg1;
9300 PyObject * _argo0 = 0;
9301 PyObject * _argo1 = 0;
9302 char *_kwnames[] = { "self","dc", NULL };
9303
9304 self = self;
9305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnDraw",_kwnames,&_argo0,&_argo1))
9306 return NULL;
9307 if (_argo0) {
9308 if (_argo0 == Py_None) { _arg0 = NULL; }
9309 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9310 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDraw. Expected _wxPyDividedShape_p.");
9311 return NULL;
9312 }
9313 }
9314 if (_argo1) {
9315 if (_argo1 == Py_None) { _arg1 = NULL; }
9316 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
9317 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnDraw. Expected _wxDC_p.");
9318 return NULL;
9319 }
9320 }
9321 {
9322 wxPy_BEGIN_ALLOW_THREADS;
9323 wxPyDividedShape_base_OnDraw(_arg0,*_arg1);
9324
9325 wxPy_END_ALLOW_THREADS;
9326 } Py_INCREF(Py_None);
9327 _resultobj = Py_None;
9328 return _resultobj;
9329 }
9330
9331 #define wxPyDividedShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
9332 static PyObject *_wrap_wxPyDividedShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
9333 PyObject * _resultobj;
9334 wxPyDividedShape * _arg0;
9335 wxDC * _arg1;
9336 PyObject * _argo0 = 0;
9337 PyObject * _argo1 = 0;
9338 char *_kwnames[] = { "self","dc", NULL };
9339
9340 self = self;
9341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1))
9342 return NULL;
9343 if (_argo0) {
9344 if (_argo0 == Py_None) { _arg0 = NULL; }
9345 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9346 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDrawContents. Expected _wxPyDividedShape_p.");
9347 return NULL;
9348 }
9349 }
9350 if (_argo1) {
9351 if (_argo1 == Py_None) { _arg1 = NULL; }
9352 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
9353 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnDrawContents. Expected _wxDC_p.");
9354 return NULL;
9355 }
9356 }
9357 {
9358 wxPy_BEGIN_ALLOW_THREADS;
9359 wxPyDividedShape_base_OnDrawContents(_arg0,*_arg1);
9360
9361 wxPy_END_ALLOW_THREADS;
9362 } Py_INCREF(Py_None);
9363 _resultobj = Py_None;
9364 return _resultobj;
9365 }
9366
9367 #define wxPyDividedShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
9368 static PyObject *_wrap_wxPyDividedShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
9369 PyObject * _resultobj;
9370 wxPyDividedShape * _arg0;
9371 wxDC * _arg1;
9372 bool _arg2 = (bool ) FALSE;
9373 PyObject * _argo0 = 0;
9374 PyObject * _argo1 = 0;
9375 int tempbool2 = (int) FALSE;
9376 char *_kwnames[] = { "self","dc","erase", NULL };
9377
9378 self = self;
9379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDividedShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2))
9380 return NULL;
9381 if (_argo0) {
9382 if (_argo0 == Py_None) { _arg0 = NULL; }
9383 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9384 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDrawBranches. Expected _wxPyDividedShape_p.");
9385 return NULL;
9386 }
9387 }
9388 if (_argo1) {
9389 if (_argo1 == Py_None) { _arg1 = NULL; }
9390 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
9391 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnDrawBranches. Expected _wxDC_p.");
9392 return NULL;
9393 }
9394 }
9395 _arg2 = (bool ) tempbool2;
9396 {
9397 wxPy_BEGIN_ALLOW_THREADS;
9398 wxPyDividedShape_base_OnDrawBranches(_arg0,*_arg1,_arg2);
9399
9400 wxPy_END_ALLOW_THREADS;
9401 } Py_INCREF(Py_None);
9402 _resultobj = Py_None;
9403 return _resultobj;
9404 }
9405
9406 #define wxPyDividedShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
9407 static PyObject *_wrap_wxPyDividedShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
9408 PyObject * _resultobj;
9409 wxPyDividedShape * _arg0;
9410 wxDC * _arg1;
9411 PyObject * _argo0 = 0;
9412 PyObject * _argo1 = 0;
9413 char *_kwnames[] = { "self","dc", NULL };
9414
9415 self = self;
9416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1))
9417 return NULL;
9418 if (_argo0) {
9419 if (_argo0 == Py_None) { _arg0 = NULL; }
9420 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9421 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnMoveLinks. Expected _wxPyDividedShape_p.");
9422 return NULL;
9423 }
9424 }
9425 if (_argo1) {
9426 if (_argo1 == Py_None) { _arg1 = NULL; }
9427 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
9428 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnMoveLinks. Expected _wxDC_p.");
9429 return NULL;
9430 }
9431 }
9432 {
9433 wxPy_BEGIN_ALLOW_THREADS;
9434 wxPyDividedShape_base_OnMoveLinks(_arg0,*_arg1);
9435
9436 wxPy_END_ALLOW_THREADS;
9437 } Py_INCREF(Py_None);
9438 _resultobj = Py_None;
9439 return _resultobj;
9440 }
9441
9442 #define wxPyDividedShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
9443 static PyObject *_wrap_wxPyDividedShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
9444 PyObject * _resultobj;
9445 wxPyDividedShape * _arg0;
9446 wxDC * _arg1;
9447 PyObject * _argo0 = 0;
9448 PyObject * _argo1 = 0;
9449 char *_kwnames[] = { "self","dc", NULL };
9450
9451 self = self;
9452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnErase",_kwnames,&_argo0,&_argo1))
9453 return NULL;
9454 if (_argo0) {
9455 if (_argo0 == Py_None) { _arg0 = NULL; }
9456 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9457 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnErase. Expected _wxPyDividedShape_p.");
9458 return NULL;
9459 }
9460 }
9461 if (_argo1) {
9462 if (_argo1 == Py_None) { _arg1 = NULL; }
9463 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
9464 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnErase. Expected _wxDC_p.");
9465 return NULL;
9466 }
9467 }
9468 {
9469 wxPy_BEGIN_ALLOW_THREADS;
9470 wxPyDividedShape_base_OnErase(_arg0,*_arg1);
9471
9472 wxPy_END_ALLOW_THREADS;
9473 } Py_INCREF(Py_None);
9474 _resultobj = Py_None;
9475 return _resultobj;
9476 }
9477
9478 #define wxPyDividedShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
9479 static PyObject *_wrap_wxPyDividedShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
9480 PyObject * _resultobj;
9481 wxPyDividedShape * _arg0;
9482 wxDC * _arg1;
9483 PyObject * _argo0 = 0;
9484 PyObject * _argo1 = 0;
9485 char *_kwnames[] = { "self","dc", NULL };
9486
9487 self = self;
9488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1))
9489 return NULL;
9490 if (_argo0) {
9491 if (_argo0 == Py_None) { _arg0 = NULL; }
9492 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9493 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnEraseContents. Expected _wxPyDividedShape_p.");
9494 return NULL;
9495 }
9496 }
9497 if (_argo1) {
9498 if (_argo1 == Py_None) { _arg1 = NULL; }
9499 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
9500 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnEraseContents. Expected _wxDC_p.");
9501 return NULL;
9502 }
9503 }
9504 {
9505 wxPy_BEGIN_ALLOW_THREADS;
9506 wxPyDividedShape_base_OnEraseContents(_arg0,*_arg1);
9507
9508 wxPy_END_ALLOW_THREADS;
9509 } Py_INCREF(Py_None);
9510 _resultobj = Py_None;
9511 return _resultobj;
9512 }
9513
9514 #define wxPyDividedShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
9515 static PyObject *_wrap_wxPyDividedShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
9516 PyObject * _resultobj;
9517 wxPyDividedShape * _arg0;
9518 wxDC * _arg1;
9519 PyObject * _argo0 = 0;
9520 PyObject * _argo1 = 0;
9521 char *_kwnames[] = { "self","dc", NULL };
9522
9523 self = self;
9524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnHighlight",_kwnames,&_argo0,&_argo1))
9525 return NULL;
9526 if (_argo0) {
9527 if (_argo0 == Py_None) { _arg0 = NULL; }
9528 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9529 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnHighlight. Expected _wxPyDividedShape_p.");
9530 return NULL;
9531 }
9532 }
9533 if (_argo1) {
9534 if (_argo1 == Py_None) { _arg1 = NULL; }
9535 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
9536 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnHighlight. Expected _wxDC_p.");
9537 return NULL;
9538 }
9539 }
9540 {
9541 wxPy_BEGIN_ALLOW_THREADS;
9542 wxPyDividedShape_base_OnHighlight(_arg0,*_arg1);
9543
9544 wxPy_END_ALLOW_THREADS;
9545 } Py_INCREF(Py_None);
9546 _resultobj = Py_None;
9547 return _resultobj;
9548 }
9549
9550 #define wxPyDividedShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9551 static PyObject *_wrap_wxPyDividedShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
9552 PyObject * _resultobj;
9553 wxPyDividedShape * _arg0;
9554 double _arg1;
9555 double _arg2;
9556 int _arg3 = (int ) 0;
9557 int _arg4 = (int ) 0;
9558 PyObject * _argo0 = 0;
9559 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
9560
9561 self = self;
9562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
9563 return NULL;
9564 if (_argo0) {
9565 if (_argo0 == Py_None) { _arg0 = NULL; }
9566 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9567 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnLeftClick. Expected _wxPyDividedShape_p.");
9568 return NULL;
9569 }
9570 }
9571 {
9572 wxPy_BEGIN_ALLOW_THREADS;
9573 wxPyDividedShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4);
9574
9575 wxPy_END_ALLOW_THREADS;
9576 } Py_INCREF(Py_None);
9577 _resultobj = Py_None;
9578 return _resultobj;
9579 }
9580
9581 #define wxPyDividedShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9582 static PyObject *_wrap_wxPyDividedShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
9583 PyObject * _resultobj;
9584 wxPyDividedShape * _arg0;
9585 double _arg1;
9586 double _arg2;
9587 int _arg3 = (int ) 0;
9588 int _arg4 = (int ) 0;
9589 PyObject * _argo0 = 0;
9590 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
9591
9592 self = self;
9593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
9594 return NULL;
9595 if (_argo0) {
9596 if (_argo0 == Py_None) { _arg0 = NULL; }
9597 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9598 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnLeftDoubleClick. Expected _wxPyDividedShape_p.");
9599 return NULL;
9600 }
9601 }
9602 {
9603 wxPy_BEGIN_ALLOW_THREADS;
9604 wxPyDividedShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4);
9605
9606 wxPy_END_ALLOW_THREADS;
9607 } Py_INCREF(Py_None);
9608 _resultobj = Py_None;
9609 return _resultobj;
9610 }
9611
9612 #define wxPyDividedShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9613 static PyObject *_wrap_wxPyDividedShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
9614 PyObject * _resultobj;
9615 wxPyDividedShape * _arg0;
9616 double _arg1;
9617 double _arg2;
9618 int _arg3 = (int ) 0;
9619 int _arg4 = (int ) 0;
9620 PyObject * _argo0 = 0;
9621 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
9622
9623 self = self;
9624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
9625 return NULL;
9626 if (_argo0) {
9627 if (_argo0 == Py_None) { _arg0 = NULL; }
9628 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9629 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnRightClick. Expected _wxPyDividedShape_p.");
9630 return NULL;
9631 }
9632 }
9633 {
9634 wxPy_BEGIN_ALLOW_THREADS;
9635 wxPyDividedShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4);
9636
9637 wxPy_END_ALLOW_THREADS;
9638 } Py_INCREF(Py_None);
9639 _resultobj = Py_None;
9640 return _resultobj;
9641 }
9642
9643 #define wxPyDividedShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
9644 static PyObject *_wrap_wxPyDividedShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9645 PyObject * _resultobj;
9646 wxPyDividedShape * _arg0;
9647 double _arg1;
9648 double _arg2;
9649 PyObject * _argo0 = 0;
9650 char *_kwnames[] = { "self","x","y", NULL };
9651
9652 self = self;
9653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDividedShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2))
9654 return NULL;
9655 if (_argo0) {
9656 if (_argo0 == Py_None) { _arg0 = NULL; }
9657 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9658 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnSize. Expected _wxPyDividedShape_p.");
9659 return NULL;
9660 }
9661 }
9662 {
9663 wxPy_BEGIN_ALLOW_THREADS;
9664 wxPyDividedShape_base_OnSize(_arg0,_arg1,_arg2);
9665
9666 wxPy_END_ALLOW_THREADS;
9667 } Py_INCREF(Py_None);
9668 _resultobj = Py_None;
9669 return _resultobj;
9670 }
9671
9672 #define wxPyDividedShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
9673 static PyObject *_wrap_wxPyDividedShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
9674 PyObject * _resultobj;
9675 bool _result;
9676 wxPyDividedShape * _arg0;
9677 wxDC * _arg1;
9678 double _arg2;
9679 double _arg3;
9680 double _arg4;
9681 double _arg5;
9682 bool _arg6 = (bool ) TRUE;
9683 PyObject * _argo0 = 0;
9684 PyObject * _argo1 = 0;
9685 int tempbool6 = (int) TRUE;
9686 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
9687
9688 self = self;
9689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDividedShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
9690 return NULL;
9691 if (_argo0) {
9692 if (_argo0 == Py_None) { _arg0 = NULL; }
9693 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9694 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnMovePre. Expected _wxPyDividedShape_p.");
9695 return NULL;
9696 }
9697 }
9698 if (_argo1) {
9699 if (_argo1 == Py_None) { _arg1 = NULL; }
9700 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
9701 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnMovePre. Expected _wxDC_p.");
9702 return NULL;
9703 }
9704 }
9705 _arg6 = (bool ) tempbool6;
9706 {
9707 wxPy_BEGIN_ALLOW_THREADS;
9708 _result = (bool )wxPyDividedShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
9709
9710 wxPy_END_ALLOW_THREADS;
9711 } _resultobj = Py_BuildValue("i",_result);
9712 return _resultobj;
9713 }
9714
9715 #define wxPyDividedShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
9716 static PyObject *_wrap_wxPyDividedShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
9717 PyObject * _resultobj;
9718 wxPyDividedShape * _arg0;
9719 wxDC * _arg1;
9720 double _arg2;
9721 double _arg3;
9722 double _arg4;
9723 double _arg5;
9724 bool _arg6 = (bool ) TRUE;
9725 PyObject * _argo0 = 0;
9726 PyObject * _argo1 = 0;
9727 int tempbool6 = (int) TRUE;
9728 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
9729
9730 self = self;
9731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDividedShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
9732 return NULL;
9733 if (_argo0) {
9734 if (_argo0 == Py_None) { _arg0 = NULL; }
9735 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9736 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnMovePost. Expected _wxPyDividedShape_p.");
9737 return NULL;
9738 }
9739 }
9740 if (_argo1) {
9741 if (_argo1 == Py_None) { _arg1 = NULL; }
9742 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
9743 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnMovePost. Expected _wxDC_p.");
9744 return NULL;
9745 }
9746 }
9747 _arg6 = (bool ) tempbool6;
9748 {
9749 wxPy_BEGIN_ALLOW_THREADS;
9750 wxPyDividedShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
9751
9752 wxPy_END_ALLOW_THREADS;
9753 } Py_INCREF(Py_None);
9754 _resultobj = Py_None;
9755 return _resultobj;
9756 }
9757
9758 #define wxPyDividedShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
9759 static PyObject *_wrap_wxPyDividedShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9760 PyObject * _resultobj;
9761 wxPyDividedShape * _arg0;
9762 bool _arg1;
9763 double _arg2;
9764 double _arg3;
9765 int _arg4 = (int ) 0;
9766 int _arg5 = (int ) 0;
9767 PyObject * _argo0 = 0;
9768 int tempbool1;
9769 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
9770
9771 self = self;
9772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDividedShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
9773 return NULL;
9774 if (_argo0) {
9775 if (_argo0 == Py_None) { _arg0 = NULL; }
9776 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9777 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDragLeft. Expected _wxPyDividedShape_p.");
9778 return NULL;
9779 }
9780 }
9781 _arg1 = (bool ) tempbool1;
9782 {
9783 wxPy_BEGIN_ALLOW_THREADS;
9784 wxPyDividedShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
9785
9786 wxPy_END_ALLOW_THREADS;
9787 } Py_INCREF(Py_None);
9788 _resultobj = Py_None;
9789 return _resultobj;
9790 }
9791
9792 #define wxPyDividedShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9793 static PyObject *_wrap_wxPyDividedShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9794 PyObject * _resultobj;
9795 wxPyDividedShape * _arg0;
9796 double _arg1;
9797 double _arg2;
9798 int _arg3 = (int ) 0;
9799 int _arg4 = (int ) 0;
9800 PyObject * _argo0 = 0;
9801 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
9802
9803 self = self;
9804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
9805 return NULL;
9806 if (_argo0) {
9807 if (_argo0 == Py_None) { _arg0 = NULL; }
9808 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9809 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnBeginDragLeft. Expected _wxPyDividedShape_p.");
9810 return NULL;
9811 }
9812 }
9813 {
9814 wxPy_BEGIN_ALLOW_THREADS;
9815 wxPyDividedShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
9816
9817 wxPy_END_ALLOW_THREADS;
9818 } Py_INCREF(Py_None);
9819 _resultobj = Py_None;
9820 return _resultobj;
9821 }
9822
9823 #define wxPyDividedShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9824 static PyObject *_wrap_wxPyDividedShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9825 PyObject * _resultobj;
9826 wxPyDividedShape * _arg0;
9827 double _arg1;
9828 double _arg2;
9829 int _arg3 = (int ) 0;
9830 int _arg4 = (int ) 0;
9831 PyObject * _argo0 = 0;
9832 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
9833
9834 self = self;
9835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
9836 return NULL;
9837 if (_argo0) {
9838 if (_argo0 == Py_None) { _arg0 = NULL; }
9839 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9840 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnEndDragLeft. Expected _wxPyDividedShape_p.");
9841 return NULL;
9842 }
9843 }
9844 {
9845 wxPy_BEGIN_ALLOW_THREADS;
9846 wxPyDividedShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
9847
9848 wxPy_END_ALLOW_THREADS;
9849 } Py_INCREF(Py_None);
9850 _resultobj = Py_None;
9851 return _resultobj;
9852 }
9853
9854 #define wxPyDividedShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
9855 static PyObject *_wrap_wxPyDividedShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
9856 PyObject * _resultobj;
9857 wxPyDividedShape * _arg0;
9858 bool _arg1;
9859 double _arg2;
9860 double _arg3;
9861 int _arg4 = (int ) 0;
9862 int _arg5 = (int ) 0;
9863 PyObject * _argo0 = 0;
9864 int tempbool1;
9865 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
9866
9867 self = self;
9868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDividedShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
9869 return NULL;
9870 if (_argo0) {
9871 if (_argo0 == Py_None) { _arg0 = NULL; }
9872 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9873 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDragRight. Expected _wxPyDividedShape_p.");
9874 return NULL;
9875 }
9876 }
9877 _arg1 = (bool ) tempbool1;
9878 {
9879 wxPy_BEGIN_ALLOW_THREADS;
9880 wxPyDividedShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
9881
9882 wxPy_END_ALLOW_THREADS;
9883 } Py_INCREF(Py_None);
9884 _resultobj = Py_None;
9885 return _resultobj;
9886 }
9887
9888 #define wxPyDividedShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9889 static PyObject *_wrap_wxPyDividedShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
9890 PyObject * _resultobj;
9891 wxPyDividedShape * _arg0;
9892 double _arg1;
9893 double _arg2;
9894 int _arg3 = (int ) 0;
9895 int _arg4 = (int ) 0;
9896 PyObject * _argo0 = 0;
9897 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
9898
9899 self = self;
9900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
9901 return NULL;
9902 if (_argo0) {
9903 if (_argo0 == Py_None) { _arg0 = NULL; }
9904 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9905 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnBeginDragRight. Expected _wxPyDividedShape_p.");
9906 return NULL;
9907 }
9908 }
9909 {
9910 wxPy_BEGIN_ALLOW_THREADS;
9911 wxPyDividedShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
9912
9913 wxPy_END_ALLOW_THREADS;
9914 } Py_INCREF(Py_None);
9915 _resultobj = Py_None;
9916 return _resultobj;
9917 }
9918
9919 #define wxPyDividedShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9920 static PyObject *_wrap_wxPyDividedShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
9921 PyObject * _resultobj;
9922 wxPyDividedShape * _arg0;
9923 double _arg1;
9924 double _arg2;
9925 int _arg3 = (int ) 0;
9926 int _arg4 = (int ) 0;
9927 PyObject * _argo0 = 0;
9928 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
9929
9930 self = self;
9931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
9932 return NULL;
9933 if (_argo0) {
9934 if (_argo0 == Py_None) { _arg0 = NULL; }
9935 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9936 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnEndDragRight. Expected _wxPyDividedShape_p.");
9937 return NULL;
9938 }
9939 }
9940 {
9941 wxPy_BEGIN_ALLOW_THREADS;
9942 wxPyDividedShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
9943
9944 wxPy_END_ALLOW_THREADS;
9945 } Py_INCREF(Py_None);
9946 _resultobj = Py_None;
9947 return _resultobj;
9948 }
9949
9950 #define wxPyDividedShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
9951 static PyObject *_wrap_wxPyDividedShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
9952 PyObject * _resultobj;
9953 wxPyDividedShape * _arg0;
9954 wxDC * _arg1;
9955 double _arg2;
9956 double _arg3;
9957 double _arg4;
9958 double _arg5;
9959 PyObject * _argo0 = 0;
9960 PyObject * _argo1 = 0;
9961 char *_kwnames[] = { "self","dc","x","y","w","h", NULL };
9962
9963 self = self;
9964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyDividedShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
9965 return NULL;
9966 if (_argo0) {
9967 if (_argo0 == Py_None) { _arg0 = NULL; }
9968 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9969 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDrawOutline. Expected _wxPyDividedShape_p.");
9970 return NULL;
9971 }
9972 }
9973 if (_argo1) {
9974 if (_argo1 == Py_None) { _arg1 = NULL; }
9975 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
9976 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnDrawOutline. Expected _wxDC_p.");
9977 return NULL;
9978 }
9979 }
9980 {
9981 wxPy_BEGIN_ALLOW_THREADS;
9982 wxPyDividedShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5);
9983
9984 wxPy_END_ALLOW_THREADS;
9985 } Py_INCREF(Py_None);
9986 _resultobj = Py_None;
9987 return _resultobj;
9988 }
9989
9990 #define wxPyDividedShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
9991 static PyObject *_wrap_wxPyDividedShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
9992 PyObject * _resultobj;
9993 wxPyDividedShape * _arg0;
9994 wxDC * _arg1;
9995 PyObject * _argo0 = 0;
9996 PyObject * _argo1 = 0;
9997 char *_kwnames[] = { "self","dc", NULL };
9998
9999 self = self;
10000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1))
10001 return NULL;
10002 if (_argo0) {
10003 if (_argo0 == Py_None) { _arg0 = NULL; }
10004 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
10005 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDrawControlPoints. Expected _wxPyDividedShape_p.");
10006 return NULL;
10007 }
10008 }
10009 if (_argo1) {
10010 if (_argo1 == Py_None) { _arg1 = NULL; }
10011 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
10012 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnDrawControlPoints. Expected _wxDC_p.");
10013 return NULL;
10014 }
10015 }
10016 {
10017 wxPy_BEGIN_ALLOW_THREADS;
10018 wxPyDividedShape_base_OnDrawControlPoints(_arg0,*_arg1);
10019
10020 wxPy_END_ALLOW_THREADS;
10021 } Py_INCREF(Py_None);
10022 _resultobj = Py_None;
10023 return _resultobj;
10024 }
10025
10026 #define wxPyDividedShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
10027 static PyObject *_wrap_wxPyDividedShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
10028 PyObject * _resultobj;
10029 wxPyDividedShape * _arg0;
10030 wxDC * _arg1;
10031 PyObject * _argo0 = 0;
10032 PyObject * _argo1 = 0;
10033 char *_kwnames[] = { "self","dc", NULL };
10034
10035 self = self;
10036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1))
10037 return NULL;
10038 if (_argo0) {
10039 if (_argo0 == Py_None) { _arg0 = NULL; }
10040 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
10041 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnEraseControlPoints. Expected _wxPyDividedShape_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 wxPyDividedShape_base_OnEraseControlPoints. Expected _wxDC_p.");
10049 return NULL;
10050 }
10051 }
10052 {
10053 wxPy_BEGIN_ALLOW_THREADS;
10054 wxPyDividedShape_base_OnEraseControlPoints(_arg0,*_arg1);
10055
10056 wxPy_END_ALLOW_THREADS;
10057 } Py_INCREF(Py_None);
10058 _resultobj = Py_None;
10059 return _resultobj;
10060 }
10061
10062 #define wxPyDividedShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
10063 static PyObject *_wrap_wxPyDividedShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
10064 PyObject * _resultobj;
10065 wxPyDividedShape * _arg0;
10066 wxDC * _arg1;
10067 bool _arg2 = (bool ) TRUE;
10068 PyObject * _argo0 = 0;
10069 PyObject * _argo1 = 0;
10070 int tempbool2 = (int) TRUE;
10071 char *_kwnames[] = { "self","dc","moveControlPoints", NULL };
10072
10073 self = self;
10074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDividedShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2))
10075 return NULL;
10076 if (_argo0) {
10077 if (_argo0 == Py_None) { _arg0 = NULL; }
10078 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
10079 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnMoveLink. Expected _wxPyDividedShape_p.");
10080 return NULL;
10081 }
10082 }
10083 if (_argo1) {
10084 if (_argo1 == Py_None) { _arg1 = NULL; }
10085 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
10086 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnMoveLink. Expected _wxDC_p.");
10087 return NULL;
10088 }
10089 }
10090 _arg2 = (bool ) tempbool2;
10091 {
10092 wxPy_BEGIN_ALLOW_THREADS;
10093 wxPyDividedShape_base_OnMoveLink(_arg0,*_arg1,_arg2);
10094
10095 wxPy_END_ALLOW_THREADS;
10096 } Py_INCREF(Py_None);
10097 _resultobj = Py_None;
10098 return _resultobj;
10099 }
10100
10101 #define wxPyDividedShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
10102 static PyObject *_wrap_wxPyDividedShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10103 PyObject * _resultobj;
10104 wxPyDividedShape * _arg0;
10105 wxPyControlPoint * _arg1;
10106 bool _arg2;
10107 double _arg3;
10108 double _arg4;
10109 int _arg5 = (int ) 0;
10110 int _arg6 = (int ) 0;
10111 PyObject * _argo0 = 0;
10112 PyObject * _argo1 = 0;
10113 int tempbool2;
10114 char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL };
10115
10116 self = self;
10117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyDividedShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6))
10118 return NULL;
10119 if (_argo0) {
10120 if (_argo0 == Py_None) { _arg0 = NULL; }
10121 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
10122 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnSizingDragLeft. Expected _wxPyDividedShape_p.");
10123 return NULL;
10124 }
10125 }
10126 if (_argo1) {
10127 if (_argo1 == Py_None) { _arg1 = NULL; }
10128 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
10129 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
10130 return NULL;
10131 }
10132 }
10133 _arg2 = (bool ) tempbool2;
10134 {
10135 wxPy_BEGIN_ALLOW_THREADS;
10136 wxPyDividedShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
10137
10138 wxPy_END_ALLOW_THREADS;
10139 } Py_INCREF(Py_None);
10140 _resultobj = Py_None;
10141 return _resultobj;
10142 }
10143
10144 #define wxPyDividedShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10145 static PyObject *_wrap_wxPyDividedShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10146 PyObject * _resultobj;
10147 wxPyDividedShape * _arg0;
10148 wxPyControlPoint * _arg1;
10149 double _arg2;
10150 double _arg3;
10151 int _arg4 = (int ) 0;
10152 int _arg5 = (int ) 0;
10153 PyObject * _argo0 = 0;
10154 PyObject * _argo1 = 0;
10155 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
10156
10157 self = self;
10158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDividedShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
10159 return NULL;
10160 if (_argo0) {
10161 if (_argo0 == Py_None) { _arg0 = NULL; }
10162 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
10163 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnSizingBeginDragLeft. Expected _wxPyDividedShape_p.");
10164 return NULL;
10165 }
10166 }
10167 if (_argo1) {
10168 if (_argo1 == Py_None) { _arg1 = NULL; }
10169 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
10170 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
10171 return NULL;
10172 }
10173 }
10174 {
10175 wxPy_BEGIN_ALLOW_THREADS;
10176 wxPyDividedShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
10177
10178 wxPy_END_ALLOW_THREADS;
10179 } Py_INCREF(Py_None);
10180 _resultobj = Py_None;
10181 return _resultobj;
10182 }
10183
10184 #define wxPyDividedShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10185 static PyObject *_wrap_wxPyDividedShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10186 PyObject * _resultobj;
10187 wxPyDividedShape * _arg0;
10188 wxPyControlPoint * _arg1;
10189 double _arg2;
10190 double _arg3;
10191 int _arg4 = (int ) 0;
10192 int _arg5 = (int ) 0;
10193 PyObject * _argo0 = 0;
10194 PyObject * _argo1 = 0;
10195 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
10196
10197 self = self;
10198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDividedShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
10199 return NULL;
10200 if (_argo0) {
10201 if (_argo0 == Py_None) { _arg0 = NULL; }
10202 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
10203 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnSizingEndDragLeft. Expected _wxPyDividedShape_p.");
10204 return NULL;
10205 }
10206 }
10207 if (_argo1) {
10208 if (_argo1 == Py_None) { _arg1 = NULL; }
10209 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
10210 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
10211 return NULL;
10212 }
10213 }
10214 {
10215 wxPy_BEGIN_ALLOW_THREADS;
10216 wxPyDividedShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
10217
10218 wxPy_END_ALLOW_THREADS;
10219 } Py_INCREF(Py_None);
10220 _resultobj = Py_None;
10221 return _resultobj;
10222 }
10223
10224 #define wxPyDividedShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
10225 static PyObject *_wrap_wxPyDividedShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10226 PyObject * _resultobj;
10227 wxPyDividedShape * _arg0;
10228 double _arg1;
10229 double _arg2;
10230 PyObject * _argo0 = 0;
10231 char *_kwnames[] = { "self","w","h", NULL };
10232
10233 self = self;
10234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDividedShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2))
10235 return NULL;
10236 if (_argo0) {
10237 if (_argo0 == Py_None) { _arg0 = NULL; }
10238 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
10239 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnBeginSize. Expected _wxPyDividedShape_p.");
10240 return NULL;
10241 }
10242 }
10243 {
10244 wxPy_BEGIN_ALLOW_THREADS;
10245 wxPyDividedShape_base_OnBeginSize(_arg0,_arg1,_arg2);
10246
10247 wxPy_END_ALLOW_THREADS;
10248 } Py_INCREF(Py_None);
10249 _resultobj = Py_None;
10250 return _resultobj;
10251 }
10252
10253 #define wxPyDividedShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
10254 static PyObject *_wrap_wxPyDividedShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10255 PyObject * _resultobj;
10256 wxPyDividedShape * _arg0;
10257 double _arg1;
10258 double _arg2;
10259 PyObject * _argo0 = 0;
10260 char *_kwnames[] = { "self","w","h", NULL };
10261
10262 self = self;
10263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDividedShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2))
10264 return NULL;
10265 if (_argo0) {
10266 if (_argo0 == Py_None) { _arg0 = NULL; }
10267 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
10268 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnEndSize. Expected _wxPyDividedShape_p.");
10269 return NULL;
10270 }
10271 }
10272 {
10273 wxPy_BEGIN_ALLOW_THREADS;
10274 wxPyDividedShape_base_OnEndSize(_arg0,_arg1,_arg2);
10275
10276 wxPy_END_ALLOW_THREADS;
10277 } Py_INCREF(Py_None);
10278 _resultobj = Py_None;
10279 return _resultobj;
10280 }
10281
10282 static void *SwigwxPyDivisionShapeTowxPyCompositeShape(void *ptr) {
10283 wxPyDivisionShape *src;
10284 wxPyCompositeShape *dest;
10285 src = (wxPyDivisionShape *) ptr;
10286 dest = (wxPyCompositeShape *) src;
10287 return (void *) dest;
10288 }
10289
10290 static void *SwigwxPyDivisionShapeTowxPyRectangleShape(void *ptr) {
10291 wxPyDivisionShape *src;
10292 wxPyRectangleShape *dest;
10293 src = (wxPyDivisionShape *) ptr;
10294 dest = (wxPyRectangleShape *) src;
10295 return (void *) dest;
10296 }
10297
10298 static void *SwigwxPyDivisionShapeTowxPyShape(void *ptr) {
10299 wxPyDivisionShape *src;
10300 wxPyShape *dest;
10301 src = (wxPyDivisionShape *) ptr;
10302 dest = (wxPyShape *) src;
10303 return (void *) dest;
10304 }
10305
10306 static void *SwigwxPyDivisionShapeTowxPyShapeEvtHandler(void *ptr) {
10307 wxPyDivisionShape *src;
10308 wxPyShapeEvtHandler *dest;
10309 src = (wxPyDivisionShape *) ptr;
10310 dest = (wxPyShapeEvtHandler *) src;
10311 return (void *) dest;
10312 }
10313
10314 #define new_wxPyDivisionShape() (new wxPyDivisionShape())
10315 static PyObject *_wrap_new_wxPyDivisionShape(PyObject *self, PyObject *args, PyObject *kwargs) {
10316 PyObject * _resultobj;
10317 wxPyDivisionShape * _result;
10318 char *_kwnames[] = { NULL };
10319 char _ptemp[128];
10320
10321 self = self;
10322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyDivisionShape",_kwnames))
10323 return NULL;
10324 {
10325 wxPy_BEGIN_ALLOW_THREADS;
10326 _result = (wxPyDivisionShape *)new_wxPyDivisionShape();
10327
10328 wxPy_END_ALLOW_THREADS;
10329 } if (_result) {
10330 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyDivisionShape_p");
10331 _resultobj = Py_BuildValue("s",_ptemp);
10332 } else {
10333 Py_INCREF(Py_None);
10334 _resultobj = Py_None;
10335 }
10336 return _resultobj;
10337 }
10338
10339 #define wxPyDivisionShape__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
10340 static PyObject *_wrap_wxPyDivisionShape__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
10341 PyObject * _resultobj;
10342 wxPyDivisionShape * _arg0;
10343 PyObject * _arg1;
10344 PyObject * _arg2;
10345 PyObject * _argo0 = 0;
10346 PyObject * _obj1 = 0;
10347 PyObject * _obj2 = 0;
10348 char *_kwnames[] = { "self","self","_class", NULL };
10349
10350 self = self;
10351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyDivisionShape__setSelf",_kwnames,&_argo0,&_obj1,&_obj2))
10352 return NULL;
10353 if (_argo0) {
10354 if (_argo0 == Py_None) { _arg0 = NULL; }
10355 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10356 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape__setSelf. Expected _wxPyDivisionShape_p.");
10357 return NULL;
10358 }
10359 }
10360 {
10361 _arg1 = _obj1;
10362 }
10363 {
10364 _arg2 = _obj2;
10365 }
10366 {
10367 wxPy_BEGIN_ALLOW_THREADS;
10368 wxPyDivisionShape__setSelf(_arg0,_arg1,_arg2);
10369
10370 wxPy_END_ALLOW_THREADS;
10371 } Py_INCREF(Py_None);
10372 _resultobj = Py_None;
10373 return _resultobj;
10374 }
10375
10376 #define wxPyDivisionShape_AdjustBottom(_swigobj,_swigarg0,_swigarg1) (_swigobj->AdjustBottom(_swigarg0,_swigarg1))
10377 static PyObject *_wrap_wxPyDivisionShape_AdjustBottom(PyObject *self, PyObject *args, PyObject *kwargs) {
10378 PyObject * _resultobj;
10379 wxPyDivisionShape * _arg0;
10380 double _arg1;
10381 bool _arg2;
10382 PyObject * _argo0 = 0;
10383 int tempbool2;
10384 char *_kwnames[] = { "self","bottom","test", NULL };
10385
10386 self = self;
10387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odi:wxPyDivisionShape_AdjustBottom",_kwnames,&_argo0,&_arg1,&tempbool2))
10388 return NULL;
10389 if (_argo0) {
10390 if (_argo0 == Py_None) { _arg0 = NULL; }
10391 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10392 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_AdjustBottom. Expected _wxPyDivisionShape_p.");
10393 return NULL;
10394 }
10395 }
10396 _arg2 = (bool ) tempbool2;
10397 {
10398 wxPy_BEGIN_ALLOW_THREADS;
10399 wxPyDivisionShape_AdjustBottom(_arg0,_arg1,_arg2);
10400
10401 wxPy_END_ALLOW_THREADS;
10402 } Py_INCREF(Py_None);
10403 _resultobj = Py_None;
10404 return _resultobj;
10405 }
10406
10407 #define wxPyDivisionShape_AdjustLeft(_swigobj,_swigarg0,_swigarg1) (_swigobj->AdjustLeft(_swigarg0,_swigarg1))
10408 static PyObject *_wrap_wxPyDivisionShape_AdjustLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10409 PyObject * _resultobj;
10410 wxPyDivisionShape * _arg0;
10411 double _arg1;
10412 bool _arg2;
10413 PyObject * _argo0 = 0;
10414 int tempbool2;
10415 char *_kwnames[] = { "self","left","test", NULL };
10416
10417 self = self;
10418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odi:wxPyDivisionShape_AdjustLeft",_kwnames,&_argo0,&_arg1,&tempbool2))
10419 return NULL;
10420 if (_argo0) {
10421 if (_argo0 == Py_None) { _arg0 = NULL; }
10422 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10423 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_AdjustLeft. Expected _wxPyDivisionShape_p.");
10424 return NULL;
10425 }
10426 }
10427 _arg2 = (bool ) tempbool2;
10428 {
10429 wxPy_BEGIN_ALLOW_THREADS;
10430 wxPyDivisionShape_AdjustLeft(_arg0,_arg1,_arg2);
10431
10432 wxPy_END_ALLOW_THREADS;
10433 } Py_INCREF(Py_None);
10434 _resultobj = Py_None;
10435 return _resultobj;
10436 }
10437
10438 #define wxPyDivisionShape_AdjustRight(_swigobj,_swigarg0,_swigarg1) (_swigobj->AdjustRight(_swigarg0,_swigarg1))
10439 static PyObject *_wrap_wxPyDivisionShape_AdjustRight(PyObject *self, PyObject *args, PyObject *kwargs) {
10440 PyObject * _resultobj;
10441 wxPyDivisionShape * _arg0;
10442 double _arg1;
10443 bool _arg2;
10444 PyObject * _argo0 = 0;
10445 int tempbool2;
10446 char *_kwnames[] = { "self","right","test", NULL };
10447
10448 self = self;
10449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odi:wxPyDivisionShape_AdjustRight",_kwnames,&_argo0,&_arg1,&tempbool2))
10450 return NULL;
10451 if (_argo0) {
10452 if (_argo0 == Py_None) { _arg0 = NULL; }
10453 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10454 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_AdjustRight. Expected _wxPyDivisionShape_p.");
10455 return NULL;
10456 }
10457 }
10458 _arg2 = (bool ) tempbool2;
10459 {
10460 wxPy_BEGIN_ALLOW_THREADS;
10461 wxPyDivisionShape_AdjustRight(_arg0,_arg1,_arg2);
10462
10463 wxPy_END_ALLOW_THREADS;
10464 } Py_INCREF(Py_None);
10465 _resultobj = Py_None;
10466 return _resultobj;
10467 }
10468
10469 #define wxPyDivisionShape_AdjustTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->AdjustTop(_swigarg0,_swigarg1))
10470 static PyObject *_wrap_wxPyDivisionShape_AdjustTop(PyObject *self, PyObject *args, PyObject *kwargs) {
10471 PyObject * _resultobj;
10472 wxPyDivisionShape * _arg0;
10473 double _arg1;
10474 bool _arg2;
10475 PyObject * _argo0 = 0;
10476 int tempbool2;
10477 char *_kwnames[] = { "self","top","test", NULL };
10478
10479 self = self;
10480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odi:wxPyDivisionShape_AdjustTop",_kwnames,&_argo0,&_arg1,&tempbool2))
10481 return NULL;
10482 if (_argo0) {
10483 if (_argo0 == Py_None) { _arg0 = NULL; }
10484 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10485 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_AdjustTop. Expected _wxPyDivisionShape_p.");
10486 return NULL;
10487 }
10488 }
10489 _arg2 = (bool ) tempbool2;
10490 {
10491 wxPy_BEGIN_ALLOW_THREADS;
10492 wxPyDivisionShape_AdjustTop(_arg0,_arg1,_arg2);
10493
10494 wxPy_END_ALLOW_THREADS;
10495 } Py_INCREF(Py_None);
10496 _resultobj = Py_None;
10497 return _resultobj;
10498 }
10499
10500 #define wxPyDivisionShape_Divide(_swigobj,_swigarg0) (_swigobj->Divide(_swigarg0))
10501 static PyObject *_wrap_wxPyDivisionShape_Divide(PyObject *self, PyObject *args, PyObject *kwargs) {
10502 PyObject * _resultobj;
10503 wxPyDivisionShape * _arg0;
10504 int _arg1;
10505 PyObject * _argo0 = 0;
10506 char *_kwnames[] = { "self","direction", NULL };
10507
10508 self = self;
10509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDivisionShape_Divide",_kwnames,&_argo0,&_arg1))
10510 return NULL;
10511 if (_argo0) {
10512 if (_argo0 == Py_None) { _arg0 = NULL; }
10513 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10514 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_Divide. Expected _wxPyDivisionShape_p.");
10515 return NULL;
10516 }
10517 }
10518 {
10519 wxPy_BEGIN_ALLOW_THREADS;
10520 wxPyDivisionShape_Divide(_arg0,_arg1);
10521
10522 wxPy_END_ALLOW_THREADS;
10523 } Py_INCREF(Py_None);
10524 _resultobj = Py_None;
10525 return _resultobj;
10526 }
10527
10528 #define wxPyDivisionShape_EditEdge(_swigobj,_swigarg0) (_swigobj->EditEdge(_swigarg0))
10529 static PyObject *_wrap_wxPyDivisionShape_EditEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
10530 PyObject * _resultobj;
10531 wxPyDivisionShape * _arg0;
10532 int _arg1;
10533 PyObject * _argo0 = 0;
10534 char *_kwnames[] = { "self","side", NULL };
10535
10536 self = self;
10537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDivisionShape_EditEdge",_kwnames,&_argo0,&_arg1))
10538 return NULL;
10539 if (_argo0) {
10540 if (_argo0 == Py_None) { _arg0 = NULL; }
10541 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10542 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_EditEdge. Expected _wxPyDivisionShape_p.");
10543 return NULL;
10544 }
10545 }
10546 {
10547 wxPy_BEGIN_ALLOW_THREADS;
10548 wxPyDivisionShape_EditEdge(_arg0,_arg1);
10549
10550 wxPy_END_ALLOW_THREADS;
10551 } Py_INCREF(Py_None);
10552 _resultobj = Py_None;
10553 return _resultobj;
10554 }
10555
10556 #define wxPyDivisionShape_GetBottomSide(_swigobj) (_swigobj->GetBottomSide())
10557 static PyObject *_wrap_wxPyDivisionShape_GetBottomSide(PyObject *self, PyObject *args, PyObject *kwargs) {
10558 PyObject * _resultobj;
10559 wxPyDivisionShape * _result;
10560 wxPyDivisionShape * _arg0;
10561 PyObject * _argo0 = 0;
10562 char *_kwnames[] = { "self", NULL };
10563 char _ptemp[128];
10564
10565 self = self;
10566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetBottomSide",_kwnames,&_argo0))
10567 return NULL;
10568 if (_argo0) {
10569 if (_argo0 == Py_None) { _arg0 = NULL; }
10570 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10571 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetBottomSide. Expected _wxPyDivisionShape_p.");
10572 return NULL;
10573 }
10574 }
10575 {
10576 wxPy_BEGIN_ALLOW_THREADS;
10577 _result = (wxPyDivisionShape *)wxPyDivisionShape_GetBottomSide(_arg0);
10578
10579 wxPy_END_ALLOW_THREADS;
10580 } if (_result) {
10581 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyDivisionShape_p");
10582 _resultobj = Py_BuildValue("s",_ptemp);
10583 } else {
10584 Py_INCREF(Py_None);
10585 _resultobj = Py_None;
10586 }
10587 return _resultobj;
10588 }
10589
10590 #define wxPyDivisionShape_GetHandleSide(_swigobj) (_swigobj->GetHandleSide())
10591 static PyObject *_wrap_wxPyDivisionShape_GetHandleSide(PyObject *self, PyObject *args, PyObject *kwargs) {
10592 PyObject * _resultobj;
10593 int _result;
10594 wxPyDivisionShape * _arg0;
10595 PyObject * _argo0 = 0;
10596 char *_kwnames[] = { "self", NULL };
10597
10598 self = self;
10599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetHandleSide",_kwnames,&_argo0))
10600 return NULL;
10601 if (_argo0) {
10602 if (_argo0 == Py_None) { _arg0 = NULL; }
10603 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10604 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetHandleSide. Expected _wxPyDivisionShape_p.");
10605 return NULL;
10606 }
10607 }
10608 {
10609 wxPy_BEGIN_ALLOW_THREADS;
10610 _result = (int )wxPyDivisionShape_GetHandleSide(_arg0);
10611
10612 wxPy_END_ALLOW_THREADS;
10613 } _resultobj = Py_BuildValue("i",_result);
10614 return _resultobj;
10615 }
10616
10617 #define wxPyDivisionShape_GetLeftSide(_swigobj) (_swigobj->GetLeftSide())
10618 static PyObject *_wrap_wxPyDivisionShape_GetLeftSide(PyObject *self, PyObject *args, PyObject *kwargs) {
10619 PyObject * _resultobj;
10620 wxPyDivisionShape * _result;
10621 wxPyDivisionShape * _arg0;
10622 PyObject * _argo0 = 0;
10623 char *_kwnames[] = { "self", NULL };
10624 char _ptemp[128];
10625
10626 self = self;
10627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetLeftSide",_kwnames,&_argo0))
10628 return NULL;
10629 if (_argo0) {
10630 if (_argo0 == Py_None) { _arg0 = NULL; }
10631 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10632 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetLeftSide. Expected _wxPyDivisionShape_p.");
10633 return NULL;
10634 }
10635 }
10636 {
10637 wxPy_BEGIN_ALLOW_THREADS;
10638 _result = (wxPyDivisionShape *)wxPyDivisionShape_GetLeftSide(_arg0);
10639
10640 wxPy_END_ALLOW_THREADS;
10641 } if (_result) {
10642 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyDivisionShape_p");
10643 _resultobj = Py_BuildValue("s",_ptemp);
10644 } else {
10645 Py_INCREF(Py_None);
10646 _resultobj = Py_None;
10647 }
10648 return _resultobj;
10649 }
10650
10651 #define wxPyDivisionShape_GetLeftSideColour(_swigobj) (_swigobj->GetLeftSideColour())
10652 static PyObject *_wrap_wxPyDivisionShape_GetLeftSideColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10653 PyObject * _resultobj;
10654 wxString * _result;
10655 wxPyDivisionShape * _arg0;
10656 PyObject * _argo0 = 0;
10657 char *_kwnames[] = { "self", NULL };
10658
10659 self = self;
10660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetLeftSideColour",_kwnames,&_argo0))
10661 return NULL;
10662 if (_argo0) {
10663 if (_argo0 == Py_None) { _arg0 = NULL; }
10664 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10665 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetLeftSideColour. Expected _wxPyDivisionShape_p.");
10666 return NULL;
10667 }
10668 }
10669 {
10670 wxPy_BEGIN_ALLOW_THREADS;
10671 _result = new wxString (wxPyDivisionShape_GetLeftSideColour(_arg0));
10672
10673 wxPy_END_ALLOW_THREADS;
10674 }{
10675 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
10676 }
10677 {
10678 delete _result;
10679 }
10680 return _resultobj;
10681 }
10682
10683 #define wxPyDivisionShape_GetLeftSidePen(_swigobj) (_swigobj->GetLeftSidePen())
10684 static PyObject *_wrap_wxPyDivisionShape_GetLeftSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
10685 PyObject * _resultobj;
10686 wxPen * _result;
10687 wxPyDivisionShape * _arg0;
10688 PyObject * _argo0 = 0;
10689 char *_kwnames[] = { "self", NULL };
10690 char _ptemp[128];
10691
10692 self = self;
10693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetLeftSidePen",_kwnames,&_argo0))
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_GetLeftSidePen. Expected _wxPyDivisionShape_p.");
10699 return NULL;
10700 }
10701 }
10702 {
10703 wxPy_BEGIN_ALLOW_THREADS;
10704 _result = (wxPen *)wxPyDivisionShape_GetLeftSidePen(_arg0);
10705
10706 wxPy_END_ALLOW_THREADS;
10707 } if (_result) {
10708 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPen_p");
10709 _resultobj = Py_BuildValue("s",_ptemp);
10710 } else {
10711 Py_INCREF(Py_None);
10712 _resultobj = Py_None;
10713 }
10714 return _resultobj;
10715 }
10716
10717 #define wxPyDivisionShape_GetRightSide(_swigobj) (_swigobj->GetRightSide())
10718 static PyObject *_wrap_wxPyDivisionShape_GetRightSide(PyObject *self, PyObject *args, PyObject *kwargs) {
10719 PyObject * _resultobj;
10720 wxPyDivisionShape * _result;
10721 wxPyDivisionShape * _arg0;
10722 PyObject * _argo0 = 0;
10723 char *_kwnames[] = { "self", NULL };
10724 char _ptemp[128];
10725
10726 self = self;
10727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetRightSide",_kwnames,&_argo0))
10728 return NULL;
10729 if (_argo0) {
10730 if (_argo0 == Py_None) { _arg0 = NULL; }
10731 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10732 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetRightSide. Expected _wxPyDivisionShape_p.");
10733 return NULL;
10734 }
10735 }
10736 {
10737 wxPy_BEGIN_ALLOW_THREADS;
10738 _result = (wxPyDivisionShape *)wxPyDivisionShape_GetRightSide(_arg0);
10739
10740 wxPy_END_ALLOW_THREADS;
10741 } if (_result) {
10742 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyDivisionShape_p");
10743 _resultobj = Py_BuildValue("s",_ptemp);
10744 } else {
10745 Py_INCREF(Py_None);
10746 _resultobj = Py_None;
10747 }
10748 return _resultobj;
10749 }
10750
10751 #define wxPyDivisionShape_GetTopSide(_swigobj) (_swigobj->GetTopSide())
10752 static PyObject *_wrap_wxPyDivisionShape_GetTopSide(PyObject *self, PyObject *args, PyObject *kwargs) {
10753 PyObject * _resultobj;
10754 wxPyDivisionShape * _result;
10755 wxPyDivisionShape * _arg0;
10756 PyObject * _argo0 = 0;
10757 char *_kwnames[] = { "self", NULL };
10758 char _ptemp[128];
10759
10760 self = self;
10761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetTopSide",_kwnames,&_argo0))
10762 return NULL;
10763 if (_argo0) {
10764 if (_argo0 == Py_None) { _arg0 = NULL; }
10765 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10766 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetTopSide. Expected _wxPyDivisionShape_p.");
10767 return NULL;
10768 }
10769 }
10770 {
10771 wxPy_BEGIN_ALLOW_THREADS;
10772 _result = (wxPyDivisionShape *)wxPyDivisionShape_GetTopSide(_arg0);
10773
10774 wxPy_END_ALLOW_THREADS;
10775 } if (_result) {
10776 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyDivisionShape_p");
10777 _resultobj = Py_BuildValue("s",_ptemp);
10778 } else {
10779 Py_INCREF(Py_None);
10780 _resultobj = Py_None;
10781 }
10782 return _resultobj;
10783 }
10784
10785 #define wxPyDivisionShape_GetTopSidePen(_swigobj) (_swigobj->GetTopSidePen())
10786 static PyObject *_wrap_wxPyDivisionShape_GetTopSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
10787 PyObject * _resultobj;
10788 wxPen * _result;
10789 wxPyDivisionShape * _arg0;
10790 PyObject * _argo0 = 0;
10791 char *_kwnames[] = { "self", NULL };
10792 char _ptemp[128];
10793
10794 self = self;
10795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetTopSidePen",_kwnames,&_argo0))
10796 return NULL;
10797 if (_argo0) {
10798 if (_argo0 == Py_None) { _arg0 = NULL; }
10799 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10800 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetTopSidePen. Expected _wxPyDivisionShape_p.");
10801 return NULL;
10802 }
10803 }
10804 {
10805 wxPy_BEGIN_ALLOW_THREADS;
10806 _result = (wxPen *)wxPyDivisionShape_GetTopSidePen(_arg0);
10807
10808 wxPy_END_ALLOW_THREADS;
10809 } if (_result) {
10810 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPen_p");
10811 _resultobj = Py_BuildValue("s",_ptemp);
10812 } else {
10813 Py_INCREF(Py_None);
10814 _resultobj = Py_None;
10815 }
10816 return _resultobj;
10817 }
10818
10819 #define wxPyDivisionShape_ResizeAdjoining(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ResizeAdjoining(_swigarg0,_swigarg1,_swigarg2))
10820 static PyObject *_wrap_wxPyDivisionShape_ResizeAdjoining(PyObject *self, PyObject *args, PyObject *kwargs) {
10821 PyObject * _resultobj;
10822 wxPyDivisionShape * _arg0;
10823 int _arg1;
10824 double _arg2;
10825 bool _arg3;
10826 PyObject * _argo0 = 0;
10827 int tempbool3;
10828 char *_kwnames[] = { "self","side","newPos","test", NULL };
10829
10830 self = self;
10831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidi:wxPyDivisionShape_ResizeAdjoining",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
10832 return NULL;
10833 if (_argo0) {
10834 if (_argo0 == Py_None) { _arg0 = NULL; }
10835 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10836 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_ResizeAdjoining. Expected _wxPyDivisionShape_p.");
10837 return NULL;
10838 }
10839 }
10840 _arg3 = (bool ) tempbool3;
10841 {
10842 wxPy_BEGIN_ALLOW_THREADS;
10843 wxPyDivisionShape_ResizeAdjoining(_arg0,_arg1,_arg2,_arg3);
10844
10845 wxPy_END_ALLOW_THREADS;
10846 } Py_INCREF(Py_None);
10847 _resultobj = Py_None;
10848 return _resultobj;
10849 }
10850
10851 #define wxPyDivisionShape_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
10852 static PyObject *_wrap_wxPyDivisionShape_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
10853 PyObject * _resultobj;
10854 wxPyDivisionShape * _arg0;
10855 double _arg1;
10856 double _arg2;
10857 PyObject * _argo0 = 0;
10858 char *_kwnames[] = { "self","x","y", NULL };
10859
10860 self = self;
10861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDivisionShape_PopupMenu",_kwnames,&_argo0,&_arg1,&_arg2))
10862 return NULL;
10863 if (_argo0) {
10864 if (_argo0 == Py_None) { _arg0 = NULL; }
10865 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10866 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_PopupMenu. Expected _wxPyDivisionShape_p.");
10867 return NULL;
10868 }
10869 }
10870 {
10871 wxPy_BEGIN_ALLOW_THREADS;
10872 wxPyDivisionShape_PopupMenu(_arg0,_arg1,_arg2);
10873
10874 wxPy_END_ALLOW_THREADS;
10875 } Py_INCREF(Py_None);
10876 _resultobj = Py_None;
10877 return _resultobj;
10878 }
10879
10880 #define wxPyDivisionShape_SetBottomSide(_swigobj,_swigarg0) (_swigobj->SetBottomSide(_swigarg0))
10881 static PyObject *_wrap_wxPyDivisionShape_SetBottomSide(PyObject *self, PyObject *args, PyObject *kwargs) {
10882 PyObject * _resultobj;
10883 wxPyDivisionShape * _arg0;
10884 wxPyDivisionShape * _arg1;
10885 PyObject * _argo0 = 0;
10886 PyObject * _argo1 = 0;
10887 char *_kwnames[] = { "self","shape", NULL };
10888
10889 self = self;
10890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetBottomSide",_kwnames,&_argo0,&_argo1))
10891 return NULL;
10892 if (_argo0) {
10893 if (_argo0 == Py_None) { _arg0 = NULL; }
10894 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10895 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetBottomSide. Expected _wxPyDivisionShape_p.");
10896 return NULL;
10897 }
10898 }
10899 if (_argo1) {
10900 if (_argo1 == Py_None) { _arg1 = NULL; }
10901 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyDivisionShape_p")) {
10902 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_SetBottomSide. Expected _wxPyDivisionShape_p.");
10903 return NULL;
10904 }
10905 }
10906 {
10907 wxPy_BEGIN_ALLOW_THREADS;
10908 wxPyDivisionShape_SetBottomSide(_arg0,_arg1);
10909
10910 wxPy_END_ALLOW_THREADS;
10911 } Py_INCREF(Py_None);
10912 _resultobj = Py_None;
10913 return _resultobj;
10914 }
10915
10916 #define wxPyDivisionShape_SetHandleSide(_swigobj,_swigarg0) (_swigobj->SetHandleSide(_swigarg0))
10917 static PyObject *_wrap_wxPyDivisionShape_SetHandleSide(PyObject *self, PyObject *args, PyObject *kwargs) {
10918 PyObject * _resultobj;
10919 wxPyDivisionShape * _arg0;
10920 int _arg1;
10921 PyObject * _argo0 = 0;
10922 char *_kwnames[] = { "self","side", NULL };
10923
10924 self = self;
10925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDivisionShape_SetHandleSide",_kwnames,&_argo0,&_arg1))
10926 return NULL;
10927 if (_argo0) {
10928 if (_argo0 == Py_None) { _arg0 = NULL; }
10929 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10930 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetHandleSide. Expected _wxPyDivisionShape_p.");
10931 return NULL;
10932 }
10933 }
10934 {
10935 wxPy_BEGIN_ALLOW_THREADS;
10936 wxPyDivisionShape_SetHandleSide(_arg0,_arg1);
10937
10938 wxPy_END_ALLOW_THREADS;
10939 } Py_INCREF(Py_None);
10940 _resultobj = Py_None;
10941 return _resultobj;
10942 }
10943
10944 #define wxPyDivisionShape_SetLeftSide(_swigobj,_swigarg0) (_swigobj->SetLeftSide(_swigarg0))
10945 static PyObject *_wrap_wxPyDivisionShape_SetLeftSide(PyObject *self, PyObject *args, PyObject *kwargs) {
10946 PyObject * _resultobj;
10947 wxPyDivisionShape * _arg0;
10948 wxPyDivisionShape * _arg1;
10949 PyObject * _argo0 = 0;
10950 PyObject * _argo1 = 0;
10951 char *_kwnames[] = { "self","shape", NULL };
10952
10953 self = self;
10954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetLeftSide",_kwnames,&_argo0,&_argo1))
10955 return NULL;
10956 if (_argo0) {
10957 if (_argo0 == Py_None) { _arg0 = NULL; }
10958 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10959 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetLeftSide. Expected _wxPyDivisionShape_p.");
10960 return NULL;
10961 }
10962 }
10963 if (_argo1) {
10964 if (_argo1 == Py_None) { _arg1 = NULL; }
10965 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyDivisionShape_p")) {
10966 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_SetLeftSide. Expected _wxPyDivisionShape_p.");
10967 return NULL;
10968 }
10969 }
10970 {
10971 wxPy_BEGIN_ALLOW_THREADS;
10972 wxPyDivisionShape_SetLeftSide(_arg0,_arg1);
10973
10974 wxPy_END_ALLOW_THREADS;
10975 } Py_INCREF(Py_None);
10976 _resultobj = Py_None;
10977 return _resultobj;
10978 }
10979
10980 #define wxPyDivisionShape_SetLeftSideColour(_swigobj,_swigarg0) (_swigobj->SetLeftSideColour(_swigarg0))
10981 static PyObject *_wrap_wxPyDivisionShape_SetLeftSideColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10982 PyObject * _resultobj;
10983 wxPyDivisionShape * _arg0;
10984 wxString * _arg1;
10985 PyObject * _argo0 = 0;
10986 PyObject * _obj1 = 0;
10987 char *_kwnames[] = { "self","colour", NULL };
10988
10989 self = self;
10990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetLeftSideColour",_kwnames,&_argo0,&_obj1))
10991 return NULL;
10992 if (_argo0) {
10993 if (_argo0 == Py_None) { _arg0 = NULL; }
10994 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10995 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetLeftSideColour. Expected _wxPyDivisionShape_p.");
10996 return NULL;
10997 }
10998 }
10999 {
11000 #if PYTHON_API_VERSION >= 1009
11001 char* tmpPtr; int tmpSize;
11002 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
11003 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
11004 return NULL;
11005 }
11006 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
11007 return NULL;
11008 _arg1 = new wxString(tmpPtr, tmpSize);
11009 #else
11010 if (!PyString_Check(_obj1)) {
11011 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
11012 return NULL;
11013 }
11014 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
11015 #endif
11016 }
11017 {
11018 wxPy_BEGIN_ALLOW_THREADS;
11019 wxPyDivisionShape_SetLeftSideColour(_arg0,*_arg1);
11020
11021 wxPy_END_ALLOW_THREADS;
11022 } Py_INCREF(Py_None);
11023 _resultobj = Py_None;
11024 {
11025 if (_obj1)
11026 delete _arg1;
11027 }
11028 return _resultobj;
11029 }
11030
11031 #define wxPyDivisionShape_SetLeftSidePen(_swigobj,_swigarg0) (_swigobj->SetLeftSidePen(_swigarg0))
11032 static PyObject *_wrap_wxPyDivisionShape_SetLeftSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
11033 PyObject * _resultobj;
11034 wxPyDivisionShape * _arg0;
11035 wxPen * _arg1;
11036 PyObject * _argo0 = 0;
11037 PyObject * _obj1 = 0;
11038 char *_kwnames[] = { "self","pen", NULL };
11039
11040 self = self;
11041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetLeftSidePen",_kwnames,&_argo0,&_obj1))
11042 return NULL;
11043 if (_argo0) {
11044 if (_argo0 == Py_None) { _arg0 = NULL; }
11045 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11046 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetLeftSidePen. Expected _wxPyDivisionShape_p.");
11047 return NULL;
11048 }
11049 }
11050 {
11051 wxPen* temp;
11052 if (_obj1) {
11053 if (_obj1 == Py_None) { temp = NULL; }
11054 else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxPen_p")) {
11055 PyErr_SetString(PyExc_TypeError,"Type error, expected _wxPen_p.");
11056 return NULL;
11057 }
11058 }
11059 if (temp)
11060 _arg1 = wxThePenList->FindOrCreatePen(temp->GetColour(),
11061 temp->GetWidth(),
11062 temp->GetStyle());
11063 else
11064 _arg1 = NULL;
11065 }
11066 {
11067 wxPy_BEGIN_ALLOW_THREADS;
11068 wxPyDivisionShape_SetLeftSidePen(_arg0,_arg1);
11069
11070 wxPy_END_ALLOW_THREADS;
11071 } Py_INCREF(Py_None);
11072 _resultobj = Py_None;
11073 return _resultobj;
11074 }
11075
11076 #define wxPyDivisionShape_SetRightSide(_swigobj,_swigarg0) (_swigobj->SetRightSide(_swigarg0))
11077 static PyObject *_wrap_wxPyDivisionShape_SetRightSide(PyObject *self, PyObject *args, PyObject *kwargs) {
11078 PyObject * _resultobj;
11079 wxPyDivisionShape * _arg0;
11080 wxPyDivisionShape * _arg1;
11081 PyObject * _argo0 = 0;
11082 PyObject * _argo1 = 0;
11083 char *_kwnames[] = { "self","shape", NULL };
11084
11085 self = self;
11086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetRightSide",_kwnames,&_argo0,&_argo1))
11087 return NULL;
11088 if (_argo0) {
11089 if (_argo0 == Py_None) { _arg0 = NULL; }
11090 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11091 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetRightSide. Expected _wxPyDivisionShape_p.");
11092 return NULL;
11093 }
11094 }
11095 if (_argo1) {
11096 if (_argo1 == Py_None) { _arg1 = NULL; }
11097 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyDivisionShape_p")) {
11098 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_SetRightSide. Expected _wxPyDivisionShape_p.");
11099 return NULL;
11100 }
11101 }
11102 {
11103 wxPy_BEGIN_ALLOW_THREADS;
11104 wxPyDivisionShape_SetRightSide(_arg0,_arg1);
11105
11106 wxPy_END_ALLOW_THREADS;
11107 } Py_INCREF(Py_None);
11108 _resultobj = Py_None;
11109 return _resultobj;
11110 }
11111
11112 #define wxPyDivisionShape_SetTopSide(_swigobj,_swigarg0) (_swigobj->SetTopSide(_swigarg0))
11113 static PyObject *_wrap_wxPyDivisionShape_SetTopSide(PyObject *self, PyObject *args, PyObject *kwargs) {
11114 PyObject * _resultobj;
11115 wxPyDivisionShape * _arg0;
11116 wxPyDivisionShape * _arg1;
11117 PyObject * _argo0 = 0;
11118 PyObject * _argo1 = 0;
11119 char *_kwnames[] = { "self","shape", NULL };
11120
11121 self = self;
11122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetTopSide",_kwnames,&_argo0,&_argo1))
11123 return NULL;
11124 if (_argo0) {
11125 if (_argo0 == Py_None) { _arg0 = NULL; }
11126 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11127 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetTopSide. Expected _wxPyDivisionShape_p.");
11128 return NULL;
11129 }
11130 }
11131 if (_argo1) {
11132 if (_argo1 == Py_None) { _arg1 = NULL; }
11133 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyDivisionShape_p")) {
11134 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_SetTopSide. Expected _wxPyDivisionShape_p.");
11135 return NULL;
11136 }
11137 }
11138 {
11139 wxPy_BEGIN_ALLOW_THREADS;
11140 wxPyDivisionShape_SetTopSide(_arg0,_arg1);
11141
11142 wxPy_END_ALLOW_THREADS;
11143 } Py_INCREF(Py_None);
11144 _resultobj = Py_None;
11145 return _resultobj;
11146 }
11147
11148 #define wxPyDivisionShape_SetTopSideColour(_swigobj,_swigarg0) (_swigobj->SetTopSideColour(_swigarg0))
11149 static PyObject *_wrap_wxPyDivisionShape_SetTopSideColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11150 PyObject * _resultobj;
11151 wxPyDivisionShape * _arg0;
11152 wxString * _arg1;
11153 PyObject * _argo0 = 0;
11154 PyObject * _obj1 = 0;
11155 char *_kwnames[] = { "self","colour", NULL };
11156
11157 self = self;
11158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetTopSideColour",_kwnames,&_argo0,&_obj1))
11159 return NULL;
11160 if (_argo0) {
11161 if (_argo0 == Py_None) { _arg0 = NULL; }
11162 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11163 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetTopSideColour. Expected _wxPyDivisionShape_p.");
11164 return NULL;
11165 }
11166 }
11167 {
11168 #if PYTHON_API_VERSION >= 1009
11169 char* tmpPtr; int tmpSize;
11170 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
11171 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
11172 return NULL;
11173 }
11174 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
11175 return NULL;
11176 _arg1 = new wxString(tmpPtr, tmpSize);
11177 #else
11178 if (!PyString_Check(_obj1)) {
11179 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
11180 return NULL;
11181 }
11182 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
11183 #endif
11184 }
11185 {
11186 wxPy_BEGIN_ALLOW_THREADS;
11187 wxPyDivisionShape_SetTopSideColour(_arg0,*_arg1);
11188
11189 wxPy_END_ALLOW_THREADS;
11190 } Py_INCREF(Py_None);
11191 _resultobj = Py_None;
11192 {
11193 if (_obj1)
11194 delete _arg1;
11195 }
11196 return _resultobj;
11197 }
11198
11199 #define wxPyDivisionShape_SetTopSidePen(_swigobj,_swigarg0) (_swigobj->SetTopSidePen(_swigarg0))
11200 static PyObject *_wrap_wxPyDivisionShape_SetTopSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
11201 PyObject * _resultobj;
11202 wxPyDivisionShape * _arg0;
11203 wxPen * _arg1;
11204 PyObject * _argo0 = 0;
11205 PyObject * _obj1 = 0;
11206 char *_kwnames[] = { "self","pen", NULL };
11207
11208 self = self;
11209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetTopSidePen",_kwnames,&_argo0,&_obj1))
11210 return NULL;
11211 if (_argo0) {
11212 if (_argo0 == Py_None) { _arg0 = NULL; }
11213 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11214 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetTopSidePen. Expected _wxPyDivisionShape_p.");
11215 return NULL;
11216 }
11217 }
11218 {
11219 wxPen* temp;
11220 if (_obj1) {
11221 if (_obj1 == Py_None) { temp = NULL; }
11222 else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxPen_p")) {
11223 PyErr_SetString(PyExc_TypeError,"Type error, expected _wxPen_p.");
11224 return NULL;
11225 }
11226 }
11227 if (temp)
11228 _arg1 = wxThePenList->FindOrCreatePen(temp->GetColour(),
11229 temp->GetWidth(),
11230 temp->GetStyle());
11231 else
11232 _arg1 = NULL;
11233 }
11234 {
11235 wxPy_BEGIN_ALLOW_THREADS;
11236 wxPyDivisionShape_SetTopSidePen(_arg0,_arg1);
11237
11238 wxPy_END_ALLOW_THREADS;
11239 } Py_INCREF(Py_None);
11240 _resultobj = Py_None;
11241 return _resultobj;
11242 }
11243
11244 #define wxPyDivisionShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
11245 static PyObject *_wrap_wxPyDivisionShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
11246 PyObject * _resultobj;
11247 wxPyDivisionShape * _arg0;
11248 PyObject * _argo0 = 0;
11249 char *_kwnames[] = { "self", NULL };
11250
11251 self = self;
11252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_base_OnDelete",_kwnames,&_argo0))
11253 return NULL;
11254 if (_argo0) {
11255 if (_argo0 == Py_None) { _arg0 = NULL; }
11256 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11257 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDelete. Expected _wxPyDivisionShape_p.");
11258 return NULL;
11259 }
11260 }
11261 {
11262 wxPy_BEGIN_ALLOW_THREADS;
11263 wxPyDivisionShape_base_OnDelete(_arg0);
11264
11265 wxPy_END_ALLOW_THREADS;
11266 } Py_INCREF(Py_None);
11267 _resultobj = Py_None;
11268 return _resultobj;
11269 }
11270
11271 #define wxPyDivisionShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
11272 static PyObject *_wrap_wxPyDivisionShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
11273 PyObject * _resultobj;
11274 wxPyDivisionShape * _arg0;
11275 wxDC * _arg1;
11276 PyObject * _argo0 = 0;
11277 PyObject * _argo1 = 0;
11278 char *_kwnames[] = { "self","dc", NULL };
11279
11280 self = self;
11281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnDraw",_kwnames,&_argo0,&_argo1))
11282 return NULL;
11283 if (_argo0) {
11284 if (_argo0 == Py_None) { _arg0 = NULL; }
11285 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11286 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDraw. Expected _wxPyDivisionShape_p.");
11287 return NULL;
11288 }
11289 }
11290 if (_argo1) {
11291 if (_argo1 == Py_None) { _arg1 = NULL; }
11292 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
11293 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnDraw. Expected _wxDC_p.");
11294 return NULL;
11295 }
11296 }
11297 {
11298 wxPy_BEGIN_ALLOW_THREADS;
11299 wxPyDivisionShape_base_OnDraw(_arg0,*_arg1);
11300
11301 wxPy_END_ALLOW_THREADS;
11302 } Py_INCREF(Py_None);
11303 _resultobj = Py_None;
11304 return _resultobj;
11305 }
11306
11307 #define wxPyDivisionShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
11308 static PyObject *_wrap_wxPyDivisionShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
11309 PyObject * _resultobj;
11310 wxPyDivisionShape * _arg0;
11311 wxDC * _arg1;
11312 PyObject * _argo0 = 0;
11313 PyObject * _argo1 = 0;
11314 char *_kwnames[] = { "self","dc", NULL };
11315
11316 self = self;
11317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1))
11318 return NULL;
11319 if (_argo0) {
11320 if (_argo0 == Py_None) { _arg0 = NULL; }
11321 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11322 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDrawContents. Expected _wxPyDivisionShape_p.");
11323 return NULL;
11324 }
11325 }
11326 if (_argo1) {
11327 if (_argo1 == Py_None) { _arg1 = NULL; }
11328 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
11329 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnDrawContents. Expected _wxDC_p.");
11330 return NULL;
11331 }
11332 }
11333 {
11334 wxPy_BEGIN_ALLOW_THREADS;
11335 wxPyDivisionShape_base_OnDrawContents(_arg0,*_arg1);
11336
11337 wxPy_END_ALLOW_THREADS;
11338 } Py_INCREF(Py_None);
11339 _resultobj = Py_None;
11340 return _resultobj;
11341 }
11342
11343 #define wxPyDivisionShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
11344 static PyObject *_wrap_wxPyDivisionShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
11345 PyObject * _resultobj;
11346 wxPyDivisionShape * _arg0;
11347 wxDC * _arg1;
11348 bool _arg2 = (bool ) FALSE;
11349 PyObject * _argo0 = 0;
11350 PyObject * _argo1 = 0;
11351 int tempbool2 = (int) FALSE;
11352 char *_kwnames[] = { "self","dc","erase", NULL };
11353
11354 self = self;
11355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDivisionShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2))
11356 return NULL;
11357 if (_argo0) {
11358 if (_argo0 == Py_None) { _arg0 = NULL; }
11359 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11360 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDrawBranches. Expected _wxPyDivisionShape_p.");
11361 return NULL;
11362 }
11363 }
11364 if (_argo1) {
11365 if (_argo1 == Py_None) { _arg1 = NULL; }
11366 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
11367 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnDrawBranches. Expected _wxDC_p.");
11368 return NULL;
11369 }
11370 }
11371 _arg2 = (bool ) tempbool2;
11372 {
11373 wxPy_BEGIN_ALLOW_THREADS;
11374 wxPyDivisionShape_base_OnDrawBranches(_arg0,*_arg1,_arg2);
11375
11376 wxPy_END_ALLOW_THREADS;
11377 } Py_INCREF(Py_None);
11378 _resultobj = Py_None;
11379 return _resultobj;
11380 }
11381
11382 #define wxPyDivisionShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
11383 static PyObject *_wrap_wxPyDivisionShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
11384 PyObject * _resultobj;
11385 wxPyDivisionShape * _arg0;
11386 wxDC * _arg1;
11387 PyObject * _argo0 = 0;
11388 PyObject * _argo1 = 0;
11389 char *_kwnames[] = { "self","dc", NULL };
11390
11391 self = self;
11392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1))
11393 return NULL;
11394 if (_argo0) {
11395 if (_argo0 == Py_None) { _arg0 = NULL; }
11396 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11397 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnMoveLinks. Expected _wxPyDivisionShape_p.");
11398 return NULL;
11399 }
11400 }
11401 if (_argo1) {
11402 if (_argo1 == Py_None) { _arg1 = NULL; }
11403 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
11404 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnMoveLinks. Expected _wxDC_p.");
11405 return NULL;
11406 }
11407 }
11408 {
11409 wxPy_BEGIN_ALLOW_THREADS;
11410 wxPyDivisionShape_base_OnMoveLinks(_arg0,*_arg1);
11411
11412 wxPy_END_ALLOW_THREADS;
11413 } Py_INCREF(Py_None);
11414 _resultobj = Py_None;
11415 return _resultobj;
11416 }
11417
11418 #define wxPyDivisionShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
11419 static PyObject *_wrap_wxPyDivisionShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
11420 PyObject * _resultobj;
11421 wxPyDivisionShape * _arg0;
11422 wxDC * _arg1;
11423 PyObject * _argo0 = 0;
11424 PyObject * _argo1 = 0;
11425 char *_kwnames[] = { "self","dc", NULL };
11426
11427 self = self;
11428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnErase",_kwnames,&_argo0,&_argo1))
11429 return NULL;
11430 if (_argo0) {
11431 if (_argo0 == Py_None) { _arg0 = NULL; }
11432 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11433 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnErase. Expected _wxPyDivisionShape_p.");
11434 return NULL;
11435 }
11436 }
11437 if (_argo1) {
11438 if (_argo1 == Py_None) { _arg1 = NULL; }
11439 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
11440 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnErase. Expected _wxDC_p.");
11441 return NULL;
11442 }
11443 }
11444 {
11445 wxPy_BEGIN_ALLOW_THREADS;
11446 wxPyDivisionShape_base_OnErase(_arg0,*_arg1);
11447
11448 wxPy_END_ALLOW_THREADS;
11449 } Py_INCREF(Py_None);
11450 _resultobj = Py_None;
11451 return _resultobj;
11452 }
11453
11454 #define wxPyDivisionShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
11455 static PyObject *_wrap_wxPyDivisionShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
11456 PyObject * _resultobj;
11457 wxPyDivisionShape * _arg0;
11458 wxDC * _arg1;
11459 PyObject * _argo0 = 0;
11460 PyObject * _argo1 = 0;
11461 char *_kwnames[] = { "self","dc", NULL };
11462
11463 self = self;
11464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1))
11465 return NULL;
11466 if (_argo0) {
11467 if (_argo0 == Py_None) { _arg0 = NULL; }
11468 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11469 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnEraseContents. Expected _wxPyDivisionShape_p.");
11470 return NULL;
11471 }
11472 }
11473 if (_argo1) {
11474 if (_argo1 == Py_None) { _arg1 = NULL; }
11475 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
11476 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnEraseContents. Expected _wxDC_p.");
11477 return NULL;
11478 }
11479 }
11480 {
11481 wxPy_BEGIN_ALLOW_THREADS;
11482 wxPyDivisionShape_base_OnEraseContents(_arg0,*_arg1);
11483
11484 wxPy_END_ALLOW_THREADS;
11485 } Py_INCREF(Py_None);
11486 _resultobj = Py_None;
11487 return _resultobj;
11488 }
11489
11490 #define wxPyDivisionShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
11491 static PyObject *_wrap_wxPyDivisionShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
11492 PyObject * _resultobj;
11493 wxPyDivisionShape * _arg0;
11494 wxDC * _arg1;
11495 PyObject * _argo0 = 0;
11496 PyObject * _argo1 = 0;
11497 char *_kwnames[] = { "self","dc", NULL };
11498
11499 self = self;
11500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnHighlight",_kwnames,&_argo0,&_argo1))
11501 return NULL;
11502 if (_argo0) {
11503 if (_argo0 == Py_None) { _arg0 = NULL; }
11504 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11505 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnHighlight. Expected _wxPyDivisionShape_p.");
11506 return NULL;
11507 }
11508 }
11509 if (_argo1) {
11510 if (_argo1 == Py_None) { _arg1 = NULL; }
11511 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
11512 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnHighlight. Expected _wxDC_p.");
11513 return NULL;
11514 }
11515 }
11516 {
11517 wxPy_BEGIN_ALLOW_THREADS;
11518 wxPyDivisionShape_base_OnHighlight(_arg0,*_arg1);
11519
11520 wxPy_END_ALLOW_THREADS;
11521 } Py_INCREF(Py_None);
11522 _resultobj = Py_None;
11523 return _resultobj;
11524 }
11525
11526 #define wxPyDivisionShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11527 static PyObject *_wrap_wxPyDivisionShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
11528 PyObject * _resultobj;
11529 wxPyDivisionShape * _arg0;
11530 double _arg1;
11531 double _arg2;
11532 int _arg3 = (int ) 0;
11533 int _arg4 = (int ) 0;
11534 PyObject * _argo0 = 0;
11535 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
11536
11537 self = self;
11538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
11539 return NULL;
11540 if (_argo0) {
11541 if (_argo0 == Py_None) { _arg0 = NULL; }
11542 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11543 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnLeftClick. Expected _wxPyDivisionShape_p.");
11544 return NULL;
11545 }
11546 }
11547 {
11548 wxPy_BEGIN_ALLOW_THREADS;
11549 wxPyDivisionShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4);
11550
11551 wxPy_END_ALLOW_THREADS;
11552 } Py_INCREF(Py_None);
11553 _resultobj = Py_None;
11554 return _resultobj;
11555 }
11556
11557 #define wxPyDivisionShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11558 static PyObject *_wrap_wxPyDivisionShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
11559 PyObject * _resultobj;
11560 wxPyDivisionShape * _arg0;
11561 double _arg1;
11562 double _arg2;
11563 int _arg3 = (int ) 0;
11564 int _arg4 = (int ) 0;
11565 PyObject * _argo0 = 0;
11566 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
11567
11568 self = self;
11569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
11570 return NULL;
11571 if (_argo0) {
11572 if (_argo0 == Py_None) { _arg0 = NULL; }
11573 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11574 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnLeftDoubleClick. Expected _wxPyDivisionShape_p.");
11575 return NULL;
11576 }
11577 }
11578 {
11579 wxPy_BEGIN_ALLOW_THREADS;
11580 wxPyDivisionShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4);
11581
11582 wxPy_END_ALLOW_THREADS;
11583 } Py_INCREF(Py_None);
11584 _resultobj = Py_None;
11585 return _resultobj;
11586 }
11587
11588 #define wxPyDivisionShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11589 static PyObject *_wrap_wxPyDivisionShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
11590 PyObject * _resultobj;
11591 wxPyDivisionShape * _arg0;
11592 double _arg1;
11593 double _arg2;
11594 int _arg3 = (int ) 0;
11595 int _arg4 = (int ) 0;
11596 PyObject * _argo0 = 0;
11597 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
11598
11599 self = self;
11600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
11601 return NULL;
11602 if (_argo0) {
11603 if (_argo0 == Py_None) { _arg0 = NULL; }
11604 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11605 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnRightClick. Expected _wxPyDivisionShape_p.");
11606 return NULL;
11607 }
11608 }
11609 {
11610 wxPy_BEGIN_ALLOW_THREADS;
11611 wxPyDivisionShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4);
11612
11613 wxPy_END_ALLOW_THREADS;
11614 } Py_INCREF(Py_None);
11615 _resultobj = Py_None;
11616 return _resultobj;
11617 }
11618
11619 #define wxPyDivisionShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
11620 static PyObject *_wrap_wxPyDivisionShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11621 PyObject * _resultobj;
11622 wxPyDivisionShape * _arg0;
11623 double _arg1;
11624 double _arg2;
11625 PyObject * _argo0 = 0;
11626 char *_kwnames[] = { "self","x","y", NULL };
11627
11628 self = self;
11629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDivisionShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2))
11630 return NULL;
11631 if (_argo0) {
11632 if (_argo0 == Py_None) { _arg0 = NULL; }
11633 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11634 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnSize. Expected _wxPyDivisionShape_p.");
11635 return NULL;
11636 }
11637 }
11638 {
11639 wxPy_BEGIN_ALLOW_THREADS;
11640 wxPyDivisionShape_base_OnSize(_arg0,_arg1,_arg2);
11641
11642 wxPy_END_ALLOW_THREADS;
11643 } Py_INCREF(Py_None);
11644 _resultobj = Py_None;
11645 return _resultobj;
11646 }
11647
11648 #define wxPyDivisionShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
11649 static PyObject *_wrap_wxPyDivisionShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
11650 PyObject * _resultobj;
11651 bool _result;
11652 wxPyDivisionShape * _arg0;
11653 wxDC * _arg1;
11654 double _arg2;
11655 double _arg3;
11656 double _arg4;
11657 double _arg5;
11658 bool _arg6 = (bool ) TRUE;
11659 PyObject * _argo0 = 0;
11660 PyObject * _argo1 = 0;
11661 int tempbool6 = (int) TRUE;
11662 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
11663
11664 self = self;
11665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDivisionShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
11666 return NULL;
11667 if (_argo0) {
11668 if (_argo0 == Py_None) { _arg0 = NULL; }
11669 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11670 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnMovePre. Expected _wxPyDivisionShape_p.");
11671 return NULL;
11672 }
11673 }
11674 if (_argo1) {
11675 if (_argo1 == Py_None) { _arg1 = NULL; }
11676 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
11677 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnMovePre. Expected _wxDC_p.");
11678 return NULL;
11679 }
11680 }
11681 _arg6 = (bool ) tempbool6;
11682 {
11683 wxPy_BEGIN_ALLOW_THREADS;
11684 _result = (bool )wxPyDivisionShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
11685
11686 wxPy_END_ALLOW_THREADS;
11687 } _resultobj = Py_BuildValue("i",_result);
11688 return _resultobj;
11689 }
11690
11691 #define wxPyDivisionShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
11692 static PyObject *_wrap_wxPyDivisionShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
11693 PyObject * _resultobj;
11694 wxPyDivisionShape * _arg0;
11695 wxDC * _arg1;
11696 double _arg2;
11697 double _arg3;
11698 double _arg4;
11699 double _arg5;
11700 bool _arg6 = (bool ) TRUE;
11701 PyObject * _argo0 = 0;
11702 PyObject * _argo1 = 0;
11703 int tempbool6 = (int) TRUE;
11704 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
11705
11706 self = self;
11707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDivisionShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
11708 return NULL;
11709 if (_argo0) {
11710 if (_argo0 == Py_None) { _arg0 = NULL; }
11711 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11712 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnMovePost. Expected _wxPyDivisionShape_p.");
11713 return NULL;
11714 }
11715 }
11716 if (_argo1) {
11717 if (_argo1 == Py_None) { _arg1 = NULL; }
11718 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
11719 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnMovePost. Expected _wxDC_p.");
11720 return NULL;
11721 }
11722 }
11723 _arg6 = (bool ) tempbool6;
11724 {
11725 wxPy_BEGIN_ALLOW_THREADS;
11726 wxPyDivisionShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
11727
11728 wxPy_END_ALLOW_THREADS;
11729 } Py_INCREF(Py_None);
11730 _resultobj = Py_None;
11731 return _resultobj;
11732 }
11733
11734 #define wxPyDivisionShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
11735 static PyObject *_wrap_wxPyDivisionShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11736 PyObject * _resultobj;
11737 wxPyDivisionShape * _arg0;
11738 bool _arg1;
11739 double _arg2;
11740 double _arg3;
11741 int _arg4 = (int ) 0;
11742 int _arg5 = (int ) 0;
11743 PyObject * _argo0 = 0;
11744 int tempbool1;
11745 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
11746
11747 self = self;
11748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDivisionShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
11749 return NULL;
11750 if (_argo0) {
11751 if (_argo0 == Py_None) { _arg0 = NULL; }
11752 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11753 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDragLeft. Expected _wxPyDivisionShape_p.");
11754 return NULL;
11755 }
11756 }
11757 _arg1 = (bool ) tempbool1;
11758 {
11759 wxPy_BEGIN_ALLOW_THREADS;
11760 wxPyDivisionShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
11761
11762 wxPy_END_ALLOW_THREADS;
11763 } Py_INCREF(Py_None);
11764 _resultobj = Py_None;
11765 return _resultobj;
11766 }
11767
11768 #define wxPyDivisionShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11769 static PyObject *_wrap_wxPyDivisionShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11770 PyObject * _resultobj;
11771 wxPyDivisionShape * _arg0;
11772 double _arg1;
11773 double _arg2;
11774 int _arg3 = (int ) 0;
11775 int _arg4 = (int ) 0;
11776 PyObject * _argo0 = 0;
11777 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
11778
11779 self = self;
11780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
11781 return NULL;
11782 if (_argo0) {
11783 if (_argo0 == Py_None) { _arg0 = NULL; }
11784 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11785 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnBeginDragLeft. Expected _wxPyDivisionShape_p.");
11786 return NULL;
11787 }
11788 }
11789 {
11790 wxPy_BEGIN_ALLOW_THREADS;
11791 wxPyDivisionShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
11792
11793 wxPy_END_ALLOW_THREADS;
11794 } Py_INCREF(Py_None);
11795 _resultobj = Py_None;
11796 return _resultobj;
11797 }
11798
11799 #define wxPyDivisionShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11800 static PyObject *_wrap_wxPyDivisionShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11801 PyObject * _resultobj;
11802 wxPyDivisionShape * _arg0;
11803 double _arg1;
11804 double _arg2;
11805 int _arg3 = (int ) 0;
11806 int _arg4 = (int ) 0;
11807 PyObject * _argo0 = 0;
11808 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
11809
11810 self = self;
11811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
11812 return NULL;
11813 if (_argo0) {
11814 if (_argo0 == Py_None) { _arg0 = NULL; }
11815 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11816 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnEndDragLeft. Expected _wxPyDivisionShape_p.");
11817 return NULL;
11818 }
11819 }
11820 {
11821 wxPy_BEGIN_ALLOW_THREADS;
11822 wxPyDivisionShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
11823
11824 wxPy_END_ALLOW_THREADS;
11825 } Py_INCREF(Py_None);
11826 _resultobj = Py_None;
11827 return _resultobj;
11828 }
11829
11830 #define wxPyDivisionShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
11831 static PyObject *_wrap_wxPyDivisionShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
11832 PyObject * _resultobj;
11833 wxPyDivisionShape * _arg0;
11834 bool _arg1;
11835 double _arg2;
11836 double _arg3;
11837 int _arg4 = (int ) 0;
11838 int _arg5 = (int ) 0;
11839 PyObject * _argo0 = 0;
11840 int tempbool1;
11841 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
11842
11843 self = self;
11844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDivisionShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
11845 return NULL;
11846 if (_argo0) {
11847 if (_argo0 == Py_None) { _arg0 = NULL; }
11848 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11849 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDragRight. Expected _wxPyDivisionShape_p.");
11850 return NULL;
11851 }
11852 }
11853 _arg1 = (bool ) tempbool1;
11854 {
11855 wxPy_BEGIN_ALLOW_THREADS;
11856 wxPyDivisionShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
11857
11858 wxPy_END_ALLOW_THREADS;
11859 } Py_INCREF(Py_None);
11860 _resultobj = Py_None;
11861 return _resultobj;
11862 }
11863
11864 #define wxPyDivisionShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11865 static PyObject *_wrap_wxPyDivisionShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
11866 PyObject * _resultobj;
11867 wxPyDivisionShape * _arg0;
11868 double _arg1;
11869 double _arg2;
11870 int _arg3 = (int ) 0;
11871 int _arg4 = (int ) 0;
11872 PyObject * _argo0 = 0;
11873 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
11874
11875 self = self;
11876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
11877 return NULL;
11878 if (_argo0) {
11879 if (_argo0 == Py_None) { _arg0 = NULL; }
11880 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11881 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnBeginDragRight. Expected _wxPyDivisionShape_p.");
11882 return NULL;
11883 }
11884 }
11885 {
11886 wxPy_BEGIN_ALLOW_THREADS;
11887 wxPyDivisionShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
11888
11889 wxPy_END_ALLOW_THREADS;
11890 } Py_INCREF(Py_None);
11891 _resultobj = Py_None;
11892 return _resultobj;
11893 }
11894
11895 #define wxPyDivisionShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11896 static PyObject *_wrap_wxPyDivisionShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
11897 PyObject * _resultobj;
11898 wxPyDivisionShape * _arg0;
11899 double _arg1;
11900 double _arg2;
11901 int _arg3 = (int ) 0;
11902 int _arg4 = (int ) 0;
11903 PyObject * _argo0 = 0;
11904 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
11905
11906 self = self;
11907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
11908 return NULL;
11909 if (_argo0) {
11910 if (_argo0 == Py_None) { _arg0 = NULL; }
11911 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11912 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnEndDragRight. Expected _wxPyDivisionShape_p.");
11913 return NULL;
11914 }
11915 }
11916 {
11917 wxPy_BEGIN_ALLOW_THREADS;
11918 wxPyDivisionShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
11919
11920 wxPy_END_ALLOW_THREADS;
11921 } Py_INCREF(Py_None);
11922 _resultobj = Py_None;
11923 return _resultobj;
11924 }
11925
11926 #define wxPyDivisionShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
11927 static PyObject *_wrap_wxPyDivisionShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
11928 PyObject * _resultobj;
11929 wxPyDivisionShape * _arg0;
11930 wxDC * _arg1;
11931 double _arg2;
11932 double _arg3;
11933 double _arg4;
11934 double _arg5;
11935 PyObject * _argo0 = 0;
11936 PyObject * _argo1 = 0;
11937 char *_kwnames[] = { "self","dc","x","y","w","h", NULL };
11938
11939 self = self;
11940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyDivisionShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
11941 return NULL;
11942 if (_argo0) {
11943 if (_argo0 == Py_None) { _arg0 = NULL; }
11944 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11945 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDrawOutline. Expected _wxPyDivisionShape_p.");
11946 return NULL;
11947 }
11948 }
11949 if (_argo1) {
11950 if (_argo1 == Py_None) { _arg1 = NULL; }
11951 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
11952 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnDrawOutline. Expected _wxDC_p.");
11953 return NULL;
11954 }
11955 }
11956 {
11957 wxPy_BEGIN_ALLOW_THREADS;
11958 wxPyDivisionShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5);
11959
11960 wxPy_END_ALLOW_THREADS;
11961 } Py_INCREF(Py_None);
11962 _resultobj = Py_None;
11963 return _resultobj;
11964 }
11965
11966 #define wxPyDivisionShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
11967 static PyObject *_wrap_wxPyDivisionShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
11968 PyObject * _resultobj;
11969 wxPyDivisionShape * _arg0;
11970 wxDC * _arg1;
11971 PyObject * _argo0 = 0;
11972 PyObject * _argo1 = 0;
11973 char *_kwnames[] = { "self","dc", NULL };
11974
11975 self = self;
11976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1))
11977 return NULL;
11978 if (_argo0) {
11979 if (_argo0 == Py_None) { _arg0 = NULL; }
11980 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11981 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDrawControlPoints. Expected _wxPyDivisionShape_p.");
11982 return NULL;
11983 }
11984 }
11985 if (_argo1) {
11986 if (_argo1 == Py_None) { _arg1 = NULL; }
11987 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
11988 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnDrawControlPoints. Expected _wxDC_p.");
11989 return NULL;
11990 }
11991 }
11992 {
11993 wxPy_BEGIN_ALLOW_THREADS;
11994 wxPyDivisionShape_base_OnDrawControlPoints(_arg0,*_arg1);
11995
11996 wxPy_END_ALLOW_THREADS;
11997 } Py_INCREF(Py_None);
11998 _resultobj = Py_None;
11999 return _resultobj;
12000 }
12001
12002 #define wxPyDivisionShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
12003 static PyObject *_wrap_wxPyDivisionShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
12004 PyObject * _resultobj;
12005 wxPyDivisionShape * _arg0;
12006 wxDC * _arg1;
12007 PyObject * _argo0 = 0;
12008 PyObject * _argo1 = 0;
12009 char *_kwnames[] = { "self","dc", NULL };
12010
12011 self = self;
12012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1))
12013 return NULL;
12014 if (_argo0) {
12015 if (_argo0 == Py_None) { _arg0 = NULL; }
12016 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
12017 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnEraseControlPoints. Expected _wxPyDivisionShape_p.");
12018 return NULL;
12019 }
12020 }
12021 if (_argo1) {
12022 if (_argo1 == Py_None) { _arg1 = NULL; }
12023 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
12024 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnEraseControlPoints. Expected _wxDC_p.");
12025 return NULL;
12026 }
12027 }
12028 {
12029 wxPy_BEGIN_ALLOW_THREADS;
12030 wxPyDivisionShape_base_OnEraseControlPoints(_arg0,*_arg1);
12031
12032 wxPy_END_ALLOW_THREADS;
12033 } Py_INCREF(Py_None);
12034 _resultobj = Py_None;
12035 return _resultobj;
12036 }
12037
12038 #define wxPyDivisionShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
12039 static PyObject *_wrap_wxPyDivisionShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
12040 PyObject * _resultobj;
12041 wxPyDivisionShape * _arg0;
12042 wxDC * _arg1;
12043 bool _arg2 = (bool ) TRUE;
12044 PyObject * _argo0 = 0;
12045 PyObject * _argo1 = 0;
12046 int tempbool2 = (int) TRUE;
12047 char *_kwnames[] = { "self","dc","moveControlPoints", NULL };
12048
12049 self = self;
12050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDivisionShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2))
12051 return NULL;
12052 if (_argo0) {
12053 if (_argo0 == Py_None) { _arg0 = NULL; }
12054 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
12055 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnMoveLink. Expected _wxPyDivisionShape_p.");
12056 return NULL;
12057 }
12058 }
12059 if (_argo1) {
12060 if (_argo1 == Py_None) { _arg1 = NULL; }
12061 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
12062 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnMoveLink. Expected _wxDC_p.");
12063 return NULL;
12064 }
12065 }
12066 _arg2 = (bool ) tempbool2;
12067 {
12068 wxPy_BEGIN_ALLOW_THREADS;
12069 wxPyDivisionShape_base_OnMoveLink(_arg0,*_arg1,_arg2);
12070
12071 wxPy_END_ALLOW_THREADS;
12072 } Py_INCREF(Py_None);
12073 _resultobj = Py_None;
12074 return _resultobj;
12075 }
12076
12077 #define wxPyDivisionShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
12078 static PyObject *_wrap_wxPyDivisionShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
12079 PyObject * _resultobj;
12080 wxPyDivisionShape * _arg0;
12081 wxPyControlPoint * _arg1;
12082 bool _arg2;
12083 double _arg3;
12084 double _arg4;
12085 int _arg5 = (int ) 0;
12086 int _arg6 = (int ) 0;
12087 PyObject * _argo0 = 0;
12088 PyObject * _argo1 = 0;
12089 int tempbool2;
12090 char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL };
12091
12092 self = self;
12093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyDivisionShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6))
12094 return NULL;
12095 if (_argo0) {
12096 if (_argo0 == Py_None) { _arg0 = NULL; }
12097 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
12098 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnSizingDragLeft. Expected _wxPyDivisionShape_p.");
12099 return NULL;
12100 }
12101 }
12102 if (_argo1) {
12103 if (_argo1 == Py_None) { _arg1 = NULL; }
12104 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
12105 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
12106 return NULL;
12107 }
12108 }
12109 _arg2 = (bool ) tempbool2;
12110 {
12111 wxPy_BEGIN_ALLOW_THREADS;
12112 wxPyDivisionShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
12113
12114 wxPy_END_ALLOW_THREADS;
12115 } Py_INCREF(Py_None);
12116 _resultobj = Py_None;
12117 return _resultobj;
12118 }
12119
12120 #define wxPyDivisionShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
12121 static PyObject *_wrap_wxPyDivisionShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
12122 PyObject * _resultobj;
12123 wxPyDivisionShape * _arg0;
12124 wxPyControlPoint * _arg1;
12125 double _arg2;
12126 double _arg3;
12127 int _arg4 = (int ) 0;
12128 int _arg5 = (int ) 0;
12129 PyObject * _argo0 = 0;
12130 PyObject * _argo1 = 0;
12131 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
12132
12133 self = self;
12134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDivisionShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
12135 return NULL;
12136 if (_argo0) {
12137 if (_argo0 == Py_None) { _arg0 = NULL; }
12138 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
12139 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnSizingBeginDragLeft. Expected _wxPyDivisionShape_p.");
12140 return NULL;
12141 }
12142 }
12143 if (_argo1) {
12144 if (_argo1 == Py_None) { _arg1 = NULL; }
12145 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
12146 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
12147 return NULL;
12148 }
12149 }
12150 {
12151 wxPy_BEGIN_ALLOW_THREADS;
12152 wxPyDivisionShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
12153
12154 wxPy_END_ALLOW_THREADS;
12155 } Py_INCREF(Py_None);
12156 _resultobj = Py_None;
12157 return _resultobj;
12158 }
12159
12160 #define wxPyDivisionShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
12161 static PyObject *_wrap_wxPyDivisionShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
12162 PyObject * _resultobj;
12163 wxPyDivisionShape * _arg0;
12164 wxPyControlPoint * _arg1;
12165 double _arg2;
12166 double _arg3;
12167 int _arg4 = (int ) 0;
12168 int _arg5 = (int ) 0;
12169 PyObject * _argo0 = 0;
12170 PyObject * _argo1 = 0;
12171 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
12172
12173 self = self;
12174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDivisionShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
12175 return NULL;
12176 if (_argo0) {
12177 if (_argo0 == Py_None) { _arg0 = NULL; }
12178 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
12179 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnSizingEndDragLeft. Expected _wxPyDivisionShape_p.");
12180 return NULL;
12181 }
12182 }
12183 if (_argo1) {
12184 if (_argo1 == Py_None) { _arg1 = NULL; }
12185 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
12186 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
12187 return NULL;
12188 }
12189 }
12190 {
12191 wxPy_BEGIN_ALLOW_THREADS;
12192 wxPyDivisionShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
12193
12194 wxPy_END_ALLOW_THREADS;
12195 } Py_INCREF(Py_None);
12196 _resultobj = Py_None;
12197 return _resultobj;
12198 }
12199
12200 #define wxPyDivisionShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
12201 static PyObject *_wrap_wxPyDivisionShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12202 PyObject * _resultobj;
12203 wxPyDivisionShape * _arg0;
12204 double _arg1;
12205 double _arg2;
12206 PyObject * _argo0 = 0;
12207 char *_kwnames[] = { "self","w","h", NULL };
12208
12209 self = self;
12210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDivisionShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2))
12211 return NULL;
12212 if (_argo0) {
12213 if (_argo0 == Py_None) { _arg0 = NULL; }
12214 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
12215 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnBeginSize. Expected _wxPyDivisionShape_p.");
12216 return NULL;
12217 }
12218 }
12219 {
12220 wxPy_BEGIN_ALLOW_THREADS;
12221 wxPyDivisionShape_base_OnBeginSize(_arg0,_arg1,_arg2);
12222
12223 wxPy_END_ALLOW_THREADS;
12224 } Py_INCREF(Py_None);
12225 _resultobj = Py_None;
12226 return _resultobj;
12227 }
12228
12229 #define wxPyDivisionShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
12230 static PyObject *_wrap_wxPyDivisionShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12231 PyObject * _resultobj;
12232 wxPyDivisionShape * _arg0;
12233 double _arg1;
12234 double _arg2;
12235 PyObject * _argo0 = 0;
12236 char *_kwnames[] = { "self","w","h", NULL };
12237
12238 self = self;
12239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDivisionShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2))
12240 return NULL;
12241 if (_argo0) {
12242 if (_argo0 == Py_None) { _arg0 = NULL; }
12243 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
12244 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnEndSize. Expected _wxPyDivisionShape_p.");
12245 return NULL;
12246 }
12247 }
12248 {
12249 wxPy_BEGIN_ALLOW_THREADS;
12250 wxPyDivisionShape_base_OnEndSize(_arg0,_arg1,_arg2);
12251
12252 wxPy_END_ALLOW_THREADS;
12253 } Py_INCREF(Py_None);
12254 _resultobj = Py_None;
12255 return _resultobj;
12256 }
12257
12258 static PyMethodDef oglshapescMethods[] = {
12259 { "wxPyDivisionShape_base_OnEndSize", (PyCFunction) _wrap_wxPyDivisionShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
12260 { "wxPyDivisionShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyDivisionShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
12261 { "wxPyDivisionShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12262 { "wxPyDivisionShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12263 { "wxPyDivisionShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
12264 { "wxPyDivisionShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyDivisionShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
12265 { "wxPyDivisionShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyDivisionShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
12266 { "wxPyDivisionShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
12267 { "wxPyDivisionShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
12268 { "wxPyDivisionShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyDivisionShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
12269 { "wxPyDivisionShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyDivisionShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
12270 { "wxPyDivisionShape_base_OnDragRight", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
12271 { "wxPyDivisionShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12272 { "wxPyDivisionShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12273 { "wxPyDivisionShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
12274 { "wxPyDivisionShape_base_OnMovePost", (PyCFunction) _wrap_wxPyDivisionShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
12275 { "wxPyDivisionShape_base_OnMovePre", (PyCFunction) _wrap_wxPyDivisionShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
12276 { "wxPyDivisionShape_base_OnSize", (PyCFunction) _wrap_wxPyDivisionShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
12277 { "wxPyDivisionShape_base_OnRightClick", (PyCFunction) _wrap_wxPyDivisionShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
12278 { "wxPyDivisionShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyDivisionShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
12279 { "wxPyDivisionShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyDivisionShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
12280 { "wxPyDivisionShape_base_OnHighlight", (PyCFunction) _wrap_wxPyDivisionShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
12281 { "wxPyDivisionShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyDivisionShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
12282 { "wxPyDivisionShape_base_OnErase", (PyCFunction) _wrap_wxPyDivisionShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
12283 { "wxPyDivisionShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyDivisionShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
12284 { "wxPyDivisionShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
12285 { "wxPyDivisionShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
12286 { "wxPyDivisionShape_base_OnDraw", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
12287 { "wxPyDivisionShape_base_OnDelete", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
12288 { "wxPyDivisionShape_SetTopSidePen", (PyCFunction) _wrap_wxPyDivisionShape_SetTopSidePen, METH_VARARGS | METH_KEYWORDS },
12289 { "wxPyDivisionShape_SetTopSideColour", (PyCFunction) _wrap_wxPyDivisionShape_SetTopSideColour, METH_VARARGS | METH_KEYWORDS },
12290 { "wxPyDivisionShape_SetTopSide", (PyCFunction) _wrap_wxPyDivisionShape_SetTopSide, METH_VARARGS | METH_KEYWORDS },
12291 { "wxPyDivisionShape_SetRightSide", (PyCFunction) _wrap_wxPyDivisionShape_SetRightSide, METH_VARARGS | METH_KEYWORDS },
12292 { "wxPyDivisionShape_SetLeftSidePen", (PyCFunction) _wrap_wxPyDivisionShape_SetLeftSidePen, METH_VARARGS | METH_KEYWORDS },
12293 { "wxPyDivisionShape_SetLeftSideColour", (PyCFunction) _wrap_wxPyDivisionShape_SetLeftSideColour, METH_VARARGS | METH_KEYWORDS },
12294 { "wxPyDivisionShape_SetLeftSide", (PyCFunction) _wrap_wxPyDivisionShape_SetLeftSide, METH_VARARGS | METH_KEYWORDS },
12295 { "wxPyDivisionShape_SetHandleSide", (PyCFunction) _wrap_wxPyDivisionShape_SetHandleSide, METH_VARARGS | METH_KEYWORDS },
12296 { "wxPyDivisionShape_SetBottomSide", (PyCFunction) _wrap_wxPyDivisionShape_SetBottomSide, METH_VARARGS | METH_KEYWORDS },
12297 { "wxPyDivisionShape_PopupMenu", (PyCFunction) _wrap_wxPyDivisionShape_PopupMenu, METH_VARARGS | METH_KEYWORDS },
12298 { "wxPyDivisionShape_ResizeAdjoining", (PyCFunction) _wrap_wxPyDivisionShape_ResizeAdjoining, METH_VARARGS | METH_KEYWORDS },
12299 { "wxPyDivisionShape_GetTopSidePen", (PyCFunction) _wrap_wxPyDivisionShape_GetTopSidePen, METH_VARARGS | METH_KEYWORDS },
12300 { "wxPyDivisionShape_GetTopSide", (PyCFunction) _wrap_wxPyDivisionShape_GetTopSide, METH_VARARGS | METH_KEYWORDS },
12301 { "wxPyDivisionShape_GetRightSide", (PyCFunction) _wrap_wxPyDivisionShape_GetRightSide, METH_VARARGS | METH_KEYWORDS },
12302 { "wxPyDivisionShape_GetLeftSidePen", (PyCFunction) _wrap_wxPyDivisionShape_GetLeftSidePen, METH_VARARGS | METH_KEYWORDS },
12303 { "wxPyDivisionShape_GetLeftSideColour", (PyCFunction) _wrap_wxPyDivisionShape_GetLeftSideColour, METH_VARARGS | METH_KEYWORDS },
12304 { "wxPyDivisionShape_GetLeftSide", (PyCFunction) _wrap_wxPyDivisionShape_GetLeftSide, METH_VARARGS | METH_KEYWORDS },
12305 { "wxPyDivisionShape_GetHandleSide", (PyCFunction) _wrap_wxPyDivisionShape_GetHandleSide, METH_VARARGS | METH_KEYWORDS },
12306 { "wxPyDivisionShape_GetBottomSide", (PyCFunction) _wrap_wxPyDivisionShape_GetBottomSide, METH_VARARGS | METH_KEYWORDS },
12307 { "wxPyDivisionShape_EditEdge", (PyCFunction) _wrap_wxPyDivisionShape_EditEdge, METH_VARARGS | METH_KEYWORDS },
12308 { "wxPyDivisionShape_Divide", (PyCFunction) _wrap_wxPyDivisionShape_Divide, METH_VARARGS | METH_KEYWORDS },
12309 { "wxPyDivisionShape_AdjustTop", (PyCFunction) _wrap_wxPyDivisionShape_AdjustTop, METH_VARARGS | METH_KEYWORDS },
12310 { "wxPyDivisionShape_AdjustRight", (PyCFunction) _wrap_wxPyDivisionShape_AdjustRight, METH_VARARGS | METH_KEYWORDS },
12311 { "wxPyDivisionShape_AdjustLeft", (PyCFunction) _wrap_wxPyDivisionShape_AdjustLeft, METH_VARARGS | METH_KEYWORDS },
12312 { "wxPyDivisionShape_AdjustBottom", (PyCFunction) _wrap_wxPyDivisionShape_AdjustBottom, METH_VARARGS | METH_KEYWORDS },
12313 { "wxPyDivisionShape__setSelf", (PyCFunction) _wrap_wxPyDivisionShape__setSelf, METH_VARARGS | METH_KEYWORDS },
12314 { "new_wxPyDivisionShape", (PyCFunction) _wrap_new_wxPyDivisionShape, METH_VARARGS | METH_KEYWORDS },
12315 { "wxPyDividedShape_base_OnEndSize", (PyCFunction) _wrap_wxPyDividedShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
12316 { "wxPyDividedShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyDividedShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
12317 { "wxPyDividedShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12318 { "wxPyDividedShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12319 { "wxPyDividedShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
12320 { "wxPyDividedShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyDividedShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
12321 { "wxPyDividedShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyDividedShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
12322 { "wxPyDividedShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyDividedShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
12323 { "wxPyDividedShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyDividedShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
12324 { "wxPyDividedShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyDividedShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
12325 { "wxPyDividedShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyDividedShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
12326 { "wxPyDividedShape_base_OnDragRight", (PyCFunction) _wrap_wxPyDividedShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
12327 { "wxPyDividedShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12328 { "wxPyDividedShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12329 { "wxPyDividedShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
12330 { "wxPyDividedShape_base_OnMovePost", (PyCFunction) _wrap_wxPyDividedShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
12331 { "wxPyDividedShape_base_OnMovePre", (PyCFunction) _wrap_wxPyDividedShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
12332 { "wxPyDividedShape_base_OnSize", (PyCFunction) _wrap_wxPyDividedShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
12333 { "wxPyDividedShape_base_OnRightClick", (PyCFunction) _wrap_wxPyDividedShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
12334 { "wxPyDividedShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyDividedShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
12335 { "wxPyDividedShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyDividedShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
12336 { "wxPyDividedShape_base_OnHighlight", (PyCFunction) _wrap_wxPyDividedShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
12337 { "wxPyDividedShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyDividedShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
12338 { "wxPyDividedShape_base_OnErase", (PyCFunction) _wrap_wxPyDividedShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
12339 { "wxPyDividedShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyDividedShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
12340 { "wxPyDividedShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyDividedShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
12341 { "wxPyDividedShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyDividedShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
12342 { "wxPyDividedShape_base_OnDraw", (PyCFunction) _wrap_wxPyDividedShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
12343 { "wxPyDividedShape_base_OnDelete", (PyCFunction) _wrap_wxPyDividedShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
12344 { "wxPyDividedShape_SetRegionSizes", (PyCFunction) _wrap_wxPyDividedShape_SetRegionSizes, METH_VARARGS | METH_KEYWORDS },
12345 { "wxPyDividedShape_EditRegions", (PyCFunction) _wrap_wxPyDividedShape_EditRegions, METH_VARARGS | METH_KEYWORDS },
12346 { "wxPyDividedShape__setSelf", (PyCFunction) _wrap_wxPyDividedShape__setSelf, METH_VARARGS | METH_KEYWORDS },
12347 { "new_wxPyDividedShape", (PyCFunction) _wrap_new_wxPyDividedShape, METH_VARARGS | METH_KEYWORDS },
12348 { "wxPyCompositeShape_base_OnEndSize", (PyCFunction) _wrap_wxPyCompositeShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
12349 { "wxPyCompositeShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyCompositeShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
12350 { "wxPyCompositeShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12351 { "wxPyCompositeShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12352 { "wxPyCompositeShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
12353 { "wxPyCompositeShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyCompositeShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
12354 { "wxPyCompositeShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyCompositeShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
12355 { "wxPyCompositeShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
12356 { "wxPyCompositeShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
12357 { "wxPyCompositeShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyCompositeShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
12358 { "wxPyCompositeShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyCompositeShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
12359 { "wxPyCompositeShape_base_OnDragRight", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
12360 { "wxPyCompositeShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12361 { "wxPyCompositeShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12362 { "wxPyCompositeShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
12363 { "wxPyCompositeShape_base_OnMovePost", (PyCFunction) _wrap_wxPyCompositeShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
12364 { "wxPyCompositeShape_base_OnMovePre", (PyCFunction) _wrap_wxPyCompositeShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
12365 { "wxPyCompositeShape_base_OnSize", (PyCFunction) _wrap_wxPyCompositeShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
12366 { "wxPyCompositeShape_base_OnRightClick", (PyCFunction) _wrap_wxPyCompositeShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
12367 { "wxPyCompositeShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyCompositeShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
12368 { "wxPyCompositeShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyCompositeShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
12369 { "wxPyCompositeShape_base_OnHighlight", (PyCFunction) _wrap_wxPyCompositeShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
12370 { "wxPyCompositeShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyCompositeShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
12371 { "wxPyCompositeShape_base_OnErase", (PyCFunction) _wrap_wxPyCompositeShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
12372 { "wxPyCompositeShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyCompositeShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
12373 { "wxPyCompositeShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
12374 { "wxPyCompositeShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
12375 { "wxPyCompositeShape_base_OnDraw", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
12376 { "wxPyCompositeShape_base_OnDelete", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
12377 { "wxPyCompositeShape_RemoveChild", (PyCFunction) _wrap_wxPyCompositeShape_RemoveChild, METH_VARARGS | METH_KEYWORDS },
12378 { "wxPyCompositeShape_Recompute", (PyCFunction) _wrap_wxPyCompositeShape_Recompute, METH_VARARGS | METH_KEYWORDS },
12379 { "wxPyCompositeShape_MakeContainer", (PyCFunction) _wrap_wxPyCompositeShape_MakeContainer, METH_VARARGS | METH_KEYWORDS },
12380 { "wxPyCompositeShape_GetDivisions", (PyCFunction) _wrap_wxPyCompositeShape_GetDivisions, METH_VARARGS | METH_KEYWORDS },
12381 { "wxPyCompositeShape_GetConstraints", (PyCFunction) _wrap_wxPyCompositeShape_GetConstraints, METH_VARARGS | METH_KEYWORDS },
12382 { "wxPyCompositeShape_FindContainerImage", (PyCFunction) _wrap_wxPyCompositeShape_FindContainerImage, METH_VARARGS | METH_KEYWORDS },
12383 { "wxPyCompositeShape_DeleteConstraintsInvolvingChild", (PyCFunction) _wrap_wxPyCompositeShape_DeleteConstraintsInvolvingChild, METH_VARARGS | METH_KEYWORDS },
12384 { "wxPyCompositeShape_DeleteConstraint", (PyCFunction) _wrap_wxPyCompositeShape_DeleteConstraint, METH_VARARGS | METH_KEYWORDS },
12385 { "wxPyCompositeShape_ContainsDivision", (PyCFunction) _wrap_wxPyCompositeShape_ContainsDivision, METH_VARARGS | METH_KEYWORDS },
12386 { "wxPyCompositeShape_CalculateSize", (PyCFunction) _wrap_wxPyCompositeShape_CalculateSize, METH_VARARGS | METH_KEYWORDS },
12387 { "wxPyCompositeShape_AddSimpleConstraint", (PyCFunction) _wrap_wxPyCompositeShape_AddSimpleConstraint, METH_VARARGS | METH_KEYWORDS },
12388 { "wxPyCompositeShape_AddConstrainedShapes", (PyCFunction) _wrap_wxPyCompositeShape_AddConstrainedShapes, METH_VARARGS | METH_KEYWORDS },
12389 { "wxPyCompositeShape_AddConstraint", (PyCFunction) _wrap_wxPyCompositeShape_AddConstraint, METH_VARARGS | METH_KEYWORDS },
12390 { "wxPyCompositeShape_AddChild", (PyCFunction) _wrap_wxPyCompositeShape_AddChild, METH_VARARGS | METH_KEYWORDS },
12391 { "wxPyCompositeShape__setSelf", (PyCFunction) _wrap_wxPyCompositeShape__setSelf, METH_VARARGS | METH_KEYWORDS },
12392 { "new_wxPyCompositeShape", (PyCFunction) _wrap_new_wxPyCompositeShape, METH_VARARGS | METH_KEYWORDS },
12393 { "wxOGLConstraint_Equals", (PyCFunction) _wrap_wxOGLConstraint_Equals, METH_VARARGS | METH_KEYWORDS },
12394 { "wxOGLConstraint_SetSpacing", (PyCFunction) _wrap_wxOGLConstraint_SetSpacing, METH_VARARGS | METH_KEYWORDS },
12395 { "wxOGLConstraint_Evaluate", (PyCFunction) _wrap_wxOGLConstraint_Evaluate, METH_VARARGS | METH_KEYWORDS },
12396 { "new_wxOGLConstraint", (PyCFunction) _wrap_new_wxOGLConstraint, METH_VARARGS | METH_KEYWORDS },
12397 { "wxPyDrawnShape_base_OnEndSize", (PyCFunction) _wrap_wxPyDrawnShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
12398 { "wxPyDrawnShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyDrawnShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
12399 { "wxPyDrawnShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12400 { "wxPyDrawnShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12401 { "wxPyDrawnShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
12402 { "wxPyDrawnShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyDrawnShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
12403 { "wxPyDrawnShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyDrawnShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
12404 { "wxPyDrawnShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
12405 { "wxPyDrawnShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
12406 { "wxPyDrawnShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyDrawnShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
12407 { "wxPyDrawnShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyDrawnShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
12408 { "wxPyDrawnShape_base_OnDragRight", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
12409 { "wxPyDrawnShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12410 { "wxPyDrawnShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12411 { "wxPyDrawnShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
12412 { "wxPyDrawnShape_base_OnMovePost", (PyCFunction) _wrap_wxPyDrawnShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
12413 { "wxPyDrawnShape_base_OnMovePre", (PyCFunction) _wrap_wxPyDrawnShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
12414 { "wxPyDrawnShape_base_OnSize", (PyCFunction) _wrap_wxPyDrawnShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
12415 { "wxPyDrawnShape_base_OnRightClick", (PyCFunction) _wrap_wxPyDrawnShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
12416 { "wxPyDrawnShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyDrawnShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
12417 { "wxPyDrawnShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyDrawnShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
12418 { "wxPyDrawnShape_base_OnHighlight", (PyCFunction) _wrap_wxPyDrawnShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
12419 { "wxPyDrawnShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyDrawnShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
12420 { "wxPyDrawnShape_base_OnErase", (PyCFunction) _wrap_wxPyDrawnShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
12421 { "wxPyDrawnShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyDrawnShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
12422 { "wxPyDrawnShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
12423 { "wxPyDrawnShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
12424 { "wxPyDrawnShape_base_OnDraw", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
12425 { "wxPyDrawnShape_base_OnDelete", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
12426 { "wxPyDrawnShape_Translate", (PyCFunction) _wrap_wxPyDrawnShape_Translate, METH_VARARGS | METH_KEYWORDS },
12427 { "wxPyDrawnShape_SetSaveToFile", (PyCFunction) _wrap_wxPyDrawnShape_SetSaveToFile, METH_VARARGS | METH_KEYWORDS },
12428 { "wxPyDrawnShape_Scale", (PyCFunction) _wrap_wxPyDrawnShape_Scale, METH_VARARGS | METH_KEYWORDS },
12429 { "wxPyDrawnShape_SetDrawnTextColour", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnTextColour, METH_VARARGS | METH_KEYWORDS },
12430 { "wxPyDrawnShape_SetDrawnPen", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnPen, METH_VARARGS | METH_KEYWORDS },
12431 { "wxPyDrawnShape_SetDrawnFont", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnFont, METH_VARARGS | METH_KEYWORDS },
12432 { "wxPyDrawnShape_SetDrawnBrush", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnBrush, METH_VARARGS | METH_KEYWORDS },
12433 { "wxPyDrawnShape_SetDrawnBackgroundMode", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnBackgroundMode, METH_VARARGS | METH_KEYWORDS },
12434 { "wxPyDrawnShape_SetDrawnBackgroundColour", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12435 { "wxPyDrawnShape_SetClippingRect", (PyCFunction) _wrap_wxPyDrawnShape_SetClippingRect, METH_VARARGS | METH_KEYWORDS },
12436 { "wxPyDrawnShape_Rotate", (PyCFunction) _wrap_wxPyDrawnShape_Rotate, METH_VARARGS | METH_KEYWORDS },
12437 { "wxPyDrawnShape_LoadFromMetaFile", (PyCFunction) _wrap_wxPyDrawnShape_LoadFromMetaFile, METH_VARARGS | METH_KEYWORDS },
12438 { "wxPyDrawnShape_GetRotation", (PyCFunction) _wrap_wxPyDrawnShape_GetRotation, METH_VARARGS | METH_KEYWORDS },
12439 { "wxPyDrawnShape_GetMetaFile", (PyCFunction) _wrap_wxPyDrawnShape_GetMetaFile, METH_VARARGS | METH_KEYWORDS },
12440 { "wxPyDrawnShape_GetAngle", (PyCFunction) _wrap_wxPyDrawnShape_GetAngle, METH_VARARGS | METH_KEYWORDS },
12441 { "wxPyDrawnShape_DrawText", (PyCFunction) _wrap_wxPyDrawnShape_DrawText, METH_VARARGS | METH_KEYWORDS },
12442 { "wxPyDrawnShape_DrawSpline", (PyCFunction) _wrap_wxPyDrawnShape_DrawSpline, METH_VARARGS | METH_KEYWORDS },
12443 { "wxPyDrawnShape_DrawRoundedRectangle", (PyCFunction) _wrap_wxPyDrawnShape_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS },
12444 { "wxPyDrawnShape_DrawRectangle", (PyCFunction) _wrap_wxPyDrawnShape_DrawRectangle, METH_VARARGS | METH_KEYWORDS },
12445 { "wxPyDrawnShape_DrawPolygon", (PyCFunction) _wrap_wxPyDrawnShape_DrawPolygon, METH_VARARGS | METH_KEYWORDS },
12446 { "wxPyDrawnShape_DrawPoint", (PyCFunction) _wrap_wxPyDrawnShape_DrawPoint, METH_VARARGS | METH_KEYWORDS },
12447 { "wxPyDrawnShape_DrawLines", (PyCFunction) _wrap_wxPyDrawnShape_DrawLines, METH_VARARGS | METH_KEYWORDS },
12448 { "wxPyDrawnShape_DrawLine", (PyCFunction) _wrap_wxPyDrawnShape_DrawLine, METH_VARARGS | METH_KEYWORDS },
12449 { "wxPyDrawnShape_DrawEllipticArc", (PyCFunction) _wrap_wxPyDrawnShape_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS },
12450 { "wxPyDrawnShape_DrawAtAngle", (PyCFunction) _wrap_wxPyDrawnShape_DrawAtAngle, METH_VARARGS | METH_KEYWORDS },
12451 { "wxPyDrawnShape_DrawArc", (PyCFunction) _wrap_wxPyDrawnShape_DrawArc, METH_VARARGS | METH_KEYWORDS },
12452 { "wxPyDrawnShape_DestroyClippingRect", (PyCFunction) _wrap_wxPyDrawnShape_DestroyClippingRect, METH_VARARGS | METH_KEYWORDS },
12453 { "wxPyDrawnShape_CalculateSize", (PyCFunction) _wrap_wxPyDrawnShape_CalculateSize, METH_VARARGS | METH_KEYWORDS },
12454 { "wxPyDrawnShape__setSelf", (PyCFunction) _wrap_wxPyDrawnShape__setSelf, METH_VARARGS | METH_KEYWORDS },
12455 { "new_wxPyDrawnShape", (PyCFunction) _wrap_new_wxPyDrawnShape, METH_VARARGS | METH_KEYWORDS },
12456 { "wxPyBitmapShape_base_OnEndSize", (PyCFunction) _wrap_wxPyBitmapShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
12457 { "wxPyBitmapShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyBitmapShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
12458 { "wxPyBitmapShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12459 { "wxPyBitmapShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12460 { "wxPyBitmapShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
12461 { "wxPyBitmapShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyBitmapShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
12462 { "wxPyBitmapShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyBitmapShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
12463 { "wxPyBitmapShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
12464 { "wxPyBitmapShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
12465 { "wxPyBitmapShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyBitmapShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
12466 { "wxPyBitmapShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyBitmapShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
12467 { "wxPyBitmapShape_base_OnDragRight", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
12468 { "wxPyBitmapShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12469 { "wxPyBitmapShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12470 { "wxPyBitmapShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
12471 { "wxPyBitmapShape_base_OnMovePost", (PyCFunction) _wrap_wxPyBitmapShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
12472 { "wxPyBitmapShape_base_OnMovePre", (PyCFunction) _wrap_wxPyBitmapShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
12473 { "wxPyBitmapShape_base_OnSize", (PyCFunction) _wrap_wxPyBitmapShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
12474 { "wxPyBitmapShape_base_OnRightClick", (PyCFunction) _wrap_wxPyBitmapShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
12475 { "wxPyBitmapShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyBitmapShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
12476 { "wxPyBitmapShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyBitmapShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
12477 { "wxPyBitmapShape_base_OnHighlight", (PyCFunction) _wrap_wxPyBitmapShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
12478 { "wxPyBitmapShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyBitmapShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
12479 { "wxPyBitmapShape_base_OnErase", (PyCFunction) _wrap_wxPyBitmapShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
12480 { "wxPyBitmapShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyBitmapShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
12481 { "wxPyBitmapShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
12482 { "wxPyBitmapShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
12483 { "wxPyBitmapShape_base_OnDraw", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
12484 { "wxPyBitmapShape_base_OnDelete", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
12485 { "wxPyBitmapShape_SetFilename", (PyCFunction) _wrap_wxPyBitmapShape_SetFilename, METH_VARARGS | METH_KEYWORDS },
12486 { "wxPyBitmapShape_SetBitmap", (PyCFunction) _wrap_wxPyBitmapShape_SetBitmap, METH_VARARGS | METH_KEYWORDS },
12487 { "wxPyBitmapShape_GetFilename", (PyCFunction) _wrap_wxPyBitmapShape_GetFilename, METH_VARARGS | METH_KEYWORDS },
12488 { "wxPyBitmapShape_GetBitmap", (PyCFunction) _wrap_wxPyBitmapShape_GetBitmap, METH_VARARGS | METH_KEYWORDS },
12489 { "wxPyBitmapShape__setSelf", (PyCFunction) _wrap_wxPyBitmapShape__setSelf, METH_VARARGS | METH_KEYWORDS },
12490 { "new_wxPyBitmapShape", (PyCFunction) _wrap_new_wxPyBitmapShape, METH_VARARGS | METH_KEYWORDS },
12491 { "wxPyControlPoint_base_OnEndSize", (PyCFunction) _wrap_wxPyControlPoint_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
12492 { "wxPyControlPoint_base_OnBeginSize", (PyCFunction) _wrap_wxPyControlPoint_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
12493 { "wxPyControlPoint_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyControlPoint_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12494 { "wxPyControlPoint_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyControlPoint_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12495 { "wxPyControlPoint_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyControlPoint_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
12496 { "wxPyControlPoint_base_OnMoveLink", (PyCFunction) _wrap_wxPyControlPoint_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
12497 { "wxPyControlPoint_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyControlPoint_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
12498 { "wxPyControlPoint_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyControlPoint_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
12499 { "wxPyControlPoint_base_OnDrawOutline", (PyCFunction) _wrap_wxPyControlPoint_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
12500 { "wxPyControlPoint_base_OnEndDragRight", (PyCFunction) _wrap_wxPyControlPoint_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
12501 { "wxPyControlPoint_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyControlPoint_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
12502 { "wxPyControlPoint_base_OnDragRight", (PyCFunction) _wrap_wxPyControlPoint_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
12503 { "wxPyControlPoint_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyControlPoint_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12504 { "wxPyControlPoint_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyControlPoint_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12505 { "wxPyControlPoint_base_OnDragLeft", (PyCFunction) _wrap_wxPyControlPoint_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
12506 { "wxPyControlPoint_base_OnMovePost", (PyCFunction) _wrap_wxPyControlPoint_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
12507 { "wxPyControlPoint_base_OnMovePre", (PyCFunction) _wrap_wxPyControlPoint_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
12508 { "wxPyControlPoint_base_OnSize", (PyCFunction) _wrap_wxPyControlPoint_base_OnSize, METH_VARARGS | METH_KEYWORDS },
12509 { "wxPyControlPoint_base_OnRightClick", (PyCFunction) _wrap_wxPyControlPoint_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
12510 { "wxPyControlPoint_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyControlPoint_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
12511 { "wxPyControlPoint_base_OnLeftClick", (PyCFunction) _wrap_wxPyControlPoint_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
12512 { "wxPyControlPoint_base_OnHighlight", (PyCFunction) _wrap_wxPyControlPoint_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
12513 { "wxPyControlPoint_base_OnEraseContents", (PyCFunction) _wrap_wxPyControlPoint_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
12514 { "wxPyControlPoint_base_OnErase", (PyCFunction) _wrap_wxPyControlPoint_base_OnErase, METH_VARARGS | METH_KEYWORDS },
12515 { "wxPyControlPoint_base_OnMoveLinks", (PyCFunction) _wrap_wxPyControlPoint_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
12516 { "wxPyControlPoint_base_OnDrawBranches", (PyCFunction) _wrap_wxPyControlPoint_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
12517 { "wxPyControlPoint_base_OnDrawContents", (PyCFunction) _wrap_wxPyControlPoint_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
12518 { "wxPyControlPoint_base_OnDraw", (PyCFunction) _wrap_wxPyControlPoint_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
12519 { "wxPyControlPoint_base_OnDelete", (PyCFunction) _wrap_wxPyControlPoint_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
12520 { "wxPyControlPoint_SetCornerRadius", (PyCFunction) _wrap_wxPyControlPoint_SetCornerRadius, METH_VARARGS | METH_KEYWORDS },
12521 { "wxPyControlPoint__setSelf", (PyCFunction) _wrap_wxPyControlPoint__setSelf, METH_VARARGS | METH_KEYWORDS },
12522 { "new_wxPyControlPoint", (PyCFunction) _wrap_new_wxPyControlPoint, METH_VARARGS | METH_KEYWORDS },
12523 { "wxPyRectangleShape_base_OnEndSize", (PyCFunction) _wrap_wxPyRectangleShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
12524 { "wxPyRectangleShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyRectangleShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
12525 { "wxPyRectangleShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12526 { "wxPyRectangleShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12527 { "wxPyRectangleShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
12528 { "wxPyRectangleShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyRectangleShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
12529 { "wxPyRectangleShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyRectangleShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
12530 { "wxPyRectangleShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
12531 { "wxPyRectangleShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
12532 { "wxPyRectangleShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyRectangleShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
12533 { "wxPyRectangleShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyRectangleShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
12534 { "wxPyRectangleShape_base_OnDragRight", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
12535 { "wxPyRectangleShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12536 { "wxPyRectangleShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12537 { "wxPyRectangleShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
12538 { "wxPyRectangleShape_base_OnMovePost", (PyCFunction) _wrap_wxPyRectangleShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
12539 { "wxPyRectangleShape_base_OnMovePre", (PyCFunction) _wrap_wxPyRectangleShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
12540 { "wxPyRectangleShape_base_OnSize", (PyCFunction) _wrap_wxPyRectangleShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
12541 { "wxPyRectangleShape_base_OnRightClick", (PyCFunction) _wrap_wxPyRectangleShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
12542 { "wxPyRectangleShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyRectangleShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
12543 { "wxPyRectangleShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyRectangleShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
12544 { "wxPyRectangleShape_base_OnHighlight", (PyCFunction) _wrap_wxPyRectangleShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
12545 { "wxPyRectangleShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyRectangleShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
12546 { "wxPyRectangleShape_base_OnErase", (PyCFunction) _wrap_wxPyRectangleShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
12547 { "wxPyRectangleShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyRectangleShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
12548 { "wxPyRectangleShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
12549 { "wxPyRectangleShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
12550 { "wxPyRectangleShape_base_OnDraw", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
12551 { "wxPyRectangleShape_base_OnDelete", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
12552 { "wxPyRectangleShape_SetCornerRadius", (PyCFunction) _wrap_wxPyRectangleShape_SetCornerRadius, METH_VARARGS | METH_KEYWORDS },
12553 { "wxPyRectangleShape__setSelf", (PyCFunction) _wrap_wxPyRectangleShape__setSelf, METH_VARARGS | METH_KEYWORDS },
12554 { "new_wxPyRectangleShape", (PyCFunction) _wrap_new_wxPyRectangleShape, METH_VARARGS | METH_KEYWORDS },
12555 { "wxPseudoMetaFile_SetBackgroundMode", (PyCFunction) _wrap_wxPseudoMetaFile_SetBackgroundMode, METH_VARARGS | METH_KEYWORDS },
12556 { "wxPseudoMetaFile_SetBackgroundColour", (PyCFunction) _wrap_wxPseudoMetaFile_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12557 { "wxPseudoMetaFile_SetTextColour", (PyCFunction) _wrap_wxPseudoMetaFile_SetTextColour, METH_VARARGS | METH_KEYWORDS },
12558 { "wxPseudoMetaFile_SetFont", (PyCFunction) _wrap_wxPseudoMetaFile_SetFont, METH_VARARGS | METH_KEYWORDS },
12559 { "wxPseudoMetaFile_SetBrush", (PyCFunction) _wrap_wxPseudoMetaFile_SetBrush, METH_VARARGS | METH_KEYWORDS },
12560 { "wxPseudoMetaFile_SetPen", (PyCFunction) _wrap_wxPseudoMetaFile_SetPen, METH_VARARGS | METH_KEYWORDS },
12561 { "wxPseudoMetaFile_DestroyClippingRect", (PyCFunction) _wrap_wxPseudoMetaFile_DestroyClippingRect, METH_VARARGS | METH_KEYWORDS },
12562 { "wxPseudoMetaFile_SetClippingRect", (PyCFunction) _wrap_wxPseudoMetaFile_SetClippingRect, METH_VARARGS | METH_KEYWORDS },
12563 { "wxPseudoMetaFile_DrawSpline", (PyCFunction) _wrap_wxPseudoMetaFile_DrawSpline, METH_VARARGS | METH_KEYWORDS },
12564 { "wxPseudoMetaFile_DrawPolygon", (PyCFunction) _wrap_wxPseudoMetaFile_DrawPolygon, METH_VARARGS | METH_KEYWORDS },
12565 { "wxPseudoMetaFile_DrawLines", (PyCFunction) _wrap_wxPseudoMetaFile_DrawLines, METH_VARARGS | METH_KEYWORDS },
12566 { "wxPseudoMetaFile_DrawText", (PyCFunction) _wrap_wxPseudoMetaFile_DrawText, METH_VARARGS | METH_KEYWORDS },
12567 { "wxPseudoMetaFile_DrawPoint", (PyCFunction) _wrap_wxPseudoMetaFile_DrawPoint, METH_VARARGS | METH_KEYWORDS },
12568 { "wxPseudoMetaFile_DrawEllipse", (PyCFunction) _wrap_wxPseudoMetaFile_DrawEllipse, METH_VARARGS | METH_KEYWORDS },
12569 { "wxPseudoMetaFile_DrawEllipticArc", (PyCFunction) _wrap_wxPseudoMetaFile_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS },
12570 { "wxPseudoMetaFile_DrawArc", (PyCFunction) _wrap_wxPseudoMetaFile_DrawArc, METH_VARARGS | METH_KEYWORDS },
12571 { "wxPseudoMetaFile_DrawRoundedRectangle", (PyCFunction) _wrap_wxPseudoMetaFile_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS },
12572 { "wxPseudoMetaFile_DrawRectangle", (PyCFunction) _wrap_wxPseudoMetaFile_DrawRectangle, METH_VARARGS | METH_KEYWORDS },
12573 { "wxPseudoMetaFile_DrawLine", (PyCFunction) _wrap_wxPseudoMetaFile_DrawLine, METH_VARARGS | METH_KEYWORDS },
12574 { "wxPseudoMetaFile_IsValid", (PyCFunction) _wrap_wxPseudoMetaFile_IsValid, METH_VARARGS | METH_KEYWORDS },
12575 { "wxPseudoMetaFile_GetOutlineOp", (PyCFunction) _wrap_wxPseudoMetaFile_GetOutlineOp, METH_VARARGS | METH_KEYWORDS },
12576 { "wxPseudoMetaFile_SetOutlineOp", (PyCFunction) _wrap_wxPseudoMetaFile_SetOutlineOp, METH_VARARGS | METH_KEYWORDS },
12577 { "wxPseudoMetaFile_GetOutlinePen", (PyCFunction) _wrap_wxPseudoMetaFile_GetOutlinePen, METH_VARARGS | METH_KEYWORDS },
12578 { "wxPseudoMetaFile_SetOutlinePen", (PyCFunction) _wrap_wxPseudoMetaFile_SetOutlinePen, METH_VARARGS | METH_KEYWORDS },
12579 { "wxPseudoMetaFile_GetFillBrush", (PyCFunction) _wrap_wxPseudoMetaFile_GetFillBrush, METH_VARARGS | METH_KEYWORDS },
12580 { "wxPseudoMetaFile_SetFillBrush", (PyCFunction) _wrap_wxPseudoMetaFile_SetFillBrush, METH_VARARGS | METH_KEYWORDS },
12581 { "wxPseudoMetaFile_SetSize", (PyCFunction) _wrap_wxPseudoMetaFile_SetSize, METH_VARARGS | METH_KEYWORDS },
12582 { "wxPseudoMetaFile_GetRotateable", (PyCFunction) _wrap_wxPseudoMetaFile_GetRotateable, METH_VARARGS | METH_KEYWORDS },
12583 { "wxPseudoMetaFile_SetRotateable", (PyCFunction) _wrap_wxPseudoMetaFile_SetRotateable, METH_VARARGS | METH_KEYWORDS },
12584 { "wxPseudoMetaFile_CalculateSize", (PyCFunction) _wrap_wxPseudoMetaFile_CalculateSize, METH_VARARGS | METH_KEYWORDS },
12585 { "wxPseudoMetaFile_GetBounds", (PyCFunction) _wrap_wxPseudoMetaFile_GetBounds, METH_VARARGS | METH_KEYWORDS },
12586 { "wxPseudoMetaFile_LoadFromMetaFile", (PyCFunction) _wrap_wxPseudoMetaFile_LoadFromMetaFile, METH_VARARGS | METH_KEYWORDS },
12587 { "wxPseudoMetaFile_Rotate", (PyCFunction) _wrap_wxPseudoMetaFile_Rotate, METH_VARARGS | METH_KEYWORDS },
12588 { "wxPseudoMetaFile_Translate", (PyCFunction) _wrap_wxPseudoMetaFile_Translate, METH_VARARGS | METH_KEYWORDS },
12589 { "wxPseudoMetaFile_ScaleTo", (PyCFunction) _wrap_wxPseudoMetaFile_ScaleTo, METH_VARARGS | METH_KEYWORDS },
12590 { "wxPseudoMetaFile_Scale", (PyCFunction) _wrap_wxPseudoMetaFile_Scale, METH_VARARGS | METH_KEYWORDS },
12591 { "wxPseudoMetaFile_Copy", (PyCFunction) _wrap_wxPseudoMetaFile_Copy, METH_VARARGS | METH_KEYWORDS },
12592 { "wxPseudoMetaFile_Clear", (PyCFunction) _wrap_wxPseudoMetaFile_Clear, METH_VARARGS | METH_KEYWORDS },
12593 { "wxPseudoMetaFile_ReadAttributes", (PyCFunction) _wrap_wxPseudoMetaFile_ReadAttributes, METH_VARARGS | METH_KEYWORDS },
12594 { "wxPseudoMetaFile_WriteAttributes", (PyCFunction) _wrap_wxPseudoMetaFile_WriteAttributes, METH_VARARGS | METH_KEYWORDS },
12595 { "wxPseudoMetaFile_Draw", (PyCFunction) _wrap_wxPseudoMetaFile_Draw, METH_VARARGS | METH_KEYWORDS },
12596 { "delete_wxPseudoMetaFile", (PyCFunction) _wrap_delete_wxPseudoMetaFile, METH_VARARGS | METH_KEYWORDS },
12597 { "new_wxPseudoMetaFile", (PyCFunction) _wrap_new_wxPseudoMetaFile, METH_VARARGS | METH_KEYWORDS },
12598 { NULL, NULL }
12599 };
12600 #ifdef __cplusplus
12601 }
12602 #endif
12603 /*
12604 * This table is used by the pointer type-checker
12605 */
12606 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
12607 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
12608 { "_wxEvent","_class_wxEvent",0},
12609 { "_class_wxActivateEvent","_wxActivateEvent",0},
12610 { "_signed_long","_long",0},
12611 { "_wxMenuEvent","_class_wxMenuEvent",0},
12612 { "_class_wxProcessEvent","_wxProcessEvent",0},
12613 { "_class_wxJPEGHandler","_wxJPEGHandler",0},
12614 { "_class_wxFSFile","_wxFSFile",0},
12615 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
12616 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
12617 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
12618 { "_wxBMPHandler","_class_wxBMPHandler",0},
12619 { "_wxImage","_class_wxImage",0},
12620 { "_wxFlexGridSizer","_class_wxFlexGridSizer",0},
12621 { "_wxWindowDisabler","_class_wxWindowDisabler",0},
12622 { "_class_wxDateTime","_wxDateTime",0},
12623 { "_wxPrintQuality","_wxCoord",0},
12624 { "_wxPrintQuality","_int",0},
12625 { "_wxPrintQuality","_signed_int",0},
12626 { "_wxPrintQuality","_unsigned_int",0},
12627 { "_wxPrintQuality","_wxWindowID",0},
12628 { "_wxPrintQuality","_uint",0},
12629 { "_wxPrintQuality","_EBool",0},
12630 { "_wxPrintQuality","_size_t",0},
12631 { "_wxPrintQuality","_time_t",0},
12632 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
12633 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
12634 { "_wxFontData","_class_wxFontData",0},
12635 { "_class_wxRegionIterator","_wxRegionIterator",0},
12636 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
12637 { "_class_wxMenuBar","_wxMenuBar",0},
12638 { "_class_wxPyTreeItemData","_wxPyTreeItemData",0},
12639 { "_class_wxStaticBoxSizer","_wxStaticBoxSizer",0},
12640 { "_class_wxEvtHandler","_wxEvtHandler",0},
12641 { "_wxPaintEvent","_class_wxPaintEvent",0},
12642 { "_wxGIFHandler","_class_wxGIFHandler",0},
12643 { "_wxPySizer","_class_wxPySizer",0},
12644 { "_wxInternetFSHandler","_class_wxInternetFSHandler",0},
12645 { "_wxPyCompositeShape","_class_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyCompositeShape},
12646 { "_wxPyCompositeShape","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyCompositeShape},
12647 { "_wxPyCompositeShape","_class_wxPyCompositeShape",0},
12648 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
12649 { "_wxCursor","_class_wxCursor",0},
12650 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
12651 { "_wxPyProcess","_class_wxPyProcess",0},
12652 { "_wxPyTreeCtrl","_class_wxPyTreeCtrl",0},
12653 { "_wxImageHandler","_class_wxImageHandler",0},
12654 { "_class_wxPyRectangleShape","_class_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyRectangleShape},
12655 { "_class_wxPyRectangleShape","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyRectangleShape},
12656 { "_class_wxPyRectangleShape","_class_wxPyDividedShape",SwigwxPyDividedShapeTowxPyRectangleShape},
12657 { "_class_wxPyRectangleShape","_wxPyDividedShape",SwigwxPyDividedShapeTowxPyRectangleShape},
12658 { "_class_wxPyRectangleShape","_class_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyRectangleShape},
12659 { "_class_wxPyRectangleShape","_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyRectangleShape},
12660 { "_class_wxPyRectangleShape","_class_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyRectangleShape},
12661 { "_class_wxPyRectangleShape","_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyRectangleShape},
12662 { "_class_wxPyRectangleShape","_class_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyRectangleShape},
12663 { "_class_wxPyRectangleShape","_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyRectangleShape},
12664 { "_class_wxPyRectangleShape","_class_wxPyControlPoint",SwigwxPyControlPointTowxPyRectangleShape},
12665 { "_class_wxPyRectangleShape","_wxPyControlPoint",SwigwxPyControlPointTowxPyRectangleShape},
12666 { "_class_wxPyRectangleShape","_wxPyRectangleShape",0},
12667 { "_wxMutexGuiLocker","_class_wxMutexGuiLocker",0},
12668 { "_wxLog","_class_wxLog",0},
12669 { "_class_wxToolBarBase","_wxToolBarBase",0},
12670 { "_wxMask","_class_wxMask",0},
12671 { "_wxToolTip","_class_wxToolTip",0},
12672 { "_wxPNGHandler","_class_wxPNGHandler",0},
12673 { "_class_wxOGLConstraint","_wxOGLConstraint",0},
12674 { "_class_wxColourData","_wxColourData",0},
12675 { "_class_wxPageSetupDialogData","_wxPageSetupDialogData",0},
12676 { "_wxPrinter","_class_wxPrinter",0},
12677 { "_wxPseudoMetaFile","_class_wxPseudoMetaFile",0},
12678 { "_wxPen","_class_wxPen",0},
12679 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
12680 { "_class_wxNotebookSizer","_wxNotebookSizer",0},
12681 { "_byte","_unsigned_char",0},
12682 { "_wxDataObject","_class_wxDataObject",0},
12683 { "_class_wxPyFontEnumerator","_wxPyFontEnumerator",0},
12684 { "_wxStaticBox","_class_wxStaticBox",0},
12685 { "_wxColourDatabase","_class_wxColourDatabase",0},
12686 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
12687 { "_wxPyDropSource","_class_wxPyDropSource",0},
12688 { "_wxChoice","_class_wxChoice",0},
12689 { "_wxSlider","_class_wxSlider",0},
12690 { "_wxNotebookEvent","_class_wxNotebookEvent",0},
12691 { "_wxPyPrintout","_class_wxPyPrintout",0},
12692 { "_wxShapeRegion","_class_wxShapeRegion",0},
12693 { "_long","_unsigned_long",0},
12694 { "_long","_signed_long",0},
12695 { "_wxImageList","_class_wxImageList",0},
12696 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
12697 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
12698 { "_wxBitmapButton","_class_wxBitmapButton",0},
12699 { "_wxSashWindow","_class_wxSashWindow",0},
12700 { "_class_wxSizer","_wxSizer",0},
12701 { "_class_wxTIFFHandler","_wxTIFFHandler",0},
12702 { "_class_wxPrintDialogData","_wxPrintDialogData",0},
12703 { "_wxGridSizer","_class_wxGridSizer",0},
12704 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
12705 { "_class_wxClipboard","_wxClipboard",0},
12706 { "_class_wxGauge","_wxGauge",0},
12707 { "_class_wxSashEvent","_wxSashEvent",0},
12708 { "_wxDC","_class_wxDC",0},
12709 { "_wxSizerItem","_class_wxSizerItem",0},
12710 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
12711 { "_wxListEvent","_class_wxListEvent",0},
12712 { "_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0},
12713 { "_wxProgressDialog","_class_wxProgressDialog",0},
12714 { "_class_wxBMPHandler","_wxBMPHandler",0},
12715 { "_wxPrintPreview","_class_wxPrintPreview",0},
12716 { "_class_wxFlexGridSizer","_wxFlexGridSizer",0},
12717 { "_wxSpinEvent","_class_wxSpinEvent",0},
12718 { "_wxSashLayoutWindow","_class_wxSashLayoutWindow",0},
12719 { "_wxPyBitmapShape","_class_wxPyBitmapShape",0},
12720 { "_size_t","_wxCoord",0},
12721 { "_size_t","_wxPrintQuality",0},
12722 { "_size_t","_time_t",0},
12723 { "_size_t","_unsigned_int",0},
12724 { "_size_t","_int",0},
12725 { "_size_t","_wxWindowID",0},
12726 { "_size_t","_uint",0},
12727 { "_class_wxRealPoint","_wxRealPoint",0},
12728 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
12729 { "_wxPNMHandler","_class_wxPNMHandler",0},
12730 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
12731 { "_wxLogGui","_class_wxLogGui",0},
12732 { "_wxPrinterDC","_class_wxPrinterDC",0},
12733 { "_class_wxPyShapeEvtHandler","_class_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyShapeEvtHandler},
12734 { "_class_wxPyShapeEvtHandler","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyShapeEvtHandler},
12735 { "_class_wxPyShapeEvtHandler","_class_wxPyDividedShape",SwigwxPyDividedShapeTowxPyShapeEvtHandler},
12736 { "_class_wxPyShapeEvtHandler","_wxPyDividedShape",SwigwxPyDividedShapeTowxPyShapeEvtHandler},
12737 { "_class_wxPyShapeEvtHandler","_class_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyShapeEvtHandler},
12738 { "_class_wxPyShapeEvtHandler","_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyShapeEvtHandler},
12739 { "_class_wxPyShapeEvtHandler","_class_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyShapeEvtHandler},
12740 { "_class_wxPyShapeEvtHandler","_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyShapeEvtHandler},
12741 { "_class_wxPyShapeEvtHandler","_class_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyShapeEvtHandler},
12742 { "_class_wxPyShapeEvtHandler","_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyShapeEvtHandler},
12743 { "_class_wxPyShapeEvtHandler","_class_wxPyControlPoint",SwigwxPyControlPointTowxPyShapeEvtHandler},
12744 { "_class_wxPyShapeEvtHandler","_wxPyControlPoint",SwigwxPyControlPointTowxPyShapeEvtHandler},
12745 { "_class_wxPyShapeEvtHandler","_class_wxPyRectangleShape",SwigwxPyRectangleShapeTowxPyShapeEvtHandler},
12746 { "_class_wxPyShapeEvtHandler","_wxPyRectangleShape",SwigwxPyRectangleShapeTowxPyShapeEvtHandler},
12747 { "_class_wxPyShapeEvtHandler","_wxPyShapeEvtHandler",0},
12748 { "_class_wxMenuItem","_wxMenuItem",0},
12749 { "_class_wxPaintEvent","_wxPaintEvent",0},
12750 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
12751 { "_class_wxStatusBar","_wxStatusBar",0},
12752 { "_class_wxGIFHandler","_wxGIFHandler",0},
12753 { "_class_wxPySizer","_wxPySizer",0},
12754 { "_class_wxPyCompositeShape","_class_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyCompositeShape},
12755 { "_class_wxPyCompositeShape","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyCompositeShape},
12756 { "_class_wxPyCompositeShape","_wxPyCompositeShape",0},
12757 { "_wxPanel","_class_wxPanel",0},
12758 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
12759 { "_wxCheckBox","_class_wxCheckBox",0},
12760 { "_class_wxPyTreeCtrl","_wxPyTreeCtrl",0},
12761 { "_wxPyEvent","_class_wxPyEvent",0},
12762 { "_wxTextCtrl","_class_wxTextCtrl",0},
12763 { "_class_wxMask","_wxMask",0},
12764 { "_wxTextDataObject","_class_wxTextDataObject",0},
12765 { "_class_wxKeyEvent","_wxKeyEvent",0},
12766 { "_class_wxToolTip","_wxToolTip",0},
12767 { "_class_wxPNGHandler","_wxPNGHandler",0},
12768 { "_wxFileConfig","_class_wxFileConfig",0},
12769 { "_wxColour","_class_wxColour",0},
12770 { "_class_wxDialog","_wxDialog",0},
12771 { "_wxBusyCursor","_class_wxBusyCursor",0},
12772 { "_wxPageSetupDialog","_class_wxPageSetupDialog",0},
12773 { "_class_wxPrinter","_wxPrinter",0},
12774 { "_class_wxFileDataObject","_wxFileDataObject",0},
12775 { "_wxIdleEvent","_class_wxIdleEvent",0},
12776 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
12777 { "_wxToolBar","_class_wxToolBar",0},
12778 { "_class_wxDataObject","_wxDataObject",0},
12779 { "_wxCaret","_class_wxCaret",0},
12780 { "_wxStaticLine","_class_wxStaticLine",0},
12781 { "_class_wxLayoutAlgorithm","_wxLayoutAlgorithm",0},
12782 { "_wxBrush","_class_wxBrush",0},
12783 { "_wxMiniFrame","_class_wxMiniFrame",0},
12784 { "_class_wxNotebookEvent","_wxNotebookEvent",0},
12785 { "_class_wxPyPrintout","_wxPyPrintout",0},
12786 { "_wxDataFormat","_class_wxDataFormat",0},
12787 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
12788 { "_class_wxSashWindow","_wxSashWindow",0},
12789 { "_wxShowEvent","_class_wxShowEvent",0},
12790 { "_class_wxPyDivisionShape","_wxPyDivisionShape",0},
12791 { "_uint","_wxCoord",0},
12792 { "_uint","_wxPrintQuality",0},
12793 { "_uint","_time_t",0},
12794 { "_uint","_size_t",0},
12795 { "_uint","_unsigned_int",0},
12796 { "_uint","_int",0},
12797 { "_uint","_wxWindowID",0},
12798 { "_wxChar","_char",0},
12799 { "_wxPyValidator","_class_wxPyValidator",0},
12800 { "_class_wxEvent","_wxEvent",0},
12801 { "_wxCheckListBox","_class_wxCheckListBox",0},
12802 { "_wxSplitterEvent","_class_wxSplitterEvent",0},
12803 { "_wxRect","_class_wxRect",0},
12804 { "_wxCommandEvent","_class_wxCommandEvent",0},
12805 { "_wxSizeEvent","_class_wxSizeEvent",0},
12806 { "_class_wxLogWindow","_wxLogWindow",0},
12807 { "_class_wxImage","_wxImage",0},
12808 { "_wxPoint","_class_wxPoint",0},
12809 { "_class_wxWindowDisabler","_wxWindowDisabler",0},
12810 { "_class_wxSashLayoutWindow","_wxSashLayoutWindow",0},
12811 { "_class_wxPyBitmapShape","_wxPyBitmapShape",0},
12812 { "_class_wxButton","_wxButton",0},
12813 { "_wxRadioBox","_class_wxRadioBox",0},
12814 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
12815 { "_class_wxFontData","_wxFontData",0},
12816 { "_class_wxPNMHandler","_wxPNMHandler",0},
12817 { "_wxBoxSizer","_class_wxBoxSizer",0},
12818 { "_class_wxZipFSHandler","_wxZipFSHandler",0},
12819 { "_char","_wxChar",0},
12820 { "_wxBitmap","_class_wxBitmap",0},
12821 { "_wxPenList","_class_wxPenList",0},
12822 { "_wxTaskBarIcon","_class_wxTaskBarIcon",0},
12823 { "_wxPrintDialog","_class_wxPrintDialog",0},
12824 { "_wxPyControlPoint","_class_wxPyControlPoint",0},
12825 { "_wxWindowDC","_class_wxWindowDC",0},
12826 { "_wxTimerEvent","_class_wxTimerEvent",0},
12827 { "_wxPyTimer","_class_wxPyTimer",0},
12828 { "_wxScrollBar","_class_wxScrollBar",0},
12829 { "_wxSpinButton","_class_wxSpinButton",0},
12830 { "_wxColourDialog","_class_wxColourDialog",0},
12831 { "_wxPrintData","_class_wxPrintData",0},
12832 { "_class_wxInternetFSHandler","_wxInternetFSHandler",0},
12833 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
12834 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
12835 { "_wxMessageDialog","_class_wxMessageDialog",0},
12836 { "_class_wxValidator","_wxValidator",0},
12837 { "_class_wxPyEvent","_wxPyEvent",0},
12838 { "_class_wxMutexGuiLocker","_wxMutexGuiLocker",0},
12839 { "_wxTextEntryDialog","_class_wxTextEntryDialog",0},
12840 { "_wxConfig","_class_wxConfig",0},
12841 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
12842 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
12843 { "_class_wxFileConfig","_wxFileConfig",0},
12844 { "_class_wxPyDrawnShape","_wxPyDrawnShape",0},
12845 { "_class_wxBusyCursor","_wxBusyCursor",0},
12846 { "_wxToolBarSimple","_class_wxToolBarSimple",0},
12847 { "_wxMDIChildFrame","_class_wxMDIChildFrame",0},
12848 { "_wxListItem","_class_wxListItem",0},
12849 { "_class_wxPseudoMetaFile","_wxPseudoMetaFile",0},
12850 { "_class_wxToolBar","_wxToolBar",0},
12851 { "_wxDropTarget","_class_wxDropTarget",0},
12852 { "_class_wxStaticLine","_wxStaticLine",0},
12853 { "_class_wxColourDatabase","_wxColourDatabase",0},
12854 { "_wxScrollEvent","_class_wxScrollEvent",0},
12855 { "_wxToolBarToolBase","_class_wxToolBarToolBase",0},
12856 { "_wxCalculateLayoutEvent","_class_wxCalculateLayoutEvent",0},
12857 { "_class_wxMemoryFSHandler","_wxMemoryFSHandler",0},
12858 { "_class_wxShapeRegion","_wxShapeRegion",0},
12859 { "_EBool","_wxCoord",0},
12860 { "_EBool","_wxPrintQuality",0},
12861 { "_EBool","_signed_int",0},
12862 { "_EBool","_int",0},
12863 { "_EBool","_wxWindowID",0},
12864 { "_class_wxRegion","_wxRegion",0},
12865 { "_class_wxDataFormat","_wxDataFormat",0},
12866 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
12867 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
12868 { "_class_wxPreviewFrame","_wxPreviewFrame",0},
12869 { "_wxStaticText","_class_wxStaticText",0},
12870 { "_wxFont","_class_wxFont",0},
12871 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
12872 { "_wxCloseEvent","_class_wxCloseEvent",0},
12873 { "_class_wxSplitterEvent","_wxSplitterEvent",0},
12874 { "_wxProcessEvent","_class_wxProcessEvent",0},
12875 { "_wxNotebook","_class_wxNotebook",0},
12876 { "_wxFSFile","_class_wxFSFile",0},
12877 { "_unsigned_long","_long",0},
12878 { "_class_wxRect","_wxRect",0},
12879 { "_class_wxDC","_wxDC",0},
12880 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
12881 { "_wxGenericDragImage","_class_wxGenericDragImage",0},
12882 { "_class_wxProgressDialog","_wxProgressDialog",0},
12883 { "_class_wxBrushList","_wxBrushList",0},
12884 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
12885 { "_wxPyInputStream","_class_wxPyInputStream",0},
12886 { "_wxPyApp","_class_wxPyApp",0},
12887 { "_class_wxPenList","_wxPenList",0},
12888 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
12889 { "_class_wxOutputStream","_wxOutputStream",0},
12890 { "_wxLogTextCtrl","_class_wxLogTextCtrl",0},
12891 { "_wxMDIParentFrame","_class_wxMDIParentFrame",0},
12892 { "_class_wxTreeEvent","_wxTreeEvent",0},
12893 { "_class_wxDirDialog","_wxDirDialog",0},
12894 { "_wxTimeSpan","_class_wxTimeSpan",0},
12895 { "_wxFocusEvent","_class_wxFocusEvent",0},
12896 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
12897 { "_class_wxTimerEvent","_wxTimerEvent",0},
12898 { "_class_wxPyTimer","_wxPyTimer",0},
12899 { "_class_wxSpinButton","_wxSpinButton",0},
12900 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
12901 { "_class_wxPanel","_wxPanel",0},
12902 { "_class_wxCheckBox","_wxCheckBox",0},
12903 { "_wxComboBox","_class_wxComboBox",0},
12904 { "_wxRadioButton","_class_wxRadioButton",0},
12905 { "_class_wxMessageDialog","_wxMessageDialog",0},
12906 { "_signed_int","_wxCoord",0},
12907 { "_signed_int","_wxPrintQuality",0},
12908 { "_signed_int","_EBool",0},
12909 { "_signed_int","_wxWindowID",0},
12910 { "_signed_int","_int",0},
12911 { "_class_wxTextCtrl","_wxTextCtrl",0},
12912 { "_class_wxListItemAttr","_wxListItemAttr",0},
12913 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
12914 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
12915 { "_class_wxTextDataObject","_wxTextDataObject",0},
12916 { "_wxMenu","_class_wxMenu",0},
12917 { "_class_wxMoveEvent","_wxMoveEvent",0},
12918 { "_wxListBox","_class_wxListBox",0},
12919 { "_wxScreenDC","_class_wxScreenDC",0},
12920 { "_class_wxToolBarSimple","_wxToolBarSimple",0},
12921 { "_class_wxMDIChildFrame","_wxMDIChildFrame",0},
12922 { "_WXTYPE","_wxDateTime_t",0},
12923 { "_WXTYPE","_short",0},
12924 { "_WXTYPE","_signed_short",0},
12925 { "_WXTYPE","_unsigned_short",0},
12926 { "_wxFileDialog","_class_wxFileDialog",0},
12927 { "_class_wxDropTarget","_wxDropTarget",0},
12928 { "_class_wxCaret","_wxCaret",0},
12929 { "_class_wxMDIClientWindow","_wxMDIClientWindow",0},
12930 { "_class_wxBrush","_wxBrush",0},
12931 { "_wxTipProvider","_class_wxTipProvider",0},
12932 { "_unsigned_short","_wxDateTime_t",0},
12933 { "_unsigned_short","_WXTYPE",0},
12934 { "_unsigned_short","_short",0},
12935 { "_class_wxWindow","_wxWindow",0},
12936 { "_class_wxLogStderr","_wxLogStderr",0},
12937 { "_wxSplitterWindow","_class_wxSplitterWindow",0},
12938 { "_wxDateSpan","_class_wxDateSpan",0},
12939 { "_class_wxStaticText","_wxStaticText",0},
12940 { "_wxPrintDialogData","_class_wxPrintDialogData",0},
12941 { "_class_wxFont","_wxFont",0},
12942 { "_wxClipboard","_class_wxClipboard",0},
12943 { "_class_wxPyValidator","_wxPyValidator",0},
12944 { "_class_wxCloseEvent","_wxCloseEvent",0},
12945 { "_wxSashEvent","_class_wxSashEvent",0},
12946 { "_wxBusyInfo","_class_wxBusyInfo",0},
12947 { "_wxFontList","_class_wxFontList",0},
12948 { "_class_wxMenuEvent","_wxMenuEvent",0},
12949 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
12950 { "_wxJoystick","_class_wxJoystick",0},
12951 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
12952 { "_wxClientDC","_class_wxClientDC",0},
12953 { "_wxMouseEvent","_class_wxMouseEvent",0},
12954 { "_class_wxGenericDragImage","_wxGenericDragImage",0},
12955 { "_wxListCtrl","_class_wxListCtrl",0},
12956 { "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0},
12957 { "_wxPyDividedShape","_class_wxPyDividedShape",0},
12958 { "_class_wxPoint","_wxPoint",0},
12959 { "_class_wxPyInputStream","_wxPyInputStream",0},
12960 { "_wxRealPoint","_class_wxRealPoint",0},
12961 { "_class_wxRadioBox","_wxRadioBox",0},
12962 { "_class_wxBoxSizer","_wxBoxSizer",0},
12963 { "_signed_short","_WXTYPE",0},
12964 { "_signed_short","_short",0},
12965 { "_wxMemoryDC","_class_wxMemoryDC",0},
12966 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
12967 { "_class_wxTaskBarIcon","_wxTaskBarIcon",0},
12968 { "_class_wxPrintDialog","_wxPrintDialog",0},
12969 { "_wxPyFileSystemHandler","_class_wxPyFileSystemHandler",0},
12970 { "_class_wxPyControlPoint","_wxPyControlPoint",0},
12971 { "_wxPaintDC","_class_wxPaintDC",0},
12972 { "_class_wxWindowDC","_wxWindowDC",0},
12973 { "_class_wxFocusEvent","_wxFocusEvent",0},
12974 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
12975 { "_wxStatusBar","_class_wxStatusBar",0},
12976 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
12977 { "_class_wxCursor","_wxCursor",0},
12978 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
12979 { "_class_wxPyProcess","_wxPyProcess",0},
12980 { "_class_wxImageHandler","_wxImageHandler",0},
12981 { "_wxPyShape","_class_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyShape},
12982 { "_wxPyShape","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyShape},
12983 { "_wxPyShape","_class_wxPyDividedShape",SwigwxPyDividedShapeTowxPyShape},
12984 { "_wxPyShape","_wxPyDividedShape",SwigwxPyDividedShapeTowxPyShape},
12985 { "_wxPyShape","_class_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyShape},
12986 { "_wxPyShape","_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyShape},
12987 { "_wxPyShape","_class_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyShape},
12988 { "_wxPyShape","_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyShape},
12989 { "_wxPyShape","_class_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyShape},
12990 { "_wxPyShape","_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyShape},
12991 { "_wxPyShape","_class_wxPyControlPoint",SwigwxPyControlPointTowxPyShape},
12992 { "_wxPyShape","_wxPyControlPoint",SwigwxPyControlPointTowxPyShape},
12993 { "_wxPyShape","_class_wxPyRectangleShape",SwigwxPyRectangleShapeTowxPyShape},
12994 { "_wxPyShape","_wxPyRectangleShape",SwigwxPyRectangleShapeTowxPyShape},
12995 { "_wxPyShape","_class_wxPyShape",0},
12996 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
12997 { "_class_wxLog","_wxLog",0},
12998 { "_wxTreeItemId","_class_wxTreeItemId",0},
12999 { "_unsigned_char","_byte",0},
13000 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
13001 { "_class_wxMenu","_wxMenu",0},
13002 { "_wxControl","_class_wxControl",0},
13003 { "_class_wxListBox","_wxListBox",0},
13004 { "_unsigned_int","_wxCoord",0},
13005 { "_unsigned_int","_wxPrintQuality",0},
13006 { "_unsigned_int","_time_t",0},
13007 { "_unsigned_int","_size_t",0},
13008 { "_unsigned_int","_uint",0},
13009 { "_unsigned_int","_wxWindowID",0},
13010 { "_unsigned_int","_int",0},
13011 { "_wxIcon","_class_wxIcon",0},
13012 { "_wxDialog","_class_wxDialog",0},
13013 { "_class_wxListItem","_wxListItem",0},
13014 { "_class_wxPen","_wxPen",0},
13015 { "_class_wxFileDialog","_wxFileDialog",0},
13016 { "_wxQueryLayoutInfoEvent","_class_wxQueryLayoutInfoEvent",0},
13017 { "_wxConfigBase","_class_wxConfigBase",0},
13018 { "_short","_wxDateTime_t",0},
13019 { "_short","_WXTYPE",0},
13020 { "_short","_unsigned_short",0},
13021 { "_short","_signed_short",0},
13022 { "_class_wxStaticBox","_wxStaticBox",0},
13023 { "_wxLayoutAlgorithm","_class_wxLayoutAlgorithm",0},
13024 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
13025 { "_class_wxPyDropSource","_wxPyDropSource",0},
13026 { "_class_wxScrollEvent","_wxScrollEvent",0},
13027 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
13028 { "_class_wxChoice","_wxChoice",0},
13029 { "_class_wxSlider","_wxSlider",0},
13030 { "_class_wxCalculateLayoutEvent","_wxCalculateLayoutEvent",0},
13031 { "_class_wxImageList","_wxImageList",0},
13032 { "_class_wxBitmapButton","_wxBitmapButton",0},
13033 { "_wxFileSystemHandler","_class_wxFileSystemHandler",0},
13034 { "_wxPyTipProvider","_class_wxPyTipProvider",0},
13035 { "_wxFrame","_class_wxFrame",0},
13036 { "_wxPCXHandler","_class_wxPCXHandler",0},
13037 { "_class_wxGridSizer","_wxGridSizer",0},
13038 { "_wxPyDivisionShape","_class_wxPyDivisionShape",0},
13039 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
13040 { "_class_wxNotebook","_wxNotebook",0},
13041 { "_wxJPEGHandler","_class_wxJPEGHandler",0},
13042 { "_wxWindowID","_wxCoord",0},
13043 { "_wxWindowID","_wxPrintQuality",0},
13044 { "_wxWindowID","_time_t",0},
13045 { "_wxWindowID","_size_t",0},
13046 { "_wxWindowID","_EBool",0},
13047 { "_wxWindowID","_uint",0},
13048 { "_wxWindowID","_int",0},
13049 { "_wxWindowID","_signed_int",0},
13050 { "_wxWindowID","_unsigned_int",0},
13051 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
13052 { "_class_wxSizerItem","_wxSizerItem",0},
13053 { "_int","_wxCoord",0},
13054 { "_int","_wxPrintQuality",0},
13055 { "_int","_time_t",0},
13056 { "_int","_size_t",0},
13057 { "_int","_EBool",0},
13058 { "_int","_uint",0},
13059 { "_int","_wxWindowID",0},
13060 { "_int","_unsigned_int",0},
13061 { "_int","_signed_int",0},
13062 { "_class_wxMouseEvent","_wxMouseEvent",0},
13063 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
13064 { "_wxLogWindow","_class_wxLogWindow",0},
13065 { "_class_wxListEvent","_wxListEvent",0},
13066 { "_class_wxPrintPreview","_wxPrintPreview",0},
13067 { "_wxDateTime_t","_unsigned_short",0},
13068 { "_wxDateTime_t","_short",0},
13069 { "_wxDateTime_t","_WXTYPE",0},
13070 { "_class_wxSpinEvent","_wxSpinEvent",0},
13071 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
13072 { "_wxDateTime","_class_wxDateTime",0},
13073 { "_time_t","_wxCoord",0},
13074 { "_time_t","_wxPrintQuality",0},
13075 { "_time_t","_unsigned_int",0},
13076 { "_time_t","_int",0},
13077 { "_time_t","_wxWindowID",0},
13078 { "_time_t","_uint",0},
13079 { "_time_t","_size_t",0},
13080 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
13081 { "_wxLogNull","_class_wxLogNull",0},
13082 { "_wxButton","_class_wxButton",0},
13083 { "_wxZipFSHandler","_class_wxZipFSHandler",0},
13084 { "_class_wxPyApp","_wxPyApp",0},
13085 { "_wxSize","_class_wxSize",0},
13086 { "_wxRegionIterator","_class_wxRegionIterator",0},
13087 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
13088 { "_class_wxLogTextCtrl","_wxLogTextCtrl",0},
13089 { "_class_wxLogGui","_wxLogGui",0},
13090 { "_class_wxMDIParentFrame","_wxMDIParentFrame",0},
13091 { "_wxPyTreeItemData","_class_wxPyTreeItemData",0},
13092 { "_class_wxPrinterDC","_wxPrinterDC",0},
13093 { "_wxStaticBoxSizer","_class_wxStaticBoxSizer",0},
13094 { "_class_wxTimeSpan","_wxTimeSpan",0},
13095 { "_class_wxPyFileSystemHandler","_wxPyFileSystemHandler",0},
13096 { "_class_wxPaintDC","_wxPaintDC",0},
13097 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
13098 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
13099 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
13100 { "_class_wxComboBox","_wxComboBox",0},
13101 { "_class_wxRadioButton","_wxRadioButton",0},
13102 { "_class_wxPyShape","_class_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyShape},
13103 { "_class_wxPyShape","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyShape},
13104 { "_class_wxPyShape","_class_wxPyDividedShape",SwigwxPyDividedShapeTowxPyShape},
13105 { "_class_wxPyShape","_wxPyDividedShape",SwigwxPyDividedShapeTowxPyShape},
13106 { "_class_wxPyShape","_class_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyShape},
13107 { "_class_wxPyShape","_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyShape},
13108 { "_class_wxPyShape","_class_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyShape},
13109 { "_class_wxPyShape","_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyShape},
13110 { "_class_wxPyShape","_class_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyShape},
13111 { "_class_wxPyShape","_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyShape},
13112 { "_class_wxPyShape","_class_wxPyControlPoint",SwigwxPyControlPointTowxPyShape},
13113 { "_class_wxPyShape","_wxPyControlPoint",SwigwxPyControlPointTowxPyShape},
13114 { "_class_wxPyShape","_class_wxPyRectangleShape",SwigwxPyRectangleShapeTowxPyShape},
13115 { "_class_wxPyShape","_wxPyRectangleShape",SwigwxPyRectangleShapeTowxPyShape},
13116 { "_class_wxPyShape","_wxPyShape",0},
13117 { "_wxValidator","_class_wxValidator",0},
13118 { "_wxToolBarBase","_class_wxToolBarBase",0},
13119 { "_class_wxTreeItemId","_wxTreeItemId",0},
13120 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
13121 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
13122 { "_class_wxControl","_wxControl",0},
13123 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
13124 { "_wxPyDrawnShape","_class_wxPyDrawnShape",0},
13125 { "_class_wxIcon","_wxIcon",0},
13126 { "_class_wxColour","_wxColour",0},
13127 { "_class_wxScreenDC","_wxScreenDC",0},
13128 { "_class_wxPageSetupDialog","_wxPageSetupDialog",0},
13129 { "_wxPalette","_class_wxPalette",0},
13130 { "_class_wxIdleEvent","_wxIdleEvent",0},
13131 { "_class_wxConfigBase","_wxConfigBase",0},
13132 { "_wxCoord","_int",0},
13133 { "_wxCoord","_signed_int",0},
13134 { "_wxCoord","_unsigned_int",0},
13135 { "_wxCoord","_wxWindowID",0},
13136 { "_wxCoord","_uint",0},
13137 { "_wxCoord","_EBool",0},
13138 { "_wxCoord","_size_t",0},
13139 { "_wxCoord","_time_t",0},
13140 { "_wxCoord","_wxPrintQuality",0},
13141 { "_wxEraseEvent","_class_wxEraseEvent",0},
13142 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
13143 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
13144 { "_class_wxTipProvider","_wxTipProvider",0},
13145 { "_class_wxMiniFrame","_wxMiniFrame",0},
13146 { "_wxFontDialog","_class_wxFontDialog",0},
13147 { "_wxMemoryFSHandler","_class_wxMemoryFSHandler",0},
13148 { "_wxRegion","_class_wxRegion",0},
13149 { "_class_wxSplitterWindow","_wxSplitterWindow",0},
13150 { "_wxPreviewFrame","_class_wxPreviewFrame",0},
13151 { "_wxSizer","_class_wxSizer",0},
13152 { "_class_wxDateSpan","_wxDateSpan",0},
13153 { "_wxFileSystem","_class_wxFileSystem",0},
13154 { "_class_wxShowEvent","_wxShowEvent",0},
13155 { "_class_wxPyTipProvider","_wxPyTipProvider",0},
13156 { "_class_wxPCXHandler","_wxPCXHandler",0},
13157 { "_wxTIFFHandler","_class_wxTIFFHandler",0},
13158 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
13159 { "_wxActivateEvent","_class_wxActivateEvent",0},
13160 { "_wxGauge","_class_wxGauge",0},
13161 { "_class_wxCheckListBox","_wxCheckListBox",0},
13162 { "_class_wxBusyInfo","_wxBusyInfo",0},
13163 { "_class_wxFontList","_wxFontList",0},
13164 { "_class_wxJoystick","_wxJoystick",0},
13165 { "_class_wxCommandEvent","_wxCommandEvent",0},
13166 { "_class_wxClientDC","_wxClientDC",0},
13167 { "_class_wxSizeEvent","_wxSizeEvent",0},
13168 { "_class_wxListCtrl","_wxListCtrl",0},
13169 { "_class_wxPyDividedShape","_wxPyDividedShape",0},
13170 { "_wxBrushList","_class_wxBrushList",0},
13171 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
13172 { "_class_wxLogNull","_wxLogNull",0},
13173 { "_class_wxSize","_wxSize",0},
13174 { "_class_wxBitmap","_wxBitmap",0},
13175 { "_class_wxMemoryDC","_wxMemoryDC",0},
13176 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
13177 { "_wxMenuBar","_class_wxMenuBar",0},
13178 { "_wxOutputStream","_class_wxOutputStream",0},
13179 { "_wxTreeEvent","_class_wxTreeEvent",0},
13180 { "_wxDirDialog","_class_wxDirDialog",0},
13181 { "_wxPyShapeEvtHandler","_class_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyShapeEvtHandler},
13182 { "_wxPyShapeEvtHandler","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyShapeEvtHandler},
13183 { "_wxPyShapeEvtHandler","_class_wxPyDividedShape",SwigwxPyDividedShapeTowxPyShapeEvtHandler},
13184 { "_wxPyShapeEvtHandler","_wxPyDividedShape",SwigwxPyDividedShapeTowxPyShapeEvtHandler},
13185 { "_wxPyShapeEvtHandler","_class_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyShapeEvtHandler},
13186 { "_wxPyShapeEvtHandler","_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyShapeEvtHandler},
13187 { "_wxPyShapeEvtHandler","_class_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyShapeEvtHandler},
13188 { "_wxPyShapeEvtHandler","_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyShapeEvtHandler},
13189 { "_wxPyShapeEvtHandler","_class_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyShapeEvtHandler},
13190 { "_wxPyShapeEvtHandler","_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyShapeEvtHandler},
13191 { "_wxPyShapeEvtHandler","_class_wxPyControlPoint",SwigwxPyControlPointTowxPyShapeEvtHandler},
13192 { "_wxPyShapeEvtHandler","_wxPyControlPoint",SwigwxPyControlPointTowxPyShapeEvtHandler},
13193 { "_wxPyShapeEvtHandler","_class_wxPyRectangleShape",SwigwxPyRectangleShapeTowxPyShapeEvtHandler},
13194 { "_wxPyShapeEvtHandler","_wxPyRectangleShape",SwigwxPyRectangleShapeTowxPyShapeEvtHandler},
13195 { "_wxPyShapeEvtHandler","_class_wxPyShapeEvtHandler",0},
13196 { "_wxEvtHandler","_class_wxEvtHandler",0},
13197 { "_wxMenuItem","_class_wxMenuItem",0},
13198 { "_class_wxScrollBar","_wxScrollBar",0},
13199 { "_class_wxColourDialog","_wxColourDialog",0},
13200 { "_class_wxPrintData","_wxPrintData",0},
13201 { "_wxPyRectangleShape","_class_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyRectangleShape},
13202 { "_wxPyRectangleShape","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyRectangleShape},
13203 { "_wxPyRectangleShape","_class_wxPyDividedShape",SwigwxPyDividedShapeTowxPyRectangleShape},
13204 { "_wxPyRectangleShape","_wxPyDividedShape",SwigwxPyDividedShapeTowxPyRectangleShape},
13205 { "_wxPyRectangleShape","_class_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyRectangleShape},
13206 { "_wxPyRectangleShape","_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyRectangleShape},
13207 { "_wxPyRectangleShape","_class_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyRectangleShape},
13208 { "_wxPyRectangleShape","_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyRectangleShape},
13209 { "_wxPyRectangleShape","_class_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyRectangleShape},
13210 { "_wxPyRectangleShape","_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyRectangleShape},
13211 { "_wxPyRectangleShape","_class_wxPyControlPoint",SwigwxPyControlPointTowxPyRectangleShape},
13212 { "_wxPyRectangleShape","_wxPyControlPoint",SwigwxPyControlPointTowxPyRectangleShape},
13213 { "_wxPyRectangleShape","_class_wxPyRectangleShape",0},
13214 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
13215 { "_wxListItemAttr","_class_wxListItemAttr",0},
13216 { "_class_wxTextEntryDialog","_wxTextEntryDialog",0},
13217 { "_class_wxConfig","_wxConfig",0},
13218 { "_wxKeyEvent","_class_wxKeyEvent",0},
13219 { "_wxMoveEvent","_class_wxMoveEvent",0},
13220 { "_wxOGLConstraint","_class_wxOGLConstraint",0},
13221 { "_wxColourData","_class_wxColourData",0},
13222 { "_wxPageSetupDialogData","_class_wxPageSetupDialogData",0},
13223 { "_class_wxPalette","_wxPalette",0},
13224 { "_wxFileDataObject","_class_wxFileDataObject",0},
13225 { "_class_wxQueryLayoutInfoEvent","_wxQueryLayoutInfoEvent",0},
13226 { "_wxNotebookSizer","_class_wxNotebookSizer",0},
13227 { "_class_wxEraseEvent","_wxEraseEvent",0},
13228 { "_wxPyFontEnumerator","_class_wxPyFontEnumerator",0},
13229 { "_wxMDIClientWindow","_class_wxMDIClientWindow",0},
13230 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
13231 { "_class_wxToolBarToolBase","_wxToolBarToolBase",0},
13232 { "_class_wxFontDialog","_wxFontDialog",0},
13233 { "_wxWindow","_class_wxWindow",0},
13234 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
13235 { "_wxLogStderr","_class_wxLogStderr",0},
13236 { "_class_wxFileSystemHandler","_wxFileSystemHandler",0},
13237 { "_class_wxFileSystem","_wxFileSystem",0},
13238 { "_class_wxFrame","_wxFrame",0},
13239 {0,0,0}};
13240
13241 static PyObject *SWIG_globals;
13242 #ifdef __cplusplus
13243 extern "C"
13244 #endif
13245 SWIGEXPORT(void) initoglshapesc() {
13246 PyObject *m, *d;
13247 SWIG_globals = SWIG_newvarlink();
13248 m = Py_InitModule("oglshapesc", oglshapescMethods);
13249 d = PyModule_GetDict(m);
13250 {
13251 int i;
13252 for (i = 0; _swig_mapping[i].n1; i++)
13253 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
13254 }
13255 }