]> git.saurik.com Git - wxWidgets.git/blob - wxPython/contrib/ogl/oglshapes.cpp
compilation fixes
[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
62 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
63 PyObject* o2;
64 PyObject* o3;
65
66 if (!target) {
67 target = o;
68 } else if (target == Py_None) {
69 Py_DECREF(Py_None);
70 target = o;
71 } else {
72 if (!PyTuple_Check(target)) {
73 o2 = target;
74 target = PyTuple_New(1);
75 PyTuple_SetItem(target, 0, o2);
76 }
77 o3 = PyTuple_New(1);
78 PyTuple_SetItem(o3, 0, o);
79
80 o2 = target;
81 target = PySequence_Concat(o2, o3);
82 Py_DECREF(o2);
83 Py_DECREF(o3);
84 }
85 return target;
86 }
87
88 #if PYTHON_API_VERSION >= 1009
89 static char* wxStringErrorMsg = "String or Unicode type required";
90 #else
91 static char* wxStringErrorMsg = "String type required";
92 #endif
93
94 WXSHAPE_IMP_CALLBACKS(wxPyRectangleShape, wxRectangleShape);
95
96 WXSHAPE_IMP_CALLBACKS(wxPyControlPoint, wxControlPoint);
97
98 WXSHAPE_IMP_CALLBACKS(wxPyBitmapShape, wxBitmapShape);
99
100 WXSHAPE_IMP_CALLBACKS(wxPyDrawnShape, wxDrawnShape);
101
102 WXSHAPE_IMP_CALLBACKS(wxPyCompositeShape, wxCompositeShape);
103
104 WXSHAPE_IMP_CALLBACKS(wxPyDividedShape, wxDividedShape);
105
106 WXSHAPE_IMP_CALLBACKS(wxPyDivisionShape, wxDivisionShape);
107 #ifdef __cplusplus
108 extern "C" {
109 #endif
110 static void *SwigwxPseudoMetaFileTowxObject(void *ptr) {
111 wxPseudoMetaFile *src;
112 wxObject *dest;
113 src = (wxPseudoMetaFile *) ptr;
114 dest = (wxObject *) src;
115 return (void *) dest;
116 }
117
118 #define new_wxPseudoMetaFile() (new wxPseudoMetaFile())
119 static PyObject *_wrap_new_wxPseudoMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
120 PyObject * _resultobj;
121 wxPseudoMetaFile * _result;
122 char *_kwnames[] = { NULL };
123 char _ptemp[128];
124
125 self = self;
126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPseudoMetaFile",_kwnames))
127 return NULL;
128 {
129 PyThreadState* __tstate = wxPyBeginAllowThreads();
130 _result = (wxPseudoMetaFile *)new_wxPseudoMetaFile();
131
132 wxPyEndAllowThreads(__tstate);
133 if (PyErr_Occurred()) return NULL;
134 } if (_result) {
135 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPseudoMetaFile_p");
136 _resultobj = Py_BuildValue("s",_ptemp);
137 } else {
138 Py_INCREF(Py_None);
139 _resultobj = Py_None;
140 }
141 return _resultobj;
142 }
143
144 #define delete_wxPseudoMetaFile(_swigobj) (delete _swigobj)
145 static PyObject *_wrap_delete_wxPseudoMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
146 PyObject * _resultobj;
147 wxPseudoMetaFile * _arg0;
148 PyObject * _argo0 = 0;
149 char *_kwnames[] = { "self", NULL };
150
151 self = self;
152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPseudoMetaFile",_kwnames,&_argo0))
153 return NULL;
154 if (_argo0) {
155 if (_argo0 == Py_None) { _arg0 = NULL; }
156 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
157 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPseudoMetaFile. Expected _wxPseudoMetaFile_p.");
158 return NULL;
159 }
160 }
161 {
162 PyThreadState* __tstate = wxPyBeginAllowThreads();
163 delete_wxPseudoMetaFile(_arg0);
164
165 wxPyEndAllowThreads(__tstate);
166 if (PyErr_Occurred()) return NULL;
167 } Py_INCREF(Py_None);
168 _resultobj = Py_None;
169 return _resultobj;
170 }
171
172 #define wxPseudoMetaFile_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2))
173 static PyObject *_wrap_wxPseudoMetaFile_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
174 PyObject * _resultobj;
175 wxPseudoMetaFile * _arg0;
176 wxDC * _arg1;
177 double _arg2;
178 double _arg3;
179 PyObject * _argo0 = 0;
180 PyObject * _argo1 = 0;
181 char *_kwnames[] = { "self","dc","xoffset","yoffset", NULL };
182
183 self = self;
184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd:wxPseudoMetaFile_Draw",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
185 return NULL;
186 if (_argo0) {
187 if (_argo0 == Py_None) { _arg0 = NULL; }
188 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
189 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_Draw. Expected _wxPseudoMetaFile_p.");
190 return NULL;
191 }
192 }
193 if (_argo1) {
194 if (_argo1 == Py_None) { _arg1 = NULL; }
195 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
196 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_Draw. Expected _wxDC_p.");
197 return NULL;
198 }
199 }
200 {
201 PyThreadState* __tstate = wxPyBeginAllowThreads();
202 wxPseudoMetaFile_Draw(_arg0,*_arg1,_arg2,_arg3);
203
204 wxPyEndAllowThreads(__tstate);
205 if (PyErr_Occurred()) return NULL;
206 } Py_INCREF(Py_None);
207 _resultobj = Py_None;
208 return _resultobj;
209 }
210
211 #define wxPseudoMetaFile_WriteAttributes(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteAttributes(_swigarg0,_swigarg1))
212 static PyObject *_wrap_wxPseudoMetaFile_WriteAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
213 PyObject * _resultobj;
214 wxPseudoMetaFile * _arg0;
215 wxExpr * _arg1;
216 int _arg2;
217 PyObject * _argo0 = 0;
218 PyObject * _argo1 = 0;
219 char *_kwnames[] = { "self","clause","whichAngle", NULL };
220
221 self = self;
222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPseudoMetaFile_WriteAttributes",_kwnames,&_argo0,&_argo1,&_arg2))
223 return NULL;
224 if (_argo0) {
225 if (_argo0 == Py_None) { _arg0 = NULL; }
226 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
227 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_WriteAttributes. Expected _wxPseudoMetaFile_p.");
228 return NULL;
229 }
230 }
231 if (_argo1) {
232 if (_argo1 == Py_None) { _arg1 = NULL; }
233 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxExpr_p")) {
234 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_WriteAttributes. Expected _wxExpr_p.");
235 return NULL;
236 }
237 }
238 {
239 PyThreadState* __tstate = wxPyBeginAllowThreads();
240 wxPseudoMetaFile_WriteAttributes(_arg0,_arg1,_arg2);
241
242 wxPyEndAllowThreads(__tstate);
243 if (PyErr_Occurred()) return NULL;
244 } Py_INCREF(Py_None);
245 _resultobj = Py_None;
246 return _resultobj;
247 }
248
249 #define wxPseudoMetaFile_ReadAttributes(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadAttributes(_swigarg0,_swigarg1))
250 static PyObject *_wrap_wxPseudoMetaFile_ReadAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
251 PyObject * _resultobj;
252 wxPseudoMetaFile * _arg0;
253 wxExpr * _arg1;
254 int _arg2;
255 PyObject * _argo0 = 0;
256 PyObject * _argo1 = 0;
257 char *_kwnames[] = { "self","clause","whichAngle", NULL };
258
259 self = self;
260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPseudoMetaFile_ReadAttributes",_kwnames,&_argo0,&_argo1,&_arg2))
261 return NULL;
262 if (_argo0) {
263 if (_argo0 == Py_None) { _arg0 = NULL; }
264 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
265 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_ReadAttributes. Expected _wxPseudoMetaFile_p.");
266 return NULL;
267 }
268 }
269 if (_argo1) {
270 if (_argo1 == Py_None) { _arg1 = NULL; }
271 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxExpr_p")) {
272 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_ReadAttributes. Expected _wxExpr_p.");
273 return NULL;
274 }
275 }
276 {
277 PyThreadState* __tstate = wxPyBeginAllowThreads();
278 wxPseudoMetaFile_ReadAttributes(_arg0,_arg1,_arg2);
279
280 wxPyEndAllowThreads(__tstate);
281 if (PyErr_Occurred()) return NULL;
282 } Py_INCREF(Py_None);
283 _resultobj = Py_None;
284 return _resultobj;
285 }
286
287 #define wxPseudoMetaFile_Clear(_swigobj) (_swigobj->Clear())
288 static PyObject *_wrap_wxPseudoMetaFile_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
289 PyObject * _resultobj;
290 wxPseudoMetaFile * _arg0;
291 PyObject * _argo0 = 0;
292 char *_kwnames[] = { "self", NULL };
293
294 self = self;
295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_Clear",_kwnames,&_argo0))
296 return NULL;
297 if (_argo0) {
298 if (_argo0 == Py_None) { _arg0 = NULL; }
299 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
300 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_Clear. Expected _wxPseudoMetaFile_p.");
301 return NULL;
302 }
303 }
304 {
305 PyThreadState* __tstate = wxPyBeginAllowThreads();
306 wxPseudoMetaFile_Clear(_arg0);
307
308 wxPyEndAllowThreads(__tstate);
309 if (PyErr_Occurred()) return NULL;
310 } Py_INCREF(Py_None);
311 _resultobj = Py_None;
312 return _resultobj;
313 }
314
315 #define wxPseudoMetaFile_Copy(_swigobj,_swigarg0) (_swigobj->Copy(_swigarg0))
316 static PyObject *_wrap_wxPseudoMetaFile_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
317 PyObject * _resultobj;
318 wxPseudoMetaFile * _arg0;
319 wxPseudoMetaFile * _arg1;
320 PyObject * _argo0 = 0;
321 PyObject * _argo1 = 0;
322 char *_kwnames[] = { "self","copy", NULL };
323
324 self = self;
325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_Copy",_kwnames,&_argo0,&_argo1))
326 return NULL;
327 if (_argo0) {
328 if (_argo0 == Py_None) { _arg0 = NULL; }
329 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
330 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_Copy. Expected _wxPseudoMetaFile_p.");
331 return NULL;
332 }
333 }
334 if (_argo1) {
335 if (_argo1 == Py_None) { _arg1 = NULL; }
336 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPseudoMetaFile_p")) {
337 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_Copy. Expected _wxPseudoMetaFile_p.");
338 return NULL;
339 }
340 }
341 {
342 PyThreadState* __tstate = wxPyBeginAllowThreads();
343 wxPseudoMetaFile_Copy(_arg0,*_arg1);
344
345 wxPyEndAllowThreads(__tstate);
346 if (PyErr_Occurred()) return NULL;
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 PyThreadState* __tstate = wxPyBeginAllowThreads();
373 wxPseudoMetaFile_Scale(_arg0,_arg1,_arg2);
374
375 wxPyEndAllowThreads(__tstate);
376 if (PyErr_Occurred()) return NULL;
377 } Py_INCREF(Py_None);
378 _resultobj = Py_None;
379 return _resultobj;
380 }
381
382 #define wxPseudoMetaFile_ScaleTo(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScaleTo(_swigarg0,_swigarg1))
383 static PyObject *_wrap_wxPseudoMetaFile_ScaleTo(PyObject *self, PyObject *args, PyObject *kwargs) {
384 PyObject * _resultobj;
385 wxPseudoMetaFile * _arg0;
386 double _arg1;
387 double _arg2;
388 PyObject * _argo0 = 0;
389 char *_kwnames[] = { "self","w","h", NULL };
390
391 self = self;
392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPseudoMetaFile_ScaleTo",_kwnames,&_argo0,&_arg1,&_arg2))
393 return NULL;
394 if (_argo0) {
395 if (_argo0 == Py_None) { _arg0 = NULL; }
396 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
397 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_ScaleTo. Expected _wxPseudoMetaFile_p.");
398 return NULL;
399 }
400 }
401 {
402 PyThreadState* __tstate = wxPyBeginAllowThreads();
403 wxPseudoMetaFile_ScaleTo(_arg0,_arg1,_arg2);
404
405 wxPyEndAllowThreads(__tstate);
406 if (PyErr_Occurred()) return NULL;
407 } Py_INCREF(Py_None);
408 _resultobj = Py_None;
409 return _resultobj;
410 }
411
412 #define wxPseudoMetaFile_Translate(_swigobj,_swigarg0,_swigarg1) (_swigobj->Translate(_swigarg0,_swigarg1))
413 static PyObject *_wrap_wxPseudoMetaFile_Translate(PyObject *self, PyObject *args, PyObject *kwargs) {
414 PyObject * _resultobj;
415 wxPseudoMetaFile * _arg0;
416 double _arg1;
417 double _arg2;
418 PyObject * _argo0 = 0;
419 char *_kwnames[] = { "self","x","y", NULL };
420
421 self = self;
422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPseudoMetaFile_Translate",_kwnames,&_argo0,&_arg1,&_arg2))
423 return NULL;
424 if (_argo0) {
425 if (_argo0 == Py_None) { _arg0 = NULL; }
426 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
427 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_Translate. Expected _wxPseudoMetaFile_p.");
428 return NULL;
429 }
430 }
431 {
432 PyThreadState* __tstate = wxPyBeginAllowThreads();
433 wxPseudoMetaFile_Translate(_arg0,_arg1,_arg2);
434
435 wxPyEndAllowThreads(__tstate);
436 if (PyErr_Occurred()) return NULL;
437 } Py_INCREF(Py_None);
438 _resultobj = Py_None;
439 return _resultobj;
440 }
441
442 #define wxPseudoMetaFile_Rotate(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Rotate(_swigarg0,_swigarg1,_swigarg2))
443 static PyObject *_wrap_wxPseudoMetaFile_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
444 PyObject * _resultobj;
445 wxPseudoMetaFile * _arg0;
446 double _arg1;
447 double _arg2;
448 double _arg3;
449 PyObject * _argo0 = 0;
450 char *_kwnames[] = { "self","x","y","theta", NULL };
451
452 self = self;
453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oddd:wxPseudoMetaFile_Rotate",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
454 return NULL;
455 if (_argo0) {
456 if (_argo0 == Py_None) { _arg0 = NULL; }
457 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
458 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_Rotate. Expected _wxPseudoMetaFile_p.");
459 return NULL;
460 }
461 }
462 {
463 PyThreadState* __tstate = wxPyBeginAllowThreads();
464 wxPseudoMetaFile_Rotate(_arg0,_arg1,_arg2,_arg3);
465
466 wxPyEndAllowThreads(__tstate);
467 if (PyErr_Occurred()) return NULL;
468 } Py_INCREF(Py_None);
469 _resultobj = Py_None;
470 return _resultobj;
471 }
472
473 #define wxPseudoMetaFile_LoadFromMetaFile(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromMetaFile(_swigarg0,_swigarg1,_swigarg2))
474 static PyObject *_wrap_wxPseudoMetaFile_LoadFromMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
475 PyObject * _resultobj;
476 bool _result;
477 wxPseudoMetaFile * _arg0;
478 char * _arg1;
479 double * _arg2;
480 double * _arg3;
481 PyObject * _argo0 = 0;
482 PyObject * _argo2 = 0;
483 PyObject * _argo3 = 0;
484 char *_kwnames[] = { "self","filename","width","height", NULL };
485
486 self = self;
487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OsOO:wxPseudoMetaFile_LoadFromMetaFile",_kwnames,&_argo0,&_arg1,&_argo2,&_argo3))
488 return NULL;
489 if (_argo0) {
490 if (_argo0 == Py_None) { _arg0 = NULL; }
491 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
492 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_LoadFromMetaFile. Expected _wxPseudoMetaFile_p.");
493 return NULL;
494 }
495 }
496 if (_argo2) {
497 if (_argo2 == Py_None) { _arg2 = NULL; }
498 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_double_p")) {
499 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPseudoMetaFile_LoadFromMetaFile. Expected _double_p.");
500 return NULL;
501 }
502 }
503 if (_argo3) {
504 if (_argo3 == Py_None) { _arg3 = NULL; }
505 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_double_p")) {
506 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxPseudoMetaFile_LoadFromMetaFile. Expected _double_p.");
507 return NULL;
508 }
509 }
510 {
511 PyThreadState* __tstate = wxPyBeginAllowThreads();
512 _result = (bool )wxPseudoMetaFile_LoadFromMetaFile(_arg0,_arg1,_arg2,_arg3);
513
514 wxPyEndAllowThreads(__tstate);
515 if (PyErr_Occurred()) return NULL;
516 } _resultobj = Py_BuildValue("i",_result);
517 return _resultobj;
518 }
519
520 #define wxPseudoMetaFile_GetBounds(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetBounds(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
521 static PyObject *_wrap_wxPseudoMetaFile_GetBounds(PyObject *self, PyObject *args, PyObject *kwargs) {
522 PyObject * _resultobj;
523 wxPseudoMetaFile * _arg0;
524 double * _arg1;
525 double * _arg2;
526 double * _arg3;
527 double * _arg4;
528 PyObject * _argo0 = 0;
529 PyObject * _argo1 = 0;
530 PyObject * _argo2 = 0;
531 PyObject * _argo3 = 0;
532 PyObject * _argo4 = 0;
533 char *_kwnames[] = { "self","minX","minY","maxX","maxY", NULL };
534
535 self = self;
536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOOO:wxPseudoMetaFile_GetBounds",_kwnames,&_argo0,&_argo1,&_argo2,&_argo3,&_argo4))
537 return NULL;
538 if (_argo0) {
539 if (_argo0 == Py_None) { _arg0 = NULL; }
540 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
541 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_GetBounds. Expected _wxPseudoMetaFile_p.");
542 return NULL;
543 }
544 }
545 if (_argo1) {
546 if (_argo1 == Py_None) { _arg1 = NULL; }
547 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_double_p")) {
548 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_GetBounds. Expected _double_p.");
549 return NULL;
550 }
551 }
552 if (_argo2) {
553 if (_argo2 == Py_None) { _arg2 = NULL; }
554 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_double_p")) {
555 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPseudoMetaFile_GetBounds. Expected _double_p.");
556 return NULL;
557 }
558 }
559 if (_argo3) {
560 if (_argo3 == Py_None) { _arg3 = NULL; }
561 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_double_p")) {
562 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxPseudoMetaFile_GetBounds. Expected _double_p.");
563 return NULL;
564 }
565 }
566 if (_argo4) {
567 if (_argo4 == Py_None) { _arg4 = NULL; }
568 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_double_p")) {
569 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxPseudoMetaFile_GetBounds. Expected _double_p.");
570 return NULL;
571 }
572 }
573 {
574 PyThreadState* __tstate = wxPyBeginAllowThreads();
575 wxPseudoMetaFile_GetBounds(_arg0,_arg1,_arg2,_arg3,_arg4);
576
577 wxPyEndAllowThreads(__tstate);
578 if (PyErr_Occurred()) return NULL;
579 } Py_INCREF(Py_None);
580 _resultobj = Py_None;
581 return _resultobj;
582 }
583
584 #define wxPseudoMetaFile_CalculateSize(_swigobj,_swigarg0) (_swigobj->CalculateSize(_swigarg0))
585 static PyObject *_wrap_wxPseudoMetaFile_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
586 PyObject * _resultobj;
587 wxPseudoMetaFile * _arg0;
588 wxDrawnShape * _arg1;
589 PyObject * _argo0 = 0;
590 PyObject * _argo1 = 0;
591 char *_kwnames[] = { "self","shape", NULL };
592
593 self = self;
594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_CalculateSize",_kwnames,&_argo0,&_argo1))
595 return NULL;
596 if (_argo0) {
597 if (_argo0 == Py_None) { _arg0 = NULL; }
598 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
599 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_CalculateSize. Expected _wxPseudoMetaFile_p.");
600 return NULL;
601 }
602 }
603 if (_argo1) {
604 if (_argo1 == Py_None) { _arg1 = NULL; }
605 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDrawnShape_p")) {
606 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_CalculateSize. Expected _wxDrawnShape_p.");
607 return NULL;
608 }
609 }
610 {
611 PyThreadState* __tstate = wxPyBeginAllowThreads();
612 wxPseudoMetaFile_CalculateSize(_arg0,_arg1);
613
614 wxPyEndAllowThreads(__tstate);
615 if (PyErr_Occurred()) return NULL;
616 } Py_INCREF(Py_None);
617 _resultobj = Py_None;
618 return _resultobj;
619 }
620
621 #define wxPseudoMetaFile_SetRotateable(_swigobj,_swigarg0) (_swigobj->SetRotateable(_swigarg0))
622 static PyObject *_wrap_wxPseudoMetaFile_SetRotateable(PyObject *self, PyObject *args, PyObject *kwargs) {
623 PyObject * _resultobj;
624 wxPseudoMetaFile * _arg0;
625 bool _arg1;
626 PyObject * _argo0 = 0;
627 int tempbool1;
628 char *_kwnames[] = { "self","rot", NULL };
629
630 self = self;
631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPseudoMetaFile_SetRotateable",_kwnames,&_argo0,&tempbool1))
632 return NULL;
633 if (_argo0) {
634 if (_argo0 == Py_None) { _arg0 = NULL; }
635 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
636 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetRotateable. Expected _wxPseudoMetaFile_p.");
637 return NULL;
638 }
639 }
640 _arg1 = (bool ) tempbool1;
641 {
642 PyThreadState* __tstate = wxPyBeginAllowThreads();
643 wxPseudoMetaFile_SetRotateable(_arg0,_arg1);
644
645 wxPyEndAllowThreads(__tstate);
646 if (PyErr_Occurred()) return NULL;
647 } Py_INCREF(Py_None);
648 _resultobj = Py_None;
649 return _resultobj;
650 }
651
652 #define wxPseudoMetaFile_GetRotateable(_swigobj) (_swigobj->GetRotateable())
653 static PyObject *_wrap_wxPseudoMetaFile_GetRotateable(PyObject *self, PyObject *args, PyObject *kwargs) {
654 PyObject * _resultobj;
655 bool _result;
656 wxPseudoMetaFile * _arg0;
657 PyObject * _argo0 = 0;
658 char *_kwnames[] = { "self", NULL };
659
660 self = self;
661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_GetRotateable",_kwnames,&_argo0))
662 return NULL;
663 if (_argo0) {
664 if (_argo0 == Py_None) { _arg0 = NULL; }
665 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
666 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_GetRotateable. Expected _wxPseudoMetaFile_p.");
667 return NULL;
668 }
669 }
670 {
671 PyThreadState* __tstate = wxPyBeginAllowThreads();
672 _result = (bool )wxPseudoMetaFile_GetRotateable(_arg0);
673
674 wxPyEndAllowThreads(__tstate);
675 if (PyErr_Occurred()) return NULL;
676 } _resultobj = Py_BuildValue("i",_result);
677 return _resultobj;
678 }
679
680 #define wxPseudoMetaFile_SetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
681 static PyObject *_wrap_wxPseudoMetaFile_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
682 PyObject * _resultobj;
683 wxPseudoMetaFile * _arg0;
684 double _arg1;
685 double _arg2;
686 PyObject * _argo0 = 0;
687 char *_kwnames[] = { "self","w","h", NULL };
688
689 self = self;
690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPseudoMetaFile_SetSize",_kwnames,&_argo0,&_arg1,&_arg2))
691 return NULL;
692 if (_argo0) {
693 if (_argo0 == Py_None) { _arg0 = NULL; }
694 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
695 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetSize. Expected _wxPseudoMetaFile_p.");
696 return NULL;
697 }
698 }
699 {
700 PyThreadState* __tstate = wxPyBeginAllowThreads();
701 wxPseudoMetaFile_SetSize(_arg0,_arg1,_arg2);
702
703 wxPyEndAllowThreads(__tstate);
704 if (PyErr_Occurred()) return NULL;
705 } Py_INCREF(Py_None);
706 _resultobj = Py_None;
707 return _resultobj;
708 }
709
710 #define wxPseudoMetaFile_SetFillBrush(_swigobj,_swigarg0) (_swigobj->SetFillBrush(_swigarg0))
711 static PyObject *_wrap_wxPseudoMetaFile_SetFillBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
712 PyObject * _resultobj;
713 wxPseudoMetaFile * _arg0;
714 wxBrush * _arg1;
715 PyObject * _argo0 = 0;
716 PyObject * _obj1 = 0;
717 char *_kwnames[] = { "self","brush", NULL };
718
719 self = self;
720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_SetFillBrush",_kwnames,&_argo0,&_obj1))
721 return NULL;
722 if (_argo0) {
723 if (_argo0 == Py_None) { _arg0 = NULL; }
724 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
725 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetFillBrush. Expected _wxPseudoMetaFile_p.");
726 return NULL;
727 }
728 }
729 {
730 wxBrush* temp;
731 if (_obj1) {
732 if (_obj1 == Py_None) { temp = NULL; }
733 else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxBrush_p")) {
734 PyErr_SetString(PyExc_TypeError,"Type error, expected _wxBrush_p.");
735 return NULL;
736 }
737 }
738 if (temp)
739 _arg1 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
740 else
741 _arg1 = NULL;
742 }
743 {
744 PyThreadState* __tstate = wxPyBeginAllowThreads();
745 wxPseudoMetaFile_SetFillBrush(_arg0,_arg1);
746
747 wxPyEndAllowThreads(__tstate);
748 if (PyErr_Occurred()) return NULL;
749 } Py_INCREF(Py_None);
750 _resultobj = Py_None;
751 return _resultobj;
752 }
753
754 #define wxPseudoMetaFile_GetFillBrush(_swigobj) (_swigobj->GetFillBrush())
755 static PyObject *_wrap_wxPseudoMetaFile_GetFillBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
756 PyObject * _resultobj;
757 wxBrush * _result;
758 wxPseudoMetaFile * _arg0;
759 PyObject * _argo0 = 0;
760 char *_kwnames[] = { "self", NULL };
761 char _ptemp[128];
762
763 self = self;
764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_GetFillBrush",_kwnames,&_argo0))
765 return NULL;
766 if (_argo0) {
767 if (_argo0 == Py_None) { _arg0 = NULL; }
768 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
769 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_GetFillBrush. Expected _wxPseudoMetaFile_p.");
770 return NULL;
771 }
772 }
773 {
774 PyThreadState* __tstate = wxPyBeginAllowThreads();
775 _result = (wxBrush *)wxPseudoMetaFile_GetFillBrush(_arg0);
776
777 wxPyEndAllowThreads(__tstate);
778 if (PyErr_Occurred()) return NULL;
779 } if (_result) {
780 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBrush_p");
781 _resultobj = Py_BuildValue("s",_ptemp);
782 } else {
783 Py_INCREF(Py_None);
784 _resultobj = Py_None;
785 }
786 return _resultobj;
787 }
788
789 #define wxPseudoMetaFile_SetOutlinePen(_swigobj,_swigarg0) (_swigobj->SetOutlinePen(_swigarg0))
790 static PyObject *_wrap_wxPseudoMetaFile_SetOutlinePen(PyObject *self, PyObject *args, PyObject *kwargs) {
791 PyObject * _resultobj;
792 wxPseudoMetaFile * _arg0;
793 wxPen * _arg1;
794 PyObject * _argo0 = 0;
795 PyObject * _obj1 = 0;
796 char *_kwnames[] = { "self","pen", NULL };
797
798 self = self;
799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_SetOutlinePen",_kwnames,&_argo0,&_obj1))
800 return NULL;
801 if (_argo0) {
802 if (_argo0 == Py_None) { _arg0 = NULL; }
803 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
804 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetOutlinePen. Expected _wxPseudoMetaFile_p.");
805 return NULL;
806 }
807 }
808 {
809 wxPen* temp;
810 if (_obj1) {
811 if (_obj1 == Py_None) { temp = NULL; }
812 else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxPen_p")) {
813 PyErr_SetString(PyExc_TypeError,"Type error, expected _wxPen_p.");
814 return NULL;
815 }
816 }
817 if (temp)
818 _arg1 = wxThePenList->FindOrCreatePen(temp->GetColour(),
819 temp->GetWidth(),
820 temp->GetStyle());
821 else
822 _arg1 = NULL;
823 }
824 {
825 PyThreadState* __tstate = wxPyBeginAllowThreads();
826 wxPseudoMetaFile_SetOutlinePen(_arg0,_arg1);
827
828 wxPyEndAllowThreads(__tstate);
829 if (PyErr_Occurred()) return NULL;
830 } Py_INCREF(Py_None);
831 _resultobj = Py_None;
832 return _resultobj;
833 }
834
835 #define wxPseudoMetaFile_GetOutlinePen(_swigobj) (_swigobj->GetOutlinePen())
836 static PyObject *_wrap_wxPseudoMetaFile_GetOutlinePen(PyObject *self, PyObject *args, PyObject *kwargs) {
837 PyObject * _resultobj;
838 wxPen * _result;
839 wxPseudoMetaFile * _arg0;
840 PyObject * _argo0 = 0;
841 char *_kwnames[] = { "self", NULL };
842 char _ptemp[128];
843
844 self = self;
845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_GetOutlinePen",_kwnames,&_argo0))
846 return NULL;
847 if (_argo0) {
848 if (_argo0 == Py_None) { _arg0 = NULL; }
849 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
850 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_GetOutlinePen. Expected _wxPseudoMetaFile_p.");
851 return NULL;
852 }
853 }
854 {
855 PyThreadState* __tstate = wxPyBeginAllowThreads();
856 _result = (wxPen *)wxPseudoMetaFile_GetOutlinePen(_arg0);
857
858 wxPyEndAllowThreads(__tstate);
859 if (PyErr_Occurred()) return NULL;
860 } if (_result) {
861 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPen_p");
862 _resultobj = Py_BuildValue("s",_ptemp);
863 } else {
864 Py_INCREF(Py_None);
865 _resultobj = Py_None;
866 }
867 return _resultobj;
868 }
869
870 #define wxPseudoMetaFile_SetOutlineOp(_swigobj,_swigarg0) (_swigobj->SetOutlineOp(_swigarg0))
871 static PyObject *_wrap_wxPseudoMetaFile_SetOutlineOp(PyObject *self, PyObject *args, PyObject *kwargs) {
872 PyObject * _resultobj;
873 wxPseudoMetaFile * _arg0;
874 int _arg1;
875 PyObject * _argo0 = 0;
876 char *_kwnames[] = { "self","op", NULL };
877
878 self = self;
879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPseudoMetaFile_SetOutlineOp",_kwnames,&_argo0,&_arg1))
880 return NULL;
881 if (_argo0) {
882 if (_argo0 == Py_None) { _arg0 = NULL; }
883 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
884 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetOutlineOp. Expected _wxPseudoMetaFile_p.");
885 return NULL;
886 }
887 }
888 {
889 PyThreadState* __tstate = wxPyBeginAllowThreads();
890 wxPseudoMetaFile_SetOutlineOp(_arg0,_arg1);
891
892 wxPyEndAllowThreads(__tstate);
893 if (PyErr_Occurred()) return NULL;
894 } Py_INCREF(Py_None);
895 _resultobj = Py_None;
896 return _resultobj;
897 }
898
899 #define wxPseudoMetaFile_GetOutlineOp(_swigobj) (_swigobj->GetOutlineOp())
900 static PyObject *_wrap_wxPseudoMetaFile_GetOutlineOp(PyObject *self, PyObject *args, PyObject *kwargs) {
901 PyObject * _resultobj;
902 int _result;
903 wxPseudoMetaFile * _arg0;
904 PyObject * _argo0 = 0;
905 char *_kwnames[] = { "self", NULL };
906
907 self = self;
908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_GetOutlineOp",_kwnames,&_argo0))
909 return NULL;
910 if (_argo0) {
911 if (_argo0 == Py_None) { _arg0 = NULL; }
912 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
913 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_GetOutlineOp. Expected _wxPseudoMetaFile_p.");
914 return NULL;
915 }
916 }
917 {
918 PyThreadState* __tstate = wxPyBeginAllowThreads();
919 _result = (int )wxPseudoMetaFile_GetOutlineOp(_arg0);
920
921 wxPyEndAllowThreads(__tstate);
922 if (PyErr_Occurred()) return NULL;
923 } _resultobj = Py_BuildValue("i",_result);
924 return _resultobj;
925 }
926
927 #define wxPseudoMetaFile_IsValid(_swigobj) (_swigobj->IsValid())
928 static PyObject *_wrap_wxPseudoMetaFile_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
929 PyObject * _resultobj;
930 bool _result;
931 wxPseudoMetaFile * _arg0;
932 PyObject * _argo0 = 0;
933 char *_kwnames[] = { "self", NULL };
934
935 self = self;
936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_IsValid",_kwnames,&_argo0))
937 return NULL;
938 if (_argo0) {
939 if (_argo0 == Py_None) { _arg0 = NULL; }
940 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
941 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_IsValid. Expected _wxPseudoMetaFile_p.");
942 return NULL;
943 }
944 }
945 {
946 PyThreadState* __tstate = wxPyBeginAllowThreads();
947 _result = (bool )wxPseudoMetaFile_IsValid(_arg0);
948
949 wxPyEndAllowThreads(__tstate);
950 if (PyErr_Occurred()) return NULL;
951 } _resultobj = Py_BuildValue("i",_result);
952 return _resultobj;
953 }
954
955 #define wxPseudoMetaFile_DrawLine(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawLine(_swigarg0,_swigarg1))
956 static PyObject *_wrap_wxPseudoMetaFile_DrawLine(PyObject *self, PyObject *args, PyObject *kwargs) {
957 PyObject * _resultobj;
958 wxPseudoMetaFile * _arg0;
959 wxPoint * _arg1;
960 wxPoint * _arg2;
961 PyObject * _argo0 = 0;
962 wxPoint temp;
963 PyObject * _obj1 = 0;
964 wxPoint temp0;
965 PyObject * _obj2 = 0;
966 char *_kwnames[] = { "self","pt1","pt2", NULL };
967
968 self = self;
969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPseudoMetaFile_DrawLine",_kwnames,&_argo0,&_obj1,&_obj2))
970 return NULL;
971 if (_argo0) {
972 if (_argo0 == Py_None) { _arg0 = NULL; }
973 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
974 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawLine. Expected _wxPseudoMetaFile_p.");
975 return NULL;
976 }
977 }
978 {
979 _arg1 = &temp;
980 if (! wxPoint_helper(_obj1, &_arg1))
981 return NULL;
982 }
983 {
984 _arg2 = &temp0;
985 if (! wxPoint_helper(_obj2, &_arg2))
986 return NULL;
987 }
988 {
989 PyThreadState* __tstate = wxPyBeginAllowThreads();
990 wxPseudoMetaFile_DrawLine(_arg0,*_arg1,*_arg2);
991
992 wxPyEndAllowThreads(__tstate);
993 if (PyErr_Occurred()) return NULL;
994 } Py_INCREF(Py_None);
995 _resultobj = Py_None;
996 return _resultobj;
997 }
998
999 #define wxPseudoMetaFile_DrawRectangle(_swigobj,_swigarg0) (_swigobj->DrawRectangle(_swigarg0))
1000 static PyObject *_wrap_wxPseudoMetaFile_DrawRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
1001 PyObject * _resultobj;
1002 wxPseudoMetaFile * _arg0;
1003 wxRect * _arg1;
1004 PyObject * _argo0 = 0;
1005 wxRect temp;
1006 PyObject * _obj1 = 0;
1007 char *_kwnames[] = { "self","rect", NULL };
1008
1009 self = self;
1010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_DrawRectangle",_kwnames,&_argo0,&_obj1))
1011 return NULL;
1012 if (_argo0) {
1013 if (_argo0 == Py_None) { _arg0 = NULL; }
1014 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1015 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawRectangle. Expected _wxPseudoMetaFile_p.");
1016 return NULL;
1017 }
1018 }
1019 {
1020 _arg1 = &temp;
1021 if (! wxRect_helper(_obj1, &_arg1))
1022 return NULL;
1023 }
1024 {
1025 PyThreadState* __tstate = wxPyBeginAllowThreads();
1026 wxPseudoMetaFile_DrawRectangle(_arg0,*_arg1);
1027
1028 wxPyEndAllowThreads(__tstate);
1029 if (PyErr_Occurred()) return NULL;
1030 } Py_INCREF(Py_None);
1031 _resultobj = Py_None;
1032 return _resultobj;
1033 }
1034
1035 #define wxPseudoMetaFile_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1))
1036 static PyObject *_wrap_wxPseudoMetaFile_DrawRoundedRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
1037 PyObject * _resultobj;
1038 wxPseudoMetaFile * _arg0;
1039 wxRect * _arg1;
1040 double _arg2;
1041 PyObject * _argo0 = 0;
1042 wxRect temp;
1043 PyObject * _obj1 = 0;
1044 char *_kwnames[] = { "self","rect","radius", NULL };
1045
1046 self = self;
1047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOd:wxPseudoMetaFile_DrawRoundedRectangle",_kwnames,&_argo0,&_obj1,&_arg2))
1048 return NULL;
1049 if (_argo0) {
1050 if (_argo0 == Py_None) { _arg0 = NULL; }
1051 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1052 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawRoundedRectangle. Expected _wxPseudoMetaFile_p.");
1053 return NULL;
1054 }
1055 }
1056 {
1057 _arg1 = &temp;
1058 if (! wxRect_helper(_obj1, &_arg1))
1059 return NULL;
1060 }
1061 {
1062 PyThreadState* __tstate = wxPyBeginAllowThreads();
1063 wxPseudoMetaFile_DrawRoundedRectangle(_arg0,*_arg1,_arg2);
1064
1065 wxPyEndAllowThreads(__tstate);
1066 if (PyErr_Occurred()) return NULL;
1067 } Py_INCREF(Py_None);
1068 _resultobj = Py_None;
1069 return _resultobj;
1070 }
1071
1072 #define wxPseudoMetaFile_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2))
1073 static PyObject *_wrap_wxPseudoMetaFile_DrawArc(PyObject *self, PyObject *args, PyObject *kwargs) {
1074 PyObject * _resultobj;
1075 wxPseudoMetaFile * _arg0;
1076 wxPoint * _arg1;
1077 wxPoint * _arg2;
1078 wxPoint * _arg3;
1079 PyObject * _argo0 = 0;
1080 wxPoint temp;
1081 PyObject * _obj1 = 0;
1082 wxPoint temp0;
1083 PyObject * _obj2 = 0;
1084 wxPoint temp1;
1085 PyObject * _obj3 = 0;
1086 char *_kwnames[] = { "self","centrePt","startPt","endPt", NULL };
1087
1088 self = self;
1089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxPseudoMetaFile_DrawArc",_kwnames,&_argo0,&_obj1,&_obj2,&_obj3))
1090 return NULL;
1091 if (_argo0) {
1092 if (_argo0 == Py_None) { _arg0 = NULL; }
1093 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1094 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawArc. Expected _wxPseudoMetaFile_p.");
1095 return NULL;
1096 }
1097 }
1098 {
1099 _arg1 = &temp;
1100 if (! wxPoint_helper(_obj1, &_arg1))
1101 return NULL;
1102 }
1103 {
1104 _arg2 = &temp0;
1105 if (! wxPoint_helper(_obj2, &_arg2))
1106 return NULL;
1107 }
1108 {
1109 _arg3 = &temp1;
1110 if (! wxPoint_helper(_obj3, &_arg3))
1111 return NULL;
1112 }
1113 {
1114 PyThreadState* __tstate = wxPyBeginAllowThreads();
1115 wxPseudoMetaFile_DrawArc(_arg0,*_arg1,*_arg2,*_arg3);
1116
1117 wxPyEndAllowThreads(__tstate);
1118 if (PyErr_Occurred()) return NULL;
1119 } Py_INCREF(Py_None);
1120 _resultobj = Py_None;
1121 return _resultobj;
1122 }
1123
1124 #define wxPseudoMetaFile_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2))
1125 static PyObject *_wrap_wxPseudoMetaFile_DrawEllipticArc(PyObject *self, PyObject *args, PyObject *kwargs) {
1126 PyObject * _resultobj;
1127 wxPseudoMetaFile * _arg0;
1128 wxRect * _arg1;
1129 double _arg2;
1130 double _arg3;
1131 PyObject * _argo0 = 0;
1132 wxRect temp;
1133 PyObject * _obj1 = 0;
1134 char *_kwnames[] = { "self","rect","startAngle","endAngle", NULL };
1135
1136 self = self;
1137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd:wxPseudoMetaFile_DrawEllipticArc",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3))
1138 return NULL;
1139 if (_argo0) {
1140 if (_argo0 == Py_None) { _arg0 = NULL; }
1141 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1142 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawEllipticArc. Expected _wxPseudoMetaFile_p.");
1143 return NULL;
1144 }
1145 }
1146 {
1147 _arg1 = &temp;
1148 if (! wxRect_helper(_obj1, &_arg1))
1149 return NULL;
1150 }
1151 {
1152 PyThreadState* __tstate = wxPyBeginAllowThreads();
1153 wxPseudoMetaFile_DrawEllipticArc(_arg0,*_arg1,_arg2,_arg3);
1154
1155 wxPyEndAllowThreads(__tstate);
1156 if (PyErr_Occurred()) return NULL;
1157 } Py_INCREF(Py_None);
1158 _resultobj = Py_None;
1159 return _resultobj;
1160 }
1161
1162 #define wxPseudoMetaFile_DrawEllipse(_swigobj,_swigarg0) (_swigobj->DrawEllipse(_swigarg0))
1163 static PyObject *_wrap_wxPseudoMetaFile_DrawEllipse(PyObject *self, PyObject *args, PyObject *kwargs) {
1164 PyObject * _resultobj;
1165 wxPseudoMetaFile * _arg0;
1166 wxRect * _arg1;
1167 PyObject * _argo0 = 0;
1168 wxRect temp;
1169 PyObject * _obj1 = 0;
1170 char *_kwnames[] = { "self","rect", NULL };
1171
1172 self = self;
1173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_DrawEllipse",_kwnames,&_argo0,&_obj1))
1174 return NULL;
1175 if (_argo0) {
1176 if (_argo0 == Py_None) { _arg0 = NULL; }
1177 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1178 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawEllipse. Expected _wxPseudoMetaFile_p.");
1179 return NULL;
1180 }
1181 }
1182 {
1183 _arg1 = &temp;
1184 if (! wxRect_helper(_obj1, &_arg1))
1185 return NULL;
1186 }
1187 {
1188 PyThreadState* __tstate = wxPyBeginAllowThreads();
1189 wxPseudoMetaFile_DrawEllipse(_arg0,*_arg1);
1190
1191 wxPyEndAllowThreads(__tstate);
1192 if (PyErr_Occurred()) return NULL;
1193 } Py_INCREF(Py_None);
1194 _resultobj = Py_None;
1195 return _resultobj;
1196 }
1197
1198 #define wxPseudoMetaFile_DrawPoint(_swigobj,_swigarg0) (_swigobj->DrawPoint(_swigarg0))
1199 static PyObject *_wrap_wxPseudoMetaFile_DrawPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
1200 PyObject * _resultobj;
1201 wxPseudoMetaFile * _arg0;
1202 wxPoint * _arg1;
1203 PyObject * _argo0 = 0;
1204 wxPoint temp;
1205 PyObject * _obj1 = 0;
1206 char *_kwnames[] = { "self","pt", NULL };
1207
1208 self = self;
1209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_DrawPoint",_kwnames,&_argo0,&_obj1))
1210 return NULL;
1211 if (_argo0) {
1212 if (_argo0 == Py_None) { _arg0 = NULL; }
1213 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1214 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawPoint. Expected _wxPseudoMetaFile_p.");
1215 return NULL;
1216 }
1217 }
1218 {
1219 _arg1 = &temp;
1220 if (! wxPoint_helper(_obj1, &_arg1))
1221 return NULL;
1222 }
1223 {
1224 PyThreadState* __tstate = wxPyBeginAllowThreads();
1225 wxPseudoMetaFile_DrawPoint(_arg0,*_arg1);
1226
1227 wxPyEndAllowThreads(__tstate);
1228 if (PyErr_Occurred()) return NULL;
1229 } Py_INCREF(Py_None);
1230 _resultobj = Py_None;
1231 return _resultobj;
1232 }
1233
1234 #define wxPseudoMetaFile_DrawText(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawText(_swigarg0,_swigarg1))
1235 static PyObject *_wrap_wxPseudoMetaFile_DrawText(PyObject *self, PyObject *args, PyObject *kwargs) {
1236 PyObject * _resultobj;
1237 wxPseudoMetaFile * _arg0;
1238 wxString * _arg1;
1239 wxPoint * _arg2;
1240 PyObject * _argo0 = 0;
1241 PyObject * _obj1 = 0;
1242 wxPoint temp;
1243 PyObject * _obj2 = 0;
1244 char *_kwnames[] = { "self","text","pt", NULL };
1245
1246 self = self;
1247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPseudoMetaFile_DrawText",_kwnames,&_argo0,&_obj1,&_obj2))
1248 return NULL;
1249 if (_argo0) {
1250 if (_argo0 == Py_None) { _arg0 = NULL; }
1251 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1252 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawText. Expected _wxPseudoMetaFile_p.");
1253 return NULL;
1254 }
1255 }
1256 {
1257 #if PYTHON_API_VERSION >= 1009
1258 char* tmpPtr; int tmpSize;
1259 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
1260 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1261 return NULL;
1262 }
1263 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1264 return NULL;
1265 _arg1 = new wxString(tmpPtr, tmpSize);
1266 #else
1267 if (!PyString_Check(_obj1)) {
1268 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1269 return NULL;
1270 }
1271 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1272 #endif
1273 }
1274 {
1275 _arg2 = &temp;
1276 if (! wxPoint_helper(_obj2, &_arg2))
1277 return NULL;
1278 }
1279 {
1280 PyThreadState* __tstate = wxPyBeginAllowThreads();
1281 wxPseudoMetaFile_DrawText(_arg0,*_arg1,*_arg2);
1282
1283 wxPyEndAllowThreads(__tstate);
1284 if (PyErr_Occurred()) return NULL;
1285 } Py_INCREF(Py_None);
1286 _resultobj = Py_None;
1287 {
1288 if (_obj1)
1289 delete _arg1;
1290 }
1291 return _resultobj;
1292 }
1293
1294 #define wxPseudoMetaFile_DrawLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawLines(_swigarg0,_swigarg1))
1295 static PyObject *_wrap_wxPseudoMetaFile_DrawLines(PyObject *self, PyObject *args, PyObject *kwargs) {
1296 PyObject * _resultobj;
1297 wxPseudoMetaFile * _arg0;
1298 int _arg1;
1299 wxPoint * _arg2;
1300 PyObject * _argo0 = 0;
1301 int NPOINTS;
1302 PyObject * _obj2 = 0;
1303 char *_kwnames[] = { "self","points", NULL };
1304
1305 self = self;
1306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_DrawLines",_kwnames,&_argo0,&_obj2))
1307 return NULL;
1308 if (_argo0) {
1309 if (_argo0 == Py_None) { _arg0 = NULL; }
1310 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1311 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawLines. Expected _wxPseudoMetaFile_p.");
1312 return NULL;
1313 }
1314 }
1315 if (_obj2)
1316 {
1317 _arg2 = wxPoint_LIST_helper(_obj2, &NPOINTS);
1318 if (_arg2 == NULL) {
1319 return NULL;
1320 }
1321 }
1322 {
1323 _arg1 = NPOINTS;
1324 }
1325 {
1326 PyThreadState* __tstate = wxPyBeginAllowThreads();
1327 wxPseudoMetaFile_DrawLines(_arg0,_arg1,_arg2);
1328
1329 wxPyEndAllowThreads(__tstate);
1330 if (PyErr_Occurred()) return NULL;
1331 } Py_INCREF(Py_None);
1332 _resultobj = Py_None;
1333 {
1334 delete [] _arg2;
1335 }
1336 return _resultobj;
1337 }
1338
1339 #define wxPseudoMetaFile_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2))
1340 static PyObject *_wrap_wxPseudoMetaFile_DrawPolygon(PyObject *self, PyObject *args, PyObject *kwargs) {
1341 PyObject * _resultobj;
1342 wxPseudoMetaFile * _arg0;
1343 int _arg1;
1344 wxPoint * _arg2;
1345 int _arg3 = (int ) 0;
1346 PyObject * _argo0 = 0;
1347 int NPOINTS;
1348 PyObject * _obj2 = 0;
1349 char *_kwnames[] = { "self","points","flags", NULL };
1350
1351 self = self;
1352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPseudoMetaFile_DrawPolygon",_kwnames,&_argo0,&_obj2,&_arg3))
1353 return NULL;
1354 if (_argo0) {
1355 if (_argo0 == Py_None) { _arg0 = NULL; }
1356 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1357 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawPolygon. Expected _wxPseudoMetaFile_p.");
1358 return NULL;
1359 }
1360 }
1361 if (_obj2)
1362 {
1363 _arg2 = wxPoint_LIST_helper(_obj2, &NPOINTS);
1364 if (_arg2 == NULL) {
1365 return NULL;
1366 }
1367 }
1368 {
1369 _arg1 = NPOINTS;
1370 }
1371 {
1372 PyThreadState* __tstate = wxPyBeginAllowThreads();
1373 wxPseudoMetaFile_DrawPolygon(_arg0,_arg1,_arg2,_arg3);
1374
1375 wxPyEndAllowThreads(__tstate);
1376 if (PyErr_Occurred()) return NULL;
1377 } Py_INCREF(Py_None);
1378 _resultobj = Py_None;
1379 {
1380 delete [] _arg2;
1381 }
1382 return _resultobj;
1383 }
1384
1385 #define wxPseudoMetaFile_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1))
1386 static PyObject *_wrap_wxPseudoMetaFile_DrawSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
1387 PyObject * _resultobj;
1388 wxPseudoMetaFile * _arg0;
1389 int _arg1;
1390 wxPoint * _arg2;
1391 PyObject * _argo0 = 0;
1392 int NPOINTS;
1393 PyObject * _obj2 = 0;
1394 char *_kwnames[] = { "self","points", NULL };
1395
1396 self = self;
1397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_DrawSpline",_kwnames,&_argo0,&_obj2))
1398 return NULL;
1399 if (_argo0) {
1400 if (_argo0 == Py_None) { _arg0 = NULL; }
1401 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1402 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawSpline. Expected _wxPseudoMetaFile_p.");
1403 return NULL;
1404 }
1405 }
1406 if (_obj2)
1407 {
1408 _arg2 = wxPoint_LIST_helper(_obj2, &NPOINTS);
1409 if (_arg2 == NULL) {
1410 return NULL;
1411 }
1412 }
1413 {
1414 _arg1 = NPOINTS;
1415 }
1416 {
1417 PyThreadState* __tstate = wxPyBeginAllowThreads();
1418 wxPseudoMetaFile_DrawSpline(_arg0,_arg1,_arg2);
1419
1420 wxPyEndAllowThreads(__tstate);
1421 if (PyErr_Occurred()) return NULL;
1422 } Py_INCREF(Py_None);
1423 _resultobj = Py_None;
1424 {
1425 delete [] _arg2;
1426 }
1427 return _resultobj;
1428 }
1429
1430 #define wxPseudoMetaFile_SetClippingRect(_swigobj,_swigarg0) (_swigobj->SetClippingRect(_swigarg0))
1431 static PyObject *_wrap_wxPseudoMetaFile_SetClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
1432 PyObject * _resultobj;
1433 wxPseudoMetaFile * _arg0;
1434 wxRect * _arg1;
1435 PyObject * _argo0 = 0;
1436 wxRect temp;
1437 PyObject * _obj1 = 0;
1438 char *_kwnames[] = { "self","rect", NULL };
1439
1440 self = self;
1441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_SetClippingRect",_kwnames,&_argo0,&_obj1))
1442 return NULL;
1443 if (_argo0) {
1444 if (_argo0 == Py_None) { _arg0 = NULL; }
1445 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1446 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetClippingRect. Expected _wxPseudoMetaFile_p.");
1447 return NULL;
1448 }
1449 }
1450 {
1451 _arg1 = &temp;
1452 if (! wxRect_helper(_obj1, &_arg1))
1453 return NULL;
1454 }
1455 {
1456 PyThreadState* __tstate = wxPyBeginAllowThreads();
1457 wxPseudoMetaFile_SetClippingRect(_arg0,*_arg1);
1458
1459 wxPyEndAllowThreads(__tstate);
1460 if (PyErr_Occurred()) return NULL;
1461 } Py_INCREF(Py_None);
1462 _resultobj = Py_None;
1463 return _resultobj;
1464 }
1465
1466 #define wxPseudoMetaFile_DestroyClippingRect(_swigobj) (_swigobj->DestroyClippingRect())
1467 static PyObject *_wrap_wxPseudoMetaFile_DestroyClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
1468 PyObject * _resultobj;
1469 wxPseudoMetaFile * _arg0;
1470 PyObject * _argo0 = 0;
1471 char *_kwnames[] = { "self", NULL };
1472
1473 self = self;
1474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_DestroyClippingRect",_kwnames,&_argo0))
1475 return NULL;
1476 if (_argo0) {
1477 if (_argo0 == Py_None) { _arg0 = NULL; }
1478 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1479 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DestroyClippingRect. Expected _wxPseudoMetaFile_p.");
1480 return NULL;
1481 }
1482 }
1483 {
1484 PyThreadState* __tstate = wxPyBeginAllowThreads();
1485 wxPseudoMetaFile_DestroyClippingRect(_arg0);
1486
1487 wxPyEndAllowThreads(__tstate);
1488 if (PyErr_Occurred()) return NULL;
1489 } Py_INCREF(Py_None);
1490 _resultobj = Py_None;
1491 return _resultobj;
1492 }
1493
1494 #define wxPseudoMetaFile_SetPen(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPen(_swigarg0,_swigarg1))
1495 static PyObject *_wrap_wxPseudoMetaFile_SetPen(PyObject *self, PyObject *args, PyObject *kwargs) {
1496 PyObject * _resultobj;
1497 wxPseudoMetaFile * _arg0;
1498 wxPen * _arg1;
1499 bool _arg2 = (bool ) FALSE;
1500 PyObject * _argo0 = 0;
1501 PyObject * _obj1 = 0;
1502 int tempbool2 = (int) FALSE;
1503 char *_kwnames[] = { "self","pen","isOutline", NULL };
1504
1505 self = self;
1506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPseudoMetaFile_SetPen",_kwnames,&_argo0,&_obj1,&tempbool2))
1507 return NULL;
1508 if (_argo0) {
1509 if (_argo0 == Py_None) { _arg0 = NULL; }
1510 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1511 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetPen. Expected _wxPseudoMetaFile_p.");
1512 return NULL;
1513 }
1514 }
1515 {
1516 wxPen* temp;
1517 if (_obj1) {
1518 if (_obj1 == Py_None) { temp = NULL; }
1519 else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxPen_p")) {
1520 PyErr_SetString(PyExc_TypeError,"Type error, expected _wxPen_p.");
1521 return NULL;
1522 }
1523 }
1524 if (temp)
1525 _arg1 = wxThePenList->FindOrCreatePen(temp->GetColour(),
1526 temp->GetWidth(),
1527 temp->GetStyle());
1528 else
1529 _arg1 = NULL;
1530 }
1531 _arg2 = (bool ) tempbool2;
1532 {
1533 PyThreadState* __tstate = wxPyBeginAllowThreads();
1534 wxPseudoMetaFile_SetPen(_arg0,_arg1,_arg2);
1535
1536 wxPyEndAllowThreads(__tstate);
1537 if (PyErr_Occurred()) return NULL;
1538 } Py_INCREF(Py_None);
1539 _resultobj = Py_None;
1540 return _resultobj;
1541 }
1542
1543 #define wxPseudoMetaFile_SetBrush(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetBrush(_swigarg0,_swigarg1))
1544 static PyObject *_wrap_wxPseudoMetaFile_SetBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
1545 PyObject * _resultobj;
1546 wxPseudoMetaFile * _arg0;
1547 wxBrush * _arg1;
1548 bool _arg2 = (bool ) FALSE;
1549 PyObject * _argo0 = 0;
1550 PyObject * _obj1 = 0;
1551 int tempbool2 = (int) FALSE;
1552 char *_kwnames[] = { "self","brush","isFill", NULL };
1553
1554 self = self;
1555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPseudoMetaFile_SetBrush",_kwnames,&_argo0,&_obj1,&tempbool2))
1556 return NULL;
1557 if (_argo0) {
1558 if (_argo0 == Py_None) { _arg0 = NULL; }
1559 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1560 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetBrush. Expected _wxPseudoMetaFile_p.");
1561 return NULL;
1562 }
1563 }
1564 {
1565 wxBrush* temp;
1566 if (_obj1) {
1567 if (_obj1 == Py_None) { temp = NULL; }
1568 else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxBrush_p")) {
1569 PyErr_SetString(PyExc_TypeError,"Type error, expected _wxBrush_p.");
1570 return NULL;
1571 }
1572 }
1573 if (temp)
1574 _arg1 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
1575 else
1576 _arg1 = NULL;
1577 }
1578 _arg2 = (bool ) tempbool2;
1579 {
1580 PyThreadState* __tstate = wxPyBeginAllowThreads();
1581 wxPseudoMetaFile_SetBrush(_arg0,_arg1,_arg2);
1582
1583 wxPyEndAllowThreads(__tstate);
1584 if (PyErr_Occurred()) return NULL;
1585 } Py_INCREF(Py_None);
1586 _resultobj = Py_None;
1587 return _resultobj;
1588 }
1589
1590 #define wxPseudoMetaFile_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
1591 static PyObject *_wrap_wxPseudoMetaFile_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1592 PyObject * _resultobj;
1593 wxPseudoMetaFile * _arg0;
1594 wxFont * _arg1;
1595 PyObject * _argo0 = 0;
1596 PyObject * _obj1 = 0;
1597 char *_kwnames[] = { "self","font", NULL };
1598
1599 self = self;
1600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_SetFont",_kwnames,&_argo0,&_obj1))
1601 return NULL;
1602 if (_argo0) {
1603 if (_argo0 == Py_None) { _arg0 = NULL; }
1604 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1605 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetFont. Expected _wxPseudoMetaFile_p.");
1606 return NULL;
1607 }
1608 }
1609 {
1610 wxFont* temp;
1611 if (_obj1) {
1612 if (_obj1 == Py_None) { temp = NULL; }
1613 else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxFont_p")) {
1614 PyErr_SetString(PyExc_TypeError,"Type error, expected _wxFont_p.");
1615 return NULL;
1616 }
1617 }
1618 if (temp)
1619 _arg1 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
1620 temp->GetFamily(),
1621 temp->GetStyle(),
1622 temp->GetWeight(),
1623 temp->GetUnderlined(),
1624 temp->GetFaceName(),
1625 temp->GetEncoding());
1626 else
1627 _arg1 = NULL;
1628 }
1629 {
1630 PyThreadState* __tstate = wxPyBeginAllowThreads();
1631 wxPseudoMetaFile_SetFont(_arg0,_arg1);
1632
1633 wxPyEndAllowThreads(__tstate);
1634 if (PyErr_Occurred()) return NULL;
1635 } Py_INCREF(Py_None);
1636 _resultobj = Py_None;
1637 return _resultobj;
1638 }
1639
1640 #define wxPseudoMetaFile_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
1641 static PyObject *_wrap_wxPseudoMetaFile_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1642 PyObject * _resultobj;
1643 wxPseudoMetaFile * _arg0;
1644 wxColour * _arg1;
1645 PyObject * _argo0 = 0;
1646 wxColour temp;
1647 PyObject * _obj1 = 0;
1648 char *_kwnames[] = { "self","colour", NULL };
1649
1650 self = self;
1651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_SetTextColour",_kwnames,&_argo0,&_obj1))
1652 return NULL;
1653 if (_argo0) {
1654 if (_argo0 == Py_None) { _arg0 = NULL; }
1655 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1656 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetTextColour. Expected _wxPseudoMetaFile_p.");
1657 return NULL;
1658 }
1659 }
1660 {
1661 _arg1 = &temp;
1662 if (! wxColour_helper(_obj1, &_arg1))
1663 return NULL;
1664 }
1665 {
1666 PyThreadState* __tstate = wxPyBeginAllowThreads();
1667 wxPseudoMetaFile_SetTextColour(_arg0,*_arg1);
1668
1669 wxPyEndAllowThreads(__tstate);
1670 if (PyErr_Occurred()) return NULL;
1671 } Py_INCREF(Py_None);
1672 _resultobj = Py_None;
1673 return _resultobj;
1674 }
1675
1676 #define wxPseudoMetaFile_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
1677 static PyObject *_wrap_wxPseudoMetaFile_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1678 PyObject * _resultobj;
1679 wxPseudoMetaFile * _arg0;
1680 wxColour * _arg1;
1681 PyObject * _argo0 = 0;
1682 wxColour temp;
1683 PyObject * _obj1 = 0;
1684 char *_kwnames[] = { "self","colour", NULL };
1685
1686 self = self;
1687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
1688 return NULL;
1689 if (_argo0) {
1690 if (_argo0 == Py_None) { _arg0 = NULL; }
1691 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1692 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetBackgroundColour. Expected _wxPseudoMetaFile_p.");
1693 return NULL;
1694 }
1695 }
1696 {
1697 _arg1 = &temp;
1698 if (! wxColour_helper(_obj1, &_arg1))
1699 return NULL;
1700 }
1701 {
1702 PyThreadState* __tstate = wxPyBeginAllowThreads();
1703 wxPseudoMetaFile_SetBackgroundColour(_arg0,*_arg1);
1704
1705 wxPyEndAllowThreads(__tstate);
1706 if (PyErr_Occurred()) return NULL;
1707 } Py_INCREF(Py_None);
1708 _resultobj = Py_None;
1709 return _resultobj;
1710 }
1711
1712 #define wxPseudoMetaFile_SetBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetBackgroundMode(_swigarg0))
1713 static PyObject *_wrap_wxPseudoMetaFile_SetBackgroundMode(PyObject *self, PyObject *args, PyObject *kwargs) {
1714 PyObject * _resultobj;
1715 wxPseudoMetaFile * _arg0;
1716 int _arg1;
1717 PyObject * _argo0 = 0;
1718 char *_kwnames[] = { "self","mode", NULL };
1719
1720 self = self;
1721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPseudoMetaFile_SetBackgroundMode",_kwnames,&_argo0,&_arg1))
1722 return NULL;
1723 if (_argo0) {
1724 if (_argo0 == Py_None) { _arg0 = NULL; }
1725 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1726 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetBackgroundMode. Expected _wxPseudoMetaFile_p.");
1727 return NULL;
1728 }
1729 }
1730 {
1731 PyThreadState* __tstate = wxPyBeginAllowThreads();
1732 wxPseudoMetaFile_SetBackgroundMode(_arg0,_arg1);
1733
1734 wxPyEndAllowThreads(__tstate);
1735 if (PyErr_Occurred()) return NULL;
1736 } Py_INCREF(Py_None);
1737 _resultobj = Py_None;
1738 return _resultobj;
1739 }
1740
1741 static void *SwigwxPyRectangleShapeTowxPyShape(void *ptr) {
1742 wxPyRectangleShape *src;
1743 wxPyShape *dest;
1744 src = (wxPyRectangleShape *) ptr;
1745 dest = (wxPyShape *) src;
1746 return (void *) dest;
1747 }
1748
1749 static void *SwigwxPyRectangleShapeTowxPyShapeEvtHandler(void *ptr) {
1750 wxPyRectangleShape *src;
1751 wxPyShapeEvtHandler *dest;
1752 src = (wxPyRectangleShape *) ptr;
1753 dest = (wxPyShapeEvtHandler *) src;
1754 return (void *) dest;
1755 }
1756
1757 static void *SwigwxPyRectangleShapeTowxObject(void *ptr) {
1758 wxPyRectangleShape *src;
1759 wxObject *dest;
1760 src = (wxPyRectangleShape *) ptr;
1761 dest = (wxObject *) src;
1762 return (void *) dest;
1763 }
1764
1765 #define new_wxPyRectangleShape(_swigarg0,_swigarg1) (new wxPyRectangleShape(_swigarg0,_swigarg1))
1766 static PyObject *_wrap_new_wxPyRectangleShape(PyObject *self, PyObject *args, PyObject *kwargs) {
1767 PyObject * _resultobj;
1768 wxPyRectangleShape * _result;
1769 double _arg0 = (double ) 0.0;
1770 double _arg1 = (double ) 0.0;
1771 char *_kwnames[] = { "width","height", NULL };
1772 char _ptemp[128];
1773
1774 self = self;
1775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|dd:new_wxPyRectangleShape",_kwnames,&_arg0,&_arg1))
1776 return NULL;
1777 {
1778 PyThreadState* __tstate = wxPyBeginAllowThreads();
1779 _result = (wxPyRectangleShape *)new_wxPyRectangleShape(_arg0,_arg1);
1780
1781 wxPyEndAllowThreads(__tstate);
1782 if (PyErr_Occurred()) return NULL;
1783 } if (_result) {
1784 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyRectangleShape_p");
1785 _resultobj = Py_BuildValue("s",_ptemp);
1786 } else {
1787 Py_INCREF(Py_None);
1788 _resultobj = Py_None;
1789 }
1790 return _resultobj;
1791 }
1792
1793 #define wxPyRectangleShape__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
1794 static PyObject *_wrap_wxPyRectangleShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
1795 PyObject * _resultobj;
1796 wxPyRectangleShape * _arg0;
1797 PyObject * _arg1;
1798 PyObject * _arg2;
1799 PyObject * _argo0 = 0;
1800 PyObject * _obj1 = 0;
1801 PyObject * _obj2 = 0;
1802 char *_kwnames[] = { "self","self","_class", NULL };
1803
1804 self = self;
1805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyRectangleShape__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
1806 return NULL;
1807 if (_argo0) {
1808 if (_argo0 == Py_None) { _arg0 = NULL; }
1809 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
1810 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape__setCallbackInfo. Expected _wxPyRectangleShape_p.");
1811 return NULL;
1812 }
1813 }
1814 {
1815 _arg1 = _obj1;
1816 }
1817 {
1818 _arg2 = _obj2;
1819 }
1820 {
1821 PyThreadState* __tstate = wxPyBeginAllowThreads();
1822 wxPyRectangleShape__setCallbackInfo(_arg0,_arg1,_arg2);
1823
1824 wxPyEndAllowThreads(__tstate);
1825 if (PyErr_Occurred()) return NULL;
1826 } Py_INCREF(Py_None);
1827 _resultobj = Py_None;
1828 return _resultobj;
1829 }
1830
1831 #define wxPyRectangleShape_SetCornerRadius(_swigobj,_swigarg0) (_swigobj->SetCornerRadius(_swigarg0))
1832 static PyObject *_wrap_wxPyRectangleShape_SetCornerRadius(PyObject *self, PyObject *args, PyObject *kwargs) {
1833 PyObject * _resultobj;
1834 wxPyRectangleShape * _arg0;
1835 double _arg1;
1836 PyObject * _argo0 = 0;
1837 char *_kwnames[] = { "self","radius", NULL };
1838
1839 self = self;
1840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Od:wxPyRectangleShape_SetCornerRadius",_kwnames,&_argo0,&_arg1))
1841 return NULL;
1842 if (_argo0) {
1843 if (_argo0 == Py_None) { _arg0 = NULL; }
1844 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
1845 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_SetCornerRadius. Expected _wxPyRectangleShape_p.");
1846 return NULL;
1847 }
1848 }
1849 {
1850 PyThreadState* __tstate = wxPyBeginAllowThreads();
1851 wxPyRectangleShape_SetCornerRadius(_arg0,_arg1);
1852
1853 wxPyEndAllowThreads(__tstate);
1854 if (PyErr_Occurred()) return NULL;
1855 } Py_INCREF(Py_None);
1856 _resultobj = Py_None;
1857 return _resultobj;
1858 }
1859
1860 #define wxPyRectangleShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
1861 static PyObject *_wrap_wxPyRectangleShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
1862 PyObject * _resultobj;
1863 wxPyRectangleShape * _arg0;
1864 PyObject * _argo0 = 0;
1865 char *_kwnames[] = { "self", NULL };
1866
1867 self = self;
1868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyRectangleShape_base_OnDelete",_kwnames,&_argo0))
1869 return NULL;
1870 if (_argo0) {
1871 if (_argo0 == Py_None) { _arg0 = NULL; }
1872 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
1873 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDelete. Expected _wxPyRectangleShape_p.");
1874 return NULL;
1875 }
1876 }
1877 {
1878 PyThreadState* __tstate = wxPyBeginAllowThreads();
1879 wxPyRectangleShape_base_OnDelete(_arg0);
1880
1881 wxPyEndAllowThreads(__tstate);
1882 if (PyErr_Occurred()) return NULL;
1883 } Py_INCREF(Py_None);
1884 _resultobj = Py_None;
1885 return _resultobj;
1886 }
1887
1888 #define wxPyRectangleShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
1889 static PyObject *_wrap_wxPyRectangleShape_base_OnDraw(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_OnDraw",_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_OnDraw. 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_OnDraw. Expected _wxDC_p.");
1911 return NULL;
1912 }
1913 }
1914 {
1915 PyThreadState* __tstate = wxPyBeginAllowThreads();
1916 wxPyRectangleShape_base_OnDraw(_arg0,*_arg1);
1917
1918 wxPyEndAllowThreads(__tstate);
1919 if (PyErr_Occurred()) return NULL;
1920 } Py_INCREF(Py_None);
1921 _resultobj = Py_None;
1922 return _resultobj;
1923 }
1924
1925 #define wxPyRectangleShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
1926 static PyObject *_wrap_wxPyRectangleShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
1927 PyObject * _resultobj;
1928 wxPyRectangleShape * _arg0;
1929 wxDC * _arg1;
1930 PyObject * _argo0 = 0;
1931 PyObject * _argo1 = 0;
1932 char *_kwnames[] = { "self","dc", NULL };
1933
1934 self = self;
1935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1))
1936 return NULL;
1937 if (_argo0) {
1938 if (_argo0 == Py_None) { _arg0 = NULL; }
1939 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
1940 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDrawContents. Expected _wxPyRectangleShape_p.");
1941 return NULL;
1942 }
1943 }
1944 if (_argo1) {
1945 if (_argo1 == Py_None) { _arg1 = NULL; }
1946 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
1947 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnDrawContents. Expected _wxDC_p.");
1948 return NULL;
1949 }
1950 }
1951 {
1952 PyThreadState* __tstate = wxPyBeginAllowThreads();
1953 wxPyRectangleShape_base_OnDrawContents(_arg0,*_arg1);
1954
1955 wxPyEndAllowThreads(__tstate);
1956 if (PyErr_Occurred()) return NULL;
1957 } Py_INCREF(Py_None);
1958 _resultobj = Py_None;
1959 return _resultobj;
1960 }
1961
1962 #define wxPyRectangleShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
1963 static PyObject *_wrap_wxPyRectangleShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
1964 PyObject * _resultobj;
1965 wxPyRectangleShape * _arg0;
1966 wxDC * _arg1;
1967 bool _arg2 = (bool ) FALSE;
1968 PyObject * _argo0 = 0;
1969 PyObject * _argo1 = 0;
1970 int tempbool2 = (int) FALSE;
1971 char *_kwnames[] = { "self","dc","erase", NULL };
1972
1973 self = self;
1974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyRectangleShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2))
1975 return NULL;
1976 if (_argo0) {
1977 if (_argo0 == Py_None) { _arg0 = NULL; }
1978 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
1979 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDrawBranches. Expected _wxPyRectangleShape_p.");
1980 return NULL;
1981 }
1982 }
1983 if (_argo1) {
1984 if (_argo1 == Py_None) { _arg1 = NULL; }
1985 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
1986 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnDrawBranches. Expected _wxDC_p.");
1987 return NULL;
1988 }
1989 }
1990 _arg2 = (bool ) tempbool2;
1991 {
1992 PyThreadState* __tstate = wxPyBeginAllowThreads();
1993 wxPyRectangleShape_base_OnDrawBranches(_arg0,*_arg1,_arg2);
1994
1995 wxPyEndAllowThreads(__tstate);
1996 if (PyErr_Occurred()) return NULL;
1997 } Py_INCREF(Py_None);
1998 _resultobj = Py_None;
1999 return _resultobj;
2000 }
2001
2002 #define wxPyRectangleShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
2003 static PyObject *_wrap_wxPyRectangleShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
2004 PyObject * _resultobj;
2005 wxPyRectangleShape * _arg0;
2006 wxDC * _arg1;
2007 PyObject * _argo0 = 0;
2008 PyObject * _argo1 = 0;
2009 char *_kwnames[] = { "self","dc", NULL };
2010
2011 self = self;
2012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1))
2013 return NULL;
2014 if (_argo0) {
2015 if (_argo0 == Py_None) { _arg0 = NULL; }
2016 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2017 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnMoveLinks. Expected _wxPyRectangleShape_p.");
2018 return NULL;
2019 }
2020 }
2021 if (_argo1) {
2022 if (_argo1 == Py_None) { _arg1 = NULL; }
2023 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2024 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnMoveLinks. Expected _wxDC_p.");
2025 return NULL;
2026 }
2027 }
2028 {
2029 PyThreadState* __tstate = wxPyBeginAllowThreads();
2030 wxPyRectangleShape_base_OnMoveLinks(_arg0,*_arg1);
2031
2032 wxPyEndAllowThreads(__tstate);
2033 if (PyErr_Occurred()) return NULL;
2034 } Py_INCREF(Py_None);
2035 _resultobj = Py_None;
2036 return _resultobj;
2037 }
2038
2039 #define wxPyRectangleShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
2040 static PyObject *_wrap_wxPyRectangleShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
2041 PyObject * _resultobj;
2042 wxPyRectangleShape * _arg0;
2043 wxDC * _arg1;
2044 PyObject * _argo0 = 0;
2045 PyObject * _argo1 = 0;
2046 char *_kwnames[] = { "self","dc", NULL };
2047
2048 self = self;
2049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnErase",_kwnames,&_argo0,&_argo1))
2050 return NULL;
2051 if (_argo0) {
2052 if (_argo0 == Py_None) { _arg0 = NULL; }
2053 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2054 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnErase. Expected _wxPyRectangleShape_p.");
2055 return NULL;
2056 }
2057 }
2058 if (_argo1) {
2059 if (_argo1 == Py_None) { _arg1 = NULL; }
2060 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2061 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnErase. Expected _wxDC_p.");
2062 return NULL;
2063 }
2064 }
2065 {
2066 PyThreadState* __tstate = wxPyBeginAllowThreads();
2067 wxPyRectangleShape_base_OnErase(_arg0,*_arg1);
2068
2069 wxPyEndAllowThreads(__tstate);
2070 if (PyErr_Occurred()) return NULL;
2071 } Py_INCREF(Py_None);
2072 _resultobj = Py_None;
2073 return _resultobj;
2074 }
2075
2076 #define wxPyRectangleShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
2077 static PyObject *_wrap_wxPyRectangleShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
2078 PyObject * _resultobj;
2079 wxPyRectangleShape * _arg0;
2080 wxDC * _arg1;
2081 PyObject * _argo0 = 0;
2082 PyObject * _argo1 = 0;
2083 char *_kwnames[] = { "self","dc", NULL };
2084
2085 self = self;
2086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1))
2087 return NULL;
2088 if (_argo0) {
2089 if (_argo0 == Py_None) { _arg0 = NULL; }
2090 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2091 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnEraseContents. Expected _wxPyRectangleShape_p.");
2092 return NULL;
2093 }
2094 }
2095 if (_argo1) {
2096 if (_argo1 == Py_None) { _arg1 = NULL; }
2097 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2098 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnEraseContents. Expected _wxDC_p.");
2099 return NULL;
2100 }
2101 }
2102 {
2103 PyThreadState* __tstate = wxPyBeginAllowThreads();
2104 wxPyRectangleShape_base_OnEraseContents(_arg0,*_arg1);
2105
2106 wxPyEndAllowThreads(__tstate);
2107 if (PyErr_Occurred()) return NULL;
2108 } Py_INCREF(Py_None);
2109 _resultobj = Py_None;
2110 return _resultobj;
2111 }
2112
2113 #define wxPyRectangleShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
2114 static PyObject *_wrap_wxPyRectangleShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
2115 PyObject * _resultobj;
2116 wxPyRectangleShape * _arg0;
2117 wxDC * _arg1;
2118 PyObject * _argo0 = 0;
2119 PyObject * _argo1 = 0;
2120 char *_kwnames[] = { "self","dc", NULL };
2121
2122 self = self;
2123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnHighlight",_kwnames,&_argo0,&_argo1))
2124 return NULL;
2125 if (_argo0) {
2126 if (_argo0 == Py_None) { _arg0 = NULL; }
2127 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2128 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnHighlight. Expected _wxPyRectangleShape_p.");
2129 return NULL;
2130 }
2131 }
2132 if (_argo1) {
2133 if (_argo1 == Py_None) { _arg1 = NULL; }
2134 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2135 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnHighlight. Expected _wxDC_p.");
2136 return NULL;
2137 }
2138 }
2139 {
2140 PyThreadState* __tstate = wxPyBeginAllowThreads();
2141 wxPyRectangleShape_base_OnHighlight(_arg0,*_arg1);
2142
2143 wxPyEndAllowThreads(__tstate);
2144 if (PyErr_Occurred()) return NULL;
2145 } Py_INCREF(Py_None);
2146 _resultobj = Py_None;
2147 return _resultobj;
2148 }
2149
2150 #define wxPyRectangleShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2151 static PyObject *_wrap_wxPyRectangleShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2152 PyObject * _resultobj;
2153 wxPyRectangleShape * _arg0;
2154 double _arg1;
2155 double _arg2;
2156 int _arg3 = (int ) 0;
2157 int _arg4 = (int ) 0;
2158 PyObject * _argo0 = 0;
2159 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
2160
2161 self = self;
2162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
2163 return NULL;
2164 if (_argo0) {
2165 if (_argo0 == Py_None) { _arg0 = NULL; }
2166 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2167 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnLeftClick. Expected _wxPyRectangleShape_p.");
2168 return NULL;
2169 }
2170 }
2171 {
2172 PyThreadState* __tstate = wxPyBeginAllowThreads();
2173 wxPyRectangleShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4);
2174
2175 wxPyEndAllowThreads(__tstate);
2176 if (PyErr_Occurred()) return NULL;
2177 } Py_INCREF(Py_None);
2178 _resultobj = Py_None;
2179 return _resultobj;
2180 }
2181
2182 #define wxPyRectangleShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2183 static PyObject *_wrap_wxPyRectangleShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2184 PyObject * _resultobj;
2185 wxPyRectangleShape * _arg0;
2186 double _arg1;
2187 double _arg2;
2188 int _arg3 = (int ) 0;
2189 int _arg4 = (int ) 0;
2190 PyObject * _argo0 = 0;
2191 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
2192
2193 self = self;
2194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
2195 return NULL;
2196 if (_argo0) {
2197 if (_argo0 == Py_None) { _arg0 = NULL; }
2198 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2199 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnLeftDoubleClick. Expected _wxPyRectangleShape_p.");
2200 return NULL;
2201 }
2202 }
2203 {
2204 PyThreadState* __tstate = wxPyBeginAllowThreads();
2205 wxPyRectangleShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4);
2206
2207 wxPyEndAllowThreads(__tstate);
2208 if (PyErr_Occurred()) return NULL;
2209 } Py_INCREF(Py_None);
2210 _resultobj = Py_None;
2211 return _resultobj;
2212 }
2213
2214 #define wxPyRectangleShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2215 static PyObject *_wrap_wxPyRectangleShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2216 PyObject * _resultobj;
2217 wxPyRectangleShape * _arg0;
2218 double _arg1;
2219 double _arg2;
2220 int _arg3 = (int ) 0;
2221 int _arg4 = (int ) 0;
2222 PyObject * _argo0 = 0;
2223 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
2224
2225 self = self;
2226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
2227 return NULL;
2228 if (_argo0) {
2229 if (_argo0 == Py_None) { _arg0 = NULL; }
2230 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2231 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnRightClick. Expected _wxPyRectangleShape_p.");
2232 return NULL;
2233 }
2234 }
2235 {
2236 PyThreadState* __tstate = wxPyBeginAllowThreads();
2237 wxPyRectangleShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4);
2238
2239 wxPyEndAllowThreads(__tstate);
2240 if (PyErr_Occurred()) return NULL;
2241 } Py_INCREF(Py_None);
2242 _resultobj = Py_None;
2243 return _resultobj;
2244 }
2245
2246 #define wxPyRectangleShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
2247 static PyObject *_wrap_wxPyRectangleShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2248 PyObject * _resultobj;
2249 wxPyRectangleShape * _arg0;
2250 double _arg1;
2251 double _arg2;
2252 PyObject * _argo0 = 0;
2253 char *_kwnames[] = { "self","x","y", NULL };
2254
2255 self = self;
2256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyRectangleShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2))
2257 return NULL;
2258 if (_argo0) {
2259 if (_argo0 == Py_None) { _arg0 = NULL; }
2260 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2261 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnSize. Expected _wxPyRectangleShape_p.");
2262 return NULL;
2263 }
2264 }
2265 {
2266 PyThreadState* __tstate = wxPyBeginAllowThreads();
2267 wxPyRectangleShape_base_OnSize(_arg0,_arg1,_arg2);
2268
2269 wxPyEndAllowThreads(__tstate);
2270 if (PyErr_Occurred()) return NULL;
2271 } Py_INCREF(Py_None);
2272 _resultobj = Py_None;
2273 return _resultobj;
2274 }
2275
2276 #define wxPyRectangleShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2277 static PyObject *_wrap_wxPyRectangleShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
2278 PyObject * _resultobj;
2279 bool _result;
2280 wxPyRectangleShape * _arg0;
2281 wxDC * _arg1;
2282 double _arg2;
2283 double _arg3;
2284 double _arg4;
2285 double _arg5;
2286 bool _arg6 = (bool ) TRUE;
2287 PyObject * _argo0 = 0;
2288 PyObject * _argo1 = 0;
2289 int tempbool6 = (int) TRUE;
2290 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
2291
2292 self = self;
2293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyRectangleShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
2294 return NULL;
2295 if (_argo0) {
2296 if (_argo0 == Py_None) { _arg0 = NULL; }
2297 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2298 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnMovePre. Expected _wxPyRectangleShape_p.");
2299 return NULL;
2300 }
2301 }
2302 if (_argo1) {
2303 if (_argo1 == Py_None) { _arg1 = NULL; }
2304 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2305 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnMovePre. Expected _wxDC_p.");
2306 return NULL;
2307 }
2308 }
2309 _arg6 = (bool ) tempbool6;
2310 {
2311 PyThreadState* __tstate = wxPyBeginAllowThreads();
2312 _result = (bool )wxPyRectangleShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
2313
2314 wxPyEndAllowThreads(__tstate);
2315 if (PyErr_Occurred()) return NULL;
2316 } _resultobj = Py_BuildValue("i",_result);
2317 return _resultobj;
2318 }
2319
2320 #define wxPyRectangleShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2321 static PyObject *_wrap_wxPyRectangleShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
2322 PyObject * _resultobj;
2323 wxPyRectangleShape * _arg0;
2324 wxDC * _arg1;
2325 double _arg2;
2326 double _arg3;
2327 double _arg4;
2328 double _arg5;
2329 bool _arg6 = (bool ) TRUE;
2330 PyObject * _argo0 = 0;
2331 PyObject * _argo1 = 0;
2332 int tempbool6 = (int) TRUE;
2333 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
2334
2335 self = self;
2336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyRectangleShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
2337 return NULL;
2338 if (_argo0) {
2339 if (_argo0 == Py_None) { _arg0 = NULL; }
2340 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2341 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnMovePost. Expected _wxPyRectangleShape_p.");
2342 return NULL;
2343 }
2344 }
2345 if (_argo1) {
2346 if (_argo1 == Py_None) { _arg1 = NULL; }
2347 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2348 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnMovePost. Expected _wxDC_p.");
2349 return NULL;
2350 }
2351 }
2352 _arg6 = (bool ) tempbool6;
2353 {
2354 PyThreadState* __tstate = wxPyBeginAllowThreads();
2355 wxPyRectangleShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
2356
2357 wxPyEndAllowThreads(__tstate);
2358 if (PyErr_Occurred()) return NULL;
2359 } Py_INCREF(Py_None);
2360 _resultobj = Py_None;
2361 return _resultobj;
2362 }
2363
2364 #define wxPyRectangleShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2365 static PyObject *_wrap_wxPyRectangleShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2366 PyObject * _resultobj;
2367 wxPyRectangleShape * _arg0;
2368 bool _arg1;
2369 double _arg2;
2370 double _arg3;
2371 int _arg4 = (int ) 0;
2372 int _arg5 = (int ) 0;
2373 PyObject * _argo0 = 0;
2374 int tempbool1;
2375 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
2376
2377 self = self;
2378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyRectangleShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
2379 return NULL;
2380 if (_argo0) {
2381 if (_argo0 == Py_None) { _arg0 = NULL; }
2382 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2383 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDragLeft. Expected _wxPyRectangleShape_p.");
2384 return NULL;
2385 }
2386 }
2387 _arg1 = (bool ) tempbool1;
2388 {
2389 PyThreadState* __tstate = wxPyBeginAllowThreads();
2390 wxPyRectangleShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
2391
2392 wxPyEndAllowThreads(__tstate);
2393 if (PyErr_Occurred()) return NULL;
2394 } Py_INCREF(Py_None);
2395 _resultobj = Py_None;
2396 return _resultobj;
2397 }
2398
2399 #define wxPyRectangleShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2400 static PyObject *_wrap_wxPyRectangleShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2401 PyObject * _resultobj;
2402 wxPyRectangleShape * _arg0;
2403 double _arg1;
2404 double _arg2;
2405 int _arg3 = (int ) 0;
2406 int _arg4 = (int ) 0;
2407 PyObject * _argo0 = 0;
2408 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
2409
2410 self = self;
2411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
2412 return NULL;
2413 if (_argo0) {
2414 if (_argo0 == Py_None) { _arg0 = NULL; }
2415 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2416 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnBeginDragLeft. Expected _wxPyRectangleShape_p.");
2417 return NULL;
2418 }
2419 }
2420 {
2421 PyThreadState* __tstate = wxPyBeginAllowThreads();
2422 wxPyRectangleShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
2423
2424 wxPyEndAllowThreads(__tstate);
2425 if (PyErr_Occurred()) return NULL;
2426 } Py_INCREF(Py_None);
2427 _resultobj = Py_None;
2428 return _resultobj;
2429 }
2430
2431 #define wxPyRectangleShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2432 static PyObject *_wrap_wxPyRectangleShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2433 PyObject * _resultobj;
2434 wxPyRectangleShape * _arg0;
2435 double _arg1;
2436 double _arg2;
2437 int _arg3 = (int ) 0;
2438 int _arg4 = (int ) 0;
2439 PyObject * _argo0 = 0;
2440 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
2441
2442 self = self;
2443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
2444 return NULL;
2445 if (_argo0) {
2446 if (_argo0 == Py_None) { _arg0 = NULL; }
2447 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2448 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnEndDragLeft. Expected _wxPyRectangleShape_p.");
2449 return NULL;
2450 }
2451 }
2452 {
2453 PyThreadState* __tstate = wxPyBeginAllowThreads();
2454 wxPyRectangleShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
2455
2456 wxPyEndAllowThreads(__tstate);
2457 if (PyErr_Occurred()) return NULL;
2458 } Py_INCREF(Py_None);
2459 _resultobj = Py_None;
2460 return _resultobj;
2461 }
2462
2463 #define wxPyRectangleShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2464 static PyObject *_wrap_wxPyRectangleShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2465 PyObject * _resultobj;
2466 wxPyRectangleShape * _arg0;
2467 bool _arg1;
2468 double _arg2;
2469 double _arg3;
2470 int _arg4 = (int ) 0;
2471 int _arg5 = (int ) 0;
2472 PyObject * _argo0 = 0;
2473 int tempbool1;
2474 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
2475
2476 self = self;
2477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyRectangleShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
2478 return NULL;
2479 if (_argo0) {
2480 if (_argo0 == Py_None) { _arg0 = NULL; }
2481 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2482 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDragRight. Expected _wxPyRectangleShape_p.");
2483 return NULL;
2484 }
2485 }
2486 _arg1 = (bool ) tempbool1;
2487 {
2488 PyThreadState* __tstate = wxPyBeginAllowThreads();
2489 wxPyRectangleShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
2490
2491 wxPyEndAllowThreads(__tstate);
2492 if (PyErr_Occurred()) return NULL;
2493 } Py_INCREF(Py_None);
2494 _resultobj = Py_None;
2495 return _resultobj;
2496 }
2497
2498 #define wxPyRectangleShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2499 static PyObject *_wrap_wxPyRectangleShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2500 PyObject * _resultobj;
2501 wxPyRectangleShape * _arg0;
2502 double _arg1;
2503 double _arg2;
2504 int _arg3 = (int ) 0;
2505 int _arg4 = (int ) 0;
2506 PyObject * _argo0 = 0;
2507 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
2508
2509 self = self;
2510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
2511 return NULL;
2512 if (_argo0) {
2513 if (_argo0 == Py_None) { _arg0 = NULL; }
2514 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2515 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnBeginDragRight. Expected _wxPyRectangleShape_p.");
2516 return NULL;
2517 }
2518 }
2519 {
2520 PyThreadState* __tstate = wxPyBeginAllowThreads();
2521 wxPyRectangleShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
2522
2523 wxPyEndAllowThreads(__tstate);
2524 if (PyErr_Occurred()) return NULL;
2525 } Py_INCREF(Py_None);
2526 _resultobj = Py_None;
2527 return _resultobj;
2528 }
2529
2530 #define wxPyRectangleShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2531 static PyObject *_wrap_wxPyRectangleShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2532 PyObject * _resultobj;
2533 wxPyRectangleShape * _arg0;
2534 double _arg1;
2535 double _arg2;
2536 int _arg3 = (int ) 0;
2537 int _arg4 = (int ) 0;
2538 PyObject * _argo0 = 0;
2539 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
2540
2541 self = self;
2542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
2543 return NULL;
2544 if (_argo0) {
2545 if (_argo0 == Py_None) { _arg0 = NULL; }
2546 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2547 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnEndDragRight. Expected _wxPyRectangleShape_p.");
2548 return NULL;
2549 }
2550 }
2551 {
2552 PyThreadState* __tstate = wxPyBeginAllowThreads();
2553 wxPyRectangleShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
2554
2555 wxPyEndAllowThreads(__tstate);
2556 if (PyErr_Occurred()) return NULL;
2557 } Py_INCREF(Py_None);
2558 _resultobj = Py_None;
2559 return _resultobj;
2560 }
2561
2562 #define wxPyRectangleShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2563 static PyObject *_wrap_wxPyRectangleShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
2564 PyObject * _resultobj;
2565 wxPyRectangleShape * _arg0;
2566 wxDC * _arg1;
2567 double _arg2;
2568 double _arg3;
2569 double _arg4;
2570 double _arg5;
2571 PyObject * _argo0 = 0;
2572 PyObject * _argo1 = 0;
2573 char *_kwnames[] = { "self","dc","x","y","w","h", NULL };
2574
2575 self = self;
2576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyRectangleShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
2577 return NULL;
2578 if (_argo0) {
2579 if (_argo0 == Py_None) { _arg0 = NULL; }
2580 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2581 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDrawOutline. Expected _wxPyRectangleShape_p.");
2582 return NULL;
2583 }
2584 }
2585 if (_argo1) {
2586 if (_argo1 == Py_None) { _arg1 = NULL; }
2587 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2588 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnDrawOutline. Expected _wxDC_p.");
2589 return NULL;
2590 }
2591 }
2592 {
2593 PyThreadState* __tstate = wxPyBeginAllowThreads();
2594 wxPyRectangleShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5);
2595
2596 wxPyEndAllowThreads(__tstate);
2597 if (PyErr_Occurred()) return NULL;
2598 } Py_INCREF(Py_None);
2599 _resultobj = Py_None;
2600 return _resultobj;
2601 }
2602
2603 #define wxPyRectangleShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
2604 static PyObject *_wrap_wxPyRectangleShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
2605 PyObject * _resultobj;
2606 wxPyRectangleShape * _arg0;
2607 wxDC * _arg1;
2608 PyObject * _argo0 = 0;
2609 PyObject * _argo1 = 0;
2610 char *_kwnames[] = { "self","dc", NULL };
2611
2612 self = self;
2613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1))
2614 return NULL;
2615 if (_argo0) {
2616 if (_argo0 == Py_None) { _arg0 = NULL; }
2617 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2618 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDrawControlPoints. Expected _wxPyRectangleShape_p.");
2619 return NULL;
2620 }
2621 }
2622 if (_argo1) {
2623 if (_argo1 == Py_None) { _arg1 = NULL; }
2624 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2625 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnDrawControlPoints. Expected _wxDC_p.");
2626 return NULL;
2627 }
2628 }
2629 {
2630 PyThreadState* __tstate = wxPyBeginAllowThreads();
2631 wxPyRectangleShape_base_OnDrawControlPoints(_arg0,*_arg1);
2632
2633 wxPyEndAllowThreads(__tstate);
2634 if (PyErr_Occurred()) return NULL;
2635 } Py_INCREF(Py_None);
2636 _resultobj = Py_None;
2637 return _resultobj;
2638 }
2639
2640 #define wxPyRectangleShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
2641 static PyObject *_wrap_wxPyRectangleShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
2642 PyObject * _resultobj;
2643 wxPyRectangleShape * _arg0;
2644 wxDC * _arg1;
2645 PyObject * _argo0 = 0;
2646 PyObject * _argo1 = 0;
2647 char *_kwnames[] = { "self","dc", NULL };
2648
2649 self = self;
2650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1))
2651 return NULL;
2652 if (_argo0) {
2653 if (_argo0 == Py_None) { _arg0 = NULL; }
2654 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2655 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnEraseControlPoints. Expected _wxPyRectangleShape_p.");
2656 return NULL;
2657 }
2658 }
2659 if (_argo1) {
2660 if (_argo1 == Py_None) { _arg1 = NULL; }
2661 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2662 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnEraseControlPoints. Expected _wxDC_p.");
2663 return NULL;
2664 }
2665 }
2666 {
2667 PyThreadState* __tstate = wxPyBeginAllowThreads();
2668 wxPyRectangleShape_base_OnEraseControlPoints(_arg0,*_arg1);
2669
2670 wxPyEndAllowThreads(__tstate);
2671 if (PyErr_Occurred()) return NULL;
2672 } Py_INCREF(Py_None);
2673 _resultobj = Py_None;
2674 return _resultobj;
2675 }
2676
2677 #define wxPyRectangleShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
2678 static PyObject *_wrap_wxPyRectangleShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
2679 PyObject * _resultobj;
2680 wxPyRectangleShape * _arg0;
2681 wxDC * _arg1;
2682 bool _arg2 = (bool ) TRUE;
2683 PyObject * _argo0 = 0;
2684 PyObject * _argo1 = 0;
2685 int tempbool2 = (int) TRUE;
2686 char *_kwnames[] = { "self","dc","moveControlPoints", NULL };
2687
2688 self = self;
2689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyRectangleShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2))
2690 return NULL;
2691 if (_argo0) {
2692 if (_argo0 == Py_None) { _arg0 = NULL; }
2693 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2694 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnMoveLink. Expected _wxPyRectangleShape_p.");
2695 return NULL;
2696 }
2697 }
2698 if (_argo1) {
2699 if (_argo1 == Py_None) { _arg1 = NULL; }
2700 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2701 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnMoveLink. Expected _wxDC_p.");
2702 return NULL;
2703 }
2704 }
2705 _arg2 = (bool ) tempbool2;
2706 {
2707 PyThreadState* __tstate = wxPyBeginAllowThreads();
2708 wxPyRectangleShape_base_OnMoveLink(_arg0,*_arg1,_arg2);
2709
2710 wxPyEndAllowThreads(__tstate);
2711 if (PyErr_Occurred()) return NULL;
2712 } Py_INCREF(Py_None);
2713 _resultobj = Py_None;
2714 return _resultobj;
2715 }
2716
2717 #define wxPyRectangleShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2718 static PyObject *_wrap_wxPyRectangleShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2719 PyObject * _resultobj;
2720 wxPyRectangleShape * _arg0;
2721 wxPyControlPoint * _arg1;
2722 bool _arg2;
2723 double _arg3;
2724 double _arg4;
2725 int _arg5 = (int ) 0;
2726 int _arg6 = (int ) 0;
2727 PyObject * _argo0 = 0;
2728 PyObject * _argo1 = 0;
2729 int tempbool2;
2730 char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL };
2731
2732 self = self;
2733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyRectangleShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6))
2734 return NULL;
2735 if (_argo0) {
2736 if (_argo0 == Py_None) { _arg0 = NULL; }
2737 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2738 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnSizingDragLeft. Expected _wxPyRectangleShape_p.");
2739 return NULL;
2740 }
2741 }
2742 if (_argo1) {
2743 if (_argo1 == Py_None) { _arg1 = NULL; }
2744 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
2745 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
2746 return NULL;
2747 }
2748 }
2749 _arg2 = (bool ) tempbool2;
2750 {
2751 PyThreadState* __tstate = wxPyBeginAllowThreads();
2752 wxPyRectangleShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
2753
2754 wxPyEndAllowThreads(__tstate);
2755 if (PyErr_Occurred()) return NULL;
2756 } Py_INCREF(Py_None);
2757 _resultobj = Py_None;
2758 return _resultobj;
2759 }
2760
2761 #define wxPyRectangleShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2762 static PyObject *_wrap_wxPyRectangleShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2763 PyObject * _resultobj;
2764 wxPyRectangleShape * _arg0;
2765 wxPyControlPoint * _arg1;
2766 double _arg2;
2767 double _arg3;
2768 int _arg4 = (int ) 0;
2769 int _arg5 = (int ) 0;
2770 PyObject * _argo0 = 0;
2771 PyObject * _argo1 = 0;
2772 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
2773
2774 self = self;
2775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyRectangleShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
2776 return NULL;
2777 if (_argo0) {
2778 if (_argo0 == Py_None) { _arg0 = NULL; }
2779 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2780 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnSizingBeginDragLeft. Expected _wxPyRectangleShape_p.");
2781 return NULL;
2782 }
2783 }
2784 if (_argo1) {
2785 if (_argo1 == Py_None) { _arg1 = NULL; }
2786 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
2787 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
2788 return NULL;
2789 }
2790 }
2791 {
2792 PyThreadState* __tstate = wxPyBeginAllowThreads();
2793 wxPyRectangleShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
2794
2795 wxPyEndAllowThreads(__tstate);
2796 if (PyErr_Occurred()) return NULL;
2797 } Py_INCREF(Py_None);
2798 _resultobj = Py_None;
2799 return _resultobj;
2800 }
2801
2802 #define wxPyRectangleShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2803 static PyObject *_wrap_wxPyRectangleShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2804 PyObject * _resultobj;
2805 wxPyRectangleShape * _arg0;
2806 wxPyControlPoint * _arg1;
2807 double _arg2;
2808 double _arg3;
2809 int _arg4 = (int ) 0;
2810 int _arg5 = (int ) 0;
2811 PyObject * _argo0 = 0;
2812 PyObject * _argo1 = 0;
2813 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
2814
2815 self = self;
2816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyRectangleShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
2817 return NULL;
2818 if (_argo0) {
2819 if (_argo0 == Py_None) { _arg0 = NULL; }
2820 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2821 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnSizingEndDragLeft. Expected _wxPyRectangleShape_p.");
2822 return NULL;
2823 }
2824 }
2825 if (_argo1) {
2826 if (_argo1 == Py_None) { _arg1 = NULL; }
2827 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
2828 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
2829 return NULL;
2830 }
2831 }
2832 {
2833 PyThreadState* __tstate = wxPyBeginAllowThreads();
2834 wxPyRectangleShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
2835
2836 wxPyEndAllowThreads(__tstate);
2837 if (PyErr_Occurred()) return NULL;
2838 } Py_INCREF(Py_None);
2839 _resultobj = Py_None;
2840 return _resultobj;
2841 }
2842
2843 #define wxPyRectangleShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
2844 static PyObject *_wrap_wxPyRectangleShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2845 PyObject * _resultobj;
2846 wxPyRectangleShape * _arg0;
2847 double _arg1;
2848 double _arg2;
2849 PyObject * _argo0 = 0;
2850 char *_kwnames[] = { "self","w","h", NULL };
2851
2852 self = self;
2853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyRectangleShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2))
2854 return NULL;
2855 if (_argo0) {
2856 if (_argo0 == Py_None) { _arg0 = NULL; }
2857 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2858 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnBeginSize. Expected _wxPyRectangleShape_p.");
2859 return NULL;
2860 }
2861 }
2862 {
2863 PyThreadState* __tstate = wxPyBeginAllowThreads();
2864 wxPyRectangleShape_base_OnBeginSize(_arg0,_arg1,_arg2);
2865
2866 wxPyEndAllowThreads(__tstate);
2867 if (PyErr_Occurred()) return NULL;
2868 } Py_INCREF(Py_None);
2869 _resultobj = Py_None;
2870 return _resultobj;
2871 }
2872
2873 #define wxPyRectangleShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
2874 static PyObject *_wrap_wxPyRectangleShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2875 PyObject * _resultobj;
2876 wxPyRectangleShape * _arg0;
2877 double _arg1;
2878 double _arg2;
2879 PyObject * _argo0 = 0;
2880 char *_kwnames[] = { "self","w","h", NULL };
2881
2882 self = self;
2883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyRectangleShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2))
2884 return NULL;
2885 if (_argo0) {
2886 if (_argo0 == Py_None) { _arg0 = NULL; }
2887 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2888 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnEndSize. Expected _wxPyRectangleShape_p.");
2889 return NULL;
2890 }
2891 }
2892 {
2893 PyThreadState* __tstate = wxPyBeginAllowThreads();
2894 wxPyRectangleShape_base_OnEndSize(_arg0,_arg1,_arg2);
2895
2896 wxPyEndAllowThreads(__tstate);
2897 if (PyErr_Occurred()) return NULL;
2898 } Py_INCREF(Py_None);
2899 _resultobj = Py_None;
2900 return _resultobj;
2901 }
2902
2903 static void *SwigwxPyControlPointTowxPyRectangleShape(void *ptr) {
2904 wxPyControlPoint *src;
2905 wxPyRectangleShape *dest;
2906 src = (wxPyControlPoint *) ptr;
2907 dest = (wxPyRectangleShape *) src;
2908 return (void *) dest;
2909 }
2910
2911 static void *SwigwxPyControlPointTowxPyShape(void *ptr) {
2912 wxPyControlPoint *src;
2913 wxPyShape *dest;
2914 src = (wxPyControlPoint *) ptr;
2915 dest = (wxPyShape *) src;
2916 return (void *) dest;
2917 }
2918
2919 static void *SwigwxPyControlPointTowxPyShapeEvtHandler(void *ptr) {
2920 wxPyControlPoint *src;
2921 wxPyShapeEvtHandler *dest;
2922 src = (wxPyControlPoint *) ptr;
2923 dest = (wxPyShapeEvtHandler *) src;
2924 return (void *) dest;
2925 }
2926
2927 static void *SwigwxPyControlPointTowxObject(void *ptr) {
2928 wxPyControlPoint *src;
2929 wxObject *dest;
2930 src = (wxPyControlPoint *) ptr;
2931 dest = (wxObject *) src;
2932 return (void *) dest;
2933 }
2934
2935 #define new_wxPyControlPoint(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyControlPoint(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2936 static PyObject *_wrap_new_wxPyControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2937 PyObject * _resultobj;
2938 wxPyControlPoint * _result;
2939 wxPyShapeCanvas * _arg0 = (wxPyShapeCanvas *) NULL;
2940 wxPyShape * _arg1 = (wxPyShape *) NULL;
2941 double _arg2 = (double ) 0.0;
2942 double _arg3 = (double ) 0.0;
2943 double _arg4 = (double ) 0.0;
2944 int _arg5 = (int ) 0;
2945 PyObject * _argo0 = 0;
2946 PyObject * _argo1 = 0;
2947 char *_kwnames[] = { "the_canvas","object","size","the_xoffset","the_yoffset","the_type", NULL };
2948 char _ptemp[128];
2949
2950 self = self;
2951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OOdddi:new_wxPyControlPoint",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
2952 return NULL;
2953 if (_argo0) {
2954 if (_argo0 == Py_None) { _arg0 = NULL; }
2955 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeCanvas_p")) {
2956 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPyControlPoint. Expected _wxPyShapeCanvas_p.");
2957 return NULL;
2958 }
2959 }
2960 if (_argo1) {
2961 if (_argo1 == Py_None) { _arg1 = NULL; }
2962 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) {
2963 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxPyControlPoint. Expected _wxPyShape_p.");
2964 return NULL;
2965 }
2966 }
2967 {
2968 PyThreadState* __tstate = wxPyBeginAllowThreads();
2969 _result = (wxPyControlPoint *)new_wxPyControlPoint(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
2970
2971 wxPyEndAllowThreads(__tstate);
2972 if (PyErr_Occurred()) return NULL;
2973 } if (_result) {
2974 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyControlPoint_p");
2975 _resultobj = Py_BuildValue("s",_ptemp);
2976 } else {
2977 Py_INCREF(Py_None);
2978 _resultobj = Py_None;
2979 }
2980 return _resultobj;
2981 }
2982
2983 #define wxPyControlPoint__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2984 static PyObject *_wrap_wxPyControlPoint__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2985 PyObject * _resultobj;
2986 wxPyControlPoint * _arg0;
2987 PyObject * _arg1;
2988 PyObject * _arg2;
2989 PyObject * _argo0 = 0;
2990 PyObject * _obj1 = 0;
2991 PyObject * _obj2 = 0;
2992 char *_kwnames[] = { "self","self","_class", NULL };
2993
2994 self = self;
2995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyControlPoint__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
2996 return NULL;
2997 if (_argo0) {
2998 if (_argo0 == Py_None) { _arg0 = NULL; }
2999 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3000 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint__setCallbackInfo. Expected _wxPyControlPoint_p.");
3001 return NULL;
3002 }
3003 }
3004 {
3005 _arg1 = _obj1;
3006 }
3007 {
3008 _arg2 = _obj2;
3009 }
3010 {
3011 PyThreadState* __tstate = wxPyBeginAllowThreads();
3012 wxPyControlPoint__setCallbackInfo(_arg0,_arg1,_arg2);
3013
3014 wxPyEndAllowThreads(__tstate);
3015 if (PyErr_Occurred()) return NULL;
3016 } Py_INCREF(Py_None);
3017 _resultobj = Py_None;
3018 return _resultobj;
3019 }
3020
3021 #define wxPyControlPoint_SetCornerRadius(_swigobj,_swigarg0) (_swigobj->SetCornerRadius(_swigarg0))
3022 static PyObject *_wrap_wxPyControlPoint_SetCornerRadius(PyObject *self, PyObject *args, PyObject *kwargs) {
3023 PyObject * _resultobj;
3024 wxPyControlPoint * _arg0;
3025 double _arg1;
3026 PyObject * _argo0 = 0;
3027 char *_kwnames[] = { "self","radius", NULL };
3028
3029 self = self;
3030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Od:wxPyControlPoint_SetCornerRadius",_kwnames,&_argo0,&_arg1))
3031 return NULL;
3032 if (_argo0) {
3033 if (_argo0 == Py_None) { _arg0 = NULL; }
3034 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3035 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_SetCornerRadius. Expected _wxPyControlPoint_p.");
3036 return NULL;
3037 }
3038 }
3039 {
3040 PyThreadState* __tstate = wxPyBeginAllowThreads();
3041 wxPyControlPoint_SetCornerRadius(_arg0,_arg1);
3042
3043 wxPyEndAllowThreads(__tstate);
3044 if (PyErr_Occurred()) return NULL;
3045 } Py_INCREF(Py_None);
3046 _resultobj = Py_None;
3047 return _resultobj;
3048 }
3049
3050 #define wxPyControlPoint_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
3051 static PyObject *_wrap_wxPyControlPoint_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
3052 PyObject * _resultobj;
3053 wxPyControlPoint * _arg0;
3054 PyObject * _argo0 = 0;
3055 char *_kwnames[] = { "self", NULL };
3056
3057 self = self;
3058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControlPoint_base_OnDelete",_kwnames,&_argo0))
3059 return NULL;
3060 if (_argo0) {
3061 if (_argo0 == Py_None) { _arg0 = NULL; }
3062 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3063 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDelete. Expected _wxPyControlPoint_p.");
3064 return NULL;
3065 }
3066 }
3067 {
3068 PyThreadState* __tstate = wxPyBeginAllowThreads();
3069 wxPyControlPoint_base_OnDelete(_arg0);
3070
3071 wxPyEndAllowThreads(__tstate);
3072 if (PyErr_Occurred()) return NULL;
3073 } Py_INCREF(Py_None);
3074 _resultobj = Py_None;
3075 return _resultobj;
3076 }
3077
3078 #define wxPyControlPoint_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
3079 static PyObject *_wrap_wxPyControlPoint_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
3080 PyObject * _resultobj;
3081 wxPyControlPoint * _arg0;
3082 wxDC * _arg1;
3083 PyObject * _argo0 = 0;
3084 PyObject * _argo1 = 0;
3085 char *_kwnames[] = { "self","dc", NULL };
3086
3087 self = self;
3088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnDraw",_kwnames,&_argo0,&_argo1))
3089 return NULL;
3090 if (_argo0) {
3091 if (_argo0 == Py_None) { _arg0 = NULL; }
3092 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3093 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDraw. Expected _wxPyControlPoint_p.");
3094 return NULL;
3095 }
3096 }
3097 if (_argo1) {
3098 if (_argo1 == Py_None) { _arg1 = NULL; }
3099 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3100 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnDraw. Expected _wxDC_p.");
3101 return NULL;
3102 }
3103 }
3104 {
3105 PyThreadState* __tstate = wxPyBeginAllowThreads();
3106 wxPyControlPoint_base_OnDraw(_arg0,*_arg1);
3107
3108 wxPyEndAllowThreads(__tstate);
3109 if (PyErr_Occurred()) return NULL;
3110 } Py_INCREF(Py_None);
3111 _resultobj = Py_None;
3112 return _resultobj;
3113 }
3114
3115 #define wxPyControlPoint_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
3116 static PyObject *_wrap_wxPyControlPoint_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
3117 PyObject * _resultobj;
3118 wxPyControlPoint * _arg0;
3119 wxDC * _arg1;
3120 PyObject * _argo0 = 0;
3121 PyObject * _argo1 = 0;
3122 char *_kwnames[] = { "self","dc", NULL };
3123
3124 self = self;
3125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnDrawContents",_kwnames,&_argo0,&_argo1))
3126 return NULL;
3127 if (_argo0) {
3128 if (_argo0 == Py_None) { _arg0 = NULL; }
3129 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3130 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDrawContents. Expected _wxPyControlPoint_p.");
3131 return NULL;
3132 }
3133 }
3134 if (_argo1) {
3135 if (_argo1 == Py_None) { _arg1 = NULL; }
3136 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3137 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnDrawContents. Expected _wxDC_p.");
3138 return NULL;
3139 }
3140 }
3141 {
3142 PyThreadState* __tstate = wxPyBeginAllowThreads();
3143 wxPyControlPoint_base_OnDrawContents(_arg0,*_arg1);
3144
3145 wxPyEndAllowThreads(__tstate);
3146 if (PyErr_Occurred()) return NULL;
3147 } Py_INCREF(Py_None);
3148 _resultobj = Py_None;
3149 return _resultobj;
3150 }
3151
3152 #define wxPyControlPoint_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
3153 static PyObject *_wrap_wxPyControlPoint_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
3154 PyObject * _resultobj;
3155 wxPyControlPoint * _arg0;
3156 wxDC * _arg1;
3157 bool _arg2 = (bool ) FALSE;
3158 PyObject * _argo0 = 0;
3159 PyObject * _argo1 = 0;
3160 int tempbool2 = (int) FALSE;
3161 char *_kwnames[] = { "self","dc","erase", NULL };
3162
3163 self = self;
3164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyControlPoint_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2))
3165 return NULL;
3166 if (_argo0) {
3167 if (_argo0 == Py_None) { _arg0 = NULL; }
3168 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3169 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDrawBranches. Expected _wxPyControlPoint_p.");
3170 return NULL;
3171 }
3172 }
3173 if (_argo1) {
3174 if (_argo1 == Py_None) { _arg1 = NULL; }
3175 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3176 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnDrawBranches. Expected _wxDC_p.");
3177 return NULL;
3178 }
3179 }
3180 _arg2 = (bool ) tempbool2;
3181 {
3182 PyThreadState* __tstate = wxPyBeginAllowThreads();
3183 wxPyControlPoint_base_OnDrawBranches(_arg0,*_arg1,_arg2);
3184
3185 wxPyEndAllowThreads(__tstate);
3186 if (PyErr_Occurred()) return NULL;
3187 } Py_INCREF(Py_None);
3188 _resultobj = Py_None;
3189 return _resultobj;
3190 }
3191
3192 #define wxPyControlPoint_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
3193 static PyObject *_wrap_wxPyControlPoint_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
3194 PyObject * _resultobj;
3195 wxPyControlPoint * _arg0;
3196 wxDC * _arg1;
3197 PyObject * _argo0 = 0;
3198 PyObject * _argo1 = 0;
3199 char *_kwnames[] = { "self","dc", NULL };
3200
3201 self = self;
3202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnMoveLinks",_kwnames,&_argo0,&_argo1))
3203 return NULL;
3204 if (_argo0) {
3205 if (_argo0 == Py_None) { _arg0 = NULL; }
3206 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3207 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnMoveLinks. Expected _wxPyControlPoint_p.");
3208 return NULL;
3209 }
3210 }
3211 if (_argo1) {
3212 if (_argo1 == Py_None) { _arg1 = NULL; }
3213 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3214 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnMoveLinks. Expected _wxDC_p.");
3215 return NULL;
3216 }
3217 }
3218 {
3219 PyThreadState* __tstate = wxPyBeginAllowThreads();
3220 wxPyControlPoint_base_OnMoveLinks(_arg0,*_arg1);
3221
3222 wxPyEndAllowThreads(__tstate);
3223 if (PyErr_Occurred()) return NULL;
3224 } Py_INCREF(Py_None);
3225 _resultobj = Py_None;
3226 return _resultobj;
3227 }
3228
3229 #define wxPyControlPoint_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
3230 static PyObject *_wrap_wxPyControlPoint_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
3231 PyObject * _resultobj;
3232 wxPyControlPoint * _arg0;
3233 wxDC * _arg1;
3234 PyObject * _argo0 = 0;
3235 PyObject * _argo1 = 0;
3236 char *_kwnames[] = { "self","dc", NULL };
3237
3238 self = self;
3239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnErase",_kwnames,&_argo0,&_argo1))
3240 return NULL;
3241 if (_argo0) {
3242 if (_argo0 == Py_None) { _arg0 = NULL; }
3243 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3244 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnErase. Expected _wxPyControlPoint_p.");
3245 return NULL;
3246 }
3247 }
3248 if (_argo1) {
3249 if (_argo1 == Py_None) { _arg1 = NULL; }
3250 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3251 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnErase. Expected _wxDC_p.");
3252 return NULL;
3253 }
3254 }
3255 {
3256 PyThreadState* __tstate = wxPyBeginAllowThreads();
3257 wxPyControlPoint_base_OnErase(_arg0,*_arg1);
3258
3259 wxPyEndAllowThreads(__tstate);
3260 if (PyErr_Occurred()) return NULL;
3261 } Py_INCREF(Py_None);
3262 _resultobj = Py_None;
3263 return _resultobj;
3264 }
3265
3266 #define wxPyControlPoint_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
3267 static PyObject *_wrap_wxPyControlPoint_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
3268 PyObject * _resultobj;
3269 wxPyControlPoint * _arg0;
3270 wxDC * _arg1;
3271 PyObject * _argo0 = 0;
3272 PyObject * _argo1 = 0;
3273 char *_kwnames[] = { "self","dc", NULL };
3274
3275 self = self;
3276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnEraseContents",_kwnames,&_argo0,&_argo1))
3277 return NULL;
3278 if (_argo0) {
3279 if (_argo0 == Py_None) { _arg0 = NULL; }
3280 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3281 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnEraseContents. Expected _wxPyControlPoint_p.");
3282 return NULL;
3283 }
3284 }
3285 if (_argo1) {
3286 if (_argo1 == Py_None) { _arg1 = NULL; }
3287 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3288 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnEraseContents. Expected _wxDC_p.");
3289 return NULL;
3290 }
3291 }
3292 {
3293 PyThreadState* __tstate = wxPyBeginAllowThreads();
3294 wxPyControlPoint_base_OnEraseContents(_arg0,*_arg1);
3295
3296 wxPyEndAllowThreads(__tstate);
3297 if (PyErr_Occurred()) return NULL;
3298 } Py_INCREF(Py_None);
3299 _resultobj = Py_None;
3300 return _resultobj;
3301 }
3302
3303 #define wxPyControlPoint_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
3304 static PyObject *_wrap_wxPyControlPoint_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
3305 PyObject * _resultobj;
3306 wxPyControlPoint * _arg0;
3307 wxDC * _arg1;
3308 PyObject * _argo0 = 0;
3309 PyObject * _argo1 = 0;
3310 char *_kwnames[] = { "self","dc", NULL };
3311
3312 self = self;
3313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnHighlight",_kwnames,&_argo0,&_argo1))
3314 return NULL;
3315 if (_argo0) {
3316 if (_argo0 == Py_None) { _arg0 = NULL; }
3317 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3318 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnHighlight. Expected _wxPyControlPoint_p.");
3319 return NULL;
3320 }
3321 }
3322 if (_argo1) {
3323 if (_argo1 == Py_None) { _arg1 = NULL; }
3324 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3325 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnHighlight. Expected _wxDC_p.");
3326 return NULL;
3327 }
3328 }
3329 {
3330 PyThreadState* __tstate = wxPyBeginAllowThreads();
3331 wxPyControlPoint_base_OnHighlight(_arg0,*_arg1);
3332
3333 wxPyEndAllowThreads(__tstate);
3334 if (PyErr_Occurred()) return NULL;
3335 } Py_INCREF(Py_None);
3336 _resultobj = Py_None;
3337 return _resultobj;
3338 }
3339
3340 #define wxPyControlPoint_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3341 static PyObject *_wrap_wxPyControlPoint_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
3342 PyObject * _resultobj;
3343 wxPyControlPoint * _arg0;
3344 double _arg1;
3345 double _arg2;
3346 int _arg3 = (int ) 0;
3347 int _arg4 = (int ) 0;
3348 PyObject * _argo0 = 0;
3349 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
3350
3351 self = self;
3352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
3353 return NULL;
3354 if (_argo0) {
3355 if (_argo0 == Py_None) { _arg0 = NULL; }
3356 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3357 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnLeftClick. Expected _wxPyControlPoint_p.");
3358 return NULL;
3359 }
3360 }
3361 {
3362 PyThreadState* __tstate = wxPyBeginAllowThreads();
3363 wxPyControlPoint_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4);
3364
3365 wxPyEndAllowThreads(__tstate);
3366 if (PyErr_Occurred()) return NULL;
3367 } Py_INCREF(Py_None);
3368 _resultobj = Py_None;
3369 return _resultobj;
3370 }
3371
3372 #define wxPyControlPoint_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3373 static PyObject *_wrap_wxPyControlPoint_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
3374 PyObject * _resultobj;
3375 wxPyControlPoint * _arg0;
3376 double _arg1;
3377 double _arg2;
3378 int _arg3 = (int ) 0;
3379 int _arg4 = (int ) 0;
3380 PyObject * _argo0 = 0;
3381 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
3382
3383 self = self;
3384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
3385 return NULL;
3386 if (_argo0) {
3387 if (_argo0 == Py_None) { _arg0 = NULL; }
3388 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3389 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnLeftDoubleClick. Expected _wxPyControlPoint_p.");
3390 return NULL;
3391 }
3392 }
3393 {
3394 PyThreadState* __tstate = wxPyBeginAllowThreads();
3395 wxPyControlPoint_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4);
3396
3397 wxPyEndAllowThreads(__tstate);
3398 if (PyErr_Occurred()) return NULL;
3399 } Py_INCREF(Py_None);
3400 _resultobj = Py_None;
3401 return _resultobj;
3402 }
3403
3404 #define wxPyControlPoint_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3405 static PyObject *_wrap_wxPyControlPoint_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
3406 PyObject * _resultobj;
3407 wxPyControlPoint * _arg0;
3408 double _arg1;
3409 double _arg2;
3410 int _arg3 = (int ) 0;
3411 int _arg4 = (int ) 0;
3412 PyObject * _argo0 = 0;
3413 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
3414
3415 self = self;
3416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
3417 return NULL;
3418 if (_argo0) {
3419 if (_argo0 == Py_None) { _arg0 = NULL; }
3420 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3421 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnRightClick. Expected _wxPyControlPoint_p.");
3422 return NULL;
3423 }
3424 }
3425 {
3426 PyThreadState* __tstate = wxPyBeginAllowThreads();
3427 wxPyControlPoint_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4);
3428
3429 wxPyEndAllowThreads(__tstate);
3430 if (PyErr_Occurred()) return NULL;
3431 } Py_INCREF(Py_None);
3432 _resultobj = Py_None;
3433 return _resultobj;
3434 }
3435
3436 #define wxPyControlPoint_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
3437 static PyObject *_wrap_wxPyControlPoint_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3438 PyObject * _resultobj;
3439 wxPyControlPoint * _arg0;
3440 double _arg1;
3441 double _arg2;
3442 PyObject * _argo0 = 0;
3443 char *_kwnames[] = { "self","x","y", NULL };
3444
3445 self = self;
3446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyControlPoint_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2))
3447 return NULL;
3448 if (_argo0) {
3449 if (_argo0 == Py_None) { _arg0 = NULL; }
3450 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3451 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnSize. Expected _wxPyControlPoint_p.");
3452 return NULL;
3453 }
3454 }
3455 {
3456 PyThreadState* __tstate = wxPyBeginAllowThreads();
3457 wxPyControlPoint_base_OnSize(_arg0,_arg1,_arg2);
3458
3459 wxPyEndAllowThreads(__tstate);
3460 if (PyErr_Occurred()) return NULL;
3461 } Py_INCREF(Py_None);
3462 _resultobj = Py_None;
3463 return _resultobj;
3464 }
3465
3466 #define wxPyControlPoint_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3467 static PyObject *_wrap_wxPyControlPoint_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
3468 PyObject * _resultobj;
3469 bool _result;
3470 wxPyControlPoint * _arg0;
3471 wxDC * _arg1;
3472 double _arg2;
3473 double _arg3;
3474 double _arg4;
3475 double _arg5;
3476 bool _arg6 = (bool ) TRUE;
3477 PyObject * _argo0 = 0;
3478 PyObject * _argo1 = 0;
3479 int tempbool6 = (int) TRUE;
3480 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
3481
3482 self = self;
3483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyControlPoint_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
3484 return NULL;
3485 if (_argo0) {
3486 if (_argo0 == Py_None) { _arg0 = NULL; }
3487 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3488 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnMovePre. Expected _wxPyControlPoint_p.");
3489 return NULL;
3490 }
3491 }
3492 if (_argo1) {
3493 if (_argo1 == Py_None) { _arg1 = NULL; }
3494 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3495 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnMovePre. Expected _wxDC_p.");
3496 return NULL;
3497 }
3498 }
3499 _arg6 = (bool ) tempbool6;
3500 {
3501 PyThreadState* __tstate = wxPyBeginAllowThreads();
3502 _result = (bool )wxPyControlPoint_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
3503
3504 wxPyEndAllowThreads(__tstate);
3505 if (PyErr_Occurred()) return NULL;
3506 } _resultobj = Py_BuildValue("i",_result);
3507 return _resultobj;
3508 }
3509
3510 #define wxPyControlPoint_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3511 static PyObject *_wrap_wxPyControlPoint_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
3512 PyObject * _resultobj;
3513 wxPyControlPoint * _arg0;
3514 wxDC * _arg1;
3515 double _arg2;
3516 double _arg3;
3517 double _arg4;
3518 double _arg5;
3519 bool _arg6 = (bool ) TRUE;
3520 PyObject * _argo0 = 0;
3521 PyObject * _argo1 = 0;
3522 int tempbool6 = (int) TRUE;
3523 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
3524
3525 self = self;
3526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyControlPoint_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
3527 return NULL;
3528 if (_argo0) {
3529 if (_argo0 == Py_None) { _arg0 = NULL; }
3530 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3531 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnMovePost. Expected _wxPyControlPoint_p.");
3532 return NULL;
3533 }
3534 }
3535 if (_argo1) {
3536 if (_argo1 == Py_None) { _arg1 = NULL; }
3537 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3538 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnMovePost. Expected _wxDC_p.");
3539 return NULL;
3540 }
3541 }
3542 _arg6 = (bool ) tempbool6;
3543 {
3544 PyThreadState* __tstate = wxPyBeginAllowThreads();
3545 wxPyControlPoint_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
3546
3547 wxPyEndAllowThreads(__tstate);
3548 if (PyErr_Occurred()) return NULL;
3549 } Py_INCREF(Py_None);
3550 _resultobj = Py_None;
3551 return _resultobj;
3552 }
3553
3554 #define wxPyControlPoint_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3555 static PyObject *_wrap_wxPyControlPoint_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3556 PyObject * _resultobj;
3557 wxPyControlPoint * _arg0;
3558 bool _arg1;
3559 double _arg2;
3560 double _arg3;
3561 int _arg4 = (int ) 0;
3562 int _arg5 = (int ) 0;
3563 PyObject * _argo0 = 0;
3564 int tempbool1;
3565 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
3566
3567 self = self;
3568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyControlPoint_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
3569 return NULL;
3570 if (_argo0) {
3571 if (_argo0 == Py_None) { _arg0 = NULL; }
3572 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3573 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDragLeft. Expected _wxPyControlPoint_p.");
3574 return NULL;
3575 }
3576 }
3577 _arg1 = (bool ) tempbool1;
3578 {
3579 PyThreadState* __tstate = wxPyBeginAllowThreads();
3580 wxPyControlPoint_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
3581
3582 wxPyEndAllowThreads(__tstate);
3583 if (PyErr_Occurred()) return NULL;
3584 } Py_INCREF(Py_None);
3585 _resultobj = Py_None;
3586 return _resultobj;
3587 }
3588
3589 #define wxPyControlPoint_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3590 static PyObject *_wrap_wxPyControlPoint_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3591 PyObject * _resultobj;
3592 wxPyControlPoint * _arg0;
3593 double _arg1;
3594 double _arg2;
3595 int _arg3 = (int ) 0;
3596 int _arg4 = (int ) 0;
3597 PyObject * _argo0 = 0;
3598 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
3599
3600 self = self;
3601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
3602 return NULL;
3603 if (_argo0) {
3604 if (_argo0 == Py_None) { _arg0 = NULL; }
3605 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3606 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnBeginDragLeft. Expected _wxPyControlPoint_p.");
3607 return NULL;
3608 }
3609 }
3610 {
3611 PyThreadState* __tstate = wxPyBeginAllowThreads();
3612 wxPyControlPoint_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
3613
3614 wxPyEndAllowThreads(__tstate);
3615 if (PyErr_Occurred()) return NULL;
3616 } Py_INCREF(Py_None);
3617 _resultobj = Py_None;
3618 return _resultobj;
3619 }
3620
3621 #define wxPyControlPoint_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3622 static PyObject *_wrap_wxPyControlPoint_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3623 PyObject * _resultobj;
3624 wxPyControlPoint * _arg0;
3625 double _arg1;
3626 double _arg2;
3627 int _arg3 = (int ) 0;
3628 int _arg4 = (int ) 0;
3629 PyObject * _argo0 = 0;
3630 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
3631
3632 self = self;
3633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
3634 return NULL;
3635 if (_argo0) {
3636 if (_argo0 == Py_None) { _arg0 = NULL; }
3637 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3638 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnEndDragLeft. Expected _wxPyControlPoint_p.");
3639 return NULL;
3640 }
3641 }
3642 {
3643 PyThreadState* __tstate = wxPyBeginAllowThreads();
3644 wxPyControlPoint_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
3645
3646 wxPyEndAllowThreads(__tstate);
3647 if (PyErr_Occurred()) return NULL;
3648 } Py_INCREF(Py_None);
3649 _resultobj = Py_None;
3650 return _resultobj;
3651 }
3652
3653 #define wxPyControlPoint_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3654 static PyObject *_wrap_wxPyControlPoint_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3655 PyObject * _resultobj;
3656 wxPyControlPoint * _arg0;
3657 bool _arg1;
3658 double _arg2;
3659 double _arg3;
3660 int _arg4 = (int ) 0;
3661 int _arg5 = (int ) 0;
3662 PyObject * _argo0 = 0;
3663 int tempbool1;
3664 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
3665
3666 self = self;
3667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyControlPoint_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
3668 return NULL;
3669 if (_argo0) {
3670 if (_argo0 == Py_None) { _arg0 = NULL; }
3671 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3672 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDragRight. Expected _wxPyControlPoint_p.");
3673 return NULL;
3674 }
3675 }
3676 _arg1 = (bool ) tempbool1;
3677 {
3678 PyThreadState* __tstate = wxPyBeginAllowThreads();
3679 wxPyControlPoint_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
3680
3681 wxPyEndAllowThreads(__tstate);
3682 if (PyErr_Occurred()) return NULL;
3683 } Py_INCREF(Py_None);
3684 _resultobj = Py_None;
3685 return _resultobj;
3686 }
3687
3688 #define wxPyControlPoint_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3689 static PyObject *_wrap_wxPyControlPoint_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3690 PyObject * _resultobj;
3691 wxPyControlPoint * _arg0;
3692 double _arg1;
3693 double _arg2;
3694 int _arg3 = (int ) 0;
3695 int _arg4 = (int ) 0;
3696 PyObject * _argo0 = 0;
3697 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
3698
3699 self = self;
3700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
3701 return NULL;
3702 if (_argo0) {
3703 if (_argo0 == Py_None) { _arg0 = NULL; }
3704 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3705 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnBeginDragRight. Expected _wxPyControlPoint_p.");
3706 return NULL;
3707 }
3708 }
3709 {
3710 PyThreadState* __tstate = wxPyBeginAllowThreads();
3711 wxPyControlPoint_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
3712
3713 wxPyEndAllowThreads(__tstate);
3714 if (PyErr_Occurred()) return NULL;
3715 } Py_INCREF(Py_None);
3716 _resultobj = Py_None;
3717 return _resultobj;
3718 }
3719
3720 #define wxPyControlPoint_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3721 static PyObject *_wrap_wxPyControlPoint_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3722 PyObject * _resultobj;
3723 wxPyControlPoint * _arg0;
3724 double _arg1;
3725 double _arg2;
3726 int _arg3 = (int ) 0;
3727 int _arg4 = (int ) 0;
3728 PyObject * _argo0 = 0;
3729 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
3730
3731 self = self;
3732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
3733 return NULL;
3734 if (_argo0) {
3735 if (_argo0 == Py_None) { _arg0 = NULL; }
3736 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3737 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnEndDragRight. Expected _wxPyControlPoint_p.");
3738 return NULL;
3739 }
3740 }
3741 {
3742 PyThreadState* __tstate = wxPyBeginAllowThreads();
3743 wxPyControlPoint_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
3744
3745 wxPyEndAllowThreads(__tstate);
3746 if (PyErr_Occurred()) return NULL;
3747 } Py_INCREF(Py_None);
3748 _resultobj = Py_None;
3749 return _resultobj;
3750 }
3751
3752 #define wxPyControlPoint_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3753 static PyObject *_wrap_wxPyControlPoint_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
3754 PyObject * _resultobj;
3755 wxPyControlPoint * _arg0;
3756 wxDC * _arg1;
3757 double _arg2;
3758 double _arg3;
3759 double _arg4;
3760 double _arg5;
3761 PyObject * _argo0 = 0;
3762 PyObject * _argo1 = 0;
3763 char *_kwnames[] = { "self","dc","x","y","w","h", NULL };
3764
3765 self = self;
3766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyControlPoint_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
3767 return NULL;
3768 if (_argo0) {
3769 if (_argo0 == Py_None) { _arg0 = NULL; }
3770 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3771 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDrawOutline. Expected _wxPyControlPoint_p.");
3772 return NULL;
3773 }
3774 }
3775 if (_argo1) {
3776 if (_argo1 == Py_None) { _arg1 = NULL; }
3777 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3778 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnDrawOutline. Expected _wxDC_p.");
3779 return NULL;
3780 }
3781 }
3782 {
3783 PyThreadState* __tstate = wxPyBeginAllowThreads();
3784 wxPyControlPoint_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5);
3785
3786 wxPyEndAllowThreads(__tstate);
3787 if (PyErr_Occurred()) return NULL;
3788 } Py_INCREF(Py_None);
3789 _resultobj = Py_None;
3790 return _resultobj;
3791 }
3792
3793 #define wxPyControlPoint_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
3794 static PyObject *_wrap_wxPyControlPoint_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
3795 PyObject * _resultobj;
3796 wxPyControlPoint * _arg0;
3797 wxDC * _arg1;
3798 PyObject * _argo0 = 0;
3799 PyObject * _argo1 = 0;
3800 char *_kwnames[] = { "self","dc", NULL };
3801
3802 self = self;
3803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1))
3804 return NULL;
3805 if (_argo0) {
3806 if (_argo0 == Py_None) { _arg0 = NULL; }
3807 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3808 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDrawControlPoints. Expected _wxPyControlPoint_p.");
3809 return NULL;
3810 }
3811 }
3812 if (_argo1) {
3813 if (_argo1 == Py_None) { _arg1 = NULL; }
3814 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3815 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnDrawControlPoints. Expected _wxDC_p.");
3816 return NULL;
3817 }
3818 }
3819 {
3820 PyThreadState* __tstate = wxPyBeginAllowThreads();
3821 wxPyControlPoint_base_OnDrawControlPoints(_arg0,*_arg1);
3822
3823 wxPyEndAllowThreads(__tstate);
3824 if (PyErr_Occurred()) return NULL;
3825 } Py_INCREF(Py_None);
3826 _resultobj = Py_None;
3827 return _resultobj;
3828 }
3829
3830 #define wxPyControlPoint_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
3831 static PyObject *_wrap_wxPyControlPoint_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
3832 PyObject * _resultobj;
3833 wxPyControlPoint * _arg0;
3834 wxDC * _arg1;
3835 PyObject * _argo0 = 0;
3836 PyObject * _argo1 = 0;
3837 char *_kwnames[] = { "self","dc", NULL };
3838
3839 self = self;
3840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1))
3841 return NULL;
3842 if (_argo0) {
3843 if (_argo0 == Py_None) { _arg0 = NULL; }
3844 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3845 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnEraseControlPoints. Expected _wxPyControlPoint_p.");
3846 return NULL;
3847 }
3848 }
3849 if (_argo1) {
3850 if (_argo1 == Py_None) { _arg1 = NULL; }
3851 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3852 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnEraseControlPoints. Expected _wxDC_p.");
3853 return NULL;
3854 }
3855 }
3856 {
3857 PyThreadState* __tstate = wxPyBeginAllowThreads();
3858 wxPyControlPoint_base_OnEraseControlPoints(_arg0,*_arg1);
3859
3860 wxPyEndAllowThreads(__tstate);
3861 if (PyErr_Occurred()) return NULL;
3862 } Py_INCREF(Py_None);
3863 _resultobj = Py_None;
3864 return _resultobj;
3865 }
3866
3867 #define wxPyControlPoint_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
3868 static PyObject *_wrap_wxPyControlPoint_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
3869 PyObject * _resultobj;
3870 wxPyControlPoint * _arg0;
3871 wxDC * _arg1;
3872 bool _arg2 = (bool ) TRUE;
3873 PyObject * _argo0 = 0;
3874 PyObject * _argo1 = 0;
3875 int tempbool2 = (int) TRUE;
3876 char *_kwnames[] = { "self","dc","moveControlPoints", NULL };
3877
3878 self = self;
3879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyControlPoint_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2))
3880 return NULL;
3881 if (_argo0) {
3882 if (_argo0 == Py_None) { _arg0 = NULL; }
3883 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3884 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnMoveLink. Expected _wxPyControlPoint_p.");
3885 return NULL;
3886 }
3887 }
3888 if (_argo1) {
3889 if (_argo1 == Py_None) { _arg1 = NULL; }
3890 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3891 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnMoveLink. Expected _wxDC_p.");
3892 return NULL;
3893 }
3894 }
3895 _arg2 = (bool ) tempbool2;
3896 {
3897 PyThreadState* __tstate = wxPyBeginAllowThreads();
3898 wxPyControlPoint_base_OnMoveLink(_arg0,*_arg1,_arg2);
3899
3900 wxPyEndAllowThreads(__tstate);
3901 if (PyErr_Occurred()) return NULL;
3902 } Py_INCREF(Py_None);
3903 _resultobj = Py_None;
3904 return _resultobj;
3905 }
3906
3907 #define wxPyControlPoint_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3908 static PyObject *_wrap_wxPyControlPoint_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3909 PyObject * _resultobj;
3910 wxPyControlPoint * _arg0;
3911 wxPyControlPoint * _arg1;
3912 bool _arg2;
3913 double _arg3;
3914 double _arg4;
3915 int _arg5 = (int ) 0;
3916 int _arg6 = (int ) 0;
3917 PyObject * _argo0 = 0;
3918 PyObject * _argo1 = 0;
3919 int tempbool2;
3920 char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL };
3921
3922 self = self;
3923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyControlPoint_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6))
3924 return NULL;
3925 if (_argo0) {
3926 if (_argo0 == Py_None) { _arg0 = NULL; }
3927 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3928 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
3929 return NULL;
3930 }
3931 }
3932 if (_argo1) {
3933 if (_argo1 == Py_None) { _arg1 = NULL; }
3934 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
3935 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
3936 return NULL;
3937 }
3938 }
3939 _arg2 = (bool ) tempbool2;
3940 {
3941 PyThreadState* __tstate = wxPyBeginAllowThreads();
3942 wxPyControlPoint_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
3943
3944 wxPyEndAllowThreads(__tstate);
3945 if (PyErr_Occurred()) return NULL;
3946 } Py_INCREF(Py_None);
3947 _resultobj = Py_None;
3948 return _resultobj;
3949 }
3950
3951 #define wxPyControlPoint_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3952 static PyObject *_wrap_wxPyControlPoint_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3953 PyObject * _resultobj;
3954 wxPyControlPoint * _arg0;
3955 wxPyControlPoint * _arg1;
3956 double _arg2;
3957 double _arg3;
3958 int _arg4 = (int ) 0;
3959 int _arg5 = (int ) 0;
3960 PyObject * _argo0 = 0;
3961 PyObject * _argo1 = 0;
3962 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
3963
3964 self = self;
3965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyControlPoint_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
3966 return NULL;
3967 if (_argo0) {
3968 if (_argo0 == Py_None) { _arg0 = NULL; }
3969 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3970 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
3971 return NULL;
3972 }
3973 }
3974 if (_argo1) {
3975 if (_argo1 == Py_None) { _arg1 = NULL; }
3976 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
3977 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
3978 return NULL;
3979 }
3980 }
3981 {
3982 PyThreadState* __tstate = wxPyBeginAllowThreads();
3983 wxPyControlPoint_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
3984
3985 wxPyEndAllowThreads(__tstate);
3986 if (PyErr_Occurred()) return NULL;
3987 } Py_INCREF(Py_None);
3988 _resultobj = Py_None;
3989 return _resultobj;
3990 }
3991
3992 #define wxPyControlPoint_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3993 static PyObject *_wrap_wxPyControlPoint_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3994 PyObject * _resultobj;
3995 wxPyControlPoint * _arg0;
3996 wxPyControlPoint * _arg1;
3997 double _arg2;
3998 double _arg3;
3999 int _arg4 = (int ) 0;
4000 int _arg5 = (int ) 0;
4001 PyObject * _argo0 = 0;
4002 PyObject * _argo1 = 0;
4003 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
4004
4005 self = self;
4006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyControlPoint_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
4007 return NULL;
4008 if (_argo0) {
4009 if (_argo0 == Py_None) { _arg0 = NULL; }
4010 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
4011 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
4012 return NULL;
4013 }
4014 }
4015 if (_argo1) {
4016 if (_argo1 == Py_None) { _arg1 = NULL; }
4017 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
4018 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
4019 return NULL;
4020 }
4021 }
4022 {
4023 PyThreadState* __tstate = wxPyBeginAllowThreads();
4024 wxPyControlPoint_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
4025
4026 wxPyEndAllowThreads(__tstate);
4027 if (PyErr_Occurred()) return NULL;
4028 } Py_INCREF(Py_None);
4029 _resultobj = Py_None;
4030 return _resultobj;
4031 }
4032
4033 #define wxPyControlPoint_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
4034 static PyObject *_wrap_wxPyControlPoint_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4035 PyObject * _resultobj;
4036 wxPyControlPoint * _arg0;
4037 double _arg1;
4038 double _arg2;
4039 PyObject * _argo0 = 0;
4040 char *_kwnames[] = { "self","w","h", NULL };
4041
4042 self = self;
4043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyControlPoint_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2))
4044 return NULL;
4045 if (_argo0) {
4046 if (_argo0 == Py_None) { _arg0 = NULL; }
4047 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
4048 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnBeginSize. Expected _wxPyControlPoint_p.");
4049 return NULL;
4050 }
4051 }
4052 {
4053 PyThreadState* __tstate = wxPyBeginAllowThreads();
4054 wxPyControlPoint_base_OnBeginSize(_arg0,_arg1,_arg2);
4055
4056 wxPyEndAllowThreads(__tstate);
4057 if (PyErr_Occurred()) return NULL;
4058 } Py_INCREF(Py_None);
4059 _resultobj = Py_None;
4060 return _resultobj;
4061 }
4062
4063 #define wxPyControlPoint_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
4064 static PyObject *_wrap_wxPyControlPoint_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4065 PyObject * _resultobj;
4066 wxPyControlPoint * _arg0;
4067 double _arg1;
4068 double _arg2;
4069 PyObject * _argo0 = 0;
4070 char *_kwnames[] = { "self","w","h", NULL };
4071
4072 self = self;
4073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyControlPoint_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2))
4074 return NULL;
4075 if (_argo0) {
4076 if (_argo0 == Py_None) { _arg0 = NULL; }
4077 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
4078 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnEndSize. Expected _wxPyControlPoint_p.");
4079 return NULL;
4080 }
4081 }
4082 {
4083 PyThreadState* __tstate = wxPyBeginAllowThreads();
4084 wxPyControlPoint_base_OnEndSize(_arg0,_arg1,_arg2);
4085
4086 wxPyEndAllowThreads(__tstate);
4087 if (PyErr_Occurred()) return NULL;
4088 } Py_INCREF(Py_None);
4089 _resultobj = Py_None;
4090 return _resultobj;
4091 }
4092
4093 static void *SwigwxPyBitmapShapeTowxPyRectangleShape(void *ptr) {
4094 wxPyBitmapShape *src;
4095 wxPyRectangleShape *dest;
4096 src = (wxPyBitmapShape *) ptr;
4097 dest = (wxPyRectangleShape *) src;
4098 return (void *) dest;
4099 }
4100
4101 static void *SwigwxPyBitmapShapeTowxPyShape(void *ptr) {
4102 wxPyBitmapShape *src;
4103 wxPyShape *dest;
4104 src = (wxPyBitmapShape *) ptr;
4105 dest = (wxPyShape *) src;
4106 return (void *) dest;
4107 }
4108
4109 static void *SwigwxPyBitmapShapeTowxPyShapeEvtHandler(void *ptr) {
4110 wxPyBitmapShape *src;
4111 wxPyShapeEvtHandler *dest;
4112 src = (wxPyBitmapShape *) ptr;
4113 dest = (wxPyShapeEvtHandler *) src;
4114 return (void *) dest;
4115 }
4116
4117 static void *SwigwxPyBitmapShapeTowxObject(void *ptr) {
4118 wxPyBitmapShape *src;
4119 wxObject *dest;
4120 src = (wxPyBitmapShape *) ptr;
4121 dest = (wxObject *) src;
4122 return (void *) dest;
4123 }
4124
4125 #define new_wxPyBitmapShape() (new wxPyBitmapShape())
4126 static PyObject *_wrap_new_wxPyBitmapShape(PyObject *self, PyObject *args, PyObject *kwargs) {
4127 PyObject * _resultobj;
4128 wxPyBitmapShape * _result;
4129 char *_kwnames[] = { NULL };
4130 char _ptemp[128];
4131
4132 self = self;
4133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyBitmapShape",_kwnames))
4134 return NULL;
4135 {
4136 PyThreadState* __tstate = wxPyBeginAllowThreads();
4137 _result = (wxPyBitmapShape *)new_wxPyBitmapShape();
4138
4139 wxPyEndAllowThreads(__tstate);
4140 if (PyErr_Occurred()) return NULL;
4141 } if (_result) {
4142 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyBitmapShape_p");
4143 _resultobj = Py_BuildValue("s",_ptemp);
4144 } else {
4145 Py_INCREF(Py_None);
4146 _resultobj = Py_None;
4147 }
4148 return _resultobj;
4149 }
4150
4151 #define wxPyBitmapShape__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4152 static PyObject *_wrap_wxPyBitmapShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4153 PyObject * _resultobj;
4154 wxPyBitmapShape * _arg0;
4155 PyObject * _arg1;
4156 PyObject * _arg2;
4157 PyObject * _argo0 = 0;
4158 PyObject * _obj1 = 0;
4159 PyObject * _obj2 = 0;
4160 char *_kwnames[] = { "self","self","_class", NULL };
4161
4162 self = self;
4163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyBitmapShape__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
4164 return NULL;
4165 if (_argo0) {
4166 if (_argo0 == Py_None) { _arg0 = NULL; }
4167 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4168 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape__setCallbackInfo. Expected _wxPyBitmapShape_p.");
4169 return NULL;
4170 }
4171 }
4172 {
4173 _arg1 = _obj1;
4174 }
4175 {
4176 _arg2 = _obj2;
4177 }
4178 {
4179 PyThreadState* __tstate = wxPyBeginAllowThreads();
4180 wxPyBitmapShape__setCallbackInfo(_arg0,_arg1,_arg2);
4181
4182 wxPyEndAllowThreads(__tstate);
4183 if (PyErr_Occurred()) return NULL;
4184 } Py_INCREF(Py_None);
4185 _resultobj = Py_None;
4186 return _resultobj;
4187 }
4188
4189 #define wxPyBitmapShape_GetBitmap(_swigobj) (_swigobj->GetBitmap())
4190 static PyObject *_wrap_wxPyBitmapShape_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4191 PyObject * _resultobj;
4192 wxBitmap * _result;
4193 wxPyBitmapShape * _arg0;
4194 PyObject * _argo0 = 0;
4195 char *_kwnames[] = { "self", NULL };
4196 char _ptemp[128];
4197
4198 self = self;
4199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyBitmapShape_GetBitmap",_kwnames,&_argo0))
4200 return NULL;
4201 if (_argo0) {
4202 if (_argo0 == Py_None) { _arg0 = NULL; }
4203 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4204 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_GetBitmap. Expected _wxPyBitmapShape_p.");
4205 return NULL;
4206 }
4207 }
4208 {
4209 PyThreadState* __tstate = wxPyBeginAllowThreads();
4210 wxBitmap & _result_ref = wxPyBitmapShape_GetBitmap(_arg0);
4211 _result = (wxBitmap *) &_result_ref;
4212
4213 wxPyEndAllowThreads(__tstate);
4214 if (PyErr_Occurred()) return NULL;
4215 } if (_result) {
4216 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
4217 _resultobj = Py_BuildValue("s",_ptemp);
4218 } else {
4219 Py_INCREF(Py_None);
4220 _resultobj = Py_None;
4221 }
4222 return _resultobj;
4223 }
4224
4225 #define wxPyBitmapShape_GetFilename(_swigobj) (_swigobj->GetFilename())
4226 static PyObject *_wrap_wxPyBitmapShape_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
4227 PyObject * _resultobj;
4228 wxString * _result;
4229 wxPyBitmapShape * _arg0;
4230 PyObject * _argo0 = 0;
4231 char *_kwnames[] = { "self", NULL };
4232
4233 self = self;
4234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyBitmapShape_GetFilename",_kwnames,&_argo0))
4235 return NULL;
4236 if (_argo0) {
4237 if (_argo0 == Py_None) { _arg0 = NULL; }
4238 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4239 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_GetFilename. Expected _wxPyBitmapShape_p.");
4240 return NULL;
4241 }
4242 }
4243 {
4244 PyThreadState* __tstate = wxPyBeginAllowThreads();
4245 _result = new wxString (wxPyBitmapShape_GetFilename(_arg0));
4246
4247 wxPyEndAllowThreads(__tstate);
4248 if (PyErr_Occurred()) return NULL;
4249 }{
4250 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4251 }
4252 {
4253 delete _result;
4254 }
4255 return _resultobj;
4256 }
4257
4258 #define wxPyBitmapShape_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
4259 static PyObject *_wrap_wxPyBitmapShape_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4260 PyObject * _resultobj;
4261 wxPyBitmapShape * _arg0;
4262 wxBitmap * _arg1;
4263 PyObject * _argo0 = 0;
4264 PyObject * _argo1 = 0;
4265 char *_kwnames[] = { "self","bitmap", NULL };
4266
4267 self = self;
4268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_SetBitmap",_kwnames,&_argo0,&_argo1))
4269 return NULL;
4270 if (_argo0) {
4271 if (_argo0 == Py_None) { _arg0 = NULL; }
4272 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4273 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_SetBitmap. Expected _wxPyBitmapShape_p.");
4274 return NULL;
4275 }
4276 }
4277 if (_argo1) {
4278 if (_argo1 == Py_None) { _arg1 = NULL; }
4279 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
4280 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_SetBitmap. Expected _wxBitmap_p.");
4281 return NULL;
4282 }
4283 }
4284 {
4285 PyThreadState* __tstate = wxPyBeginAllowThreads();
4286 wxPyBitmapShape_SetBitmap(_arg0,*_arg1);
4287
4288 wxPyEndAllowThreads(__tstate);
4289 if (PyErr_Occurred()) return NULL;
4290 } Py_INCREF(Py_None);
4291 _resultobj = Py_None;
4292 return _resultobj;
4293 }
4294
4295 #define wxPyBitmapShape_SetFilename(_swigobj,_swigarg0) (_swigobj->SetFilename(_swigarg0))
4296 static PyObject *_wrap_wxPyBitmapShape_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
4297 PyObject * _resultobj;
4298 wxPyBitmapShape * _arg0;
4299 wxString * _arg1;
4300 PyObject * _argo0 = 0;
4301 PyObject * _obj1 = 0;
4302 char *_kwnames[] = { "self","filename", NULL };
4303
4304 self = self;
4305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_SetFilename",_kwnames,&_argo0,&_obj1))
4306 return NULL;
4307 if (_argo0) {
4308 if (_argo0 == Py_None) { _arg0 = NULL; }
4309 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4310 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_SetFilename. Expected _wxPyBitmapShape_p.");
4311 return NULL;
4312 }
4313 }
4314 {
4315 #if PYTHON_API_VERSION >= 1009
4316 char* tmpPtr; int tmpSize;
4317 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
4318 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4319 return NULL;
4320 }
4321 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
4322 return NULL;
4323 _arg1 = new wxString(tmpPtr, tmpSize);
4324 #else
4325 if (!PyString_Check(_obj1)) {
4326 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4327 return NULL;
4328 }
4329 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
4330 #endif
4331 }
4332 {
4333 PyThreadState* __tstate = wxPyBeginAllowThreads();
4334 wxPyBitmapShape_SetFilename(_arg0,*_arg1);
4335
4336 wxPyEndAllowThreads(__tstate);
4337 if (PyErr_Occurred()) return NULL;
4338 } Py_INCREF(Py_None);
4339 _resultobj = Py_None;
4340 {
4341 if (_obj1)
4342 delete _arg1;
4343 }
4344 return _resultobj;
4345 }
4346
4347 #define wxPyBitmapShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
4348 static PyObject *_wrap_wxPyBitmapShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
4349 PyObject * _resultobj;
4350 wxPyBitmapShape * _arg0;
4351 PyObject * _argo0 = 0;
4352 char *_kwnames[] = { "self", NULL };
4353
4354 self = self;
4355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyBitmapShape_base_OnDelete",_kwnames,&_argo0))
4356 return NULL;
4357 if (_argo0) {
4358 if (_argo0 == Py_None) { _arg0 = NULL; }
4359 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4360 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDelete. Expected _wxPyBitmapShape_p.");
4361 return NULL;
4362 }
4363 }
4364 {
4365 PyThreadState* __tstate = wxPyBeginAllowThreads();
4366 wxPyBitmapShape_base_OnDelete(_arg0);
4367
4368 wxPyEndAllowThreads(__tstate);
4369 if (PyErr_Occurred()) return NULL;
4370 } Py_INCREF(Py_None);
4371 _resultobj = Py_None;
4372 return _resultobj;
4373 }
4374
4375 #define wxPyBitmapShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
4376 static PyObject *_wrap_wxPyBitmapShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
4377 PyObject * _resultobj;
4378 wxPyBitmapShape * _arg0;
4379 wxDC * _arg1;
4380 PyObject * _argo0 = 0;
4381 PyObject * _argo1 = 0;
4382 char *_kwnames[] = { "self","dc", NULL };
4383
4384 self = self;
4385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnDraw",_kwnames,&_argo0,&_argo1))
4386 return NULL;
4387 if (_argo0) {
4388 if (_argo0 == Py_None) { _arg0 = NULL; }
4389 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4390 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDraw. Expected _wxPyBitmapShape_p.");
4391 return NULL;
4392 }
4393 }
4394 if (_argo1) {
4395 if (_argo1 == Py_None) { _arg1 = NULL; }
4396 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4397 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnDraw. Expected _wxDC_p.");
4398 return NULL;
4399 }
4400 }
4401 {
4402 PyThreadState* __tstate = wxPyBeginAllowThreads();
4403 wxPyBitmapShape_base_OnDraw(_arg0,*_arg1);
4404
4405 wxPyEndAllowThreads(__tstate);
4406 if (PyErr_Occurred()) return NULL;
4407 } Py_INCREF(Py_None);
4408 _resultobj = Py_None;
4409 return _resultobj;
4410 }
4411
4412 #define wxPyBitmapShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
4413 static PyObject *_wrap_wxPyBitmapShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
4414 PyObject * _resultobj;
4415 wxPyBitmapShape * _arg0;
4416 wxDC * _arg1;
4417 PyObject * _argo0 = 0;
4418 PyObject * _argo1 = 0;
4419 char *_kwnames[] = { "self","dc", NULL };
4420
4421 self = self;
4422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1))
4423 return NULL;
4424 if (_argo0) {
4425 if (_argo0 == Py_None) { _arg0 = NULL; }
4426 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4427 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDrawContents. Expected _wxPyBitmapShape_p.");
4428 return NULL;
4429 }
4430 }
4431 if (_argo1) {
4432 if (_argo1 == Py_None) { _arg1 = NULL; }
4433 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4434 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnDrawContents. Expected _wxDC_p.");
4435 return NULL;
4436 }
4437 }
4438 {
4439 PyThreadState* __tstate = wxPyBeginAllowThreads();
4440 wxPyBitmapShape_base_OnDrawContents(_arg0,*_arg1);
4441
4442 wxPyEndAllowThreads(__tstate);
4443 if (PyErr_Occurred()) return NULL;
4444 } Py_INCREF(Py_None);
4445 _resultobj = Py_None;
4446 return _resultobj;
4447 }
4448
4449 #define wxPyBitmapShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
4450 static PyObject *_wrap_wxPyBitmapShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
4451 PyObject * _resultobj;
4452 wxPyBitmapShape * _arg0;
4453 wxDC * _arg1;
4454 bool _arg2 = (bool ) FALSE;
4455 PyObject * _argo0 = 0;
4456 PyObject * _argo1 = 0;
4457 int tempbool2 = (int) FALSE;
4458 char *_kwnames[] = { "self","dc","erase", NULL };
4459
4460 self = self;
4461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyBitmapShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2))
4462 return NULL;
4463 if (_argo0) {
4464 if (_argo0 == Py_None) { _arg0 = NULL; }
4465 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4466 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDrawBranches. Expected _wxPyBitmapShape_p.");
4467 return NULL;
4468 }
4469 }
4470 if (_argo1) {
4471 if (_argo1 == Py_None) { _arg1 = NULL; }
4472 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4473 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnDrawBranches. Expected _wxDC_p.");
4474 return NULL;
4475 }
4476 }
4477 _arg2 = (bool ) tempbool2;
4478 {
4479 PyThreadState* __tstate = wxPyBeginAllowThreads();
4480 wxPyBitmapShape_base_OnDrawBranches(_arg0,*_arg1,_arg2);
4481
4482 wxPyEndAllowThreads(__tstate);
4483 if (PyErr_Occurred()) return NULL;
4484 } Py_INCREF(Py_None);
4485 _resultobj = Py_None;
4486 return _resultobj;
4487 }
4488
4489 #define wxPyBitmapShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
4490 static PyObject *_wrap_wxPyBitmapShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
4491 PyObject * _resultobj;
4492 wxPyBitmapShape * _arg0;
4493 wxDC * _arg1;
4494 PyObject * _argo0 = 0;
4495 PyObject * _argo1 = 0;
4496 char *_kwnames[] = { "self","dc", NULL };
4497
4498 self = self;
4499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1))
4500 return NULL;
4501 if (_argo0) {
4502 if (_argo0 == Py_None) { _arg0 = NULL; }
4503 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4504 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnMoveLinks. Expected _wxPyBitmapShape_p.");
4505 return NULL;
4506 }
4507 }
4508 if (_argo1) {
4509 if (_argo1 == Py_None) { _arg1 = NULL; }
4510 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4511 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnMoveLinks. Expected _wxDC_p.");
4512 return NULL;
4513 }
4514 }
4515 {
4516 PyThreadState* __tstate = wxPyBeginAllowThreads();
4517 wxPyBitmapShape_base_OnMoveLinks(_arg0,*_arg1);
4518
4519 wxPyEndAllowThreads(__tstate);
4520 if (PyErr_Occurred()) return NULL;
4521 } Py_INCREF(Py_None);
4522 _resultobj = Py_None;
4523 return _resultobj;
4524 }
4525
4526 #define wxPyBitmapShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
4527 static PyObject *_wrap_wxPyBitmapShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
4528 PyObject * _resultobj;
4529 wxPyBitmapShape * _arg0;
4530 wxDC * _arg1;
4531 PyObject * _argo0 = 0;
4532 PyObject * _argo1 = 0;
4533 char *_kwnames[] = { "self","dc", NULL };
4534
4535 self = self;
4536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnErase",_kwnames,&_argo0,&_argo1))
4537 return NULL;
4538 if (_argo0) {
4539 if (_argo0 == Py_None) { _arg0 = NULL; }
4540 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4541 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnErase. Expected _wxPyBitmapShape_p.");
4542 return NULL;
4543 }
4544 }
4545 if (_argo1) {
4546 if (_argo1 == Py_None) { _arg1 = NULL; }
4547 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4548 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnErase. Expected _wxDC_p.");
4549 return NULL;
4550 }
4551 }
4552 {
4553 PyThreadState* __tstate = wxPyBeginAllowThreads();
4554 wxPyBitmapShape_base_OnErase(_arg0,*_arg1);
4555
4556 wxPyEndAllowThreads(__tstate);
4557 if (PyErr_Occurred()) return NULL;
4558 } Py_INCREF(Py_None);
4559 _resultobj = Py_None;
4560 return _resultobj;
4561 }
4562
4563 #define wxPyBitmapShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
4564 static PyObject *_wrap_wxPyBitmapShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
4565 PyObject * _resultobj;
4566 wxPyBitmapShape * _arg0;
4567 wxDC * _arg1;
4568 PyObject * _argo0 = 0;
4569 PyObject * _argo1 = 0;
4570 char *_kwnames[] = { "self","dc", NULL };
4571
4572 self = self;
4573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1))
4574 return NULL;
4575 if (_argo0) {
4576 if (_argo0 == Py_None) { _arg0 = NULL; }
4577 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4578 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnEraseContents. Expected _wxPyBitmapShape_p.");
4579 return NULL;
4580 }
4581 }
4582 if (_argo1) {
4583 if (_argo1 == Py_None) { _arg1 = NULL; }
4584 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4585 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnEraseContents. Expected _wxDC_p.");
4586 return NULL;
4587 }
4588 }
4589 {
4590 PyThreadState* __tstate = wxPyBeginAllowThreads();
4591 wxPyBitmapShape_base_OnEraseContents(_arg0,*_arg1);
4592
4593 wxPyEndAllowThreads(__tstate);
4594 if (PyErr_Occurred()) return NULL;
4595 } Py_INCREF(Py_None);
4596 _resultobj = Py_None;
4597 return _resultobj;
4598 }
4599
4600 #define wxPyBitmapShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
4601 static PyObject *_wrap_wxPyBitmapShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
4602 PyObject * _resultobj;
4603 wxPyBitmapShape * _arg0;
4604 wxDC * _arg1;
4605 PyObject * _argo0 = 0;
4606 PyObject * _argo1 = 0;
4607 char *_kwnames[] = { "self","dc", NULL };
4608
4609 self = self;
4610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnHighlight",_kwnames,&_argo0,&_argo1))
4611 return NULL;
4612 if (_argo0) {
4613 if (_argo0 == Py_None) { _arg0 = NULL; }
4614 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4615 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnHighlight. Expected _wxPyBitmapShape_p.");
4616 return NULL;
4617 }
4618 }
4619 if (_argo1) {
4620 if (_argo1 == Py_None) { _arg1 = NULL; }
4621 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4622 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnHighlight. Expected _wxDC_p.");
4623 return NULL;
4624 }
4625 }
4626 {
4627 PyThreadState* __tstate = wxPyBeginAllowThreads();
4628 wxPyBitmapShape_base_OnHighlight(_arg0,*_arg1);
4629
4630 wxPyEndAllowThreads(__tstate);
4631 if (PyErr_Occurred()) return NULL;
4632 } Py_INCREF(Py_None);
4633 _resultobj = Py_None;
4634 return _resultobj;
4635 }
4636
4637 #define wxPyBitmapShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4638 static PyObject *_wrap_wxPyBitmapShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
4639 PyObject * _resultobj;
4640 wxPyBitmapShape * _arg0;
4641 double _arg1;
4642 double _arg2;
4643 int _arg3 = (int ) 0;
4644 int _arg4 = (int ) 0;
4645 PyObject * _argo0 = 0;
4646 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
4647
4648 self = self;
4649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
4650 return NULL;
4651 if (_argo0) {
4652 if (_argo0 == Py_None) { _arg0 = NULL; }
4653 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4654 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnLeftClick. Expected _wxPyBitmapShape_p.");
4655 return NULL;
4656 }
4657 }
4658 {
4659 PyThreadState* __tstate = wxPyBeginAllowThreads();
4660 wxPyBitmapShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4);
4661
4662 wxPyEndAllowThreads(__tstate);
4663 if (PyErr_Occurred()) return NULL;
4664 } Py_INCREF(Py_None);
4665 _resultobj = Py_None;
4666 return _resultobj;
4667 }
4668
4669 #define wxPyBitmapShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4670 static PyObject *_wrap_wxPyBitmapShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
4671 PyObject * _resultobj;
4672 wxPyBitmapShape * _arg0;
4673 double _arg1;
4674 double _arg2;
4675 int _arg3 = (int ) 0;
4676 int _arg4 = (int ) 0;
4677 PyObject * _argo0 = 0;
4678 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
4679
4680 self = self;
4681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
4682 return NULL;
4683 if (_argo0) {
4684 if (_argo0 == Py_None) { _arg0 = NULL; }
4685 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4686 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnLeftDoubleClick. Expected _wxPyBitmapShape_p.");
4687 return NULL;
4688 }
4689 }
4690 {
4691 PyThreadState* __tstate = wxPyBeginAllowThreads();
4692 wxPyBitmapShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4);
4693
4694 wxPyEndAllowThreads(__tstate);
4695 if (PyErr_Occurred()) return NULL;
4696 } Py_INCREF(Py_None);
4697 _resultobj = Py_None;
4698 return _resultobj;
4699 }
4700
4701 #define wxPyBitmapShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4702 static PyObject *_wrap_wxPyBitmapShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
4703 PyObject * _resultobj;
4704 wxPyBitmapShape * _arg0;
4705 double _arg1;
4706 double _arg2;
4707 int _arg3 = (int ) 0;
4708 int _arg4 = (int ) 0;
4709 PyObject * _argo0 = 0;
4710 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
4711
4712 self = self;
4713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
4714 return NULL;
4715 if (_argo0) {
4716 if (_argo0 == Py_None) { _arg0 = NULL; }
4717 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4718 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnRightClick. Expected _wxPyBitmapShape_p.");
4719 return NULL;
4720 }
4721 }
4722 {
4723 PyThreadState* __tstate = wxPyBeginAllowThreads();
4724 wxPyBitmapShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4);
4725
4726 wxPyEndAllowThreads(__tstate);
4727 if (PyErr_Occurred()) return NULL;
4728 } Py_INCREF(Py_None);
4729 _resultobj = Py_None;
4730 return _resultobj;
4731 }
4732
4733 #define wxPyBitmapShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
4734 static PyObject *_wrap_wxPyBitmapShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4735 PyObject * _resultobj;
4736 wxPyBitmapShape * _arg0;
4737 double _arg1;
4738 double _arg2;
4739 PyObject * _argo0 = 0;
4740 char *_kwnames[] = { "self","x","y", NULL };
4741
4742 self = self;
4743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyBitmapShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2))
4744 return NULL;
4745 if (_argo0) {
4746 if (_argo0 == Py_None) { _arg0 = NULL; }
4747 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4748 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnSize. Expected _wxPyBitmapShape_p.");
4749 return NULL;
4750 }
4751 }
4752 {
4753 PyThreadState* __tstate = wxPyBeginAllowThreads();
4754 wxPyBitmapShape_base_OnSize(_arg0,_arg1,_arg2);
4755
4756 wxPyEndAllowThreads(__tstate);
4757 if (PyErr_Occurred()) return NULL;
4758 } Py_INCREF(Py_None);
4759 _resultobj = Py_None;
4760 return _resultobj;
4761 }
4762
4763 #define wxPyBitmapShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4764 static PyObject *_wrap_wxPyBitmapShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
4765 PyObject * _resultobj;
4766 bool _result;
4767 wxPyBitmapShape * _arg0;
4768 wxDC * _arg1;
4769 double _arg2;
4770 double _arg3;
4771 double _arg4;
4772 double _arg5;
4773 bool _arg6 = (bool ) TRUE;
4774 PyObject * _argo0 = 0;
4775 PyObject * _argo1 = 0;
4776 int tempbool6 = (int) TRUE;
4777 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
4778
4779 self = self;
4780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyBitmapShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
4781 return NULL;
4782 if (_argo0) {
4783 if (_argo0 == Py_None) { _arg0 = NULL; }
4784 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4785 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnMovePre. Expected _wxPyBitmapShape_p.");
4786 return NULL;
4787 }
4788 }
4789 if (_argo1) {
4790 if (_argo1 == Py_None) { _arg1 = NULL; }
4791 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4792 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnMovePre. Expected _wxDC_p.");
4793 return NULL;
4794 }
4795 }
4796 _arg6 = (bool ) tempbool6;
4797 {
4798 PyThreadState* __tstate = wxPyBeginAllowThreads();
4799 _result = (bool )wxPyBitmapShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
4800
4801 wxPyEndAllowThreads(__tstate);
4802 if (PyErr_Occurred()) return NULL;
4803 } _resultobj = Py_BuildValue("i",_result);
4804 return _resultobj;
4805 }
4806
4807 #define wxPyBitmapShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4808 static PyObject *_wrap_wxPyBitmapShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
4809 PyObject * _resultobj;
4810 wxPyBitmapShape * _arg0;
4811 wxDC * _arg1;
4812 double _arg2;
4813 double _arg3;
4814 double _arg4;
4815 double _arg5;
4816 bool _arg6 = (bool ) TRUE;
4817 PyObject * _argo0 = 0;
4818 PyObject * _argo1 = 0;
4819 int tempbool6 = (int) TRUE;
4820 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
4821
4822 self = self;
4823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyBitmapShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
4824 return NULL;
4825 if (_argo0) {
4826 if (_argo0 == Py_None) { _arg0 = NULL; }
4827 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4828 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnMovePost. Expected _wxPyBitmapShape_p.");
4829 return NULL;
4830 }
4831 }
4832 if (_argo1) {
4833 if (_argo1 == Py_None) { _arg1 = NULL; }
4834 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4835 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnMovePost. Expected _wxDC_p.");
4836 return NULL;
4837 }
4838 }
4839 _arg6 = (bool ) tempbool6;
4840 {
4841 PyThreadState* __tstate = wxPyBeginAllowThreads();
4842 wxPyBitmapShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
4843
4844 wxPyEndAllowThreads(__tstate);
4845 if (PyErr_Occurred()) return NULL;
4846 } Py_INCREF(Py_None);
4847 _resultobj = Py_None;
4848 return _resultobj;
4849 }
4850
4851 #define wxPyBitmapShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4852 static PyObject *_wrap_wxPyBitmapShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
4853 PyObject * _resultobj;
4854 wxPyBitmapShape * _arg0;
4855 bool _arg1;
4856 double _arg2;
4857 double _arg3;
4858 int _arg4 = (int ) 0;
4859 int _arg5 = (int ) 0;
4860 PyObject * _argo0 = 0;
4861 int tempbool1;
4862 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
4863
4864 self = self;
4865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyBitmapShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
4866 return NULL;
4867 if (_argo0) {
4868 if (_argo0 == Py_None) { _arg0 = NULL; }
4869 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4870 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDragLeft. Expected _wxPyBitmapShape_p.");
4871 return NULL;
4872 }
4873 }
4874 _arg1 = (bool ) tempbool1;
4875 {
4876 PyThreadState* __tstate = wxPyBeginAllowThreads();
4877 wxPyBitmapShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
4878
4879 wxPyEndAllowThreads(__tstate);
4880 if (PyErr_Occurred()) return NULL;
4881 } Py_INCREF(Py_None);
4882 _resultobj = Py_None;
4883 return _resultobj;
4884 }
4885
4886 #define wxPyBitmapShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4887 static PyObject *_wrap_wxPyBitmapShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
4888 PyObject * _resultobj;
4889 wxPyBitmapShape * _arg0;
4890 double _arg1;
4891 double _arg2;
4892 int _arg3 = (int ) 0;
4893 int _arg4 = (int ) 0;
4894 PyObject * _argo0 = 0;
4895 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
4896
4897 self = self;
4898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
4899 return NULL;
4900 if (_argo0) {
4901 if (_argo0 == Py_None) { _arg0 = NULL; }
4902 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4903 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnBeginDragLeft. Expected _wxPyBitmapShape_p.");
4904 return NULL;
4905 }
4906 }
4907 {
4908 PyThreadState* __tstate = wxPyBeginAllowThreads();
4909 wxPyBitmapShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
4910
4911 wxPyEndAllowThreads(__tstate);
4912 if (PyErr_Occurred()) return NULL;
4913 } Py_INCREF(Py_None);
4914 _resultobj = Py_None;
4915 return _resultobj;
4916 }
4917
4918 #define wxPyBitmapShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4919 static PyObject *_wrap_wxPyBitmapShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
4920 PyObject * _resultobj;
4921 wxPyBitmapShape * _arg0;
4922 double _arg1;
4923 double _arg2;
4924 int _arg3 = (int ) 0;
4925 int _arg4 = (int ) 0;
4926 PyObject * _argo0 = 0;
4927 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
4928
4929 self = self;
4930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
4931 return NULL;
4932 if (_argo0) {
4933 if (_argo0 == Py_None) { _arg0 = NULL; }
4934 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4935 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnEndDragLeft. Expected _wxPyBitmapShape_p.");
4936 return NULL;
4937 }
4938 }
4939 {
4940 PyThreadState* __tstate = wxPyBeginAllowThreads();
4941 wxPyBitmapShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
4942
4943 wxPyEndAllowThreads(__tstate);
4944 if (PyErr_Occurred()) return NULL;
4945 } Py_INCREF(Py_None);
4946 _resultobj = Py_None;
4947 return _resultobj;
4948 }
4949
4950 #define wxPyBitmapShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4951 static PyObject *_wrap_wxPyBitmapShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
4952 PyObject * _resultobj;
4953 wxPyBitmapShape * _arg0;
4954 bool _arg1;
4955 double _arg2;
4956 double _arg3;
4957 int _arg4 = (int ) 0;
4958 int _arg5 = (int ) 0;
4959 PyObject * _argo0 = 0;
4960 int tempbool1;
4961 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
4962
4963 self = self;
4964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyBitmapShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
4965 return NULL;
4966 if (_argo0) {
4967 if (_argo0 == Py_None) { _arg0 = NULL; }
4968 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4969 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDragRight. Expected _wxPyBitmapShape_p.");
4970 return NULL;
4971 }
4972 }
4973 _arg1 = (bool ) tempbool1;
4974 {
4975 PyThreadState* __tstate = wxPyBeginAllowThreads();
4976 wxPyBitmapShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
4977
4978 wxPyEndAllowThreads(__tstate);
4979 if (PyErr_Occurred()) return NULL;
4980 } Py_INCREF(Py_None);
4981 _resultobj = Py_None;
4982 return _resultobj;
4983 }
4984
4985 #define wxPyBitmapShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4986 static PyObject *_wrap_wxPyBitmapShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
4987 PyObject * _resultobj;
4988 wxPyBitmapShape * _arg0;
4989 double _arg1;
4990 double _arg2;
4991 int _arg3 = (int ) 0;
4992 int _arg4 = (int ) 0;
4993 PyObject * _argo0 = 0;
4994 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
4995
4996 self = self;
4997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
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_OnBeginDragRight. Expected _wxPyBitmapShape_p.");
5003 return NULL;
5004 }
5005 }
5006 {
5007 PyThreadState* __tstate = wxPyBeginAllowThreads();
5008 wxPyBitmapShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
5009
5010 wxPyEndAllowThreads(__tstate);
5011 if (PyErr_Occurred()) return NULL;
5012 } Py_INCREF(Py_None);
5013 _resultobj = Py_None;
5014 return _resultobj;
5015 }
5016
5017 #define wxPyBitmapShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5018 static PyObject *_wrap_wxPyBitmapShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
5019 PyObject * _resultobj;
5020 wxPyBitmapShape * _arg0;
5021 double _arg1;
5022 double _arg2;
5023 int _arg3 = (int ) 0;
5024 int _arg4 = (int ) 0;
5025 PyObject * _argo0 = 0;
5026 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
5027
5028 self = self;
5029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
5030 return NULL;
5031 if (_argo0) {
5032 if (_argo0 == Py_None) { _arg0 = NULL; }
5033 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
5034 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnEndDragRight. Expected _wxPyBitmapShape_p.");
5035 return NULL;
5036 }
5037 }
5038 {
5039 PyThreadState* __tstate = wxPyBeginAllowThreads();
5040 wxPyBitmapShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
5041
5042 wxPyEndAllowThreads(__tstate);
5043 if (PyErr_Occurred()) return NULL;
5044 } Py_INCREF(Py_None);
5045 _resultobj = Py_None;
5046 return _resultobj;
5047 }
5048
5049 #define wxPyBitmapShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5050 static PyObject *_wrap_wxPyBitmapShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
5051 PyObject * _resultobj;
5052 wxPyBitmapShape * _arg0;
5053 wxDC * _arg1;
5054 double _arg2;
5055 double _arg3;
5056 double _arg4;
5057 double _arg5;
5058 PyObject * _argo0 = 0;
5059 PyObject * _argo1 = 0;
5060 char *_kwnames[] = { "self","dc","x","y","w","h", NULL };
5061
5062 self = self;
5063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyBitmapShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
5064 return NULL;
5065 if (_argo0) {
5066 if (_argo0 == Py_None) { _arg0 = NULL; }
5067 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
5068 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDrawOutline. Expected _wxPyBitmapShape_p.");
5069 return NULL;
5070 }
5071 }
5072 if (_argo1) {
5073 if (_argo1 == Py_None) { _arg1 = NULL; }
5074 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
5075 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnDrawOutline. Expected _wxDC_p.");
5076 return NULL;
5077 }
5078 }
5079 {
5080 PyThreadState* __tstate = wxPyBeginAllowThreads();
5081 wxPyBitmapShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5);
5082
5083 wxPyEndAllowThreads(__tstate);
5084 if (PyErr_Occurred()) return NULL;
5085 } Py_INCREF(Py_None);
5086 _resultobj = Py_None;
5087 return _resultobj;
5088 }
5089
5090 #define wxPyBitmapShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
5091 static PyObject *_wrap_wxPyBitmapShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
5092 PyObject * _resultobj;
5093 wxPyBitmapShape * _arg0;
5094 wxDC * _arg1;
5095 PyObject * _argo0 = 0;
5096 PyObject * _argo1 = 0;
5097 char *_kwnames[] = { "self","dc", NULL };
5098
5099 self = self;
5100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1))
5101 return NULL;
5102 if (_argo0) {
5103 if (_argo0 == Py_None) { _arg0 = NULL; }
5104 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
5105 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDrawControlPoints. Expected _wxPyBitmapShape_p.");
5106 return NULL;
5107 }
5108 }
5109 if (_argo1) {
5110 if (_argo1 == Py_None) { _arg1 = NULL; }
5111 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
5112 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnDrawControlPoints. Expected _wxDC_p.");
5113 return NULL;
5114 }
5115 }
5116 {
5117 PyThreadState* __tstate = wxPyBeginAllowThreads();
5118 wxPyBitmapShape_base_OnDrawControlPoints(_arg0,*_arg1);
5119
5120 wxPyEndAllowThreads(__tstate);
5121 if (PyErr_Occurred()) return NULL;
5122 } Py_INCREF(Py_None);
5123 _resultobj = Py_None;
5124 return _resultobj;
5125 }
5126
5127 #define wxPyBitmapShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
5128 static PyObject *_wrap_wxPyBitmapShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
5129 PyObject * _resultobj;
5130 wxPyBitmapShape * _arg0;
5131 wxDC * _arg1;
5132 PyObject * _argo0 = 0;
5133 PyObject * _argo1 = 0;
5134 char *_kwnames[] = { "self","dc", NULL };
5135
5136 self = self;
5137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1))
5138 return NULL;
5139 if (_argo0) {
5140 if (_argo0 == Py_None) { _arg0 = NULL; }
5141 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
5142 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnEraseControlPoints. Expected _wxPyBitmapShape_p.");
5143 return NULL;
5144 }
5145 }
5146 if (_argo1) {
5147 if (_argo1 == Py_None) { _arg1 = NULL; }
5148 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
5149 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnEraseControlPoints. Expected _wxDC_p.");
5150 return NULL;
5151 }
5152 }
5153 {
5154 PyThreadState* __tstate = wxPyBeginAllowThreads();
5155 wxPyBitmapShape_base_OnEraseControlPoints(_arg0,*_arg1);
5156
5157 wxPyEndAllowThreads(__tstate);
5158 if (PyErr_Occurred()) return NULL;
5159 } Py_INCREF(Py_None);
5160 _resultobj = Py_None;
5161 return _resultobj;
5162 }
5163
5164 #define wxPyBitmapShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
5165 static PyObject *_wrap_wxPyBitmapShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
5166 PyObject * _resultobj;
5167 wxPyBitmapShape * _arg0;
5168 wxDC * _arg1;
5169 bool _arg2 = (bool ) TRUE;
5170 PyObject * _argo0 = 0;
5171 PyObject * _argo1 = 0;
5172 int tempbool2 = (int) TRUE;
5173 char *_kwnames[] = { "self","dc","moveControlPoints", NULL };
5174
5175 self = self;
5176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyBitmapShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2))
5177 return NULL;
5178 if (_argo0) {
5179 if (_argo0 == Py_None) { _arg0 = NULL; }
5180 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
5181 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnMoveLink. Expected _wxPyBitmapShape_p.");
5182 return NULL;
5183 }
5184 }
5185 if (_argo1) {
5186 if (_argo1 == Py_None) { _arg1 = NULL; }
5187 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
5188 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnMoveLink. Expected _wxDC_p.");
5189 return NULL;
5190 }
5191 }
5192 _arg2 = (bool ) tempbool2;
5193 {
5194 PyThreadState* __tstate = wxPyBeginAllowThreads();
5195 wxPyBitmapShape_base_OnMoveLink(_arg0,*_arg1,_arg2);
5196
5197 wxPyEndAllowThreads(__tstate);
5198 if (PyErr_Occurred()) return NULL;
5199 } Py_INCREF(Py_None);
5200 _resultobj = Py_None;
5201 return _resultobj;
5202 }
5203
5204 #define wxPyBitmapShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5205 static PyObject *_wrap_wxPyBitmapShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
5206 PyObject * _resultobj;
5207 wxPyBitmapShape * _arg0;
5208 wxPyControlPoint * _arg1;
5209 bool _arg2;
5210 double _arg3;
5211 double _arg4;
5212 int _arg5 = (int ) 0;
5213 int _arg6 = (int ) 0;
5214 PyObject * _argo0 = 0;
5215 PyObject * _argo1 = 0;
5216 int tempbool2;
5217 char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL };
5218
5219 self = self;
5220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyBitmapShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6))
5221 return NULL;
5222 if (_argo0) {
5223 if (_argo0 == Py_None) { _arg0 = NULL; }
5224 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
5225 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnSizingDragLeft. Expected _wxPyBitmapShape_p.");
5226 return NULL;
5227 }
5228 }
5229 if (_argo1) {
5230 if (_argo1 == Py_None) { _arg1 = NULL; }
5231 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
5232 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
5233 return NULL;
5234 }
5235 }
5236 _arg2 = (bool ) tempbool2;
5237 {
5238 PyThreadState* __tstate = wxPyBeginAllowThreads();
5239 wxPyBitmapShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
5240
5241 wxPyEndAllowThreads(__tstate);
5242 if (PyErr_Occurred()) return NULL;
5243 } Py_INCREF(Py_None);
5244 _resultobj = Py_None;
5245 return _resultobj;
5246 }
5247
5248 #define wxPyBitmapShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5249 static PyObject *_wrap_wxPyBitmapShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
5250 PyObject * _resultobj;
5251 wxPyBitmapShape * _arg0;
5252 wxPyControlPoint * _arg1;
5253 double _arg2;
5254 double _arg3;
5255 int _arg4 = (int ) 0;
5256 int _arg5 = (int ) 0;
5257 PyObject * _argo0 = 0;
5258 PyObject * _argo1 = 0;
5259 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
5260
5261 self = self;
5262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyBitmapShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
5263 return NULL;
5264 if (_argo0) {
5265 if (_argo0 == Py_None) { _arg0 = NULL; }
5266 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
5267 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnSizingBeginDragLeft. Expected _wxPyBitmapShape_p.");
5268 return NULL;
5269 }
5270 }
5271 if (_argo1) {
5272 if (_argo1 == Py_None) { _arg1 = NULL; }
5273 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
5274 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
5275 return NULL;
5276 }
5277 }
5278 {
5279 PyThreadState* __tstate = wxPyBeginAllowThreads();
5280 wxPyBitmapShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
5281
5282 wxPyEndAllowThreads(__tstate);
5283 if (PyErr_Occurred()) return NULL;
5284 } Py_INCREF(Py_None);
5285 _resultobj = Py_None;
5286 return _resultobj;
5287 }
5288
5289 #define wxPyBitmapShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5290 static PyObject *_wrap_wxPyBitmapShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
5291 PyObject * _resultobj;
5292 wxPyBitmapShape * _arg0;
5293 wxPyControlPoint * _arg1;
5294 double _arg2;
5295 double _arg3;
5296 int _arg4 = (int ) 0;
5297 int _arg5 = (int ) 0;
5298 PyObject * _argo0 = 0;
5299 PyObject * _argo1 = 0;
5300 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
5301
5302 self = self;
5303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyBitmapShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
5304 return NULL;
5305 if (_argo0) {
5306 if (_argo0 == Py_None) { _arg0 = NULL; }
5307 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
5308 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnSizingEndDragLeft. Expected _wxPyBitmapShape_p.");
5309 return NULL;
5310 }
5311 }
5312 if (_argo1) {
5313 if (_argo1 == Py_None) { _arg1 = NULL; }
5314 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
5315 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
5316 return NULL;
5317 }
5318 }
5319 {
5320 PyThreadState* __tstate = wxPyBeginAllowThreads();
5321 wxPyBitmapShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
5322
5323 wxPyEndAllowThreads(__tstate);
5324 if (PyErr_Occurred()) return NULL;
5325 } Py_INCREF(Py_None);
5326 _resultobj = Py_None;
5327 return _resultobj;
5328 }
5329
5330 #define wxPyBitmapShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
5331 static PyObject *_wrap_wxPyBitmapShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5332 PyObject * _resultobj;
5333 wxPyBitmapShape * _arg0;
5334 double _arg1;
5335 double _arg2;
5336 PyObject * _argo0 = 0;
5337 char *_kwnames[] = { "self","w","h", NULL };
5338
5339 self = self;
5340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyBitmapShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2))
5341 return NULL;
5342 if (_argo0) {
5343 if (_argo0 == Py_None) { _arg0 = NULL; }
5344 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
5345 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnBeginSize. Expected _wxPyBitmapShape_p.");
5346 return NULL;
5347 }
5348 }
5349 {
5350 PyThreadState* __tstate = wxPyBeginAllowThreads();
5351 wxPyBitmapShape_base_OnBeginSize(_arg0,_arg1,_arg2);
5352
5353 wxPyEndAllowThreads(__tstate);
5354 if (PyErr_Occurred()) return NULL;
5355 } Py_INCREF(Py_None);
5356 _resultobj = Py_None;
5357 return _resultobj;
5358 }
5359
5360 #define wxPyBitmapShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
5361 static PyObject *_wrap_wxPyBitmapShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5362 PyObject * _resultobj;
5363 wxPyBitmapShape * _arg0;
5364 double _arg1;
5365 double _arg2;
5366 PyObject * _argo0 = 0;
5367 char *_kwnames[] = { "self","w","h", NULL };
5368
5369 self = self;
5370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyBitmapShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2))
5371 return NULL;
5372 if (_argo0) {
5373 if (_argo0 == Py_None) { _arg0 = NULL; }
5374 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
5375 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnEndSize. Expected _wxPyBitmapShape_p.");
5376 return NULL;
5377 }
5378 }
5379 {
5380 PyThreadState* __tstate = wxPyBeginAllowThreads();
5381 wxPyBitmapShape_base_OnEndSize(_arg0,_arg1,_arg2);
5382
5383 wxPyEndAllowThreads(__tstate);
5384 if (PyErr_Occurred()) return NULL;
5385 } Py_INCREF(Py_None);
5386 _resultobj = Py_None;
5387 return _resultobj;
5388 }
5389
5390 static void *SwigwxPyDrawnShapeTowxPyRectangleShape(void *ptr) {
5391 wxPyDrawnShape *src;
5392 wxPyRectangleShape *dest;
5393 src = (wxPyDrawnShape *) ptr;
5394 dest = (wxPyRectangleShape *) src;
5395 return (void *) dest;
5396 }
5397
5398 static void *SwigwxPyDrawnShapeTowxPyShape(void *ptr) {
5399 wxPyDrawnShape *src;
5400 wxPyShape *dest;
5401 src = (wxPyDrawnShape *) ptr;
5402 dest = (wxPyShape *) src;
5403 return (void *) dest;
5404 }
5405
5406 static void *SwigwxPyDrawnShapeTowxPyShapeEvtHandler(void *ptr) {
5407 wxPyDrawnShape *src;
5408 wxPyShapeEvtHandler *dest;
5409 src = (wxPyDrawnShape *) ptr;
5410 dest = (wxPyShapeEvtHandler *) src;
5411 return (void *) dest;
5412 }
5413
5414 static void *SwigwxPyDrawnShapeTowxObject(void *ptr) {
5415 wxPyDrawnShape *src;
5416 wxObject *dest;
5417 src = (wxPyDrawnShape *) ptr;
5418 dest = (wxObject *) src;
5419 return (void *) dest;
5420 }
5421
5422 #define new_wxPyDrawnShape() (new wxPyDrawnShape())
5423 static PyObject *_wrap_new_wxPyDrawnShape(PyObject *self, PyObject *args, PyObject *kwargs) {
5424 PyObject * _resultobj;
5425 wxPyDrawnShape * _result;
5426 char *_kwnames[] = { NULL };
5427 char _ptemp[128];
5428
5429 self = self;
5430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyDrawnShape",_kwnames))
5431 return NULL;
5432 {
5433 PyThreadState* __tstate = wxPyBeginAllowThreads();
5434 _result = (wxPyDrawnShape *)new_wxPyDrawnShape();
5435
5436 wxPyEndAllowThreads(__tstate);
5437 if (PyErr_Occurred()) return NULL;
5438 } if (_result) {
5439 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyDrawnShape_p");
5440 _resultobj = Py_BuildValue("s",_ptemp);
5441 } else {
5442 Py_INCREF(Py_None);
5443 _resultobj = Py_None;
5444 }
5445 return _resultobj;
5446 }
5447
5448 #define wxPyDrawnShape__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5449 static PyObject *_wrap_wxPyDrawnShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5450 PyObject * _resultobj;
5451 wxPyDrawnShape * _arg0;
5452 PyObject * _arg1;
5453 PyObject * _arg2;
5454 PyObject * _argo0 = 0;
5455 PyObject * _obj1 = 0;
5456 PyObject * _obj2 = 0;
5457 char *_kwnames[] = { "self","self","_class", NULL };
5458
5459 self = self;
5460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyDrawnShape__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
5461 return NULL;
5462 if (_argo0) {
5463 if (_argo0 == Py_None) { _arg0 = NULL; }
5464 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5465 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape__setCallbackInfo. Expected _wxPyDrawnShape_p.");
5466 return NULL;
5467 }
5468 }
5469 {
5470 _arg1 = _obj1;
5471 }
5472 {
5473 _arg2 = _obj2;
5474 }
5475 {
5476 PyThreadState* __tstate = wxPyBeginAllowThreads();
5477 wxPyDrawnShape__setCallbackInfo(_arg0,_arg1,_arg2);
5478
5479 wxPyEndAllowThreads(__tstate);
5480 if (PyErr_Occurred()) return NULL;
5481 } Py_INCREF(Py_None);
5482 _resultobj = Py_None;
5483 return _resultobj;
5484 }
5485
5486 #define wxPyDrawnShape_CalculateSize(_swigobj) (_swigobj->CalculateSize())
5487 static PyObject *_wrap_wxPyDrawnShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5488 PyObject * _resultobj;
5489 wxPyDrawnShape * _arg0;
5490 PyObject * _argo0 = 0;
5491 char *_kwnames[] = { "self", NULL };
5492
5493 self = self;
5494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_CalculateSize",_kwnames,&_argo0))
5495 return NULL;
5496 if (_argo0) {
5497 if (_argo0 == Py_None) { _arg0 = NULL; }
5498 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5499 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_CalculateSize. Expected _wxPyDrawnShape_p.");
5500 return NULL;
5501 }
5502 }
5503 {
5504 PyThreadState* __tstate = wxPyBeginAllowThreads();
5505 wxPyDrawnShape_CalculateSize(_arg0);
5506
5507 wxPyEndAllowThreads(__tstate);
5508 if (PyErr_Occurred()) return NULL;
5509 } Py_INCREF(Py_None);
5510 _resultobj = Py_None;
5511 return _resultobj;
5512 }
5513
5514 #define wxPyDrawnShape_DestroyClippingRect(_swigobj) (_swigobj->DestroyClippingRect())
5515 static PyObject *_wrap_wxPyDrawnShape_DestroyClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
5516 PyObject * _resultobj;
5517 wxPyDrawnShape * _arg0;
5518 PyObject * _argo0 = 0;
5519 char *_kwnames[] = { "self", NULL };
5520
5521 self = self;
5522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_DestroyClippingRect",_kwnames,&_argo0))
5523 return NULL;
5524 if (_argo0) {
5525 if (_argo0 == Py_None) { _arg0 = NULL; }
5526 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5527 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DestroyClippingRect. Expected _wxPyDrawnShape_p.");
5528 return NULL;
5529 }
5530 }
5531 {
5532 PyThreadState* __tstate = wxPyBeginAllowThreads();
5533 wxPyDrawnShape_DestroyClippingRect(_arg0);
5534
5535 wxPyEndAllowThreads(__tstate);
5536 if (PyErr_Occurred()) return NULL;
5537 } Py_INCREF(Py_None);
5538 _resultobj = Py_None;
5539 return _resultobj;
5540 }
5541
5542 #define wxPyDrawnShape_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2))
5543 static PyObject *_wrap_wxPyDrawnShape_DrawArc(PyObject *self, PyObject *args, PyObject *kwargs) {
5544 PyObject * _resultobj;
5545 wxPyDrawnShape * _arg0;
5546 wxPoint * _arg1;
5547 wxPoint * _arg2;
5548 wxPoint * _arg3;
5549 PyObject * _argo0 = 0;
5550 wxPoint temp;
5551 PyObject * _obj1 = 0;
5552 wxPoint temp0;
5553 PyObject * _obj2 = 0;
5554 wxPoint temp1;
5555 PyObject * _obj3 = 0;
5556 char *_kwnames[] = { "self","centrePoint","startPoint","endPoint", NULL };
5557
5558 self = self;
5559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxPyDrawnShape_DrawArc",_kwnames,&_argo0,&_obj1,&_obj2,&_obj3))
5560 return NULL;
5561 if (_argo0) {
5562 if (_argo0 == Py_None) { _arg0 = NULL; }
5563 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5564 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawArc. Expected _wxPyDrawnShape_p.");
5565 return NULL;
5566 }
5567 }
5568 {
5569 _arg1 = &temp;
5570 if (! wxPoint_helper(_obj1, &_arg1))
5571 return NULL;
5572 }
5573 {
5574 _arg2 = &temp0;
5575 if (! wxPoint_helper(_obj2, &_arg2))
5576 return NULL;
5577 }
5578 {
5579 _arg3 = &temp1;
5580 if (! wxPoint_helper(_obj3, &_arg3))
5581 return NULL;
5582 }
5583 {
5584 PyThreadState* __tstate = wxPyBeginAllowThreads();
5585 wxPyDrawnShape_DrawArc(_arg0,*_arg1,*_arg2,*_arg3);
5586
5587 wxPyEndAllowThreads(__tstate);
5588 if (PyErr_Occurred()) return NULL;
5589 } Py_INCREF(Py_None);
5590 _resultobj = Py_None;
5591 return _resultobj;
5592 }
5593
5594 #define wxPyDrawnShape_DrawAtAngle(_swigobj,_swigarg0) (_swigobj->DrawAtAngle(_swigarg0))
5595 static PyObject *_wrap_wxPyDrawnShape_DrawAtAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
5596 PyObject * _resultobj;
5597 wxPyDrawnShape * _arg0;
5598 int _arg1;
5599 PyObject * _argo0 = 0;
5600 char *_kwnames[] = { "self","angle", NULL };
5601
5602 self = self;
5603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDrawnShape_DrawAtAngle",_kwnames,&_argo0,&_arg1))
5604 return NULL;
5605 if (_argo0) {
5606 if (_argo0 == Py_None) { _arg0 = NULL; }
5607 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5608 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawAtAngle. Expected _wxPyDrawnShape_p.");
5609 return NULL;
5610 }
5611 }
5612 {
5613 PyThreadState* __tstate = wxPyBeginAllowThreads();
5614 wxPyDrawnShape_DrawAtAngle(_arg0,_arg1);
5615
5616 wxPyEndAllowThreads(__tstate);
5617 if (PyErr_Occurred()) return NULL;
5618 } Py_INCREF(Py_None);
5619 _resultobj = Py_None;
5620 return _resultobj;
5621 }
5622
5623 #define wxPyDrawnShape_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2))
5624 static PyObject *_wrap_wxPyDrawnShape_DrawEllipticArc(PyObject *self, PyObject *args, PyObject *kwargs) {
5625 PyObject * _resultobj;
5626 wxPyDrawnShape * _arg0;
5627 wxRect * _arg1;
5628 double _arg2;
5629 double _arg3;
5630 PyObject * _argo0 = 0;
5631 wxRect temp;
5632 PyObject * _obj1 = 0;
5633 char *_kwnames[] = { "self","rect","startAngle","endAngle", NULL };
5634
5635 self = self;
5636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd:wxPyDrawnShape_DrawEllipticArc",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3))
5637 return NULL;
5638 if (_argo0) {
5639 if (_argo0 == Py_None) { _arg0 = NULL; }
5640 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5641 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawEllipticArc. Expected _wxPyDrawnShape_p.");
5642 return NULL;
5643 }
5644 }
5645 {
5646 _arg1 = &temp;
5647 if (! wxRect_helper(_obj1, &_arg1))
5648 return NULL;
5649 }
5650 {
5651 PyThreadState* __tstate = wxPyBeginAllowThreads();
5652 wxPyDrawnShape_DrawEllipticArc(_arg0,*_arg1,_arg2,_arg3);
5653
5654 wxPyEndAllowThreads(__tstate);
5655 if (PyErr_Occurred()) return NULL;
5656 } Py_INCREF(Py_None);
5657 _resultobj = Py_None;
5658 return _resultobj;
5659 }
5660
5661 #define wxPyDrawnShape_DrawLine(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawLine(_swigarg0,_swigarg1))
5662 static PyObject *_wrap_wxPyDrawnShape_DrawLine(PyObject *self, PyObject *args, PyObject *kwargs) {
5663 PyObject * _resultobj;
5664 wxPyDrawnShape * _arg0;
5665 wxPoint * _arg1;
5666 wxPoint * _arg2;
5667 PyObject * _argo0 = 0;
5668 wxPoint temp;
5669 PyObject * _obj1 = 0;
5670 wxPoint temp0;
5671 PyObject * _obj2 = 0;
5672 char *_kwnames[] = { "self","point1","point2", NULL };
5673
5674 self = self;
5675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyDrawnShape_DrawLine",_kwnames,&_argo0,&_obj1,&_obj2))
5676 return NULL;
5677 if (_argo0) {
5678 if (_argo0 == Py_None) { _arg0 = NULL; }
5679 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5680 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawLine. Expected _wxPyDrawnShape_p.");
5681 return NULL;
5682 }
5683 }
5684 {
5685 _arg1 = &temp;
5686 if (! wxPoint_helper(_obj1, &_arg1))
5687 return NULL;
5688 }
5689 {
5690 _arg2 = &temp0;
5691 if (! wxPoint_helper(_obj2, &_arg2))
5692 return NULL;
5693 }
5694 {
5695 PyThreadState* __tstate = wxPyBeginAllowThreads();
5696 wxPyDrawnShape_DrawLine(_arg0,*_arg1,*_arg2);
5697
5698 wxPyEndAllowThreads(__tstate);
5699 if (PyErr_Occurred()) return NULL;
5700 } Py_INCREF(Py_None);
5701 _resultobj = Py_None;
5702 return _resultobj;
5703 }
5704
5705 #define wxPyDrawnShape_DrawLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawLines(_swigarg0,_swigarg1))
5706 static PyObject *_wrap_wxPyDrawnShape_DrawLines(PyObject *self, PyObject *args, PyObject *kwargs) {
5707 PyObject * _resultobj;
5708 wxPyDrawnShape * _arg0;
5709 int _arg1;
5710 wxPoint * _arg2;
5711 PyObject * _argo0 = 0;
5712 int NPOINTS;
5713 PyObject * _obj2 = 0;
5714 char *_kwnames[] = { "self","points", NULL };
5715
5716 self = self;
5717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_DrawLines",_kwnames,&_argo0,&_obj2))
5718 return NULL;
5719 if (_argo0) {
5720 if (_argo0 == Py_None) { _arg0 = NULL; }
5721 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5722 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawLines. Expected _wxPyDrawnShape_p.");
5723 return NULL;
5724 }
5725 }
5726 if (_obj2)
5727 {
5728 _arg2 = wxPoint_LIST_helper(_obj2, &NPOINTS);
5729 if (_arg2 == NULL) {
5730 return NULL;
5731 }
5732 }
5733 {
5734 _arg1 = NPOINTS;
5735 }
5736 {
5737 PyThreadState* __tstate = wxPyBeginAllowThreads();
5738 wxPyDrawnShape_DrawLines(_arg0,_arg1,_arg2);
5739
5740 wxPyEndAllowThreads(__tstate);
5741 if (PyErr_Occurred()) return NULL;
5742 } Py_INCREF(Py_None);
5743 _resultobj = Py_None;
5744 {
5745 delete [] _arg2;
5746 }
5747 return _resultobj;
5748 }
5749
5750 #define wxPyDrawnShape_DrawPoint(_swigobj,_swigarg0) (_swigobj->DrawPoint(_swigarg0))
5751 static PyObject *_wrap_wxPyDrawnShape_DrawPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
5752 PyObject * _resultobj;
5753 wxPyDrawnShape * _arg0;
5754 wxPoint * _arg1;
5755 PyObject * _argo0 = 0;
5756 wxPoint temp;
5757 PyObject * _obj1 = 0;
5758 char *_kwnames[] = { "self","point", NULL };
5759
5760 self = self;
5761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_DrawPoint",_kwnames,&_argo0,&_obj1))
5762 return NULL;
5763 if (_argo0) {
5764 if (_argo0 == Py_None) { _arg0 = NULL; }
5765 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5766 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawPoint. Expected _wxPyDrawnShape_p.");
5767 return NULL;
5768 }
5769 }
5770 {
5771 _arg1 = &temp;
5772 if (! wxPoint_helper(_obj1, &_arg1))
5773 return NULL;
5774 }
5775 {
5776 PyThreadState* __tstate = wxPyBeginAllowThreads();
5777 wxPyDrawnShape_DrawPoint(_arg0,*_arg1);
5778
5779 wxPyEndAllowThreads(__tstate);
5780 if (PyErr_Occurred()) return NULL;
5781 } Py_INCREF(Py_None);
5782 _resultobj = Py_None;
5783 return _resultobj;
5784 }
5785
5786 #define wxPyDrawnShape_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2))
5787 static PyObject *_wrap_wxPyDrawnShape_DrawPolygon(PyObject *self, PyObject *args, PyObject *kwargs) {
5788 PyObject * _resultobj;
5789 wxPyDrawnShape * _arg0;
5790 int _arg1;
5791 wxPoint * _arg2;
5792 int _arg3 = (int ) 0;
5793 PyObject * _argo0 = 0;
5794 int NPOINTS;
5795 PyObject * _obj2 = 0;
5796 char *_kwnames[] = { "self","points","flags", NULL };
5797
5798 self = self;
5799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDrawnShape_DrawPolygon",_kwnames,&_argo0,&_obj2,&_arg3))
5800 return NULL;
5801 if (_argo0) {
5802 if (_argo0 == Py_None) { _arg0 = NULL; }
5803 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5804 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawPolygon. Expected _wxPyDrawnShape_p.");
5805 return NULL;
5806 }
5807 }
5808 if (_obj2)
5809 {
5810 _arg2 = wxPoint_LIST_helper(_obj2, &NPOINTS);
5811 if (_arg2 == NULL) {
5812 return NULL;
5813 }
5814 }
5815 {
5816 _arg1 = NPOINTS;
5817 }
5818 {
5819 PyThreadState* __tstate = wxPyBeginAllowThreads();
5820 wxPyDrawnShape_DrawPolygon(_arg0,_arg1,_arg2,_arg3);
5821
5822 wxPyEndAllowThreads(__tstate);
5823 if (PyErr_Occurred()) return NULL;
5824 } Py_INCREF(Py_None);
5825 _resultobj = Py_None;
5826 {
5827 delete [] _arg2;
5828 }
5829 return _resultobj;
5830 }
5831
5832 #define wxPyDrawnShape_DrawRectangle(_swigobj,_swigarg0) (_swigobj->DrawRectangle(_swigarg0))
5833 static PyObject *_wrap_wxPyDrawnShape_DrawRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
5834 PyObject * _resultobj;
5835 wxPyDrawnShape * _arg0;
5836 wxRect * _arg1;
5837 PyObject * _argo0 = 0;
5838 wxRect temp;
5839 PyObject * _obj1 = 0;
5840 char *_kwnames[] = { "self","rect", NULL };
5841
5842 self = self;
5843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_DrawRectangle",_kwnames,&_argo0,&_obj1))
5844 return NULL;
5845 if (_argo0) {
5846 if (_argo0 == Py_None) { _arg0 = NULL; }
5847 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5848 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawRectangle. Expected _wxPyDrawnShape_p.");
5849 return NULL;
5850 }
5851 }
5852 {
5853 _arg1 = &temp;
5854 if (! wxRect_helper(_obj1, &_arg1))
5855 return NULL;
5856 }
5857 {
5858 PyThreadState* __tstate = wxPyBeginAllowThreads();
5859 wxPyDrawnShape_DrawRectangle(_arg0,*_arg1);
5860
5861 wxPyEndAllowThreads(__tstate);
5862 if (PyErr_Occurred()) return NULL;
5863 } Py_INCREF(Py_None);
5864 _resultobj = Py_None;
5865 return _resultobj;
5866 }
5867
5868 #define wxPyDrawnShape_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1))
5869 static PyObject *_wrap_wxPyDrawnShape_DrawRoundedRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
5870 PyObject * _resultobj;
5871 wxPyDrawnShape * _arg0;
5872 wxRect * _arg1;
5873 double _arg2;
5874 PyObject * _argo0 = 0;
5875 wxRect temp;
5876 PyObject * _obj1 = 0;
5877 char *_kwnames[] = { "self","rect","radius", NULL };
5878
5879 self = self;
5880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOd:wxPyDrawnShape_DrawRoundedRectangle",_kwnames,&_argo0,&_obj1,&_arg2))
5881 return NULL;
5882 if (_argo0) {
5883 if (_argo0 == Py_None) { _arg0 = NULL; }
5884 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5885 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawRoundedRectangle. Expected _wxPyDrawnShape_p.");
5886 return NULL;
5887 }
5888 }
5889 {
5890 _arg1 = &temp;
5891 if (! wxRect_helper(_obj1, &_arg1))
5892 return NULL;
5893 }
5894 {
5895 PyThreadState* __tstate = wxPyBeginAllowThreads();
5896 wxPyDrawnShape_DrawRoundedRectangle(_arg0,*_arg1,_arg2);
5897
5898 wxPyEndAllowThreads(__tstate);
5899 if (PyErr_Occurred()) return NULL;
5900 } Py_INCREF(Py_None);
5901 _resultobj = Py_None;
5902 return _resultobj;
5903 }
5904
5905 #define wxPyDrawnShape_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1))
5906 static PyObject *_wrap_wxPyDrawnShape_DrawSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
5907 PyObject * _resultobj;
5908 wxPyDrawnShape * _arg0;
5909 int _arg1;
5910 wxPoint * _arg2;
5911 PyObject * _argo0 = 0;
5912 int NPOINTS;
5913 PyObject * _obj2 = 0;
5914 char *_kwnames[] = { "self","points", NULL };
5915
5916 self = self;
5917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_DrawSpline",_kwnames,&_argo0,&_obj2))
5918 return NULL;
5919 if (_argo0) {
5920 if (_argo0 == Py_None) { _arg0 = NULL; }
5921 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5922 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawSpline. Expected _wxPyDrawnShape_p.");
5923 return NULL;
5924 }
5925 }
5926 if (_obj2)
5927 {
5928 _arg2 = wxPoint_LIST_helper(_obj2, &NPOINTS);
5929 if (_arg2 == NULL) {
5930 return NULL;
5931 }
5932 }
5933 {
5934 _arg1 = NPOINTS;
5935 }
5936 {
5937 PyThreadState* __tstate = wxPyBeginAllowThreads();
5938 wxPyDrawnShape_DrawSpline(_arg0,_arg1,_arg2);
5939
5940 wxPyEndAllowThreads(__tstate);
5941 if (PyErr_Occurred()) return NULL;
5942 } Py_INCREF(Py_None);
5943 _resultobj = Py_None;
5944 {
5945 delete [] _arg2;
5946 }
5947 return _resultobj;
5948 }
5949
5950 #define wxPyDrawnShape_DrawText(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawText(_swigarg0,_swigarg1))
5951 static PyObject *_wrap_wxPyDrawnShape_DrawText(PyObject *self, PyObject *args, PyObject *kwargs) {
5952 PyObject * _resultobj;
5953 wxPyDrawnShape * _arg0;
5954 wxString * _arg1;
5955 wxPoint * _arg2;
5956 PyObject * _argo0 = 0;
5957 PyObject * _obj1 = 0;
5958 wxPoint temp;
5959 PyObject * _obj2 = 0;
5960 char *_kwnames[] = { "self","text","point", NULL };
5961
5962 self = self;
5963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyDrawnShape_DrawText",_kwnames,&_argo0,&_obj1,&_obj2))
5964 return NULL;
5965 if (_argo0) {
5966 if (_argo0 == Py_None) { _arg0 = NULL; }
5967 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5968 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawText. Expected _wxPyDrawnShape_p.");
5969 return NULL;
5970 }
5971 }
5972 {
5973 #if PYTHON_API_VERSION >= 1009
5974 char* tmpPtr; int tmpSize;
5975 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
5976 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5977 return NULL;
5978 }
5979 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
5980 return NULL;
5981 _arg1 = new wxString(tmpPtr, tmpSize);
5982 #else
5983 if (!PyString_Check(_obj1)) {
5984 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5985 return NULL;
5986 }
5987 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
5988 #endif
5989 }
5990 {
5991 _arg2 = &temp;
5992 if (! wxPoint_helper(_obj2, &_arg2))
5993 return NULL;
5994 }
5995 {
5996 PyThreadState* __tstate = wxPyBeginAllowThreads();
5997 wxPyDrawnShape_DrawText(_arg0,*_arg1,*_arg2);
5998
5999 wxPyEndAllowThreads(__tstate);
6000 if (PyErr_Occurred()) return NULL;
6001 } Py_INCREF(Py_None);
6002 _resultobj = Py_None;
6003 {
6004 if (_obj1)
6005 delete _arg1;
6006 }
6007 return _resultobj;
6008 }
6009
6010 #define wxPyDrawnShape_GetAngle(_swigobj) (_swigobj->GetAngle())
6011 static PyObject *_wrap_wxPyDrawnShape_GetAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
6012 PyObject * _resultobj;
6013 int _result;
6014 wxPyDrawnShape * _arg0;
6015 PyObject * _argo0 = 0;
6016 char *_kwnames[] = { "self", NULL };
6017
6018 self = self;
6019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_GetAngle",_kwnames,&_argo0))
6020 return NULL;
6021 if (_argo0) {
6022 if (_argo0 == Py_None) { _arg0 = NULL; }
6023 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6024 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_GetAngle. Expected _wxPyDrawnShape_p.");
6025 return NULL;
6026 }
6027 }
6028 {
6029 PyThreadState* __tstate = wxPyBeginAllowThreads();
6030 _result = (int )wxPyDrawnShape_GetAngle(_arg0);
6031
6032 wxPyEndAllowThreads(__tstate);
6033 if (PyErr_Occurred()) return NULL;
6034 } _resultobj = Py_BuildValue("i",_result);
6035 return _resultobj;
6036 }
6037
6038 #define wxPyDrawnShape_GetMetaFile(_swigobj) (_swigobj->GetMetaFile())
6039 static PyObject *_wrap_wxPyDrawnShape_GetMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6040 PyObject * _resultobj;
6041 wxPseudoMetaFile * _result;
6042 wxPyDrawnShape * _arg0;
6043 PyObject * _argo0 = 0;
6044 char *_kwnames[] = { "self", NULL };
6045
6046 self = self;
6047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_GetMetaFile",_kwnames,&_argo0))
6048 return NULL;
6049 if (_argo0) {
6050 if (_argo0 == Py_None) { _arg0 = NULL; }
6051 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6052 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_GetMetaFile. Expected _wxPyDrawnShape_p.");
6053 return NULL;
6054 }
6055 }
6056 {
6057 PyThreadState* __tstate = wxPyBeginAllowThreads();
6058 wxPseudoMetaFile & _result_ref = wxPyDrawnShape_GetMetaFile(_arg0);
6059 _result = (wxPseudoMetaFile *) &_result_ref;
6060
6061 wxPyEndAllowThreads(__tstate);
6062 if (PyErr_Occurred()) return NULL;
6063 }{ _resultobj = wxPyMake_wxObject(_result); }
6064 return _resultobj;
6065 }
6066
6067 #define wxPyDrawnShape_GetRotation(_swigobj) (_swigobj->GetRotation())
6068 static PyObject *_wrap_wxPyDrawnShape_GetRotation(PyObject *self, PyObject *args, PyObject *kwargs) {
6069 PyObject * _resultobj;
6070 double _result;
6071 wxPyDrawnShape * _arg0;
6072 PyObject * _argo0 = 0;
6073 char *_kwnames[] = { "self", NULL };
6074
6075 self = self;
6076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_GetRotation",_kwnames,&_argo0))
6077 return NULL;
6078 if (_argo0) {
6079 if (_argo0 == Py_None) { _arg0 = NULL; }
6080 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6081 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_GetRotation. Expected _wxPyDrawnShape_p.");
6082 return NULL;
6083 }
6084 }
6085 {
6086 PyThreadState* __tstate = wxPyBeginAllowThreads();
6087 _result = (double )wxPyDrawnShape_GetRotation(_arg0);
6088
6089 wxPyEndAllowThreads(__tstate);
6090 if (PyErr_Occurred()) return NULL;
6091 } _resultobj = Py_BuildValue("d",_result);
6092 return _resultobj;
6093 }
6094
6095 #define wxPyDrawnShape_LoadFromMetaFile(_swigobj,_swigarg0) (_swigobj->LoadFromMetaFile(_swigarg0))
6096 static PyObject *_wrap_wxPyDrawnShape_LoadFromMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6097 PyObject * _resultobj;
6098 bool _result;
6099 wxPyDrawnShape * _arg0;
6100 char * _arg1;
6101 PyObject * _argo0 = 0;
6102 char *_kwnames[] = { "self","filename", NULL };
6103
6104 self = self;
6105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os:wxPyDrawnShape_LoadFromMetaFile",_kwnames,&_argo0,&_arg1))
6106 return NULL;
6107 if (_argo0) {
6108 if (_argo0 == Py_None) { _arg0 = NULL; }
6109 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6110 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_LoadFromMetaFile. Expected _wxPyDrawnShape_p.");
6111 return NULL;
6112 }
6113 }
6114 {
6115 PyThreadState* __tstate = wxPyBeginAllowThreads();
6116 _result = (bool )wxPyDrawnShape_LoadFromMetaFile(_arg0,_arg1);
6117
6118 wxPyEndAllowThreads(__tstate);
6119 if (PyErr_Occurred()) return NULL;
6120 } _resultobj = Py_BuildValue("i",_result);
6121 return _resultobj;
6122 }
6123
6124 #define wxPyDrawnShape_Rotate(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Rotate(_swigarg0,_swigarg1,_swigarg2))
6125 static PyObject *_wrap_wxPyDrawnShape_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
6126 PyObject * _resultobj;
6127 wxPyDrawnShape * _arg0;
6128 double _arg1;
6129 double _arg2;
6130 double _arg3;
6131 PyObject * _argo0 = 0;
6132 char *_kwnames[] = { "self","x","y","theta", NULL };
6133
6134 self = self;
6135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oddd:wxPyDrawnShape_Rotate",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
6136 return NULL;
6137 if (_argo0) {
6138 if (_argo0 == Py_None) { _arg0 = NULL; }
6139 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6140 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_Rotate. Expected _wxPyDrawnShape_p.");
6141 return NULL;
6142 }
6143 }
6144 {
6145 PyThreadState* __tstate = wxPyBeginAllowThreads();
6146 wxPyDrawnShape_Rotate(_arg0,_arg1,_arg2,_arg3);
6147
6148 wxPyEndAllowThreads(__tstate);
6149 if (PyErr_Occurred()) return NULL;
6150 } Py_INCREF(Py_None);
6151 _resultobj = Py_None;
6152 return _resultobj;
6153 }
6154
6155 #define wxPyDrawnShape_SetClippingRect(_swigobj,_swigarg0) (_swigobj->SetClippingRect(_swigarg0))
6156 static PyObject *_wrap_wxPyDrawnShape_SetClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6157 PyObject * _resultobj;
6158 wxPyDrawnShape * _arg0;
6159 wxRect * _arg1;
6160 PyObject * _argo0 = 0;
6161 wxRect temp;
6162 PyObject * _obj1 = 0;
6163 char *_kwnames[] = { "self","rect", NULL };
6164
6165 self = self;
6166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_SetClippingRect",_kwnames,&_argo0,&_obj1))
6167 return NULL;
6168 if (_argo0) {
6169 if (_argo0 == Py_None) { _arg0 = NULL; }
6170 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6171 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetClippingRect. Expected _wxPyDrawnShape_p.");
6172 return NULL;
6173 }
6174 }
6175 {
6176 _arg1 = &temp;
6177 if (! wxRect_helper(_obj1, &_arg1))
6178 return NULL;
6179 }
6180 {
6181 PyThreadState* __tstate = wxPyBeginAllowThreads();
6182 wxPyDrawnShape_SetClippingRect(_arg0,*_arg1);
6183
6184 wxPyEndAllowThreads(__tstate);
6185 if (PyErr_Occurred()) return NULL;
6186 } Py_INCREF(Py_None);
6187 _resultobj = Py_None;
6188 return _resultobj;
6189 }
6190
6191 #define wxPyDrawnShape_SetDrawnBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetDrawnBackgroundColour(_swigarg0))
6192 static PyObject *_wrap_wxPyDrawnShape_SetDrawnBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6193 PyObject * _resultobj;
6194 wxPyDrawnShape * _arg0;
6195 wxColour * _arg1;
6196 PyObject * _argo0 = 0;
6197 wxColour temp;
6198 PyObject * _obj1 = 0;
6199 char *_kwnames[] = { "self","colour", NULL };
6200
6201 self = self;
6202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_SetDrawnBackgroundColour",_kwnames,&_argo0,&_obj1))
6203 return NULL;
6204 if (_argo0) {
6205 if (_argo0 == Py_None) { _arg0 = NULL; }
6206 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6207 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnBackgroundColour. Expected _wxPyDrawnShape_p.");
6208 return NULL;
6209 }
6210 }
6211 {
6212 _arg1 = &temp;
6213 if (! wxColour_helper(_obj1, &_arg1))
6214 return NULL;
6215 }
6216 {
6217 PyThreadState* __tstate = wxPyBeginAllowThreads();
6218 wxPyDrawnShape_SetDrawnBackgroundColour(_arg0,*_arg1);
6219
6220 wxPyEndAllowThreads(__tstate);
6221 if (PyErr_Occurred()) return NULL;
6222 } Py_INCREF(Py_None);
6223 _resultobj = Py_None;
6224 return _resultobj;
6225 }
6226
6227 #define wxPyDrawnShape_SetDrawnBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetDrawnBackgroundMode(_swigarg0))
6228 static PyObject *_wrap_wxPyDrawnShape_SetDrawnBackgroundMode(PyObject *self, PyObject *args, PyObject *kwargs) {
6229 PyObject * _resultobj;
6230 wxPyDrawnShape * _arg0;
6231 int _arg1;
6232 PyObject * _argo0 = 0;
6233 char *_kwnames[] = { "self","mode", NULL };
6234
6235 self = self;
6236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDrawnShape_SetDrawnBackgroundMode",_kwnames,&_argo0,&_arg1))
6237 return NULL;
6238 if (_argo0) {
6239 if (_argo0 == Py_None) { _arg0 = NULL; }
6240 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6241 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnBackgroundMode. Expected _wxPyDrawnShape_p.");
6242 return NULL;
6243 }
6244 }
6245 {
6246 PyThreadState* __tstate = wxPyBeginAllowThreads();
6247 wxPyDrawnShape_SetDrawnBackgroundMode(_arg0,_arg1);
6248
6249 wxPyEndAllowThreads(__tstate);
6250 if (PyErr_Occurred()) return NULL;
6251 } Py_INCREF(Py_None);
6252 _resultobj = Py_None;
6253 return _resultobj;
6254 }
6255
6256 #define wxPyDrawnShape_SetDrawnBrush(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDrawnBrush(_swigarg0,_swigarg1))
6257 static PyObject *_wrap_wxPyDrawnShape_SetDrawnBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
6258 PyObject * _resultobj;
6259 wxPyDrawnShape * _arg0;
6260 wxBrush * _arg1;
6261 bool _arg2 = (bool ) FALSE;
6262 PyObject * _argo0 = 0;
6263 PyObject * _obj1 = 0;
6264 int tempbool2 = (int) FALSE;
6265 char *_kwnames[] = { "self","pen","isOutline", NULL };
6266
6267 self = self;
6268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDrawnShape_SetDrawnBrush",_kwnames,&_argo0,&_obj1,&tempbool2))
6269 return NULL;
6270 if (_argo0) {
6271 if (_argo0 == Py_None) { _arg0 = NULL; }
6272 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6273 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnBrush. Expected _wxPyDrawnShape_p.");
6274 return NULL;
6275 }
6276 }
6277 {
6278 wxBrush* temp;
6279 if (_obj1) {
6280 if (_obj1 == Py_None) { temp = NULL; }
6281 else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxBrush_p")) {
6282 PyErr_SetString(PyExc_TypeError,"Type error, expected _wxBrush_p.");
6283 return NULL;
6284 }
6285 }
6286 if (temp)
6287 _arg1 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
6288 else
6289 _arg1 = NULL;
6290 }
6291 _arg2 = (bool ) tempbool2;
6292 {
6293 PyThreadState* __tstate = wxPyBeginAllowThreads();
6294 wxPyDrawnShape_SetDrawnBrush(_arg0,_arg1,_arg2);
6295
6296 wxPyEndAllowThreads(__tstate);
6297 if (PyErr_Occurred()) return NULL;
6298 } Py_INCREF(Py_None);
6299 _resultobj = Py_None;
6300 return _resultobj;
6301 }
6302
6303 #define wxPyDrawnShape_SetDrawnFont(_swigobj,_swigarg0) (_swigobj->SetDrawnFont(_swigarg0))
6304 static PyObject *_wrap_wxPyDrawnShape_SetDrawnFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6305 PyObject * _resultobj;
6306 wxPyDrawnShape * _arg0;
6307 wxFont * _arg1;
6308 PyObject * _argo0 = 0;
6309 PyObject * _obj1 = 0;
6310 char *_kwnames[] = { "self","font", NULL };
6311
6312 self = self;
6313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_SetDrawnFont",_kwnames,&_argo0,&_obj1))
6314 return NULL;
6315 if (_argo0) {
6316 if (_argo0 == Py_None) { _arg0 = NULL; }
6317 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6318 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnFont. Expected _wxPyDrawnShape_p.");
6319 return NULL;
6320 }
6321 }
6322 {
6323 wxFont* temp;
6324 if (_obj1) {
6325 if (_obj1 == Py_None) { temp = NULL; }
6326 else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxFont_p")) {
6327 PyErr_SetString(PyExc_TypeError,"Type error, expected _wxFont_p.");
6328 return NULL;
6329 }
6330 }
6331 if (temp)
6332 _arg1 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
6333 temp->GetFamily(),
6334 temp->GetStyle(),
6335 temp->GetWeight(),
6336 temp->GetUnderlined(),
6337 temp->GetFaceName(),
6338 temp->GetEncoding());
6339 else
6340 _arg1 = NULL;
6341 }
6342 {
6343 PyThreadState* __tstate = wxPyBeginAllowThreads();
6344 wxPyDrawnShape_SetDrawnFont(_arg0,_arg1);
6345
6346 wxPyEndAllowThreads(__tstate);
6347 if (PyErr_Occurred()) return NULL;
6348 } Py_INCREF(Py_None);
6349 _resultobj = Py_None;
6350 return _resultobj;
6351 }
6352
6353 #define wxPyDrawnShape_SetDrawnPen(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDrawnPen(_swigarg0,_swigarg1))
6354 static PyObject *_wrap_wxPyDrawnShape_SetDrawnPen(PyObject *self, PyObject *args, PyObject *kwargs) {
6355 PyObject * _resultobj;
6356 wxPyDrawnShape * _arg0;
6357 wxPen * _arg1;
6358 bool _arg2 = (bool ) FALSE;
6359 PyObject * _argo0 = 0;
6360 PyObject * _obj1 = 0;
6361 int tempbool2 = (int) FALSE;
6362 char *_kwnames[] = { "self","pen","isOutline", NULL };
6363
6364 self = self;
6365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDrawnShape_SetDrawnPen",_kwnames,&_argo0,&_obj1,&tempbool2))
6366 return NULL;
6367 if (_argo0) {
6368 if (_argo0 == Py_None) { _arg0 = NULL; }
6369 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6370 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnPen. Expected _wxPyDrawnShape_p.");
6371 return NULL;
6372 }
6373 }
6374 {
6375 wxPen* temp;
6376 if (_obj1) {
6377 if (_obj1 == Py_None) { temp = NULL; }
6378 else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxPen_p")) {
6379 PyErr_SetString(PyExc_TypeError,"Type error, expected _wxPen_p.");
6380 return NULL;
6381 }
6382 }
6383 if (temp)
6384 _arg1 = wxThePenList->FindOrCreatePen(temp->GetColour(),
6385 temp->GetWidth(),
6386 temp->GetStyle());
6387 else
6388 _arg1 = NULL;
6389 }
6390 _arg2 = (bool ) tempbool2;
6391 {
6392 PyThreadState* __tstate = wxPyBeginAllowThreads();
6393 wxPyDrawnShape_SetDrawnPen(_arg0,_arg1,_arg2);
6394
6395 wxPyEndAllowThreads(__tstate);
6396 if (PyErr_Occurred()) return NULL;
6397 } Py_INCREF(Py_None);
6398 _resultobj = Py_None;
6399 return _resultobj;
6400 }
6401
6402 #define wxPyDrawnShape_SetDrawnTextColour(_swigobj,_swigarg0) (_swigobj->SetDrawnTextColour(_swigarg0))
6403 static PyObject *_wrap_wxPyDrawnShape_SetDrawnTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6404 PyObject * _resultobj;
6405 wxPyDrawnShape * _arg0;
6406 wxColour * _arg1;
6407 PyObject * _argo0 = 0;
6408 wxColour temp;
6409 PyObject * _obj1 = 0;
6410 char *_kwnames[] = { "self","colour", NULL };
6411
6412 self = self;
6413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_SetDrawnTextColour",_kwnames,&_argo0,&_obj1))
6414 return NULL;
6415 if (_argo0) {
6416 if (_argo0 == Py_None) { _arg0 = NULL; }
6417 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6418 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnTextColour. Expected _wxPyDrawnShape_p.");
6419 return NULL;
6420 }
6421 }
6422 {
6423 _arg1 = &temp;
6424 if (! wxColour_helper(_obj1, &_arg1))
6425 return NULL;
6426 }
6427 {
6428 PyThreadState* __tstate = wxPyBeginAllowThreads();
6429 wxPyDrawnShape_SetDrawnTextColour(_arg0,*_arg1);
6430
6431 wxPyEndAllowThreads(__tstate);
6432 if (PyErr_Occurred()) return NULL;
6433 } Py_INCREF(Py_None);
6434 _resultobj = Py_None;
6435 return _resultobj;
6436 }
6437
6438 #define wxPyDrawnShape_Scale(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scale(_swigarg0,_swigarg1))
6439 static PyObject *_wrap_wxPyDrawnShape_Scale(PyObject *self, PyObject *args, PyObject *kwargs) {
6440 PyObject * _resultobj;
6441 wxPyDrawnShape * _arg0;
6442 double _arg1;
6443 double _arg2;
6444 PyObject * _argo0 = 0;
6445 char *_kwnames[] = { "self","sx","sy", NULL };
6446
6447 self = self;
6448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDrawnShape_Scale",_kwnames,&_argo0,&_arg1,&_arg2))
6449 return NULL;
6450 if (_argo0) {
6451 if (_argo0 == Py_None) { _arg0 = NULL; }
6452 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6453 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_Scale. Expected _wxPyDrawnShape_p.");
6454 return NULL;
6455 }
6456 }
6457 {
6458 PyThreadState* __tstate = wxPyBeginAllowThreads();
6459 wxPyDrawnShape_Scale(_arg0,_arg1,_arg2);
6460
6461 wxPyEndAllowThreads(__tstate);
6462 if (PyErr_Occurred()) return NULL;
6463 } Py_INCREF(Py_None);
6464 _resultobj = Py_None;
6465 return _resultobj;
6466 }
6467
6468 #define wxPyDrawnShape_SetSaveToFile(_swigobj,_swigarg0) (_swigobj->SetSaveToFile(_swigarg0))
6469 static PyObject *_wrap_wxPyDrawnShape_SetSaveToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6470 PyObject * _resultobj;
6471 wxPyDrawnShape * _arg0;
6472 bool _arg1;
6473 PyObject * _argo0 = 0;
6474 int tempbool1;
6475 char *_kwnames[] = { "self","save", NULL };
6476
6477 self = self;
6478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDrawnShape_SetSaveToFile",_kwnames,&_argo0,&tempbool1))
6479 return NULL;
6480 if (_argo0) {
6481 if (_argo0 == Py_None) { _arg0 = NULL; }
6482 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6483 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetSaveToFile. Expected _wxPyDrawnShape_p.");
6484 return NULL;
6485 }
6486 }
6487 _arg1 = (bool ) tempbool1;
6488 {
6489 PyThreadState* __tstate = wxPyBeginAllowThreads();
6490 wxPyDrawnShape_SetSaveToFile(_arg0,_arg1);
6491
6492 wxPyEndAllowThreads(__tstate);
6493 if (PyErr_Occurred()) return NULL;
6494 } Py_INCREF(Py_None);
6495 _resultobj = Py_None;
6496 return _resultobj;
6497 }
6498
6499 #define wxPyDrawnShape_Translate(_swigobj,_swigarg0,_swigarg1) (_swigobj->Translate(_swigarg0,_swigarg1))
6500 static PyObject *_wrap_wxPyDrawnShape_Translate(PyObject *self, PyObject *args, PyObject *kwargs) {
6501 PyObject * _resultobj;
6502 wxPyDrawnShape * _arg0;
6503 double _arg1;
6504 double _arg2;
6505 PyObject * _argo0 = 0;
6506 char *_kwnames[] = { "self","x","y", NULL };
6507
6508 self = self;
6509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDrawnShape_Translate",_kwnames,&_argo0,&_arg1,&_arg2))
6510 return NULL;
6511 if (_argo0) {
6512 if (_argo0 == Py_None) { _arg0 = NULL; }
6513 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6514 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_Translate. Expected _wxPyDrawnShape_p.");
6515 return NULL;
6516 }
6517 }
6518 {
6519 PyThreadState* __tstate = wxPyBeginAllowThreads();
6520 wxPyDrawnShape_Translate(_arg0,_arg1,_arg2);
6521
6522 wxPyEndAllowThreads(__tstate);
6523 if (PyErr_Occurred()) return NULL;
6524 } Py_INCREF(Py_None);
6525 _resultobj = Py_None;
6526 return _resultobj;
6527 }
6528
6529 #define wxPyDrawnShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
6530 static PyObject *_wrap_wxPyDrawnShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
6531 PyObject * _resultobj;
6532 wxPyDrawnShape * _arg0;
6533 PyObject * _argo0 = 0;
6534 char *_kwnames[] = { "self", NULL };
6535
6536 self = self;
6537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_base_OnDelete",_kwnames,&_argo0))
6538 return NULL;
6539 if (_argo0) {
6540 if (_argo0 == Py_None) { _arg0 = NULL; }
6541 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6542 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDelete. Expected _wxPyDrawnShape_p.");
6543 return NULL;
6544 }
6545 }
6546 {
6547 PyThreadState* __tstate = wxPyBeginAllowThreads();
6548 wxPyDrawnShape_base_OnDelete(_arg0);
6549
6550 wxPyEndAllowThreads(__tstate);
6551 if (PyErr_Occurred()) return NULL;
6552 } Py_INCREF(Py_None);
6553 _resultobj = Py_None;
6554 return _resultobj;
6555 }
6556
6557 #define wxPyDrawnShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
6558 static PyObject *_wrap_wxPyDrawnShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
6559 PyObject * _resultobj;
6560 wxPyDrawnShape * _arg0;
6561 wxDC * _arg1;
6562 PyObject * _argo0 = 0;
6563 PyObject * _argo1 = 0;
6564 char *_kwnames[] = { "self","dc", NULL };
6565
6566 self = self;
6567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnDraw",_kwnames,&_argo0,&_argo1))
6568 return NULL;
6569 if (_argo0) {
6570 if (_argo0 == Py_None) { _arg0 = NULL; }
6571 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6572 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDraw. Expected _wxPyDrawnShape_p.");
6573 return NULL;
6574 }
6575 }
6576 if (_argo1) {
6577 if (_argo1 == Py_None) { _arg1 = NULL; }
6578 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
6579 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnDraw. Expected _wxDC_p.");
6580 return NULL;
6581 }
6582 }
6583 {
6584 PyThreadState* __tstate = wxPyBeginAllowThreads();
6585 wxPyDrawnShape_base_OnDraw(_arg0,*_arg1);
6586
6587 wxPyEndAllowThreads(__tstate);
6588 if (PyErr_Occurred()) return NULL;
6589 } Py_INCREF(Py_None);
6590 _resultobj = Py_None;
6591 return _resultobj;
6592 }
6593
6594 #define wxPyDrawnShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
6595 static PyObject *_wrap_wxPyDrawnShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
6596 PyObject * _resultobj;
6597 wxPyDrawnShape * _arg0;
6598 wxDC * _arg1;
6599 PyObject * _argo0 = 0;
6600 PyObject * _argo1 = 0;
6601 char *_kwnames[] = { "self","dc", NULL };
6602
6603 self = self;
6604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1))
6605 return NULL;
6606 if (_argo0) {
6607 if (_argo0 == Py_None) { _arg0 = NULL; }
6608 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6609 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDrawContents. Expected _wxPyDrawnShape_p.");
6610 return NULL;
6611 }
6612 }
6613 if (_argo1) {
6614 if (_argo1 == Py_None) { _arg1 = NULL; }
6615 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
6616 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnDrawContents. Expected _wxDC_p.");
6617 return NULL;
6618 }
6619 }
6620 {
6621 PyThreadState* __tstate = wxPyBeginAllowThreads();
6622 wxPyDrawnShape_base_OnDrawContents(_arg0,*_arg1);
6623
6624 wxPyEndAllowThreads(__tstate);
6625 if (PyErr_Occurred()) return NULL;
6626 } Py_INCREF(Py_None);
6627 _resultobj = Py_None;
6628 return _resultobj;
6629 }
6630
6631 #define wxPyDrawnShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
6632 static PyObject *_wrap_wxPyDrawnShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
6633 PyObject * _resultobj;
6634 wxPyDrawnShape * _arg0;
6635 wxDC * _arg1;
6636 bool _arg2 = (bool ) FALSE;
6637 PyObject * _argo0 = 0;
6638 PyObject * _argo1 = 0;
6639 int tempbool2 = (int) FALSE;
6640 char *_kwnames[] = { "self","dc","erase", NULL };
6641
6642 self = self;
6643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDrawnShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2))
6644 return NULL;
6645 if (_argo0) {
6646 if (_argo0 == Py_None) { _arg0 = NULL; }
6647 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6648 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDrawBranches. Expected _wxPyDrawnShape_p.");
6649 return NULL;
6650 }
6651 }
6652 if (_argo1) {
6653 if (_argo1 == Py_None) { _arg1 = NULL; }
6654 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
6655 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnDrawBranches. Expected _wxDC_p.");
6656 return NULL;
6657 }
6658 }
6659 _arg2 = (bool ) tempbool2;
6660 {
6661 PyThreadState* __tstate = wxPyBeginAllowThreads();
6662 wxPyDrawnShape_base_OnDrawBranches(_arg0,*_arg1,_arg2);
6663
6664 wxPyEndAllowThreads(__tstate);
6665 if (PyErr_Occurred()) return NULL;
6666 } Py_INCREF(Py_None);
6667 _resultobj = Py_None;
6668 return _resultobj;
6669 }
6670
6671 #define wxPyDrawnShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
6672 static PyObject *_wrap_wxPyDrawnShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
6673 PyObject * _resultobj;
6674 wxPyDrawnShape * _arg0;
6675 wxDC * _arg1;
6676 PyObject * _argo0 = 0;
6677 PyObject * _argo1 = 0;
6678 char *_kwnames[] = { "self","dc", NULL };
6679
6680 self = self;
6681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1))
6682 return NULL;
6683 if (_argo0) {
6684 if (_argo0 == Py_None) { _arg0 = NULL; }
6685 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6686 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnMoveLinks. Expected _wxPyDrawnShape_p.");
6687 return NULL;
6688 }
6689 }
6690 if (_argo1) {
6691 if (_argo1 == Py_None) { _arg1 = NULL; }
6692 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
6693 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnMoveLinks. Expected _wxDC_p.");
6694 return NULL;
6695 }
6696 }
6697 {
6698 PyThreadState* __tstate = wxPyBeginAllowThreads();
6699 wxPyDrawnShape_base_OnMoveLinks(_arg0,*_arg1);
6700
6701 wxPyEndAllowThreads(__tstate);
6702 if (PyErr_Occurred()) return NULL;
6703 } Py_INCREF(Py_None);
6704 _resultobj = Py_None;
6705 return _resultobj;
6706 }
6707
6708 #define wxPyDrawnShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
6709 static PyObject *_wrap_wxPyDrawnShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
6710 PyObject * _resultobj;
6711 wxPyDrawnShape * _arg0;
6712 wxDC * _arg1;
6713 PyObject * _argo0 = 0;
6714 PyObject * _argo1 = 0;
6715 char *_kwnames[] = { "self","dc", NULL };
6716
6717 self = self;
6718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnErase",_kwnames,&_argo0,&_argo1))
6719 return NULL;
6720 if (_argo0) {
6721 if (_argo0 == Py_None) { _arg0 = NULL; }
6722 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6723 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnErase. Expected _wxPyDrawnShape_p.");
6724 return NULL;
6725 }
6726 }
6727 if (_argo1) {
6728 if (_argo1 == Py_None) { _arg1 = NULL; }
6729 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
6730 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnErase. Expected _wxDC_p.");
6731 return NULL;
6732 }
6733 }
6734 {
6735 PyThreadState* __tstate = wxPyBeginAllowThreads();
6736 wxPyDrawnShape_base_OnErase(_arg0,*_arg1);
6737
6738 wxPyEndAllowThreads(__tstate);
6739 if (PyErr_Occurred()) return NULL;
6740 } Py_INCREF(Py_None);
6741 _resultobj = Py_None;
6742 return _resultobj;
6743 }
6744
6745 #define wxPyDrawnShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
6746 static PyObject *_wrap_wxPyDrawnShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
6747 PyObject * _resultobj;
6748 wxPyDrawnShape * _arg0;
6749 wxDC * _arg1;
6750 PyObject * _argo0 = 0;
6751 PyObject * _argo1 = 0;
6752 char *_kwnames[] = { "self","dc", NULL };
6753
6754 self = self;
6755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1))
6756 return NULL;
6757 if (_argo0) {
6758 if (_argo0 == Py_None) { _arg0 = NULL; }
6759 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6760 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnEraseContents. Expected _wxPyDrawnShape_p.");
6761 return NULL;
6762 }
6763 }
6764 if (_argo1) {
6765 if (_argo1 == Py_None) { _arg1 = NULL; }
6766 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
6767 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnEraseContents. Expected _wxDC_p.");
6768 return NULL;
6769 }
6770 }
6771 {
6772 PyThreadState* __tstate = wxPyBeginAllowThreads();
6773 wxPyDrawnShape_base_OnEraseContents(_arg0,*_arg1);
6774
6775 wxPyEndAllowThreads(__tstate);
6776 if (PyErr_Occurred()) return NULL;
6777 } Py_INCREF(Py_None);
6778 _resultobj = Py_None;
6779 return _resultobj;
6780 }
6781
6782 #define wxPyDrawnShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
6783 static PyObject *_wrap_wxPyDrawnShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
6784 PyObject * _resultobj;
6785 wxPyDrawnShape * _arg0;
6786 wxDC * _arg1;
6787 PyObject * _argo0 = 0;
6788 PyObject * _argo1 = 0;
6789 char *_kwnames[] = { "self","dc", NULL };
6790
6791 self = self;
6792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnHighlight",_kwnames,&_argo0,&_argo1))
6793 return NULL;
6794 if (_argo0) {
6795 if (_argo0 == Py_None) { _arg0 = NULL; }
6796 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6797 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnHighlight. Expected _wxPyDrawnShape_p.");
6798 return NULL;
6799 }
6800 }
6801 if (_argo1) {
6802 if (_argo1 == Py_None) { _arg1 = NULL; }
6803 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
6804 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnHighlight. Expected _wxDC_p.");
6805 return NULL;
6806 }
6807 }
6808 {
6809 PyThreadState* __tstate = wxPyBeginAllowThreads();
6810 wxPyDrawnShape_base_OnHighlight(_arg0,*_arg1);
6811
6812 wxPyEndAllowThreads(__tstate);
6813 if (PyErr_Occurred()) return NULL;
6814 } Py_INCREF(Py_None);
6815 _resultobj = Py_None;
6816 return _resultobj;
6817 }
6818
6819 #define wxPyDrawnShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6820 static PyObject *_wrap_wxPyDrawnShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
6821 PyObject * _resultobj;
6822 wxPyDrawnShape * _arg0;
6823 double _arg1;
6824 double _arg2;
6825 int _arg3 = (int ) 0;
6826 int _arg4 = (int ) 0;
6827 PyObject * _argo0 = 0;
6828 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
6829
6830 self = self;
6831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
6832 return NULL;
6833 if (_argo0) {
6834 if (_argo0 == Py_None) { _arg0 = NULL; }
6835 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6836 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnLeftClick. Expected _wxPyDrawnShape_p.");
6837 return NULL;
6838 }
6839 }
6840 {
6841 PyThreadState* __tstate = wxPyBeginAllowThreads();
6842 wxPyDrawnShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4);
6843
6844 wxPyEndAllowThreads(__tstate);
6845 if (PyErr_Occurred()) return NULL;
6846 } Py_INCREF(Py_None);
6847 _resultobj = Py_None;
6848 return _resultobj;
6849 }
6850
6851 #define wxPyDrawnShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6852 static PyObject *_wrap_wxPyDrawnShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
6853 PyObject * _resultobj;
6854 wxPyDrawnShape * _arg0;
6855 double _arg1;
6856 double _arg2;
6857 int _arg3 = (int ) 0;
6858 int _arg4 = (int ) 0;
6859 PyObject * _argo0 = 0;
6860 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
6861
6862 self = self;
6863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
6864 return NULL;
6865 if (_argo0) {
6866 if (_argo0 == Py_None) { _arg0 = NULL; }
6867 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6868 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnLeftDoubleClick. Expected _wxPyDrawnShape_p.");
6869 return NULL;
6870 }
6871 }
6872 {
6873 PyThreadState* __tstate = wxPyBeginAllowThreads();
6874 wxPyDrawnShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4);
6875
6876 wxPyEndAllowThreads(__tstate);
6877 if (PyErr_Occurred()) return NULL;
6878 } Py_INCREF(Py_None);
6879 _resultobj = Py_None;
6880 return _resultobj;
6881 }
6882
6883 #define wxPyDrawnShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6884 static PyObject *_wrap_wxPyDrawnShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
6885 PyObject * _resultobj;
6886 wxPyDrawnShape * _arg0;
6887 double _arg1;
6888 double _arg2;
6889 int _arg3 = (int ) 0;
6890 int _arg4 = (int ) 0;
6891 PyObject * _argo0 = 0;
6892 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
6893
6894 self = self;
6895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
6896 return NULL;
6897 if (_argo0) {
6898 if (_argo0 == Py_None) { _arg0 = NULL; }
6899 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6900 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnRightClick. Expected _wxPyDrawnShape_p.");
6901 return NULL;
6902 }
6903 }
6904 {
6905 PyThreadState* __tstate = wxPyBeginAllowThreads();
6906 wxPyDrawnShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4);
6907
6908 wxPyEndAllowThreads(__tstate);
6909 if (PyErr_Occurred()) return NULL;
6910 } Py_INCREF(Py_None);
6911 _resultobj = Py_None;
6912 return _resultobj;
6913 }
6914
6915 #define wxPyDrawnShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
6916 static PyObject *_wrap_wxPyDrawnShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6917 PyObject * _resultobj;
6918 wxPyDrawnShape * _arg0;
6919 double _arg1;
6920 double _arg2;
6921 PyObject * _argo0 = 0;
6922 char *_kwnames[] = { "self","x","y", NULL };
6923
6924 self = self;
6925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDrawnShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2))
6926 return NULL;
6927 if (_argo0) {
6928 if (_argo0 == Py_None) { _arg0 = NULL; }
6929 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6930 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnSize. Expected _wxPyDrawnShape_p.");
6931 return NULL;
6932 }
6933 }
6934 {
6935 PyThreadState* __tstate = wxPyBeginAllowThreads();
6936 wxPyDrawnShape_base_OnSize(_arg0,_arg1,_arg2);
6937
6938 wxPyEndAllowThreads(__tstate);
6939 if (PyErr_Occurred()) return NULL;
6940 } Py_INCREF(Py_None);
6941 _resultobj = Py_None;
6942 return _resultobj;
6943 }
6944
6945 #define wxPyDrawnShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6946 static PyObject *_wrap_wxPyDrawnShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
6947 PyObject * _resultobj;
6948 bool _result;
6949 wxPyDrawnShape * _arg0;
6950 wxDC * _arg1;
6951 double _arg2;
6952 double _arg3;
6953 double _arg4;
6954 double _arg5;
6955 bool _arg6 = (bool ) TRUE;
6956 PyObject * _argo0 = 0;
6957 PyObject * _argo1 = 0;
6958 int tempbool6 = (int) TRUE;
6959 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
6960
6961 self = self;
6962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDrawnShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
6963 return NULL;
6964 if (_argo0) {
6965 if (_argo0 == Py_None) { _arg0 = NULL; }
6966 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6967 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnMovePre. Expected _wxPyDrawnShape_p.");
6968 return NULL;
6969 }
6970 }
6971 if (_argo1) {
6972 if (_argo1 == Py_None) { _arg1 = NULL; }
6973 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
6974 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnMovePre. Expected _wxDC_p.");
6975 return NULL;
6976 }
6977 }
6978 _arg6 = (bool ) tempbool6;
6979 {
6980 PyThreadState* __tstate = wxPyBeginAllowThreads();
6981 _result = (bool )wxPyDrawnShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
6982
6983 wxPyEndAllowThreads(__tstate);
6984 if (PyErr_Occurred()) return NULL;
6985 } _resultobj = Py_BuildValue("i",_result);
6986 return _resultobj;
6987 }
6988
6989 #define wxPyDrawnShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6990 static PyObject *_wrap_wxPyDrawnShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
6991 PyObject * _resultobj;
6992 wxPyDrawnShape * _arg0;
6993 wxDC * _arg1;
6994 double _arg2;
6995 double _arg3;
6996 double _arg4;
6997 double _arg5;
6998 bool _arg6 = (bool ) TRUE;
6999 PyObject * _argo0 = 0;
7000 PyObject * _argo1 = 0;
7001 int tempbool6 = (int) TRUE;
7002 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
7003
7004 self = self;
7005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDrawnShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
7006 return NULL;
7007 if (_argo0) {
7008 if (_argo0 == Py_None) { _arg0 = NULL; }
7009 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7010 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnMovePost. Expected _wxPyDrawnShape_p.");
7011 return NULL;
7012 }
7013 }
7014 if (_argo1) {
7015 if (_argo1 == Py_None) { _arg1 = NULL; }
7016 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7017 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnMovePost. Expected _wxDC_p.");
7018 return NULL;
7019 }
7020 }
7021 _arg6 = (bool ) tempbool6;
7022 {
7023 PyThreadState* __tstate = wxPyBeginAllowThreads();
7024 wxPyDrawnShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
7025
7026 wxPyEndAllowThreads(__tstate);
7027 if (PyErr_Occurred()) return NULL;
7028 } Py_INCREF(Py_None);
7029 _resultobj = Py_None;
7030 return _resultobj;
7031 }
7032
7033 #define wxPyDrawnShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7034 static PyObject *_wrap_wxPyDrawnShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7035 PyObject * _resultobj;
7036 wxPyDrawnShape * _arg0;
7037 bool _arg1;
7038 double _arg2;
7039 double _arg3;
7040 int _arg4 = (int ) 0;
7041 int _arg5 = (int ) 0;
7042 PyObject * _argo0 = 0;
7043 int tempbool1;
7044 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
7045
7046 self = self;
7047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDrawnShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
7048 return NULL;
7049 if (_argo0) {
7050 if (_argo0 == Py_None) { _arg0 = NULL; }
7051 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7052 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDragLeft. Expected _wxPyDrawnShape_p.");
7053 return NULL;
7054 }
7055 }
7056 _arg1 = (bool ) tempbool1;
7057 {
7058 PyThreadState* __tstate = wxPyBeginAllowThreads();
7059 wxPyDrawnShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
7060
7061 wxPyEndAllowThreads(__tstate);
7062 if (PyErr_Occurred()) return NULL;
7063 } Py_INCREF(Py_None);
7064 _resultobj = Py_None;
7065 return _resultobj;
7066 }
7067
7068 #define wxPyDrawnShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7069 static PyObject *_wrap_wxPyDrawnShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7070 PyObject * _resultobj;
7071 wxPyDrawnShape * _arg0;
7072 double _arg1;
7073 double _arg2;
7074 int _arg3 = (int ) 0;
7075 int _arg4 = (int ) 0;
7076 PyObject * _argo0 = 0;
7077 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
7078
7079 self = self;
7080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
7081 return NULL;
7082 if (_argo0) {
7083 if (_argo0 == Py_None) { _arg0 = NULL; }
7084 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7085 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnBeginDragLeft. Expected _wxPyDrawnShape_p.");
7086 return NULL;
7087 }
7088 }
7089 {
7090 PyThreadState* __tstate = wxPyBeginAllowThreads();
7091 wxPyDrawnShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
7092
7093 wxPyEndAllowThreads(__tstate);
7094 if (PyErr_Occurred()) return NULL;
7095 } Py_INCREF(Py_None);
7096 _resultobj = Py_None;
7097 return _resultobj;
7098 }
7099
7100 #define wxPyDrawnShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7101 static PyObject *_wrap_wxPyDrawnShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7102 PyObject * _resultobj;
7103 wxPyDrawnShape * _arg0;
7104 double _arg1;
7105 double _arg2;
7106 int _arg3 = (int ) 0;
7107 int _arg4 = (int ) 0;
7108 PyObject * _argo0 = 0;
7109 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
7110
7111 self = self;
7112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
7113 return NULL;
7114 if (_argo0) {
7115 if (_argo0 == Py_None) { _arg0 = NULL; }
7116 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7117 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnEndDragLeft. Expected _wxPyDrawnShape_p.");
7118 return NULL;
7119 }
7120 }
7121 {
7122 PyThreadState* __tstate = wxPyBeginAllowThreads();
7123 wxPyDrawnShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
7124
7125 wxPyEndAllowThreads(__tstate);
7126 if (PyErr_Occurred()) return NULL;
7127 } Py_INCREF(Py_None);
7128 _resultobj = Py_None;
7129 return _resultobj;
7130 }
7131
7132 #define wxPyDrawnShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7133 static PyObject *_wrap_wxPyDrawnShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
7134 PyObject * _resultobj;
7135 wxPyDrawnShape * _arg0;
7136 bool _arg1;
7137 double _arg2;
7138 double _arg3;
7139 int _arg4 = (int ) 0;
7140 int _arg5 = (int ) 0;
7141 PyObject * _argo0 = 0;
7142 int tempbool1;
7143 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
7144
7145 self = self;
7146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDrawnShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
7147 return NULL;
7148 if (_argo0) {
7149 if (_argo0 == Py_None) { _arg0 = NULL; }
7150 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7151 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDragRight. Expected _wxPyDrawnShape_p.");
7152 return NULL;
7153 }
7154 }
7155 _arg1 = (bool ) tempbool1;
7156 {
7157 PyThreadState* __tstate = wxPyBeginAllowThreads();
7158 wxPyDrawnShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
7159
7160 wxPyEndAllowThreads(__tstate);
7161 if (PyErr_Occurred()) return NULL;
7162 } Py_INCREF(Py_None);
7163 _resultobj = Py_None;
7164 return _resultobj;
7165 }
7166
7167 #define wxPyDrawnShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7168 static PyObject *_wrap_wxPyDrawnShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
7169 PyObject * _resultobj;
7170 wxPyDrawnShape * _arg0;
7171 double _arg1;
7172 double _arg2;
7173 int _arg3 = (int ) 0;
7174 int _arg4 = (int ) 0;
7175 PyObject * _argo0 = 0;
7176 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
7177
7178 self = self;
7179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
7180 return NULL;
7181 if (_argo0) {
7182 if (_argo0 == Py_None) { _arg0 = NULL; }
7183 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7184 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnBeginDragRight. Expected _wxPyDrawnShape_p.");
7185 return NULL;
7186 }
7187 }
7188 {
7189 PyThreadState* __tstate = wxPyBeginAllowThreads();
7190 wxPyDrawnShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
7191
7192 wxPyEndAllowThreads(__tstate);
7193 if (PyErr_Occurred()) return NULL;
7194 } Py_INCREF(Py_None);
7195 _resultobj = Py_None;
7196 return _resultobj;
7197 }
7198
7199 #define wxPyDrawnShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7200 static PyObject *_wrap_wxPyDrawnShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
7201 PyObject * _resultobj;
7202 wxPyDrawnShape * _arg0;
7203 double _arg1;
7204 double _arg2;
7205 int _arg3 = (int ) 0;
7206 int _arg4 = (int ) 0;
7207 PyObject * _argo0 = 0;
7208 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
7209
7210 self = self;
7211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
7212 return NULL;
7213 if (_argo0) {
7214 if (_argo0 == Py_None) { _arg0 = NULL; }
7215 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7216 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnEndDragRight. Expected _wxPyDrawnShape_p.");
7217 return NULL;
7218 }
7219 }
7220 {
7221 PyThreadState* __tstate = wxPyBeginAllowThreads();
7222 wxPyDrawnShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
7223
7224 wxPyEndAllowThreads(__tstate);
7225 if (PyErr_Occurred()) return NULL;
7226 } Py_INCREF(Py_None);
7227 _resultobj = Py_None;
7228 return _resultobj;
7229 }
7230
7231 #define wxPyDrawnShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7232 static PyObject *_wrap_wxPyDrawnShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
7233 PyObject * _resultobj;
7234 wxPyDrawnShape * _arg0;
7235 wxDC * _arg1;
7236 double _arg2;
7237 double _arg3;
7238 double _arg4;
7239 double _arg5;
7240 PyObject * _argo0 = 0;
7241 PyObject * _argo1 = 0;
7242 char *_kwnames[] = { "self","dc","x","y","w","h", NULL };
7243
7244 self = self;
7245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyDrawnShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
7246 return NULL;
7247 if (_argo0) {
7248 if (_argo0 == Py_None) { _arg0 = NULL; }
7249 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7250 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDrawOutline. Expected _wxPyDrawnShape_p.");
7251 return NULL;
7252 }
7253 }
7254 if (_argo1) {
7255 if (_argo1 == Py_None) { _arg1 = NULL; }
7256 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7257 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnDrawOutline. Expected _wxDC_p.");
7258 return NULL;
7259 }
7260 }
7261 {
7262 PyThreadState* __tstate = wxPyBeginAllowThreads();
7263 wxPyDrawnShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5);
7264
7265 wxPyEndAllowThreads(__tstate);
7266 if (PyErr_Occurred()) return NULL;
7267 } Py_INCREF(Py_None);
7268 _resultobj = Py_None;
7269 return _resultobj;
7270 }
7271
7272 #define wxPyDrawnShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
7273 static PyObject *_wrap_wxPyDrawnShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
7274 PyObject * _resultobj;
7275 wxPyDrawnShape * _arg0;
7276 wxDC * _arg1;
7277 PyObject * _argo0 = 0;
7278 PyObject * _argo1 = 0;
7279 char *_kwnames[] = { "self","dc", NULL };
7280
7281 self = self;
7282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1))
7283 return NULL;
7284 if (_argo0) {
7285 if (_argo0 == Py_None) { _arg0 = NULL; }
7286 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7287 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDrawControlPoints. Expected _wxPyDrawnShape_p.");
7288 return NULL;
7289 }
7290 }
7291 if (_argo1) {
7292 if (_argo1 == Py_None) { _arg1 = NULL; }
7293 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7294 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnDrawControlPoints. Expected _wxDC_p.");
7295 return NULL;
7296 }
7297 }
7298 {
7299 PyThreadState* __tstate = wxPyBeginAllowThreads();
7300 wxPyDrawnShape_base_OnDrawControlPoints(_arg0,*_arg1);
7301
7302 wxPyEndAllowThreads(__tstate);
7303 if (PyErr_Occurred()) return NULL;
7304 } Py_INCREF(Py_None);
7305 _resultobj = Py_None;
7306 return _resultobj;
7307 }
7308
7309 #define wxPyDrawnShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
7310 static PyObject *_wrap_wxPyDrawnShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
7311 PyObject * _resultobj;
7312 wxPyDrawnShape * _arg0;
7313 wxDC * _arg1;
7314 PyObject * _argo0 = 0;
7315 PyObject * _argo1 = 0;
7316 char *_kwnames[] = { "self","dc", NULL };
7317
7318 self = self;
7319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1))
7320 return NULL;
7321 if (_argo0) {
7322 if (_argo0 == Py_None) { _arg0 = NULL; }
7323 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7324 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnEraseControlPoints. Expected _wxPyDrawnShape_p.");
7325 return NULL;
7326 }
7327 }
7328 if (_argo1) {
7329 if (_argo1 == Py_None) { _arg1 = NULL; }
7330 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7331 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnEraseControlPoints. Expected _wxDC_p.");
7332 return NULL;
7333 }
7334 }
7335 {
7336 PyThreadState* __tstate = wxPyBeginAllowThreads();
7337 wxPyDrawnShape_base_OnEraseControlPoints(_arg0,*_arg1);
7338
7339 wxPyEndAllowThreads(__tstate);
7340 if (PyErr_Occurred()) return NULL;
7341 } Py_INCREF(Py_None);
7342 _resultobj = Py_None;
7343 return _resultobj;
7344 }
7345
7346 #define wxPyDrawnShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
7347 static PyObject *_wrap_wxPyDrawnShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
7348 PyObject * _resultobj;
7349 wxPyDrawnShape * _arg0;
7350 wxDC * _arg1;
7351 bool _arg2 = (bool ) TRUE;
7352 PyObject * _argo0 = 0;
7353 PyObject * _argo1 = 0;
7354 int tempbool2 = (int) TRUE;
7355 char *_kwnames[] = { "self","dc","moveControlPoints", NULL };
7356
7357 self = self;
7358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDrawnShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2))
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_OnMoveLink. Expected _wxPyDrawnShape_p.");
7364 return NULL;
7365 }
7366 }
7367 if (_argo1) {
7368 if (_argo1 == Py_None) { _arg1 = NULL; }
7369 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7370 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnMoveLink. Expected _wxDC_p.");
7371 return NULL;
7372 }
7373 }
7374 _arg2 = (bool ) tempbool2;
7375 {
7376 PyThreadState* __tstate = wxPyBeginAllowThreads();
7377 wxPyDrawnShape_base_OnMoveLink(_arg0,*_arg1,_arg2);
7378
7379 wxPyEndAllowThreads(__tstate);
7380 if (PyErr_Occurred()) return NULL;
7381 } Py_INCREF(Py_None);
7382 _resultobj = Py_None;
7383 return _resultobj;
7384 }
7385
7386 #define wxPyDrawnShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7387 static PyObject *_wrap_wxPyDrawnShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7388 PyObject * _resultobj;
7389 wxPyDrawnShape * _arg0;
7390 wxPyControlPoint * _arg1;
7391 bool _arg2;
7392 double _arg3;
7393 double _arg4;
7394 int _arg5 = (int ) 0;
7395 int _arg6 = (int ) 0;
7396 PyObject * _argo0 = 0;
7397 PyObject * _argo1 = 0;
7398 int tempbool2;
7399 char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL };
7400
7401 self = self;
7402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyDrawnShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6))
7403 return NULL;
7404 if (_argo0) {
7405 if (_argo0 == Py_None) { _arg0 = NULL; }
7406 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7407 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnSizingDragLeft. Expected _wxPyDrawnShape_p.");
7408 return NULL;
7409 }
7410 }
7411 if (_argo1) {
7412 if (_argo1 == Py_None) { _arg1 = NULL; }
7413 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
7414 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
7415 return NULL;
7416 }
7417 }
7418 _arg2 = (bool ) tempbool2;
7419 {
7420 PyThreadState* __tstate = wxPyBeginAllowThreads();
7421 wxPyDrawnShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
7422
7423 wxPyEndAllowThreads(__tstate);
7424 if (PyErr_Occurred()) return NULL;
7425 } Py_INCREF(Py_None);
7426 _resultobj = Py_None;
7427 return _resultobj;
7428 }
7429
7430 #define wxPyDrawnShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7431 static PyObject *_wrap_wxPyDrawnShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7432 PyObject * _resultobj;
7433 wxPyDrawnShape * _arg0;
7434 wxPyControlPoint * _arg1;
7435 double _arg2;
7436 double _arg3;
7437 int _arg4 = (int ) 0;
7438 int _arg5 = (int ) 0;
7439 PyObject * _argo0 = 0;
7440 PyObject * _argo1 = 0;
7441 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
7442
7443 self = self;
7444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDrawnShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
7445 return NULL;
7446 if (_argo0) {
7447 if (_argo0 == Py_None) { _arg0 = NULL; }
7448 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7449 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnSizingBeginDragLeft. Expected _wxPyDrawnShape_p.");
7450 return NULL;
7451 }
7452 }
7453 if (_argo1) {
7454 if (_argo1 == Py_None) { _arg1 = NULL; }
7455 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
7456 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
7457 return NULL;
7458 }
7459 }
7460 {
7461 PyThreadState* __tstate = wxPyBeginAllowThreads();
7462 wxPyDrawnShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
7463
7464 wxPyEndAllowThreads(__tstate);
7465 if (PyErr_Occurred()) return NULL;
7466 } Py_INCREF(Py_None);
7467 _resultobj = Py_None;
7468 return _resultobj;
7469 }
7470
7471 #define wxPyDrawnShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7472 static PyObject *_wrap_wxPyDrawnShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7473 PyObject * _resultobj;
7474 wxPyDrawnShape * _arg0;
7475 wxPyControlPoint * _arg1;
7476 double _arg2;
7477 double _arg3;
7478 int _arg4 = (int ) 0;
7479 int _arg5 = (int ) 0;
7480 PyObject * _argo0 = 0;
7481 PyObject * _argo1 = 0;
7482 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
7483
7484 self = self;
7485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDrawnShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
7486 return NULL;
7487 if (_argo0) {
7488 if (_argo0 == Py_None) { _arg0 = NULL; }
7489 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7490 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnSizingEndDragLeft. Expected _wxPyDrawnShape_p.");
7491 return NULL;
7492 }
7493 }
7494 if (_argo1) {
7495 if (_argo1 == Py_None) { _arg1 = NULL; }
7496 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
7497 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
7498 return NULL;
7499 }
7500 }
7501 {
7502 PyThreadState* __tstate = wxPyBeginAllowThreads();
7503 wxPyDrawnShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
7504
7505 wxPyEndAllowThreads(__tstate);
7506 if (PyErr_Occurred()) return NULL;
7507 } Py_INCREF(Py_None);
7508 _resultobj = Py_None;
7509 return _resultobj;
7510 }
7511
7512 #define wxPyDrawnShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
7513 static PyObject *_wrap_wxPyDrawnShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7514 PyObject * _resultobj;
7515 wxPyDrawnShape * _arg0;
7516 double _arg1;
7517 double _arg2;
7518 PyObject * _argo0 = 0;
7519 char *_kwnames[] = { "self","w","h", NULL };
7520
7521 self = self;
7522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDrawnShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2))
7523 return NULL;
7524 if (_argo0) {
7525 if (_argo0 == Py_None) { _arg0 = NULL; }
7526 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7527 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnBeginSize. Expected _wxPyDrawnShape_p.");
7528 return NULL;
7529 }
7530 }
7531 {
7532 PyThreadState* __tstate = wxPyBeginAllowThreads();
7533 wxPyDrawnShape_base_OnBeginSize(_arg0,_arg1,_arg2);
7534
7535 wxPyEndAllowThreads(__tstate);
7536 if (PyErr_Occurred()) return NULL;
7537 } Py_INCREF(Py_None);
7538 _resultobj = Py_None;
7539 return _resultobj;
7540 }
7541
7542 #define wxPyDrawnShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
7543 static PyObject *_wrap_wxPyDrawnShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7544 PyObject * _resultobj;
7545 wxPyDrawnShape * _arg0;
7546 double _arg1;
7547 double _arg2;
7548 PyObject * _argo0 = 0;
7549 char *_kwnames[] = { "self","w","h", NULL };
7550
7551 self = self;
7552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDrawnShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2))
7553 return NULL;
7554 if (_argo0) {
7555 if (_argo0 == Py_None) { _arg0 = NULL; }
7556 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7557 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnEndSize. Expected _wxPyDrawnShape_p.");
7558 return NULL;
7559 }
7560 }
7561 {
7562 PyThreadState* __tstate = wxPyBeginAllowThreads();
7563 wxPyDrawnShape_base_OnEndSize(_arg0,_arg1,_arg2);
7564
7565 wxPyEndAllowThreads(__tstate);
7566 if (PyErr_Occurred()) return NULL;
7567 } Py_INCREF(Py_None);
7568 _resultobj = Py_None;
7569 return _resultobj;
7570 }
7571
7572 static void *SwigwxOGLConstraintTowxObject(void *ptr) {
7573 wxOGLConstraint *src;
7574 wxObject *dest;
7575 src = (wxOGLConstraint *) ptr;
7576 dest = (wxObject *) src;
7577 return (void *) dest;
7578 }
7579
7580 static wxOGLConstraint *new_wxOGLConstraint(int type,wxPyShape *constraining,PyObject *constrained) {
7581 wxList* list = wxPy_wxListHelper(constrained, "_wxPyShape_p");
7582 wxOGLConstraint* rv = new wxOGLConstraint(type, constraining, *list);
7583 delete list;
7584 return rv;
7585 }
7586
7587 static PyObject *_wrap_new_wxOGLConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
7588 PyObject * _resultobj;
7589 wxOGLConstraint * _result;
7590 int _arg0;
7591 wxPyShape * _arg1;
7592 PyObject * _arg2;
7593 PyObject * _argo1 = 0;
7594 PyObject * _obj2 = 0;
7595 char *_kwnames[] = { "type","constraining","constrained", NULL };
7596 char _ptemp[128];
7597
7598 self = self;
7599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iOO:new_wxOGLConstraint",_kwnames,&_arg0,&_argo1,&_obj2))
7600 return NULL;
7601 if (_argo1) {
7602 if (_argo1 == Py_None) { _arg1 = NULL; }
7603 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) {
7604 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxOGLConstraint. Expected _wxPyShape_p.");
7605 return NULL;
7606 }
7607 }
7608 {
7609 _arg2 = _obj2;
7610 }
7611 {
7612 PyThreadState* __tstate = wxPyBeginAllowThreads();
7613 _result = (wxOGLConstraint *)new_wxOGLConstraint(_arg0,_arg1,_arg2);
7614
7615 wxPyEndAllowThreads(__tstate);
7616 if (PyErr_Occurred()) return NULL;
7617 } if (_result) {
7618 SWIG_MakePtr(_ptemp, (char *) _result,"_wxOGLConstraint_p");
7619 _resultobj = Py_BuildValue("s",_ptemp);
7620 } else {
7621 Py_INCREF(Py_None);
7622 _resultobj = Py_None;
7623 }
7624 return _resultobj;
7625 }
7626
7627 #define wxOGLConstraint_Evaluate(_swigobj) (_swigobj->Evaluate())
7628 static PyObject *_wrap_wxOGLConstraint_Evaluate(PyObject *self, PyObject *args, PyObject *kwargs) {
7629 PyObject * _resultobj;
7630 bool _result;
7631 wxOGLConstraint * _arg0;
7632 PyObject * _argo0 = 0;
7633 char *_kwnames[] = { "self", NULL };
7634
7635 self = self;
7636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxOGLConstraint_Evaluate",_kwnames,&_argo0))
7637 return NULL;
7638 if (_argo0) {
7639 if (_argo0 == Py_None) { _arg0 = NULL; }
7640 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxOGLConstraint_p")) {
7641 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxOGLConstraint_Evaluate. Expected _wxOGLConstraint_p.");
7642 return NULL;
7643 }
7644 }
7645 {
7646 PyThreadState* __tstate = wxPyBeginAllowThreads();
7647 _result = (bool )wxOGLConstraint_Evaluate(_arg0);
7648
7649 wxPyEndAllowThreads(__tstate);
7650 if (PyErr_Occurred()) return NULL;
7651 } _resultobj = Py_BuildValue("i",_result);
7652 return _resultobj;
7653 }
7654
7655 #define wxOGLConstraint_SetSpacing(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSpacing(_swigarg0,_swigarg1))
7656 static PyObject *_wrap_wxOGLConstraint_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
7657 PyObject * _resultobj;
7658 wxOGLConstraint * _arg0;
7659 double _arg1;
7660 double _arg2;
7661 PyObject * _argo0 = 0;
7662 char *_kwnames[] = { "self","x","y", NULL };
7663
7664 self = self;
7665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxOGLConstraint_SetSpacing",_kwnames,&_argo0,&_arg1,&_arg2))
7666 return NULL;
7667 if (_argo0) {
7668 if (_argo0 == Py_None) { _arg0 = NULL; }
7669 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxOGLConstraint_p")) {
7670 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxOGLConstraint_SetSpacing. Expected _wxOGLConstraint_p.");
7671 return NULL;
7672 }
7673 }
7674 {
7675 PyThreadState* __tstate = wxPyBeginAllowThreads();
7676 wxOGLConstraint_SetSpacing(_arg0,_arg1,_arg2);
7677
7678 wxPyEndAllowThreads(__tstate);
7679 if (PyErr_Occurred()) return NULL;
7680 } Py_INCREF(Py_None);
7681 _resultobj = Py_None;
7682 return _resultobj;
7683 }
7684
7685 #define wxOGLConstraint_Equals(_swigobj,_swigarg0,_swigarg1) (_swigobj->Equals(_swigarg0,_swigarg1))
7686 static PyObject *_wrap_wxOGLConstraint_Equals(PyObject *self, PyObject *args, PyObject *kwargs) {
7687 PyObject * _resultobj;
7688 bool _result;
7689 wxOGLConstraint * _arg0;
7690 double _arg1;
7691 double _arg2;
7692 PyObject * _argo0 = 0;
7693 char *_kwnames[] = { "self","a","b", NULL };
7694
7695 self = self;
7696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxOGLConstraint_Equals",_kwnames,&_argo0,&_arg1,&_arg2))
7697 return NULL;
7698 if (_argo0) {
7699 if (_argo0 == Py_None) { _arg0 = NULL; }
7700 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxOGLConstraint_p")) {
7701 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxOGLConstraint_Equals. Expected _wxOGLConstraint_p.");
7702 return NULL;
7703 }
7704 }
7705 {
7706 PyThreadState* __tstate = wxPyBeginAllowThreads();
7707 _result = (bool )wxOGLConstraint_Equals(_arg0,_arg1,_arg2);
7708
7709 wxPyEndAllowThreads(__tstate);
7710 if (PyErr_Occurred()) return NULL;
7711 } _resultobj = Py_BuildValue("i",_result);
7712 return _resultobj;
7713 }
7714
7715 static void *SwigwxPyCompositeShapeTowxPyRectangleShape(void *ptr) {
7716 wxPyCompositeShape *src;
7717 wxPyRectangleShape *dest;
7718 src = (wxPyCompositeShape *) ptr;
7719 dest = (wxPyRectangleShape *) src;
7720 return (void *) dest;
7721 }
7722
7723 static void *SwigwxPyCompositeShapeTowxPyShape(void *ptr) {
7724 wxPyCompositeShape *src;
7725 wxPyShape *dest;
7726 src = (wxPyCompositeShape *) ptr;
7727 dest = (wxPyShape *) src;
7728 return (void *) dest;
7729 }
7730
7731 static void *SwigwxPyCompositeShapeTowxPyShapeEvtHandler(void *ptr) {
7732 wxPyCompositeShape *src;
7733 wxPyShapeEvtHandler *dest;
7734 src = (wxPyCompositeShape *) ptr;
7735 dest = (wxPyShapeEvtHandler *) src;
7736 return (void *) dest;
7737 }
7738
7739 static void *SwigwxPyCompositeShapeTowxObject(void *ptr) {
7740 wxPyCompositeShape *src;
7741 wxObject *dest;
7742 src = (wxPyCompositeShape *) ptr;
7743 dest = (wxObject *) src;
7744 return (void *) dest;
7745 }
7746
7747 #define new_wxPyCompositeShape() (new wxPyCompositeShape())
7748 static PyObject *_wrap_new_wxPyCompositeShape(PyObject *self, PyObject *args, PyObject *kwargs) {
7749 PyObject * _resultobj;
7750 wxPyCompositeShape * _result;
7751 char *_kwnames[] = { NULL };
7752 char _ptemp[128];
7753
7754 self = self;
7755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyCompositeShape",_kwnames))
7756 return NULL;
7757 {
7758 PyThreadState* __tstate = wxPyBeginAllowThreads();
7759 _result = (wxPyCompositeShape *)new_wxPyCompositeShape();
7760
7761 wxPyEndAllowThreads(__tstate);
7762 if (PyErr_Occurred()) return NULL;
7763 } if (_result) {
7764 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyCompositeShape_p");
7765 _resultobj = Py_BuildValue("s",_ptemp);
7766 } else {
7767 Py_INCREF(Py_None);
7768 _resultobj = Py_None;
7769 }
7770 return _resultobj;
7771 }
7772
7773 #define wxPyCompositeShape__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
7774 static PyObject *_wrap_wxPyCompositeShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7775 PyObject * _resultobj;
7776 wxPyCompositeShape * _arg0;
7777 PyObject * _arg1;
7778 PyObject * _arg2;
7779 PyObject * _argo0 = 0;
7780 PyObject * _obj1 = 0;
7781 PyObject * _obj2 = 0;
7782 char *_kwnames[] = { "self","self","_class", NULL };
7783
7784 self = self;
7785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyCompositeShape__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
7786 return NULL;
7787 if (_argo0) {
7788 if (_argo0 == Py_None) { _arg0 = NULL; }
7789 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7790 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape__setCallbackInfo. Expected _wxPyCompositeShape_p.");
7791 return NULL;
7792 }
7793 }
7794 {
7795 _arg1 = _obj1;
7796 }
7797 {
7798 _arg2 = _obj2;
7799 }
7800 {
7801 PyThreadState* __tstate = wxPyBeginAllowThreads();
7802 wxPyCompositeShape__setCallbackInfo(_arg0,_arg1,_arg2);
7803
7804 wxPyEndAllowThreads(__tstate);
7805 if (PyErr_Occurred()) return NULL;
7806 } Py_INCREF(Py_None);
7807 _resultobj = Py_None;
7808 return _resultobj;
7809 }
7810
7811 #define wxPyCompositeShape_AddChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddChild(_swigarg0,_swigarg1))
7812 static PyObject *_wrap_wxPyCompositeShape_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
7813 PyObject * _resultobj;
7814 wxPyCompositeShape * _arg0;
7815 wxPyShape * _arg1;
7816 wxPyShape * _arg2 = (wxPyShape *) NULL;
7817 PyObject * _argo0 = 0;
7818 PyObject * _argo1 = 0;
7819 PyObject * _argo2 = 0;
7820 char *_kwnames[] = { "self","child","addAfter", NULL };
7821
7822 self = self;
7823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxPyCompositeShape_AddChild",_kwnames,&_argo0,&_argo1,&_argo2))
7824 return NULL;
7825 if (_argo0) {
7826 if (_argo0 == Py_None) { _arg0 = NULL; }
7827 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7828 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_AddChild. Expected _wxPyCompositeShape_p.");
7829 return NULL;
7830 }
7831 }
7832 if (_argo1) {
7833 if (_argo1 == Py_None) { _arg1 = NULL; }
7834 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) {
7835 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_AddChild. Expected _wxPyShape_p.");
7836 return NULL;
7837 }
7838 }
7839 if (_argo2) {
7840 if (_argo2 == Py_None) { _arg2 = NULL; }
7841 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyShape_p")) {
7842 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyCompositeShape_AddChild. Expected _wxPyShape_p.");
7843 return NULL;
7844 }
7845 }
7846 {
7847 PyThreadState* __tstate = wxPyBeginAllowThreads();
7848 wxPyCompositeShape_AddChild(_arg0,_arg1,_arg2);
7849
7850 wxPyEndAllowThreads(__tstate);
7851 if (PyErr_Occurred()) return NULL;
7852 } Py_INCREF(Py_None);
7853 _resultobj = Py_None;
7854 return _resultobj;
7855 }
7856
7857 #define wxPyCompositeShape_AddConstraint(_swigobj,_swigarg0) (_swigobj->AddConstraint(_swigarg0))
7858 static PyObject *_wrap_wxPyCompositeShape_AddConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
7859 PyObject * _resultobj;
7860 wxOGLConstraint * _result;
7861 wxPyCompositeShape * _arg0;
7862 wxOGLConstraint * _arg1;
7863 PyObject * _argo0 = 0;
7864 PyObject * _argo1 = 0;
7865 char *_kwnames[] = { "self","constraint", NULL };
7866
7867 self = self;
7868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_AddConstraint",_kwnames,&_argo0,&_argo1))
7869 return NULL;
7870 if (_argo0) {
7871 if (_argo0 == Py_None) { _arg0 = NULL; }
7872 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7873 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_AddConstraint. Expected _wxPyCompositeShape_p.");
7874 return NULL;
7875 }
7876 }
7877 if (_argo1) {
7878 if (_argo1 == Py_None) { _arg1 = NULL; }
7879 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxOGLConstraint_p")) {
7880 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_AddConstraint. Expected _wxOGLConstraint_p.");
7881 return NULL;
7882 }
7883 }
7884 {
7885 PyThreadState* __tstate = wxPyBeginAllowThreads();
7886 _result = (wxOGLConstraint *)wxPyCompositeShape_AddConstraint(_arg0,_arg1);
7887
7888 wxPyEndAllowThreads(__tstate);
7889 if (PyErr_Occurred()) return NULL;
7890 }{ _resultobj = wxPyMake_wxObject(_result); }
7891 return _resultobj;
7892 }
7893
7894 static wxOGLConstraint * wxPyCompositeShape_AddConstrainedShapes(wxPyCompositeShape *self,int type,wxPyShape * constraining,PyObject * constrained) {
7895 wxList* list = wxPy_wxListHelper(constrained, "_wxPyShape_p");
7896 wxOGLConstraint* rv = self->AddConstraint(type, constraining, *list);
7897 delete list;
7898 return rv;
7899 }
7900 static PyObject *_wrap_wxPyCompositeShape_AddConstrainedShapes(PyObject *self, PyObject *args, PyObject *kwargs) {
7901 PyObject * _resultobj;
7902 wxOGLConstraint * _result;
7903 wxPyCompositeShape * _arg0;
7904 int _arg1;
7905 wxPyShape * _arg2;
7906 PyObject * _arg3;
7907 PyObject * _argo0 = 0;
7908 PyObject * _argo2 = 0;
7909 PyObject * _obj3 = 0;
7910 char *_kwnames[] = { "self","type","constraining","constrained", NULL };
7911
7912 self = self;
7913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO:wxPyCompositeShape_AddConstrainedShapes",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3))
7914 return NULL;
7915 if (_argo0) {
7916 if (_argo0 == Py_None) { _arg0 = NULL; }
7917 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7918 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_AddConstrainedShapes. Expected _wxPyCompositeShape_p.");
7919 return NULL;
7920 }
7921 }
7922 if (_argo2) {
7923 if (_argo2 == Py_None) { _arg2 = NULL; }
7924 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyShape_p")) {
7925 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyCompositeShape_AddConstrainedShapes. Expected _wxPyShape_p.");
7926 return NULL;
7927 }
7928 }
7929 {
7930 _arg3 = _obj3;
7931 }
7932 {
7933 PyThreadState* __tstate = wxPyBeginAllowThreads();
7934 _result = (wxOGLConstraint *)wxPyCompositeShape_AddConstrainedShapes(_arg0,_arg1,_arg2,_arg3);
7935
7936 wxPyEndAllowThreads(__tstate);
7937 if (PyErr_Occurred()) return NULL;
7938 }{ _resultobj = wxPyMake_wxObject(_result); }
7939 return _resultobj;
7940 }
7941
7942 #define wxPyCompositeShape_AddSimpleConstraint(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AddConstraint(_swigarg0,_swigarg1,_swigarg2))
7943 static PyObject *_wrap_wxPyCompositeShape_AddSimpleConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
7944 PyObject * _resultobj;
7945 wxOGLConstraint * _result;
7946 wxPyCompositeShape * _arg0;
7947 int _arg1;
7948 wxPyShape * _arg2;
7949 wxPyShape * _arg3;
7950 PyObject * _argo0 = 0;
7951 PyObject * _argo2 = 0;
7952 PyObject * _argo3 = 0;
7953 char *_kwnames[] = { "self","type","constraining","constrained", NULL };
7954
7955 self = self;
7956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO:wxPyCompositeShape_AddSimpleConstraint",_kwnames,&_argo0,&_arg1,&_argo2,&_argo3))
7957 return NULL;
7958 if (_argo0) {
7959 if (_argo0 == Py_None) { _arg0 = NULL; }
7960 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7961 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_AddSimpleConstraint. Expected _wxPyCompositeShape_p.");
7962 return NULL;
7963 }
7964 }
7965 if (_argo2) {
7966 if (_argo2 == Py_None) { _arg2 = NULL; }
7967 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyShape_p")) {
7968 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyCompositeShape_AddSimpleConstraint. Expected _wxPyShape_p.");
7969 return NULL;
7970 }
7971 }
7972 if (_argo3) {
7973 if (_argo3 == Py_None) { _arg3 = NULL; }
7974 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxPyShape_p")) {
7975 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxPyCompositeShape_AddSimpleConstraint. Expected _wxPyShape_p.");
7976 return NULL;
7977 }
7978 }
7979 {
7980 PyThreadState* __tstate = wxPyBeginAllowThreads();
7981 _result = (wxOGLConstraint *)wxPyCompositeShape_AddSimpleConstraint(_arg0,_arg1,_arg2,_arg3);
7982
7983 wxPyEndAllowThreads(__tstate);
7984 if (PyErr_Occurred()) return NULL;
7985 }{ _resultobj = wxPyMake_wxObject(_result); }
7986 return _resultobj;
7987 }
7988
7989 #define wxPyCompositeShape_CalculateSize(_swigobj) (_swigobj->CalculateSize())
7990 static PyObject *_wrap_wxPyCompositeShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7991 PyObject * _resultobj;
7992 wxPyCompositeShape * _arg0;
7993 PyObject * _argo0 = 0;
7994 char *_kwnames[] = { "self", NULL };
7995
7996 self = self;
7997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_CalculateSize",_kwnames,&_argo0))
7998 return NULL;
7999 if (_argo0) {
8000 if (_argo0 == Py_None) { _arg0 = NULL; }
8001 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8002 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_CalculateSize. Expected _wxPyCompositeShape_p.");
8003 return NULL;
8004 }
8005 }
8006 {
8007 PyThreadState* __tstate = wxPyBeginAllowThreads();
8008 wxPyCompositeShape_CalculateSize(_arg0);
8009
8010 wxPyEndAllowThreads(__tstate);
8011 if (PyErr_Occurred()) return NULL;
8012 } Py_INCREF(Py_None);
8013 _resultobj = Py_None;
8014 return _resultobj;
8015 }
8016
8017 #define wxPyCompositeShape_ContainsDivision(_swigobj,_swigarg0) (_swigobj->ContainsDivision(_swigarg0))
8018 static PyObject *_wrap_wxPyCompositeShape_ContainsDivision(PyObject *self, PyObject *args, PyObject *kwargs) {
8019 PyObject * _resultobj;
8020 bool _result;
8021 wxPyCompositeShape * _arg0;
8022 wxPyDivisionShape * _arg1;
8023 PyObject * _argo0 = 0;
8024 PyObject * _argo1 = 0;
8025 char *_kwnames[] = { "self","division", NULL };
8026
8027 self = self;
8028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_ContainsDivision",_kwnames,&_argo0,&_argo1))
8029 return NULL;
8030 if (_argo0) {
8031 if (_argo0 == Py_None) { _arg0 = NULL; }
8032 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8033 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_ContainsDivision. Expected _wxPyCompositeShape_p.");
8034 return NULL;
8035 }
8036 }
8037 if (_argo1) {
8038 if (_argo1 == Py_None) { _arg1 = NULL; }
8039 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyDivisionShape_p")) {
8040 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_ContainsDivision. Expected _wxPyDivisionShape_p.");
8041 return NULL;
8042 }
8043 }
8044 {
8045 PyThreadState* __tstate = wxPyBeginAllowThreads();
8046 _result = (bool )wxPyCompositeShape_ContainsDivision(_arg0,_arg1);
8047
8048 wxPyEndAllowThreads(__tstate);
8049 if (PyErr_Occurred()) return NULL;
8050 } _resultobj = Py_BuildValue("i",_result);
8051 return _resultobj;
8052 }
8053
8054 #define wxPyCompositeShape_DeleteConstraint(_swigobj,_swigarg0) (_swigobj->DeleteConstraint(_swigarg0))
8055 static PyObject *_wrap_wxPyCompositeShape_DeleteConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
8056 PyObject * _resultobj;
8057 wxPyCompositeShape * _arg0;
8058 wxOGLConstraint * _arg1;
8059 PyObject * _argo0 = 0;
8060 PyObject * _argo1 = 0;
8061 char *_kwnames[] = { "self","constraint", NULL };
8062
8063 self = self;
8064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_DeleteConstraint",_kwnames,&_argo0,&_argo1))
8065 return NULL;
8066 if (_argo0) {
8067 if (_argo0 == Py_None) { _arg0 = NULL; }
8068 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8069 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_DeleteConstraint. Expected _wxPyCompositeShape_p.");
8070 return NULL;
8071 }
8072 }
8073 if (_argo1) {
8074 if (_argo1 == Py_None) { _arg1 = NULL; }
8075 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxOGLConstraint_p")) {
8076 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_DeleteConstraint. Expected _wxOGLConstraint_p.");
8077 return NULL;
8078 }
8079 }
8080 {
8081 PyThreadState* __tstate = wxPyBeginAllowThreads();
8082 wxPyCompositeShape_DeleteConstraint(_arg0,_arg1);
8083
8084 wxPyEndAllowThreads(__tstate);
8085 if (PyErr_Occurred()) return NULL;
8086 } Py_INCREF(Py_None);
8087 _resultobj = Py_None;
8088 return _resultobj;
8089 }
8090
8091 #define wxPyCompositeShape_DeleteConstraintsInvolvingChild(_swigobj,_swigarg0) (_swigobj->DeleteConstraintsInvolvingChild(_swigarg0))
8092 static PyObject *_wrap_wxPyCompositeShape_DeleteConstraintsInvolvingChild(PyObject *self, PyObject *args, PyObject *kwargs) {
8093 PyObject * _resultobj;
8094 wxPyCompositeShape * _arg0;
8095 wxPyShape * _arg1;
8096 PyObject * _argo0 = 0;
8097 PyObject * _argo1 = 0;
8098 char *_kwnames[] = { "self","child", NULL };
8099
8100 self = self;
8101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_DeleteConstraintsInvolvingChild",_kwnames,&_argo0,&_argo1))
8102 return NULL;
8103 if (_argo0) {
8104 if (_argo0 == Py_None) { _arg0 = NULL; }
8105 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8106 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_DeleteConstraintsInvolvingChild. Expected _wxPyCompositeShape_p.");
8107 return NULL;
8108 }
8109 }
8110 if (_argo1) {
8111 if (_argo1 == Py_None) { _arg1 = NULL; }
8112 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) {
8113 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_DeleteConstraintsInvolvingChild. Expected _wxPyShape_p.");
8114 return NULL;
8115 }
8116 }
8117 {
8118 PyThreadState* __tstate = wxPyBeginAllowThreads();
8119 wxPyCompositeShape_DeleteConstraintsInvolvingChild(_arg0,_arg1);
8120
8121 wxPyEndAllowThreads(__tstate);
8122 if (PyErr_Occurred()) return NULL;
8123 } Py_INCREF(Py_None);
8124 _resultobj = Py_None;
8125 return _resultobj;
8126 }
8127
8128 #define wxPyCompositeShape_FindContainerImage(_swigobj) (_swigobj->FindContainerImage())
8129 static PyObject *_wrap_wxPyCompositeShape_FindContainerImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8130 PyObject * _resultobj;
8131 wxPyShape * _result;
8132 wxPyCompositeShape * _arg0;
8133 PyObject * _argo0 = 0;
8134 char *_kwnames[] = { "self", NULL };
8135
8136 self = self;
8137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_FindContainerImage",_kwnames,&_argo0))
8138 return NULL;
8139 if (_argo0) {
8140 if (_argo0 == Py_None) { _arg0 = NULL; }
8141 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8142 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_FindContainerImage. Expected _wxPyCompositeShape_p.");
8143 return NULL;
8144 }
8145 }
8146 {
8147 PyThreadState* __tstate = wxPyBeginAllowThreads();
8148 _result = (wxPyShape *)wxPyCompositeShape_FindContainerImage(_arg0);
8149
8150 wxPyEndAllowThreads(__tstate);
8151 if (PyErr_Occurred()) return NULL;
8152 }{ _resultobj = wxPyMake_wxShapeEvtHandler(_result); }
8153 return _resultobj;
8154 }
8155
8156 static PyObject * wxPyCompositeShape_GetConstraints(wxPyCompositeShape *self) {
8157 wxList& list = self->GetConstraints();
8158 return wxPy_ConvertList(&list, "wxOGLConstraint");
8159 }
8160 static PyObject *_wrap_wxPyCompositeShape_GetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
8161 PyObject * _resultobj;
8162 PyObject * _result;
8163 wxPyCompositeShape * _arg0;
8164 PyObject * _argo0 = 0;
8165 char *_kwnames[] = { "self", NULL };
8166
8167 self = self;
8168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_GetConstraints",_kwnames,&_argo0))
8169 return NULL;
8170 if (_argo0) {
8171 if (_argo0 == Py_None) { _arg0 = NULL; }
8172 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8173 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_GetConstraints. Expected _wxPyCompositeShape_p.");
8174 return NULL;
8175 }
8176 }
8177 {
8178 PyThreadState* __tstate = wxPyBeginAllowThreads();
8179 _result = (PyObject *)wxPyCompositeShape_GetConstraints(_arg0);
8180
8181 wxPyEndAllowThreads(__tstate);
8182 if (PyErr_Occurred()) return NULL;
8183 }{
8184 _resultobj = _result;
8185 }
8186 return _resultobj;
8187 }
8188
8189 static PyObject * wxPyCompositeShape_GetDivisions(wxPyCompositeShape *self) {
8190 wxList& list = self->GetDivisions();
8191 return wxPy_ConvertList(&list, "wxPyDivisionShape");
8192 }
8193 static PyObject *_wrap_wxPyCompositeShape_GetDivisions(PyObject *self, PyObject *args, PyObject *kwargs) {
8194 PyObject * _resultobj;
8195 PyObject * _result;
8196 wxPyCompositeShape * _arg0;
8197 PyObject * _argo0 = 0;
8198 char *_kwnames[] = { "self", NULL };
8199
8200 self = self;
8201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_GetDivisions",_kwnames,&_argo0))
8202 return NULL;
8203 if (_argo0) {
8204 if (_argo0 == Py_None) { _arg0 = NULL; }
8205 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8206 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_GetDivisions. Expected _wxPyCompositeShape_p.");
8207 return NULL;
8208 }
8209 }
8210 {
8211 PyThreadState* __tstate = wxPyBeginAllowThreads();
8212 _result = (PyObject *)wxPyCompositeShape_GetDivisions(_arg0);
8213
8214 wxPyEndAllowThreads(__tstate);
8215 if (PyErr_Occurred()) return NULL;
8216 }{
8217 _resultobj = _result;
8218 }
8219 return _resultobj;
8220 }
8221
8222 #define wxPyCompositeShape_MakeContainer(_swigobj) (_swigobj->MakeContainer())
8223 static PyObject *_wrap_wxPyCompositeShape_MakeContainer(PyObject *self, PyObject *args, PyObject *kwargs) {
8224 PyObject * _resultobj;
8225 wxPyCompositeShape * _arg0;
8226 PyObject * _argo0 = 0;
8227 char *_kwnames[] = { "self", NULL };
8228
8229 self = self;
8230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_MakeContainer",_kwnames,&_argo0))
8231 return NULL;
8232 if (_argo0) {
8233 if (_argo0 == Py_None) { _arg0 = NULL; }
8234 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8235 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_MakeContainer. Expected _wxPyCompositeShape_p.");
8236 return NULL;
8237 }
8238 }
8239 {
8240 PyThreadState* __tstate = wxPyBeginAllowThreads();
8241 wxPyCompositeShape_MakeContainer(_arg0);
8242
8243 wxPyEndAllowThreads(__tstate);
8244 if (PyErr_Occurred()) return NULL;
8245 } Py_INCREF(Py_None);
8246 _resultobj = Py_None;
8247 return _resultobj;
8248 }
8249
8250 #define wxPyCompositeShape_Recompute(_swigobj) (_swigobj->Recompute())
8251 static PyObject *_wrap_wxPyCompositeShape_Recompute(PyObject *self, PyObject *args, PyObject *kwargs) {
8252 PyObject * _resultobj;
8253 bool _result;
8254 wxPyCompositeShape * _arg0;
8255 PyObject * _argo0 = 0;
8256 char *_kwnames[] = { "self", NULL };
8257
8258 self = self;
8259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_Recompute",_kwnames,&_argo0))
8260 return NULL;
8261 if (_argo0) {
8262 if (_argo0 == Py_None) { _arg0 = NULL; }
8263 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8264 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_Recompute. Expected _wxPyCompositeShape_p.");
8265 return NULL;
8266 }
8267 }
8268 {
8269 PyThreadState* __tstate = wxPyBeginAllowThreads();
8270 _result = (bool )wxPyCompositeShape_Recompute(_arg0);
8271
8272 wxPyEndAllowThreads(__tstate);
8273 if (PyErr_Occurred()) return NULL;
8274 } _resultobj = Py_BuildValue("i",_result);
8275 return _resultobj;
8276 }
8277
8278 #define wxPyCompositeShape_RemoveChild(_swigobj,_swigarg0) (_swigobj->RemoveChild(_swigarg0))
8279 static PyObject *_wrap_wxPyCompositeShape_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
8280 PyObject * _resultobj;
8281 wxPyCompositeShape * _arg0;
8282 wxPyShape * _arg1;
8283 PyObject * _argo0 = 0;
8284 PyObject * _argo1 = 0;
8285 char *_kwnames[] = { "self","child", NULL };
8286
8287 self = self;
8288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_RemoveChild",_kwnames,&_argo0,&_argo1))
8289 return NULL;
8290 if (_argo0) {
8291 if (_argo0 == Py_None) { _arg0 = NULL; }
8292 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8293 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_RemoveChild. Expected _wxPyCompositeShape_p.");
8294 return NULL;
8295 }
8296 }
8297 if (_argo1) {
8298 if (_argo1 == Py_None) { _arg1 = NULL; }
8299 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) {
8300 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_RemoveChild. Expected _wxPyShape_p.");
8301 return NULL;
8302 }
8303 }
8304 {
8305 PyThreadState* __tstate = wxPyBeginAllowThreads();
8306 wxPyCompositeShape_RemoveChild(_arg0,_arg1);
8307
8308 wxPyEndAllowThreads(__tstate);
8309 if (PyErr_Occurred()) return NULL;
8310 } Py_INCREF(Py_None);
8311 _resultobj = Py_None;
8312 return _resultobj;
8313 }
8314
8315 #define wxPyCompositeShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
8316 static PyObject *_wrap_wxPyCompositeShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
8317 PyObject * _resultobj;
8318 wxPyCompositeShape * _arg0;
8319 PyObject * _argo0 = 0;
8320 char *_kwnames[] = { "self", NULL };
8321
8322 self = self;
8323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_base_OnDelete",_kwnames,&_argo0))
8324 return NULL;
8325 if (_argo0) {
8326 if (_argo0 == Py_None) { _arg0 = NULL; }
8327 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8328 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDelete. Expected _wxPyCompositeShape_p.");
8329 return NULL;
8330 }
8331 }
8332 {
8333 PyThreadState* __tstate = wxPyBeginAllowThreads();
8334 wxPyCompositeShape_base_OnDelete(_arg0);
8335
8336 wxPyEndAllowThreads(__tstate);
8337 if (PyErr_Occurred()) return NULL;
8338 } Py_INCREF(Py_None);
8339 _resultobj = Py_None;
8340 return _resultobj;
8341 }
8342
8343 #define wxPyCompositeShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
8344 static PyObject *_wrap_wxPyCompositeShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
8345 PyObject * _resultobj;
8346 wxPyCompositeShape * _arg0;
8347 wxDC * _arg1;
8348 PyObject * _argo0 = 0;
8349 PyObject * _argo1 = 0;
8350 char *_kwnames[] = { "self","dc", NULL };
8351
8352 self = self;
8353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnDraw",_kwnames,&_argo0,&_argo1))
8354 return NULL;
8355 if (_argo0) {
8356 if (_argo0 == Py_None) { _arg0 = NULL; }
8357 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8358 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDraw. Expected _wxPyCompositeShape_p.");
8359 return NULL;
8360 }
8361 }
8362 if (_argo1) {
8363 if (_argo1 == Py_None) { _arg1 = NULL; }
8364 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8365 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnDraw. Expected _wxDC_p.");
8366 return NULL;
8367 }
8368 }
8369 {
8370 PyThreadState* __tstate = wxPyBeginAllowThreads();
8371 wxPyCompositeShape_base_OnDraw(_arg0,*_arg1);
8372
8373 wxPyEndAllowThreads(__tstate);
8374 if (PyErr_Occurred()) return NULL;
8375 } Py_INCREF(Py_None);
8376 _resultobj = Py_None;
8377 return _resultobj;
8378 }
8379
8380 #define wxPyCompositeShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
8381 static PyObject *_wrap_wxPyCompositeShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
8382 PyObject * _resultobj;
8383 wxPyCompositeShape * _arg0;
8384 wxDC * _arg1;
8385 PyObject * _argo0 = 0;
8386 PyObject * _argo1 = 0;
8387 char *_kwnames[] = { "self","dc", NULL };
8388
8389 self = self;
8390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1))
8391 return NULL;
8392 if (_argo0) {
8393 if (_argo0 == Py_None) { _arg0 = NULL; }
8394 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8395 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDrawContents. Expected _wxPyCompositeShape_p.");
8396 return NULL;
8397 }
8398 }
8399 if (_argo1) {
8400 if (_argo1 == Py_None) { _arg1 = NULL; }
8401 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8402 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnDrawContents. Expected _wxDC_p.");
8403 return NULL;
8404 }
8405 }
8406 {
8407 PyThreadState* __tstate = wxPyBeginAllowThreads();
8408 wxPyCompositeShape_base_OnDrawContents(_arg0,*_arg1);
8409
8410 wxPyEndAllowThreads(__tstate);
8411 if (PyErr_Occurred()) return NULL;
8412 } Py_INCREF(Py_None);
8413 _resultobj = Py_None;
8414 return _resultobj;
8415 }
8416
8417 #define wxPyCompositeShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
8418 static PyObject *_wrap_wxPyCompositeShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
8419 PyObject * _resultobj;
8420 wxPyCompositeShape * _arg0;
8421 wxDC * _arg1;
8422 bool _arg2 = (bool ) FALSE;
8423 PyObject * _argo0 = 0;
8424 PyObject * _argo1 = 0;
8425 int tempbool2 = (int) FALSE;
8426 char *_kwnames[] = { "self","dc","erase", NULL };
8427
8428 self = self;
8429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyCompositeShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2))
8430 return NULL;
8431 if (_argo0) {
8432 if (_argo0 == Py_None) { _arg0 = NULL; }
8433 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8434 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDrawBranches. Expected _wxPyCompositeShape_p.");
8435 return NULL;
8436 }
8437 }
8438 if (_argo1) {
8439 if (_argo1 == Py_None) { _arg1 = NULL; }
8440 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8441 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnDrawBranches. Expected _wxDC_p.");
8442 return NULL;
8443 }
8444 }
8445 _arg2 = (bool ) tempbool2;
8446 {
8447 PyThreadState* __tstate = wxPyBeginAllowThreads();
8448 wxPyCompositeShape_base_OnDrawBranches(_arg0,*_arg1,_arg2);
8449
8450 wxPyEndAllowThreads(__tstate);
8451 if (PyErr_Occurred()) return NULL;
8452 } Py_INCREF(Py_None);
8453 _resultobj = Py_None;
8454 return _resultobj;
8455 }
8456
8457 #define wxPyCompositeShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
8458 static PyObject *_wrap_wxPyCompositeShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
8459 PyObject * _resultobj;
8460 wxPyCompositeShape * _arg0;
8461 wxDC * _arg1;
8462 PyObject * _argo0 = 0;
8463 PyObject * _argo1 = 0;
8464 char *_kwnames[] = { "self","dc", NULL };
8465
8466 self = self;
8467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1))
8468 return NULL;
8469 if (_argo0) {
8470 if (_argo0 == Py_None) { _arg0 = NULL; }
8471 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8472 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnMoveLinks. Expected _wxPyCompositeShape_p.");
8473 return NULL;
8474 }
8475 }
8476 if (_argo1) {
8477 if (_argo1 == Py_None) { _arg1 = NULL; }
8478 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8479 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnMoveLinks. Expected _wxDC_p.");
8480 return NULL;
8481 }
8482 }
8483 {
8484 PyThreadState* __tstate = wxPyBeginAllowThreads();
8485 wxPyCompositeShape_base_OnMoveLinks(_arg0,*_arg1);
8486
8487 wxPyEndAllowThreads(__tstate);
8488 if (PyErr_Occurred()) return NULL;
8489 } Py_INCREF(Py_None);
8490 _resultobj = Py_None;
8491 return _resultobj;
8492 }
8493
8494 #define wxPyCompositeShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
8495 static PyObject *_wrap_wxPyCompositeShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
8496 PyObject * _resultobj;
8497 wxPyCompositeShape * _arg0;
8498 wxDC * _arg1;
8499 PyObject * _argo0 = 0;
8500 PyObject * _argo1 = 0;
8501 char *_kwnames[] = { "self","dc", NULL };
8502
8503 self = self;
8504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnErase",_kwnames,&_argo0,&_argo1))
8505 return NULL;
8506 if (_argo0) {
8507 if (_argo0 == Py_None) { _arg0 = NULL; }
8508 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8509 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnErase. Expected _wxPyCompositeShape_p.");
8510 return NULL;
8511 }
8512 }
8513 if (_argo1) {
8514 if (_argo1 == Py_None) { _arg1 = NULL; }
8515 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8516 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnErase. Expected _wxDC_p.");
8517 return NULL;
8518 }
8519 }
8520 {
8521 PyThreadState* __tstate = wxPyBeginAllowThreads();
8522 wxPyCompositeShape_base_OnErase(_arg0,*_arg1);
8523
8524 wxPyEndAllowThreads(__tstate);
8525 if (PyErr_Occurred()) return NULL;
8526 } Py_INCREF(Py_None);
8527 _resultobj = Py_None;
8528 return _resultobj;
8529 }
8530
8531 #define wxPyCompositeShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
8532 static PyObject *_wrap_wxPyCompositeShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
8533 PyObject * _resultobj;
8534 wxPyCompositeShape * _arg0;
8535 wxDC * _arg1;
8536 PyObject * _argo0 = 0;
8537 PyObject * _argo1 = 0;
8538 char *_kwnames[] = { "self","dc", NULL };
8539
8540 self = self;
8541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1))
8542 return NULL;
8543 if (_argo0) {
8544 if (_argo0 == Py_None) { _arg0 = NULL; }
8545 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8546 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnEraseContents. Expected _wxPyCompositeShape_p.");
8547 return NULL;
8548 }
8549 }
8550 if (_argo1) {
8551 if (_argo1 == Py_None) { _arg1 = NULL; }
8552 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8553 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnEraseContents. Expected _wxDC_p.");
8554 return NULL;
8555 }
8556 }
8557 {
8558 PyThreadState* __tstate = wxPyBeginAllowThreads();
8559 wxPyCompositeShape_base_OnEraseContents(_arg0,*_arg1);
8560
8561 wxPyEndAllowThreads(__tstate);
8562 if (PyErr_Occurred()) return NULL;
8563 } Py_INCREF(Py_None);
8564 _resultobj = Py_None;
8565 return _resultobj;
8566 }
8567
8568 #define wxPyCompositeShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
8569 static PyObject *_wrap_wxPyCompositeShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
8570 PyObject * _resultobj;
8571 wxPyCompositeShape * _arg0;
8572 wxDC * _arg1;
8573 PyObject * _argo0 = 0;
8574 PyObject * _argo1 = 0;
8575 char *_kwnames[] = { "self","dc", NULL };
8576
8577 self = self;
8578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnHighlight",_kwnames,&_argo0,&_argo1))
8579 return NULL;
8580 if (_argo0) {
8581 if (_argo0 == Py_None) { _arg0 = NULL; }
8582 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8583 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnHighlight. Expected _wxPyCompositeShape_p.");
8584 return NULL;
8585 }
8586 }
8587 if (_argo1) {
8588 if (_argo1 == Py_None) { _arg1 = NULL; }
8589 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8590 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnHighlight. Expected _wxDC_p.");
8591 return NULL;
8592 }
8593 }
8594 {
8595 PyThreadState* __tstate = wxPyBeginAllowThreads();
8596 wxPyCompositeShape_base_OnHighlight(_arg0,*_arg1);
8597
8598 wxPyEndAllowThreads(__tstate);
8599 if (PyErr_Occurred()) return NULL;
8600 } Py_INCREF(Py_None);
8601 _resultobj = Py_None;
8602 return _resultobj;
8603 }
8604
8605 #define wxPyCompositeShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8606 static PyObject *_wrap_wxPyCompositeShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
8607 PyObject * _resultobj;
8608 wxPyCompositeShape * _arg0;
8609 double _arg1;
8610 double _arg2;
8611 int _arg3 = (int ) 0;
8612 int _arg4 = (int ) 0;
8613 PyObject * _argo0 = 0;
8614 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
8615
8616 self = self;
8617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8618 return NULL;
8619 if (_argo0) {
8620 if (_argo0 == Py_None) { _arg0 = NULL; }
8621 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8622 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnLeftClick. Expected _wxPyCompositeShape_p.");
8623 return NULL;
8624 }
8625 }
8626 {
8627 PyThreadState* __tstate = wxPyBeginAllowThreads();
8628 wxPyCompositeShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4);
8629
8630 wxPyEndAllowThreads(__tstate);
8631 if (PyErr_Occurred()) return NULL;
8632 } Py_INCREF(Py_None);
8633 _resultobj = Py_None;
8634 return _resultobj;
8635 }
8636
8637 #define wxPyCompositeShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8638 static PyObject *_wrap_wxPyCompositeShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
8639 PyObject * _resultobj;
8640 wxPyCompositeShape * _arg0;
8641 double _arg1;
8642 double _arg2;
8643 int _arg3 = (int ) 0;
8644 int _arg4 = (int ) 0;
8645 PyObject * _argo0 = 0;
8646 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
8647
8648 self = self;
8649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8650 return NULL;
8651 if (_argo0) {
8652 if (_argo0 == Py_None) { _arg0 = NULL; }
8653 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8654 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnLeftDoubleClick. Expected _wxPyCompositeShape_p.");
8655 return NULL;
8656 }
8657 }
8658 {
8659 PyThreadState* __tstate = wxPyBeginAllowThreads();
8660 wxPyCompositeShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4);
8661
8662 wxPyEndAllowThreads(__tstate);
8663 if (PyErr_Occurred()) return NULL;
8664 } Py_INCREF(Py_None);
8665 _resultobj = Py_None;
8666 return _resultobj;
8667 }
8668
8669 #define wxPyCompositeShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8670 static PyObject *_wrap_wxPyCompositeShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
8671 PyObject * _resultobj;
8672 wxPyCompositeShape * _arg0;
8673 double _arg1;
8674 double _arg2;
8675 int _arg3 = (int ) 0;
8676 int _arg4 = (int ) 0;
8677 PyObject * _argo0 = 0;
8678 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
8679
8680 self = self;
8681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8682 return NULL;
8683 if (_argo0) {
8684 if (_argo0 == Py_None) { _arg0 = NULL; }
8685 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8686 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnRightClick. Expected _wxPyCompositeShape_p.");
8687 return NULL;
8688 }
8689 }
8690 {
8691 PyThreadState* __tstate = wxPyBeginAllowThreads();
8692 wxPyCompositeShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4);
8693
8694 wxPyEndAllowThreads(__tstate);
8695 if (PyErr_Occurred()) return NULL;
8696 } Py_INCREF(Py_None);
8697 _resultobj = Py_None;
8698 return _resultobj;
8699 }
8700
8701 #define wxPyCompositeShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
8702 static PyObject *_wrap_wxPyCompositeShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8703 PyObject * _resultobj;
8704 wxPyCompositeShape * _arg0;
8705 double _arg1;
8706 double _arg2;
8707 PyObject * _argo0 = 0;
8708 char *_kwnames[] = { "self","x","y", NULL };
8709
8710 self = self;
8711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyCompositeShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2))
8712 return NULL;
8713 if (_argo0) {
8714 if (_argo0 == Py_None) { _arg0 = NULL; }
8715 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8716 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnSize. Expected _wxPyCompositeShape_p.");
8717 return NULL;
8718 }
8719 }
8720 {
8721 PyThreadState* __tstate = wxPyBeginAllowThreads();
8722 wxPyCompositeShape_base_OnSize(_arg0,_arg1,_arg2);
8723
8724 wxPyEndAllowThreads(__tstate);
8725 if (PyErr_Occurred()) return NULL;
8726 } Py_INCREF(Py_None);
8727 _resultobj = Py_None;
8728 return _resultobj;
8729 }
8730
8731 #define wxPyCompositeShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8732 static PyObject *_wrap_wxPyCompositeShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
8733 PyObject * _resultobj;
8734 bool _result;
8735 wxPyCompositeShape * _arg0;
8736 wxDC * _arg1;
8737 double _arg2;
8738 double _arg3;
8739 double _arg4;
8740 double _arg5;
8741 bool _arg6 = (bool ) TRUE;
8742 PyObject * _argo0 = 0;
8743 PyObject * _argo1 = 0;
8744 int tempbool6 = (int) TRUE;
8745 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
8746
8747 self = self;
8748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyCompositeShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
8749 return NULL;
8750 if (_argo0) {
8751 if (_argo0 == Py_None) { _arg0 = NULL; }
8752 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8753 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnMovePre. Expected _wxPyCompositeShape_p.");
8754 return NULL;
8755 }
8756 }
8757 if (_argo1) {
8758 if (_argo1 == Py_None) { _arg1 = NULL; }
8759 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8760 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnMovePre. Expected _wxDC_p.");
8761 return NULL;
8762 }
8763 }
8764 _arg6 = (bool ) tempbool6;
8765 {
8766 PyThreadState* __tstate = wxPyBeginAllowThreads();
8767 _result = (bool )wxPyCompositeShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
8768
8769 wxPyEndAllowThreads(__tstate);
8770 if (PyErr_Occurred()) return NULL;
8771 } _resultobj = Py_BuildValue("i",_result);
8772 return _resultobj;
8773 }
8774
8775 #define wxPyCompositeShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8776 static PyObject *_wrap_wxPyCompositeShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
8777 PyObject * _resultobj;
8778 wxPyCompositeShape * _arg0;
8779 wxDC * _arg1;
8780 double _arg2;
8781 double _arg3;
8782 double _arg4;
8783 double _arg5;
8784 bool _arg6 = (bool ) TRUE;
8785 PyObject * _argo0 = 0;
8786 PyObject * _argo1 = 0;
8787 int tempbool6 = (int) TRUE;
8788 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
8789
8790 self = self;
8791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyCompositeShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
8792 return NULL;
8793 if (_argo0) {
8794 if (_argo0 == Py_None) { _arg0 = NULL; }
8795 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8796 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnMovePost. Expected _wxPyCompositeShape_p.");
8797 return NULL;
8798 }
8799 }
8800 if (_argo1) {
8801 if (_argo1 == Py_None) { _arg1 = NULL; }
8802 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8803 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnMovePost. Expected _wxDC_p.");
8804 return NULL;
8805 }
8806 }
8807 _arg6 = (bool ) tempbool6;
8808 {
8809 PyThreadState* __tstate = wxPyBeginAllowThreads();
8810 wxPyCompositeShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
8811
8812 wxPyEndAllowThreads(__tstate);
8813 if (PyErr_Occurred()) return NULL;
8814 } Py_INCREF(Py_None);
8815 _resultobj = Py_None;
8816 return _resultobj;
8817 }
8818
8819 #define wxPyCompositeShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8820 static PyObject *_wrap_wxPyCompositeShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8821 PyObject * _resultobj;
8822 wxPyCompositeShape * _arg0;
8823 bool _arg1;
8824 double _arg2;
8825 double _arg3;
8826 int _arg4 = (int ) 0;
8827 int _arg5 = (int ) 0;
8828 PyObject * _argo0 = 0;
8829 int tempbool1;
8830 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
8831
8832 self = self;
8833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyCompositeShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
8834 return NULL;
8835 if (_argo0) {
8836 if (_argo0 == Py_None) { _arg0 = NULL; }
8837 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8838 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDragLeft. Expected _wxPyCompositeShape_p.");
8839 return NULL;
8840 }
8841 }
8842 _arg1 = (bool ) tempbool1;
8843 {
8844 PyThreadState* __tstate = wxPyBeginAllowThreads();
8845 wxPyCompositeShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
8846
8847 wxPyEndAllowThreads(__tstate);
8848 if (PyErr_Occurred()) return NULL;
8849 } Py_INCREF(Py_None);
8850 _resultobj = Py_None;
8851 return _resultobj;
8852 }
8853
8854 #define wxPyCompositeShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8855 static PyObject *_wrap_wxPyCompositeShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8856 PyObject * _resultobj;
8857 wxPyCompositeShape * _arg0;
8858 double _arg1;
8859 double _arg2;
8860 int _arg3 = (int ) 0;
8861 int _arg4 = (int ) 0;
8862 PyObject * _argo0 = 0;
8863 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
8864
8865 self = self;
8866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8867 return NULL;
8868 if (_argo0) {
8869 if (_argo0 == Py_None) { _arg0 = NULL; }
8870 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8871 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnBeginDragLeft. Expected _wxPyCompositeShape_p.");
8872 return NULL;
8873 }
8874 }
8875 {
8876 PyThreadState* __tstate = wxPyBeginAllowThreads();
8877 wxPyCompositeShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
8878
8879 wxPyEndAllowThreads(__tstate);
8880 if (PyErr_Occurred()) return NULL;
8881 } Py_INCREF(Py_None);
8882 _resultobj = Py_None;
8883 return _resultobj;
8884 }
8885
8886 #define wxPyCompositeShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8887 static PyObject *_wrap_wxPyCompositeShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8888 PyObject * _resultobj;
8889 wxPyCompositeShape * _arg0;
8890 double _arg1;
8891 double _arg2;
8892 int _arg3 = (int ) 0;
8893 int _arg4 = (int ) 0;
8894 PyObject * _argo0 = 0;
8895 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
8896
8897 self = self;
8898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8899 return NULL;
8900 if (_argo0) {
8901 if (_argo0 == Py_None) { _arg0 = NULL; }
8902 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8903 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnEndDragLeft. Expected _wxPyCompositeShape_p.");
8904 return NULL;
8905 }
8906 }
8907 {
8908 PyThreadState* __tstate = wxPyBeginAllowThreads();
8909 wxPyCompositeShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
8910
8911 wxPyEndAllowThreads(__tstate);
8912 if (PyErr_Occurred()) return NULL;
8913 } Py_INCREF(Py_None);
8914 _resultobj = Py_None;
8915 return _resultobj;
8916 }
8917
8918 #define wxPyCompositeShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8919 static PyObject *_wrap_wxPyCompositeShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8920 PyObject * _resultobj;
8921 wxPyCompositeShape * _arg0;
8922 bool _arg1;
8923 double _arg2;
8924 double _arg3;
8925 int _arg4 = (int ) 0;
8926 int _arg5 = (int ) 0;
8927 PyObject * _argo0 = 0;
8928 int tempbool1;
8929 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
8930
8931 self = self;
8932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyCompositeShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
8933 return NULL;
8934 if (_argo0) {
8935 if (_argo0 == Py_None) { _arg0 = NULL; }
8936 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8937 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDragRight. Expected _wxPyCompositeShape_p.");
8938 return NULL;
8939 }
8940 }
8941 _arg1 = (bool ) tempbool1;
8942 {
8943 PyThreadState* __tstate = wxPyBeginAllowThreads();
8944 wxPyCompositeShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
8945
8946 wxPyEndAllowThreads(__tstate);
8947 if (PyErr_Occurred()) return NULL;
8948 } Py_INCREF(Py_None);
8949 _resultobj = Py_None;
8950 return _resultobj;
8951 }
8952
8953 #define wxPyCompositeShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8954 static PyObject *_wrap_wxPyCompositeShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8955 PyObject * _resultobj;
8956 wxPyCompositeShape * _arg0;
8957 double _arg1;
8958 double _arg2;
8959 int _arg3 = (int ) 0;
8960 int _arg4 = (int ) 0;
8961 PyObject * _argo0 = 0;
8962 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
8963
8964 self = self;
8965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8966 return NULL;
8967 if (_argo0) {
8968 if (_argo0 == Py_None) { _arg0 = NULL; }
8969 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8970 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnBeginDragRight. Expected _wxPyCompositeShape_p.");
8971 return NULL;
8972 }
8973 }
8974 {
8975 PyThreadState* __tstate = wxPyBeginAllowThreads();
8976 wxPyCompositeShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
8977
8978 wxPyEndAllowThreads(__tstate);
8979 if (PyErr_Occurred()) return NULL;
8980 } Py_INCREF(Py_None);
8981 _resultobj = Py_None;
8982 return _resultobj;
8983 }
8984
8985 #define wxPyCompositeShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8986 static PyObject *_wrap_wxPyCompositeShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8987 PyObject * _resultobj;
8988 wxPyCompositeShape * _arg0;
8989 double _arg1;
8990 double _arg2;
8991 int _arg3 = (int ) 0;
8992 int _arg4 = (int ) 0;
8993 PyObject * _argo0 = 0;
8994 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
8995
8996 self = self;
8997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8998 return NULL;
8999 if (_argo0) {
9000 if (_argo0 == Py_None) { _arg0 = NULL; }
9001 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
9002 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnEndDragRight. Expected _wxPyCompositeShape_p.");
9003 return NULL;
9004 }
9005 }
9006 {
9007 PyThreadState* __tstate = wxPyBeginAllowThreads();
9008 wxPyCompositeShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
9009
9010 wxPyEndAllowThreads(__tstate);
9011 if (PyErr_Occurred()) return NULL;
9012 } Py_INCREF(Py_None);
9013 _resultobj = Py_None;
9014 return _resultobj;
9015 }
9016
9017 #define wxPyCompositeShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
9018 static PyObject *_wrap_wxPyCompositeShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
9019 PyObject * _resultobj;
9020 wxPyCompositeShape * _arg0;
9021 wxDC * _arg1;
9022 double _arg2;
9023 double _arg3;
9024 double _arg4;
9025 double _arg5;
9026 PyObject * _argo0 = 0;
9027 PyObject * _argo1 = 0;
9028 char *_kwnames[] = { "self","dc","x","y","w","h", NULL };
9029
9030 self = self;
9031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyCompositeShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
9032 return NULL;
9033 if (_argo0) {
9034 if (_argo0 == Py_None) { _arg0 = NULL; }
9035 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
9036 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDrawOutline. Expected _wxPyCompositeShape_p.");
9037 return NULL;
9038 }
9039 }
9040 if (_argo1) {
9041 if (_argo1 == Py_None) { _arg1 = NULL; }
9042 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
9043 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnDrawOutline. Expected _wxDC_p.");
9044 return NULL;
9045 }
9046 }
9047 {
9048 PyThreadState* __tstate = wxPyBeginAllowThreads();
9049 wxPyCompositeShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5);
9050
9051 wxPyEndAllowThreads(__tstate);
9052 if (PyErr_Occurred()) return NULL;
9053 } Py_INCREF(Py_None);
9054 _resultobj = Py_None;
9055 return _resultobj;
9056 }
9057
9058 #define wxPyCompositeShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
9059 static PyObject *_wrap_wxPyCompositeShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
9060 PyObject * _resultobj;
9061 wxPyCompositeShape * _arg0;
9062 wxDC * _arg1;
9063 PyObject * _argo0 = 0;
9064 PyObject * _argo1 = 0;
9065 char *_kwnames[] = { "self","dc", NULL };
9066
9067 self = self;
9068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1))
9069 return NULL;
9070 if (_argo0) {
9071 if (_argo0 == Py_None) { _arg0 = NULL; }
9072 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
9073 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDrawControlPoints. Expected _wxPyCompositeShape_p.");
9074 return NULL;
9075 }
9076 }
9077 if (_argo1) {
9078 if (_argo1 == Py_None) { _arg1 = NULL; }
9079 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
9080 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnDrawControlPoints. Expected _wxDC_p.");
9081 return NULL;
9082 }
9083 }
9084 {
9085 PyThreadState* __tstate = wxPyBeginAllowThreads();
9086 wxPyCompositeShape_base_OnDrawControlPoints(_arg0,*_arg1);
9087
9088 wxPyEndAllowThreads(__tstate);
9089 if (PyErr_Occurred()) return NULL;
9090 } Py_INCREF(Py_None);
9091 _resultobj = Py_None;
9092 return _resultobj;
9093 }
9094
9095 #define wxPyCompositeShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
9096 static PyObject *_wrap_wxPyCompositeShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
9097 PyObject * _resultobj;
9098 wxPyCompositeShape * _arg0;
9099 wxDC * _arg1;
9100 PyObject * _argo0 = 0;
9101 PyObject * _argo1 = 0;
9102 char *_kwnames[] = { "self","dc", NULL };
9103
9104 self = self;
9105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1))
9106 return NULL;
9107 if (_argo0) {
9108 if (_argo0 == Py_None) { _arg0 = NULL; }
9109 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
9110 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnEraseControlPoints. Expected _wxPyCompositeShape_p.");
9111 return NULL;
9112 }
9113 }
9114 if (_argo1) {
9115 if (_argo1 == Py_None) { _arg1 = NULL; }
9116 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
9117 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnEraseControlPoints. Expected _wxDC_p.");
9118 return NULL;
9119 }
9120 }
9121 {
9122 PyThreadState* __tstate = wxPyBeginAllowThreads();
9123 wxPyCompositeShape_base_OnEraseControlPoints(_arg0,*_arg1);
9124
9125 wxPyEndAllowThreads(__tstate);
9126 if (PyErr_Occurred()) return NULL;
9127 } Py_INCREF(Py_None);
9128 _resultobj = Py_None;
9129 return _resultobj;
9130 }
9131
9132 #define wxPyCompositeShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
9133 static PyObject *_wrap_wxPyCompositeShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
9134 PyObject * _resultobj;
9135 wxPyCompositeShape * _arg0;
9136 wxDC * _arg1;
9137 bool _arg2 = (bool ) TRUE;
9138 PyObject * _argo0 = 0;
9139 PyObject * _argo1 = 0;
9140 int tempbool2 = (int) TRUE;
9141 char *_kwnames[] = { "self","dc","moveControlPoints", NULL };
9142
9143 self = self;
9144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyCompositeShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2))
9145 return NULL;
9146 if (_argo0) {
9147 if (_argo0 == Py_None) { _arg0 = NULL; }
9148 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
9149 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnMoveLink. Expected _wxPyCompositeShape_p.");
9150 return NULL;
9151 }
9152 }
9153 if (_argo1) {
9154 if (_argo1 == Py_None) { _arg1 = NULL; }
9155 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
9156 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnMoveLink. Expected _wxDC_p.");
9157 return NULL;
9158 }
9159 }
9160 _arg2 = (bool ) tempbool2;
9161 {
9162 PyThreadState* __tstate = wxPyBeginAllowThreads();
9163 wxPyCompositeShape_base_OnMoveLink(_arg0,*_arg1,_arg2);
9164
9165 wxPyEndAllowThreads(__tstate);
9166 if (PyErr_Occurred()) return NULL;
9167 } Py_INCREF(Py_None);
9168 _resultobj = Py_None;
9169 return _resultobj;
9170 }
9171
9172 #define wxPyCompositeShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
9173 static PyObject *_wrap_wxPyCompositeShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9174 PyObject * _resultobj;
9175 wxPyCompositeShape * _arg0;
9176 wxPyControlPoint * _arg1;
9177 bool _arg2;
9178 double _arg3;
9179 double _arg4;
9180 int _arg5 = (int ) 0;
9181 int _arg6 = (int ) 0;
9182 PyObject * _argo0 = 0;
9183 PyObject * _argo1 = 0;
9184 int tempbool2;
9185 char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL };
9186
9187 self = self;
9188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyCompositeShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6))
9189 return NULL;
9190 if (_argo0) {
9191 if (_argo0 == Py_None) { _arg0 = NULL; }
9192 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
9193 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnSizingDragLeft. Expected _wxPyCompositeShape_p.");
9194 return NULL;
9195 }
9196 }
9197 if (_argo1) {
9198 if (_argo1 == Py_None) { _arg1 = NULL; }
9199 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
9200 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
9201 return NULL;
9202 }
9203 }
9204 _arg2 = (bool ) tempbool2;
9205 {
9206 PyThreadState* __tstate = wxPyBeginAllowThreads();
9207 wxPyCompositeShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
9208
9209 wxPyEndAllowThreads(__tstate);
9210 if (PyErr_Occurred()) return NULL;
9211 } Py_INCREF(Py_None);
9212 _resultobj = Py_None;
9213 return _resultobj;
9214 }
9215
9216 #define wxPyCompositeShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
9217 static PyObject *_wrap_wxPyCompositeShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9218 PyObject * _resultobj;
9219 wxPyCompositeShape * _arg0;
9220 wxPyControlPoint * _arg1;
9221 double _arg2;
9222 double _arg3;
9223 int _arg4 = (int ) 0;
9224 int _arg5 = (int ) 0;
9225 PyObject * _argo0 = 0;
9226 PyObject * _argo1 = 0;
9227 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
9228
9229 self = self;
9230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyCompositeShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
9231 return NULL;
9232 if (_argo0) {
9233 if (_argo0 == Py_None) { _arg0 = NULL; }
9234 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
9235 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnSizingBeginDragLeft. Expected _wxPyCompositeShape_p.");
9236 return NULL;
9237 }
9238 }
9239 if (_argo1) {
9240 if (_argo1 == Py_None) { _arg1 = NULL; }
9241 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
9242 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
9243 return NULL;
9244 }
9245 }
9246 {
9247 PyThreadState* __tstate = wxPyBeginAllowThreads();
9248 wxPyCompositeShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
9249
9250 wxPyEndAllowThreads(__tstate);
9251 if (PyErr_Occurred()) return NULL;
9252 } Py_INCREF(Py_None);
9253 _resultobj = Py_None;
9254 return _resultobj;
9255 }
9256
9257 #define wxPyCompositeShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
9258 static PyObject *_wrap_wxPyCompositeShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9259 PyObject * _resultobj;
9260 wxPyCompositeShape * _arg0;
9261 wxPyControlPoint * _arg1;
9262 double _arg2;
9263 double _arg3;
9264 int _arg4 = (int ) 0;
9265 int _arg5 = (int ) 0;
9266 PyObject * _argo0 = 0;
9267 PyObject * _argo1 = 0;
9268 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
9269
9270 self = self;
9271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyCompositeShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
9272 return NULL;
9273 if (_argo0) {
9274 if (_argo0 == Py_None) { _arg0 = NULL; }
9275 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
9276 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnSizingEndDragLeft. Expected _wxPyCompositeShape_p.");
9277 return NULL;
9278 }
9279 }
9280 if (_argo1) {
9281 if (_argo1 == Py_None) { _arg1 = NULL; }
9282 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
9283 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
9284 return NULL;
9285 }
9286 }
9287 {
9288 PyThreadState* __tstate = wxPyBeginAllowThreads();
9289 wxPyCompositeShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
9290
9291 wxPyEndAllowThreads(__tstate);
9292 if (PyErr_Occurred()) return NULL;
9293 } Py_INCREF(Py_None);
9294 _resultobj = Py_None;
9295 return _resultobj;
9296 }
9297
9298 #define wxPyCompositeShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
9299 static PyObject *_wrap_wxPyCompositeShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9300 PyObject * _resultobj;
9301 wxPyCompositeShape * _arg0;
9302 double _arg1;
9303 double _arg2;
9304 PyObject * _argo0 = 0;
9305 char *_kwnames[] = { "self","w","h", NULL };
9306
9307 self = self;
9308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyCompositeShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2))
9309 return NULL;
9310 if (_argo0) {
9311 if (_argo0 == Py_None) { _arg0 = NULL; }
9312 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
9313 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnBeginSize. Expected _wxPyCompositeShape_p.");
9314 return NULL;
9315 }
9316 }
9317 {
9318 PyThreadState* __tstate = wxPyBeginAllowThreads();
9319 wxPyCompositeShape_base_OnBeginSize(_arg0,_arg1,_arg2);
9320
9321 wxPyEndAllowThreads(__tstate);
9322 if (PyErr_Occurred()) return NULL;
9323 } Py_INCREF(Py_None);
9324 _resultobj = Py_None;
9325 return _resultobj;
9326 }
9327
9328 #define wxPyCompositeShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
9329 static PyObject *_wrap_wxPyCompositeShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9330 PyObject * _resultobj;
9331 wxPyCompositeShape * _arg0;
9332 double _arg1;
9333 double _arg2;
9334 PyObject * _argo0 = 0;
9335 char *_kwnames[] = { "self","w","h", NULL };
9336
9337 self = self;
9338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyCompositeShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2))
9339 return NULL;
9340 if (_argo0) {
9341 if (_argo0 == Py_None) { _arg0 = NULL; }
9342 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
9343 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnEndSize. Expected _wxPyCompositeShape_p.");
9344 return NULL;
9345 }
9346 }
9347 {
9348 PyThreadState* __tstate = wxPyBeginAllowThreads();
9349 wxPyCompositeShape_base_OnEndSize(_arg0,_arg1,_arg2);
9350
9351 wxPyEndAllowThreads(__tstate);
9352 if (PyErr_Occurred()) return NULL;
9353 } Py_INCREF(Py_None);
9354 _resultobj = Py_None;
9355 return _resultobj;
9356 }
9357
9358 static void *SwigwxPyDividedShapeTowxPyRectangleShape(void *ptr) {
9359 wxPyDividedShape *src;
9360 wxPyRectangleShape *dest;
9361 src = (wxPyDividedShape *) ptr;
9362 dest = (wxPyRectangleShape *) src;
9363 return (void *) dest;
9364 }
9365
9366 static void *SwigwxPyDividedShapeTowxPyShape(void *ptr) {
9367 wxPyDividedShape *src;
9368 wxPyShape *dest;
9369 src = (wxPyDividedShape *) ptr;
9370 dest = (wxPyShape *) src;
9371 return (void *) dest;
9372 }
9373
9374 static void *SwigwxPyDividedShapeTowxPyShapeEvtHandler(void *ptr) {
9375 wxPyDividedShape *src;
9376 wxPyShapeEvtHandler *dest;
9377 src = (wxPyDividedShape *) ptr;
9378 dest = (wxPyShapeEvtHandler *) src;
9379 return (void *) dest;
9380 }
9381
9382 static void *SwigwxPyDividedShapeTowxObject(void *ptr) {
9383 wxPyDividedShape *src;
9384 wxObject *dest;
9385 src = (wxPyDividedShape *) ptr;
9386 dest = (wxObject *) src;
9387 return (void *) dest;
9388 }
9389
9390 #define new_wxPyDividedShape(_swigarg0,_swigarg1) (new wxPyDividedShape(_swigarg0,_swigarg1))
9391 static PyObject *_wrap_new_wxPyDividedShape(PyObject *self, PyObject *args, PyObject *kwargs) {
9392 PyObject * _resultobj;
9393 wxPyDividedShape * _result;
9394 double _arg0 = (double ) 0.0;
9395 double _arg1 = (double ) 0.0;
9396 char *_kwnames[] = { "width","height", NULL };
9397 char _ptemp[128];
9398
9399 self = self;
9400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|dd:new_wxPyDividedShape",_kwnames,&_arg0,&_arg1))
9401 return NULL;
9402 {
9403 PyThreadState* __tstate = wxPyBeginAllowThreads();
9404 _result = (wxPyDividedShape *)new_wxPyDividedShape(_arg0,_arg1);
9405
9406 wxPyEndAllowThreads(__tstate);
9407 if (PyErr_Occurred()) return NULL;
9408 } if (_result) {
9409 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyDividedShape_p");
9410 _resultobj = Py_BuildValue("s",_ptemp);
9411 } else {
9412 Py_INCREF(Py_None);
9413 _resultobj = Py_None;
9414 }
9415 return _resultobj;
9416 }
9417
9418 #define wxPyDividedShape__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
9419 static PyObject *_wrap_wxPyDividedShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9420 PyObject * _resultobj;
9421 wxPyDividedShape * _arg0;
9422 PyObject * _arg1;
9423 PyObject * _arg2;
9424 PyObject * _argo0 = 0;
9425 PyObject * _obj1 = 0;
9426 PyObject * _obj2 = 0;
9427 char *_kwnames[] = { "self","self","_class", NULL };
9428
9429 self = self;
9430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyDividedShape__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
9431 return NULL;
9432 if (_argo0) {
9433 if (_argo0 == Py_None) { _arg0 = NULL; }
9434 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9435 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape__setCallbackInfo. Expected _wxPyDividedShape_p.");
9436 return NULL;
9437 }
9438 }
9439 {
9440 _arg1 = _obj1;
9441 }
9442 {
9443 _arg2 = _obj2;
9444 }
9445 {
9446 PyThreadState* __tstate = wxPyBeginAllowThreads();
9447 wxPyDividedShape__setCallbackInfo(_arg0,_arg1,_arg2);
9448
9449 wxPyEndAllowThreads(__tstate);
9450 if (PyErr_Occurred()) return NULL;
9451 } Py_INCREF(Py_None);
9452 _resultobj = Py_None;
9453 return _resultobj;
9454 }
9455
9456 #define wxPyDividedShape_EditRegions(_swigobj) (_swigobj->EditRegions())
9457 static PyObject *_wrap_wxPyDividedShape_EditRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
9458 PyObject * _resultobj;
9459 wxPyDividedShape * _arg0;
9460 PyObject * _argo0 = 0;
9461 char *_kwnames[] = { "self", NULL };
9462
9463 self = self;
9464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDividedShape_EditRegions",_kwnames,&_argo0))
9465 return NULL;
9466 if (_argo0) {
9467 if (_argo0 == Py_None) { _arg0 = NULL; }
9468 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9469 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_EditRegions. Expected _wxPyDividedShape_p.");
9470 return NULL;
9471 }
9472 }
9473 {
9474 PyThreadState* __tstate = wxPyBeginAllowThreads();
9475 wxPyDividedShape_EditRegions(_arg0);
9476
9477 wxPyEndAllowThreads(__tstate);
9478 if (PyErr_Occurred()) return NULL;
9479 } Py_INCREF(Py_None);
9480 _resultobj = Py_None;
9481 return _resultobj;
9482 }
9483
9484 #define wxPyDividedShape_SetRegionSizes(_swigobj) (_swigobj->SetRegionSizes())
9485 static PyObject *_wrap_wxPyDividedShape_SetRegionSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
9486 PyObject * _resultobj;
9487 wxPyDividedShape * _arg0;
9488 PyObject * _argo0 = 0;
9489 char *_kwnames[] = { "self", NULL };
9490
9491 self = self;
9492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDividedShape_SetRegionSizes",_kwnames,&_argo0))
9493 return NULL;
9494 if (_argo0) {
9495 if (_argo0 == Py_None) { _arg0 = NULL; }
9496 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9497 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_SetRegionSizes. Expected _wxPyDividedShape_p.");
9498 return NULL;
9499 }
9500 }
9501 {
9502 PyThreadState* __tstate = wxPyBeginAllowThreads();
9503 wxPyDividedShape_SetRegionSizes(_arg0);
9504
9505 wxPyEndAllowThreads(__tstate);
9506 if (PyErr_Occurred()) return NULL;
9507 } Py_INCREF(Py_None);
9508 _resultobj = Py_None;
9509 return _resultobj;
9510 }
9511
9512 #define wxPyDividedShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
9513 static PyObject *_wrap_wxPyDividedShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
9514 PyObject * _resultobj;
9515 wxPyDividedShape * _arg0;
9516 PyObject * _argo0 = 0;
9517 char *_kwnames[] = { "self", NULL };
9518
9519 self = self;
9520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDividedShape_base_OnDelete",_kwnames,&_argo0))
9521 return NULL;
9522 if (_argo0) {
9523 if (_argo0 == Py_None) { _arg0 = NULL; }
9524 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9525 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDelete. Expected _wxPyDividedShape_p.");
9526 return NULL;
9527 }
9528 }
9529 {
9530 PyThreadState* __tstate = wxPyBeginAllowThreads();
9531 wxPyDividedShape_base_OnDelete(_arg0);
9532
9533 wxPyEndAllowThreads(__tstate);
9534 if (PyErr_Occurred()) return NULL;
9535 } Py_INCREF(Py_None);
9536 _resultobj = Py_None;
9537 return _resultobj;
9538 }
9539
9540 #define wxPyDividedShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
9541 static PyObject *_wrap_wxPyDividedShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
9542 PyObject * _resultobj;
9543 wxPyDividedShape * _arg0;
9544 wxDC * _arg1;
9545 PyObject * _argo0 = 0;
9546 PyObject * _argo1 = 0;
9547 char *_kwnames[] = { "self","dc", NULL };
9548
9549 self = self;
9550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnDraw",_kwnames,&_argo0,&_argo1))
9551 return NULL;
9552 if (_argo0) {
9553 if (_argo0 == Py_None) { _arg0 = NULL; }
9554 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9555 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDraw. Expected _wxPyDividedShape_p.");
9556 return NULL;
9557 }
9558 }
9559 if (_argo1) {
9560 if (_argo1 == Py_None) { _arg1 = NULL; }
9561 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
9562 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnDraw. Expected _wxDC_p.");
9563 return NULL;
9564 }
9565 }
9566 {
9567 PyThreadState* __tstate = wxPyBeginAllowThreads();
9568 wxPyDividedShape_base_OnDraw(_arg0,*_arg1);
9569
9570 wxPyEndAllowThreads(__tstate);
9571 if (PyErr_Occurred()) return NULL;
9572 } Py_INCREF(Py_None);
9573 _resultobj = Py_None;
9574 return _resultobj;
9575 }
9576
9577 #define wxPyDividedShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
9578 static PyObject *_wrap_wxPyDividedShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
9579 PyObject * _resultobj;
9580 wxPyDividedShape * _arg0;
9581 wxDC * _arg1;
9582 PyObject * _argo0 = 0;
9583 PyObject * _argo1 = 0;
9584 char *_kwnames[] = { "self","dc", NULL };
9585
9586 self = self;
9587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1))
9588 return NULL;
9589 if (_argo0) {
9590 if (_argo0 == Py_None) { _arg0 = NULL; }
9591 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9592 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDrawContents. Expected _wxPyDividedShape_p.");
9593 return NULL;
9594 }
9595 }
9596 if (_argo1) {
9597 if (_argo1 == Py_None) { _arg1 = NULL; }
9598 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
9599 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnDrawContents. Expected _wxDC_p.");
9600 return NULL;
9601 }
9602 }
9603 {
9604 PyThreadState* __tstate = wxPyBeginAllowThreads();
9605 wxPyDividedShape_base_OnDrawContents(_arg0,*_arg1);
9606
9607 wxPyEndAllowThreads(__tstate);
9608 if (PyErr_Occurred()) return NULL;
9609 } Py_INCREF(Py_None);
9610 _resultobj = Py_None;
9611 return _resultobj;
9612 }
9613
9614 #define wxPyDividedShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
9615 static PyObject *_wrap_wxPyDividedShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
9616 PyObject * _resultobj;
9617 wxPyDividedShape * _arg0;
9618 wxDC * _arg1;
9619 bool _arg2 = (bool ) FALSE;
9620 PyObject * _argo0 = 0;
9621 PyObject * _argo1 = 0;
9622 int tempbool2 = (int) FALSE;
9623 char *_kwnames[] = { "self","dc","erase", NULL };
9624
9625 self = self;
9626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDividedShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2))
9627 return NULL;
9628 if (_argo0) {
9629 if (_argo0 == Py_None) { _arg0 = NULL; }
9630 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9631 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDrawBranches. Expected _wxPyDividedShape_p.");
9632 return NULL;
9633 }
9634 }
9635 if (_argo1) {
9636 if (_argo1 == Py_None) { _arg1 = NULL; }
9637 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
9638 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnDrawBranches. Expected _wxDC_p.");
9639 return NULL;
9640 }
9641 }
9642 _arg2 = (bool ) tempbool2;
9643 {
9644 PyThreadState* __tstate = wxPyBeginAllowThreads();
9645 wxPyDividedShape_base_OnDrawBranches(_arg0,*_arg1,_arg2);
9646
9647 wxPyEndAllowThreads(__tstate);
9648 if (PyErr_Occurred()) return NULL;
9649 } Py_INCREF(Py_None);
9650 _resultobj = Py_None;
9651 return _resultobj;
9652 }
9653
9654 #define wxPyDividedShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
9655 static PyObject *_wrap_wxPyDividedShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
9656 PyObject * _resultobj;
9657 wxPyDividedShape * _arg0;
9658 wxDC * _arg1;
9659 PyObject * _argo0 = 0;
9660 PyObject * _argo1 = 0;
9661 char *_kwnames[] = { "self","dc", NULL };
9662
9663 self = self;
9664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1))
9665 return NULL;
9666 if (_argo0) {
9667 if (_argo0 == Py_None) { _arg0 = NULL; }
9668 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9669 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnMoveLinks. Expected _wxPyDividedShape_p.");
9670 return NULL;
9671 }
9672 }
9673 if (_argo1) {
9674 if (_argo1 == Py_None) { _arg1 = NULL; }
9675 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
9676 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnMoveLinks. Expected _wxDC_p.");
9677 return NULL;
9678 }
9679 }
9680 {
9681 PyThreadState* __tstate = wxPyBeginAllowThreads();
9682 wxPyDividedShape_base_OnMoveLinks(_arg0,*_arg1);
9683
9684 wxPyEndAllowThreads(__tstate);
9685 if (PyErr_Occurred()) return NULL;
9686 } Py_INCREF(Py_None);
9687 _resultobj = Py_None;
9688 return _resultobj;
9689 }
9690
9691 #define wxPyDividedShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
9692 static PyObject *_wrap_wxPyDividedShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
9693 PyObject * _resultobj;
9694 wxPyDividedShape * _arg0;
9695 wxDC * _arg1;
9696 PyObject * _argo0 = 0;
9697 PyObject * _argo1 = 0;
9698 char *_kwnames[] = { "self","dc", NULL };
9699
9700 self = self;
9701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnErase",_kwnames,&_argo0,&_argo1))
9702 return NULL;
9703 if (_argo0) {
9704 if (_argo0 == Py_None) { _arg0 = NULL; }
9705 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9706 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnErase. Expected _wxPyDividedShape_p.");
9707 return NULL;
9708 }
9709 }
9710 if (_argo1) {
9711 if (_argo1 == Py_None) { _arg1 = NULL; }
9712 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
9713 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnErase. Expected _wxDC_p.");
9714 return NULL;
9715 }
9716 }
9717 {
9718 PyThreadState* __tstate = wxPyBeginAllowThreads();
9719 wxPyDividedShape_base_OnErase(_arg0,*_arg1);
9720
9721 wxPyEndAllowThreads(__tstate);
9722 if (PyErr_Occurred()) return NULL;
9723 } Py_INCREF(Py_None);
9724 _resultobj = Py_None;
9725 return _resultobj;
9726 }
9727
9728 #define wxPyDividedShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
9729 static PyObject *_wrap_wxPyDividedShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
9730 PyObject * _resultobj;
9731 wxPyDividedShape * _arg0;
9732 wxDC * _arg1;
9733 PyObject * _argo0 = 0;
9734 PyObject * _argo1 = 0;
9735 char *_kwnames[] = { "self","dc", NULL };
9736
9737 self = self;
9738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1))
9739 return NULL;
9740 if (_argo0) {
9741 if (_argo0 == Py_None) { _arg0 = NULL; }
9742 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9743 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnEraseContents. Expected _wxPyDividedShape_p.");
9744 return NULL;
9745 }
9746 }
9747 if (_argo1) {
9748 if (_argo1 == Py_None) { _arg1 = NULL; }
9749 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
9750 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnEraseContents. Expected _wxDC_p.");
9751 return NULL;
9752 }
9753 }
9754 {
9755 PyThreadState* __tstate = wxPyBeginAllowThreads();
9756 wxPyDividedShape_base_OnEraseContents(_arg0,*_arg1);
9757
9758 wxPyEndAllowThreads(__tstate);
9759 if (PyErr_Occurred()) return NULL;
9760 } Py_INCREF(Py_None);
9761 _resultobj = Py_None;
9762 return _resultobj;
9763 }
9764
9765 #define wxPyDividedShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
9766 static PyObject *_wrap_wxPyDividedShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
9767 PyObject * _resultobj;
9768 wxPyDividedShape * _arg0;
9769 wxDC * _arg1;
9770 PyObject * _argo0 = 0;
9771 PyObject * _argo1 = 0;
9772 char *_kwnames[] = { "self","dc", NULL };
9773
9774 self = self;
9775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnHighlight",_kwnames,&_argo0,&_argo1))
9776 return NULL;
9777 if (_argo0) {
9778 if (_argo0 == Py_None) { _arg0 = NULL; }
9779 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9780 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnHighlight. Expected _wxPyDividedShape_p.");
9781 return NULL;
9782 }
9783 }
9784 if (_argo1) {
9785 if (_argo1 == Py_None) { _arg1 = NULL; }
9786 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
9787 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnHighlight. Expected _wxDC_p.");
9788 return NULL;
9789 }
9790 }
9791 {
9792 PyThreadState* __tstate = wxPyBeginAllowThreads();
9793 wxPyDividedShape_base_OnHighlight(_arg0,*_arg1);
9794
9795 wxPyEndAllowThreads(__tstate);
9796 if (PyErr_Occurred()) return NULL;
9797 } Py_INCREF(Py_None);
9798 _resultobj = Py_None;
9799 return _resultobj;
9800 }
9801
9802 #define wxPyDividedShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9803 static PyObject *_wrap_wxPyDividedShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
9804 PyObject * _resultobj;
9805 wxPyDividedShape * _arg0;
9806 double _arg1;
9807 double _arg2;
9808 int _arg3 = (int ) 0;
9809 int _arg4 = (int ) 0;
9810 PyObject * _argo0 = 0;
9811 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
9812
9813 self = self;
9814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
9815 return NULL;
9816 if (_argo0) {
9817 if (_argo0 == Py_None) { _arg0 = NULL; }
9818 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9819 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnLeftClick. Expected _wxPyDividedShape_p.");
9820 return NULL;
9821 }
9822 }
9823 {
9824 PyThreadState* __tstate = wxPyBeginAllowThreads();
9825 wxPyDividedShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4);
9826
9827 wxPyEndAllowThreads(__tstate);
9828 if (PyErr_Occurred()) return NULL;
9829 } Py_INCREF(Py_None);
9830 _resultobj = Py_None;
9831 return _resultobj;
9832 }
9833
9834 #define wxPyDividedShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9835 static PyObject *_wrap_wxPyDividedShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
9836 PyObject * _resultobj;
9837 wxPyDividedShape * _arg0;
9838 double _arg1;
9839 double _arg2;
9840 int _arg3 = (int ) 0;
9841 int _arg4 = (int ) 0;
9842 PyObject * _argo0 = 0;
9843 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
9844
9845 self = self;
9846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
9847 return NULL;
9848 if (_argo0) {
9849 if (_argo0 == Py_None) { _arg0 = NULL; }
9850 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9851 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnLeftDoubleClick. Expected _wxPyDividedShape_p.");
9852 return NULL;
9853 }
9854 }
9855 {
9856 PyThreadState* __tstate = wxPyBeginAllowThreads();
9857 wxPyDividedShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4);
9858
9859 wxPyEndAllowThreads(__tstate);
9860 if (PyErr_Occurred()) return NULL;
9861 } Py_INCREF(Py_None);
9862 _resultobj = Py_None;
9863 return _resultobj;
9864 }
9865
9866 #define wxPyDividedShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9867 static PyObject *_wrap_wxPyDividedShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
9868 PyObject * _resultobj;
9869 wxPyDividedShape * _arg0;
9870 double _arg1;
9871 double _arg2;
9872 int _arg3 = (int ) 0;
9873 int _arg4 = (int ) 0;
9874 PyObject * _argo0 = 0;
9875 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
9876
9877 self = self;
9878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
9879 return NULL;
9880 if (_argo0) {
9881 if (_argo0 == Py_None) { _arg0 = NULL; }
9882 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9883 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnRightClick. Expected _wxPyDividedShape_p.");
9884 return NULL;
9885 }
9886 }
9887 {
9888 PyThreadState* __tstate = wxPyBeginAllowThreads();
9889 wxPyDividedShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4);
9890
9891 wxPyEndAllowThreads(__tstate);
9892 if (PyErr_Occurred()) return NULL;
9893 } Py_INCREF(Py_None);
9894 _resultobj = Py_None;
9895 return _resultobj;
9896 }
9897
9898 #define wxPyDividedShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
9899 static PyObject *_wrap_wxPyDividedShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9900 PyObject * _resultobj;
9901 wxPyDividedShape * _arg0;
9902 double _arg1;
9903 double _arg2;
9904 PyObject * _argo0 = 0;
9905 char *_kwnames[] = { "self","x","y", NULL };
9906
9907 self = self;
9908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDividedShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2))
9909 return NULL;
9910 if (_argo0) {
9911 if (_argo0 == Py_None) { _arg0 = NULL; }
9912 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9913 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnSize. Expected _wxPyDividedShape_p.");
9914 return NULL;
9915 }
9916 }
9917 {
9918 PyThreadState* __tstate = wxPyBeginAllowThreads();
9919 wxPyDividedShape_base_OnSize(_arg0,_arg1,_arg2);
9920
9921 wxPyEndAllowThreads(__tstate);
9922 if (PyErr_Occurred()) return NULL;
9923 } Py_INCREF(Py_None);
9924 _resultobj = Py_None;
9925 return _resultobj;
9926 }
9927
9928 #define wxPyDividedShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
9929 static PyObject *_wrap_wxPyDividedShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
9930 PyObject * _resultobj;
9931 bool _result;
9932 wxPyDividedShape * _arg0;
9933 wxDC * _arg1;
9934 double _arg2;
9935 double _arg3;
9936 double _arg4;
9937 double _arg5;
9938 bool _arg6 = (bool ) TRUE;
9939 PyObject * _argo0 = 0;
9940 PyObject * _argo1 = 0;
9941 int tempbool6 = (int) TRUE;
9942 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
9943
9944 self = self;
9945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDividedShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
9946 return NULL;
9947 if (_argo0) {
9948 if (_argo0 == Py_None) { _arg0 = NULL; }
9949 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9950 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnMovePre. Expected _wxPyDividedShape_p.");
9951 return NULL;
9952 }
9953 }
9954 if (_argo1) {
9955 if (_argo1 == Py_None) { _arg1 = NULL; }
9956 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
9957 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnMovePre. Expected _wxDC_p.");
9958 return NULL;
9959 }
9960 }
9961 _arg6 = (bool ) tempbool6;
9962 {
9963 PyThreadState* __tstate = wxPyBeginAllowThreads();
9964 _result = (bool )wxPyDividedShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
9965
9966 wxPyEndAllowThreads(__tstate);
9967 if (PyErr_Occurred()) return NULL;
9968 } _resultobj = Py_BuildValue("i",_result);
9969 return _resultobj;
9970 }
9971
9972 #define wxPyDividedShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
9973 static PyObject *_wrap_wxPyDividedShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
9974 PyObject * _resultobj;
9975 wxPyDividedShape * _arg0;
9976 wxDC * _arg1;
9977 double _arg2;
9978 double _arg3;
9979 double _arg4;
9980 double _arg5;
9981 bool _arg6 = (bool ) TRUE;
9982 PyObject * _argo0 = 0;
9983 PyObject * _argo1 = 0;
9984 int tempbool6 = (int) TRUE;
9985 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
9986
9987 self = self;
9988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDividedShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
9989 return NULL;
9990 if (_argo0) {
9991 if (_argo0 == Py_None) { _arg0 = NULL; }
9992 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9993 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnMovePost. Expected _wxPyDividedShape_p.");
9994 return NULL;
9995 }
9996 }
9997 if (_argo1) {
9998 if (_argo1 == Py_None) { _arg1 = NULL; }
9999 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
10000 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnMovePost. Expected _wxDC_p.");
10001 return NULL;
10002 }
10003 }
10004 _arg6 = (bool ) tempbool6;
10005 {
10006 PyThreadState* __tstate = wxPyBeginAllowThreads();
10007 wxPyDividedShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
10008
10009 wxPyEndAllowThreads(__tstate);
10010 if (PyErr_Occurred()) return NULL;
10011 } Py_INCREF(Py_None);
10012 _resultobj = Py_None;
10013 return _resultobj;
10014 }
10015
10016 #define wxPyDividedShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10017 static PyObject *_wrap_wxPyDividedShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10018 PyObject * _resultobj;
10019 wxPyDividedShape * _arg0;
10020 bool _arg1;
10021 double _arg2;
10022 double _arg3;
10023 int _arg4 = (int ) 0;
10024 int _arg5 = (int ) 0;
10025 PyObject * _argo0 = 0;
10026 int tempbool1;
10027 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
10028
10029 self = self;
10030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDividedShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
10031 return NULL;
10032 if (_argo0) {
10033 if (_argo0 == Py_None) { _arg0 = NULL; }
10034 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
10035 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDragLeft. Expected _wxPyDividedShape_p.");
10036 return NULL;
10037 }
10038 }
10039 _arg1 = (bool ) tempbool1;
10040 {
10041 PyThreadState* __tstate = wxPyBeginAllowThreads();
10042 wxPyDividedShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
10043
10044 wxPyEndAllowThreads(__tstate);
10045 if (PyErr_Occurred()) return NULL;
10046 } Py_INCREF(Py_None);
10047 _resultobj = Py_None;
10048 return _resultobj;
10049 }
10050
10051 #define wxPyDividedShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10052 static PyObject *_wrap_wxPyDividedShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10053 PyObject * _resultobj;
10054 wxPyDividedShape * _arg0;
10055 double _arg1;
10056 double _arg2;
10057 int _arg3 = (int ) 0;
10058 int _arg4 = (int ) 0;
10059 PyObject * _argo0 = 0;
10060 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
10061
10062 self = self;
10063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
10064 return NULL;
10065 if (_argo0) {
10066 if (_argo0 == Py_None) { _arg0 = NULL; }
10067 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
10068 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnBeginDragLeft. Expected _wxPyDividedShape_p.");
10069 return NULL;
10070 }
10071 }
10072 {
10073 PyThreadState* __tstate = wxPyBeginAllowThreads();
10074 wxPyDividedShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
10075
10076 wxPyEndAllowThreads(__tstate);
10077 if (PyErr_Occurred()) return NULL;
10078 } Py_INCREF(Py_None);
10079 _resultobj = Py_None;
10080 return _resultobj;
10081 }
10082
10083 #define wxPyDividedShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10084 static PyObject *_wrap_wxPyDividedShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10085 PyObject * _resultobj;
10086 wxPyDividedShape * _arg0;
10087 double _arg1;
10088 double _arg2;
10089 int _arg3 = (int ) 0;
10090 int _arg4 = (int ) 0;
10091 PyObject * _argo0 = 0;
10092 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
10093
10094 self = self;
10095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
10096 return NULL;
10097 if (_argo0) {
10098 if (_argo0 == Py_None) { _arg0 = NULL; }
10099 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
10100 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnEndDragLeft. Expected _wxPyDividedShape_p.");
10101 return NULL;
10102 }
10103 }
10104 {
10105 PyThreadState* __tstate = wxPyBeginAllowThreads();
10106 wxPyDividedShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
10107
10108 wxPyEndAllowThreads(__tstate);
10109 if (PyErr_Occurred()) return NULL;
10110 } Py_INCREF(Py_None);
10111 _resultobj = Py_None;
10112 return _resultobj;
10113 }
10114
10115 #define wxPyDividedShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10116 static PyObject *_wrap_wxPyDividedShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
10117 PyObject * _resultobj;
10118 wxPyDividedShape * _arg0;
10119 bool _arg1;
10120 double _arg2;
10121 double _arg3;
10122 int _arg4 = (int ) 0;
10123 int _arg5 = (int ) 0;
10124 PyObject * _argo0 = 0;
10125 int tempbool1;
10126 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
10127
10128 self = self;
10129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDividedShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
10130 return NULL;
10131 if (_argo0) {
10132 if (_argo0 == Py_None) { _arg0 = NULL; }
10133 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
10134 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDragRight. Expected _wxPyDividedShape_p.");
10135 return NULL;
10136 }
10137 }
10138 _arg1 = (bool ) tempbool1;
10139 {
10140 PyThreadState* __tstate = wxPyBeginAllowThreads();
10141 wxPyDividedShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
10142
10143 wxPyEndAllowThreads(__tstate);
10144 if (PyErr_Occurred()) return NULL;
10145 } Py_INCREF(Py_None);
10146 _resultobj = Py_None;
10147 return _resultobj;
10148 }
10149
10150 #define wxPyDividedShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10151 static PyObject *_wrap_wxPyDividedShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
10152 PyObject * _resultobj;
10153 wxPyDividedShape * _arg0;
10154 double _arg1;
10155 double _arg2;
10156 int _arg3 = (int ) 0;
10157 int _arg4 = (int ) 0;
10158 PyObject * _argo0 = 0;
10159 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
10160
10161 self = self;
10162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
10163 return NULL;
10164 if (_argo0) {
10165 if (_argo0 == Py_None) { _arg0 = NULL; }
10166 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
10167 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnBeginDragRight. Expected _wxPyDividedShape_p.");
10168 return NULL;
10169 }
10170 }
10171 {
10172 PyThreadState* __tstate = wxPyBeginAllowThreads();
10173 wxPyDividedShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
10174
10175 wxPyEndAllowThreads(__tstate);
10176 if (PyErr_Occurred()) return NULL;
10177 } Py_INCREF(Py_None);
10178 _resultobj = Py_None;
10179 return _resultobj;
10180 }
10181
10182 #define wxPyDividedShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10183 static PyObject *_wrap_wxPyDividedShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
10184 PyObject * _resultobj;
10185 wxPyDividedShape * _arg0;
10186 double _arg1;
10187 double _arg2;
10188 int _arg3 = (int ) 0;
10189 int _arg4 = (int ) 0;
10190 PyObject * _argo0 = 0;
10191 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
10192
10193 self = self;
10194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
10195 return NULL;
10196 if (_argo0) {
10197 if (_argo0 == Py_None) { _arg0 = NULL; }
10198 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
10199 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnEndDragRight. Expected _wxPyDividedShape_p.");
10200 return NULL;
10201 }
10202 }
10203 {
10204 PyThreadState* __tstate = wxPyBeginAllowThreads();
10205 wxPyDividedShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
10206
10207 wxPyEndAllowThreads(__tstate);
10208 if (PyErr_Occurred()) return NULL;
10209 } Py_INCREF(Py_None);
10210 _resultobj = Py_None;
10211 return _resultobj;
10212 }
10213
10214 #define wxPyDividedShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10215 static PyObject *_wrap_wxPyDividedShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
10216 PyObject * _resultobj;
10217 wxPyDividedShape * _arg0;
10218 wxDC * _arg1;
10219 double _arg2;
10220 double _arg3;
10221 double _arg4;
10222 double _arg5;
10223 PyObject * _argo0 = 0;
10224 PyObject * _argo1 = 0;
10225 char *_kwnames[] = { "self","dc","x","y","w","h", NULL };
10226
10227 self = self;
10228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyDividedShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
10229 return NULL;
10230 if (_argo0) {
10231 if (_argo0 == Py_None) { _arg0 = NULL; }
10232 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
10233 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDrawOutline. Expected _wxPyDividedShape_p.");
10234 return NULL;
10235 }
10236 }
10237 if (_argo1) {
10238 if (_argo1 == Py_None) { _arg1 = NULL; }
10239 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
10240 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnDrawOutline. Expected _wxDC_p.");
10241 return NULL;
10242 }
10243 }
10244 {
10245 PyThreadState* __tstate = wxPyBeginAllowThreads();
10246 wxPyDividedShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5);
10247
10248 wxPyEndAllowThreads(__tstate);
10249 if (PyErr_Occurred()) return NULL;
10250 } Py_INCREF(Py_None);
10251 _resultobj = Py_None;
10252 return _resultobj;
10253 }
10254
10255 #define wxPyDividedShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
10256 static PyObject *_wrap_wxPyDividedShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
10257 PyObject * _resultobj;
10258 wxPyDividedShape * _arg0;
10259 wxDC * _arg1;
10260 PyObject * _argo0 = 0;
10261 PyObject * _argo1 = 0;
10262 char *_kwnames[] = { "self","dc", NULL };
10263
10264 self = self;
10265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1))
10266 return NULL;
10267 if (_argo0) {
10268 if (_argo0 == Py_None) { _arg0 = NULL; }
10269 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
10270 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDrawControlPoints. Expected _wxPyDividedShape_p.");
10271 return NULL;
10272 }
10273 }
10274 if (_argo1) {
10275 if (_argo1 == Py_None) { _arg1 = NULL; }
10276 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
10277 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnDrawControlPoints. Expected _wxDC_p.");
10278 return NULL;
10279 }
10280 }
10281 {
10282 PyThreadState* __tstate = wxPyBeginAllowThreads();
10283 wxPyDividedShape_base_OnDrawControlPoints(_arg0,*_arg1);
10284
10285 wxPyEndAllowThreads(__tstate);
10286 if (PyErr_Occurred()) return NULL;
10287 } Py_INCREF(Py_None);
10288 _resultobj = Py_None;
10289 return _resultobj;
10290 }
10291
10292 #define wxPyDividedShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
10293 static PyObject *_wrap_wxPyDividedShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
10294 PyObject * _resultobj;
10295 wxPyDividedShape * _arg0;
10296 wxDC * _arg1;
10297 PyObject * _argo0 = 0;
10298 PyObject * _argo1 = 0;
10299 char *_kwnames[] = { "self","dc", NULL };
10300
10301 self = self;
10302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1))
10303 return NULL;
10304 if (_argo0) {
10305 if (_argo0 == Py_None) { _arg0 = NULL; }
10306 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
10307 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnEraseControlPoints. Expected _wxPyDividedShape_p.");
10308 return NULL;
10309 }
10310 }
10311 if (_argo1) {
10312 if (_argo1 == Py_None) { _arg1 = NULL; }
10313 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
10314 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnEraseControlPoints. Expected _wxDC_p.");
10315 return NULL;
10316 }
10317 }
10318 {
10319 PyThreadState* __tstate = wxPyBeginAllowThreads();
10320 wxPyDividedShape_base_OnEraseControlPoints(_arg0,*_arg1);
10321
10322 wxPyEndAllowThreads(__tstate);
10323 if (PyErr_Occurred()) return NULL;
10324 } Py_INCREF(Py_None);
10325 _resultobj = Py_None;
10326 return _resultobj;
10327 }
10328
10329 #define wxPyDividedShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
10330 static PyObject *_wrap_wxPyDividedShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
10331 PyObject * _resultobj;
10332 wxPyDividedShape * _arg0;
10333 wxDC * _arg1;
10334 bool _arg2 = (bool ) TRUE;
10335 PyObject * _argo0 = 0;
10336 PyObject * _argo1 = 0;
10337 int tempbool2 = (int) TRUE;
10338 char *_kwnames[] = { "self","dc","moveControlPoints", NULL };
10339
10340 self = self;
10341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDividedShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2))
10342 return NULL;
10343 if (_argo0) {
10344 if (_argo0 == Py_None) { _arg0 = NULL; }
10345 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
10346 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnMoveLink. Expected _wxPyDividedShape_p.");
10347 return NULL;
10348 }
10349 }
10350 if (_argo1) {
10351 if (_argo1 == Py_None) { _arg1 = NULL; }
10352 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
10353 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnMoveLink. Expected _wxDC_p.");
10354 return NULL;
10355 }
10356 }
10357 _arg2 = (bool ) tempbool2;
10358 {
10359 PyThreadState* __tstate = wxPyBeginAllowThreads();
10360 wxPyDividedShape_base_OnMoveLink(_arg0,*_arg1,_arg2);
10361
10362 wxPyEndAllowThreads(__tstate);
10363 if (PyErr_Occurred()) return NULL;
10364 } Py_INCREF(Py_None);
10365 _resultobj = Py_None;
10366 return _resultobj;
10367 }
10368
10369 #define wxPyDividedShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
10370 static PyObject *_wrap_wxPyDividedShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10371 PyObject * _resultobj;
10372 wxPyDividedShape * _arg0;
10373 wxPyControlPoint * _arg1;
10374 bool _arg2;
10375 double _arg3;
10376 double _arg4;
10377 int _arg5 = (int ) 0;
10378 int _arg6 = (int ) 0;
10379 PyObject * _argo0 = 0;
10380 PyObject * _argo1 = 0;
10381 int tempbool2;
10382 char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL };
10383
10384 self = self;
10385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyDividedShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6))
10386 return NULL;
10387 if (_argo0) {
10388 if (_argo0 == Py_None) { _arg0 = NULL; }
10389 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
10390 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnSizingDragLeft. Expected _wxPyDividedShape_p.");
10391 return NULL;
10392 }
10393 }
10394 if (_argo1) {
10395 if (_argo1 == Py_None) { _arg1 = NULL; }
10396 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
10397 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
10398 return NULL;
10399 }
10400 }
10401 _arg2 = (bool ) tempbool2;
10402 {
10403 PyThreadState* __tstate = wxPyBeginAllowThreads();
10404 wxPyDividedShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
10405
10406 wxPyEndAllowThreads(__tstate);
10407 if (PyErr_Occurred()) return NULL;
10408 } Py_INCREF(Py_None);
10409 _resultobj = Py_None;
10410 return _resultobj;
10411 }
10412
10413 #define wxPyDividedShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10414 static PyObject *_wrap_wxPyDividedShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10415 PyObject * _resultobj;
10416 wxPyDividedShape * _arg0;
10417 wxPyControlPoint * _arg1;
10418 double _arg2;
10419 double _arg3;
10420 int _arg4 = (int ) 0;
10421 int _arg5 = (int ) 0;
10422 PyObject * _argo0 = 0;
10423 PyObject * _argo1 = 0;
10424 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
10425
10426 self = self;
10427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDividedShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
10428 return NULL;
10429 if (_argo0) {
10430 if (_argo0 == Py_None) { _arg0 = NULL; }
10431 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
10432 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnSizingBeginDragLeft. Expected _wxPyDividedShape_p.");
10433 return NULL;
10434 }
10435 }
10436 if (_argo1) {
10437 if (_argo1 == Py_None) { _arg1 = NULL; }
10438 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
10439 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
10440 return NULL;
10441 }
10442 }
10443 {
10444 PyThreadState* __tstate = wxPyBeginAllowThreads();
10445 wxPyDividedShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
10446
10447 wxPyEndAllowThreads(__tstate);
10448 if (PyErr_Occurred()) return NULL;
10449 } Py_INCREF(Py_None);
10450 _resultobj = Py_None;
10451 return _resultobj;
10452 }
10453
10454 #define wxPyDividedShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10455 static PyObject *_wrap_wxPyDividedShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10456 PyObject * _resultobj;
10457 wxPyDividedShape * _arg0;
10458 wxPyControlPoint * _arg1;
10459 double _arg2;
10460 double _arg3;
10461 int _arg4 = (int ) 0;
10462 int _arg5 = (int ) 0;
10463 PyObject * _argo0 = 0;
10464 PyObject * _argo1 = 0;
10465 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
10466
10467 self = self;
10468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDividedShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
10469 return NULL;
10470 if (_argo0) {
10471 if (_argo0 == Py_None) { _arg0 = NULL; }
10472 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
10473 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnSizingEndDragLeft. Expected _wxPyDividedShape_p.");
10474 return NULL;
10475 }
10476 }
10477 if (_argo1) {
10478 if (_argo1 == Py_None) { _arg1 = NULL; }
10479 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
10480 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
10481 return NULL;
10482 }
10483 }
10484 {
10485 PyThreadState* __tstate = wxPyBeginAllowThreads();
10486 wxPyDividedShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
10487
10488 wxPyEndAllowThreads(__tstate);
10489 if (PyErr_Occurred()) return NULL;
10490 } Py_INCREF(Py_None);
10491 _resultobj = Py_None;
10492 return _resultobj;
10493 }
10494
10495 #define wxPyDividedShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
10496 static PyObject *_wrap_wxPyDividedShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10497 PyObject * _resultobj;
10498 wxPyDividedShape * _arg0;
10499 double _arg1;
10500 double _arg2;
10501 PyObject * _argo0 = 0;
10502 char *_kwnames[] = { "self","w","h", NULL };
10503
10504 self = self;
10505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDividedShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2))
10506 return NULL;
10507 if (_argo0) {
10508 if (_argo0 == Py_None) { _arg0 = NULL; }
10509 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
10510 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnBeginSize. Expected _wxPyDividedShape_p.");
10511 return NULL;
10512 }
10513 }
10514 {
10515 PyThreadState* __tstate = wxPyBeginAllowThreads();
10516 wxPyDividedShape_base_OnBeginSize(_arg0,_arg1,_arg2);
10517
10518 wxPyEndAllowThreads(__tstate);
10519 if (PyErr_Occurred()) return NULL;
10520 } Py_INCREF(Py_None);
10521 _resultobj = Py_None;
10522 return _resultobj;
10523 }
10524
10525 #define wxPyDividedShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
10526 static PyObject *_wrap_wxPyDividedShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10527 PyObject * _resultobj;
10528 wxPyDividedShape * _arg0;
10529 double _arg1;
10530 double _arg2;
10531 PyObject * _argo0 = 0;
10532 char *_kwnames[] = { "self","w","h", NULL };
10533
10534 self = self;
10535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDividedShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2))
10536 return NULL;
10537 if (_argo0) {
10538 if (_argo0 == Py_None) { _arg0 = NULL; }
10539 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
10540 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnEndSize. Expected _wxPyDividedShape_p.");
10541 return NULL;
10542 }
10543 }
10544 {
10545 PyThreadState* __tstate = wxPyBeginAllowThreads();
10546 wxPyDividedShape_base_OnEndSize(_arg0,_arg1,_arg2);
10547
10548 wxPyEndAllowThreads(__tstate);
10549 if (PyErr_Occurred()) return NULL;
10550 } Py_INCREF(Py_None);
10551 _resultobj = Py_None;
10552 return _resultobj;
10553 }
10554
10555 static void *SwigwxPyDivisionShapeTowxPyCompositeShape(void *ptr) {
10556 wxPyDivisionShape *src;
10557 wxPyCompositeShape *dest;
10558 src = (wxPyDivisionShape *) ptr;
10559 dest = (wxPyCompositeShape *) src;
10560 return (void *) dest;
10561 }
10562
10563 static void *SwigwxPyDivisionShapeTowxPyRectangleShape(void *ptr) {
10564 wxPyDivisionShape *src;
10565 wxPyRectangleShape *dest;
10566 src = (wxPyDivisionShape *) ptr;
10567 dest = (wxPyRectangleShape *) src;
10568 return (void *) dest;
10569 }
10570
10571 static void *SwigwxPyDivisionShapeTowxPyShape(void *ptr) {
10572 wxPyDivisionShape *src;
10573 wxPyShape *dest;
10574 src = (wxPyDivisionShape *) ptr;
10575 dest = (wxPyShape *) src;
10576 return (void *) dest;
10577 }
10578
10579 static void *SwigwxPyDivisionShapeTowxPyShapeEvtHandler(void *ptr) {
10580 wxPyDivisionShape *src;
10581 wxPyShapeEvtHandler *dest;
10582 src = (wxPyDivisionShape *) ptr;
10583 dest = (wxPyShapeEvtHandler *) src;
10584 return (void *) dest;
10585 }
10586
10587 static void *SwigwxPyDivisionShapeTowxObject(void *ptr) {
10588 wxPyDivisionShape *src;
10589 wxObject *dest;
10590 src = (wxPyDivisionShape *) ptr;
10591 dest = (wxObject *) src;
10592 return (void *) dest;
10593 }
10594
10595 #define new_wxPyDivisionShape() (new wxPyDivisionShape())
10596 static PyObject *_wrap_new_wxPyDivisionShape(PyObject *self, PyObject *args, PyObject *kwargs) {
10597 PyObject * _resultobj;
10598 wxPyDivisionShape * _result;
10599 char *_kwnames[] = { NULL };
10600 char _ptemp[128];
10601
10602 self = self;
10603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyDivisionShape",_kwnames))
10604 return NULL;
10605 {
10606 PyThreadState* __tstate = wxPyBeginAllowThreads();
10607 _result = (wxPyDivisionShape *)new_wxPyDivisionShape();
10608
10609 wxPyEndAllowThreads(__tstate);
10610 if (PyErr_Occurred()) return NULL;
10611 } if (_result) {
10612 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyDivisionShape_p");
10613 _resultobj = Py_BuildValue("s",_ptemp);
10614 } else {
10615 Py_INCREF(Py_None);
10616 _resultobj = Py_None;
10617 }
10618 return _resultobj;
10619 }
10620
10621 #define wxPyDivisionShape__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
10622 static PyObject *_wrap_wxPyDivisionShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10623 PyObject * _resultobj;
10624 wxPyDivisionShape * _arg0;
10625 PyObject * _arg1;
10626 PyObject * _arg2;
10627 PyObject * _argo0 = 0;
10628 PyObject * _obj1 = 0;
10629 PyObject * _obj2 = 0;
10630 char *_kwnames[] = { "self","self","_class", NULL };
10631
10632 self = self;
10633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyDivisionShape__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
10634 return NULL;
10635 if (_argo0) {
10636 if (_argo0 == Py_None) { _arg0 = NULL; }
10637 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10638 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape__setCallbackInfo. Expected _wxPyDivisionShape_p.");
10639 return NULL;
10640 }
10641 }
10642 {
10643 _arg1 = _obj1;
10644 }
10645 {
10646 _arg2 = _obj2;
10647 }
10648 {
10649 PyThreadState* __tstate = wxPyBeginAllowThreads();
10650 wxPyDivisionShape__setCallbackInfo(_arg0,_arg1,_arg2);
10651
10652 wxPyEndAllowThreads(__tstate);
10653 if (PyErr_Occurred()) return NULL;
10654 } Py_INCREF(Py_None);
10655 _resultobj = Py_None;
10656 return _resultobj;
10657 }
10658
10659 #define wxPyDivisionShape_AdjustBottom(_swigobj,_swigarg0,_swigarg1) (_swigobj->AdjustBottom(_swigarg0,_swigarg1))
10660 static PyObject *_wrap_wxPyDivisionShape_AdjustBottom(PyObject *self, PyObject *args, PyObject *kwargs) {
10661 PyObject * _resultobj;
10662 wxPyDivisionShape * _arg0;
10663 double _arg1;
10664 bool _arg2;
10665 PyObject * _argo0 = 0;
10666 int tempbool2;
10667 char *_kwnames[] = { "self","bottom","test", NULL };
10668
10669 self = self;
10670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odi:wxPyDivisionShape_AdjustBottom",_kwnames,&_argo0,&_arg1,&tempbool2))
10671 return NULL;
10672 if (_argo0) {
10673 if (_argo0 == Py_None) { _arg0 = NULL; }
10674 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10675 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_AdjustBottom. Expected _wxPyDivisionShape_p.");
10676 return NULL;
10677 }
10678 }
10679 _arg2 = (bool ) tempbool2;
10680 {
10681 PyThreadState* __tstate = wxPyBeginAllowThreads();
10682 wxPyDivisionShape_AdjustBottom(_arg0,_arg1,_arg2);
10683
10684 wxPyEndAllowThreads(__tstate);
10685 if (PyErr_Occurred()) return NULL;
10686 } Py_INCREF(Py_None);
10687 _resultobj = Py_None;
10688 return _resultobj;
10689 }
10690
10691 #define wxPyDivisionShape_AdjustLeft(_swigobj,_swigarg0,_swigarg1) (_swigobj->AdjustLeft(_swigarg0,_swigarg1))
10692 static PyObject *_wrap_wxPyDivisionShape_AdjustLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10693 PyObject * _resultobj;
10694 wxPyDivisionShape * _arg0;
10695 double _arg1;
10696 bool _arg2;
10697 PyObject * _argo0 = 0;
10698 int tempbool2;
10699 char *_kwnames[] = { "self","left","test", NULL };
10700
10701 self = self;
10702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odi:wxPyDivisionShape_AdjustLeft",_kwnames,&_argo0,&_arg1,&tempbool2))
10703 return NULL;
10704 if (_argo0) {
10705 if (_argo0 == Py_None) { _arg0 = NULL; }
10706 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10707 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_AdjustLeft. Expected _wxPyDivisionShape_p.");
10708 return NULL;
10709 }
10710 }
10711 _arg2 = (bool ) tempbool2;
10712 {
10713 PyThreadState* __tstate = wxPyBeginAllowThreads();
10714 wxPyDivisionShape_AdjustLeft(_arg0,_arg1,_arg2);
10715
10716 wxPyEndAllowThreads(__tstate);
10717 if (PyErr_Occurred()) return NULL;
10718 } Py_INCREF(Py_None);
10719 _resultobj = Py_None;
10720 return _resultobj;
10721 }
10722
10723 #define wxPyDivisionShape_AdjustRight(_swigobj,_swigarg0,_swigarg1) (_swigobj->AdjustRight(_swigarg0,_swigarg1))
10724 static PyObject *_wrap_wxPyDivisionShape_AdjustRight(PyObject *self, PyObject *args, PyObject *kwargs) {
10725 PyObject * _resultobj;
10726 wxPyDivisionShape * _arg0;
10727 double _arg1;
10728 bool _arg2;
10729 PyObject * _argo0 = 0;
10730 int tempbool2;
10731 char *_kwnames[] = { "self","right","test", NULL };
10732
10733 self = self;
10734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odi:wxPyDivisionShape_AdjustRight",_kwnames,&_argo0,&_arg1,&tempbool2))
10735 return NULL;
10736 if (_argo0) {
10737 if (_argo0 == Py_None) { _arg0 = NULL; }
10738 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10739 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_AdjustRight. Expected _wxPyDivisionShape_p.");
10740 return NULL;
10741 }
10742 }
10743 _arg2 = (bool ) tempbool2;
10744 {
10745 PyThreadState* __tstate = wxPyBeginAllowThreads();
10746 wxPyDivisionShape_AdjustRight(_arg0,_arg1,_arg2);
10747
10748 wxPyEndAllowThreads(__tstate);
10749 if (PyErr_Occurred()) return NULL;
10750 } Py_INCREF(Py_None);
10751 _resultobj = Py_None;
10752 return _resultobj;
10753 }
10754
10755 #define wxPyDivisionShape_AdjustTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->AdjustTop(_swigarg0,_swigarg1))
10756 static PyObject *_wrap_wxPyDivisionShape_AdjustTop(PyObject *self, PyObject *args, PyObject *kwargs) {
10757 PyObject * _resultobj;
10758 wxPyDivisionShape * _arg0;
10759 double _arg1;
10760 bool _arg2;
10761 PyObject * _argo0 = 0;
10762 int tempbool2;
10763 char *_kwnames[] = { "self","top","test", NULL };
10764
10765 self = self;
10766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odi:wxPyDivisionShape_AdjustTop",_kwnames,&_argo0,&_arg1,&tempbool2))
10767 return NULL;
10768 if (_argo0) {
10769 if (_argo0 == Py_None) { _arg0 = NULL; }
10770 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10771 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_AdjustTop. Expected _wxPyDivisionShape_p.");
10772 return NULL;
10773 }
10774 }
10775 _arg2 = (bool ) tempbool2;
10776 {
10777 PyThreadState* __tstate = wxPyBeginAllowThreads();
10778 wxPyDivisionShape_AdjustTop(_arg0,_arg1,_arg2);
10779
10780 wxPyEndAllowThreads(__tstate);
10781 if (PyErr_Occurred()) return NULL;
10782 } Py_INCREF(Py_None);
10783 _resultobj = Py_None;
10784 return _resultobj;
10785 }
10786
10787 #define wxPyDivisionShape_Divide(_swigobj,_swigarg0) (_swigobj->Divide(_swigarg0))
10788 static PyObject *_wrap_wxPyDivisionShape_Divide(PyObject *self, PyObject *args, PyObject *kwargs) {
10789 PyObject * _resultobj;
10790 wxPyDivisionShape * _arg0;
10791 int _arg1;
10792 PyObject * _argo0 = 0;
10793 char *_kwnames[] = { "self","direction", NULL };
10794
10795 self = self;
10796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDivisionShape_Divide",_kwnames,&_argo0,&_arg1))
10797 return NULL;
10798 if (_argo0) {
10799 if (_argo0 == Py_None) { _arg0 = NULL; }
10800 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10801 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_Divide. Expected _wxPyDivisionShape_p.");
10802 return NULL;
10803 }
10804 }
10805 {
10806 PyThreadState* __tstate = wxPyBeginAllowThreads();
10807 wxPyDivisionShape_Divide(_arg0,_arg1);
10808
10809 wxPyEndAllowThreads(__tstate);
10810 if (PyErr_Occurred()) return NULL;
10811 } Py_INCREF(Py_None);
10812 _resultobj = Py_None;
10813 return _resultobj;
10814 }
10815
10816 #define wxPyDivisionShape_EditEdge(_swigobj,_swigarg0) (_swigobj->EditEdge(_swigarg0))
10817 static PyObject *_wrap_wxPyDivisionShape_EditEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
10818 PyObject * _resultobj;
10819 wxPyDivisionShape * _arg0;
10820 int _arg1;
10821 PyObject * _argo0 = 0;
10822 char *_kwnames[] = { "self","side", NULL };
10823
10824 self = self;
10825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDivisionShape_EditEdge",_kwnames,&_argo0,&_arg1))
10826 return NULL;
10827 if (_argo0) {
10828 if (_argo0 == Py_None) { _arg0 = NULL; }
10829 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10830 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_EditEdge. Expected _wxPyDivisionShape_p.");
10831 return NULL;
10832 }
10833 }
10834 {
10835 PyThreadState* __tstate = wxPyBeginAllowThreads();
10836 wxPyDivisionShape_EditEdge(_arg0,_arg1);
10837
10838 wxPyEndAllowThreads(__tstate);
10839 if (PyErr_Occurred()) return NULL;
10840 } Py_INCREF(Py_None);
10841 _resultobj = Py_None;
10842 return _resultobj;
10843 }
10844
10845 #define wxPyDivisionShape_GetBottomSide(_swigobj) (_swigobj->GetBottomSide())
10846 static PyObject *_wrap_wxPyDivisionShape_GetBottomSide(PyObject *self, PyObject *args, PyObject *kwargs) {
10847 PyObject * _resultobj;
10848 wxPyDivisionShape * _result;
10849 wxPyDivisionShape * _arg0;
10850 PyObject * _argo0 = 0;
10851 char *_kwnames[] = { "self", NULL };
10852
10853 self = self;
10854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetBottomSide",_kwnames,&_argo0))
10855 return NULL;
10856 if (_argo0) {
10857 if (_argo0 == Py_None) { _arg0 = NULL; }
10858 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10859 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetBottomSide. Expected _wxPyDivisionShape_p.");
10860 return NULL;
10861 }
10862 }
10863 {
10864 PyThreadState* __tstate = wxPyBeginAllowThreads();
10865 _result = (wxPyDivisionShape *)wxPyDivisionShape_GetBottomSide(_arg0);
10866
10867 wxPyEndAllowThreads(__tstate);
10868 if (PyErr_Occurred()) return NULL;
10869 }{ _resultobj = wxPyMake_wxShapeEvtHandler(_result); }
10870 return _resultobj;
10871 }
10872
10873 #define wxPyDivisionShape_GetHandleSide(_swigobj) (_swigobj->GetHandleSide())
10874 static PyObject *_wrap_wxPyDivisionShape_GetHandleSide(PyObject *self, PyObject *args, PyObject *kwargs) {
10875 PyObject * _resultobj;
10876 int _result;
10877 wxPyDivisionShape * _arg0;
10878 PyObject * _argo0 = 0;
10879 char *_kwnames[] = { "self", NULL };
10880
10881 self = self;
10882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetHandleSide",_kwnames,&_argo0))
10883 return NULL;
10884 if (_argo0) {
10885 if (_argo0 == Py_None) { _arg0 = NULL; }
10886 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10887 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetHandleSide. Expected _wxPyDivisionShape_p.");
10888 return NULL;
10889 }
10890 }
10891 {
10892 PyThreadState* __tstate = wxPyBeginAllowThreads();
10893 _result = (int )wxPyDivisionShape_GetHandleSide(_arg0);
10894
10895 wxPyEndAllowThreads(__tstate);
10896 if (PyErr_Occurred()) return NULL;
10897 } _resultobj = Py_BuildValue("i",_result);
10898 return _resultobj;
10899 }
10900
10901 #define wxPyDivisionShape_GetLeftSide(_swigobj) (_swigobj->GetLeftSide())
10902 static PyObject *_wrap_wxPyDivisionShape_GetLeftSide(PyObject *self, PyObject *args, PyObject *kwargs) {
10903 PyObject * _resultobj;
10904 wxPyDivisionShape * _result;
10905 wxPyDivisionShape * _arg0;
10906 PyObject * _argo0 = 0;
10907 char *_kwnames[] = { "self", NULL };
10908
10909 self = self;
10910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetLeftSide",_kwnames,&_argo0))
10911 return NULL;
10912 if (_argo0) {
10913 if (_argo0 == Py_None) { _arg0 = NULL; }
10914 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10915 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetLeftSide. Expected _wxPyDivisionShape_p.");
10916 return NULL;
10917 }
10918 }
10919 {
10920 PyThreadState* __tstate = wxPyBeginAllowThreads();
10921 _result = (wxPyDivisionShape *)wxPyDivisionShape_GetLeftSide(_arg0);
10922
10923 wxPyEndAllowThreads(__tstate);
10924 if (PyErr_Occurred()) return NULL;
10925 }{ _resultobj = wxPyMake_wxShapeEvtHandler(_result); }
10926 return _resultobj;
10927 }
10928
10929 #define wxPyDivisionShape_GetLeftSideColour(_swigobj) (_swigobj->GetLeftSideColour())
10930 static PyObject *_wrap_wxPyDivisionShape_GetLeftSideColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10931 PyObject * _resultobj;
10932 wxString * _result;
10933 wxPyDivisionShape * _arg0;
10934 PyObject * _argo0 = 0;
10935 char *_kwnames[] = { "self", NULL };
10936
10937 self = self;
10938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetLeftSideColour",_kwnames,&_argo0))
10939 return NULL;
10940 if (_argo0) {
10941 if (_argo0 == Py_None) { _arg0 = NULL; }
10942 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10943 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetLeftSideColour. Expected _wxPyDivisionShape_p.");
10944 return NULL;
10945 }
10946 }
10947 {
10948 PyThreadState* __tstate = wxPyBeginAllowThreads();
10949 _result = new wxString (wxPyDivisionShape_GetLeftSideColour(_arg0));
10950
10951 wxPyEndAllowThreads(__tstate);
10952 if (PyErr_Occurred()) return NULL;
10953 }{
10954 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
10955 }
10956 {
10957 delete _result;
10958 }
10959 return _resultobj;
10960 }
10961
10962 #define wxPyDivisionShape_GetLeftSidePen(_swigobj) (_swigobj->GetLeftSidePen())
10963 static PyObject *_wrap_wxPyDivisionShape_GetLeftSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
10964 PyObject * _resultobj;
10965 wxPen * _result;
10966 wxPyDivisionShape * _arg0;
10967 PyObject * _argo0 = 0;
10968 char *_kwnames[] = { "self", NULL };
10969 char _ptemp[128];
10970
10971 self = self;
10972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetLeftSidePen",_kwnames,&_argo0))
10973 return NULL;
10974 if (_argo0) {
10975 if (_argo0 == Py_None) { _arg0 = NULL; }
10976 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10977 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetLeftSidePen. Expected _wxPyDivisionShape_p.");
10978 return NULL;
10979 }
10980 }
10981 {
10982 PyThreadState* __tstate = wxPyBeginAllowThreads();
10983 _result = (wxPen *)wxPyDivisionShape_GetLeftSidePen(_arg0);
10984
10985 wxPyEndAllowThreads(__tstate);
10986 if (PyErr_Occurred()) return NULL;
10987 } if (_result) {
10988 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPen_p");
10989 _resultobj = Py_BuildValue("s",_ptemp);
10990 } else {
10991 Py_INCREF(Py_None);
10992 _resultobj = Py_None;
10993 }
10994 return _resultobj;
10995 }
10996
10997 #define wxPyDivisionShape_GetRightSide(_swigobj) (_swigobj->GetRightSide())
10998 static PyObject *_wrap_wxPyDivisionShape_GetRightSide(PyObject *self, PyObject *args, PyObject *kwargs) {
10999 PyObject * _resultobj;
11000 wxPyDivisionShape * _result;
11001 wxPyDivisionShape * _arg0;
11002 PyObject * _argo0 = 0;
11003 char *_kwnames[] = { "self", NULL };
11004
11005 self = self;
11006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetRightSide",_kwnames,&_argo0))
11007 return NULL;
11008 if (_argo0) {
11009 if (_argo0 == Py_None) { _arg0 = NULL; }
11010 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11011 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetRightSide. Expected _wxPyDivisionShape_p.");
11012 return NULL;
11013 }
11014 }
11015 {
11016 PyThreadState* __tstate = wxPyBeginAllowThreads();
11017 _result = (wxPyDivisionShape *)wxPyDivisionShape_GetRightSide(_arg0);
11018
11019 wxPyEndAllowThreads(__tstate);
11020 if (PyErr_Occurred()) return NULL;
11021 }{ _resultobj = wxPyMake_wxShapeEvtHandler(_result); }
11022 return _resultobj;
11023 }
11024
11025 #define wxPyDivisionShape_GetTopSide(_swigobj) (_swigobj->GetTopSide())
11026 static PyObject *_wrap_wxPyDivisionShape_GetTopSide(PyObject *self, PyObject *args, PyObject *kwargs) {
11027 PyObject * _resultobj;
11028 wxPyDivisionShape * _result;
11029 wxPyDivisionShape * _arg0;
11030 PyObject * _argo0 = 0;
11031 char *_kwnames[] = { "self", NULL };
11032
11033 self = self;
11034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetTopSide",_kwnames,&_argo0))
11035 return NULL;
11036 if (_argo0) {
11037 if (_argo0 == Py_None) { _arg0 = NULL; }
11038 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11039 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetTopSide. Expected _wxPyDivisionShape_p.");
11040 return NULL;
11041 }
11042 }
11043 {
11044 PyThreadState* __tstate = wxPyBeginAllowThreads();
11045 _result = (wxPyDivisionShape *)wxPyDivisionShape_GetTopSide(_arg0);
11046
11047 wxPyEndAllowThreads(__tstate);
11048 if (PyErr_Occurred()) return NULL;
11049 }{ _resultobj = wxPyMake_wxShapeEvtHandler(_result); }
11050 return _resultobj;
11051 }
11052
11053 #define wxPyDivisionShape_GetTopSidePen(_swigobj) (_swigobj->GetTopSidePen())
11054 static PyObject *_wrap_wxPyDivisionShape_GetTopSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
11055 PyObject * _resultobj;
11056 wxPen * _result;
11057 wxPyDivisionShape * _arg0;
11058 PyObject * _argo0 = 0;
11059 char *_kwnames[] = { "self", NULL };
11060 char _ptemp[128];
11061
11062 self = self;
11063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetTopSidePen",_kwnames,&_argo0))
11064 return NULL;
11065 if (_argo0) {
11066 if (_argo0 == Py_None) { _arg0 = NULL; }
11067 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11068 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetTopSidePen. Expected _wxPyDivisionShape_p.");
11069 return NULL;
11070 }
11071 }
11072 {
11073 PyThreadState* __tstate = wxPyBeginAllowThreads();
11074 _result = (wxPen *)wxPyDivisionShape_GetTopSidePen(_arg0);
11075
11076 wxPyEndAllowThreads(__tstate);
11077 if (PyErr_Occurred()) return NULL;
11078 } if (_result) {
11079 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPen_p");
11080 _resultobj = Py_BuildValue("s",_ptemp);
11081 } else {
11082 Py_INCREF(Py_None);
11083 _resultobj = Py_None;
11084 }
11085 return _resultobj;
11086 }
11087
11088 #define wxPyDivisionShape_ResizeAdjoining(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ResizeAdjoining(_swigarg0,_swigarg1,_swigarg2))
11089 static PyObject *_wrap_wxPyDivisionShape_ResizeAdjoining(PyObject *self, PyObject *args, PyObject *kwargs) {
11090 PyObject * _resultobj;
11091 wxPyDivisionShape * _arg0;
11092 int _arg1;
11093 double _arg2;
11094 bool _arg3;
11095 PyObject * _argo0 = 0;
11096 int tempbool3;
11097 char *_kwnames[] = { "self","side","newPos","test", NULL };
11098
11099 self = self;
11100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidi:wxPyDivisionShape_ResizeAdjoining",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
11101 return NULL;
11102 if (_argo0) {
11103 if (_argo0 == Py_None) { _arg0 = NULL; }
11104 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11105 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_ResizeAdjoining. Expected _wxPyDivisionShape_p.");
11106 return NULL;
11107 }
11108 }
11109 _arg3 = (bool ) tempbool3;
11110 {
11111 PyThreadState* __tstate = wxPyBeginAllowThreads();
11112 wxPyDivisionShape_ResizeAdjoining(_arg0,_arg1,_arg2,_arg3);
11113
11114 wxPyEndAllowThreads(__tstate);
11115 if (PyErr_Occurred()) return NULL;
11116 } Py_INCREF(Py_None);
11117 _resultobj = Py_None;
11118 return _resultobj;
11119 }
11120
11121 #define wxPyDivisionShape_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
11122 static PyObject *_wrap_wxPyDivisionShape_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
11123 PyObject * _resultobj;
11124 wxPyDivisionShape * _arg0;
11125 double _arg1;
11126 double _arg2;
11127 PyObject * _argo0 = 0;
11128 char *_kwnames[] = { "self","x","y", NULL };
11129
11130 self = self;
11131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDivisionShape_PopupMenu",_kwnames,&_argo0,&_arg1,&_arg2))
11132 return NULL;
11133 if (_argo0) {
11134 if (_argo0 == Py_None) { _arg0 = NULL; }
11135 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11136 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_PopupMenu. Expected _wxPyDivisionShape_p.");
11137 return NULL;
11138 }
11139 }
11140 {
11141 PyThreadState* __tstate = wxPyBeginAllowThreads();
11142 wxPyDivisionShape_PopupMenu(_arg0,_arg1,_arg2);
11143
11144 wxPyEndAllowThreads(__tstate);
11145 if (PyErr_Occurred()) return NULL;
11146 } Py_INCREF(Py_None);
11147 _resultobj = Py_None;
11148 return _resultobj;
11149 }
11150
11151 #define wxPyDivisionShape_SetBottomSide(_swigobj,_swigarg0) (_swigobj->SetBottomSide(_swigarg0))
11152 static PyObject *_wrap_wxPyDivisionShape_SetBottomSide(PyObject *self, PyObject *args, PyObject *kwargs) {
11153 PyObject * _resultobj;
11154 wxPyDivisionShape * _arg0;
11155 wxPyDivisionShape * _arg1;
11156 PyObject * _argo0 = 0;
11157 PyObject * _argo1 = 0;
11158 char *_kwnames[] = { "self","shape", NULL };
11159
11160 self = self;
11161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetBottomSide",_kwnames,&_argo0,&_argo1))
11162 return NULL;
11163 if (_argo0) {
11164 if (_argo0 == Py_None) { _arg0 = NULL; }
11165 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11166 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetBottomSide. Expected _wxPyDivisionShape_p.");
11167 return NULL;
11168 }
11169 }
11170 if (_argo1) {
11171 if (_argo1 == Py_None) { _arg1 = NULL; }
11172 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyDivisionShape_p")) {
11173 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_SetBottomSide. Expected _wxPyDivisionShape_p.");
11174 return NULL;
11175 }
11176 }
11177 {
11178 PyThreadState* __tstate = wxPyBeginAllowThreads();
11179 wxPyDivisionShape_SetBottomSide(_arg0,_arg1);
11180
11181 wxPyEndAllowThreads(__tstate);
11182 if (PyErr_Occurred()) return NULL;
11183 } Py_INCREF(Py_None);
11184 _resultobj = Py_None;
11185 return _resultobj;
11186 }
11187
11188 #define wxPyDivisionShape_SetHandleSide(_swigobj,_swigarg0) (_swigobj->SetHandleSide(_swigarg0))
11189 static PyObject *_wrap_wxPyDivisionShape_SetHandleSide(PyObject *self, PyObject *args, PyObject *kwargs) {
11190 PyObject * _resultobj;
11191 wxPyDivisionShape * _arg0;
11192 int _arg1;
11193 PyObject * _argo0 = 0;
11194 char *_kwnames[] = { "self","side", NULL };
11195
11196 self = self;
11197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDivisionShape_SetHandleSide",_kwnames,&_argo0,&_arg1))
11198 return NULL;
11199 if (_argo0) {
11200 if (_argo0 == Py_None) { _arg0 = NULL; }
11201 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11202 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetHandleSide. Expected _wxPyDivisionShape_p.");
11203 return NULL;
11204 }
11205 }
11206 {
11207 PyThreadState* __tstate = wxPyBeginAllowThreads();
11208 wxPyDivisionShape_SetHandleSide(_arg0,_arg1);
11209
11210 wxPyEndAllowThreads(__tstate);
11211 if (PyErr_Occurred()) return NULL;
11212 } Py_INCREF(Py_None);
11213 _resultobj = Py_None;
11214 return _resultobj;
11215 }
11216
11217 #define wxPyDivisionShape_SetLeftSide(_swigobj,_swigarg0) (_swigobj->SetLeftSide(_swigarg0))
11218 static PyObject *_wrap_wxPyDivisionShape_SetLeftSide(PyObject *self, PyObject *args, PyObject *kwargs) {
11219 PyObject * _resultobj;
11220 wxPyDivisionShape * _arg0;
11221 wxPyDivisionShape * _arg1;
11222 PyObject * _argo0 = 0;
11223 PyObject * _argo1 = 0;
11224 char *_kwnames[] = { "self","shape", NULL };
11225
11226 self = self;
11227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetLeftSide",_kwnames,&_argo0,&_argo1))
11228 return NULL;
11229 if (_argo0) {
11230 if (_argo0 == Py_None) { _arg0 = NULL; }
11231 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11232 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetLeftSide. Expected _wxPyDivisionShape_p.");
11233 return NULL;
11234 }
11235 }
11236 if (_argo1) {
11237 if (_argo1 == Py_None) { _arg1 = NULL; }
11238 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyDivisionShape_p")) {
11239 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_SetLeftSide. Expected _wxPyDivisionShape_p.");
11240 return NULL;
11241 }
11242 }
11243 {
11244 PyThreadState* __tstate = wxPyBeginAllowThreads();
11245 wxPyDivisionShape_SetLeftSide(_arg0,_arg1);
11246
11247 wxPyEndAllowThreads(__tstate);
11248 if (PyErr_Occurred()) return NULL;
11249 } Py_INCREF(Py_None);
11250 _resultobj = Py_None;
11251 return _resultobj;
11252 }
11253
11254 #define wxPyDivisionShape_SetLeftSideColour(_swigobj,_swigarg0) (_swigobj->SetLeftSideColour(_swigarg0))
11255 static PyObject *_wrap_wxPyDivisionShape_SetLeftSideColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11256 PyObject * _resultobj;
11257 wxPyDivisionShape * _arg0;
11258 wxString * _arg1;
11259 PyObject * _argo0 = 0;
11260 PyObject * _obj1 = 0;
11261 char *_kwnames[] = { "self","colour", NULL };
11262
11263 self = self;
11264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetLeftSideColour",_kwnames,&_argo0,&_obj1))
11265 return NULL;
11266 if (_argo0) {
11267 if (_argo0 == Py_None) { _arg0 = NULL; }
11268 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11269 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetLeftSideColour. Expected _wxPyDivisionShape_p.");
11270 return NULL;
11271 }
11272 }
11273 {
11274 #if PYTHON_API_VERSION >= 1009
11275 char* tmpPtr; int tmpSize;
11276 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
11277 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
11278 return NULL;
11279 }
11280 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
11281 return NULL;
11282 _arg1 = new wxString(tmpPtr, tmpSize);
11283 #else
11284 if (!PyString_Check(_obj1)) {
11285 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
11286 return NULL;
11287 }
11288 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
11289 #endif
11290 }
11291 {
11292 PyThreadState* __tstate = wxPyBeginAllowThreads();
11293 wxPyDivisionShape_SetLeftSideColour(_arg0,*_arg1);
11294
11295 wxPyEndAllowThreads(__tstate);
11296 if (PyErr_Occurred()) return NULL;
11297 } Py_INCREF(Py_None);
11298 _resultobj = Py_None;
11299 {
11300 if (_obj1)
11301 delete _arg1;
11302 }
11303 return _resultobj;
11304 }
11305
11306 #define wxPyDivisionShape_SetLeftSidePen(_swigobj,_swigarg0) (_swigobj->SetLeftSidePen(_swigarg0))
11307 static PyObject *_wrap_wxPyDivisionShape_SetLeftSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
11308 PyObject * _resultobj;
11309 wxPyDivisionShape * _arg0;
11310 wxPen * _arg1;
11311 PyObject * _argo0 = 0;
11312 PyObject * _obj1 = 0;
11313 char *_kwnames[] = { "self","pen", NULL };
11314
11315 self = self;
11316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetLeftSidePen",_kwnames,&_argo0,&_obj1))
11317 return NULL;
11318 if (_argo0) {
11319 if (_argo0 == Py_None) { _arg0 = NULL; }
11320 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11321 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetLeftSidePen. Expected _wxPyDivisionShape_p.");
11322 return NULL;
11323 }
11324 }
11325 {
11326 wxPen* temp;
11327 if (_obj1) {
11328 if (_obj1 == Py_None) { temp = NULL; }
11329 else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxPen_p")) {
11330 PyErr_SetString(PyExc_TypeError,"Type error, expected _wxPen_p.");
11331 return NULL;
11332 }
11333 }
11334 if (temp)
11335 _arg1 = wxThePenList->FindOrCreatePen(temp->GetColour(),
11336 temp->GetWidth(),
11337 temp->GetStyle());
11338 else
11339 _arg1 = NULL;
11340 }
11341 {
11342 PyThreadState* __tstate = wxPyBeginAllowThreads();
11343 wxPyDivisionShape_SetLeftSidePen(_arg0,_arg1);
11344
11345 wxPyEndAllowThreads(__tstate);
11346 if (PyErr_Occurred()) return NULL;
11347 } Py_INCREF(Py_None);
11348 _resultobj = Py_None;
11349 return _resultobj;
11350 }
11351
11352 #define wxPyDivisionShape_SetRightSide(_swigobj,_swigarg0) (_swigobj->SetRightSide(_swigarg0))
11353 static PyObject *_wrap_wxPyDivisionShape_SetRightSide(PyObject *self, PyObject *args, PyObject *kwargs) {
11354 PyObject * _resultobj;
11355 wxPyDivisionShape * _arg0;
11356 wxPyDivisionShape * _arg1;
11357 PyObject * _argo0 = 0;
11358 PyObject * _argo1 = 0;
11359 char *_kwnames[] = { "self","shape", NULL };
11360
11361 self = self;
11362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetRightSide",_kwnames,&_argo0,&_argo1))
11363 return NULL;
11364 if (_argo0) {
11365 if (_argo0 == Py_None) { _arg0 = NULL; }
11366 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11367 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetRightSide. Expected _wxPyDivisionShape_p.");
11368 return NULL;
11369 }
11370 }
11371 if (_argo1) {
11372 if (_argo1 == Py_None) { _arg1 = NULL; }
11373 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyDivisionShape_p")) {
11374 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_SetRightSide. Expected _wxPyDivisionShape_p.");
11375 return NULL;
11376 }
11377 }
11378 {
11379 PyThreadState* __tstate = wxPyBeginAllowThreads();
11380 wxPyDivisionShape_SetRightSide(_arg0,_arg1);
11381
11382 wxPyEndAllowThreads(__tstate);
11383 if (PyErr_Occurred()) return NULL;
11384 } Py_INCREF(Py_None);
11385 _resultobj = Py_None;
11386 return _resultobj;
11387 }
11388
11389 #define wxPyDivisionShape_SetTopSide(_swigobj,_swigarg0) (_swigobj->SetTopSide(_swigarg0))
11390 static PyObject *_wrap_wxPyDivisionShape_SetTopSide(PyObject *self, PyObject *args, PyObject *kwargs) {
11391 PyObject * _resultobj;
11392 wxPyDivisionShape * _arg0;
11393 wxPyDivisionShape * _arg1;
11394 PyObject * _argo0 = 0;
11395 PyObject * _argo1 = 0;
11396 char *_kwnames[] = { "self","shape", NULL };
11397
11398 self = self;
11399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetTopSide",_kwnames,&_argo0,&_argo1))
11400 return NULL;
11401 if (_argo0) {
11402 if (_argo0 == Py_None) { _arg0 = NULL; }
11403 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11404 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetTopSide. Expected _wxPyDivisionShape_p.");
11405 return NULL;
11406 }
11407 }
11408 if (_argo1) {
11409 if (_argo1 == Py_None) { _arg1 = NULL; }
11410 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyDivisionShape_p")) {
11411 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_SetTopSide. Expected _wxPyDivisionShape_p.");
11412 return NULL;
11413 }
11414 }
11415 {
11416 PyThreadState* __tstate = wxPyBeginAllowThreads();
11417 wxPyDivisionShape_SetTopSide(_arg0,_arg1);
11418
11419 wxPyEndAllowThreads(__tstate);
11420 if (PyErr_Occurred()) return NULL;
11421 } Py_INCREF(Py_None);
11422 _resultobj = Py_None;
11423 return _resultobj;
11424 }
11425
11426 #define wxPyDivisionShape_SetTopSideColour(_swigobj,_swigarg0) (_swigobj->SetTopSideColour(_swigarg0))
11427 static PyObject *_wrap_wxPyDivisionShape_SetTopSideColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11428 PyObject * _resultobj;
11429 wxPyDivisionShape * _arg0;
11430 wxString * _arg1;
11431 PyObject * _argo0 = 0;
11432 PyObject * _obj1 = 0;
11433 char *_kwnames[] = { "self","colour", NULL };
11434
11435 self = self;
11436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetTopSideColour",_kwnames,&_argo0,&_obj1))
11437 return NULL;
11438 if (_argo0) {
11439 if (_argo0 == Py_None) { _arg0 = NULL; }
11440 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11441 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetTopSideColour. Expected _wxPyDivisionShape_p.");
11442 return NULL;
11443 }
11444 }
11445 {
11446 #if PYTHON_API_VERSION >= 1009
11447 char* tmpPtr; int tmpSize;
11448 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
11449 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
11450 return NULL;
11451 }
11452 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
11453 return NULL;
11454 _arg1 = new wxString(tmpPtr, tmpSize);
11455 #else
11456 if (!PyString_Check(_obj1)) {
11457 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
11458 return NULL;
11459 }
11460 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
11461 #endif
11462 }
11463 {
11464 PyThreadState* __tstate = wxPyBeginAllowThreads();
11465 wxPyDivisionShape_SetTopSideColour(_arg0,*_arg1);
11466
11467 wxPyEndAllowThreads(__tstate);
11468 if (PyErr_Occurred()) return NULL;
11469 } Py_INCREF(Py_None);
11470 _resultobj = Py_None;
11471 {
11472 if (_obj1)
11473 delete _arg1;
11474 }
11475 return _resultobj;
11476 }
11477
11478 #define wxPyDivisionShape_SetTopSidePen(_swigobj,_swigarg0) (_swigobj->SetTopSidePen(_swigarg0))
11479 static PyObject *_wrap_wxPyDivisionShape_SetTopSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
11480 PyObject * _resultobj;
11481 wxPyDivisionShape * _arg0;
11482 wxPen * _arg1;
11483 PyObject * _argo0 = 0;
11484 PyObject * _obj1 = 0;
11485 char *_kwnames[] = { "self","pen", NULL };
11486
11487 self = self;
11488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetTopSidePen",_kwnames,&_argo0,&_obj1))
11489 return NULL;
11490 if (_argo0) {
11491 if (_argo0 == Py_None) { _arg0 = NULL; }
11492 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11493 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetTopSidePen. Expected _wxPyDivisionShape_p.");
11494 return NULL;
11495 }
11496 }
11497 {
11498 wxPen* temp;
11499 if (_obj1) {
11500 if (_obj1 == Py_None) { temp = NULL; }
11501 else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxPen_p")) {
11502 PyErr_SetString(PyExc_TypeError,"Type error, expected _wxPen_p.");
11503 return NULL;
11504 }
11505 }
11506 if (temp)
11507 _arg1 = wxThePenList->FindOrCreatePen(temp->GetColour(),
11508 temp->GetWidth(),
11509 temp->GetStyle());
11510 else
11511 _arg1 = NULL;
11512 }
11513 {
11514 PyThreadState* __tstate = wxPyBeginAllowThreads();
11515 wxPyDivisionShape_SetTopSidePen(_arg0,_arg1);
11516
11517 wxPyEndAllowThreads(__tstate);
11518 if (PyErr_Occurred()) return NULL;
11519 } Py_INCREF(Py_None);
11520 _resultobj = Py_None;
11521 return _resultobj;
11522 }
11523
11524 #define wxPyDivisionShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
11525 static PyObject *_wrap_wxPyDivisionShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
11526 PyObject * _resultobj;
11527 wxPyDivisionShape * _arg0;
11528 PyObject * _argo0 = 0;
11529 char *_kwnames[] = { "self", NULL };
11530
11531 self = self;
11532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_base_OnDelete",_kwnames,&_argo0))
11533 return NULL;
11534 if (_argo0) {
11535 if (_argo0 == Py_None) { _arg0 = NULL; }
11536 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11537 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDelete. Expected _wxPyDivisionShape_p.");
11538 return NULL;
11539 }
11540 }
11541 {
11542 PyThreadState* __tstate = wxPyBeginAllowThreads();
11543 wxPyDivisionShape_base_OnDelete(_arg0);
11544
11545 wxPyEndAllowThreads(__tstate);
11546 if (PyErr_Occurred()) return NULL;
11547 } Py_INCREF(Py_None);
11548 _resultobj = Py_None;
11549 return _resultobj;
11550 }
11551
11552 #define wxPyDivisionShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
11553 static PyObject *_wrap_wxPyDivisionShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
11554 PyObject * _resultobj;
11555 wxPyDivisionShape * _arg0;
11556 wxDC * _arg1;
11557 PyObject * _argo0 = 0;
11558 PyObject * _argo1 = 0;
11559 char *_kwnames[] = { "self","dc", NULL };
11560
11561 self = self;
11562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnDraw",_kwnames,&_argo0,&_argo1))
11563 return NULL;
11564 if (_argo0) {
11565 if (_argo0 == Py_None) { _arg0 = NULL; }
11566 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11567 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDraw. Expected _wxPyDivisionShape_p.");
11568 return NULL;
11569 }
11570 }
11571 if (_argo1) {
11572 if (_argo1 == Py_None) { _arg1 = NULL; }
11573 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
11574 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnDraw. Expected _wxDC_p.");
11575 return NULL;
11576 }
11577 }
11578 {
11579 PyThreadState* __tstate = wxPyBeginAllowThreads();
11580 wxPyDivisionShape_base_OnDraw(_arg0,*_arg1);
11581
11582 wxPyEndAllowThreads(__tstate);
11583 if (PyErr_Occurred()) return NULL;
11584 } Py_INCREF(Py_None);
11585 _resultobj = Py_None;
11586 return _resultobj;
11587 }
11588
11589 #define wxPyDivisionShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
11590 static PyObject *_wrap_wxPyDivisionShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
11591 PyObject * _resultobj;
11592 wxPyDivisionShape * _arg0;
11593 wxDC * _arg1;
11594 PyObject * _argo0 = 0;
11595 PyObject * _argo1 = 0;
11596 char *_kwnames[] = { "self","dc", NULL };
11597
11598 self = self;
11599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1))
11600 return NULL;
11601 if (_argo0) {
11602 if (_argo0 == Py_None) { _arg0 = NULL; }
11603 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11604 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDrawContents. Expected _wxPyDivisionShape_p.");
11605 return NULL;
11606 }
11607 }
11608 if (_argo1) {
11609 if (_argo1 == Py_None) { _arg1 = NULL; }
11610 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
11611 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnDrawContents. Expected _wxDC_p.");
11612 return NULL;
11613 }
11614 }
11615 {
11616 PyThreadState* __tstate = wxPyBeginAllowThreads();
11617 wxPyDivisionShape_base_OnDrawContents(_arg0,*_arg1);
11618
11619 wxPyEndAllowThreads(__tstate);
11620 if (PyErr_Occurred()) return NULL;
11621 } Py_INCREF(Py_None);
11622 _resultobj = Py_None;
11623 return _resultobj;
11624 }
11625
11626 #define wxPyDivisionShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
11627 static PyObject *_wrap_wxPyDivisionShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
11628 PyObject * _resultobj;
11629 wxPyDivisionShape * _arg0;
11630 wxDC * _arg1;
11631 bool _arg2 = (bool ) FALSE;
11632 PyObject * _argo0 = 0;
11633 PyObject * _argo1 = 0;
11634 int tempbool2 = (int) FALSE;
11635 char *_kwnames[] = { "self","dc","erase", NULL };
11636
11637 self = self;
11638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDivisionShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2))
11639 return NULL;
11640 if (_argo0) {
11641 if (_argo0 == Py_None) { _arg0 = NULL; }
11642 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11643 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDrawBranches. Expected _wxPyDivisionShape_p.");
11644 return NULL;
11645 }
11646 }
11647 if (_argo1) {
11648 if (_argo1 == Py_None) { _arg1 = NULL; }
11649 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
11650 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnDrawBranches. Expected _wxDC_p.");
11651 return NULL;
11652 }
11653 }
11654 _arg2 = (bool ) tempbool2;
11655 {
11656 PyThreadState* __tstate = wxPyBeginAllowThreads();
11657 wxPyDivisionShape_base_OnDrawBranches(_arg0,*_arg1,_arg2);
11658
11659 wxPyEndAllowThreads(__tstate);
11660 if (PyErr_Occurred()) return NULL;
11661 } Py_INCREF(Py_None);
11662 _resultobj = Py_None;
11663 return _resultobj;
11664 }
11665
11666 #define wxPyDivisionShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
11667 static PyObject *_wrap_wxPyDivisionShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
11668 PyObject * _resultobj;
11669 wxPyDivisionShape * _arg0;
11670 wxDC * _arg1;
11671 PyObject * _argo0 = 0;
11672 PyObject * _argo1 = 0;
11673 char *_kwnames[] = { "self","dc", NULL };
11674
11675 self = self;
11676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1))
11677 return NULL;
11678 if (_argo0) {
11679 if (_argo0 == Py_None) { _arg0 = NULL; }
11680 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11681 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnMoveLinks. Expected _wxPyDivisionShape_p.");
11682 return NULL;
11683 }
11684 }
11685 if (_argo1) {
11686 if (_argo1 == Py_None) { _arg1 = NULL; }
11687 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
11688 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnMoveLinks. Expected _wxDC_p.");
11689 return NULL;
11690 }
11691 }
11692 {
11693 PyThreadState* __tstate = wxPyBeginAllowThreads();
11694 wxPyDivisionShape_base_OnMoveLinks(_arg0,*_arg1);
11695
11696 wxPyEndAllowThreads(__tstate);
11697 if (PyErr_Occurred()) return NULL;
11698 } Py_INCREF(Py_None);
11699 _resultobj = Py_None;
11700 return _resultobj;
11701 }
11702
11703 #define wxPyDivisionShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
11704 static PyObject *_wrap_wxPyDivisionShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
11705 PyObject * _resultobj;
11706 wxPyDivisionShape * _arg0;
11707 wxDC * _arg1;
11708 PyObject * _argo0 = 0;
11709 PyObject * _argo1 = 0;
11710 char *_kwnames[] = { "self","dc", NULL };
11711
11712 self = self;
11713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnErase",_kwnames,&_argo0,&_argo1))
11714 return NULL;
11715 if (_argo0) {
11716 if (_argo0 == Py_None) { _arg0 = NULL; }
11717 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11718 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnErase. Expected _wxPyDivisionShape_p.");
11719 return NULL;
11720 }
11721 }
11722 if (_argo1) {
11723 if (_argo1 == Py_None) { _arg1 = NULL; }
11724 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
11725 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnErase. Expected _wxDC_p.");
11726 return NULL;
11727 }
11728 }
11729 {
11730 PyThreadState* __tstate = wxPyBeginAllowThreads();
11731 wxPyDivisionShape_base_OnErase(_arg0,*_arg1);
11732
11733 wxPyEndAllowThreads(__tstate);
11734 if (PyErr_Occurred()) return NULL;
11735 } Py_INCREF(Py_None);
11736 _resultobj = Py_None;
11737 return _resultobj;
11738 }
11739
11740 #define wxPyDivisionShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
11741 static PyObject *_wrap_wxPyDivisionShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
11742 PyObject * _resultobj;
11743 wxPyDivisionShape * _arg0;
11744 wxDC * _arg1;
11745 PyObject * _argo0 = 0;
11746 PyObject * _argo1 = 0;
11747 char *_kwnames[] = { "self","dc", NULL };
11748
11749 self = self;
11750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1))
11751 return NULL;
11752 if (_argo0) {
11753 if (_argo0 == Py_None) { _arg0 = NULL; }
11754 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11755 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnEraseContents. Expected _wxPyDivisionShape_p.");
11756 return NULL;
11757 }
11758 }
11759 if (_argo1) {
11760 if (_argo1 == Py_None) { _arg1 = NULL; }
11761 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
11762 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnEraseContents. Expected _wxDC_p.");
11763 return NULL;
11764 }
11765 }
11766 {
11767 PyThreadState* __tstate = wxPyBeginAllowThreads();
11768 wxPyDivisionShape_base_OnEraseContents(_arg0,*_arg1);
11769
11770 wxPyEndAllowThreads(__tstate);
11771 if (PyErr_Occurred()) return NULL;
11772 } Py_INCREF(Py_None);
11773 _resultobj = Py_None;
11774 return _resultobj;
11775 }
11776
11777 #define wxPyDivisionShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
11778 static PyObject *_wrap_wxPyDivisionShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
11779 PyObject * _resultobj;
11780 wxPyDivisionShape * _arg0;
11781 wxDC * _arg1;
11782 PyObject * _argo0 = 0;
11783 PyObject * _argo1 = 0;
11784 char *_kwnames[] = { "self","dc", NULL };
11785
11786 self = self;
11787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnHighlight",_kwnames,&_argo0,&_argo1))
11788 return NULL;
11789 if (_argo0) {
11790 if (_argo0 == Py_None) { _arg0 = NULL; }
11791 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11792 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnHighlight. Expected _wxPyDivisionShape_p.");
11793 return NULL;
11794 }
11795 }
11796 if (_argo1) {
11797 if (_argo1 == Py_None) { _arg1 = NULL; }
11798 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
11799 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnHighlight. Expected _wxDC_p.");
11800 return NULL;
11801 }
11802 }
11803 {
11804 PyThreadState* __tstate = wxPyBeginAllowThreads();
11805 wxPyDivisionShape_base_OnHighlight(_arg0,*_arg1);
11806
11807 wxPyEndAllowThreads(__tstate);
11808 if (PyErr_Occurred()) return NULL;
11809 } Py_INCREF(Py_None);
11810 _resultobj = Py_None;
11811 return _resultobj;
11812 }
11813
11814 #define wxPyDivisionShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11815 static PyObject *_wrap_wxPyDivisionShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
11816 PyObject * _resultobj;
11817 wxPyDivisionShape * _arg0;
11818 double _arg1;
11819 double _arg2;
11820 int _arg3 = (int ) 0;
11821 int _arg4 = (int ) 0;
11822 PyObject * _argo0 = 0;
11823 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
11824
11825 self = self;
11826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
11827 return NULL;
11828 if (_argo0) {
11829 if (_argo0 == Py_None) { _arg0 = NULL; }
11830 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11831 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnLeftClick. Expected _wxPyDivisionShape_p.");
11832 return NULL;
11833 }
11834 }
11835 {
11836 PyThreadState* __tstate = wxPyBeginAllowThreads();
11837 wxPyDivisionShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4);
11838
11839 wxPyEndAllowThreads(__tstate);
11840 if (PyErr_Occurred()) return NULL;
11841 } Py_INCREF(Py_None);
11842 _resultobj = Py_None;
11843 return _resultobj;
11844 }
11845
11846 #define wxPyDivisionShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11847 static PyObject *_wrap_wxPyDivisionShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
11848 PyObject * _resultobj;
11849 wxPyDivisionShape * _arg0;
11850 double _arg1;
11851 double _arg2;
11852 int _arg3 = (int ) 0;
11853 int _arg4 = (int ) 0;
11854 PyObject * _argo0 = 0;
11855 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
11856
11857 self = self;
11858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
11859 return NULL;
11860 if (_argo0) {
11861 if (_argo0 == Py_None) { _arg0 = NULL; }
11862 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11863 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnLeftDoubleClick. Expected _wxPyDivisionShape_p.");
11864 return NULL;
11865 }
11866 }
11867 {
11868 PyThreadState* __tstate = wxPyBeginAllowThreads();
11869 wxPyDivisionShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4);
11870
11871 wxPyEndAllowThreads(__tstate);
11872 if (PyErr_Occurred()) return NULL;
11873 } Py_INCREF(Py_None);
11874 _resultobj = Py_None;
11875 return _resultobj;
11876 }
11877
11878 #define wxPyDivisionShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11879 static PyObject *_wrap_wxPyDivisionShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
11880 PyObject * _resultobj;
11881 wxPyDivisionShape * _arg0;
11882 double _arg1;
11883 double _arg2;
11884 int _arg3 = (int ) 0;
11885 int _arg4 = (int ) 0;
11886 PyObject * _argo0 = 0;
11887 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
11888
11889 self = self;
11890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
11891 return NULL;
11892 if (_argo0) {
11893 if (_argo0 == Py_None) { _arg0 = NULL; }
11894 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11895 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnRightClick. Expected _wxPyDivisionShape_p.");
11896 return NULL;
11897 }
11898 }
11899 {
11900 PyThreadState* __tstate = wxPyBeginAllowThreads();
11901 wxPyDivisionShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4);
11902
11903 wxPyEndAllowThreads(__tstate);
11904 if (PyErr_Occurred()) return NULL;
11905 } Py_INCREF(Py_None);
11906 _resultobj = Py_None;
11907 return _resultobj;
11908 }
11909
11910 #define wxPyDivisionShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
11911 static PyObject *_wrap_wxPyDivisionShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11912 PyObject * _resultobj;
11913 wxPyDivisionShape * _arg0;
11914 double _arg1;
11915 double _arg2;
11916 PyObject * _argo0 = 0;
11917 char *_kwnames[] = { "self","x","y", NULL };
11918
11919 self = self;
11920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDivisionShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2))
11921 return NULL;
11922 if (_argo0) {
11923 if (_argo0 == Py_None) { _arg0 = NULL; }
11924 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11925 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnSize. Expected _wxPyDivisionShape_p.");
11926 return NULL;
11927 }
11928 }
11929 {
11930 PyThreadState* __tstate = wxPyBeginAllowThreads();
11931 wxPyDivisionShape_base_OnSize(_arg0,_arg1,_arg2);
11932
11933 wxPyEndAllowThreads(__tstate);
11934 if (PyErr_Occurred()) return NULL;
11935 } Py_INCREF(Py_None);
11936 _resultobj = Py_None;
11937 return _resultobj;
11938 }
11939
11940 #define wxPyDivisionShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
11941 static PyObject *_wrap_wxPyDivisionShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
11942 PyObject * _resultobj;
11943 bool _result;
11944 wxPyDivisionShape * _arg0;
11945 wxDC * _arg1;
11946 double _arg2;
11947 double _arg3;
11948 double _arg4;
11949 double _arg5;
11950 bool _arg6 = (bool ) TRUE;
11951 PyObject * _argo0 = 0;
11952 PyObject * _argo1 = 0;
11953 int tempbool6 = (int) TRUE;
11954 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
11955
11956 self = self;
11957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDivisionShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
11958 return NULL;
11959 if (_argo0) {
11960 if (_argo0 == Py_None) { _arg0 = NULL; }
11961 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11962 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnMovePre. Expected _wxPyDivisionShape_p.");
11963 return NULL;
11964 }
11965 }
11966 if (_argo1) {
11967 if (_argo1 == Py_None) { _arg1 = NULL; }
11968 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
11969 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnMovePre. Expected _wxDC_p.");
11970 return NULL;
11971 }
11972 }
11973 _arg6 = (bool ) tempbool6;
11974 {
11975 PyThreadState* __tstate = wxPyBeginAllowThreads();
11976 _result = (bool )wxPyDivisionShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
11977
11978 wxPyEndAllowThreads(__tstate);
11979 if (PyErr_Occurred()) return NULL;
11980 } _resultobj = Py_BuildValue("i",_result);
11981 return _resultobj;
11982 }
11983
11984 #define wxPyDivisionShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
11985 static PyObject *_wrap_wxPyDivisionShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
11986 PyObject * _resultobj;
11987 wxPyDivisionShape * _arg0;
11988 wxDC * _arg1;
11989 double _arg2;
11990 double _arg3;
11991 double _arg4;
11992 double _arg5;
11993 bool _arg6 = (bool ) TRUE;
11994 PyObject * _argo0 = 0;
11995 PyObject * _argo1 = 0;
11996 int tempbool6 = (int) TRUE;
11997 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
11998
11999 self = self;
12000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDivisionShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
12001 return NULL;
12002 if (_argo0) {
12003 if (_argo0 == Py_None) { _arg0 = NULL; }
12004 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
12005 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnMovePost. Expected _wxPyDivisionShape_p.");
12006 return NULL;
12007 }
12008 }
12009 if (_argo1) {
12010 if (_argo1 == Py_None) { _arg1 = NULL; }
12011 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
12012 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnMovePost. Expected _wxDC_p.");
12013 return NULL;
12014 }
12015 }
12016 _arg6 = (bool ) tempbool6;
12017 {
12018 PyThreadState* __tstate = wxPyBeginAllowThreads();
12019 wxPyDivisionShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
12020
12021 wxPyEndAllowThreads(__tstate);
12022 if (PyErr_Occurred()) return NULL;
12023 } Py_INCREF(Py_None);
12024 _resultobj = Py_None;
12025 return _resultobj;
12026 }
12027
12028 #define wxPyDivisionShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
12029 static PyObject *_wrap_wxPyDivisionShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
12030 PyObject * _resultobj;
12031 wxPyDivisionShape * _arg0;
12032 bool _arg1;
12033 double _arg2;
12034 double _arg3;
12035 int _arg4 = (int ) 0;
12036 int _arg5 = (int ) 0;
12037 PyObject * _argo0 = 0;
12038 int tempbool1;
12039 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
12040
12041 self = self;
12042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDivisionShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
12043 return NULL;
12044 if (_argo0) {
12045 if (_argo0 == Py_None) { _arg0 = NULL; }
12046 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
12047 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDragLeft. Expected _wxPyDivisionShape_p.");
12048 return NULL;
12049 }
12050 }
12051 _arg1 = (bool ) tempbool1;
12052 {
12053 PyThreadState* __tstate = wxPyBeginAllowThreads();
12054 wxPyDivisionShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
12055
12056 wxPyEndAllowThreads(__tstate);
12057 if (PyErr_Occurred()) return NULL;
12058 } Py_INCREF(Py_None);
12059 _resultobj = Py_None;
12060 return _resultobj;
12061 }
12062
12063 #define wxPyDivisionShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
12064 static PyObject *_wrap_wxPyDivisionShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
12065 PyObject * _resultobj;
12066 wxPyDivisionShape * _arg0;
12067 double _arg1;
12068 double _arg2;
12069 int _arg3 = (int ) 0;
12070 int _arg4 = (int ) 0;
12071 PyObject * _argo0 = 0;
12072 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
12073
12074 self = self;
12075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
12076 return NULL;
12077 if (_argo0) {
12078 if (_argo0 == Py_None) { _arg0 = NULL; }
12079 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
12080 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnBeginDragLeft. Expected _wxPyDivisionShape_p.");
12081 return NULL;
12082 }
12083 }
12084 {
12085 PyThreadState* __tstate = wxPyBeginAllowThreads();
12086 wxPyDivisionShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
12087
12088 wxPyEndAllowThreads(__tstate);
12089 if (PyErr_Occurred()) return NULL;
12090 } Py_INCREF(Py_None);
12091 _resultobj = Py_None;
12092 return _resultobj;
12093 }
12094
12095 #define wxPyDivisionShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
12096 static PyObject *_wrap_wxPyDivisionShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
12097 PyObject * _resultobj;
12098 wxPyDivisionShape * _arg0;
12099 double _arg1;
12100 double _arg2;
12101 int _arg3 = (int ) 0;
12102 int _arg4 = (int ) 0;
12103 PyObject * _argo0 = 0;
12104 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
12105
12106 self = self;
12107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
12108 return NULL;
12109 if (_argo0) {
12110 if (_argo0 == Py_None) { _arg0 = NULL; }
12111 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
12112 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnEndDragLeft. Expected _wxPyDivisionShape_p.");
12113 return NULL;
12114 }
12115 }
12116 {
12117 PyThreadState* __tstate = wxPyBeginAllowThreads();
12118 wxPyDivisionShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
12119
12120 wxPyEndAllowThreads(__tstate);
12121 if (PyErr_Occurred()) return NULL;
12122 } Py_INCREF(Py_None);
12123 _resultobj = Py_None;
12124 return _resultobj;
12125 }
12126
12127 #define wxPyDivisionShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
12128 static PyObject *_wrap_wxPyDivisionShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
12129 PyObject * _resultobj;
12130 wxPyDivisionShape * _arg0;
12131 bool _arg1;
12132 double _arg2;
12133 double _arg3;
12134 int _arg4 = (int ) 0;
12135 int _arg5 = (int ) 0;
12136 PyObject * _argo0 = 0;
12137 int tempbool1;
12138 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
12139
12140 self = self;
12141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDivisionShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
12142 return NULL;
12143 if (_argo0) {
12144 if (_argo0 == Py_None) { _arg0 = NULL; }
12145 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
12146 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDragRight. Expected _wxPyDivisionShape_p.");
12147 return NULL;
12148 }
12149 }
12150 _arg1 = (bool ) tempbool1;
12151 {
12152 PyThreadState* __tstate = wxPyBeginAllowThreads();
12153 wxPyDivisionShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
12154
12155 wxPyEndAllowThreads(__tstate);
12156 if (PyErr_Occurred()) return NULL;
12157 } Py_INCREF(Py_None);
12158 _resultobj = Py_None;
12159 return _resultobj;
12160 }
12161
12162 #define wxPyDivisionShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
12163 static PyObject *_wrap_wxPyDivisionShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
12164 PyObject * _resultobj;
12165 wxPyDivisionShape * _arg0;
12166 double _arg1;
12167 double _arg2;
12168 int _arg3 = (int ) 0;
12169 int _arg4 = (int ) 0;
12170 PyObject * _argo0 = 0;
12171 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
12172
12173 self = self;
12174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
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_OnBeginDragRight. Expected _wxPyDivisionShape_p.");
12180 return NULL;
12181 }
12182 }
12183 {
12184 PyThreadState* __tstate = wxPyBeginAllowThreads();
12185 wxPyDivisionShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
12186
12187 wxPyEndAllowThreads(__tstate);
12188 if (PyErr_Occurred()) return NULL;
12189 } Py_INCREF(Py_None);
12190 _resultobj = Py_None;
12191 return _resultobj;
12192 }
12193
12194 #define wxPyDivisionShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
12195 static PyObject *_wrap_wxPyDivisionShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
12196 PyObject * _resultobj;
12197 wxPyDivisionShape * _arg0;
12198 double _arg1;
12199 double _arg2;
12200 int _arg3 = (int ) 0;
12201 int _arg4 = (int ) 0;
12202 PyObject * _argo0 = 0;
12203 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
12204
12205 self = self;
12206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
12207 return NULL;
12208 if (_argo0) {
12209 if (_argo0 == Py_None) { _arg0 = NULL; }
12210 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
12211 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnEndDragRight. Expected _wxPyDivisionShape_p.");
12212 return NULL;
12213 }
12214 }
12215 {
12216 PyThreadState* __tstate = wxPyBeginAllowThreads();
12217 wxPyDivisionShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
12218
12219 wxPyEndAllowThreads(__tstate);
12220 if (PyErr_Occurred()) return NULL;
12221 } Py_INCREF(Py_None);
12222 _resultobj = Py_None;
12223 return _resultobj;
12224 }
12225
12226 #define wxPyDivisionShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
12227 static PyObject *_wrap_wxPyDivisionShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
12228 PyObject * _resultobj;
12229 wxPyDivisionShape * _arg0;
12230 wxDC * _arg1;
12231 double _arg2;
12232 double _arg3;
12233 double _arg4;
12234 double _arg5;
12235 PyObject * _argo0 = 0;
12236 PyObject * _argo1 = 0;
12237 char *_kwnames[] = { "self","dc","x","y","w","h", NULL };
12238
12239 self = self;
12240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyDivisionShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
12241 return NULL;
12242 if (_argo0) {
12243 if (_argo0 == Py_None) { _arg0 = NULL; }
12244 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
12245 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDrawOutline. Expected _wxPyDivisionShape_p.");
12246 return NULL;
12247 }
12248 }
12249 if (_argo1) {
12250 if (_argo1 == Py_None) { _arg1 = NULL; }
12251 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
12252 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnDrawOutline. Expected _wxDC_p.");
12253 return NULL;
12254 }
12255 }
12256 {
12257 PyThreadState* __tstate = wxPyBeginAllowThreads();
12258 wxPyDivisionShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5);
12259
12260 wxPyEndAllowThreads(__tstate);
12261 if (PyErr_Occurred()) return NULL;
12262 } Py_INCREF(Py_None);
12263 _resultobj = Py_None;
12264 return _resultobj;
12265 }
12266
12267 #define wxPyDivisionShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
12268 static PyObject *_wrap_wxPyDivisionShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
12269 PyObject * _resultobj;
12270 wxPyDivisionShape * _arg0;
12271 wxDC * _arg1;
12272 PyObject * _argo0 = 0;
12273 PyObject * _argo1 = 0;
12274 char *_kwnames[] = { "self","dc", NULL };
12275
12276 self = self;
12277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1))
12278 return NULL;
12279 if (_argo0) {
12280 if (_argo0 == Py_None) { _arg0 = NULL; }
12281 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
12282 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDrawControlPoints. Expected _wxPyDivisionShape_p.");
12283 return NULL;
12284 }
12285 }
12286 if (_argo1) {
12287 if (_argo1 == Py_None) { _arg1 = NULL; }
12288 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
12289 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnDrawControlPoints. Expected _wxDC_p.");
12290 return NULL;
12291 }
12292 }
12293 {
12294 PyThreadState* __tstate = wxPyBeginAllowThreads();
12295 wxPyDivisionShape_base_OnDrawControlPoints(_arg0,*_arg1);
12296
12297 wxPyEndAllowThreads(__tstate);
12298 if (PyErr_Occurred()) return NULL;
12299 } Py_INCREF(Py_None);
12300 _resultobj = Py_None;
12301 return _resultobj;
12302 }
12303
12304 #define wxPyDivisionShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
12305 static PyObject *_wrap_wxPyDivisionShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
12306 PyObject * _resultobj;
12307 wxPyDivisionShape * _arg0;
12308 wxDC * _arg1;
12309 PyObject * _argo0 = 0;
12310 PyObject * _argo1 = 0;
12311 char *_kwnames[] = { "self","dc", NULL };
12312
12313 self = self;
12314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1))
12315 return NULL;
12316 if (_argo0) {
12317 if (_argo0 == Py_None) { _arg0 = NULL; }
12318 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
12319 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnEraseControlPoints. Expected _wxPyDivisionShape_p.");
12320 return NULL;
12321 }
12322 }
12323 if (_argo1) {
12324 if (_argo1 == Py_None) { _arg1 = NULL; }
12325 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
12326 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnEraseControlPoints. Expected _wxDC_p.");
12327 return NULL;
12328 }
12329 }
12330 {
12331 PyThreadState* __tstate = wxPyBeginAllowThreads();
12332 wxPyDivisionShape_base_OnEraseControlPoints(_arg0,*_arg1);
12333
12334 wxPyEndAllowThreads(__tstate);
12335 if (PyErr_Occurred()) return NULL;
12336 } Py_INCREF(Py_None);
12337 _resultobj = Py_None;
12338 return _resultobj;
12339 }
12340
12341 #define wxPyDivisionShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
12342 static PyObject *_wrap_wxPyDivisionShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
12343 PyObject * _resultobj;
12344 wxPyDivisionShape * _arg0;
12345 wxDC * _arg1;
12346 bool _arg2 = (bool ) TRUE;
12347 PyObject * _argo0 = 0;
12348 PyObject * _argo1 = 0;
12349 int tempbool2 = (int) TRUE;
12350 char *_kwnames[] = { "self","dc","moveControlPoints", NULL };
12351
12352 self = self;
12353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDivisionShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2))
12354 return NULL;
12355 if (_argo0) {
12356 if (_argo0 == Py_None) { _arg0 = NULL; }
12357 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
12358 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnMoveLink. Expected _wxPyDivisionShape_p.");
12359 return NULL;
12360 }
12361 }
12362 if (_argo1) {
12363 if (_argo1 == Py_None) { _arg1 = NULL; }
12364 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
12365 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnMoveLink. Expected _wxDC_p.");
12366 return NULL;
12367 }
12368 }
12369 _arg2 = (bool ) tempbool2;
12370 {
12371 PyThreadState* __tstate = wxPyBeginAllowThreads();
12372 wxPyDivisionShape_base_OnMoveLink(_arg0,*_arg1,_arg2);
12373
12374 wxPyEndAllowThreads(__tstate);
12375 if (PyErr_Occurred()) return NULL;
12376 } Py_INCREF(Py_None);
12377 _resultobj = Py_None;
12378 return _resultobj;
12379 }
12380
12381 #define wxPyDivisionShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
12382 static PyObject *_wrap_wxPyDivisionShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
12383 PyObject * _resultobj;
12384 wxPyDivisionShape * _arg0;
12385 wxPyControlPoint * _arg1;
12386 bool _arg2;
12387 double _arg3;
12388 double _arg4;
12389 int _arg5 = (int ) 0;
12390 int _arg6 = (int ) 0;
12391 PyObject * _argo0 = 0;
12392 PyObject * _argo1 = 0;
12393 int tempbool2;
12394 char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL };
12395
12396 self = self;
12397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyDivisionShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6))
12398 return NULL;
12399 if (_argo0) {
12400 if (_argo0 == Py_None) { _arg0 = NULL; }
12401 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
12402 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnSizingDragLeft. Expected _wxPyDivisionShape_p.");
12403 return NULL;
12404 }
12405 }
12406 if (_argo1) {
12407 if (_argo1 == Py_None) { _arg1 = NULL; }
12408 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
12409 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
12410 return NULL;
12411 }
12412 }
12413 _arg2 = (bool ) tempbool2;
12414 {
12415 PyThreadState* __tstate = wxPyBeginAllowThreads();
12416 wxPyDivisionShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
12417
12418 wxPyEndAllowThreads(__tstate);
12419 if (PyErr_Occurred()) return NULL;
12420 } Py_INCREF(Py_None);
12421 _resultobj = Py_None;
12422 return _resultobj;
12423 }
12424
12425 #define wxPyDivisionShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
12426 static PyObject *_wrap_wxPyDivisionShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
12427 PyObject * _resultobj;
12428 wxPyDivisionShape * _arg0;
12429 wxPyControlPoint * _arg1;
12430 double _arg2;
12431 double _arg3;
12432 int _arg4 = (int ) 0;
12433 int _arg5 = (int ) 0;
12434 PyObject * _argo0 = 0;
12435 PyObject * _argo1 = 0;
12436 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
12437
12438 self = self;
12439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDivisionShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
12440 return NULL;
12441 if (_argo0) {
12442 if (_argo0 == Py_None) { _arg0 = NULL; }
12443 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
12444 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnSizingBeginDragLeft. Expected _wxPyDivisionShape_p.");
12445 return NULL;
12446 }
12447 }
12448 if (_argo1) {
12449 if (_argo1 == Py_None) { _arg1 = NULL; }
12450 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
12451 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
12452 return NULL;
12453 }
12454 }
12455 {
12456 PyThreadState* __tstate = wxPyBeginAllowThreads();
12457 wxPyDivisionShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
12458
12459 wxPyEndAllowThreads(__tstate);
12460 if (PyErr_Occurred()) return NULL;
12461 } Py_INCREF(Py_None);
12462 _resultobj = Py_None;
12463 return _resultobj;
12464 }
12465
12466 #define wxPyDivisionShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
12467 static PyObject *_wrap_wxPyDivisionShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
12468 PyObject * _resultobj;
12469 wxPyDivisionShape * _arg0;
12470 wxPyControlPoint * _arg1;
12471 double _arg2;
12472 double _arg3;
12473 int _arg4 = (int ) 0;
12474 int _arg5 = (int ) 0;
12475 PyObject * _argo0 = 0;
12476 PyObject * _argo1 = 0;
12477 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
12478
12479 self = self;
12480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDivisionShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
12481 return NULL;
12482 if (_argo0) {
12483 if (_argo0 == Py_None) { _arg0 = NULL; }
12484 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
12485 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnSizingEndDragLeft. Expected _wxPyDivisionShape_p.");
12486 return NULL;
12487 }
12488 }
12489 if (_argo1) {
12490 if (_argo1 == Py_None) { _arg1 = NULL; }
12491 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
12492 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
12493 return NULL;
12494 }
12495 }
12496 {
12497 PyThreadState* __tstate = wxPyBeginAllowThreads();
12498 wxPyDivisionShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
12499
12500 wxPyEndAllowThreads(__tstate);
12501 if (PyErr_Occurred()) return NULL;
12502 } Py_INCREF(Py_None);
12503 _resultobj = Py_None;
12504 return _resultobj;
12505 }
12506
12507 #define wxPyDivisionShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
12508 static PyObject *_wrap_wxPyDivisionShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12509 PyObject * _resultobj;
12510 wxPyDivisionShape * _arg0;
12511 double _arg1;
12512 double _arg2;
12513 PyObject * _argo0 = 0;
12514 char *_kwnames[] = { "self","w","h", NULL };
12515
12516 self = self;
12517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDivisionShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2))
12518 return NULL;
12519 if (_argo0) {
12520 if (_argo0 == Py_None) { _arg0 = NULL; }
12521 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
12522 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnBeginSize. Expected _wxPyDivisionShape_p.");
12523 return NULL;
12524 }
12525 }
12526 {
12527 PyThreadState* __tstate = wxPyBeginAllowThreads();
12528 wxPyDivisionShape_base_OnBeginSize(_arg0,_arg1,_arg2);
12529
12530 wxPyEndAllowThreads(__tstate);
12531 if (PyErr_Occurred()) return NULL;
12532 } Py_INCREF(Py_None);
12533 _resultobj = Py_None;
12534 return _resultobj;
12535 }
12536
12537 #define wxPyDivisionShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
12538 static PyObject *_wrap_wxPyDivisionShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12539 PyObject * _resultobj;
12540 wxPyDivisionShape * _arg0;
12541 double _arg1;
12542 double _arg2;
12543 PyObject * _argo0 = 0;
12544 char *_kwnames[] = { "self","w","h", NULL };
12545
12546 self = self;
12547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDivisionShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2))
12548 return NULL;
12549 if (_argo0) {
12550 if (_argo0 == Py_None) { _arg0 = NULL; }
12551 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
12552 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnEndSize. Expected _wxPyDivisionShape_p.");
12553 return NULL;
12554 }
12555 }
12556 {
12557 PyThreadState* __tstate = wxPyBeginAllowThreads();
12558 wxPyDivisionShape_base_OnEndSize(_arg0,_arg1,_arg2);
12559
12560 wxPyEndAllowThreads(__tstate);
12561 if (PyErr_Occurred()) return NULL;
12562 } Py_INCREF(Py_None);
12563 _resultobj = Py_None;
12564 return _resultobj;
12565 }
12566
12567 static PyMethodDef oglshapescMethods[] = {
12568 { "wxPyDivisionShape_base_OnEndSize", (PyCFunction) _wrap_wxPyDivisionShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
12569 { "wxPyDivisionShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyDivisionShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
12570 { "wxPyDivisionShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12571 { "wxPyDivisionShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12572 { "wxPyDivisionShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
12573 { "wxPyDivisionShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyDivisionShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
12574 { "wxPyDivisionShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyDivisionShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
12575 { "wxPyDivisionShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
12576 { "wxPyDivisionShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
12577 { "wxPyDivisionShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyDivisionShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
12578 { "wxPyDivisionShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyDivisionShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
12579 { "wxPyDivisionShape_base_OnDragRight", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
12580 { "wxPyDivisionShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12581 { "wxPyDivisionShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12582 { "wxPyDivisionShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
12583 { "wxPyDivisionShape_base_OnMovePost", (PyCFunction) _wrap_wxPyDivisionShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
12584 { "wxPyDivisionShape_base_OnMovePre", (PyCFunction) _wrap_wxPyDivisionShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
12585 { "wxPyDivisionShape_base_OnSize", (PyCFunction) _wrap_wxPyDivisionShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
12586 { "wxPyDivisionShape_base_OnRightClick", (PyCFunction) _wrap_wxPyDivisionShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
12587 { "wxPyDivisionShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyDivisionShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
12588 { "wxPyDivisionShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyDivisionShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
12589 { "wxPyDivisionShape_base_OnHighlight", (PyCFunction) _wrap_wxPyDivisionShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
12590 { "wxPyDivisionShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyDivisionShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
12591 { "wxPyDivisionShape_base_OnErase", (PyCFunction) _wrap_wxPyDivisionShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
12592 { "wxPyDivisionShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyDivisionShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
12593 { "wxPyDivisionShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
12594 { "wxPyDivisionShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
12595 { "wxPyDivisionShape_base_OnDraw", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
12596 { "wxPyDivisionShape_base_OnDelete", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
12597 { "wxPyDivisionShape_SetTopSidePen", (PyCFunction) _wrap_wxPyDivisionShape_SetTopSidePen, METH_VARARGS | METH_KEYWORDS },
12598 { "wxPyDivisionShape_SetTopSideColour", (PyCFunction) _wrap_wxPyDivisionShape_SetTopSideColour, METH_VARARGS | METH_KEYWORDS },
12599 { "wxPyDivisionShape_SetTopSide", (PyCFunction) _wrap_wxPyDivisionShape_SetTopSide, METH_VARARGS | METH_KEYWORDS },
12600 { "wxPyDivisionShape_SetRightSide", (PyCFunction) _wrap_wxPyDivisionShape_SetRightSide, METH_VARARGS | METH_KEYWORDS },
12601 { "wxPyDivisionShape_SetLeftSidePen", (PyCFunction) _wrap_wxPyDivisionShape_SetLeftSidePen, METH_VARARGS | METH_KEYWORDS },
12602 { "wxPyDivisionShape_SetLeftSideColour", (PyCFunction) _wrap_wxPyDivisionShape_SetLeftSideColour, METH_VARARGS | METH_KEYWORDS },
12603 { "wxPyDivisionShape_SetLeftSide", (PyCFunction) _wrap_wxPyDivisionShape_SetLeftSide, METH_VARARGS | METH_KEYWORDS },
12604 { "wxPyDivisionShape_SetHandleSide", (PyCFunction) _wrap_wxPyDivisionShape_SetHandleSide, METH_VARARGS | METH_KEYWORDS },
12605 { "wxPyDivisionShape_SetBottomSide", (PyCFunction) _wrap_wxPyDivisionShape_SetBottomSide, METH_VARARGS | METH_KEYWORDS },
12606 { "wxPyDivisionShape_PopupMenu", (PyCFunction) _wrap_wxPyDivisionShape_PopupMenu, METH_VARARGS | METH_KEYWORDS },
12607 { "wxPyDivisionShape_ResizeAdjoining", (PyCFunction) _wrap_wxPyDivisionShape_ResizeAdjoining, METH_VARARGS | METH_KEYWORDS },
12608 { "wxPyDivisionShape_GetTopSidePen", (PyCFunction) _wrap_wxPyDivisionShape_GetTopSidePen, METH_VARARGS | METH_KEYWORDS },
12609 { "wxPyDivisionShape_GetTopSide", (PyCFunction) _wrap_wxPyDivisionShape_GetTopSide, METH_VARARGS | METH_KEYWORDS },
12610 { "wxPyDivisionShape_GetRightSide", (PyCFunction) _wrap_wxPyDivisionShape_GetRightSide, METH_VARARGS | METH_KEYWORDS },
12611 { "wxPyDivisionShape_GetLeftSidePen", (PyCFunction) _wrap_wxPyDivisionShape_GetLeftSidePen, METH_VARARGS | METH_KEYWORDS },
12612 { "wxPyDivisionShape_GetLeftSideColour", (PyCFunction) _wrap_wxPyDivisionShape_GetLeftSideColour, METH_VARARGS | METH_KEYWORDS },
12613 { "wxPyDivisionShape_GetLeftSide", (PyCFunction) _wrap_wxPyDivisionShape_GetLeftSide, METH_VARARGS | METH_KEYWORDS },
12614 { "wxPyDivisionShape_GetHandleSide", (PyCFunction) _wrap_wxPyDivisionShape_GetHandleSide, METH_VARARGS | METH_KEYWORDS },
12615 { "wxPyDivisionShape_GetBottomSide", (PyCFunction) _wrap_wxPyDivisionShape_GetBottomSide, METH_VARARGS | METH_KEYWORDS },
12616 { "wxPyDivisionShape_EditEdge", (PyCFunction) _wrap_wxPyDivisionShape_EditEdge, METH_VARARGS | METH_KEYWORDS },
12617 { "wxPyDivisionShape_Divide", (PyCFunction) _wrap_wxPyDivisionShape_Divide, METH_VARARGS | METH_KEYWORDS },
12618 { "wxPyDivisionShape_AdjustTop", (PyCFunction) _wrap_wxPyDivisionShape_AdjustTop, METH_VARARGS | METH_KEYWORDS },
12619 { "wxPyDivisionShape_AdjustRight", (PyCFunction) _wrap_wxPyDivisionShape_AdjustRight, METH_VARARGS | METH_KEYWORDS },
12620 { "wxPyDivisionShape_AdjustLeft", (PyCFunction) _wrap_wxPyDivisionShape_AdjustLeft, METH_VARARGS | METH_KEYWORDS },
12621 { "wxPyDivisionShape_AdjustBottom", (PyCFunction) _wrap_wxPyDivisionShape_AdjustBottom, METH_VARARGS | METH_KEYWORDS },
12622 { "wxPyDivisionShape__setCallbackInfo", (PyCFunction) _wrap_wxPyDivisionShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
12623 { "new_wxPyDivisionShape", (PyCFunction) _wrap_new_wxPyDivisionShape, METH_VARARGS | METH_KEYWORDS },
12624 { "wxPyDividedShape_base_OnEndSize", (PyCFunction) _wrap_wxPyDividedShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
12625 { "wxPyDividedShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyDividedShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
12626 { "wxPyDividedShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12627 { "wxPyDividedShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12628 { "wxPyDividedShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
12629 { "wxPyDividedShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyDividedShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
12630 { "wxPyDividedShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyDividedShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
12631 { "wxPyDividedShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyDividedShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
12632 { "wxPyDividedShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyDividedShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
12633 { "wxPyDividedShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyDividedShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
12634 { "wxPyDividedShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyDividedShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
12635 { "wxPyDividedShape_base_OnDragRight", (PyCFunction) _wrap_wxPyDividedShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
12636 { "wxPyDividedShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12637 { "wxPyDividedShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12638 { "wxPyDividedShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
12639 { "wxPyDividedShape_base_OnMovePost", (PyCFunction) _wrap_wxPyDividedShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
12640 { "wxPyDividedShape_base_OnMovePre", (PyCFunction) _wrap_wxPyDividedShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
12641 { "wxPyDividedShape_base_OnSize", (PyCFunction) _wrap_wxPyDividedShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
12642 { "wxPyDividedShape_base_OnRightClick", (PyCFunction) _wrap_wxPyDividedShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
12643 { "wxPyDividedShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyDividedShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
12644 { "wxPyDividedShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyDividedShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
12645 { "wxPyDividedShape_base_OnHighlight", (PyCFunction) _wrap_wxPyDividedShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
12646 { "wxPyDividedShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyDividedShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
12647 { "wxPyDividedShape_base_OnErase", (PyCFunction) _wrap_wxPyDividedShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
12648 { "wxPyDividedShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyDividedShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
12649 { "wxPyDividedShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyDividedShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
12650 { "wxPyDividedShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyDividedShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
12651 { "wxPyDividedShape_base_OnDraw", (PyCFunction) _wrap_wxPyDividedShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
12652 { "wxPyDividedShape_base_OnDelete", (PyCFunction) _wrap_wxPyDividedShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
12653 { "wxPyDividedShape_SetRegionSizes", (PyCFunction) _wrap_wxPyDividedShape_SetRegionSizes, METH_VARARGS | METH_KEYWORDS },
12654 { "wxPyDividedShape_EditRegions", (PyCFunction) _wrap_wxPyDividedShape_EditRegions, METH_VARARGS | METH_KEYWORDS },
12655 { "wxPyDividedShape__setCallbackInfo", (PyCFunction) _wrap_wxPyDividedShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
12656 { "new_wxPyDividedShape", (PyCFunction) _wrap_new_wxPyDividedShape, METH_VARARGS | METH_KEYWORDS },
12657 { "wxPyCompositeShape_base_OnEndSize", (PyCFunction) _wrap_wxPyCompositeShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
12658 { "wxPyCompositeShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyCompositeShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
12659 { "wxPyCompositeShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12660 { "wxPyCompositeShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12661 { "wxPyCompositeShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
12662 { "wxPyCompositeShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyCompositeShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
12663 { "wxPyCompositeShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyCompositeShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
12664 { "wxPyCompositeShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
12665 { "wxPyCompositeShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
12666 { "wxPyCompositeShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyCompositeShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
12667 { "wxPyCompositeShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyCompositeShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
12668 { "wxPyCompositeShape_base_OnDragRight", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
12669 { "wxPyCompositeShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12670 { "wxPyCompositeShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12671 { "wxPyCompositeShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
12672 { "wxPyCompositeShape_base_OnMovePost", (PyCFunction) _wrap_wxPyCompositeShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
12673 { "wxPyCompositeShape_base_OnMovePre", (PyCFunction) _wrap_wxPyCompositeShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
12674 { "wxPyCompositeShape_base_OnSize", (PyCFunction) _wrap_wxPyCompositeShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
12675 { "wxPyCompositeShape_base_OnRightClick", (PyCFunction) _wrap_wxPyCompositeShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
12676 { "wxPyCompositeShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyCompositeShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
12677 { "wxPyCompositeShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyCompositeShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
12678 { "wxPyCompositeShape_base_OnHighlight", (PyCFunction) _wrap_wxPyCompositeShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
12679 { "wxPyCompositeShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyCompositeShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
12680 { "wxPyCompositeShape_base_OnErase", (PyCFunction) _wrap_wxPyCompositeShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
12681 { "wxPyCompositeShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyCompositeShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
12682 { "wxPyCompositeShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
12683 { "wxPyCompositeShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
12684 { "wxPyCompositeShape_base_OnDraw", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
12685 { "wxPyCompositeShape_base_OnDelete", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
12686 { "wxPyCompositeShape_RemoveChild", (PyCFunction) _wrap_wxPyCompositeShape_RemoveChild, METH_VARARGS | METH_KEYWORDS },
12687 { "wxPyCompositeShape_Recompute", (PyCFunction) _wrap_wxPyCompositeShape_Recompute, METH_VARARGS | METH_KEYWORDS },
12688 { "wxPyCompositeShape_MakeContainer", (PyCFunction) _wrap_wxPyCompositeShape_MakeContainer, METH_VARARGS | METH_KEYWORDS },
12689 { "wxPyCompositeShape_GetDivisions", (PyCFunction) _wrap_wxPyCompositeShape_GetDivisions, METH_VARARGS | METH_KEYWORDS },
12690 { "wxPyCompositeShape_GetConstraints", (PyCFunction) _wrap_wxPyCompositeShape_GetConstraints, METH_VARARGS | METH_KEYWORDS },
12691 { "wxPyCompositeShape_FindContainerImage", (PyCFunction) _wrap_wxPyCompositeShape_FindContainerImage, METH_VARARGS | METH_KEYWORDS },
12692 { "wxPyCompositeShape_DeleteConstraintsInvolvingChild", (PyCFunction) _wrap_wxPyCompositeShape_DeleteConstraintsInvolvingChild, METH_VARARGS | METH_KEYWORDS },
12693 { "wxPyCompositeShape_DeleteConstraint", (PyCFunction) _wrap_wxPyCompositeShape_DeleteConstraint, METH_VARARGS | METH_KEYWORDS },
12694 { "wxPyCompositeShape_ContainsDivision", (PyCFunction) _wrap_wxPyCompositeShape_ContainsDivision, METH_VARARGS | METH_KEYWORDS },
12695 { "wxPyCompositeShape_CalculateSize", (PyCFunction) _wrap_wxPyCompositeShape_CalculateSize, METH_VARARGS | METH_KEYWORDS },
12696 { "wxPyCompositeShape_AddSimpleConstraint", (PyCFunction) _wrap_wxPyCompositeShape_AddSimpleConstraint, METH_VARARGS | METH_KEYWORDS },
12697 { "wxPyCompositeShape_AddConstrainedShapes", (PyCFunction) _wrap_wxPyCompositeShape_AddConstrainedShapes, METH_VARARGS | METH_KEYWORDS },
12698 { "wxPyCompositeShape_AddConstraint", (PyCFunction) _wrap_wxPyCompositeShape_AddConstraint, METH_VARARGS | METH_KEYWORDS },
12699 { "wxPyCompositeShape_AddChild", (PyCFunction) _wrap_wxPyCompositeShape_AddChild, METH_VARARGS | METH_KEYWORDS },
12700 { "wxPyCompositeShape__setCallbackInfo", (PyCFunction) _wrap_wxPyCompositeShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
12701 { "new_wxPyCompositeShape", (PyCFunction) _wrap_new_wxPyCompositeShape, METH_VARARGS | METH_KEYWORDS },
12702 { "wxOGLConstraint_Equals", (PyCFunction) _wrap_wxOGLConstraint_Equals, METH_VARARGS | METH_KEYWORDS },
12703 { "wxOGLConstraint_SetSpacing", (PyCFunction) _wrap_wxOGLConstraint_SetSpacing, METH_VARARGS | METH_KEYWORDS },
12704 { "wxOGLConstraint_Evaluate", (PyCFunction) _wrap_wxOGLConstraint_Evaluate, METH_VARARGS | METH_KEYWORDS },
12705 { "new_wxOGLConstraint", (PyCFunction) _wrap_new_wxOGLConstraint, METH_VARARGS | METH_KEYWORDS },
12706 { "wxPyDrawnShape_base_OnEndSize", (PyCFunction) _wrap_wxPyDrawnShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
12707 { "wxPyDrawnShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyDrawnShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
12708 { "wxPyDrawnShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12709 { "wxPyDrawnShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12710 { "wxPyDrawnShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
12711 { "wxPyDrawnShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyDrawnShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
12712 { "wxPyDrawnShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyDrawnShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
12713 { "wxPyDrawnShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
12714 { "wxPyDrawnShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
12715 { "wxPyDrawnShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyDrawnShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
12716 { "wxPyDrawnShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyDrawnShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
12717 { "wxPyDrawnShape_base_OnDragRight", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
12718 { "wxPyDrawnShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12719 { "wxPyDrawnShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12720 { "wxPyDrawnShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
12721 { "wxPyDrawnShape_base_OnMovePost", (PyCFunction) _wrap_wxPyDrawnShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
12722 { "wxPyDrawnShape_base_OnMovePre", (PyCFunction) _wrap_wxPyDrawnShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
12723 { "wxPyDrawnShape_base_OnSize", (PyCFunction) _wrap_wxPyDrawnShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
12724 { "wxPyDrawnShape_base_OnRightClick", (PyCFunction) _wrap_wxPyDrawnShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
12725 { "wxPyDrawnShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyDrawnShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
12726 { "wxPyDrawnShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyDrawnShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
12727 { "wxPyDrawnShape_base_OnHighlight", (PyCFunction) _wrap_wxPyDrawnShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
12728 { "wxPyDrawnShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyDrawnShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
12729 { "wxPyDrawnShape_base_OnErase", (PyCFunction) _wrap_wxPyDrawnShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
12730 { "wxPyDrawnShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyDrawnShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
12731 { "wxPyDrawnShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
12732 { "wxPyDrawnShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
12733 { "wxPyDrawnShape_base_OnDraw", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
12734 { "wxPyDrawnShape_base_OnDelete", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
12735 { "wxPyDrawnShape_Translate", (PyCFunction) _wrap_wxPyDrawnShape_Translate, METH_VARARGS | METH_KEYWORDS },
12736 { "wxPyDrawnShape_SetSaveToFile", (PyCFunction) _wrap_wxPyDrawnShape_SetSaveToFile, METH_VARARGS | METH_KEYWORDS },
12737 { "wxPyDrawnShape_Scale", (PyCFunction) _wrap_wxPyDrawnShape_Scale, METH_VARARGS | METH_KEYWORDS },
12738 { "wxPyDrawnShape_SetDrawnTextColour", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnTextColour, METH_VARARGS | METH_KEYWORDS },
12739 { "wxPyDrawnShape_SetDrawnPen", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnPen, METH_VARARGS | METH_KEYWORDS },
12740 { "wxPyDrawnShape_SetDrawnFont", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnFont, METH_VARARGS | METH_KEYWORDS },
12741 { "wxPyDrawnShape_SetDrawnBrush", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnBrush, METH_VARARGS | METH_KEYWORDS },
12742 { "wxPyDrawnShape_SetDrawnBackgroundMode", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnBackgroundMode, METH_VARARGS | METH_KEYWORDS },
12743 { "wxPyDrawnShape_SetDrawnBackgroundColour", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12744 { "wxPyDrawnShape_SetClippingRect", (PyCFunction) _wrap_wxPyDrawnShape_SetClippingRect, METH_VARARGS | METH_KEYWORDS },
12745 { "wxPyDrawnShape_Rotate", (PyCFunction) _wrap_wxPyDrawnShape_Rotate, METH_VARARGS | METH_KEYWORDS },
12746 { "wxPyDrawnShape_LoadFromMetaFile", (PyCFunction) _wrap_wxPyDrawnShape_LoadFromMetaFile, METH_VARARGS | METH_KEYWORDS },
12747 { "wxPyDrawnShape_GetRotation", (PyCFunction) _wrap_wxPyDrawnShape_GetRotation, METH_VARARGS | METH_KEYWORDS },
12748 { "wxPyDrawnShape_GetMetaFile", (PyCFunction) _wrap_wxPyDrawnShape_GetMetaFile, METH_VARARGS | METH_KEYWORDS },
12749 { "wxPyDrawnShape_GetAngle", (PyCFunction) _wrap_wxPyDrawnShape_GetAngle, METH_VARARGS | METH_KEYWORDS },
12750 { "wxPyDrawnShape_DrawText", (PyCFunction) _wrap_wxPyDrawnShape_DrawText, METH_VARARGS | METH_KEYWORDS },
12751 { "wxPyDrawnShape_DrawSpline", (PyCFunction) _wrap_wxPyDrawnShape_DrawSpline, METH_VARARGS | METH_KEYWORDS },
12752 { "wxPyDrawnShape_DrawRoundedRectangle", (PyCFunction) _wrap_wxPyDrawnShape_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS },
12753 { "wxPyDrawnShape_DrawRectangle", (PyCFunction) _wrap_wxPyDrawnShape_DrawRectangle, METH_VARARGS | METH_KEYWORDS },
12754 { "wxPyDrawnShape_DrawPolygon", (PyCFunction) _wrap_wxPyDrawnShape_DrawPolygon, METH_VARARGS | METH_KEYWORDS },
12755 { "wxPyDrawnShape_DrawPoint", (PyCFunction) _wrap_wxPyDrawnShape_DrawPoint, METH_VARARGS | METH_KEYWORDS },
12756 { "wxPyDrawnShape_DrawLines", (PyCFunction) _wrap_wxPyDrawnShape_DrawLines, METH_VARARGS | METH_KEYWORDS },
12757 { "wxPyDrawnShape_DrawLine", (PyCFunction) _wrap_wxPyDrawnShape_DrawLine, METH_VARARGS | METH_KEYWORDS },
12758 { "wxPyDrawnShape_DrawEllipticArc", (PyCFunction) _wrap_wxPyDrawnShape_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS },
12759 { "wxPyDrawnShape_DrawAtAngle", (PyCFunction) _wrap_wxPyDrawnShape_DrawAtAngle, METH_VARARGS | METH_KEYWORDS },
12760 { "wxPyDrawnShape_DrawArc", (PyCFunction) _wrap_wxPyDrawnShape_DrawArc, METH_VARARGS | METH_KEYWORDS },
12761 { "wxPyDrawnShape_DestroyClippingRect", (PyCFunction) _wrap_wxPyDrawnShape_DestroyClippingRect, METH_VARARGS | METH_KEYWORDS },
12762 { "wxPyDrawnShape_CalculateSize", (PyCFunction) _wrap_wxPyDrawnShape_CalculateSize, METH_VARARGS | METH_KEYWORDS },
12763 { "wxPyDrawnShape__setCallbackInfo", (PyCFunction) _wrap_wxPyDrawnShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
12764 { "new_wxPyDrawnShape", (PyCFunction) _wrap_new_wxPyDrawnShape, METH_VARARGS | METH_KEYWORDS },
12765 { "wxPyBitmapShape_base_OnEndSize", (PyCFunction) _wrap_wxPyBitmapShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
12766 { "wxPyBitmapShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyBitmapShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
12767 { "wxPyBitmapShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12768 { "wxPyBitmapShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12769 { "wxPyBitmapShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
12770 { "wxPyBitmapShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyBitmapShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
12771 { "wxPyBitmapShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyBitmapShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
12772 { "wxPyBitmapShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
12773 { "wxPyBitmapShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
12774 { "wxPyBitmapShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyBitmapShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
12775 { "wxPyBitmapShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyBitmapShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
12776 { "wxPyBitmapShape_base_OnDragRight", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
12777 { "wxPyBitmapShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12778 { "wxPyBitmapShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12779 { "wxPyBitmapShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
12780 { "wxPyBitmapShape_base_OnMovePost", (PyCFunction) _wrap_wxPyBitmapShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
12781 { "wxPyBitmapShape_base_OnMovePre", (PyCFunction) _wrap_wxPyBitmapShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
12782 { "wxPyBitmapShape_base_OnSize", (PyCFunction) _wrap_wxPyBitmapShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
12783 { "wxPyBitmapShape_base_OnRightClick", (PyCFunction) _wrap_wxPyBitmapShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
12784 { "wxPyBitmapShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyBitmapShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
12785 { "wxPyBitmapShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyBitmapShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
12786 { "wxPyBitmapShape_base_OnHighlight", (PyCFunction) _wrap_wxPyBitmapShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
12787 { "wxPyBitmapShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyBitmapShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
12788 { "wxPyBitmapShape_base_OnErase", (PyCFunction) _wrap_wxPyBitmapShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
12789 { "wxPyBitmapShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyBitmapShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
12790 { "wxPyBitmapShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
12791 { "wxPyBitmapShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
12792 { "wxPyBitmapShape_base_OnDraw", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
12793 { "wxPyBitmapShape_base_OnDelete", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
12794 { "wxPyBitmapShape_SetFilename", (PyCFunction) _wrap_wxPyBitmapShape_SetFilename, METH_VARARGS | METH_KEYWORDS },
12795 { "wxPyBitmapShape_SetBitmap", (PyCFunction) _wrap_wxPyBitmapShape_SetBitmap, METH_VARARGS | METH_KEYWORDS },
12796 { "wxPyBitmapShape_GetFilename", (PyCFunction) _wrap_wxPyBitmapShape_GetFilename, METH_VARARGS | METH_KEYWORDS },
12797 { "wxPyBitmapShape_GetBitmap", (PyCFunction) _wrap_wxPyBitmapShape_GetBitmap, METH_VARARGS | METH_KEYWORDS },
12798 { "wxPyBitmapShape__setCallbackInfo", (PyCFunction) _wrap_wxPyBitmapShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
12799 { "new_wxPyBitmapShape", (PyCFunction) _wrap_new_wxPyBitmapShape, METH_VARARGS | METH_KEYWORDS },
12800 { "wxPyControlPoint_base_OnEndSize", (PyCFunction) _wrap_wxPyControlPoint_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
12801 { "wxPyControlPoint_base_OnBeginSize", (PyCFunction) _wrap_wxPyControlPoint_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
12802 { "wxPyControlPoint_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyControlPoint_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12803 { "wxPyControlPoint_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyControlPoint_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12804 { "wxPyControlPoint_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyControlPoint_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
12805 { "wxPyControlPoint_base_OnMoveLink", (PyCFunction) _wrap_wxPyControlPoint_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
12806 { "wxPyControlPoint_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyControlPoint_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
12807 { "wxPyControlPoint_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyControlPoint_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
12808 { "wxPyControlPoint_base_OnDrawOutline", (PyCFunction) _wrap_wxPyControlPoint_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
12809 { "wxPyControlPoint_base_OnEndDragRight", (PyCFunction) _wrap_wxPyControlPoint_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
12810 { "wxPyControlPoint_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyControlPoint_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
12811 { "wxPyControlPoint_base_OnDragRight", (PyCFunction) _wrap_wxPyControlPoint_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
12812 { "wxPyControlPoint_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyControlPoint_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12813 { "wxPyControlPoint_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyControlPoint_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12814 { "wxPyControlPoint_base_OnDragLeft", (PyCFunction) _wrap_wxPyControlPoint_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
12815 { "wxPyControlPoint_base_OnMovePost", (PyCFunction) _wrap_wxPyControlPoint_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
12816 { "wxPyControlPoint_base_OnMovePre", (PyCFunction) _wrap_wxPyControlPoint_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
12817 { "wxPyControlPoint_base_OnSize", (PyCFunction) _wrap_wxPyControlPoint_base_OnSize, METH_VARARGS | METH_KEYWORDS },
12818 { "wxPyControlPoint_base_OnRightClick", (PyCFunction) _wrap_wxPyControlPoint_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
12819 { "wxPyControlPoint_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyControlPoint_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
12820 { "wxPyControlPoint_base_OnLeftClick", (PyCFunction) _wrap_wxPyControlPoint_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
12821 { "wxPyControlPoint_base_OnHighlight", (PyCFunction) _wrap_wxPyControlPoint_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
12822 { "wxPyControlPoint_base_OnEraseContents", (PyCFunction) _wrap_wxPyControlPoint_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
12823 { "wxPyControlPoint_base_OnErase", (PyCFunction) _wrap_wxPyControlPoint_base_OnErase, METH_VARARGS | METH_KEYWORDS },
12824 { "wxPyControlPoint_base_OnMoveLinks", (PyCFunction) _wrap_wxPyControlPoint_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
12825 { "wxPyControlPoint_base_OnDrawBranches", (PyCFunction) _wrap_wxPyControlPoint_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
12826 { "wxPyControlPoint_base_OnDrawContents", (PyCFunction) _wrap_wxPyControlPoint_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
12827 { "wxPyControlPoint_base_OnDraw", (PyCFunction) _wrap_wxPyControlPoint_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
12828 { "wxPyControlPoint_base_OnDelete", (PyCFunction) _wrap_wxPyControlPoint_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
12829 { "wxPyControlPoint_SetCornerRadius", (PyCFunction) _wrap_wxPyControlPoint_SetCornerRadius, METH_VARARGS | METH_KEYWORDS },
12830 { "wxPyControlPoint__setCallbackInfo", (PyCFunction) _wrap_wxPyControlPoint__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
12831 { "new_wxPyControlPoint", (PyCFunction) _wrap_new_wxPyControlPoint, METH_VARARGS | METH_KEYWORDS },
12832 { "wxPyRectangleShape_base_OnEndSize", (PyCFunction) _wrap_wxPyRectangleShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
12833 { "wxPyRectangleShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyRectangleShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
12834 { "wxPyRectangleShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12835 { "wxPyRectangleShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12836 { "wxPyRectangleShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
12837 { "wxPyRectangleShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyRectangleShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
12838 { "wxPyRectangleShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyRectangleShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
12839 { "wxPyRectangleShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
12840 { "wxPyRectangleShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
12841 { "wxPyRectangleShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyRectangleShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
12842 { "wxPyRectangleShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyRectangleShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
12843 { "wxPyRectangleShape_base_OnDragRight", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
12844 { "wxPyRectangleShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12845 { "wxPyRectangleShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12846 { "wxPyRectangleShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
12847 { "wxPyRectangleShape_base_OnMovePost", (PyCFunction) _wrap_wxPyRectangleShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
12848 { "wxPyRectangleShape_base_OnMovePre", (PyCFunction) _wrap_wxPyRectangleShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
12849 { "wxPyRectangleShape_base_OnSize", (PyCFunction) _wrap_wxPyRectangleShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
12850 { "wxPyRectangleShape_base_OnRightClick", (PyCFunction) _wrap_wxPyRectangleShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
12851 { "wxPyRectangleShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyRectangleShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
12852 { "wxPyRectangleShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyRectangleShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
12853 { "wxPyRectangleShape_base_OnHighlight", (PyCFunction) _wrap_wxPyRectangleShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
12854 { "wxPyRectangleShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyRectangleShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
12855 { "wxPyRectangleShape_base_OnErase", (PyCFunction) _wrap_wxPyRectangleShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
12856 { "wxPyRectangleShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyRectangleShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
12857 { "wxPyRectangleShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
12858 { "wxPyRectangleShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
12859 { "wxPyRectangleShape_base_OnDraw", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
12860 { "wxPyRectangleShape_base_OnDelete", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
12861 { "wxPyRectangleShape_SetCornerRadius", (PyCFunction) _wrap_wxPyRectangleShape_SetCornerRadius, METH_VARARGS | METH_KEYWORDS },
12862 { "wxPyRectangleShape__setCallbackInfo", (PyCFunction) _wrap_wxPyRectangleShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
12863 { "new_wxPyRectangleShape", (PyCFunction) _wrap_new_wxPyRectangleShape, METH_VARARGS | METH_KEYWORDS },
12864 { "wxPseudoMetaFile_SetBackgroundMode", (PyCFunction) _wrap_wxPseudoMetaFile_SetBackgroundMode, METH_VARARGS | METH_KEYWORDS },
12865 { "wxPseudoMetaFile_SetBackgroundColour", (PyCFunction) _wrap_wxPseudoMetaFile_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12866 { "wxPseudoMetaFile_SetTextColour", (PyCFunction) _wrap_wxPseudoMetaFile_SetTextColour, METH_VARARGS | METH_KEYWORDS },
12867 { "wxPseudoMetaFile_SetFont", (PyCFunction) _wrap_wxPseudoMetaFile_SetFont, METH_VARARGS | METH_KEYWORDS },
12868 { "wxPseudoMetaFile_SetBrush", (PyCFunction) _wrap_wxPseudoMetaFile_SetBrush, METH_VARARGS | METH_KEYWORDS },
12869 { "wxPseudoMetaFile_SetPen", (PyCFunction) _wrap_wxPseudoMetaFile_SetPen, METH_VARARGS | METH_KEYWORDS },
12870 { "wxPseudoMetaFile_DestroyClippingRect", (PyCFunction) _wrap_wxPseudoMetaFile_DestroyClippingRect, METH_VARARGS | METH_KEYWORDS },
12871 { "wxPseudoMetaFile_SetClippingRect", (PyCFunction) _wrap_wxPseudoMetaFile_SetClippingRect, METH_VARARGS | METH_KEYWORDS },
12872 { "wxPseudoMetaFile_DrawSpline", (PyCFunction) _wrap_wxPseudoMetaFile_DrawSpline, METH_VARARGS | METH_KEYWORDS },
12873 { "wxPseudoMetaFile_DrawPolygon", (PyCFunction) _wrap_wxPseudoMetaFile_DrawPolygon, METH_VARARGS | METH_KEYWORDS },
12874 { "wxPseudoMetaFile_DrawLines", (PyCFunction) _wrap_wxPseudoMetaFile_DrawLines, METH_VARARGS | METH_KEYWORDS },
12875 { "wxPseudoMetaFile_DrawText", (PyCFunction) _wrap_wxPseudoMetaFile_DrawText, METH_VARARGS | METH_KEYWORDS },
12876 { "wxPseudoMetaFile_DrawPoint", (PyCFunction) _wrap_wxPseudoMetaFile_DrawPoint, METH_VARARGS | METH_KEYWORDS },
12877 { "wxPseudoMetaFile_DrawEllipse", (PyCFunction) _wrap_wxPseudoMetaFile_DrawEllipse, METH_VARARGS | METH_KEYWORDS },
12878 { "wxPseudoMetaFile_DrawEllipticArc", (PyCFunction) _wrap_wxPseudoMetaFile_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS },
12879 { "wxPseudoMetaFile_DrawArc", (PyCFunction) _wrap_wxPseudoMetaFile_DrawArc, METH_VARARGS | METH_KEYWORDS },
12880 { "wxPseudoMetaFile_DrawRoundedRectangle", (PyCFunction) _wrap_wxPseudoMetaFile_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS },
12881 { "wxPseudoMetaFile_DrawRectangle", (PyCFunction) _wrap_wxPseudoMetaFile_DrawRectangle, METH_VARARGS | METH_KEYWORDS },
12882 { "wxPseudoMetaFile_DrawLine", (PyCFunction) _wrap_wxPseudoMetaFile_DrawLine, METH_VARARGS | METH_KEYWORDS },
12883 { "wxPseudoMetaFile_IsValid", (PyCFunction) _wrap_wxPseudoMetaFile_IsValid, METH_VARARGS | METH_KEYWORDS },
12884 { "wxPseudoMetaFile_GetOutlineOp", (PyCFunction) _wrap_wxPseudoMetaFile_GetOutlineOp, METH_VARARGS | METH_KEYWORDS },
12885 { "wxPseudoMetaFile_SetOutlineOp", (PyCFunction) _wrap_wxPseudoMetaFile_SetOutlineOp, METH_VARARGS | METH_KEYWORDS },
12886 { "wxPseudoMetaFile_GetOutlinePen", (PyCFunction) _wrap_wxPseudoMetaFile_GetOutlinePen, METH_VARARGS | METH_KEYWORDS },
12887 { "wxPseudoMetaFile_SetOutlinePen", (PyCFunction) _wrap_wxPseudoMetaFile_SetOutlinePen, METH_VARARGS | METH_KEYWORDS },
12888 { "wxPseudoMetaFile_GetFillBrush", (PyCFunction) _wrap_wxPseudoMetaFile_GetFillBrush, METH_VARARGS | METH_KEYWORDS },
12889 { "wxPseudoMetaFile_SetFillBrush", (PyCFunction) _wrap_wxPseudoMetaFile_SetFillBrush, METH_VARARGS | METH_KEYWORDS },
12890 { "wxPseudoMetaFile_SetSize", (PyCFunction) _wrap_wxPseudoMetaFile_SetSize, METH_VARARGS | METH_KEYWORDS },
12891 { "wxPseudoMetaFile_GetRotateable", (PyCFunction) _wrap_wxPseudoMetaFile_GetRotateable, METH_VARARGS | METH_KEYWORDS },
12892 { "wxPseudoMetaFile_SetRotateable", (PyCFunction) _wrap_wxPseudoMetaFile_SetRotateable, METH_VARARGS | METH_KEYWORDS },
12893 { "wxPseudoMetaFile_CalculateSize", (PyCFunction) _wrap_wxPseudoMetaFile_CalculateSize, METH_VARARGS | METH_KEYWORDS },
12894 { "wxPseudoMetaFile_GetBounds", (PyCFunction) _wrap_wxPseudoMetaFile_GetBounds, METH_VARARGS | METH_KEYWORDS },
12895 { "wxPseudoMetaFile_LoadFromMetaFile", (PyCFunction) _wrap_wxPseudoMetaFile_LoadFromMetaFile, METH_VARARGS | METH_KEYWORDS },
12896 { "wxPseudoMetaFile_Rotate", (PyCFunction) _wrap_wxPseudoMetaFile_Rotate, METH_VARARGS | METH_KEYWORDS },
12897 { "wxPseudoMetaFile_Translate", (PyCFunction) _wrap_wxPseudoMetaFile_Translate, METH_VARARGS | METH_KEYWORDS },
12898 { "wxPseudoMetaFile_ScaleTo", (PyCFunction) _wrap_wxPseudoMetaFile_ScaleTo, METH_VARARGS | METH_KEYWORDS },
12899 { "wxPseudoMetaFile_Scale", (PyCFunction) _wrap_wxPseudoMetaFile_Scale, METH_VARARGS | METH_KEYWORDS },
12900 { "wxPseudoMetaFile_Copy", (PyCFunction) _wrap_wxPseudoMetaFile_Copy, METH_VARARGS | METH_KEYWORDS },
12901 { "wxPseudoMetaFile_Clear", (PyCFunction) _wrap_wxPseudoMetaFile_Clear, METH_VARARGS | METH_KEYWORDS },
12902 { "wxPseudoMetaFile_ReadAttributes", (PyCFunction) _wrap_wxPseudoMetaFile_ReadAttributes, METH_VARARGS | METH_KEYWORDS },
12903 { "wxPseudoMetaFile_WriteAttributes", (PyCFunction) _wrap_wxPseudoMetaFile_WriteAttributes, METH_VARARGS | METH_KEYWORDS },
12904 { "wxPseudoMetaFile_Draw", (PyCFunction) _wrap_wxPseudoMetaFile_Draw, METH_VARARGS | METH_KEYWORDS },
12905 { "delete_wxPseudoMetaFile", (PyCFunction) _wrap_delete_wxPseudoMetaFile, METH_VARARGS | METH_KEYWORDS },
12906 { "new_wxPseudoMetaFile", (PyCFunction) _wrap_new_wxPseudoMetaFile, METH_VARARGS | METH_KEYWORDS },
12907 { NULL, NULL }
12908 };
12909 #ifdef __cplusplus
12910 }
12911 #endif
12912 /*
12913 * This table is used by the pointer type-checker
12914 */
12915 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
12916 { "_signed_long","_long",0},
12917 { "_wxPrintQuality","_wxCoord",0},
12918 { "_wxPrintQuality","_int",0},
12919 { "_wxPrintQuality","_signed_int",0},
12920 { "_wxPrintQuality","_unsigned_int",0},
12921 { "_wxPrintQuality","_wxWindowID",0},
12922 { "_wxPrintQuality","_uint",0},
12923 { "_wxPrintQuality","_EBool",0},
12924 { "_wxPrintQuality","_size_t",0},
12925 { "_wxPrintQuality","_time_t",0},
12926 { "_wxPyCompositeShape","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyCompositeShape},
12927 { "_byte","_unsigned_char",0},
12928 { "_long","_unsigned_long",0},
12929 { "_long","_signed_long",0},
12930 { "_size_t","_wxCoord",0},
12931 { "_size_t","_wxPrintQuality",0},
12932 { "_size_t","_time_t",0},
12933 { "_size_t","_unsigned_int",0},
12934 { "_size_t","_int",0},
12935 { "_size_t","_wxWindowID",0},
12936 { "_size_t","_uint",0},
12937 { "_uint","_wxCoord",0},
12938 { "_uint","_wxPrintQuality",0},
12939 { "_uint","_time_t",0},
12940 { "_uint","_size_t",0},
12941 { "_uint","_unsigned_int",0},
12942 { "_uint","_int",0},
12943 { "_uint","_wxWindowID",0},
12944 { "_wxChar","_char",0},
12945 { "_char","_wxChar",0},
12946 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
12947 { "_EBool","_wxCoord",0},
12948 { "_EBool","_wxPrintQuality",0},
12949 { "_EBool","_signed_int",0},
12950 { "_EBool","_int",0},
12951 { "_EBool","_wxWindowID",0},
12952 { "_unsigned_long","_long",0},
12953 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
12954 { "_signed_int","_wxCoord",0},
12955 { "_signed_int","_wxPrintQuality",0},
12956 { "_signed_int","_EBool",0},
12957 { "_signed_int","_wxWindowID",0},
12958 { "_signed_int","_int",0},
12959 { "_WXTYPE","_wxDateTime_t",0},
12960 { "_WXTYPE","_short",0},
12961 { "_WXTYPE","_signed_short",0},
12962 { "_WXTYPE","_unsigned_short",0},
12963 { "_unsigned_short","_wxDateTime_t",0},
12964 { "_unsigned_short","_WXTYPE",0},
12965 { "_unsigned_short","_short",0},
12966 { "_wxObject","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxObject},
12967 { "_wxObject","_wxPyDividedShape",SwigwxPyDividedShapeTowxObject},
12968 { "_wxObject","_wxPyCompositeShape",SwigwxPyCompositeShapeTowxObject},
12969 { "_wxObject","_wxOGLConstraint",SwigwxOGLConstraintTowxObject},
12970 { "_wxObject","_wxPyDrawnShape",SwigwxPyDrawnShapeTowxObject},
12971 { "_wxObject","_wxPyBitmapShape",SwigwxPyBitmapShapeTowxObject},
12972 { "_wxObject","_wxPyControlPoint",SwigwxPyControlPointTowxObject},
12973 { "_wxObject","_wxPyRectangleShape",SwigwxPyRectangleShapeTowxObject},
12974 { "_wxObject","_wxPseudoMetaFile",SwigwxPseudoMetaFileTowxObject},
12975 { "_signed_short","_WXTYPE",0},
12976 { "_signed_short","_short",0},
12977 { "_wxPyShape","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyShape},
12978 { "_wxPyShape","_wxPyDividedShape",SwigwxPyDividedShapeTowxPyShape},
12979 { "_wxPyShape","_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyShape},
12980 { "_wxPyShape","_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyShape},
12981 { "_wxPyShape","_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyShape},
12982 { "_wxPyShape","_wxPyControlPoint",SwigwxPyControlPointTowxPyShape},
12983 { "_wxPyShape","_wxPyRectangleShape",SwigwxPyRectangleShapeTowxPyShape},
12984 { "_unsigned_char","_byte",0},
12985 { "_unsigned_int","_wxCoord",0},
12986 { "_unsigned_int","_wxPrintQuality",0},
12987 { "_unsigned_int","_time_t",0},
12988 { "_unsigned_int","_size_t",0},
12989 { "_unsigned_int","_uint",0},
12990 { "_unsigned_int","_wxWindowID",0},
12991 { "_unsigned_int","_int",0},
12992 { "_short","_wxDateTime_t",0},
12993 { "_short","_WXTYPE",0},
12994 { "_short","_unsigned_short",0},
12995 { "_short","_signed_short",0},
12996 { "_wxWindowID","_wxCoord",0},
12997 { "_wxWindowID","_wxPrintQuality",0},
12998 { "_wxWindowID","_time_t",0},
12999 { "_wxWindowID","_size_t",0},
13000 { "_wxWindowID","_EBool",0},
13001 { "_wxWindowID","_uint",0},
13002 { "_wxWindowID","_int",0},
13003 { "_wxWindowID","_signed_int",0},
13004 { "_wxWindowID","_unsigned_int",0},
13005 { "_int","_wxCoord",0},
13006 { "_int","_wxPrintQuality",0},
13007 { "_int","_time_t",0},
13008 { "_int","_size_t",0},
13009 { "_int","_EBool",0},
13010 { "_int","_uint",0},
13011 { "_int","_wxWindowID",0},
13012 { "_int","_unsigned_int",0},
13013 { "_int","_signed_int",0},
13014 { "_wxDateTime_t","_unsigned_short",0},
13015 { "_wxDateTime_t","_short",0},
13016 { "_wxDateTime_t","_WXTYPE",0},
13017 { "_time_t","_wxCoord",0},
13018 { "_time_t","_wxPrintQuality",0},
13019 { "_time_t","_unsigned_int",0},
13020 { "_time_t","_int",0},
13021 { "_time_t","_wxWindowID",0},
13022 { "_time_t","_uint",0},
13023 { "_time_t","_size_t",0},
13024 { "_wxCoord","_int",0},
13025 { "_wxCoord","_signed_int",0},
13026 { "_wxCoord","_unsigned_int",0},
13027 { "_wxCoord","_wxWindowID",0},
13028 { "_wxCoord","_uint",0},
13029 { "_wxCoord","_EBool",0},
13030 { "_wxCoord","_size_t",0},
13031 { "_wxCoord","_time_t",0},
13032 { "_wxCoord","_wxPrintQuality",0},
13033 { "_wxPyShapeEvtHandler","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyShapeEvtHandler},
13034 { "_wxPyShapeEvtHandler","_wxPyDividedShape",SwigwxPyDividedShapeTowxPyShapeEvtHandler},
13035 { "_wxPyShapeEvtHandler","_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyShapeEvtHandler},
13036 { "_wxPyShapeEvtHandler","_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyShapeEvtHandler},
13037 { "_wxPyShapeEvtHandler","_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyShapeEvtHandler},
13038 { "_wxPyShapeEvtHandler","_wxPyControlPoint",SwigwxPyControlPointTowxPyShapeEvtHandler},
13039 { "_wxPyShapeEvtHandler","_wxPyRectangleShape",SwigwxPyRectangleShapeTowxPyShapeEvtHandler},
13040 { "_wxPyRectangleShape","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyRectangleShape},
13041 { "_wxPyRectangleShape","_wxPyDividedShape",SwigwxPyDividedShapeTowxPyRectangleShape},
13042 { "_wxPyRectangleShape","_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyRectangleShape},
13043 { "_wxPyRectangleShape","_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyRectangleShape},
13044 { "_wxPyRectangleShape","_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyRectangleShape},
13045 { "_wxPyRectangleShape","_wxPyControlPoint",SwigwxPyControlPointTowxPyRectangleShape},
13046 {0,0,0}};
13047
13048 static PyObject *SWIG_globals;
13049 #ifdef __cplusplus
13050 extern "C"
13051 #endif
13052 SWIGEXPORT(void) initoglshapesc() {
13053 PyObject *m, *d;
13054 SWIG_globals = SWIG_newvarlink();
13055 m = Py_InitModule("oglshapesc", oglshapescMethods);
13056 d = PyModule_GetDict(m);
13057 {
13058 int i;
13059 for (i = 0; _swig_mapping[i].n1; i++)
13060 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
13061 }
13062 }