]> git.saurik.com Git - wxWidgets.git/blob - wxPython/contrib/ogl/oglshapes.cpp
fixed broken TeX markup which resulted in broken links
[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 "Python.h"
23
24 #include <string.h>
25 #include <stdlib.h>
26 /* Definitions for Windows/Unix exporting */
27 #if defined(__WIN32__)
28 # if defined(_MSC_VER)
29 # define SWIGEXPORT(a) __declspec(dllexport) a
30 # else
31 # if defined(__BORLANDC__)
32 # define SWIGEXPORT(a) a _export
33 # else
34 # define SWIGEXPORT(a) a
35 # endif
36 # endif
37 #else
38 # define SWIGEXPORT(a) a
39 #endif
40
41 #ifdef __cplusplus
42 extern "C" {
43 #endif
44 extern void SWIG_MakePtr(char *, void *, char *);
45 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46 extern char *SWIG_GetPtr(char *, void **, char *);
47 extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
48 extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
49 extern PyObject *SWIG_newvarlink(void);
50 #ifdef __cplusplus
51 }
52 #endif
53 #define SWIG_init initoglshapesc
54
55 #define SWIG_name "oglshapesc"
56
57 #include "wxPython.h"
58 #include "oglhelpers.h"
59
60
61 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
62 PyObject* o2;
63 PyObject* o3;
64
65 if (!target) {
66 target = o;
67 } else if (target == Py_None) {
68 Py_DECREF(Py_None);
69 target = o;
70 } else {
71 if (!PyTuple_Check(target)) {
72 o2 = target;
73 target = PyTuple_New(1);
74 PyTuple_SetItem(target, 0, o2);
75 }
76 o3 = PyTuple_New(1);
77 PyTuple_SetItem(o3, 0, o);
78
79 o2 = target;
80 target = PySequence_Concat(o2, o3);
81 Py_DECREF(o2);
82 Py_DECREF(o3);
83 }
84 return target;
85 }
86
87 WXSHAPE_IMP_CALLBACKS(wxPyRectangleShape, wxRectangleShape);
88
89 WXSHAPE_IMP_CALLBACKS(wxPyControlPoint, wxControlPoint);
90
91 WXSHAPE_IMP_CALLBACKS(wxPyBitmapShape, wxBitmapShape);
92
93 WXSHAPE_IMP_CALLBACKS(wxPyDrawnShape, wxDrawnShape);
94
95 WXSHAPE_IMP_CALLBACKS(wxPyCompositeShape, wxCompositeShape);
96
97 WXSHAPE_IMP_CALLBACKS(wxPyDividedShape, wxDividedShape);
98
99 WXSHAPE_IMP_CALLBACKS(wxPyDivisionShape, wxDivisionShape);
100 #ifdef __cplusplus
101 extern "C" {
102 #endif
103 static void *SwigwxPseudoMetaFileTowxObject(void *ptr) {
104 wxPseudoMetaFile *src;
105 wxObject *dest;
106 src = (wxPseudoMetaFile *) ptr;
107 dest = (wxObject *) src;
108 return (void *) dest;
109 }
110
111 #define new_wxPseudoMetaFile() (new wxPseudoMetaFile())
112 static PyObject *_wrap_new_wxPseudoMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
113 PyObject * _resultobj;
114 wxPseudoMetaFile * _result;
115 char *_kwnames[] = { NULL };
116 char _ptemp[128];
117
118 self = self;
119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPseudoMetaFile",_kwnames))
120 return NULL;
121 {
122 PyThreadState* __tstate = wxPyBeginAllowThreads();
123 _result = (wxPseudoMetaFile *)new_wxPseudoMetaFile();
124
125 wxPyEndAllowThreads(__tstate);
126 if (PyErr_Occurred()) return NULL;
127 } if (_result) {
128 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPseudoMetaFile_p");
129 _resultobj = Py_BuildValue("s",_ptemp);
130 } else {
131 Py_INCREF(Py_None);
132 _resultobj = Py_None;
133 }
134 return _resultobj;
135 }
136
137 #define delete_wxPseudoMetaFile(_swigobj) (delete _swigobj)
138 static PyObject *_wrap_delete_wxPseudoMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
139 PyObject * _resultobj;
140 wxPseudoMetaFile * _arg0;
141 PyObject * _argo0 = 0;
142 char *_kwnames[] = { "self", NULL };
143
144 self = self;
145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPseudoMetaFile",_kwnames,&_argo0))
146 return NULL;
147 if (_argo0) {
148 if (_argo0 == Py_None) { _arg0 = NULL; }
149 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
150 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPseudoMetaFile. Expected _wxPseudoMetaFile_p.");
151 return NULL;
152 }
153 }
154 {
155 PyThreadState* __tstate = wxPyBeginAllowThreads();
156 delete_wxPseudoMetaFile(_arg0);
157
158 wxPyEndAllowThreads(__tstate);
159 if (PyErr_Occurred()) return NULL;
160 } Py_INCREF(Py_None);
161 _resultobj = Py_None;
162 return _resultobj;
163 }
164
165 #define wxPseudoMetaFile_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2))
166 static PyObject *_wrap_wxPseudoMetaFile_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
167 PyObject * _resultobj;
168 wxPseudoMetaFile * _arg0;
169 wxDC * _arg1;
170 double _arg2;
171 double _arg3;
172 PyObject * _argo0 = 0;
173 PyObject * _argo1 = 0;
174 char *_kwnames[] = { "self","dc","xoffset","yoffset", NULL };
175
176 self = self;
177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd:wxPseudoMetaFile_Draw",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
178 return NULL;
179 if (_argo0) {
180 if (_argo0 == Py_None) { _arg0 = NULL; }
181 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
182 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_Draw. Expected _wxPseudoMetaFile_p.");
183 return NULL;
184 }
185 }
186 if (_argo1) {
187 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
188 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_Draw. Expected _wxDC_p.");
189 return NULL;
190 }
191 }
192 {
193 PyThreadState* __tstate = wxPyBeginAllowThreads();
194 wxPseudoMetaFile_Draw(_arg0,*_arg1,_arg2,_arg3);
195
196 wxPyEndAllowThreads(__tstate);
197 if (PyErr_Occurred()) return NULL;
198 } Py_INCREF(Py_None);
199 _resultobj = Py_None;
200 return _resultobj;
201 }
202
203 #define wxPseudoMetaFile_Clear(_swigobj) (_swigobj->Clear())
204 static PyObject *_wrap_wxPseudoMetaFile_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
205 PyObject * _resultobj;
206 wxPseudoMetaFile * _arg0;
207 PyObject * _argo0 = 0;
208 char *_kwnames[] = { "self", NULL };
209
210 self = self;
211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_Clear",_kwnames,&_argo0))
212 return NULL;
213 if (_argo0) {
214 if (_argo0 == Py_None) { _arg0 = NULL; }
215 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
216 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_Clear. Expected _wxPseudoMetaFile_p.");
217 return NULL;
218 }
219 }
220 {
221 PyThreadState* __tstate = wxPyBeginAllowThreads();
222 wxPseudoMetaFile_Clear(_arg0);
223
224 wxPyEndAllowThreads(__tstate);
225 if (PyErr_Occurred()) return NULL;
226 } Py_INCREF(Py_None);
227 _resultobj = Py_None;
228 return _resultobj;
229 }
230
231 #define wxPseudoMetaFile_Copy(_swigobj,_swigarg0) (_swigobj->Copy(_swigarg0))
232 static PyObject *_wrap_wxPseudoMetaFile_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
233 PyObject * _resultobj;
234 wxPseudoMetaFile * _arg0;
235 wxPseudoMetaFile * _arg1;
236 PyObject * _argo0 = 0;
237 PyObject * _argo1 = 0;
238 char *_kwnames[] = { "self","copy", NULL };
239
240 self = self;
241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_Copy",_kwnames,&_argo0,&_argo1))
242 return NULL;
243 if (_argo0) {
244 if (_argo0 == Py_None) { _arg0 = NULL; }
245 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
246 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_Copy. Expected _wxPseudoMetaFile_p.");
247 return NULL;
248 }
249 }
250 if (_argo1) {
251 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPseudoMetaFile_p")) {
252 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_Copy. Expected _wxPseudoMetaFile_p.");
253 return NULL;
254 }
255 }
256 {
257 PyThreadState* __tstate = wxPyBeginAllowThreads();
258 wxPseudoMetaFile_Copy(_arg0,*_arg1);
259
260 wxPyEndAllowThreads(__tstate);
261 if (PyErr_Occurred()) return NULL;
262 } Py_INCREF(Py_None);
263 _resultobj = Py_None;
264 return _resultobj;
265 }
266
267 #define wxPseudoMetaFile_Scale(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scale(_swigarg0,_swigarg1))
268 static PyObject *_wrap_wxPseudoMetaFile_Scale(PyObject *self, PyObject *args, PyObject *kwargs) {
269 PyObject * _resultobj;
270 wxPseudoMetaFile * _arg0;
271 double _arg1;
272 double _arg2;
273 PyObject * _argo0 = 0;
274 char *_kwnames[] = { "self","sx","sy", NULL };
275
276 self = self;
277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPseudoMetaFile_Scale",_kwnames,&_argo0,&_arg1,&_arg2))
278 return NULL;
279 if (_argo0) {
280 if (_argo0 == Py_None) { _arg0 = NULL; }
281 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
282 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_Scale. Expected _wxPseudoMetaFile_p.");
283 return NULL;
284 }
285 }
286 {
287 PyThreadState* __tstate = wxPyBeginAllowThreads();
288 wxPseudoMetaFile_Scale(_arg0,_arg1,_arg2);
289
290 wxPyEndAllowThreads(__tstate);
291 if (PyErr_Occurred()) return NULL;
292 } Py_INCREF(Py_None);
293 _resultobj = Py_None;
294 return _resultobj;
295 }
296
297 #define wxPseudoMetaFile_ScaleTo(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScaleTo(_swigarg0,_swigarg1))
298 static PyObject *_wrap_wxPseudoMetaFile_ScaleTo(PyObject *self, PyObject *args, PyObject *kwargs) {
299 PyObject * _resultobj;
300 wxPseudoMetaFile * _arg0;
301 double _arg1;
302 double _arg2;
303 PyObject * _argo0 = 0;
304 char *_kwnames[] = { "self","w","h", NULL };
305
306 self = self;
307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPseudoMetaFile_ScaleTo",_kwnames,&_argo0,&_arg1,&_arg2))
308 return NULL;
309 if (_argo0) {
310 if (_argo0 == Py_None) { _arg0 = NULL; }
311 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
312 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_ScaleTo. Expected _wxPseudoMetaFile_p.");
313 return NULL;
314 }
315 }
316 {
317 PyThreadState* __tstate = wxPyBeginAllowThreads();
318 wxPseudoMetaFile_ScaleTo(_arg0,_arg1,_arg2);
319
320 wxPyEndAllowThreads(__tstate);
321 if (PyErr_Occurred()) return NULL;
322 } Py_INCREF(Py_None);
323 _resultobj = Py_None;
324 return _resultobj;
325 }
326
327 #define wxPseudoMetaFile_Translate(_swigobj,_swigarg0,_swigarg1) (_swigobj->Translate(_swigarg0,_swigarg1))
328 static PyObject *_wrap_wxPseudoMetaFile_Translate(PyObject *self, PyObject *args, PyObject *kwargs) {
329 PyObject * _resultobj;
330 wxPseudoMetaFile * _arg0;
331 double _arg1;
332 double _arg2;
333 PyObject * _argo0 = 0;
334 char *_kwnames[] = { "self","x","y", NULL };
335
336 self = self;
337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPseudoMetaFile_Translate",_kwnames,&_argo0,&_arg1,&_arg2))
338 return NULL;
339 if (_argo0) {
340 if (_argo0 == Py_None) { _arg0 = NULL; }
341 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
342 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_Translate. Expected _wxPseudoMetaFile_p.");
343 return NULL;
344 }
345 }
346 {
347 PyThreadState* __tstate = wxPyBeginAllowThreads();
348 wxPseudoMetaFile_Translate(_arg0,_arg1,_arg2);
349
350 wxPyEndAllowThreads(__tstate);
351 if (PyErr_Occurred()) return NULL;
352 } Py_INCREF(Py_None);
353 _resultobj = Py_None;
354 return _resultobj;
355 }
356
357 #define wxPseudoMetaFile_Rotate(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Rotate(_swigarg0,_swigarg1,_swigarg2))
358 static PyObject *_wrap_wxPseudoMetaFile_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
359 PyObject * _resultobj;
360 wxPseudoMetaFile * _arg0;
361 double _arg1;
362 double _arg2;
363 double _arg3;
364 PyObject * _argo0 = 0;
365 char *_kwnames[] = { "self","x","y","theta", NULL };
366
367 self = self;
368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oddd:wxPseudoMetaFile_Rotate",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
369 return NULL;
370 if (_argo0) {
371 if (_argo0 == Py_None) { _arg0 = NULL; }
372 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
373 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_Rotate. Expected _wxPseudoMetaFile_p.");
374 return NULL;
375 }
376 }
377 {
378 PyThreadState* __tstate = wxPyBeginAllowThreads();
379 wxPseudoMetaFile_Rotate(_arg0,_arg1,_arg2,_arg3);
380
381 wxPyEndAllowThreads(__tstate);
382 if (PyErr_Occurred()) return NULL;
383 } Py_INCREF(Py_None);
384 _resultobj = Py_None;
385 return _resultobj;
386 }
387
388 #define wxPseudoMetaFile_LoadFromMetaFile(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromMetaFile(_swigarg0,_swigarg1,_swigarg2))
389 static PyObject *_wrap_wxPseudoMetaFile_LoadFromMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
390 PyObject * _resultobj;
391 bool _result;
392 wxPseudoMetaFile * _arg0;
393 wxString * _arg1;
394 double * _arg2;
395 double * _arg3;
396 PyObject * _argo0 = 0;
397 PyObject * _obj1 = 0;
398 PyObject * _argo2 = 0;
399 PyObject * _argo3 = 0;
400 char *_kwnames[] = { "self","filename","width","height", NULL };
401
402 self = self;
403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxPseudoMetaFile_LoadFromMetaFile",_kwnames,&_argo0,&_obj1,&_argo2,&_argo3))
404 return NULL;
405 if (_argo0) {
406 if (_argo0 == Py_None) { _arg0 = NULL; }
407 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
408 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_LoadFromMetaFile. Expected _wxPseudoMetaFile_p.");
409 return NULL;
410 }
411 }
412 {
413 _arg1 = wxString_in_helper(_obj1);
414 if (_arg1 == NULL)
415 return NULL;
416 }
417 if (_argo2) {
418 if (_argo2 == Py_None) { _arg2 = NULL; }
419 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_double_p")) {
420 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPseudoMetaFile_LoadFromMetaFile. Expected _double_p.");
421 return NULL;
422 }
423 }
424 if (_argo3) {
425 if (_argo3 == Py_None) { _arg3 = NULL; }
426 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_double_p")) {
427 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxPseudoMetaFile_LoadFromMetaFile. Expected _double_p.");
428 return NULL;
429 }
430 }
431 {
432 PyThreadState* __tstate = wxPyBeginAllowThreads();
433 _result = (bool )wxPseudoMetaFile_LoadFromMetaFile(_arg0,*_arg1,_arg2,_arg3);
434
435 wxPyEndAllowThreads(__tstate);
436 if (PyErr_Occurred()) return NULL;
437 } _resultobj = Py_BuildValue("i",_result);
438 {
439 if (_obj1)
440 delete _arg1;
441 }
442 return _resultobj;
443 }
444
445 #define wxPseudoMetaFile_GetBounds(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetBounds(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
446 static PyObject *_wrap_wxPseudoMetaFile_GetBounds(PyObject *self, PyObject *args, PyObject *kwargs) {
447 PyObject * _resultobj;
448 wxPseudoMetaFile * _arg0;
449 double * _arg1;
450 double * _arg2;
451 double * _arg3;
452 double * _arg4;
453 PyObject * _argo0 = 0;
454 PyObject * _argo1 = 0;
455 PyObject * _argo2 = 0;
456 PyObject * _argo3 = 0;
457 PyObject * _argo4 = 0;
458 char *_kwnames[] = { "self","minX","minY","maxX","maxY", NULL };
459
460 self = self;
461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOOO:wxPseudoMetaFile_GetBounds",_kwnames,&_argo0,&_argo1,&_argo2,&_argo3,&_argo4))
462 return NULL;
463 if (_argo0) {
464 if (_argo0 == Py_None) { _arg0 = NULL; }
465 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
466 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_GetBounds. Expected _wxPseudoMetaFile_p.");
467 return NULL;
468 }
469 }
470 if (_argo1) {
471 if (_argo1 == Py_None) { _arg1 = NULL; }
472 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_double_p")) {
473 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_GetBounds. Expected _double_p.");
474 return NULL;
475 }
476 }
477 if (_argo2) {
478 if (_argo2 == Py_None) { _arg2 = NULL; }
479 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_double_p")) {
480 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPseudoMetaFile_GetBounds. Expected _double_p.");
481 return NULL;
482 }
483 }
484 if (_argo3) {
485 if (_argo3 == Py_None) { _arg3 = NULL; }
486 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_double_p")) {
487 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxPseudoMetaFile_GetBounds. Expected _double_p.");
488 return NULL;
489 }
490 }
491 if (_argo4) {
492 if (_argo4 == Py_None) { _arg4 = NULL; }
493 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_double_p")) {
494 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxPseudoMetaFile_GetBounds. Expected _double_p.");
495 return NULL;
496 }
497 }
498 {
499 PyThreadState* __tstate = wxPyBeginAllowThreads();
500 wxPseudoMetaFile_GetBounds(_arg0,_arg1,_arg2,_arg3,_arg4);
501
502 wxPyEndAllowThreads(__tstate);
503 if (PyErr_Occurred()) return NULL;
504 } Py_INCREF(Py_None);
505 _resultobj = Py_None;
506 return _resultobj;
507 }
508
509 #define wxPseudoMetaFile_CalculateSize(_swigobj,_swigarg0) (_swigobj->CalculateSize(_swigarg0))
510 static PyObject *_wrap_wxPseudoMetaFile_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
511 PyObject * _resultobj;
512 wxPseudoMetaFile * _arg0;
513 wxPyDrawnShape * _arg1;
514 PyObject * _argo0 = 0;
515 PyObject * _argo1 = 0;
516 char *_kwnames[] = { "self","shape", NULL };
517
518 self = self;
519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_CalculateSize",_kwnames,&_argo0,&_argo1))
520 return NULL;
521 if (_argo0) {
522 if (_argo0 == Py_None) { _arg0 = NULL; }
523 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
524 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_CalculateSize. Expected _wxPseudoMetaFile_p.");
525 return NULL;
526 }
527 }
528 if (_argo1) {
529 if (_argo1 == Py_None) { _arg1 = NULL; }
530 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyDrawnShape_p")) {
531 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_CalculateSize. Expected _wxPyDrawnShape_p.");
532 return NULL;
533 }
534 }
535 {
536 PyThreadState* __tstate = wxPyBeginAllowThreads();
537 wxPseudoMetaFile_CalculateSize(_arg0,_arg1);
538
539 wxPyEndAllowThreads(__tstate);
540 if (PyErr_Occurred()) return NULL;
541 } Py_INCREF(Py_None);
542 _resultobj = Py_None;
543 return _resultobj;
544 }
545
546 #define wxPseudoMetaFile_SetRotateable(_swigobj,_swigarg0) (_swigobj->SetRotateable(_swigarg0))
547 static PyObject *_wrap_wxPseudoMetaFile_SetRotateable(PyObject *self, PyObject *args, PyObject *kwargs) {
548 PyObject * _resultobj;
549 wxPseudoMetaFile * _arg0;
550 bool _arg1;
551 PyObject * _argo0 = 0;
552 int tempbool1;
553 char *_kwnames[] = { "self","rot", NULL };
554
555 self = self;
556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPseudoMetaFile_SetRotateable",_kwnames,&_argo0,&tempbool1))
557 return NULL;
558 if (_argo0) {
559 if (_argo0 == Py_None) { _arg0 = NULL; }
560 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
561 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetRotateable. Expected _wxPseudoMetaFile_p.");
562 return NULL;
563 }
564 }
565 _arg1 = (bool ) tempbool1;
566 {
567 PyThreadState* __tstate = wxPyBeginAllowThreads();
568 wxPseudoMetaFile_SetRotateable(_arg0,_arg1);
569
570 wxPyEndAllowThreads(__tstate);
571 if (PyErr_Occurred()) return NULL;
572 } Py_INCREF(Py_None);
573 _resultobj = Py_None;
574 return _resultobj;
575 }
576
577 #define wxPseudoMetaFile_GetRotateable(_swigobj) (_swigobj->GetRotateable())
578 static PyObject *_wrap_wxPseudoMetaFile_GetRotateable(PyObject *self, PyObject *args, PyObject *kwargs) {
579 PyObject * _resultobj;
580 bool _result;
581 wxPseudoMetaFile * _arg0;
582 PyObject * _argo0 = 0;
583 char *_kwnames[] = { "self", NULL };
584
585 self = self;
586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_GetRotateable",_kwnames,&_argo0))
587 return NULL;
588 if (_argo0) {
589 if (_argo0 == Py_None) { _arg0 = NULL; }
590 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
591 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_GetRotateable. Expected _wxPseudoMetaFile_p.");
592 return NULL;
593 }
594 }
595 {
596 PyThreadState* __tstate = wxPyBeginAllowThreads();
597 _result = (bool )wxPseudoMetaFile_GetRotateable(_arg0);
598
599 wxPyEndAllowThreads(__tstate);
600 if (PyErr_Occurred()) return NULL;
601 } _resultobj = Py_BuildValue("i",_result);
602 return _resultobj;
603 }
604
605 #define wxPseudoMetaFile_SetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
606 static PyObject *_wrap_wxPseudoMetaFile_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
607 PyObject * _resultobj;
608 wxPseudoMetaFile * _arg0;
609 double _arg1;
610 double _arg2;
611 PyObject * _argo0 = 0;
612 char *_kwnames[] = { "self","w","h", NULL };
613
614 self = self;
615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPseudoMetaFile_SetSize",_kwnames,&_argo0,&_arg1,&_arg2))
616 return NULL;
617 if (_argo0) {
618 if (_argo0 == Py_None) { _arg0 = NULL; }
619 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
620 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetSize. Expected _wxPseudoMetaFile_p.");
621 return NULL;
622 }
623 }
624 {
625 PyThreadState* __tstate = wxPyBeginAllowThreads();
626 wxPseudoMetaFile_SetSize(_arg0,_arg1,_arg2);
627
628 wxPyEndAllowThreads(__tstate);
629 if (PyErr_Occurred()) return NULL;
630 } Py_INCREF(Py_None);
631 _resultobj = Py_None;
632 return _resultobj;
633 }
634
635 #define wxPseudoMetaFile_SetFillBrush(_swigobj,_swigarg0) (_swigobj->SetFillBrush(_swigarg0))
636 static PyObject *_wrap_wxPseudoMetaFile_SetFillBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
637 PyObject * _resultobj;
638 wxPseudoMetaFile * _arg0;
639 wxBrush * _arg1;
640 PyObject * _argo0 = 0;
641 PyObject * _obj1 = 0;
642 char *_kwnames[] = { "self","brush", NULL };
643
644 self = self;
645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_SetFillBrush",_kwnames,&_argo0,&_obj1))
646 return NULL;
647 if (_argo0) {
648 if (_argo0 == Py_None) { _arg0 = NULL; }
649 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
650 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetFillBrush. Expected _wxPseudoMetaFile_p.");
651 return NULL;
652 }
653 }
654 {
655 wxBrush* temp;
656 if (_obj1) {
657 if (_obj1 == Py_None) { temp = NULL; }
658 else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxBrush_p")) {
659 PyErr_SetString(PyExc_TypeError,"Type error, expected _wxBrush_p.");
660 return NULL;
661 }
662 }
663 if (temp)
664 _arg1 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
665 else
666 _arg1 = NULL;
667 }
668 {
669 PyThreadState* __tstate = wxPyBeginAllowThreads();
670 wxPseudoMetaFile_SetFillBrush(_arg0,_arg1);
671
672 wxPyEndAllowThreads(__tstate);
673 if (PyErr_Occurred()) return NULL;
674 } Py_INCREF(Py_None);
675 _resultobj = Py_None;
676 return _resultobj;
677 }
678
679 #define wxPseudoMetaFile_GetFillBrush(_swigobj) (_swigobj->GetFillBrush())
680 static PyObject *_wrap_wxPseudoMetaFile_GetFillBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
681 PyObject * _resultobj;
682 wxBrush * _result;
683 wxPseudoMetaFile * _arg0;
684 PyObject * _argo0 = 0;
685 char *_kwnames[] = { "self", NULL };
686 char _ptemp[128];
687
688 self = self;
689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_GetFillBrush",_kwnames,&_argo0))
690 return NULL;
691 if (_argo0) {
692 if (_argo0 == Py_None) { _arg0 = NULL; }
693 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
694 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_GetFillBrush. Expected _wxPseudoMetaFile_p.");
695 return NULL;
696 }
697 }
698 {
699 PyThreadState* __tstate = wxPyBeginAllowThreads();
700 _result = (wxBrush *)wxPseudoMetaFile_GetFillBrush(_arg0);
701
702 wxPyEndAllowThreads(__tstate);
703 if (PyErr_Occurred()) return NULL;
704 } if (_result) {
705 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBrush_p");
706 _resultobj = Py_BuildValue("s",_ptemp);
707 } else {
708 Py_INCREF(Py_None);
709 _resultobj = Py_None;
710 }
711 return _resultobj;
712 }
713
714 #define wxPseudoMetaFile_SetOutlinePen(_swigobj,_swigarg0) (_swigobj->SetOutlinePen(_swigarg0))
715 static PyObject *_wrap_wxPseudoMetaFile_SetOutlinePen(PyObject *self, PyObject *args, PyObject *kwargs) {
716 PyObject * _resultobj;
717 wxPseudoMetaFile * _arg0;
718 wxPen * _arg1;
719 PyObject * _argo0 = 0;
720 PyObject * _obj1 = 0;
721 char *_kwnames[] = { "self","pen", NULL };
722
723 self = self;
724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_SetOutlinePen",_kwnames,&_argo0,&_obj1))
725 return NULL;
726 if (_argo0) {
727 if (_argo0 == Py_None) { _arg0 = NULL; }
728 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
729 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetOutlinePen. Expected _wxPseudoMetaFile_p.");
730 return NULL;
731 }
732 }
733 {
734 wxPen* temp;
735 if (_obj1) {
736 if (_obj1 == Py_None) { temp = NULL; }
737 else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxPen_p")) {
738 PyErr_SetString(PyExc_TypeError,"Type error, expected _wxPen_p.");
739 return NULL;
740 }
741 }
742 if (temp)
743 _arg1 = wxThePenList->FindOrCreatePen(temp->GetColour(),
744 temp->GetWidth(),
745 temp->GetStyle());
746 else
747 _arg1 = NULL;
748 }
749 {
750 PyThreadState* __tstate = wxPyBeginAllowThreads();
751 wxPseudoMetaFile_SetOutlinePen(_arg0,_arg1);
752
753 wxPyEndAllowThreads(__tstate);
754 if (PyErr_Occurred()) return NULL;
755 } Py_INCREF(Py_None);
756 _resultobj = Py_None;
757 return _resultobj;
758 }
759
760 #define wxPseudoMetaFile_GetOutlinePen(_swigobj) (_swigobj->GetOutlinePen())
761 static PyObject *_wrap_wxPseudoMetaFile_GetOutlinePen(PyObject *self, PyObject *args, PyObject *kwargs) {
762 PyObject * _resultobj;
763 wxPen * _result;
764 wxPseudoMetaFile * _arg0;
765 PyObject * _argo0 = 0;
766 char *_kwnames[] = { "self", NULL };
767 char _ptemp[128];
768
769 self = self;
770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_GetOutlinePen",_kwnames,&_argo0))
771 return NULL;
772 if (_argo0) {
773 if (_argo0 == Py_None) { _arg0 = NULL; }
774 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
775 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_GetOutlinePen. Expected _wxPseudoMetaFile_p.");
776 return NULL;
777 }
778 }
779 {
780 PyThreadState* __tstate = wxPyBeginAllowThreads();
781 _result = (wxPen *)wxPseudoMetaFile_GetOutlinePen(_arg0);
782
783 wxPyEndAllowThreads(__tstate);
784 if (PyErr_Occurred()) return NULL;
785 } if (_result) {
786 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPen_p");
787 _resultobj = Py_BuildValue("s",_ptemp);
788 } else {
789 Py_INCREF(Py_None);
790 _resultobj = Py_None;
791 }
792 return _resultobj;
793 }
794
795 #define wxPseudoMetaFile_SetOutlineOp(_swigobj,_swigarg0) (_swigobj->SetOutlineOp(_swigarg0))
796 static PyObject *_wrap_wxPseudoMetaFile_SetOutlineOp(PyObject *self, PyObject *args, PyObject *kwargs) {
797 PyObject * _resultobj;
798 wxPseudoMetaFile * _arg0;
799 int _arg1;
800 PyObject * _argo0 = 0;
801 char *_kwnames[] = { "self","op", NULL };
802
803 self = self;
804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPseudoMetaFile_SetOutlineOp",_kwnames,&_argo0,&_arg1))
805 return NULL;
806 if (_argo0) {
807 if (_argo0 == Py_None) { _arg0 = NULL; }
808 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
809 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetOutlineOp. Expected _wxPseudoMetaFile_p.");
810 return NULL;
811 }
812 }
813 {
814 PyThreadState* __tstate = wxPyBeginAllowThreads();
815 wxPseudoMetaFile_SetOutlineOp(_arg0,_arg1);
816
817 wxPyEndAllowThreads(__tstate);
818 if (PyErr_Occurred()) return NULL;
819 } Py_INCREF(Py_None);
820 _resultobj = Py_None;
821 return _resultobj;
822 }
823
824 #define wxPseudoMetaFile_GetOutlineOp(_swigobj) (_swigobj->GetOutlineOp())
825 static PyObject *_wrap_wxPseudoMetaFile_GetOutlineOp(PyObject *self, PyObject *args, PyObject *kwargs) {
826 PyObject * _resultobj;
827 int _result;
828 wxPseudoMetaFile * _arg0;
829 PyObject * _argo0 = 0;
830 char *_kwnames[] = { "self", NULL };
831
832 self = self;
833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_GetOutlineOp",_kwnames,&_argo0))
834 return NULL;
835 if (_argo0) {
836 if (_argo0 == Py_None) { _arg0 = NULL; }
837 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
838 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_GetOutlineOp. Expected _wxPseudoMetaFile_p.");
839 return NULL;
840 }
841 }
842 {
843 PyThreadState* __tstate = wxPyBeginAllowThreads();
844 _result = (int )wxPseudoMetaFile_GetOutlineOp(_arg0);
845
846 wxPyEndAllowThreads(__tstate);
847 if (PyErr_Occurred()) return NULL;
848 } _resultobj = Py_BuildValue("i",_result);
849 return _resultobj;
850 }
851
852 #define wxPseudoMetaFile_IsValid(_swigobj) (_swigobj->IsValid())
853 static PyObject *_wrap_wxPseudoMetaFile_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
854 PyObject * _resultobj;
855 bool _result;
856 wxPseudoMetaFile * _arg0;
857 PyObject * _argo0 = 0;
858 char *_kwnames[] = { "self", NULL };
859
860 self = self;
861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_IsValid",_kwnames,&_argo0))
862 return NULL;
863 if (_argo0) {
864 if (_argo0 == Py_None) { _arg0 = NULL; }
865 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
866 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_IsValid. Expected _wxPseudoMetaFile_p.");
867 return NULL;
868 }
869 }
870 {
871 PyThreadState* __tstate = wxPyBeginAllowThreads();
872 _result = (bool )wxPseudoMetaFile_IsValid(_arg0);
873
874 wxPyEndAllowThreads(__tstate);
875 if (PyErr_Occurred()) return NULL;
876 } _resultobj = Py_BuildValue("i",_result);
877 return _resultobj;
878 }
879
880 #define wxPseudoMetaFile_DrawLine(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawLine(_swigarg0,_swigarg1))
881 static PyObject *_wrap_wxPseudoMetaFile_DrawLine(PyObject *self, PyObject *args, PyObject *kwargs) {
882 PyObject * _resultobj;
883 wxPseudoMetaFile * _arg0;
884 wxPoint * _arg1;
885 wxPoint * _arg2;
886 PyObject * _argo0 = 0;
887 wxPoint temp;
888 PyObject * _obj1 = 0;
889 wxPoint temp0;
890 PyObject * _obj2 = 0;
891 char *_kwnames[] = { "self","pt1","pt2", NULL };
892
893 self = self;
894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPseudoMetaFile_DrawLine",_kwnames,&_argo0,&_obj1,&_obj2))
895 return NULL;
896 if (_argo0) {
897 if (_argo0 == Py_None) { _arg0 = NULL; }
898 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
899 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawLine. Expected _wxPseudoMetaFile_p.");
900 return NULL;
901 }
902 }
903 {
904 _arg1 = &temp;
905 if (! wxPoint_helper(_obj1, &_arg1))
906 return NULL;
907 }
908 {
909 _arg2 = &temp0;
910 if (! wxPoint_helper(_obj2, &_arg2))
911 return NULL;
912 }
913 {
914 PyThreadState* __tstate = wxPyBeginAllowThreads();
915 wxPseudoMetaFile_DrawLine(_arg0,*_arg1,*_arg2);
916
917 wxPyEndAllowThreads(__tstate);
918 if (PyErr_Occurred()) return NULL;
919 } Py_INCREF(Py_None);
920 _resultobj = Py_None;
921 return _resultobj;
922 }
923
924 #define wxPseudoMetaFile_DrawRectangle(_swigobj,_swigarg0) (_swigobj->DrawRectangle(_swigarg0))
925 static PyObject *_wrap_wxPseudoMetaFile_DrawRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
926 PyObject * _resultobj;
927 wxPseudoMetaFile * _arg0;
928 wxRect * _arg1;
929 PyObject * _argo0 = 0;
930 wxRect temp;
931 PyObject * _obj1 = 0;
932 char *_kwnames[] = { "self","rect", NULL };
933
934 self = self;
935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_DrawRectangle",_kwnames,&_argo0,&_obj1))
936 return NULL;
937 if (_argo0) {
938 if (_argo0 == Py_None) { _arg0 = NULL; }
939 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
940 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawRectangle. Expected _wxPseudoMetaFile_p.");
941 return NULL;
942 }
943 }
944 {
945 _arg1 = &temp;
946 if (! wxRect_helper(_obj1, &_arg1))
947 return NULL;
948 }
949 {
950 PyThreadState* __tstate = wxPyBeginAllowThreads();
951 wxPseudoMetaFile_DrawRectangle(_arg0,*_arg1);
952
953 wxPyEndAllowThreads(__tstate);
954 if (PyErr_Occurred()) return NULL;
955 } Py_INCREF(Py_None);
956 _resultobj = Py_None;
957 return _resultobj;
958 }
959
960 #define wxPseudoMetaFile_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1))
961 static PyObject *_wrap_wxPseudoMetaFile_DrawRoundedRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
962 PyObject * _resultobj;
963 wxPseudoMetaFile * _arg0;
964 wxRect * _arg1;
965 double _arg2;
966 PyObject * _argo0 = 0;
967 wxRect temp;
968 PyObject * _obj1 = 0;
969 char *_kwnames[] = { "self","rect","radius", NULL };
970
971 self = self;
972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOd:wxPseudoMetaFile_DrawRoundedRectangle",_kwnames,&_argo0,&_obj1,&_arg2))
973 return NULL;
974 if (_argo0) {
975 if (_argo0 == Py_None) { _arg0 = NULL; }
976 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
977 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawRoundedRectangle. Expected _wxPseudoMetaFile_p.");
978 return NULL;
979 }
980 }
981 {
982 _arg1 = &temp;
983 if (! wxRect_helper(_obj1, &_arg1))
984 return NULL;
985 }
986 {
987 PyThreadState* __tstate = wxPyBeginAllowThreads();
988 wxPseudoMetaFile_DrawRoundedRectangle(_arg0,*_arg1,_arg2);
989
990 wxPyEndAllowThreads(__tstate);
991 if (PyErr_Occurred()) return NULL;
992 } Py_INCREF(Py_None);
993 _resultobj = Py_None;
994 return _resultobj;
995 }
996
997 #define wxPseudoMetaFile_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2))
998 static PyObject *_wrap_wxPseudoMetaFile_DrawArc(PyObject *self, PyObject *args, PyObject *kwargs) {
999 PyObject * _resultobj;
1000 wxPseudoMetaFile * _arg0;
1001 wxPoint * _arg1;
1002 wxPoint * _arg2;
1003 wxPoint * _arg3;
1004 PyObject * _argo0 = 0;
1005 wxPoint temp;
1006 PyObject * _obj1 = 0;
1007 wxPoint temp0;
1008 PyObject * _obj2 = 0;
1009 wxPoint temp1;
1010 PyObject * _obj3 = 0;
1011 char *_kwnames[] = { "self","centrePt","startPt","endPt", NULL };
1012
1013 self = self;
1014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxPseudoMetaFile_DrawArc",_kwnames,&_argo0,&_obj1,&_obj2,&_obj3))
1015 return NULL;
1016 if (_argo0) {
1017 if (_argo0 == Py_None) { _arg0 = NULL; }
1018 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1019 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawArc. Expected _wxPseudoMetaFile_p.");
1020 return NULL;
1021 }
1022 }
1023 {
1024 _arg1 = &temp;
1025 if (! wxPoint_helper(_obj1, &_arg1))
1026 return NULL;
1027 }
1028 {
1029 _arg2 = &temp0;
1030 if (! wxPoint_helper(_obj2, &_arg2))
1031 return NULL;
1032 }
1033 {
1034 _arg3 = &temp1;
1035 if (! wxPoint_helper(_obj3, &_arg3))
1036 return NULL;
1037 }
1038 {
1039 PyThreadState* __tstate = wxPyBeginAllowThreads();
1040 wxPseudoMetaFile_DrawArc(_arg0,*_arg1,*_arg2,*_arg3);
1041
1042 wxPyEndAllowThreads(__tstate);
1043 if (PyErr_Occurred()) return NULL;
1044 } Py_INCREF(Py_None);
1045 _resultobj = Py_None;
1046 return _resultobj;
1047 }
1048
1049 #define wxPseudoMetaFile_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2))
1050 static PyObject *_wrap_wxPseudoMetaFile_DrawEllipticArc(PyObject *self, PyObject *args, PyObject *kwargs) {
1051 PyObject * _resultobj;
1052 wxPseudoMetaFile * _arg0;
1053 wxRect * _arg1;
1054 double _arg2;
1055 double _arg3;
1056 PyObject * _argo0 = 0;
1057 wxRect temp;
1058 PyObject * _obj1 = 0;
1059 char *_kwnames[] = { "self","rect","startAngle","endAngle", NULL };
1060
1061 self = self;
1062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd:wxPseudoMetaFile_DrawEllipticArc",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3))
1063 return NULL;
1064 if (_argo0) {
1065 if (_argo0 == Py_None) { _arg0 = NULL; }
1066 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1067 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawEllipticArc. Expected _wxPseudoMetaFile_p.");
1068 return NULL;
1069 }
1070 }
1071 {
1072 _arg1 = &temp;
1073 if (! wxRect_helper(_obj1, &_arg1))
1074 return NULL;
1075 }
1076 {
1077 PyThreadState* __tstate = wxPyBeginAllowThreads();
1078 wxPseudoMetaFile_DrawEllipticArc(_arg0,*_arg1,_arg2,_arg3);
1079
1080 wxPyEndAllowThreads(__tstate);
1081 if (PyErr_Occurred()) return NULL;
1082 } Py_INCREF(Py_None);
1083 _resultobj = Py_None;
1084 return _resultobj;
1085 }
1086
1087 #define wxPseudoMetaFile_DrawEllipse(_swigobj,_swigarg0) (_swigobj->DrawEllipse(_swigarg0))
1088 static PyObject *_wrap_wxPseudoMetaFile_DrawEllipse(PyObject *self, PyObject *args, PyObject *kwargs) {
1089 PyObject * _resultobj;
1090 wxPseudoMetaFile * _arg0;
1091 wxRect * _arg1;
1092 PyObject * _argo0 = 0;
1093 wxRect temp;
1094 PyObject * _obj1 = 0;
1095 char *_kwnames[] = { "self","rect", NULL };
1096
1097 self = self;
1098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_DrawEllipse",_kwnames,&_argo0,&_obj1))
1099 return NULL;
1100 if (_argo0) {
1101 if (_argo0 == Py_None) { _arg0 = NULL; }
1102 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1103 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawEllipse. Expected _wxPseudoMetaFile_p.");
1104 return NULL;
1105 }
1106 }
1107 {
1108 _arg1 = &temp;
1109 if (! wxRect_helper(_obj1, &_arg1))
1110 return NULL;
1111 }
1112 {
1113 PyThreadState* __tstate = wxPyBeginAllowThreads();
1114 wxPseudoMetaFile_DrawEllipse(_arg0,*_arg1);
1115
1116 wxPyEndAllowThreads(__tstate);
1117 if (PyErr_Occurred()) return NULL;
1118 } Py_INCREF(Py_None);
1119 _resultobj = Py_None;
1120 return _resultobj;
1121 }
1122
1123 #define wxPseudoMetaFile_DrawPoint(_swigobj,_swigarg0) (_swigobj->DrawPoint(_swigarg0))
1124 static PyObject *_wrap_wxPseudoMetaFile_DrawPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
1125 PyObject * _resultobj;
1126 wxPseudoMetaFile * _arg0;
1127 wxPoint * _arg1;
1128 PyObject * _argo0 = 0;
1129 wxPoint temp;
1130 PyObject * _obj1 = 0;
1131 char *_kwnames[] = { "self","pt", NULL };
1132
1133 self = self;
1134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_DrawPoint",_kwnames,&_argo0,&_obj1))
1135 return NULL;
1136 if (_argo0) {
1137 if (_argo0 == Py_None) { _arg0 = NULL; }
1138 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1139 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawPoint. Expected _wxPseudoMetaFile_p.");
1140 return NULL;
1141 }
1142 }
1143 {
1144 _arg1 = &temp;
1145 if (! wxPoint_helper(_obj1, &_arg1))
1146 return NULL;
1147 }
1148 {
1149 PyThreadState* __tstate = wxPyBeginAllowThreads();
1150 wxPseudoMetaFile_DrawPoint(_arg0,*_arg1);
1151
1152 wxPyEndAllowThreads(__tstate);
1153 if (PyErr_Occurred()) return NULL;
1154 } Py_INCREF(Py_None);
1155 _resultobj = Py_None;
1156 return _resultobj;
1157 }
1158
1159 #define wxPseudoMetaFile_DrawText(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawText(_swigarg0,_swigarg1))
1160 static PyObject *_wrap_wxPseudoMetaFile_DrawText(PyObject *self, PyObject *args, PyObject *kwargs) {
1161 PyObject * _resultobj;
1162 wxPseudoMetaFile * _arg0;
1163 wxString * _arg1;
1164 wxPoint * _arg2;
1165 PyObject * _argo0 = 0;
1166 PyObject * _obj1 = 0;
1167 wxPoint temp;
1168 PyObject * _obj2 = 0;
1169 char *_kwnames[] = { "self","text","pt", NULL };
1170
1171 self = self;
1172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPseudoMetaFile_DrawText",_kwnames,&_argo0,&_obj1,&_obj2))
1173 return NULL;
1174 if (_argo0) {
1175 if (_argo0 == Py_None) { _arg0 = NULL; }
1176 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1177 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawText. Expected _wxPseudoMetaFile_p.");
1178 return NULL;
1179 }
1180 }
1181 {
1182 _arg1 = wxString_in_helper(_obj1);
1183 if (_arg1 == NULL)
1184 return NULL;
1185 }
1186 {
1187 _arg2 = &temp;
1188 if (! wxPoint_helper(_obj2, &_arg2))
1189 return NULL;
1190 }
1191 {
1192 PyThreadState* __tstate = wxPyBeginAllowThreads();
1193 wxPseudoMetaFile_DrawText(_arg0,*_arg1,*_arg2);
1194
1195 wxPyEndAllowThreads(__tstate);
1196 if (PyErr_Occurred()) return NULL;
1197 } Py_INCREF(Py_None);
1198 _resultobj = Py_None;
1199 {
1200 if (_obj1)
1201 delete _arg1;
1202 }
1203 return _resultobj;
1204 }
1205
1206 #define wxPseudoMetaFile_DrawLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawLines(_swigarg0,_swigarg1))
1207 static PyObject *_wrap_wxPseudoMetaFile_DrawLines(PyObject *self, PyObject *args, PyObject *kwargs) {
1208 PyObject * _resultobj;
1209 wxPseudoMetaFile * _arg0;
1210 int _arg1;
1211 wxPoint * _arg2;
1212 PyObject * _argo0 = 0;
1213 int NPOINTS;
1214 PyObject * _obj2 = 0;
1215 char *_kwnames[] = { "self","points", NULL };
1216
1217 self = self;
1218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_DrawLines",_kwnames,&_argo0,&_obj2))
1219 return NULL;
1220 if (_argo0) {
1221 if (_argo0 == Py_None) { _arg0 = NULL; }
1222 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1223 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawLines. Expected _wxPseudoMetaFile_p.");
1224 return NULL;
1225 }
1226 }
1227 if (_obj2)
1228 {
1229 _arg2 = wxPoint_LIST_helper(_obj2, &NPOINTS);
1230 if (_arg2 == NULL) {
1231 return NULL;
1232 }
1233 }
1234 {
1235 _arg1 = NPOINTS;
1236 }
1237 {
1238 PyThreadState* __tstate = wxPyBeginAllowThreads();
1239 wxPseudoMetaFile_DrawLines(_arg0,_arg1,_arg2);
1240
1241 wxPyEndAllowThreads(__tstate);
1242 if (PyErr_Occurred()) return NULL;
1243 } Py_INCREF(Py_None);
1244 _resultobj = Py_None;
1245 {
1246 delete [] _arg2;
1247 }
1248 return _resultobj;
1249 }
1250
1251 #define wxPseudoMetaFile_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2))
1252 static PyObject *_wrap_wxPseudoMetaFile_DrawPolygon(PyObject *self, PyObject *args, PyObject *kwargs) {
1253 PyObject * _resultobj;
1254 wxPseudoMetaFile * _arg0;
1255 int _arg1;
1256 wxPoint * _arg2;
1257 int _arg3 = (int ) 0;
1258 PyObject * _argo0 = 0;
1259 int NPOINTS;
1260 PyObject * _obj2 = 0;
1261 char *_kwnames[] = { "self","points","flags", NULL };
1262
1263 self = self;
1264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPseudoMetaFile_DrawPolygon",_kwnames,&_argo0,&_obj2,&_arg3))
1265 return NULL;
1266 if (_argo0) {
1267 if (_argo0 == Py_None) { _arg0 = NULL; }
1268 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1269 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawPolygon. Expected _wxPseudoMetaFile_p.");
1270 return NULL;
1271 }
1272 }
1273 if (_obj2)
1274 {
1275 _arg2 = wxPoint_LIST_helper(_obj2, &NPOINTS);
1276 if (_arg2 == NULL) {
1277 return NULL;
1278 }
1279 }
1280 {
1281 _arg1 = NPOINTS;
1282 }
1283 {
1284 PyThreadState* __tstate = wxPyBeginAllowThreads();
1285 wxPseudoMetaFile_DrawPolygon(_arg0,_arg1,_arg2,_arg3);
1286
1287 wxPyEndAllowThreads(__tstate);
1288 if (PyErr_Occurred()) return NULL;
1289 } Py_INCREF(Py_None);
1290 _resultobj = Py_None;
1291 {
1292 delete [] _arg2;
1293 }
1294 return _resultobj;
1295 }
1296
1297 #define wxPseudoMetaFile_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1))
1298 static PyObject *_wrap_wxPseudoMetaFile_DrawSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
1299 PyObject * _resultobj;
1300 wxPseudoMetaFile * _arg0;
1301 int _arg1;
1302 wxPoint * _arg2;
1303 PyObject * _argo0 = 0;
1304 int NPOINTS;
1305 PyObject * _obj2 = 0;
1306 char *_kwnames[] = { "self","points", NULL };
1307
1308 self = self;
1309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_DrawSpline",_kwnames,&_argo0,&_obj2))
1310 return NULL;
1311 if (_argo0) {
1312 if (_argo0 == Py_None) { _arg0 = NULL; }
1313 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1314 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawSpline. Expected _wxPseudoMetaFile_p.");
1315 return NULL;
1316 }
1317 }
1318 if (_obj2)
1319 {
1320 _arg2 = wxPoint_LIST_helper(_obj2, &NPOINTS);
1321 if (_arg2 == NULL) {
1322 return NULL;
1323 }
1324 }
1325 {
1326 _arg1 = NPOINTS;
1327 }
1328 {
1329 PyThreadState* __tstate = wxPyBeginAllowThreads();
1330 wxPseudoMetaFile_DrawSpline(_arg0,_arg1,_arg2);
1331
1332 wxPyEndAllowThreads(__tstate);
1333 if (PyErr_Occurred()) return NULL;
1334 } Py_INCREF(Py_None);
1335 _resultobj = Py_None;
1336 {
1337 delete [] _arg2;
1338 }
1339 return _resultobj;
1340 }
1341
1342 #define wxPseudoMetaFile_SetClippingRect(_swigobj,_swigarg0) (_swigobj->SetClippingRect(_swigarg0))
1343 static PyObject *_wrap_wxPseudoMetaFile_SetClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
1344 PyObject * _resultobj;
1345 wxPseudoMetaFile * _arg0;
1346 wxRect * _arg1;
1347 PyObject * _argo0 = 0;
1348 wxRect temp;
1349 PyObject * _obj1 = 0;
1350 char *_kwnames[] = { "self","rect", NULL };
1351
1352 self = self;
1353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_SetClippingRect",_kwnames,&_argo0,&_obj1))
1354 return NULL;
1355 if (_argo0) {
1356 if (_argo0 == Py_None) { _arg0 = NULL; }
1357 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1358 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetClippingRect. Expected _wxPseudoMetaFile_p.");
1359 return NULL;
1360 }
1361 }
1362 {
1363 _arg1 = &temp;
1364 if (! wxRect_helper(_obj1, &_arg1))
1365 return NULL;
1366 }
1367 {
1368 PyThreadState* __tstate = wxPyBeginAllowThreads();
1369 wxPseudoMetaFile_SetClippingRect(_arg0,*_arg1);
1370
1371 wxPyEndAllowThreads(__tstate);
1372 if (PyErr_Occurred()) return NULL;
1373 } Py_INCREF(Py_None);
1374 _resultobj = Py_None;
1375 return _resultobj;
1376 }
1377
1378 #define wxPseudoMetaFile_DestroyClippingRect(_swigobj) (_swigobj->DestroyClippingRect())
1379 static PyObject *_wrap_wxPseudoMetaFile_DestroyClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
1380 PyObject * _resultobj;
1381 wxPseudoMetaFile * _arg0;
1382 PyObject * _argo0 = 0;
1383 char *_kwnames[] = { "self", NULL };
1384
1385 self = self;
1386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_DestroyClippingRect",_kwnames,&_argo0))
1387 return NULL;
1388 if (_argo0) {
1389 if (_argo0 == Py_None) { _arg0 = NULL; }
1390 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1391 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DestroyClippingRect. Expected _wxPseudoMetaFile_p.");
1392 return NULL;
1393 }
1394 }
1395 {
1396 PyThreadState* __tstate = wxPyBeginAllowThreads();
1397 wxPseudoMetaFile_DestroyClippingRect(_arg0);
1398
1399 wxPyEndAllowThreads(__tstate);
1400 if (PyErr_Occurred()) return NULL;
1401 } Py_INCREF(Py_None);
1402 _resultobj = Py_None;
1403 return _resultobj;
1404 }
1405
1406 #define wxPseudoMetaFile_SetPen(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPen(_swigarg0,_swigarg1))
1407 static PyObject *_wrap_wxPseudoMetaFile_SetPen(PyObject *self, PyObject *args, PyObject *kwargs) {
1408 PyObject * _resultobj;
1409 wxPseudoMetaFile * _arg0;
1410 wxPen * _arg1;
1411 bool _arg2 = (bool ) FALSE;
1412 PyObject * _argo0 = 0;
1413 PyObject * _obj1 = 0;
1414 int tempbool2 = (int) FALSE;
1415 char *_kwnames[] = { "self","pen","isOutline", NULL };
1416
1417 self = self;
1418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPseudoMetaFile_SetPen",_kwnames,&_argo0,&_obj1,&tempbool2))
1419 return NULL;
1420 if (_argo0) {
1421 if (_argo0 == Py_None) { _arg0 = NULL; }
1422 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1423 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetPen. Expected _wxPseudoMetaFile_p.");
1424 return NULL;
1425 }
1426 }
1427 {
1428 wxPen* temp;
1429 if (_obj1) {
1430 if (_obj1 == Py_None) { temp = NULL; }
1431 else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxPen_p")) {
1432 PyErr_SetString(PyExc_TypeError,"Type error, expected _wxPen_p.");
1433 return NULL;
1434 }
1435 }
1436 if (temp)
1437 _arg1 = wxThePenList->FindOrCreatePen(temp->GetColour(),
1438 temp->GetWidth(),
1439 temp->GetStyle());
1440 else
1441 _arg1 = NULL;
1442 }
1443 _arg2 = (bool ) tempbool2;
1444 {
1445 PyThreadState* __tstate = wxPyBeginAllowThreads();
1446 wxPseudoMetaFile_SetPen(_arg0,_arg1,_arg2);
1447
1448 wxPyEndAllowThreads(__tstate);
1449 if (PyErr_Occurred()) return NULL;
1450 } Py_INCREF(Py_None);
1451 _resultobj = Py_None;
1452 return _resultobj;
1453 }
1454
1455 #define wxPseudoMetaFile_SetBrush(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetBrush(_swigarg0,_swigarg1))
1456 static PyObject *_wrap_wxPseudoMetaFile_SetBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
1457 PyObject * _resultobj;
1458 wxPseudoMetaFile * _arg0;
1459 wxBrush * _arg1;
1460 bool _arg2 = (bool ) FALSE;
1461 PyObject * _argo0 = 0;
1462 PyObject * _obj1 = 0;
1463 int tempbool2 = (int) FALSE;
1464 char *_kwnames[] = { "self","brush","isFill", NULL };
1465
1466 self = self;
1467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPseudoMetaFile_SetBrush",_kwnames,&_argo0,&_obj1,&tempbool2))
1468 return NULL;
1469 if (_argo0) {
1470 if (_argo0 == Py_None) { _arg0 = NULL; }
1471 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1472 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetBrush. Expected _wxPseudoMetaFile_p.");
1473 return NULL;
1474 }
1475 }
1476 {
1477 wxBrush* temp;
1478 if (_obj1) {
1479 if (_obj1 == Py_None) { temp = NULL; }
1480 else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxBrush_p")) {
1481 PyErr_SetString(PyExc_TypeError,"Type error, expected _wxBrush_p.");
1482 return NULL;
1483 }
1484 }
1485 if (temp)
1486 _arg1 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
1487 else
1488 _arg1 = NULL;
1489 }
1490 _arg2 = (bool ) tempbool2;
1491 {
1492 PyThreadState* __tstate = wxPyBeginAllowThreads();
1493 wxPseudoMetaFile_SetBrush(_arg0,_arg1,_arg2);
1494
1495 wxPyEndAllowThreads(__tstate);
1496 if (PyErr_Occurred()) return NULL;
1497 } Py_INCREF(Py_None);
1498 _resultobj = Py_None;
1499 return _resultobj;
1500 }
1501
1502 #define wxPseudoMetaFile_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
1503 static PyObject *_wrap_wxPseudoMetaFile_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1504 PyObject * _resultobj;
1505 wxPseudoMetaFile * _arg0;
1506 wxFont * _arg1;
1507 PyObject * _argo0 = 0;
1508 PyObject * _obj1 = 0;
1509 char *_kwnames[] = { "self","font", NULL };
1510
1511 self = self;
1512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_SetFont",_kwnames,&_argo0,&_obj1))
1513 return NULL;
1514 if (_argo0) {
1515 if (_argo0 == Py_None) { _arg0 = NULL; }
1516 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1517 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetFont. Expected _wxPseudoMetaFile_p.");
1518 return NULL;
1519 }
1520 }
1521 {
1522 wxFont* temp;
1523 if (_obj1) {
1524 if (_obj1 == Py_None) { temp = NULL; }
1525 else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxFont_p")) {
1526 PyErr_SetString(PyExc_TypeError,"Type error, expected _wxFont_p.");
1527 return NULL;
1528 }
1529 }
1530 if (temp)
1531 _arg1 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
1532 temp->GetFamily(),
1533 temp->GetStyle(),
1534 temp->GetWeight(),
1535 temp->GetUnderlined(),
1536 temp->GetFaceName(),
1537 temp->GetEncoding());
1538 else
1539 _arg1 = NULL;
1540 }
1541 {
1542 PyThreadState* __tstate = wxPyBeginAllowThreads();
1543 wxPseudoMetaFile_SetFont(_arg0,_arg1);
1544
1545 wxPyEndAllowThreads(__tstate);
1546 if (PyErr_Occurred()) return NULL;
1547 } Py_INCREF(Py_None);
1548 _resultobj = Py_None;
1549 return _resultobj;
1550 }
1551
1552 #define wxPseudoMetaFile_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
1553 static PyObject *_wrap_wxPseudoMetaFile_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1554 PyObject * _resultobj;
1555 wxPseudoMetaFile * _arg0;
1556 wxColour * _arg1;
1557 PyObject * _argo0 = 0;
1558 wxColour temp;
1559 PyObject * _obj1 = 0;
1560 char *_kwnames[] = { "self","colour", NULL };
1561
1562 self = self;
1563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_SetTextColour",_kwnames,&_argo0,&_obj1))
1564 return NULL;
1565 if (_argo0) {
1566 if (_argo0 == Py_None) { _arg0 = NULL; }
1567 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1568 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetTextColour. Expected _wxPseudoMetaFile_p.");
1569 return NULL;
1570 }
1571 }
1572 {
1573 _arg1 = &temp;
1574 if (! wxColour_helper(_obj1, &_arg1))
1575 return NULL;
1576 }
1577 {
1578 PyThreadState* __tstate = wxPyBeginAllowThreads();
1579 wxPseudoMetaFile_SetTextColour(_arg0,*_arg1);
1580
1581 wxPyEndAllowThreads(__tstate);
1582 if (PyErr_Occurred()) return NULL;
1583 } Py_INCREF(Py_None);
1584 _resultobj = Py_None;
1585 return _resultobj;
1586 }
1587
1588 #define wxPseudoMetaFile_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
1589 static PyObject *_wrap_wxPseudoMetaFile_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1590 PyObject * _resultobj;
1591 wxPseudoMetaFile * _arg0;
1592 wxColour * _arg1;
1593 PyObject * _argo0 = 0;
1594 wxColour temp;
1595 PyObject * _obj1 = 0;
1596 char *_kwnames[] = { "self","colour", NULL };
1597
1598 self = self;
1599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
1600 return NULL;
1601 if (_argo0) {
1602 if (_argo0 == Py_None) { _arg0 = NULL; }
1603 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1604 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetBackgroundColour. Expected _wxPseudoMetaFile_p.");
1605 return NULL;
1606 }
1607 }
1608 {
1609 _arg1 = &temp;
1610 if (! wxColour_helper(_obj1, &_arg1))
1611 return NULL;
1612 }
1613 {
1614 PyThreadState* __tstate = wxPyBeginAllowThreads();
1615 wxPseudoMetaFile_SetBackgroundColour(_arg0,*_arg1);
1616
1617 wxPyEndAllowThreads(__tstate);
1618 if (PyErr_Occurred()) return NULL;
1619 } Py_INCREF(Py_None);
1620 _resultobj = Py_None;
1621 return _resultobj;
1622 }
1623
1624 #define wxPseudoMetaFile_SetBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetBackgroundMode(_swigarg0))
1625 static PyObject *_wrap_wxPseudoMetaFile_SetBackgroundMode(PyObject *self, PyObject *args, PyObject *kwargs) {
1626 PyObject * _resultobj;
1627 wxPseudoMetaFile * _arg0;
1628 int _arg1;
1629 PyObject * _argo0 = 0;
1630 char *_kwnames[] = { "self","mode", NULL };
1631
1632 self = self;
1633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPseudoMetaFile_SetBackgroundMode",_kwnames,&_argo0,&_arg1))
1634 return NULL;
1635 if (_argo0) {
1636 if (_argo0 == Py_None) { _arg0 = NULL; }
1637 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1638 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetBackgroundMode. Expected _wxPseudoMetaFile_p.");
1639 return NULL;
1640 }
1641 }
1642 {
1643 PyThreadState* __tstate = wxPyBeginAllowThreads();
1644 wxPseudoMetaFile_SetBackgroundMode(_arg0,_arg1);
1645
1646 wxPyEndAllowThreads(__tstate);
1647 if (PyErr_Occurred()) return NULL;
1648 } Py_INCREF(Py_None);
1649 _resultobj = Py_None;
1650 return _resultobj;
1651 }
1652
1653 static void *SwigwxPyRectangleShapeTowxPyShape(void *ptr) {
1654 wxPyRectangleShape *src;
1655 wxPyShape *dest;
1656 src = (wxPyRectangleShape *) ptr;
1657 dest = (wxPyShape *) src;
1658 return (void *) dest;
1659 }
1660
1661 static void *SwigwxPyRectangleShapeTowxPyShapeEvtHandler(void *ptr) {
1662 wxPyRectangleShape *src;
1663 wxPyShapeEvtHandler *dest;
1664 src = (wxPyRectangleShape *) ptr;
1665 dest = (wxPyShapeEvtHandler *) src;
1666 return (void *) dest;
1667 }
1668
1669 static void *SwigwxPyRectangleShapeTowxObject(void *ptr) {
1670 wxPyRectangleShape *src;
1671 wxObject *dest;
1672 src = (wxPyRectangleShape *) ptr;
1673 dest = (wxObject *) src;
1674 return (void *) dest;
1675 }
1676
1677 #define new_wxPyRectangleShape(_swigarg0,_swigarg1) (new wxPyRectangleShape(_swigarg0,_swigarg1))
1678 static PyObject *_wrap_new_wxPyRectangleShape(PyObject *self, PyObject *args, PyObject *kwargs) {
1679 PyObject * _resultobj;
1680 wxPyRectangleShape * _result;
1681 double _arg0 = (double ) 0.0;
1682 double _arg1 = (double ) 0.0;
1683 char *_kwnames[] = { "width","height", NULL };
1684 char _ptemp[128];
1685
1686 self = self;
1687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|dd:new_wxPyRectangleShape",_kwnames,&_arg0,&_arg1))
1688 return NULL;
1689 {
1690 PyThreadState* __tstate = wxPyBeginAllowThreads();
1691 _result = (wxPyRectangleShape *)new_wxPyRectangleShape(_arg0,_arg1);
1692
1693 wxPyEndAllowThreads(__tstate);
1694 if (PyErr_Occurred()) return NULL;
1695 } if (_result) {
1696 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyRectangleShape_p");
1697 _resultobj = Py_BuildValue("s",_ptemp);
1698 } else {
1699 Py_INCREF(Py_None);
1700 _resultobj = Py_None;
1701 }
1702 return _resultobj;
1703 }
1704
1705 #define wxPyRectangleShape__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
1706 static PyObject *_wrap_wxPyRectangleShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
1707 PyObject * _resultobj;
1708 wxPyRectangleShape * _arg0;
1709 PyObject * _arg1;
1710 PyObject * _arg2;
1711 PyObject * _argo0 = 0;
1712 PyObject * _obj1 = 0;
1713 PyObject * _obj2 = 0;
1714 char *_kwnames[] = { "self","self","_class", NULL };
1715
1716 self = self;
1717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyRectangleShape__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
1718 return NULL;
1719 if (_argo0) {
1720 if (_argo0 == Py_None) { _arg0 = NULL; }
1721 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
1722 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape__setCallbackInfo. Expected _wxPyRectangleShape_p.");
1723 return NULL;
1724 }
1725 }
1726 {
1727 _arg1 = _obj1;
1728 }
1729 {
1730 _arg2 = _obj2;
1731 }
1732 {
1733 PyThreadState* __tstate = wxPyBeginAllowThreads();
1734 wxPyRectangleShape__setCallbackInfo(_arg0,_arg1,_arg2);
1735
1736 wxPyEndAllowThreads(__tstate);
1737 if (PyErr_Occurred()) return NULL;
1738 } Py_INCREF(Py_None);
1739 _resultobj = Py_None;
1740 return _resultobj;
1741 }
1742
1743 #define wxPyRectangleShape_SetCornerRadius(_swigobj,_swigarg0) (_swigobj->SetCornerRadius(_swigarg0))
1744 static PyObject *_wrap_wxPyRectangleShape_SetCornerRadius(PyObject *self, PyObject *args, PyObject *kwargs) {
1745 PyObject * _resultobj;
1746 wxPyRectangleShape * _arg0;
1747 double _arg1;
1748 PyObject * _argo0 = 0;
1749 char *_kwnames[] = { "self","radius", NULL };
1750
1751 self = self;
1752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Od:wxPyRectangleShape_SetCornerRadius",_kwnames,&_argo0,&_arg1))
1753 return NULL;
1754 if (_argo0) {
1755 if (_argo0 == Py_None) { _arg0 = NULL; }
1756 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
1757 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_SetCornerRadius. Expected _wxPyRectangleShape_p.");
1758 return NULL;
1759 }
1760 }
1761 {
1762 PyThreadState* __tstate = wxPyBeginAllowThreads();
1763 wxPyRectangleShape_SetCornerRadius(_arg0,_arg1);
1764
1765 wxPyEndAllowThreads(__tstate);
1766 if (PyErr_Occurred()) return NULL;
1767 } Py_INCREF(Py_None);
1768 _resultobj = Py_None;
1769 return _resultobj;
1770 }
1771
1772 #define wxPyRectangleShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
1773 static PyObject *_wrap_wxPyRectangleShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
1774 PyObject * _resultobj;
1775 wxPyRectangleShape * _arg0;
1776 PyObject * _argo0 = 0;
1777 char *_kwnames[] = { "self", NULL };
1778
1779 self = self;
1780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyRectangleShape_base_OnDelete",_kwnames,&_argo0))
1781 return NULL;
1782 if (_argo0) {
1783 if (_argo0 == Py_None) { _arg0 = NULL; }
1784 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
1785 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDelete. Expected _wxPyRectangleShape_p.");
1786 return NULL;
1787 }
1788 }
1789 {
1790 PyThreadState* __tstate = wxPyBeginAllowThreads();
1791 wxPyRectangleShape_base_OnDelete(_arg0);
1792
1793 wxPyEndAllowThreads(__tstate);
1794 if (PyErr_Occurred()) return NULL;
1795 } Py_INCREF(Py_None);
1796 _resultobj = Py_None;
1797 return _resultobj;
1798 }
1799
1800 #define wxPyRectangleShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
1801 static PyObject *_wrap_wxPyRectangleShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
1802 PyObject * _resultobj;
1803 wxPyRectangleShape * _arg0;
1804 wxDC * _arg1;
1805 PyObject * _argo0 = 0;
1806 PyObject * _argo1 = 0;
1807 char *_kwnames[] = { "self","dc", NULL };
1808
1809 self = self;
1810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnDraw",_kwnames,&_argo0,&_argo1))
1811 return NULL;
1812 if (_argo0) {
1813 if (_argo0 == Py_None) { _arg0 = NULL; }
1814 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
1815 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDraw. Expected _wxPyRectangleShape_p.");
1816 return NULL;
1817 }
1818 }
1819 if (_argo1) {
1820 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
1821 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnDraw. Expected _wxDC_p.");
1822 return NULL;
1823 }
1824 }
1825 {
1826 PyThreadState* __tstate = wxPyBeginAllowThreads();
1827 wxPyRectangleShape_base_OnDraw(_arg0,*_arg1);
1828
1829 wxPyEndAllowThreads(__tstate);
1830 if (PyErr_Occurred()) return NULL;
1831 } Py_INCREF(Py_None);
1832 _resultobj = Py_None;
1833 return _resultobj;
1834 }
1835
1836 #define wxPyRectangleShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
1837 static PyObject *_wrap_wxPyRectangleShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
1838 PyObject * _resultobj;
1839 wxPyRectangleShape * _arg0;
1840 wxDC * _arg1;
1841 PyObject * _argo0 = 0;
1842 PyObject * _argo1 = 0;
1843 char *_kwnames[] = { "self","dc", NULL };
1844
1845 self = self;
1846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1))
1847 return NULL;
1848 if (_argo0) {
1849 if (_argo0 == Py_None) { _arg0 = NULL; }
1850 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
1851 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDrawContents. Expected _wxPyRectangleShape_p.");
1852 return NULL;
1853 }
1854 }
1855 if (_argo1) {
1856 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
1857 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnDrawContents. Expected _wxDC_p.");
1858 return NULL;
1859 }
1860 }
1861 {
1862 PyThreadState* __tstate = wxPyBeginAllowThreads();
1863 wxPyRectangleShape_base_OnDrawContents(_arg0,*_arg1);
1864
1865 wxPyEndAllowThreads(__tstate);
1866 if (PyErr_Occurred()) return NULL;
1867 } Py_INCREF(Py_None);
1868 _resultobj = Py_None;
1869 return _resultobj;
1870 }
1871
1872 #define wxPyRectangleShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
1873 static PyObject *_wrap_wxPyRectangleShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
1874 PyObject * _resultobj;
1875 wxPyRectangleShape * _arg0;
1876 wxDC * _arg1;
1877 bool _arg2 = (bool ) FALSE;
1878 PyObject * _argo0 = 0;
1879 PyObject * _argo1 = 0;
1880 int tempbool2 = (int) FALSE;
1881 char *_kwnames[] = { "self","dc","erase", NULL };
1882
1883 self = self;
1884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyRectangleShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2))
1885 return NULL;
1886 if (_argo0) {
1887 if (_argo0 == Py_None) { _arg0 = NULL; }
1888 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
1889 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDrawBranches. Expected _wxPyRectangleShape_p.");
1890 return NULL;
1891 }
1892 }
1893 if (_argo1) {
1894 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
1895 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnDrawBranches. Expected _wxDC_p.");
1896 return NULL;
1897 }
1898 }
1899 _arg2 = (bool ) tempbool2;
1900 {
1901 PyThreadState* __tstate = wxPyBeginAllowThreads();
1902 wxPyRectangleShape_base_OnDrawBranches(_arg0,*_arg1,_arg2);
1903
1904 wxPyEndAllowThreads(__tstate);
1905 if (PyErr_Occurred()) return NULL;
1906 } Py_INCREF(Py_None);
1907 _resultobj = Py_None;
1908 return _resultobj;
1909 }
1910
1911 #define wxPyRectangleShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
1912 static PyObject *_wrap_wxPyRectangleShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
1913 PyObject * _resultobj;
1914 wxPyRectangleShape * _arg0;
1915 wxDC * _arg1;
1916 PyObject * _argo0 = 0;
1917 PyObject * _argo1 = 0;
1918 char *_kwnames[] = { "self","dc", NULL };
1919
1920 self = self;
1921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1))
1922 return NULL;
1923 if (_argo0) {
1924 if (_argo0 == Py_None) { _arg0 = NULL; }
1925 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
1926 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnMoveLinks. Expected _wxPyRectangleShape_p.");
1927 return NULL;
1928 }
1929 }
1930 if (_argo1) {
1931 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
1932 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnMoveLinks. Expected _wxDC_p.");
1933 return NULL;
1934 }
1935 }
1936 {
1937 PyThreadState* __tstate = wxPyBeginAllowThreads();
1938 wxPyRectangleShape_base_OnMoveLinks(_arg0,*_arg1);
1939
1940 wxPyEndAllowThreads(__tstate);
1941 if (PyErr_Occurred()) return NULL;
1942 } Py_INCREF(Py_None);
1943 _resultobj = Py_None;
1944 return _resultobj;
1945 }
1946
1947 #define wxPyRectangleShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
1948 static PyObject *_wrap_wxPyRectangleShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
1949 PyObject * _resultobj;
1950 wxPyRectangleShape * _arg0;
1951 wxDC * _arg1;
1952 PyObject * _argo0 = 0;
1953 PyObject * _argo1 = 0;
1954 char *_kwnames[] = { "self","dc", NULL };
1955
1956 self = self;
1957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnErase",_kwnames,&_argo0,&_argo1))
1958 return NULL;
1959 if (_argo0) {
1960 if (_argo0 == Py_None) { _arg0 = NULL; }
1961 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
1962 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnErase. Expected _wxPyRectangleShape_p.");
1963 return NULL;
1964 }
1965 }
1966 if (_argo1) {
1967 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
1968 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnErase. Expected _wxDC_p.");
1969 return NULL;
1970 }
1971 }
1972 {
1973 PyThreadState* __tstate = wxPyBeginAllowThreads();
1974 wxPyRectangleShape_base_OnErase(_arg0,*_arg1);
1975
1976 wxPyEndAllowThreads(__tstate);
1977 if (PyErr_Occurred()) return NULL;
1978 } Py_INCREF(Py_None);
1979 _resultobj = Py_None;
1980 return _resultobj;
1981 }
1982
1983 #define wxPyRectangleShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
1984 static PyObject *_wrap_wxPyRectangleShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
1985 PyObject * _resultobj;
1986 wxPyRectangleShape * _arg0;
1987 wxDC * _arg1;
1988 PyObject * _argo0 = 0;
1989 PyObject * _argo1 = 0;
1990 char *_kwnames[] = { "self","dc", NULL };
1991
1992 self = self;
1993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1))
1994 return NULL;
1995 if (_argo0) {
1996 if (_argo0 == Py_None) { _arg0 = NULL; }
1997 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
1998 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnEraseContents. Expected _wxPyRectangleShape_p.");
1999 return NULL;
2000 }
2001 }
2002 if (_argo1) {
2003 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2004 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnEraseContents. Expected _wxDC_p.");
2005 return NULL;
2006 }
2007 }
2008 {
2009 PyThreadState* __tstate = wxPyBeginAllowThreads();
2010 wxPyRectangleShape_base_OnEraseContents(_arg0,*_arg1);
2011
2012 wxPyEndAllowThreads(__tstate);
2013 if (PyErr_Occurred()) return NULL;
2014 } Py_INCREF(Py_None);
2015 _resultobj = Py_None;
2016 return _resultobj;
2017 }
2018
2019 #define wxPyRectangleShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
2020 static PyObject *_wrap_wxPyRectangleShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
2021 PyObject * _resultobj;
2022 wxPyRectangleShape * _arg0;
2023 wxDC * _arg1;
2024 PyObject * _argo0 = 0;
2025 PyObject * _argo1 = 0;
2026 char *_kwnames[] = { "self","dc", NULL };
2027
2028 self = self;
2029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnHighlight",_kwnames,&_argo0,&_argo1))
2030 return NULL;
2031 if (_argo0) {
2032 if (_argo0 == Py_None) { _arg0 = NULL; }
2033 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2034 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnHighlight. Expected _wxPyRectangleShape_p.");
2035 return NULL;
2036 }
2037 }
2038 if (_argo1) {
2039 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2040 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnHighlight. Expected _wxDC_p.");
2041 return NULL;
2042 }
2043 }
2044 {
2045 PyThreadState* __tstate = wxPyBeginAllowThreads();
2046 wxPyRectangleShape_base_OnHighlight(_arg0,*_arg1);
2047
2048 wxPyEndAllowThreads(__tstate);
2049 if (PyErr_Occurred()) return NULL;
2050 } Py_INCREF(Py_None);
2051 _resultobj = Py_None;
2052 return _resultobj;
2053 }
2054
2055 #define wxPyRectangleShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2056 static PyObject *_wrap_wxPyRectangleShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2057 PyObject * _resultobj;
2058 wxPyRectangleShape * _arg0;
2059 double _arg1;
2060 double _arg2;
2061 int _arg3 = (int ) 0;
2062 int _arg4 = (int ) 0;
2063 PyObject * _argo0 = 0;
2064 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
2065
2066 self = self;
2067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
2068 return NULL;
2069 if (_argo0) {
2070 if (_argo0 == Py_None) { _arg0 = NULL; }
2071 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2072 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnLeftClick. Expected _wxPyRectangleShape_p.");
2073 return NULL;
2074 }
2075 }
2076 {
2077 PyThreadState* __tstate = wxPyBeginAllowThreads();
2078 wxPyRectangleShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4);
2079
2080 wxPyEndAllowThreads(__tstate);
2081 if (PyErr_Occurred()) return NULL;
2082 } Py_INCREF(Py_None);
2083 _resultobj = Py_None;
2084 return _resultobj;
2085 }
2086
2087 #define wxPyRectangleShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2088 static PyObject *_wrap_wxPyRectangleShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2089 PyObject * _resultobj;
2090 wxPyRectangleShape * _arg0;
2091 double _arg1;
2092 double _arg2;
2093 int _arg3 = (int ) 0;
2094 int _arg4 = (int ) 0;
2095 PyObject * _argo0 = 0;
2096 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
2097
2098 self = self;
2099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
2100 return NULL;
2101 if (_argo0) {
2102 if (_argo0 == Py_None) { _arg0 = NULL; }
2103 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2104 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnLeftDoubleClick. Expected _wxPyRectangleShape_p.");
2105 return NULL;
2106 }
2107 }
2108 {
2109 PyThreadState* __tstate = wxPyBeginAllowThreads();
2110 wxPyRectangleShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4);
2111
2112 wxPyEndAllowThreads(__tstate);
2113 if (PyErr_Occurred()) return NULL;
2114 } Py_INCREF(Py_None);
2115 _resultobj = Py_None;
2116 return _resultobj;
2117 }
2118
2119 #define wxPyRectangleShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2120 static PyObject *_wrap_wxPyRectangleShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2121 PyObject * _resultobj;
2122 wxPyRectangleShape * _arg0;
2123 double _arg1;
2124 double _arg2;
2125 int _arg3 = (int ) 0;
2126 int _arg4 = (int ) 0;
2127 PyObject * _argo0 = 0;
2128 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
2129
2130 self = self;
2131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
2132 return NULL;
2133 if (_argo0) {
2134 if (_argo0 == Py_None) { _arg0 = NULL; }
2135 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2136 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnRightClick. Expected _wxPyRectangleShape_p.");
2137 return NULL;
2138 }
2139 }
2140 {
2141 PyThreadState* __tstate = wxPyBeginAllowThreads();
2142 wxPyRectangleShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4);
2143
2144 wxPyEndAllowThreads(__tstate);
2145 if (PyErr_Occurred()) return NULL;
2146 } Py_INCREF(Py_None);
2147 _resultobj = Py_None;
2148 return _resultobj;
2149 }
2150
2151 #define wxPyRectangleShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
2152 static PyObject *_wrap_wxPyRectangleShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2153 PyObject * _resultobj;
2154 wxPyRectangleShape * _arg0;
2155 double _arg1;
2156 double _arg2;
2157 PyObject * _argo0 = 0;
2158 char *_kwnames[] = { "self","x","y", NULL };
2159
2160 self = self;
2161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyRectangleShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2))
2162 return NULL;
2163 if (_argo0) {
2164 if (_argo0 == Py_None) { _arg0 = NULL; }
2165 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2166 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnSize. Expected _wxPyRectangleShape_p.");
2167 return NULL;
2168 }
2169 }
2170 {
2171 PyThreadState* __tstate = wxPyBeginAllowThreads();
2172 wxPyRectangleShape_base_OnSize(_arg0,_arg1,_arg2);
2173
2174 wxPyEndAllowThreads(__tstate);
2175 if (PyErr_Occurred()) return NULL;
2176 } Py_INCREF(Py_None);
2177 _resultobj = Py_None;
2178 return _resultobj;
2179 }
2180
2181 #define wxPyRectangleShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2182 static PyObject *_wrap_wxPyRectangleShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
2183 PyObject * _resultobj;
2184 bool _result;
2185 wxPyRectangleShape * _arg0;
2186 wxDC * _arg1;
2187 double _arg2;
2188 double _arg3;
2189 double _arg4;
2190 double _arg5;
2191 bool _arg6 = (bool ) TRUE;
2192 PyObject * _argo0 = 0;
2193 PyObject * _argo1 = 0;
2194 int tempbool6 = (int) TRUE;
2195 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
2196
2197 self = self;
2198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyRectangleShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
2199 return NULL;
2200 if (_argo0) {
2201 if (_argo0 == Py_None) { _arg0 = NULL; }
2202 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2203 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnMovePre. Expected _wxPyRectangleShape_p.");
2204 return NULL;
2205 }
2206 }
2207 if (_argo1) {
2208 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2209 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnMovePre. Expected _wxDC_p.");
2210 return NULL;
2211 }
2212 }
2213 _arg6 = (bool ) tempbool6;
2214 {
2215 PyThreadState* __tstate = wxPyBeginAllowThreads();
2216 _result = (bool )wxPyRectangleShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
2217
2218 wxPyEndAllowThreads(__tstate);
2219 if (PyErr_Occurred()) return NULL;
2220 } _resultobj = Py_BuildValue("i",_result);
2221 return _resultobj;
2222 }
2223
2224 #define wxPyRectangleShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2225 static PyObject *_wrap_wxPyRectangleShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
2226 PyObject * _resultobj;
2227 wxPyRectangleShape * _arg0;
2228 wxDC * _arg1;
2229 double _arg2;
2230 double _arg3;
2231 double _arg4;
2232 double _arg5;
2233 bool _arg6 = (bool ) TRUE;
2234 PyObject * _argo0 = 0;
2235 PyObject * _argo1 = 0;
2236 int tempbool6 = (int) TRUE;
2237 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
2238
2239 self = self;
2240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyRectangleShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
2241 return NULL;
2242 if (_argo0) {
2243 if (_argo0 == Py_None) { _arg0 = NULL; }
2244 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2245 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnMovePost. Expected _wxPyRectangleShape_p.");
2246 return NULL;
2247 }
2248 }
2249 if (_argo1) {
2250 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2251 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnMovePost. Expected _wxDC_p.");
2252 return NULL;
2253 }
2254 }
2255 _arg6 = (bool ) tempbool6;
2256 {
2257 PyThreadState* __tstate = wxPyBeginAllowThreads();
2258 wxPyRectangleShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
2259
2260 wxPyEndAllowThreads(__tstate);
2261 if (PyErr_Occurred()) return NULL;
2262 } Py_INCREF(Py_None);
2263 _resultobj = Py_None;
2264 return _resultobj;
2265 }
2266
2267 #define wxPyRectangleShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2268 static PyObject *_wrap_wxPyRectangleShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2269 PyObject * _resultobj;
2270 wxPyRectangleShape * _arg0;
2271 bool _arg1;
2272 double _arg2;
2273 double _arg3;
2274 int _arg4 = (int ) 0;
2275 int _arg5 = (int ) 0;
2276 PyObject * _argo0 = 0;
2277 int tempbool1;
2278 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
2279
2280 self = self;
2281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyRectangleShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
2282 return NULL;
2283 if (_argo0) {
2284 if (_argo0 == Py_None) { _arg0 = NULL; }
2285 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2286 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDragLeft. Expected _wxPyRectangleShape_p.");
2287 return NULL;
2288 }
2289 }
2290 _arg1 = (bool ) tempbool1;
2291 {
2292 PyThreadState* __tstate = wxPyBeginAllowThreads();
2293 wxPyRectangleShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
2294
2295 wxPyEndAllowThreads(__tstate);
2296 if (PyErr_Occurred()) return NULL;
2297 } Py_INCREF(Py_None);
2298 _resultobj = Py_None;
2299 return _resultobj;
2300 }
2301
2302 #define wxPyRectangleShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2303 static PyObject *_wrap_wxPyRectangleShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2304 PyObject * _resultobj;
2305 wxPyRectangleShape * _arg0;
2306 double _arg1;
2307 double _arg2;
2308 int _arg3 = (int ) 0;
2309 int _arg4 = (int ) 0;
2310 PyObject * _argo0 = 0;
2311 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
2312
2313 self = self;
2314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
2315 return NULL;
2316 if (_argo0) {
2317 if (_argo0 == Py_None) { _arg0 = NULL; }
2318 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2319 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnBeginDragLeft. Expected _wxPyRectangleShape_p.");
2320 return NULL;
2321 }
2322 }
2323 {
2324 PyThreadState* __tstate = wxPyBeginAllowThreads();
2325 wxPyRectangleShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
2326
2327 wxPyEndAllowThreads(__tstate);
2328 if (PyErr_Occurred()) return NULL;
2329 } Py_INCREF(Py_None);
2330 _resultobj = Py_None;
2331 return _resultobj;
2332 }
2333
2334 #define wxPyRectangleShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2335 static PyObject *_wrap_wxPyRectangleShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2336 PyObject * _resultobj;
2337 wxPyRectangleShape * _arg0;
2338 double _arg1;
2339 double _arg2;
2340 int _arg3 = (int ) 0;
2341 int _arg4 = (int ) 0;
2342 PyObject * _argo0 = 0;
2343 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
2344
2345 self = self;
2346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
2347 return NULL;
2348 if (_argo0) {
2349 if (_argo0 == Py_None) { _arg0 = NULL; }
2350 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2351 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnEndDragLeft. Expected _wxPyRectangleShape_p.");
2352 return NULL;
2353 }
2354 }
2355 {
2356 PyThreadState* __tstate = wxPyBeginAllowThreads();
2357 wxPyRectangleShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
2358
2359 wxPyEndAllowThreads(__tstate);
2360 if (PyErr_Occurred()) return NULL;
2361 } Py_INCREF(Py_None);
2362 _resultobj = Py_None;
2363 return _resultobj;
2364 }
2365
2366 #define wxPyRectangleShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2367 static PyObject *_wrap_wxPyRectangleShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2368 PyObject * _resultobj;
2369 wxPyRectangleShape * _arg0;
2370 bool _arg1;
2371 double _arg2;
2372 double _arg3;
2373 int _arg4 = (int ) 0;
2374 int _arg5 = (int ) 0;
2375 PyObject * _argo0 = 0;
2376 int tempbool1;
2377 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
2378
2379 self = self;
2380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyRectangleShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
2381 return NULL;
2382 if (_argo0) {
2383 if (_argo0 == Py_None) { _arg0 = NULL; }
2384 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2385 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDragRight. Expected _wxPyRectangleShape_p.");
2386 return NULL;
2387 }
2388 }
2389 _arg1 = (bool ) tempbool1;
2390 {
2391 PyThreadState* __tstate = wxPyBeginAllowThreads();
2392 wxPyRectangleShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
2393
2394 wxPyEndAllowThreads(__tstate);
2395 if (PyErr_Occurred()) return NULL;
2396 } Py_INCREF(Py_None);
2397 _resultobj = Py_None;
2398 return _resultobj;
2399 }
2400
2401 #define wxPyRectangleShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2402 static PyObject *_wrap_wxPyRectangleShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2403 PyObject * _resultobj;
2404 wxPyRectangleShape * _arg0;
2405 double _arg1;
2406 double _arg2;
2407 int _arg3 = (int ) 0;
2408 int _arg4 = (int ) 0;
2409 PyObject * _argo0 = 0;
2410 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
2411
2412 self = self;
2413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
2414 return NULL;
2415 if (_argo0) {
2416 if (_argo0 == Py_None) { _arg0 = NULL; }
2417 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2418 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnBeginDragRight. Expected _wxPyRectangleShape_p.");
2419 return NULL;
2420 }
2421 }
2422 {
2423 PyThreadState* __tstate = wxPyBeginAllowThreads();
2424 wxPyRectangleShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
2425
2426 wxPyEndAllowThreads(__tstate);
2427 if (PyErr_Occurred()) return NULL;
2428 } Py_INCREF(Py_None);
2429 _resultobj = Py_None;
2430 return _resultobj;
2431 }
2432
2433 #define wxPyRectangleShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2434 static PyObject *_wrap_wxPyRectangleShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2435 PyObject * _resultobj;
2436 wxPyRectangleShape * _arg0;
2437 double _arg1;
2438 double _arg2;
2439 int _arg3 = (int ) 0;
2440 int _arg4 = (int ) 0;
2441 PyObject * _argo0 = 0;
2442 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
2443
2444 self = self;
2445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
2446 return NULL;
2447 if (_argo0) {
2448 if (_argo0 == Py_None) { _arg0 = NULL; }
2449 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2450 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnEndDragRight. Expected _wxPyRectangleShape_p.");
2451 return NULL;
2452 }
2453 }
2454 {
2455 PyThreadState* __tstate = wxPyBeginAllowThreads();
2456 wxPyRectangleShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
2457
2458 wxPyEndAllowThreads(__tstate);
2459 if (PyErr_Occurred()) return NULL;
2460 } Py_INCREF(Py_None);
2461 _resultobj = Py_None;
2462 return _resultobj;
2463 }
2464
2465 #define wxPyRectangleShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2466 static PyObject *_wrap_wxPyRectangleShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
2467 PyObject * _resultobj;
2468 wxPyRectangleShape * _arg0;
2469 wxDC * _arg1;
2470 double _arg2;
2471 double _arg3;
2472 double _arg4;
2473 double _arg5;
2474 PyObject * _argo0 = 0;
2475 PyObject * _argo1 = 0;
2476 char *_kwnames[] = { "self","dc","x","y","w","h", NULL };
2477
2478 self = self;
2479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyRectangleShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
2480 return NULL;
2481 if (_argo0) {
2482 if (_argo0 == Py_None) { _arg0 = NULL; }
2483 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2484 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDrawOutline. Expected _wxPyRectangleShape_p.");
2485 return NULL;
2486 }
2487 }
2488 if (_argo1) {
2489 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2490 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnDrawOutline. Expected _wxDC_p.");
2491 return NULL;
2492 }
2493 }
2494 {
2495 PyThreadState* __tstate = wxPyBeginAllowThreads();
2496 wxPyRectangleShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5);
2497
2498 wxPyEndAllowThreads(__tstate);
2499 if (PyErr_Occurred()) return NULL;
2500 } Py_INCREF(Py_None);
2501 _resultobj = Py_None;
2502 return _resultobj;
2503 }
2504
2505 #define wxPyRectangleShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
2506 static PyObject *_wrap_wxPyRectangleShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
2507 PyObject * _resultobj;
2508 wxPyRectangleShape * _arg0;
2509 wxDC * _arg1;
2510 PyObject * _argo0 = 0;
2511 PyObject * _argo1 = 0;
2512 char *_kwnames[] = { "self","dc", NULL };
2513
2514 self = self;
2515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1))
2516 return NULL;
2517 if (_argo0) {
2518 if (_argo0 == Py_None) { _arg0 = NULL; }
2519 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2520 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDrawControlPoints. Expected _wxPyRectangleShape_p.");
2521 return NULL;
2522 }
2523 }
2524 if (_argo1) {
2525 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2526 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnDrawControlPoints. Expected _wxDC_p.");
2527 return NULL;
2528 }
2529 }
2530 {
2531 PyThreadState* __tstate = wxPyBeginAllowThreads();
2532 wxPyRectangleShape_base_OnDrawControlPoints(_arg0,*_arg1);
2533
2534 wxPyEndAllowThreads(__tstate);
2535 if (PyErr_Occurred()) return NULL;
2536 } Py_INCREF(Py_None);
2537 _resultobj = Py_None;
2538 return _resultobj;
2539 }
2540
2541 #define wxPyRectangleShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
2542 static PyObject *_wrap_wxPyRectangleShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
2543 PyObject * _resultobj;
2544 wxPyRectangleShape * _arg0;
2545 wxDC * _arg1;
2546 PyObject * _argo0 = 0;
2547 PyObject * _argo1 = 0;
2548 char *_kwnames[] = { "self","dc", NULL };
2549
2550 self = self;
2551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1))
2552 return NULL;
2553 if (_argo0) {
2554 if (_argo0 == Py_None) { _arg0 = NULL; }
2555 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2556 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnEraseControlPoints. Expected _wxPyRectangleShape_p.");
2557 return NULL;
2558 }
2559 }
2560 if (_argo1) {
2561 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2562 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnEraseControlPoints. Expected _wxDC_p.");
2563 return NULL;
2564 }
2565 }
2566 {
2567 PyThreadState* __tstate = wxPyBeginAllowThreads();
2568 wxPyRectangleShape_base_OnEraseControlPoints(_arg0,*_arg1);
2569
2570 wxPyEndAllowThreads(__tstate);
2571 if (PyErr_Occurred()) return NULL;
2572 } Py_INCREF(Py_None);
2573 _resultobj = Py_None;
2574 return _resultobj;
2575 }
2576
2577 #define wxPyRectangleShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
2578 static PyObject *_wrap_wxPyRectangleShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
2579 PyObject * _resultobj;
2580 wxPyRectangleShape * _arg0;
2581 wxDC * _arg1;
2582 bool _arg2 = (bool ) TRUE;
2583 PyObject * _argo0 = 0;
2584 PyObject * _argo1 = 0;
2585 int tempbool2 = (int) TRUE;
2586 char *_kwnames[] = { "self","dc","moveControlPoints", NULL };
2587
2588 self = self;
2589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyRectangleShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2))
2590 return NULL;
2591 if (_argo0) {
2592 if (_argo0 == Py_None) { _arg0 = NULL; }
2593 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2594 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnMoveLink. Expected _wxPyRectangleShape_p.");
2595 return NULL;
2596 }
2597 }
2598 if (_argo1) {
2599 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2600 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnMoveLink. Expected _wxDC_p.");
2601 return NULL;
2602 }
2603 }
2604 _arg2 = (bool ) tempbool2;
2605 {
2606 PyThreadState* __tstate = wxPyBeginAllowThreads();
2607 wxPyRectangleShape_base_OnMoveLink(_arg0,*_arg1,_arg2);
2608
2609 wxPyEndAllowThreads(__tstate);
2610 if (PyErr_Occurred()) return NULL;
2611 } Py_INCREF(Py_None);
2612 _resultobj = Py_None;
2613 return _resultobj;
2614 }
2615
2616 #define wxPyRectangleShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2617 static PyObject *_wrap_wxPyRectangleShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2618 PyObject * _resultobj;
2619 wxPyRectangleShape * _arg0;
2620 wxPyControlPoint * _arg1;
2621 bool _arg2;
2622 double _arg3;
2623 double _arg4;
2624 int _arg5 = (int ) 0;
2625 int _arg6 = (int ) 0;
2626 PyObject * _argo0 = 0;
2627 PyObject * _argo1 = 0;
2628 int tempbool2;
2629 char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL };
2630
2631 self = self;
2632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyRectangleShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6))
2633 return NULL;
2634 if (_argo0) {
2635 if (_argo0 == Py_None) { _arg0 = NULL; }
2636 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2637 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnSizingDragLeft. Expected _wxPyRectangleShape_p.");
2638 return NULL;
2639 }
2640 }
2641 if (_argo1) {
2642 if (_argo1 == Py_None) { _arg1 = NULL; }
2643 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
2644 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
2645 return NULL;
2646 }
2647 }
2648 _arg2 = (bool ) tempbool2;
2649 {
2650 PyThreadState* __tstate = wxPyBeginAllowThreads();
2651 wxPyRectangleShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
2652
2653 wxPyEndAllowThreads(__tstate);
2654 if (PyErr_Occurred()) return NULL;
2655 } Py_INCREF(Py_None);
2656 _resultobj = Py_None;
2657 return _resultobj;
2658 }
2659
2660 #define wxPyRectangleShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2661 static PyObject *_wrap_wxPyRectangleShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2662 PyObject * _resultobj;
2663 wxPyRectangleShape * _arg0;
2664 wxPyControlPoint * _arg1;
2665 double _arg2;
2666 double _arg3;
2667 int _arg4 = (int ) 0;
2668 int _arg5 = (int ) 0;
2669 PyObject * _argo0 = 0;
2670 PyObject * _argo1 = 0;
2671 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
2672
2673 self = self;
2674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyRectangleShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
2675 return NULL;
2676 if (_argo0) {
2677 if (_argo0 == Py_None) { _arg0 = NULL; }
2678 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2679 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnSizingBeginDragLeft. Expected _wxPyRectangleShape_p.");
2680 return NULL;
2681 }
2682 }
2683 if (_argo1) {
2684 if (_argo1 == Py_None) { _arg1 = NULL; }
2685 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
2686 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
2687 return NULL;
2688 }
2689 }
2690 {
2691 PyThreadState* __tstate = wxPyBeginAllowThreads();
2692 wxPyRectangleShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
2693
2694 wxPyEndAllowThreads(__tstate);
2695 if (PyErr_Occurred()) return NULL;
2696 } Py_INCREF(Py_None);
2697 _resultobj = Py_None;
2698 return _resultobj;
2699 }
2700
2701 #define wxPyRectangleShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2702 static PyObject *_wrap_wxPyRectangleShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2703 PyObject * _resultobj;
2704 wxPyRectangleShape * _arg0;
2705 wxPyControlPoint * _arg1;
2706 double _arg2;
2707 double _arg3;
2708 int _arg4 = (int ) 0;
2709 int _arg5 = (int ) 0;
2710 PyObject * _argo0 = 0;
2711 PyObject * _argo1 = 0;
2712 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
2713
2714 self = self;
2715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyRectangleShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
2716 return NULL;
2717 if (_argo0) {
2718 if (_argo0 == Py_None) { _arg0 = NULL; }
2719 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2720 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnSizingEndDragLeft. Expected _wxPyRectangleShape_p.");
2721 return NULL;
2722 }
2723 }
2724 if (_argo1) {
2725 if (_argo1 == Py_None) { _arg1 = NULL; }
2726 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
2727 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
2728 return NULL;
2729 }
2730 }
2731 {
2732 PyThreadState* __tstate = wxPyBeginAllowThreads();
2733 wxPyRectangleShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
2734
2735 wxPyEndAllowThreads(__tstate);
2736 if (PyErr_Occurred()) return NULL;
2737 } Py_INCREF(Py_None);
2738 _resultobj = Py_None;
2739 return _resultobj;
2740 }
2741
2742 #define wxPyRectangleShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
2743 static PyObject *_wrap_wxPyRectangleShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2744 PyObject * _resultobj;
2745 wxPyRectangleShape * _arg0;
2746 double _arg1;
2747 double _arg2;
2748 PyObject * _argo0 = 0;
2749 char *_kwnames[] = { "self","w","h", NULL };
2750
2751 self = self;
2752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyRectangleShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2))
2753 return NULL;
2754 if (_argo0) {
2755 if (_argo0 == Py_None) { _arg0 = NULL; }
2756 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2757 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnBeginSize. Expected _wxPyRectangleShape_p.");
2758 return NULL;
2759 }
2760 }
2761 {
2762 PyThreadState* __tstate = wxPyBeginAllowThreads();
2763 wxPyRectangleShape_base_OnBeginSize(_arg0,_arg1,_arg2);
2764
2765 wxPyEndAllowThreads(__tstate);
2766 if (PyErr_Occurred()) return NULL;
2767 } Py_INCREF(Py_None);
2768 _resultobj = Py_None;
2769 return _resultobj;
2770 }
2771
2772 #define wxPyRectangleShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
2773 static PyObject *_wrap_wxPyRectangleShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2774 PyObject * _resultobj;
2775 wxPyRectangleShape * _arg0;
2776 double _arg1;
2777 double _arg2;
2778 PyObject * _argo0 = 0;
2779 char *_kwnames[] = { "self","w","h", NULL };
2780
2781 self = self;
2782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyRectangleShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2))
2783 return NULL;
2784 if (_argo0) {
2785 if (_argo0 == Py_None) { _arg0 = NULL; }
2786 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2787 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnEndSize. Expected _wxPyRectangleShape_p.");
2788 return NULL;
2789 }
2790 }
2791 {
2792 PyThreadState* __tstate = wxPyBeginAllowThreads();
2793 wxPyRectangleShape_base_OnEndSize(_arg0,_arg1,_arg2);
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 static void *SwigwxPyControlPointTowxPyRectangleShape(void *ptr) {
2803 wxPyControlPoint *src;
2804 wxPyRectangleShape *dest;
2805 src = (wxPyControlPoint *) ptr;
2806 dest = (wxPyRectangleShape *) src;
2807 return (void *) dest;
2808 }
2809
2810 static void *SwigwxPyControlPointTowxPyShape(void *ptr) {
2811 wxPyControlPoint *src;
2812 wxPyShape *dest;
2813 src = (wxPyControlPoint *) ptr;
2814 dest = (wxPyShape *) src;
2815 return (void *) dest;
2816 }
2817
2818 static void *SwigwxPyControlPointTowxPyShapeEvtHandler(void *ptr) {
2819 wxPyControlPoint *src;
2820 wxPyShapeEvtHandler *dest;
2821 src = (wxPyControlPoint *) ptr;
2822 dest = (wxPyShapeEvtHandler *) src;
2823 return (void *) dest;
2824 }
2825
2826 static void *SwigwxPyControlPointTowxObject(void *ptr) {
2827 wxPyControlPoint *src;
2828 wxObject *dest;
2829 src = (wxPyControlPoint *) ptr;
2830 dest = (wxObject *) src;
2831 return (void *) dest;
2832 }
2833
2834 #define new_wxPyControlPoint(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyControlPoint(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2835 static PyObject *_wrap_new_wxPyControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2836 PyObject * _resultobj;
2837 wxPyControlPoint * _result;
2838 wxPyShapeCanvas * _arg0 = (wxPyShapeCanvas *) NULL;
2839 wxPyShape * _arg1 = (wxPyShape *) NULL;
2840 double _arg2 = (double ) 0.0;
2841 double _arg3 = (double ) 0.0;
2842 double _arg4 = (double ) 0.0;
2843 int _arg5 = (int ) 0;
2844 PyObject * _argo0 = 0;
2845 PyObject * _argo1 = 0;
2846 char *_kwnames[] = { "the_canvas","object","size","the_xoffset","the_yoffset","the_type", NULL };
2847 char _ptemp[128];
2848
2849 self = self;
2850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OOdddi:new_wxPyControlPoint",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
2851 return NULL;
2852 if (_argo0) {
2853 if (_argo0 == Py_None) { _arg0 = NULL; }
2854 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeCanvas_p")) {
2855 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPyControlPoint. Expected _wxPyShapeCanvas_p.");
2856 return NULL;
2857 }
2858 }
2859 if (_argo1) {
2860 if (_argo1 == Py_None) { _arg1 = NULL; }
2861 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) {
2862 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxPyControlPoint. Expected _wxPyShape_p.");
2863 return NULL;
2864 }
2865 }
2866 {
2867 PyThreadState* __tstate = wxPyBeginAllowThreads();
2868 _result = (wxPyControlPoint *)new_wxPyControlPoint(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
2869
2870 wxPyEndAllowThreads(__tstate);
2871 if (PyErr_Occurred()) return NULL;
2872 } if (_result) {
2873 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyControlPoint_p");
2874 _resultobj = Py_BuildValue("s",_ptemp);
2875 } else {
2876 Py_INCREF(Py_None);
2877 _resultobj = Py_None;
2878 }
2879 return _resultobj;
2880 }
2881
2882 #define wxPyControlPoint__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2883 static PyObject *_wrap_wxPyControlPoint__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2884 PyObject * _resultobj;
2885 wxPyControlPoint * _arg0;
2886 PyObject * _arg1;
2887 PyObject * _arg2;
2888 PyObject * _argo0 = 0;
2889 PyObject * _obj1 = 0;
2890 PyObject * _obj2 = 0;
2891 char *_kwnames[] = { "self","self","_class", NULL };
2892
2893 self = self;
2894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyControlPoint__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
2895 return NULL;
2896 if (_argo0) {
2897 if (_argo0 == Py_None) { _arg0 = NULL; }
2898 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
2899 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint__setCallbackInfo. Expected _wxPyControlPoint_p.");
2900 return NULL;
2901 }
2902 }
2903 {
2904 _arg1 = _obj1;
2905 }
2906 {
2907 _arg2 = _obj2;
2908 }
2909 {
2910 PyThreadState* __tstate = wxPyBeginAllowThreads();
2911 wxPyControlPoint__setCallbackInfo(_arg0,_arg1,_arg2);
2912
2913 wxPyEndAllowThreads(__tstate);
2914 if (PyErr_Occurred()) return NULL;
2915 } Py_INCREF(Py_None);
2916 _resultobj = Py_None;
2917 return _resultobj;
2918 }
2919
2920 #define wxPyControlPoint_SetCornerRadius(_swigobj,_swigarg0) (_swigobj->SetCornerRadius(_swigarg0))
2921 static PyObject *_wrap_wxPyControlPoint_SetCornerRadius(PyObject *self, PyObject *args, PyObject *kwargs) {
2922 PyObject * _resultobj;
2923 wxPyControlPoint * _arg0;
2924 double _arg1;
2925 PyObject * _argo0 = 0;
2926 char *_kwnames[] = { "self","radius", NULL };
2927
2928 self = self;
2929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Od:wxPyControlPoint_SetCornerRadius",_kwnames,&_argo0,&_arg1))
2930 return NULL;
2931 if (_argo0) {
2932 if (_argo0 == Py_None) { _arg0 = NULL; }
2933 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
2934 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_SetCornerRadius. Expected _wxPyControlPoint_p.");
2935 return NULL;
2936 }
2937 }
2938 {
2939 PyThreadState* __tstate = wxPyBeginAllowThreads();
2940 wxPyControlPoint_SetCornerRadius(_arg0,_arg1);
2941
2942 wxPyEndAllowThreads(__tstate);
2943 if (PyErr_Occurred()) return NULL;
2944 } Py_INCREF(Py_None);
2945 _resultobj = Py_None;
2946 return _resultobj;
2947 }
2948
2949 #define wxPyControlPoint_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
2950 static PyObject *_wrap_wxPyControlPoint_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
2951 PyObject * _resultobj;
2952 wxPyControlPoint * _arg0;
2953 PyObject * _argo0 = 0;
2954 char *_kwnames[] = { "self", NULL };
2955
2956 self = self;
2957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControlPoint_base_OnDelete",_kwnames,&_argo0))
2958 return NULL;
2959 if (_argo0) {
2960 if (_argo0 == Py_None) { _arg0 = NULL; }
2961 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
2962 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDelete. Expected _wxPyControlPoint_p.");
2963 return NULL;
2964 }
2965 }
2966 {
2967 PyThreadState* __tstate = wxPyBeginAllowThreads();
2968 wxPyControlPoint_base_OnDelete(_arg0);
2969
2970 wxPyEndAllowThreads(__tstate);
2971 if (PyErr_Occurred()) return NULL;
2972 } Py_INCREF(Py_None);
2973 _resultobj = Py_None;
2974 return _resultobj;
2975 }
2976
2977 #define wxPyControlPoint_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
2978 static PyObject *_wrap_wxPyControlPoint_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
2979 PyObject * _resultobj;
2980 wxPyControlPoint * _arg0;
2981 wxDC * _arg1;
2982 PyObject * _argo0 = 0;
2983 PyObject * _argo1 = 0;
2984 char *_kwnames[] = { "self","dc", NULL };
2985
2986 self = self;
2987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnDraw",_kwnames,&_argo0,&_argo1))
2988 return NULL;
2989 if (_argo0) {
2990 if (_argo0 == Py_None) { _arg0 = NULL; }
2991 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
2992 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDraw. Expected _wxPyControlPoint_p.");
2993 return NULL;
2994 }
2995 }
2996 if (_argo1) {
2997 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2998 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnDraw. Expected _wxDC_p.");
2999 return NULL;
3000 }
3001 }
3002 {
3003 PyThreadState* __tstate = wxPyBeginAllowThreads();
3004 wxPyControlPoint_base_OnDraw(_arg0,*_arg1);
3005
3006 wxPyEndAllowThreads(__tstate);
3007 if (PyErr_Occurred()) return NULL;
3008 } Py_INCREF(Py_None);
3009 _resultobj = Py_None;
3010 return _resultobj;
3011 }
3012
3013 #define wxPyControlPoint_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
3014 static PyObject *_wrap_wxPyControlPoint_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
3015 PyObject * _resultobj;
3016 wxPyControlPoint * _arg0;
3017 wxDC * _arg1;
3018 PyObject * _argo0 = 0;
3019 PyObject * _argo1 = 0;
3020 char *_kwnames[] = { "self","dc", NULL };
3021
3022 self = self;
3023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnDrawContents",_kwnames,&_argo0,&_argo1))
3024 return NULL;
3025 if (_argo0) {
3026 if (_argo0 == Py_None) { _arg0 = NULL; }
3027 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3028 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDrawContents. Expected _wxPyControlPoint_p.");
3029 return NULL;
3030 }
3031 }
3032 if (_argo1) {
3033 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3034 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnDrawContents. Expected _wxDC_p.");
3035 return NULL;
3036 }
3037 }
3038 {
3039 PyThreadState* __tstate = wxPyBeginAllowThreads();
3040 wxPyControlPoint_base_OnDrawContents(_arg0,*_arg1);
3041
3042 wxPyEndAllowThreads(__tstate);
3043 if (PyErr_Occurred()) return NULL;
3044 } Py_INCREF(Py_None);
3045 _resultobj = Py_None;
3046 return _resultobj;
3047 }
3048
3049 #define wxPyControlPoint_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
3050 static PyObject *_wrap_wxPyControlPoint_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
3051 PyObject * _resultobj;
3052 wxPyControlPoint * _arg0;
3053 wxDC * _arg1;
3054 bool _arg2 = (bool ) FALSE;
3055 PyObject * _argo0 = 0;
3056 PyObject * _argo1 = 0;
3057 int tempbool2 = (int) FALSE;
3058 char *_kwnames[] = { "self","dc","erase", NULL };
3059
3060 self = self;
3061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyControlPoint_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2))
3062 return NULL;
3063 if (_argo0) {
3064 if (_argo0 == Py_None) { _arg0 = NULL; }
3065 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3066 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDrawBranches. Expected _wxPyControlPoint_p.");
3067 return NULL;
3068 }
3069 }
3070 if (_argo1) {
3071 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3072 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnDrawBranches. Expected _wxDC_p.");
3073 return NULL;
3074 }
3075 }
3076 _arg2 = (bool ) tempbool2;
3077 {
3078 PyThreadState* __tstate = wxPyBeginAllowThreads();
3079 wxPyControlPoint_base_OnDrawBranches(_arg0,*_arg1,_arg2);
3080
3081 wxPyEndAllowThreads(__tstate);
3082 if (PyErr_Occurred()) return NULL;
3083 } Py_INCREF(Py_None);
3084 _resultobj = Py_None;
3085 return _resultobj;
3086 }
3087
3088 #define wxPyControlPoint_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
3089 static PyObject *_wrap_wxPyControlPoint_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
3090 PyObject * _resultobj;
3091 wxPyControlPoint * _arg0;
3092 wxDC * _arg1;
3093 PyObject * _argo0 = 0;
3094 PyObject * _argo1 = 0;
3095 char *_kwnames[] = { "self","dc", NULL };
3096
3097 self = self;
3098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnMoveLinks",_kwnames,&_argo0,&_argo1))
3099 return NULL;
3100 if (_argo0) {
3101 if (_argo0 == Py_None) { _arg0 = NULL; }
3102 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3103 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnMoveLinks. Expected _wxPyControlPoint_p.");
3104 return NULL;
3105 }
3106 }
3107 if (_argo1) {
3108 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3109 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnMoveLinks. Expected _wxDC_p.");
3110 return NULL;
3111 }
3112 }
3113 {
3114 PyThreadState* __tstate = wxPyBeginAllowThreads();
3115 wxPyControlPoint_base_OnMoveLinks(_arg0,*_arg1);
3116
3117 wxPyEndAllowThreads(__tstate);
3118 if (PyErr_Occurred()) return NULL;
3119 } Py_INCREF(Py_None);
3120 _resultobj = Py_None;
3121 return _resultobj;
3122 }
3123
3124 #define wxPyControlPoint_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
3125 static PyObject *_wrap_wxPyControlPoint_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
3126 PyObject * _resultobj;
3127 wxPyControlPoint * _arg0;
3128 wxDC * _arg1;
3129 PyObject * _argo0 = 0;
3130 PyObject * _argo1 = 0;
3131 char *_kwnames[] = { "self","dc", NULL };
3132
3133 self = self;
3134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnErase",_kwnames,&_argo0,&_argo1))
3135 return NULL;
3136 if (_argo0) {
3137 if (_argo0 == Py_None) { _arg0 = NULL; }
3138 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3139 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnErase. Expected _wxPyControlPoint_p.");
3140 return NULL;
3141 }
3142 }
3143 if (_argo1) {
3144 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3145 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnErase. Expected _wxDC_p.");
3146 return NULL;
3147 }
3148 }
3149 {
3150 PyThreadState* __tstate = wxPyBeginAllowThreads();
3151 wxPyControlPoint_base_OnErase(_arg0,*_arg1);
3152
3153 wxPyEndAllowThreads(__tstate);
3154 if (PyErr_Occurred()) return NULL;
3155 } Py_INCREF(Py_None);
3156 _resultobj = Py_None;
3157 return _resultobj;
3158 }
3159
3160 #define wxPyControlPoint_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
3161 static PyObject *_wrap_wxPyControlPoint_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
3162 PyObject * _resultobj;
3163 wxPyControlPoint * _arg0;
3164 wxDC * _arg1;
3165 PyObject * _argo0 = 0;
3166 PyObject * _argo1 = 0;
3167 char *_kwnames[] = { "self","dc", NULL };
3168
3169 self = self;
3170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnEraseContents",_kwnames,&_argo0,&_argo1))
3171 return NULL;
3172 if (_argo0) {
3173 if (_argo0 == Py_None) { _arg0 = NULL; }
3174 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3175 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnEraseContents. Expected _wxPyControlPoint_p.");
3176 return NULL;
3177 }
3178 }
3179 if (_argo1) {
3180 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3181 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnEraseContents. Expected _wxDC_p.");
3182 return NULL;
3183 }
3184 }
3185 {
3186 PyThreadState* __tstate = wxPyBeginAllowThreads();
3187 wxPyControlPoint_base_OnEraseContents(_arg0,*_arg1);
3188
3189 wxPyEndAllowThreads(__tstate);
3190 if (PyErr_Occurred()) return NULL;
3191 } Py_INCREF(Py_None);
3192 _resultobj = Py_None;
3193 return _resultobj;
3194 }
3195
3196 #define wxPyControlPoint_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
3197 static PyObject *_wrap_wxPyControlPoint_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
3198 PyObject * _resultobj;
3199 wxPyControlPoint * _arg0;
3200 wxDC * _arg1;
3201 PyObject * _argo0 = 0;
3202 PyObject * _argo1 = 0;
3203 char *_kwnames[] = { "self","dc", NULL };
3204
3205 self = self;
3206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnHighlight",_kwnames,&_argo0,&_argo1))
3207 return NULL;
3208 if (_argo0) {
3209 if (_argo0 == Py_None) { _arg0 = NULL; }
3210 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3211 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnHighlight. Expected _wxPyControlPoint_p.");
3212 return NULL;
3213 }
3214 }
3215 if (_argo1) {
3216 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3217 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnHighlight. Expected _wxDC_p.");
3218 return NULL;
3219 }
3220 }
3221 {
3222 PyThreadState* __tstate = wxPyBeginAllowThreads();
3223 wxPyControlPoint_base_OnHighlight(_arg0,*_arg1);
3224
3225 wxPyEndAllowThreads(__tstate);
3226 if (PyErr_Occurred()) return NULL;
3227 } Py_INCREF(Py_None);
3228 _resultobj = Py_None;
3229 return _resultobj;
3230 }
3231
3232 #define wxPyControlPoint_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3233 static PyObject *_wrap_wxPyControlPoint_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
3234 PyObject * _resultobj;
3235 wxPyControlPoint * _arg0;
3236 double _arg1;
3237 double _arg2;
3238 int _arg3 = (int ) 0;
3239 int _arg4 = (int ) 0;
3240 PyObject * _argo0 = 0;
3241 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
3242
3243 self = self;
3244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
3245 return NULL;
3246 if (_argo0) {
3247 if (_argo0 == Py_None) { _arg0 = NULL; }
3248 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3249 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnLeftClick. Expected _wxPyControlPoint_p.");
3250 return NULL;
3251 }
3252 }
3253 {
3254 PyThreadState* __tstate = wxPyBeginAllowThreads();
3255 wxPyControlPoint_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4);
3256
3257 wxPyEndAllowThreads(__tstate);
3258 if (PyErr_Occurred()) return NULL;
3259 } Py_INCREF(Py_None);
3260 _resultobj = Py_None;
3261 return _resultobj;
3262 }
3263
3264 #define wxPyControlPoint_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3265 static PyObject *_wrap_wxPyControlPoint_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
3266 PyObject * _resultobj;
3267 wxPyControlPoint * _arg0;
3268 double _arg1;
3269 double _arg2;
3270 int _arg3 = (int ) 0;
3271 int _arg4 = (int ) 0;
3272 PyObject * _argo0 = 0;
3273 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
3274
3275 self = self;
3276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
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_OnLeftDoubleClick. Expected _wxPyControlPoint_p.");
3282 return NULL;
3283 }
3284 }
3285 {
3286 PyThreadState* __tstate = wxPyBeginAllowThreads();
3287 wxPyControlPoint_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4);
3288
3289 wxPyEndAllowThreads(__tstate);
3290 if (PyErr_Occurred()) return NULL;
3291 } Py_INCREF(Py_None);
3292 _resultobj = Py_None;
3293 return _resultobj;
3294 }
3295
3296 #define wxPyControlPoint_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3297 static PyObject *_wrap_wxPyControlPoint_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
3298 PyObject * _resultobj;
3299 wxPyControlPoint * _arg0;
3300 double _arg1;
3301 double _arg2;
3302 int _arg3 = (int ) 0;
3303 int _arg4 = (int ) 0;
3304 PyObject * _argo0 = 0;
3305 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
3306
3307 self = self;
3308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
3309 return NULL;
3310 if (_argo0) {
3311 if (_argo0 == Py_None) { _arg0 = NULL; }
3312 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3313 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnRightClick. Expected _wxPyControlPoint_p.");
3314 return NULL;
3315 }
3316 }
3317 {
3318 PyThreadState* __tstate = wxPyBeginAllowThreads();
3319 wxPyControlPoint_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4);
3320
3321 wxPyEndAllowThreads(__tstate);
3322 if (PyErr_Occurred()) return NULL;
3323 } Py_INCREF(Py_None);
3324 _resultobj = Py_None;
3325 return _resultobj;
3326 }
3327
3328 #define wxPyControlPoint_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
3329 static PyObject *_wrap_wxPyControlPoint_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3330 PyObject * _resultobj;
3331 wxPyControlPoint * _arg0;
3332 double _arg1;
3333 double _arg2;
3334 PyObject * _argo0 = 0;
3335 char *_kwnames[] = { "self","x","y", NULL };
3336
3337 self = self;
3338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyControlPoint_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2))
3339 return NULL;
3340 if (_argo0) {
3341 if (_argo0 == Py_None) { _arg0 = NULL; }
3342 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3343 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnSize. Expected _wxPyControlPoint_p.");
3344 return NULL;
3345 }
3346 }
3347 {
3348 PyThreadState* __tstate = wxPyBeginAllowThreads();
3349 wxPyControlPoint_base_OnSize(_arg0,_arg1,_arg2);
3350
3351 wxPyEndAllowThreads(__tstate);
3352 if (PyErr_Occurred()) return NULL;
3353 } Py_INCREF(Py_None);
3354 _resultobj = Py_None;
3355 return _resultobj;
3356 }
3357
3358 #define wxPyControlPoint_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3359 static PyObject *_wrap_wxPyControlPoint_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
3360 PyObject * _resultobj;
3361 bool _result;
3362 wxPyControlPoint * _arg0;
3363 wxDC * _arg1;
3364 double _arg2;
3365 double _arg3;
3366 double _arg4;
3367 double _arg5;
3368 bool _arg6 = (bool ) TRUE;
3369 PyObject * _argo0 = 0;
3370 PyObject * _argo1 = 0;
3371 int tempbool6 = (int) TRUE;
3372 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
3373
3374 self = self;
3375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyControlPoint_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
3376 return NULL;
3377 if (_argo0) {
3378 if (_argo0 == Py_None) { _arg0 = NULL; }
3379 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3380 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnMovePre. Expected _wxPyControlPoint_p.");
3381 return NULL;
3382 }
3383 }
3384 if (_argo1) {
3385 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3386 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnMovePre. Expected _wxDC_p.");
3387 return NULL;
3388 }
3389 }
3390 _arg6 = (bool ) tempbool6;
3391 {
3392 PyThreadState* __tstate = wxPyBeginAllowThreads();
3393 _result = (bool )wxPyControlPoint_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
3394
3395 wxPyEndAllowThreads(__tstate);
3396 if (PyErr_Occurred()) return NULL;
3397 } _resultobj = Py_BuildValue("i",_result);
3398 return _resultobj;
3399 }
3400
3401 #define wxPyControlPoint_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3402 static PyObject *_wrap_wxPyControlPoint_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
3403 PyObject * _resultobj;
3404 wxPyControlPoint * _arg0;
3405 wxDC * _arg1;
3406 double _arg2;
3407 double _arg3;
3408 double _arg4;
3409 double _arg5;
3410 bool _arg6 = (bool ) TRUE;
3411 PyObject * _argo0 = 0;
3412 PyObject * _argo1 = 0;
3413 int tempbool6 = (int) TRUE;
3414 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
3415
3416 self = self;
3417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyControlPoint_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
3418 return NULL;
3419 if (_argo0) {
3420 if (_argo0 == Py_None) { _arg0 = NULL; }
3421 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3422 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnMovePost. Expected _wxPyControlPoint_p.");
3423 return NULL;
3424 }
3425 }
3426 if (_argo1) {
3427 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3428 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnMovePost. Expected _wxDC_p.");
3429 return NULL;
3430 }
3431 }
3432 _arg6 = (bool ) tempbool6;
3433 {
3434 PyThreadState* __tstate = wxPyBeginAllowThreads();
3435 wxPyControlPoint_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
3436
3437 wxPyEndAllowThreads(__tstate);
3438 if (PyErr_Occurred()) return NULL;
3439 } Py_INCREF(Py_None);
3440 _resultobj = Py_None;
3441 return _resultobj;
3442 }
3443
3444 #define wxPyControlPoint_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3445 static PyObject *_wrap_wxPyControlPoint_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3446 PyObject * _resultobj;
3447 wxPyControlPoint * _arg0;
3448 bool _arg1;
3449 double _arg2;
3450 double _arg3;
3451 int _arg4 = (int ) 0;
3452 int _arg5 = (int ) 0;
3453 PyObject * _argo0 = 0;
3454 int tempbool1;
3455 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
3456
3457 self = self;
3458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyControlPoint_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
3459 return NULL;
3460 if (_argo0) {
3461 if (_argo0 == Py_None) { _arg0 = NULL; }
3462 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3463 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDragLeft. Expected _wxPyControlPoint_p.");
3464 return NULL;
3465 }
3466 }
3467 _arg1 = (bool ) tempbool1;
3468 {
3469 PyThreadState* __tstate = wxPyBeginAllowThreads();
3470 wxPyControlPoint_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
3471
3472 wxPyEndAllowThreads(__tstate);
3473 if (PyErr_Occurred()) return NULL;
3474 } Py_INCREF(Py_None);
3475 _resultobj = Py_None;
3476 return _resultobj;
3477 }
3478
3479 #define wxPyControlPoint_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3480 static PyObject *_wrap_wxPyControlPoint_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3481 PyObject * _resultobj;
3482 wxPyControlPoint * _arg0;
3483 double _arg1;
3484 double _arg2;
3485 int _arg3 = (int ) 0;
3486 int _arg4 = (int ) 0;
3487 PyObject * _argo0 = 0;
3488 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
3489
3490 self = self;
3491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
3492 return NULL;
3493 if (_argo0) {
3494 if (_argo0 == Py_None) { _arg0 = NULL; }
3495 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3496 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnBeginDragLeft. Expected _wxPyControlPoint_p.");
3497 return NULL;
3498 }
3499 }
3500 {
3501 PyThreadState* __tstate = wxPyBeginAllowThreads();
3502 wxPyControlPoint_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
3503
3504 wxPyEndAllowThreads(__tstate);
3505 if (PyErr_Occurred()) return NULL;
3506 } Py_INCREF(Py_None);
3507 _resultobj = Py_None;
3508 return _resultobj;
3509 }
3510
3511 #define wxPyControlPoint_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3512 static PyObject *_wrap_wxPyControlPoint_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3513 PyObject * _resultobj;
3514 wxPyControlPoint * _arg0;
3515 double _arg1;
3516 double _arg2;
3517 int _arg3 = (int ) 0;
3518 int _arg4 = (int ) 0;
3519 PyObject * _argo0 = 0;
3520 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
3521
3522 self = self;
3523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
3524 return NULL;
3525 if (_argo0) {
3526 if (_argo0 == Py_None) { _arg0 = NULL; }
3527 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3528 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnEndDragLeft. Expected _wxPyControlPoint_p.");
3529 return NULL;
3530 }
3531 }
3532 {
3533 PyThreadState* __tstate = wxPyBeginAllowThreads();
3534 wxPyControlPoint_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
3535
3536 wxPyEndAllowThreads(__tstate);
3537 if (PyErr_Occurred()) return NULL;
3538 } Py_INCREF(Py_None);
3539 _resultobj = Py_None;
3540 return _resultobj;
3541 }
3542
3543 #define wxPyControlPoint_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3544 static PyObject *_wrap_wxPyControlPoint_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3545 PyObject * _resultobj;
3546 wxPyControlPoint * _arg0;
3547 bool _arg1;
3548 double _arg2;
3549 double _arg3;
3550 int _arg4 = (int ) 0;
3551 int _arg5 = (int ) 0;
3552 PyObject * _argo0 = 0;
3553 int tempbool1;
3554 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
3555
3556 self = self;
3557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyControlPoint_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
3558 return NULL;
3559 if (_argo0) {
3560 if (_argo0 == Py_None) { _arg0 = NULL; }
3561 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3562 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDragRight. Expected _wxPyControlPoint_p.");
3563 return NULL;
3564 }
3565 }
3566 _arg1 = (bool ) tempbool1;
3567 {
3568 PyThreadState* __tstate = wxPyBeginAllowThreads();
3569 wxPyControlPoint_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
3570
3571 wxPyEndAllowThreads(__tstate);
3572 if (PyErr_Occurred()) return NULL;
3573 } Py_INCREF(Py_None);
3574 _resultobj = Py_None;
3575 return _resultobj;
3576 }
3577
3578 #define wxPyControlPoint_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3579 static PyObject *_wrap_wxPyControlPoint_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3580 PyObject * _resultobj;
3581 wxPyControlPoint * _arg0;
3582 double _arg1;
3583 double _arg2;
3584 int _arg3 = (int ) 0;
3585 int _arg4 = (int ) 0;
3586 PyObject * _argo0 = 0;
3587 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
3588
3589 self = self;
3590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
3591 return NULL;
3592 if (_argo0) {
3593 if (_argo0 == Py_None) { _arg0 = NULL; }
3594 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3595 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnBeginDragRight. Expected _wxPyControlPoint_p.");
3596 return NULL;
3597 }
3598 }
3599 {
3600 PyThreadState* __tstate = wxPyBeginAllowThreads();
3601 wxPyControlPoint_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
3602
3603 wxPyEndAllowThreads(__tstate);
3604 if (PyErr_Occurred()) return NULL;
3605 } Py_INCREF(Py_None);
3606 _resultobj = Py_None;
3607 return _resultobj;
3608 }
3609
3610 #define wxPyControlPoint_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3611 static PyObject *_wrap_wxPyControlPoint_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3612 PyObject * _resultobj;
3613 wxPyControlPoint * _arg0;
3614 double _arg1;
3615 double _arg2;
3616 int _arg3 = (int ) 0;
3617 int _arg4 = (int ) 0;
3618 PyObject * _argo0 = 0;
3619 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
3620
3621 self = self;
3622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
3623 return NULL;
3624 if (_argo0) {
3625 if (_argo0 == Py_None) { _arg0 = NULL; }
3626 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3627 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnEndDragRight. Expected _wxPyControlPoint_p.");
3628 return NULL;
3629 }
3630 }
3631 {
3632 PyThreadState* __tstate = wxPyBeginAllowThreads();
3633 wxPyControlPoint_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
3634
3635 wxPyEndAllowThreads(__tstate);
3636 if (PyErr_Occurred()) return NULL;
3637 } Py_INCREF(Py_None);
3638 _resultobj = Py_None;
3639 return _resultobj;
3640 }
3641
3642 #define wxPyControlPoint_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3643 static PyObject *_wrap_wxPyControlPoint_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
3644 PyObject * _resultobj;
3645 wxPyControlPoint * _arg0;
3646 wxDC * _arg1;
3647 double _arg2;
3648 double _arg3;
3649 double _arg4;
3650 double _arg5;
3651 PyObject * _argo0 = 0;
3652 PyObject * _argo1 = 0;
3653 char *_kwnames[] = { "self","dc","x","y","w","h", NULL };
3654
3655 self = self;
3656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyControlPoint_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
3657 return NULL;
3658 if (_argo0) {
3659 if (_argo0 == Py_None) { _arg0 = NULL; }
3660 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3661 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDrawOutline. Expected _wxPyControlPoint_p.");
3662 return NULL;
3663 }
3664 }
3665 if (_argo1) {
3666 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3667 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnDrawOutline. Expected _wxDC_p.");
3668 return NULL;
3669 }
3670 }
3671 {
3672 PyThreadState* __tstate = wxPyBeginAllowThreads();
3673 wxPyControlPoint_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5);
3674
3675 wxPyEndAllowThreads(__tstate);
3676 if (PyErr_Occurred()) return NULL;
3677 } Py_INCREF(Py_None);
3678 _resultobj = Py_None;
3679 return _resultobj;
3680 }
3681
3682 #define wxPyControlPoint_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
3683 static PyObject *_wrap_wxPyControlPoint_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
3684 PyObject * _resultobj;
3685 wxPyControlPoint * _arg0;
3686 wxDC * _arg1;
3687 PyObject * _argo0 = 0;
3688 PyObject * _argo1 = 0;
3689 char *_kwnames[] = { "self","dc", NULL };
3690
3691 self = self;
3692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1))
3693 return NULL;
3694 if (_argo0) {
3695 if (_argo0 == Py_None) { _arg0 = NULL; }
3696 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3697 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDrawControlPoints. Expected _wxPyControlPoint_p.");
3698 return NULL;
3699 }
3700 }
3701 if (_argo1) {
3702 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3703 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnDrawControlPoints. Expected _wxDC_p.");
3704 return NULL;
3705 }
3706 }
3707 {
3708 PyThreadState* __tstate = wxPyBeginAllowThreads();
3709 wxPyControlPoint_base_OnDrawControlPoints(_arg0,*_arg1);
3710
3711 wxPyEndAllowThreads(__tstate);
3712 if (PyErr_Occurred()) return NULL;
3713 } Py_INCREF(Py_None);
3714 _resultobj = Py_None;
3715 return _resultobj;
3716 }
3717
3718 #define wxPyControlPoint_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
3719 static PyObject *_wrap_wxPyControlPoint_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
3720 PyObject * _resultobj;
3721 wxPyControlPoint * _arg0;
3722 wxDC * _arg1;
3723 PyObject * _argo0 = 0;
3724 PyObject * _argo1 = 0;
3725 char *_kwnames[] = { "self","dc", NULL };
3726
3727 self = self;
3728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1))
3729 return NULL;
3730 if (_argo0) {
3731 if (_argo0 == Py_None) { _arg0 = NULL; }
3732 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3733 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnEraseControlPoints. Expected _wxPyControlPoint_p.");
3734 return NULL;
3735 }
3736 }
3737 if (_argo1) {
3738 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3739 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnEraseControlPoints. Expected _wxDC_p.");
3740 return NULL;
3741 }
3742 }
3743 {
3744 PyThreadState* __tstate = wxPyBeginAllowThreads();
3745 wxPyControlPoint_base_OnEraseControlPoints(_arg0,*_arg1);
3746
3747 wxPyEndAllowThreads(__tstate);
3748 if (PyErr_Occurred()) return NULL;
3749 } Py_INCREF(Py_None);
3750 _resultobj = Py_None;
3751 return _resultobj;
3752 }
3753
3754 #define wxPyControlPoint_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
3755 static PyObject *_wrap_wxPyControlPoint_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
3756 PyObject * _resultobj;
3757 wxPyControlPoint * _arg0;
3758 wxDC * _arg1;
3759 bool _arg2 = (bool ) TRUE;
3760 PyObject * _argo0 = 0;
3761 PyObject * _argo1 = 0;
3762 int tempbool2 = (int) TRUE;
3763 char *_kwnames[] = { "self","dc","moveControlPoints", NULL };
3764
3765 self = self;
3766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyControlPoint_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2))
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_OnMoveLink. Expected _wxPyControlPoint_p.");
3772 return NULL;
3773 }
3774 }
3775 if (_argo1) {
3776 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3777 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnMoveLink. Expected _wxDC_p.");
3778 return NULL;
3779 }
3780 }
3781 _arg2 = (bool ) tempbool2;
3782 {
3783 PyThreadState* __tstate = wxPyBeginAllowThreads();
3784 wxPyControlPoint_base_OnMoveLink(_arg0,*_arg1,_arg2);
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_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3794 static PyObject *_wrap_wxPyControlPoint_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3795 PyObject * _resultobj;
3796 wxPyControlPoint * _arg0;
3797 wxPyControlPoint * _arg1;
3798 bool _arg2;
3799 double _arg3;
3800 double _arg4;
3801 int _arg5 = (int ) 0;
3802 int _arg6 = (int ) 0;
3803 PyObject * _argo0 = 0;
3804 PyObject * _argo1 = 0;
3805 int tempbool2;
3806 char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL };
3807
3808 self = self;
3809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyControlPoint_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6))
3810 return NULL;
3811 if (_argo0) {
3812 if (_argo0 == Py_None) { _arg0 = NULL; }
3813 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3814 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
3815 return NULL;
3816 }
3817 }
3818 if (_argo1) {
3819 if (_argo1 == Py_None) { _arg1 = NULL; }
3820 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
3821 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
3822 return NULL;
3823 }
3824 }
3825 _arg2 = (bool ) tempbool2;
3826 {
3827 PyThreadState* __tstate = wxPyBeginAllowThreads();
3828 wxPyControlPoint_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
3829
3830 wxPyEndAllowThreads(__tstate);
3831 if (PyErr_Occurred()) return NULL;
3832 } Py_INCREF(Py_None);
3833 _resultobj = Py_None;
3834 return _resultobj;
3835 }
3836
3837 #define wxPyControlPoint_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3838 static PyObject *_wrap_wxPyControlPoint_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3839 PyObject * _resultobj;
3840 wxPyControlPoint * _arg0;
3841 wxPyControlPoint * _arg1;
3842 double _arg2;
3843 double _arg3;
3844 int _arg4 = (int ) 0;
3845 int _arg5 = (int ) 0;
3846 PyObject * _argo0 = 0;
3847 PyObject * _argo1 = 0;
3848 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
3849
3850 self = self;
3851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyControlPoint_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
3852 return NULL;
3853 if (_argo0) {
3854 if (_argo0 == Py_None) { _arg0 = NULL; }
3855 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3856 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
3857 return NULL;
3858 }
3859 }
3860 if (_argo1) {
3861 if (_argo1 == Py_None) { _arg1 = NULL; }
3862 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
3863 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
3864 return NULL;
3865 }
3866 }
3867 {
3868 PyThreadState* __tstate = wxPyBeginAllowThreads();
3869 wxPyControlPoint_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
3870
3871 wxPyEndAllowThreads(__tstate);
3872 if (PyErr_Occurred()) return NULL;
3873 } Py_INCREF(Py_None);
3874 _resultobj = Py_None;
3875 return _resultobj;
3876 }
3877
3878 #define wxPyControlPoint_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3879 static PyObject *_wrap_wxPyControlPoint_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3880 PyObject * _resultobj;
3881 wxPyControlPoint * _arg0;
3882 wxPyControlPoint * _arg1;
3883 double _arg2;
3884 double _arg3;
3885 int _arg4 = (int ) 0;
3886 int _arg5 = (int ) 0;
3887 PyObject * _argo0 = 0;
3888 PyObject * _argo1 = 0;
3889 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
3890
3891 self = self;
3892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyControlPoint_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
3893 return NULL;
3894 if (_argo0) {
3895 if (_argo0 == Py_None) { _arg0 = NULL; }
3896 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3897 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
3898 return NULL;
3899 }
3900 }
3901 if (_argo1) {
3902 if (_argo1 == Py_None) { _arg1 = NULL; }
3903 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
3904 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
3905 return NULL;
3906 }
3907 }
3908 {
3909 PyThreadState* __tstate = wxPyBeginAllowThreads();
3910 wxPyControlPoint_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
3911
3912 wxPyEndAllowThreads(__tstate);
3913 if (PyErr_Occurred()) return NULL;
3914 } Py_INCREF(Py_None);
3915 _resultobj = Py_None;
3916 return _resultobj;
3917 }
3918
3919 #define wxPyControlPoint_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
3920 static PyObject *_wrap_wxPyControlPoint_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3921 PyObject * _resultobj;
3922 wxPyControlPoint * _arg0;
3923 double _arg1;
3924 double _arg2;
3925 PyObject * _argo0 = 0;
3926 char *_kwnames[] = { "self","w","h", NULL };
3927
3928 self = self;
3929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyControlPoint_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2))
3930 return NULL;
3931 if (_argo0) {
3932 if (_argo0 == Py_None) { _arg0 = NULL; }
3933 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3934 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnBeginSize. Expected _wxPyControlPoint_p.");
3935 return NULL;
3936 }
3937 }
3938 {
3939 PyThreadState* __tstate = wxPyBeginAllowThreads();
3940 wxPyControlPoint_base_OnBeginSize(_arg0,_arg1,_arg2);
3941
3942 wxPyEndAllowThreads(__tstate);
3943 if (PyErr_Occurred()) return NULL;
3944 } Py_INCREF(Py_None);
3945 _resultobj = Py_None;
3946 return _resultobj;
3947 }
3948
3949 #define wxPyControlPoint_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
3950 static PyObject *_wrap_wxPyControlPoint_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3951 PyObject * _resultobj;
3952 wxPyControlPoint * _arg0;
3953 double _arg1;
3954 double _arg2;
3955 PyObject * _argo0 = 0;
3956 char *_kwnames[] = { "self","w","h", NULL };
3957
3958 self = self;
3959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyControlPoint_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2))
3960 return NULL;
3961 if (_argo0) {
3962 if (_argo0 == Py_None) { _arg0 = NULL; }
3963 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3964 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnEndSize. Expected _wxPyControlPoint_p.");
3965 return NULL;
3966 }
3967 }
3968 {
3969 PyThreadState* __tstate = wxPyBeginAllowThreads();
3970 wxPyControlPoint_base_OnEndSize(_arg0,_arg1,_arg2);
3971
3972 wxPyEndAllowThreads(__tstate);
3973 if (PyErr_Occurred()) return NULL;
3974 } Py_INCREF(Py_None);
3975 _resultobj = Py_None;
3976 return _resultobj;
3977 }
3978
3979 static void *SwigwxPyBitmapShapeTowxPyRectangleShape(void *ptr) {
3980 wxPyBitmapShape *src;
3981 wxPyRectangleShape *dest;
3982 src = (wxPyBitmapShape *) ptr;
3983 dest = (wxPyRectangleShape *) src;
3984 return (void *) dest;
3985 }
3986
3987 static void *SwigwxPyBitmapShapeTowxPyShape(void *ptr) {
3988 wxPyBitmapShape *src;
3989 wxPyShape *dest;
3990 src = (wxPyBitmapShape *) ptr;
3991 dest = (wxPyShape *) src;
3992 return (void *) dest;
3993 }
3994
3995 static void *SwigwxPyBitmapShapeTowxPyShapeEvtHandler(void *ptr) {
3996 wxPyBitmapShape *src;
3997 wxPyShapeEvtHandler *dest;
3998 src = (wxPyBitmapShape *) ptr;
3999 dest = (wxPyShapeEvtHandler *) src;
4000 return (void *) dest;
4001 }
4002
4003 static void *SwigwxPyBitmapShapeTowxObject(void *ptr) {
4004 wxPyBitmapShape *src;
4005 wxObject *dest;
4006 src = (wxPyBitmapShape *) ptr;
4007 dest = (wxObject *) src;
4008 return (void *) dest;
4009 }
4010
4011 #define new_wxPyBitmapShape() (new wxPyBitmapShape())
4012 static PyObject *_wrap_new_wxPyBitmapShape(PyObject *self, PyObject *args, PyObject *kwargs) {
4013 PyObject * _resultobj;
4014 wxPyBitmapShape * _result;
4015 char *_kwnames[] = { NULL };
4016 char _ptemp[128];
4017
4018 self = self;
4019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyBitmapShape",_kwnames))
4020 return NULL;
4021 {
4022 PyThreadState* __tstate = wxPyBeginAllowThreads();
4023 _result = (wxPyBitmapShape *)new_wxPyBitmapShape();
4024
4025 wxPyEndAllowThreads(__tstate);
4026 if (PyErr_Occurred()) return NULL;
4027 } if (_result) {
4028 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyBitmapShape_p");
4029 _resultobj = Py_BuildValue("s",_ptemp);
4030 } else {
4031 Py_INCREF(Py_None);
4032 _resultobj = Py_None;
4033 }
4034 return _resultobj;
4035 }
4036
4037 #define wxPyBitmapShape__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4038 static PyObject *_wrap_wxPyBitmapShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4039 PyObject * _resultobj;
4040 wxPyBitmapShape * _arg0;
4041 PyObject * _arg1;
4042 PyObject * _arg2;
4043 PyObject * _argo0 = 0;
4044 PyObject * _obj1 = 0;
4045 PyObject * _obj2 = 0;
4046 char *_kwnames[] = { "self","self","_class", NULL };
4047
4048 self = self;
4049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyBitmapShape__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
4050 return NULL;
4051 if (_argo0) {
4052 if (_argo0 == Py_None) { _arg0 = NULL; }
4053 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4054 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape__setCallbackInfo. Expected _wxPyBitmapShape_p.");
4055 return NULL;
4056 }
4057 }
4058 {
4059 _arg1 = _obj1;
4060 }
4061 {
4062 _arg2 = _obj2;
4063 }
4064 {
4065 PyThreadState* __tstate = wxPyBeginAllowThreads();
4066 wxPyBitmapShape__setCallbackInfo(_arg0,_arg1,_arg2);
4067
4068 wxPyEndAllowThreads(__tstate);
4069 if (PyErr_Occurred()) return NULL;
4070 } Py_INCREF(Py_None);
4071 _resultobj = Py_None;
4072 return _resultobj;
4073 }
4074
4075 #define wxPyBitmapShape_GetBitmap(_swigobj) (_swigobj->GetBitmap())
4076 static PyObject *_wrap_wxPyBitmapShape_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4077 PyObject * _resultobj;
4078 wxBitmap * _result;
4079 wxPyBitmapShape * _arg0;
4080 PyObject * _argo0 = 0;
4081 char *_kwnames[] = { "self", NULL };
4082 char _ptemp[128];
4083
4084 self = self;
4085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyBitmapShape_GetBitmap",_kwnames,&_argo0))
4086 return NULL;
4087 if (_argo0) {
4088 if (_argo0 == Py_None) { _arg0 = NULL; }
4089 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4090 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_GetBitmap. Expected _wxPyBitmapShape_p.");
4091 return NULL;
4092 }
4093 }
4094 {
4095 PyThreadState* __tstate = wxPyBeginAllowThreads();
4096 wxBitmap & _result_ref = wxPyBitmapShape_GetBitmap(_arg0);
4097 _result = (wxBitmap *) &_result_ref;
4098
4099 wxPyEndAllowThreads(__tstate);
4100 if (PyErr_Occurred()) return NULL;
4101 } if (_result) {
4102 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
4103 _resultobj = Py_BuildValue("s",_ptemp);
4104 } else {
4105 Py_INCREF(Py_None);
4106 _resultobj = Py_None;
4107 }
4108 return _resultobj;
4109 }
4110
4111 #define wxPyBitmapShape_GetFilename(_swigobj) (_swigobj->GetFilename())
4112 static PyObject *_wrap_wxPyBitmapShape_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
4113 PyObject * _resultobj;
4114 wxString * _result;
4115 wxPyBitmapShape * _arg0;
4116 PyObject * _argo0 = 0;
4117 char *_kwnames[] = { "self", NULL };
4118
4119 self = self;
4120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyBitmapShape_GetFilename",_kwnames,&_argo0))
4121 return NULL;
4122 if (_argo0) {
4123 if (_argo0 == Py_None) { _arg0 = NULL; }
4124 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4125 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_GetFilename. Expected _wxPyBitmapShape_p.");
4126 return NULL;
4127 }
4128 }
4129 {
4130 PyThreadState* __tstate = wxPyBeginAllowThreads();
4131 _result = new wxString (wxPyBitmapShape_GetFilename(_arg0));
4132
4133 wxPyEndAllowThreads(__tstate);
4134 if (PyErr_Occurred()) return NULL;
4135 }{
4136 #if wxUSE_UNICODE
4137 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
4138 #else
4139 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4140 #endif
4141 }
4142 {
4143 delete _result;
4144 }
4145 return _resultobj;
4146 }
4147
4148 #define wxPyBitmapShape_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
4149 static PyObject *_wrap_wxPyBitmapShape_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4150 PyObject * _resultobj;
4151 wxPyBitmapShape * _arg0;
4152 wxBitmap * _arg1;
4153 PyObject * _argo0 = 0;
4154 PyObject * _argo1 = 0;
4155 char *_kwnames[] = { "self","bitmap", NULL };
4156
4157 self = self;
4158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_SetBitmap",_kwnames,&_argo0,&_argo1))
4159 return NULL;
4160 if (_argo0) {
4161 if (_argo0 == Py_None) { _arg0 = NULL; }
4162 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4163 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_SetBitmap. Expected _wxPyBitmapShape_p.");
4164 return NULL;
4165 }
4166 }
4167 if (_argo1) {
4168 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
4169 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_SetBitmap. Expected _wxBitmap_p.");
4170 return NULL;
4171 }
4172 }
4173 {
4174 PyThreadState* __tstate = wxPyBeginAllowThreads();
4175 wxPyBitmapShape_SetBitmap(_arg0,*_arg1);
4176
4177 wxPyEndAllowThreads(__tstate);
4178 if (PyErr_Occurred()) return NULL;
4179 } Py_INCREF(Py_None);
4180 _resultobj = Py_None;
4181 return _resultobj;
4182 }
4183
4184 #define wxPyBitmapShape_SetFilename(_swigobj,_swigarg0) (_swigobj->SetFilename(_swigarg0))
4185 static PyObject *_wrap_wxPyBitmapShape_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
4186 PyObject * _resultobj;
4187 wxPyBitmapShape * _arg0;
4188 wxString * _arg1;
4189 PyObject * _argo0 = 0;
4190 PyObject * _obj1 = 0;
4191 char *_kwnames[] = { "self","filename", NULL };
4192
4193 self = self;
4194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_SetFilename",_kwnames,&_argo0,&_obj1))
4195 return NULL;
4196 if (_argo0) {
4197 if (_argo0 == Py_None) { _arg0 = NULL; }
4198 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4199 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_SetFilename. Expected _wxPyBitmapShape_p.");
4200 return NULL;
4201 }
4202 }
4203 {
4204 _arg1 = wxString_in_helper(_obj1);
4205 if (_arg1 == NULL)
4206 return NULL;
4207 }
4208 {
4209 PyThreadState* __tstate = wxPyBeginAllowThreads();
4210 wxPyBitmapShape_SetFilename(_arg0,*_arg1);
4211
4212 wxPyEndAllowThreads(__tstate);
4213 if (PyErr_Occurred()) return NULL;
4214 } Py_INCREF(Py_None);
4215 _resultobj = Py_None;
4216 {
4217 if (_obj1)
4218 delete _arg1;
4219 }
4220 return _resultobj;
4221 }
4222
4223 #define wxPyBitmapShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
4224 static PyObject *_wrap_wxPyBitmapShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
4225 PyObject * _resultobj;
4226 wxPyBitmapShape * _arg0;
4227 PyObject * _argo0 = 0;
4228 char *_kwnames[] = { "self", NULL };
4229
4230 self = self;
4231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyBitmapShape_base_OnDelete",_kwnames,&_argo0))
4232 return NULL;
4233 if (_argo0) {
4234 if (_argo0 == Py_None) { _arg0 = NULL; }
4235 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4236 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDelete. Expected _wxPyBitmapShape_p.");
4237 return NULL;
4238 }
4239 }
4240 {
4241 PyThreadState* __tstate = wxPyBeginAllowThreads();
4242 wxPyBitmapShape_base_OnDelete(_arg0);
4243
4244 wxPyEndAllowThreads(__tstate);
4245 if (PyErr_Occurred()) return NULL;
4246 } Py_INCREF(Py_None);
4247 _resultobj = Py_None;
4248 return _resultobj;
4249 }
4250
4251 #define wxPyBitmapShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
4252 static PyObject *_wrap_wxPyBitmapShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
4253 PyObject * _resultobj;
4254 wxPyBitmapShape * _arg0;
4255 wxDC * _arg1;
4256 PyObject * _argo0 = 0;
4257 PyObject * _argo1 = 0;
4258 char *_kwnames[] = { "self","dc", NULL };
4259
4260 self = self;
4261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnDraw",_kwnames,&_argo0,&_argo1))
4262 return NULL;
4263 if (_argo0) {
4264 if (_argo0 == Py_None) { _arg0 = NULL; }
4265 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4266 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDraw. Expected _wxPyBitmapShape_p.");
4267 return NULL;
4268 }
4269 }
4270 if (_argo1) {
4271 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4272 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnDraw. Expected _wxDC_p.");
4273 return NULL;
4274 }
4275 }
4276 {
4277 PyThreadState* __tstate = wxPyBeginAllowThreads();
4278 wxPyBitmapShape_base_OnDraw(_arg0,*_arg1);
4279
4280 wxPyEndAllowThreads(__tstate);
4281 if (PyErr_Occurred()) return NULL;
4282 } Py_INCREF(Py_None);
4283 _resultobj = Py_None;
4284 return _resultobj;
4285 }
4286
4287 #define wxPyBitmapShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
4288 static PyObject *_wrap_wxPyBitmapShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
4289 PyObject * _resultobj;
4290 wxPyBitmapShape * _arg0;
4291 wxDC * _arg1;
4292 PyObject * _argo0 = 0;
4293 PyObject * _argo1 = 0;
4294 char *_kwnames[] = { "self","dc", NULL };
4295
4296 self = self;
4297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1))
4298 return NULL;
4299 if (_argo0) {
4300 if (_argo0 == Py_None) { _arg0 = NULL; }
4301 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4302 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDrawContents. Expected _wxPyBitmapShape_p.");
4303 return NULL;
4304 }
4305 }
4306 if (_argo1) {
4307 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4308 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnDrawContents. Expected _wxDC_p.");
4309 return NULL;
4310 }
4311 }
4312 {
4313 PyThreadState* __tstate = wxPyBeginAllowThreads();
4314 wxPyBitmapShape_base_OnDrawContents(_arg0,*_arg1);
4315
4316 wxPyEndAllowThreads(__tstate);
4317 if (PyErr_Occurred()) return NULL;
4318 } Py_INCREF(Py_None);
4319 _resultobj = Py_None;
4320 return _resultobj;
4321 }
4322
4323 #define wxPyBitmapShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
4324 static PyObject *_wrap_wxPyBitmapShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
4325 PyObject * _resultobj;
4326 wxPyBitmapShape * _arg0;
4327 wxDC * _arg1;
4328 bool _arg2 = (bool ) FALSE;
4329 PyObject * _argo0 = 0;
4330 PyObject * _argo1 = 0;
4331 int tempbool2 = (int) FALSE;
4332 char *_kwnames[] = { "self","dc","erase", NULL };
4333
4334 self = self;
4335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyBitmapShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2))
4336 return NULL;
4337 if (_argo0) {
4338 if (_argo0 == Py_None) { _arg0 = NULL; }
4339 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4340 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDrawBranches. Expected _wxPyBitmapShape_p.");
4341 return NULL;
4342 }
4343 }
4344 if (_argo1) {
4345 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4346 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnDrawBranches. Expected _wxDC_p.");
4347 return NULL;
4348 }
4349 }
4350 _arg2 = (bool ) tempbool2;
4351 {
4352 PyThreadState* __tstate = wxPyBeginAllowThreads();
4353 wxPyBitmapShape_base_OnDrawBranches(_arg0,*_arg1,_arg2);
4354
4355 wxPyEndAllowThreads(__tstate);
4356 if (PyErr_Occurred()) return NULL;
4357 } Py_INCREF(Py_None);
4358 _resultobj = Py_None;
4359 return _resultobj;
4360 }
4361
4362 #define wxPyBitmapShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
4363 static PyObject *_wrap_wxPyBitmapShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
4364 PyObject * _resultobj;
4365 wxPyBitmapShape * _arg0;
4366 wxDC * _arg1;
4367 PyObject * _argo0 = 0;
4368 PyObject * _argo1 = 0;
4369 char *_kwnames[] = { "self","dc", NULL };
4370
4371 self = self;
4372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1))
4373 return NULL;
4374 if (_argo0) {
4375 if (_argo0 == Py_None) { _arg0 = NULL; }
4376 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4377 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnMoveLinks. Expected _wxPyBitmapShape_p.");
4378 return NULL;
4379 }
4380 }
4381 if (_argo1) {
4382 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4383 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnMoveLinks. Expected _wxDC_p.");
4384 return NULL;
4385 }
4386 }
4387 {
4388 PyThreadState* __tstate = wxPyBeginAllowThreads();
4389 wxPyBitmapShape_base_OnMoveLinks(_arg0,*_arg1);
4390
4391 wxPyEndAllowThreads(__tstate);
4392 if (PyErr_Occurred()) return NULL;
4393 } Py_INCREF(Py_None);
4394 _resultobj = Py_None;
4395 return _resultobj;
4396 }
4397
4398 #define wxPyBitmapShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
4399 static PyObject *_wrap_wxPyBitmapShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
4400 PyObject * _resultobj;
4401 wxPyBitmapShape * _arg0;
4402 wxDC * _arg1;
4403 PyObject * _argo0 = 0;
4404 PyObject * _argo1 = 0;
4405 char *_kwnames[] = { "self","dc", NULL };
4406
4407 self = self;
4408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnErase",_kwnames,&_argo0,&_argo1))
4409 return NULL;
4410 if (_argo0) {
4411 if (_argo0 == Py_None) { _arg0 = NULL; }
4412 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4413 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnErase. Expected _wxPyBitmapShape_p.");
4414 return NULL;
4415 }
4416 }
4417 if (_argo1) {
4418 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4419 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnErase. Expected _wxDC_p.");
4420 return NULL;
4421 }
4422 }
4423 {
4424 PyThreadState* __tstate = wxPyBeginAllowThreads();
4425 wxPyBitmapShape_base_OnErase(_arg0,*_arg1);
4426
4427 wxPyEndAllowThreads(__tstate);
4428 if (PyErr_Occurred()) return NULL;
4429 } Py_INCREF(Py_None);
4430 _resultobj = Py_None;
4431 return _resultobj;
4432 }
4433
4434 #define wxPyBitmapShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
4435 static PyObject *_wrap_wxPyBitmapShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
4436 PyObject * _resultobj;
4437 wxPyBitmapShape * _arg0;
4438 wxDC * _arg1;
4439 PyObject * _argo0 = 0;
4440 PyObject * _argo1 = 0;
4441 char *_kwnames[] = { "self","dc", NULL };
4442
4443 self = self;
4444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1))
4445 return NULL;
4446 if (_argo0) {
4447 if (_argo0 == Py_None) { _arg0 = NULL; }
4448 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4449 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnEraseContents. Expected _wxPyBitmapShape_p.");
4450 return NULL;
4451 }
4452 }
4453 if (_argo1) {
4454 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4455 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnEraseContents. Expected _wxDC_p.");
4456 return NULL;
4457 }
4458 }
4459 {
4460 PyThreadState* __tstate = wxPyBeginAllowThreads();
4461 wxPyBitmapShape_base_OnEraseContents(_arg0,*_arg1);
4462
4463 wxPyEndAllowThreads(__tstate);
4464 if (PyErr_Occurred()) return NULL;
4465 } Py_INCREF(Py_None);
4466 _resultobj = Py_None;
4467 return _resultobj;
4468 }
4469
4470 #define wxPyBitmapShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
4471 static PyObject *_wrap_wxPyBitmapShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
4472 PyObject * _resultobj;
4473 wxPyBitmapShape * _arg0;
4474 wxDC * _arg1;
4475 PyObject * _argo0 = 0;
4476 PyObject * _argo1 = 0;
4477 char *_kwnames[] = { "self","dc", NULL };
4478
4479 self = self;
4480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnHighlight",_kwnames,&_argo0,&_argo1))
4481 return NULL;
4482 if (_argo0) {
4483 if (_argo0 == Py_None) { _arg0 = NULL; }
4484 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4485 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnHighlight. Expected _wxPyBitmapShape_p.");
4486 return NULL;
4487 }
4488 }
4489 if (_argo1) {
4490 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4491 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnHighlight. Expected _wxDC_p.");
4492 return NULL;
4493 }
4494 }
4495 {
4496 PyThreadState* __tstate = wxPyBeginAllowThreads();
4497 wxPyBitmapShape_base_OnHighlight(_arg0,*_arg1);
4498
4499 wxPyEndAllowThreads(__tstate);
4500 if (PyErr_Occurred()) return NULL;
4501 } Py_INCREF(Py_None);
4502 _resultobj = Py_None;
4503 return _resultobj;
4504 }
4505
4506 #define wxPyBitmapShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4507 static PyObject *_wrap_wxPyBitmapShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
4508 PyObject * _resultobj;
4509 wxPyBitmapShape * _arg0;
4510 double _arg1;
4511 double _arg2;
4512 int _arg3 = (int ) 0;
4513 int _arg4 = (int ) 0;
4514 PyObject * _argo0 = 0;
4515 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
4516
4517 self = self;
4518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
4519 return NULL;
4520 if (_argo0) {
4521 if (_argo0 == Py_None) { _arg0 = NULL; }
4522 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4523 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnLeftClick. Expected _wxPyBitmapShape_p.");
4524 return NULL;
4525 }
4526 }
4527 {
4528 PyThreadState* __tstate = wxPyBeginAllowThreads();
4529 wxPyBitmapShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4);
4530
4531 wxPyEndAllowThreads(__tstate);
4532 if (PyErr_Occurred()) return NULL;
4533 } Py_INCREF(Py_None);
4534 _resultobj = Py_None;
4535 return _resultobj;
4536 }
4537
4538 #define wxPyBitmapShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4539 static PyObject *_wrap_wxPyBitmapShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
4540 PyObject * _resultobj;
4541 wxPyBitmapShape * _arg0;
4542 double _arg1;
4543 double _arg2;
4544 int _arg3 = (int ) 0;
4545 int _arg4 = (int ) 0;
4546 PyObject * _argo0 = 0;
4547 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
4548
4549 self = self;
4550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
4551 return NULL;
4552 if (_argo0) {
4553 if (_argo0 == Py_None) { _arg0 = NULL; }
4554 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4555 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnLeftDoubleClick. Expected _wxPyBitmapShape_p.");
4556 return NULL;
4557 }
4558 }
4559 {
4560 PyThreadState* __tstate = wxPyBeginAllowThreads();
4561 wxPyBitmapShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4);
4562
4563 wxPyEndAllowThreads(__tstate);
4564 if (PyErr_Occurred()) return NULL;
4565 } Py_INCREF(Py_None);
4566 _resultobj = Py_None;
4567 return _resultobj;
4568 }
4569
4570 #define wxPyBitmapShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4571 static PyObject *_wrap_wxPyBitmapShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
4572 PyObject * _resultobj;
4573 wxPyBitmapShape * _arg0;
4574 double _arg1;
4575 double _arg2;
4576 int _arg3 = (int ) 0;
4577 int _arg4 = (int ) 0;
4578 PyObject * _argo0 = 0;
4579 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
4580
4581 self = self;
4582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
4583 return NULL;
4584 if (_argo0) {
4585 if (_argo0 == Py_None) { _arg0 = NULL; }
4586 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4587 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnRightClick. Expected _wxPyBitmapShape_p.");
4588 return NULL;
4589 }
4590 }
4591 {
4592 PyThreadState* __tstate = wxPyBeginAllowThreads();
4593 wxPyBitmapShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4);
4594
4595 wxPyEndAllowThreads(__tstate);
4596 if (PyErr_Occurred()) return NULL;
4597 } Py_INCREF(Py_None);
4598 _resultobj = Py_None;
4599 return _resultobj;
4600 }
4601
4602 #define wxPyBitmapShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
4603 static PyObject *_wrap_wxPyBitmapShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4604 PyObject * _resultobj;
4605 wxPyBitmapShape * _arg0;
4606 double _arg1;
4607 double _arg2;
4608 PyObject * _argo0 = 0;
4609 char *_kwnames[] = { "self","x","y", NULL };
4610
4611 self = self;
4612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyBitmapShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2))
4613 return NULL;
4614 if (_argo0) {
4615 if (_argo0 == Py_None) { _arg0 = NULL; }
4616 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4617 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnSize. Expected _wxPyBitmapShape_p.");
4618 return NULL;
4619 }
4620 }
4621 {
4622 PyThreadState* __tstate = wxPyBeginAllowThreads();
4623 wxPyBitmapShape_base_OnSize(_arg0,_arg1,_arg2);
4624
4625 wxPyEndAllowThreads(__tstate);
4626 if (PyErr_Occurred()) return NULL;
4627 } Py_INCREF(Py_None);
4628 _resultobj = Py_None;
4629 return _resultobj;
4630 }
4631
4632 #define wxPyBitmapShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4633 static PyObject *_wrap_wxPyBitmapShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
4634 PyObject * _resultobj;
4635 bool _result;
4636 wxPyBitmapShape * _arg0;
4637 wxDC * _arg1;
4638 double _arg2;
4639 double _arg3;
4640 double _arg4;
4641 double _arg5;
4642 bool _arg6 = (bool ) TRUE;
4643 PyObject * _argo0 = 0;
4644 PyObject * _argo1 = 0;
4645 int tempbool6 = (int) TRUE;
4646 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
4647
4648 self = self;
4649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyBitmapShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
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_OnMovePre. Expected _wxPyBitmapShape_p.");
4655 return NULL;
4656 }
4657 }
4658 if (_argo1) {
4659 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4660 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnMovePre. Expected _wxDC_p.");
4661 return NULL;
4662 }
4663 }
4664 _arg6 = (bool ) tempbool6;
4665 {
4666 PyThreadState* __tstate = wxPyBeginAllowThreads();
4667 _result = (bool )wxPyBitmapShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
4668
4669 wxPyEndAllowThreads(__tstate);
4670 if (PyErr_Occurred()) return NULL;
4671 } _resultobj = Py_BuildValue("i",_result);
4672 return _resultobj;
4673 }
4674
4675 #define wxPyBitmapShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4676 static PyObject *_wrap_wxPyBitmapShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
4677 PyObject * _resultobj;
4678 wxPyBitmapShape * _arg0;
4679 wxDC * _arg1;
4680 double _arg2;
4681 double _arg3;
4682 double _arg4;
4683 double _arg5;
4684 bool _arg6 = (bool ) TRUE;
4685 PyObject * _argo0 = 0;
4686 PyObject * _argo1 = 0;
4687 int tempbool6 = (int) TRUE;
4688 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
4689
4690 self = self;
4691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyBitmapShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
4692 return NULL;
4693 if (_argo0) {
4694 if (_argo0 == Py_None) { _arg0 = NULL; }
4695 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4696 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnMovePost. Expected _wxPyBitmapShape_p.");
4697 return NULL;
4698 }
4699 }
4700 if (_argo1) {
4701 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4702 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnMovePost. Expected _wxDC_p.");
4703 return NULL;
4704 }
4705 }
4706 _arg6 = (bool ) tempbool6;
4707 {
4708 PyThreadState* __tstate = wxPyBeginAllowThreads();
4709 wxPyBitmapShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
4710
4711 wxPyEndAllowThreads(__tstate);
4712 if (PyErr_Occurred()) return NULL;
4713 } Py_INCREF(Py_None);
4714 _resultobj = Py_None;
4715 return _resultobj;
4716 }
4717
4718 #define wxPyBitmapShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4719 static PyObject *_wrap_wxPyBitmapShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
4720 PyObject * _resultobj;
4721 wxPyBitmapShape * _arg0;
4722 bool _arg1;
4723 double _arg2;
4724 double _arg3;
4725 int _arg4 = (int ) 0;
4726 int _arg5 = (int ) 0;
4727 PyObject * _argo0 = 0;
4728 int tempbool1;
4729 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
4730
4731 self = self;
4732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyBitmapShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
4733 return NULL;
4734 if (_argo0) {
4735 if (_argo0 == Py_None) { _arg0 = NULL; }
4736 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4737 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDragLeft. Expected _wxPyBitmapShape_p.");
4738 return NULL;
4739 }
4740 }
4741 _arg1 = (bool ) tempbool1;
4742 {
4743 PyThreadState* __tstate = wxPyBeginAllowThreads();
4744 wxPyBitmapShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
4745
4746 wxPyEndAllowThreads(__tstate);
4747 if (PyErr_Occurred()) return NULL;
4748 } Py_INCREF(Py_None);
4749 _resultobj = Py_None;
4750 return _resultobj;
4751 }
4752
4753 #define wxPyBitmapShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4754 static PyObject *_wrap_wxPyBitmapShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
4755 PyObject * _resultobj;
4756 wxPyBitmapShape * _arg0;
4757 double _arg1;
4758 double _arg2;
4759 int _arg3 = (int ) 0;
4760 int _arg4 = (int ) 0;
4761 PyObject * _argo0 = 0;
4762 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
4763
4764 self = self;
4765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
4766 return NULL;
4767 if (_argo0) {
4768 if (_argo0 == Py_None) { _arg0 = NULL; }
4769 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4770 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnBeginDragLeft. Expected _wxPyBitmapShape_p.");
4771 return NULL;
4772 }
4773 }
4774 {
4775 PyThreadState* __tstate = wxPyBeginAllowThreads();
4776 wxPyBitmapShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
4777
4778 wxPyEndAllowThreads(__tstate);
4779 if (PyErr_Occurred()) return NULL;
4780 } Py_INCREF(Py_None);
4781 _resultobj = Py_None;
4782 return _resultobj;
4783 }
4784
4785 #define wxPyBitmapShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4786 static PyObject *_wrap_wxPyBitmapShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
4787 PyObject * _resultobj;
4788 wxPyBitmapShape * _arg0;
4789 double _arg1;
4790 double _arg2;
4791 int _arg3 = (int ) 0;
4792 int _arg4 = (int ) 0;
4793 PyObject * _argo0 = 0;
4794 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
4795
4796 self = self;
4797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
4798 return NULL;
4799 if (_argo0) {
4800 if (_argo0 == Py_None) { _arg0 = NULL; }
4801 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4802 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnEndDragLeft. Expected _wxPyBitmapShape_p.");
4803 return NULL;
4804 }
4805 }
4806 {
4807 PyThreadState* __tstate = wxPyBeginAllowThreads();
4808 wxPyBitmapShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
4809
4810 wxPyEndAllowThreads(__tstate);
4811 if (PyErr_Occurred()) return NULL;
4812 } Py_INCREF(Py_None);
4813 _resultobj = Py_None;
4814 return _resultobj;
4815 }
4816
4817 #define wxPyBitmapShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4818 static PyObject *_wrap_wxPyBitmapShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
4819 PyObject * _resultobj;
4820 wxPyBitmapShape * _arg0;
4821 bool _arg1;
4822 double _arg2;
4823 double _arg3;
4824 int _arg4 = (int ) 0;
4825 int _arg5 = (int ) 0;
4826 PyObject * _argo0 = 0;
4827 int tempbool1;
4828 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
4829
4830 self = self;
4831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyBitmapShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
4832 return NULL;
4833 if (_argo0) {
4834 if (_argo0 == Py_None) { _arg0 = NULL; }
4835 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4836 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDragRight. Expected _wxPyBitmapShape_p.");
4837 return NULL;
4838 }
4839 }
4840 _arg1 = (bool ) tempbool1;
4841 {
4842 PyThreadState* __tstate = wxPyBeginAllowThreads();
4843 wxPyBitmapShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
4844
4845 wxPyEndAllowThreads(__tstate);
4846 if (PyErr_Occurred()) return NULL;
4847 } Py_INCREF(Py_None);
4848 _resultobj = Py_None;
4849 return _resultobj;
4850 }
4851
4852 #define wxPyBitmapShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4853 static PyObject *_wrap_wxPyBitmapShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
4854 PyObject * _resultobj;
4855 wxPyBitmapShape * _arg0;
4856 double _arg1;
4857 double _arg2;
4858 int _arg3 = (int ) 0;
4859 int _arg4 = (int ) 0;
4860 PyObject * _argo0 = 0;
4861 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
4862
4863 self = self;
4864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
4865 return NULL;
4866 if (_argo0) {
4867 if (_argo0 == Py_None) { _arg0 = NULL; }
4868 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4869 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnBeginDragRight. Expected _wxPyBitmapShape_p.");
4870 return NULL;
4871 }
4872 }
4873 {
4874 PyThreadState* __tstate = wxPyBeginAllowThreads();
4875 wxPyBitmapShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
4876
4877 wxPyEndAllowThreads(__tstate);
4878 if (PyErr_Occurred()) return NULL;
4879 } Py_INCREF(Py_None);
4880 _resultobj = Py_None;
4881 return _resultobj;
4882 }
4883
4884 #define wxPyBitmapShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4885 static PyObject *_wrap_wxPyBitmapShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
4886 PyObject * _resultobj;
4887 wxPyBitmapShape * _arg0;
4888 double _arg1;
4889 double _arg2;
4890 int _arg3 = (int ) 0;
4891 int _arg4 = (int ) 0;
4892 PyObject * _argo0 = 0;
4893 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
4894
4895 self = self;
4896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
4897 return NULL;
4898 if (_argo0) {
4899 if (_argo0 == Py_None) { _arg0 = NULL; }
4900 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4901 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnEndDragRight. Expected _wxPyBitmapShape_p.");
4902 return NULL;
4903 }
4904 }
4905 {
4906 PyThreadState* __tstate = wxPyBeginAllowThreads();
4907 wxPyBitmapShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
4908
4909 wxPyEndAllowThreads(__tstate);
4910 if (PyErr_Occurred()) return NULL;
4911 } Py_INCREF(Py_None);
4912 _resultobj = Py_None;
4913 return _resultobj;
4914 }
4915
4916 #define wxPyBitmapShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4917 static PyObject *_wrap_wxPyBitmapShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
4918 PyObject * _resultobj;
4919 wxPyBitmapShape * _arg0;
4920 wxDC * _arg1;
4921 double _arg2;
4922 double _arg3;
4923 double _arg4;
4924 double _arg5;
4925 PyObject * _argo0 = 0;
4926 PyObject * _argo1 = 0;
4927 char *_kwnames[] = { "self","dc","x","y","w","h", NULL };
4928
4929 self = self;
4930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyBitmapShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
4931 return NULL;
4932 if (_argo0) {
4933 if (_argo0 == Py_None) { _arg0 = NULL; }
4934 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4935 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDrawOutline. Expected _wxPyBitmapShape_p.");
4936 return NULL;
4937 }
4938 }
4939 if (_argo1) {
4940 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4941 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnDrawOutline. Expected _wxDC_p.");
4942 return NULL;
4943 }
4944 }
4945 {
4946 PyThreadState* __tstate = wxPyBeginAllowThreads();
4947 wxPyBitmapShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5);
4948
4949 wxPyEndAllowThreads(__tstate);
4950 if (PyErr_Occurred()) return NULL;
4951 } Py_INCREF(Py_None);
4952 _resultobj = Py_None;
4953 return _resultobj;
4954 }
4955
4956 #define wxPyBitmapShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
4957 static PyObject *_wrap_wxPyBitmapShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
4958 PyObject * _resultobj;
4959 wxPyBitmapShape * _arg0;
4960 wxDC * _arg1;
4961 PyObject * _argo0 = 0;
4962 PyObject * _argo1 = 0;
4963 char *_kwnames[] = { "self","dc", NULL };
4964
4965 self = self;
4966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1))
4967 return NULL;
4968 if (_argo0) {
4969 if (_argo0 == Py_None) { _arg0 = NULL; }
4970 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4971 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDrawControlPoints. Expected _wxPyBitmapShape_p.");
4972 return NULL;
4973 }
4974 }
4975 if (_argo1) {
4976 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4977 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnDrawControlPoints. Expected _wxDC_p.");
4978 return NULL;
4979 }
4980 }
4981 {
4982 PyThreadState* __tstate = wxPyBeginAllowThreads();
4983 wxPyBitmapShape_base_OnDrawControlPoints(_arg0,*_arg1);
4984
4985 wxPyEndAllowThreads(__tstate);
4986 if (PyErr_Occurred()) return NULL;
4987 } Py_INCREF(Py_None);
4988 _resultobj = Py_None;
4989 return _resultobj;
4990 }
4991
4992 #define wxPyBitmapShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
4993 static PyObject *_wrap_wxPyBitmapShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
4994 PyObject * _resultobj;
4995 wxPyBitmapShape * _arg0;
4996 wxDC * _arg1;
4997 PyObject * _argo0 = 0;
4998 PyObject * _argo1 = 0;
4999 char *_kwnames[] = { "self","dc", NULL };
5000
5001 self = self;
5002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1))
5003 return NULL;
5004 if (_argo0) {
5005 if (_argo0 == Py_None) { _arg0 = NULL; }
5006 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
5007 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnEraseControlPoints. Expected _wxPyBitmapShape_p.");
5008 return NULL;
5009 }
5010 }
5011 if (_argo1) {
5012 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
5013 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnEraseControlPoints. Expected _wxDC_p.");
5014 return NULL;
5015 }
5016 }
5017 {
5018 PyThreadState* __tstate = wxPyBeginAllowThreads();
5019 wxPyBitmapShape_base_OnEraseControlPoints(_arg0,*_arg1);
5020
5021 wxPyEndAllowThreads(__tstate);
5022 if (PyErr_Occurred()) return NULL;
5023 } Py_INCREF(Py_None);
5024 _resultobj = Py_None;
5025 return _resultobj;
5026 }
5027
5028 #define wxPyBitmapShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
5029 static PyObject *_wrap_wxPyBitmapShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
5030 PyObject * _resultobj;
5031 wxPyBitmapShape * _arg0;
5032 wxDC * _arg1;
5033 bool _arg2 = (bool ) TRUE;
5034 PyObject * _argo0 = 0;
5035 PyObject * _argo1 = 0;
5036 int tempbool2 = (int) TRUE;
5037 char *_kwnames[] = { "self","dc","moveControlPoints", NULL };
5038
5039 self = self;
5040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyBitmapShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2))
5041 return NULL;
5042 if (_argo0) {
5043 if (_argo0 == Py_None) { _arg0 = NULL; }
5044 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
5045 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnMoveLink. Expected _wxPyBitmapShape_p.");
5046 return NULL;
5047 }
5048 }
5049 if (_argo1) {
5050 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
5051 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnMoveLink. Expected _wxDC_p.");
5052 return NULL;
5053 }
5054 }
5055 _arg2 = (bool ) tempbool2;
5056 {
5057 PyThreadState* __tstate = wxPyBeginAllowThreads();
5058 wxPyBitmapShape_base_OnMoveLink(_arg0,*_arg1,_arg2);
5059
5060 wxPyEndAllowThreads(__tstate);
5061 if (PyErr_Occurred()) return NULL;
5062 } Py_INCREF(Py_None);
5063 _resultobj = Py_None;
5064 return _resultobj;
5065 }
5066
5067 #define wxPyBitmapShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5068 static PyObject *_wrap_wxPyBitmapShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
5069 PyObject * _resultobj;
5070 wxPyBitmapShape * _arg0;
5071 wxPyControlPoint * _arg1;
5072 bool _arg2;
5073 double _arg3;
5074 double _arg4;
5075 int _arg5 = (int ) 0;
5076 int _arg6 = (int ) 0;
5077 PyObject * _argo0 = 0;
5078 PyObject * _argo1 = 0;
5079 int tempbool2;
5080 char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL };
5081
5082 self = self;
5083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyBitmapShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6))
5084 return NULL;
5085 if (_argo0) {
5086 if (_argo0 == Py_None) { _arg0 = NULL; }
5087 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
5088 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnSizingDragLeft. Expected _wxPyBitmapShape_p.");
5089 return NULL;
5090 }
5091 }
5092 if (_argo1) {
5093 if (_argo1 == Py_None) { _arg1 = NULL; }
5094 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
5095 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
5096 return NULL;
5097 }
5098 }
5099 _arg2 = (bool ) tempbool2;
5100 {
5101 PyThreadState* __tstate = wxPyBeginAllowThreads();
5102 wxPyBitmapShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
5103
5104 wxPyEndAllowThreads(__tstate);
5105 if (PyErr_Occurred()) return NULL;
5106 } Py_INCREF(Py_None);
5107 _resultobj = Py_None;
5108 return _resultobj;
5109 }
5110
5111 #define wxPyBitmapShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5112 static PyObject *_wrap_wxPyBitmapShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
5113 PyObject * _resultobj;
5114 wxPyBitmapShape * _arg0;
5115 wxPyControlPoint * _arg1;
5116 double _arg2;
5117 double _arg3;
5118 int _arg4 = (int ) 0;
5119 int _arg5 = (int ) 0;
5120 PyObject * _argo0 = 0;
5121 PyObject * _argo1 = 0;
5122 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
5123
5124 self = self;
5125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyBitmapShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
5126 return NULL;
5127 if (_argo0) {
5128 if (_argo0 == Py_None) { _arg0 = NULL; }
5129 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
5130 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnSizingBeginDragLeft. Expected _wxPyBitmapShape_p.");
5131 return NULL;
5132 }
5133 }
5134 if (_argo1) {
5135 if (_argo1 == Py_None) { _arg1 = NULL; }
5136 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
5137 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
5138 return NULL;
5139 }
5140 }
5141 {
5142 PyThreadState* __tstate = wxPyBeginAllowThreads();
5143 wxPyBitmapShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
5144
5145 wxPyEndAllowThreads(__tstate);
5146 if (PyErr_Occurred()) return NULL;
5147 } Py_INCREF(Py_None);
5148 _resultobj = Py_None;
5149 return _resultobj;
5150 }
5151
5152 #define wxPyBitmapShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5153 static PyObject *_wrap_wxPyBitmapShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
5154 PyObject * _resultobj;
5155 wxPyBitmapShape * _arg0;
5156 wxPyControlPoint * _arg1;
5157 double _arg2;
5158 double _arg3;
5159 int _arg4 = (int ) 0;
5160 int _arg5 = (int ) 0;
5161 PyObject * _argo0 = 0;
5162 PyObject * _argo1 = 0;
5163 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
5164
5165 self = self;
5166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyBitmapShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
5167 return NULL;
5168 if (_argo0) {
5169 if (_argo0 == Py_None) { _arg0 = NULL; }
5170 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
5171 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnSizingEndDragLeft. Expected _wxPyBitmapShape_p.");
5172 return NULL;
5173 }
5174 }
5175 if (_argo1) {
5176 if (_argo1 == Py_None) { _arg1 = NULL; }
5177 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
5178 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
5179 return NULL;
5180 }
5181 }
5182 {
5183 PyThreadState* __tstate = wxPyBeginAllowThreads();
5184 wxPyBitmapShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
5185
5186 wxPyEndAllowThreads(__tstate);
5187 if (PyErr_Occurred()) return NULL;
5188 } Py_INCREF(Py_None);
5189 _resultobj = Py_None;
5190 return _resultobj;
5191 }
5192
5193 #define wxPyBitmapShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
5194 static PyObject *_wrap_wxPyBitmapShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5195 PyObject * _resultobj;
5196 wxPyBitmapShape * _arg0;
5197 double _arg1;
5198 double _arg2;
5199 PyObject * _argo0 = 0;
5200 char *_kwnames[] = { "self","w","h", NULL };
5201
5202 self = self;
5203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyBitmapShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2))
5204 return NULL;
5205 if (_argo0) {
5206 if (_argo0 == Py_None) { _arg0 = NULL; }
5207 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
5208 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnBeginSize. Expected _wxPyBitmapShape_p.");
5209 return NULL;
5210 }
5211 }
5212 {
5213 PyThreadState* __tstate = wxPyBeginAllowThreads();
5214 wxPyBitmapShape_base_OnBeginSize(_arg0,_arg1,_arg2);
5215
5216 wxPyEndAllowThreads(__tstate);
5217 if (PyErr_Occurred()) return NULL;
5218 } Py_INCREF(Py_None);
5219 _resultobj = Py_None;
5220 return _resultobj;
5221 }
5222
5223 #define wxPyBitmapShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
5224 static PyObject *_wrap_wxPyBitmapShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5225 PyObject * _resultobj;
5226 wxPyBitmapShape * _arg0;
5227 double _arg1;
5228 double _arg2;
5229 PyObject * _argo0 = 0;
5230 char *_kwnames[] = { "self","w","h", NULL };
5231
5232 self = self;
5233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyBitmapShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2))
5234 return NULL;
5235 if (_argo0) {
5236 if (_argo0 == Py_None) { _arg0 = NULL; }
5237 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
5238 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnEndSize. Expected _wxPyBitmapShape_p.");
5239 return NULL;
5240 }
5241 }
5242 {
5243 PyThreadState* __tstate = wxPyBeginAllowThreads();
5244 wxPyBitmapShape_base_OnEndSize(_arg0,_arg1,_arg2);
5245
5246 wxPyEndAllowThreads(__tstate);
5247 if (PyErr_Occurred()) return NULL;
5248 } Py_INCREF(Py_None);
5249 _resultobj = Py_None;
5250 return _resultobj;
5251 }
5252
5253 static void *SwigwxPyDrawnShapeTowxPyRectangleShape(void *ptr) {
5254 wxPyDrawnShape *src;
5255 wxPyRectangleShape *dest;
5256 src = (wxPyDrawnShape *) ptr;
5257 dest = (wxPyRectangleShape *) src;
5258 return (void *) dest;
5259 }
5260
5261 static void *SwigwxPyDrawnShapeTowxPyShape(void *ptr) {
5262 wxPyDrawnShape *src;
5263 wxPyShape *dest;
5264 src = (wxPyDrawnShape *) ptr;
5265 dest = (wxPyShape *) src;
5266 return (void *) dest;
5267 }
5268
5269 static void *SwigwxPyDrawnShapeTowxPyShapeEvtHandler(void *ptr) {
5270 wxPyDrawnShape *src;
5271 wxPyShapeEvtHandler *dest;
5272 src = (wxPyDrawnShape *) ptr;
5273 dest = (wxPyShapeEvtHandler *) src;
5274 return (void *) dest;
5275 }
5276
5277 static void *SwigwxPyDrawnShapeTowxObject(void *ptr) {
5278 wxPyDrawnShape *src;
5279 wxObject *dest;
5280 src = (wxPyDrawnShape *) ptr;
5281 dest = (wxObject *) src;
5282 return (void *) dest;
5283 }
5284
5285 #define new_wxPyDrawnShape() (new wxPyDrawnShape())
5286 static PyObject *_wrap_new_wxPyDrawnShape(PyObject *self, PyObject *args, PyObject *kwargs) {
5287 PyObject * _resultobj;
5288 wxPyDrawnShape * _result;
5289 char *_kwnames[] = { NULL };
5290 char _ptemp[128];
5291
5292 self = self;
5293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyDrawnShape",_kwnames))
5294 return NULL;
5295 {
5296 PyThreadState* __tstate = wxPyBeginAllowThreads();
5297 _result = (wxPyDrawnShape *)new_wxPyDrawnShape();
5298
5299 wxPyEndAllowThreads(__tstate);
5300 if (PyErr_Occurred()) return NULL;
5301 } if (_result) {
5302 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyDrawnShape_p");
5303 _resultobj = Py_BuildValue("s",_ptemp);
5304 } else {
5305 Py_INCREF(Py_None);
5306 _resultobj = Py_None;
5307 }
5308 return _resultobj;
5309 }
5310
5311 #define wxPyDrawnShape__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5312 static PyObject *_wrap_wxPyDrawnShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5313 PyObject * _resultobj;
5314 wxPyDrawnShape * _arg0;
5315 PyObject * _arg1;
5316 PyObject * _arg2;
5317 PyObject * _argo0 = 0;
5318 PyObject * _obj1 = 0;
5319 PyObject * _obj2 = 0;
5320 char *_kwnames[] = { "self","self","_class", NULL };
5321
5322 self = self;
5323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyDrawnShape__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
5324 return NULL;
5325 if (_argo0) {
5326 if (_argo0 == Py_None) { _arg0 = NULL; }
5327 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5328 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape__setCallbackInfo. Expected _wxPyDrawnShape_p.");
5329 return NULL;
5330 }
5331 }
5332 {
5333 _arg1 = _obj1;
5334 }
5335 {
5336 _arg2 = _obj2;
5337 }
5338 {
5339 PyThreadState* __tstate = wxPyBeginAllowThreads();
5340 wxPyDrawnShape__setCallbackInfo(_arg0,_arg1,_arg2);
5341
5342 wxPyEndAllowThreads(__tstate);
5343 if (PyErr_Occurred()) return NULL;
5344 } Py_INCREF(Py_None);
5345 _resultobj = Py_None;
5346 return _resultobj;
5347 }
5348
5349 #define wxPyDrawnShape_CalculateSize(_swigobj) (_swigobj->CalculateSize())
5350 static PyObject *_wrap_wxPyDrawnShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5351 PyObject * _resultobj;
5352 wxPyDrawnShape * _arg0;
5353 PyObject * _argo0 = 0;
5354 char *_kwnames[] = { "self", NULL };
5355
5356 self = self;
5357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_CalculateSize",_kwnames,&_argo0))
5358 return NULL;
5359 if (_argo0) {
5360 if (_argo0 == Py_None) { _arg0 = NULL; }
5361 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5362 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_CalculateSize. Expected _wxPyDrawnShape_p.");
5363 return NULL;
5364 }
5365 }
5366 {
5367 PyThreadState* __tstate = wxPyBeginAllowThreads();
5368 wxPyDrawnShape_CalculateSize(_arg0);
5369
5370 wxPyEndAllowThreads(__tstate);
5371 if (PyErr_Occurred()) return NULL;
5372 } Py_INCREF(Py_None);
5373 _resultobj = Py_None;
5374 return _resultobj;
5375 }
5376
5377 #define wxPyDrawnShape_DestroyClippingRect(_swigobj) (_swigobj->DestroyClippingRect())
5378 static PyObject *_wrap_wxPyDrawnShape_DestroyClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
5379 PyObject * _resultobj;
5380 wxPyDrawnShape * _arg0;
5381 PyObject * _argo0 = 0;
5382 char *_kwnames[] = { "self", NULL };
5383
5384 self = self;
5385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_DestroyClippingRect",_kwnames,&_argo0))
5386 return NULL;
5387 if (_argo0) {
5388 if (_argo0 == Py_None) { _arg0 = NULL; }
5389 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5390 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DestroyClippingRect. Expected _wxPyDrawnShape_p.");
5391 return NULL;
5392 }
5393 }
5394 {
5395 PyThreadState* __tstate = wxPyBeginAllowThreads();
5396 wxPyDrawnShape_DestroyClippingRect(_arg0);
5397
5398 wxPyEndAllowThreads(__tstate);
5399 if (PyErr_Occurred()) return NULL;
5400 } Py_INCREF(Py_None);
5401 _resultobj = Py_None;
5402 return _resultobj;
5403 }
5404
5405 #define wxPyDrawnShape_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2))
5406 static PyObject *_wrap_wxPyDrawnShape_DrawArc(PyObject *self, PyObject *args, PyObject *kwargs) {
5407 PyObject * _resultobj;
5408 wxPyDrawnShape * _arg0;
5409 wxPoint * _arg1;
5410 wxPoint * _arg2;
5411 wxPoint * _arg3;
5412 PyObject * _argo0 = 0;
5413 wxPoint temp;
5414 PyObject * _obj1 = 0;
5415 wxPoint temp0;
5416 PyObject * _obj2 = 0;
5417 wxPoint temp1;
5418 PyObject * _obj3 = 0;
5419 char *_kwnames[] = { "self","centrePoint","startPoint","endPoint", NULL };
5420
5421 self = self;
5422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxPyDrawnShape_DrawArc",_kwnames,&_argo0,&_obj1,&_obj2,&_obj3))
5423 return NULL;
5424 if (_argo0) {
5425 if (_argo0 == Py_None) { _arg0 = NULL; }
5426 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5427 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawArc. Expected _wxPyDrawnShape_p.");
5428 return NULL;
5429 }
5430 }
5431 {
5432 _arg1 = &temp;
5433 if (! wxPoint_helper(_obj1, &_arg1))
5434 return NULL;
5435 }
5436 {
5437 _arg2 = &temp0;
5438 if (! wxPoint_helper(_obj2, &_arg2))
5439 return NULL;
5440 }
5441 {
5442 _arg3 = &temp1;
5443 if (! wxPoint_helper(_obj3, &_arg3))
5444 return NULL;
5445 }
5446 {
5447 PyThreadState* __tstate = wxPyBeginAllowThreads();
5448 wxPyDrawnShape_DrawArc(_arg0,*_arg1,*_arg2,*_arg3);
5449
5450 wxPyEndAllowThreads(__tstate);
5451 if (PyErr_Occurred()) return NULL;
5452 } Py_INCREF(Py_None);
5453 _resultobj = Py_None;
5454 return _resultobj;
5455 }
5456
5457 #define wxPyDrawnShape_DrawAtAngle(_swigobj,_swigarg0) (_swigobj->DrawAtAngle(_swigarg0))
5458 static PyObject *_wrap_wxPyDrawnShape_DrawAtAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
5459 PyObject * _resultobj;
5460 wxPyDrawnShape * _arg0;
5461 int _arg1;
5462 PyObject * _argo0 = 0;
5463 char *_kwnames[] = { "self","angle", NULL };
5464
5465 self = self;
5466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDrawnShape_DrawAtAngle",_kwnames,&_argo0,&_arg1))
5467 return NULL;
5468 if (_argo0) {
5469 if (_argo0 == Py_None) { _arg0 = NULL; }
5470 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5471 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawAtAngle. Expected _wxPyDrawnShape_p.");
5472 return NULL;
5473 }
5474 }
5475 {
5476 PyThreadState* __tstate = wxPyBeginAllowThreads();
5477 wxPyDrawnShape_DrawAtAngle(_arg0,_arg1);
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_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2))
5487 static PyObject *_wrap_wxPyDrawnShape_DrawEllipticArc(PyObject *self, PyObject *args, PyObject *kwargs) {
5488 PyObject * _resultobj;
5489 wxPyDrawnShape * _arg0;
5490 wxRect * _arg1;
5491 double _arg2;
5492 double _arg3;
5493 PyObject * _argo0 = 0;
5494 wxRect temp;
5495 PyObject * _obj1 = 0;
5496 char *_kwnames[] = { "self","rect","startAngle","endAngle", NULL };
5497
5498 self = self;
5499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd:wxPyDrawnShape_DrawEllipticArc",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3))
5500 return NULL;
5501 if (_argo0) {
5502 if (_argo0 == Py_None) { _arg0 = NULL; }
5503 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5504 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawEllipticArc. Expected _wxPyDrawnShape_p.");
5505 return NULL;
5506 }
5507 }
5508 {
5509 _arg1 = &temp;
5510 if (! wxRect_helper(_obj1, &_arg1))
5511 return NULL;
5512 }
5513 {
5514 PyThreadState* __tstate = wxPyBeginAllowThreads();
5515 wxPyDrawnShape_DrawEllipticArc(_arg0,*_arg1,_arg2,_arg3);
5516
5517 wxPyEndAllowThreads(__tstate);
5518 if (PyErr_Occurred()) return NULL;
5519 } Py_INCREF(Py_None);
5520 _resultobj = Py_None;
5521 return _resultobj;
5522 }
5523
5524 #define wxPyDrawnShape_DrawLine(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawLine(_swigarg0,_swigarg1))
5525 static PyObject *_wrap_wxPyDrawnShape_DrawLine(PyObject *self, PyObject *args, PyObject *kwargs) {
5526 PyObject * _resultobj;
5527 wxPyDrawnShape * _arg0;
5528 wxPoint * _arg1;
5529 wxPoint * _arg2;
5530 PyObject * _argo0 = 0;
5531 wxPoint temp;
5532 PyObject * _obj1 = 0;
5533 wxPoint temp0;
5534 PyObject * _obj2 = 0;
5535 char *_kwnames[] = { "self","point1","point2", NULL };
5536
5537 self = self;
5538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyDrawnShape_DrawLine",_kwnames,&_argo0,&_obj1,&_obj2))
5539 return NULL;
5540 if (_argo0) {
5541 if (_argo0 == Py_None) { _arg0 = NULL; }
5542 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5543 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawLine. Expected _wxPyDrawnShape_p.");
5544 return NULL;
5545 }
5546 }
5547 {
5548 _arg1 = &temp;
5549 if (! wxPoint_helper(_obj1, &_arg1))
5550 return NULL;
5551 }
5552 {
5553 _arg2 = &temp0;
5554 if (! wxPoint_helper(_obj2, &_arg2))
5555 return NULL;
5556 }
5557 {
5558 PyThreadState* __tstate = wxPyBeginAllowThreads();
5559 wxPyDrawnShape_DrawLine(_arg0,*_arg1,*_arg2);
5560
5561 wxPyEndAllowThreads(__tstate);
5562 if (PyErr_Occurred()) return NULL;
5563 } Py_INCREF(Py_None);
5564 _resultobj = Py_None;
5565 return _resultobj;
5566 }
5567
5568 #define wxPyDrawnShape_DrawLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawLines(_swigarg0,_swigarg1))
5569 static PyObject *_wrap_wxPyDrawnShape_DrawLines(PyObject *self, PyObject *args, PyObject *kwargs) {
5570 PyObject * _resultobj;
5571 wxPyDrawnShape * _arg0;
5572 int _arg1;
5573 wxPoint * _arg2;
5574 PyObject * _argo0 = 0;
5575 int NPOINTS;
5576 PyObject * _obj2 = 0;
5577 char *_kwnames[] = { "self","points", NULL };
5578
5579 self = self;
5580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_DrawLines",_kwnames,&_argo0,&_obj2))
5581 return NULL;
5582 if (_argo0) {
5583 if (_argo0 == Py_None) { _arg0 = NULL; }
5584 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5585 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawLines. Expected _wxPyDrawnShape_p.");
5586 return NULL;
5587 }
5588 }
5589 if (_obj2)
5590 {
5591 _arg2 = wxPoint_LIST_helper(_obj2, &NPOINTS);
5592 if (_arg2 == NULL) {
5593 return NULL;
5594 }
5595 }
5596 {
5597 _arg1 = NPOINTS;
5598 }
5599 {
5600 PyThreadState* __tstate = wxPyBeginAllowThreads();
5601 wxPyDrawnShape_DrawLines(_arg0,_arg1,_arg2);
5602
5603 wxPyEndAllowThreads(__tstate);
5604 if (PyErr_Occurred()) return NULL;
5605 } Py_INCREF(Py_None);
5606 _resultobj = Py_None;
5607 {
5608 delete [] _arg2;
5609 }
5610 return _resultobj;
5611 }
5612
5613 #define wxPyDrawnShape_DrawPoint(_swigobj,_swigarg0) (_swigobj->DrawPoint(_swigarg0))
5614 static PyObject *_wrap_wxPyDrawnShape_DrawPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
5615 PyObject * _resultobj;
5616 wxPyDrawnShape * _arg0;
5617 wxPoint * _arg1;
5618 PyObject * _argo0 = 0;
5619 wxPoint temp;
5620 PyObject * _obj1 = 0;
5621 char *_kwnames[] = { "self","point", NULL };
5622
5623 self = self;
5624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_DrawPoint",_kwnames,&_argo0,&_obj1))
5625 return NULL;
5626 if (_argo0) {
5627 if (_argo0 == Py_None) { _arg0 = NULL; }
5628 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5629 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawPoint. Expected _wxPyDrawnShape_p.");
5630 return NULL;
5631 }
5632 }
5633 {
5634 _arg1 = &temp;
5635 if (! wxPoint_helper(_obj1, &_arg1))
5636 return NULL;
5637 }
5638 {
5639 PyThreadState* __tstate = wxPyBeginAllowThreads();
5640 wxPyDrawnShape_DrawPoint(_arg0,*_arg1);
5641
5642 wxPyEndAllowThreads(__tstate);
5643 if (PyErr_Occurred()) return NULL;
5644 } Py_INCREF(Py_None);
5645 _resultobj = Py_None;
5646 return _resultobj;
5647 }
5648
5649 #define wxPyDrawnShape_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2))
5650 static PyObject *_wrap_wxPyDrawnShape_DrawPolygon(PyObject *self, PyObject *args, PyObject *kwargs) {
5651 PyObject * _resultobj;
5652 wxPyDrawnShape * _arg0;
5653 int _arg1;
5654 wxPoint * _arg2;
5655 int _arg3 = (int ) 0;
5656 PyObject * _argo0 = 0;
5657 int NPOINTS;
5658 PyObject * _obj2 = 0;
5659 char *_kwnames[] = { "self","points","flags", NULL };
5660
5661 self = self;
5662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDrawnShape_DrawPolygon",_kwnames,&_argo0,&_obj2,&_arg3))
5663 return NULL;
5664 if (_argo0) {
5665 if (_argo0 == Py_None) { _arg0 = NULL; }
5666 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5667 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawPolygon. Expected _wxPyDrawnShape_p.");
5668 return NULL;
5669 }
5670 }
5671 if (_obj2)
5672 {
5673 _arg2 = wxPoint_LIST_helper(_obj2, &NPOINTS);
5674 if (_arg2 == NULL) {
5675 return NULL;
5676 }
5677 }
5678 {
5679 _arg1 = NPOINTS;
5680 }
5681 {
5682 PyThreadState* __tstate = wxPyBeginAllowThreads();
5683 wxPyDrawnShape_DrawPolygon(_arg0,_arg1,_arg2,_arg3);
5684
5685 wxPyEndAllowThreads(__tstate);
5686 if (PyErr_Occurred()) return NULL;
5687 } Py_INCREF(Py_None);
5688 _resultobj = Py_None;
5689 {
5690 delete [] _arg2;
5691 }
5692 return _resultobj;
5693 }
5694
5695 #define wxPyDrawnShape_DrawRectangle(_swigobj,_swigarg0) (_swigobj->DrawRectangle(_swigarg0))
5696 static PyObject *_wrap_wxPyDrawnShape_DrawRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
5697 PyObject * _resultobj;
5698 wxPyDrawnShape * _arg0;
5699 wxRect * _arg1;
5700 PyObject * _argo0 = 0;
5701 wxRect temp;
5702 PyObject * _obj1 = 0;
5703 char *_kwnames[] = { "self","rect", NULL };
5704
5705 self = self;
5706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_DrawRectangle",_kwnames,&_argo0,&_obj1))
5707 return NULL;
5708 if (_argo0) {
5709 if (_argo0 == Py_None) { _arg0 = NULL; }
5710 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5711 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawRectangle. Expected _wxPyDrawnShape_p.");
5712 return NULL;
5713 }
5714 }
5715 {
5716 _arg1 = &temp;
5717 if (! wxRect_helper(_obj1, &_arg1))
5718 return NULL;
5719 }
5720 {
5721 PyThreadState* __tstate = wxPyBeginAllowThreads();
5722 wxPyDrawnShape_DrawRectangle(_arg0,*_arg1);
5723
5724 wxPyEndAllowThreads(__tstate);
5725 if (PyErr_Occurred()) return NULL;
5726 } Py_INCREF(Py_None);
5727 _resultobj = Py_None;
5728 return _resultobj;
5729 }
5730
5731 #define wxPyDrawnShape_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1))
5732 static PyObject *_wrap_wxPyDrawnShape_DrawRoundedRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
5733 PyObject * _resultobj;
5734 wxPyDrawnShape * _arg0;
5735 wxRect * _arg1;
5736 double _arg2;
5737 PyObject * _argo0 = 0;
5738 wxRect temp;
5739 PyObject * _obj1 = 0;
5740 char *_kwnames[] = { "self","rect","radius", NULL };
5741
5742 self = self;
5743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOd:wxPyDrawnShape_DrawRoundedRectangle",_kwnames,&_argo0,&_obj1,&_arg2))
5744 return NULL;
5745 if (_argo0) {
5746 if (_argo0 == Py_None) { _arg0 = NULL; }
5747 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5748 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawRoundedRectangle. Expected _wxPyDrawnShape_p.");
5749 return NULL;
5750 }
5751 }
5752 {
5753 _arg1 = &temp;
5754 if (! wxRect_helper(_obj1, &_arg1))
5755 return NULL;
5756 }
5757 {
5758 PyThreadState* __tstate = wxPyBeginAllowThreads();
5759 wxPyDrawnShape_DrawRoundedRectangle(_arg0,*_arg1,_arg2);
5760
5761 wxPyEndAllowThreads(__tstate);
5762 if (PyErr_Occurred()) return NULL;
5763 } Py_INCREF(Py_None);
5764 _resultobj = Py_None;
5765 return _resultobj;
5766 }
5767
5768 #define wxPyDrawnShape_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1))
5769 static PyObject *_wrap_wxPyDrawnShape_DrawSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
5770 PyObject * _resultobj;
5771 wxPyDrawnShape * _arg0;
5772 int _arg1;
5773 wxPoint * _arg2;
5774 PyObject * _argo0 = 0;
5775 int NPOINTS;
5776 PyObject * _obj2 = 0;
5777 char *_kwnames[] = { "self","points", NULL };
5778
5779 self = self;
5780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_DrawSpline",_kwnames,&_argo0,&_obj2))
5781 return NULL;
5782 if (_argo0) {
5783 if (_argo0 == Py_None) { _arg0 = NULL; }
5784 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5785 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawSpline. Expected _wxPyDrawnShape_p.");
5786 return NULL;
5787 }
5788 }
5789 if (_obj2)
5790 {
5791 _arg2 = wxPoint_LIST_helper(_obj2, &NPOINTS);
5792 if (_arg2 == NULL) {
5793 return NULL;
5794 }
5795 }
5796 {
5797 _arg1 = NPOINTS;
5798 }
5799 {
5800 PyThreadState* __tstate = wxPyBeginAllowThreads();
5801 wxPyDrawnShape_DrawSpline(_arg0,_arg1,_arg2);
5802
5803 wxPyEndAllowThreads(__tstate);
5804 if (PyErr_Occurred()) return NULL;
5805 } Py_INCREF(Py_None);
5806 _resultobj = Py_None;
5807 {
5808 delete [] _arg2;
5809 }
5810 return _resultobj;
5811 }
5812
5813 #define wxPyDrawnShape_DrawText(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawText(_swigarg0,_swigarg1))
5814 static PyObject *_wrap_wxPyDrawnShape_DrawText(PyObject *self, PyObject *args, PyObject *kwargs) {
5815 PyObject * _resultobj;
5816 wxPyDrawnShape * _arg0;
5817 wxString * _arg1;
5818 wxPoint * _arg2;
5819 PyObject * _argo0 = 0;
5820 PyObject * _obj1 = 0;
5821 wxPoint temp;
5822 PyObject * _obj2 = 0;
5823 char *_kwnames[] = { "self","text","point", NULL };
5824
5825 self = self;
5826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyDrawnShape_DrawText",_kwnames,&_argo0,&_obj1,&_obj2))
5827 return NULL;
5828 if (_argo0) {
5829 if (_argo0 == Py_None) { _arg0 = NULL; }
5830 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5831 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawText. Expected _wxPyDrawnShape_p.");
5832 return NULL;
5833 }
5834 }
5835 {
5836 _arg1 = wxString_in_helper(_obj1);
5837 if (_arg1 == NULL)
5838 return NULL;
5839 }
5840 {
5841 _arg2 = &temp;
5842 if (! wxPoint_helper(_obj2, &_arg2))
5843 return NULL;
5844 }
5845 {
5846 PyThreadState* __tstate = wxPyBeginAllowThreads();
5847 wxPyDrawnShape_DrawText(_arg0,*_arg1,*_arg2);
5848
5849 wxPyEndAllowThreads(__tstate);
5850 if (PyErr_Occurred()) return NULL;
5851 } Py_INCREF(Py_None);
5852 _resultobj = Py_None;
5853 {
5854 if (_obj1)
5855 delete _arg1;
5856 }
5857 return _resultobj;
5858 }
5859
5860 #define wxPyDrawnShape_GetAngle(_swigobj) (_swigobj->GetAngle())
5861 static PyObject *_wrap_wxPyDrawnShape_GetAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
5862 PyObject * _resultobj;
5863 int _result;
5864 wxPyDrawnShape * _arg0;
5865 PyObject * _argo0 = 0;
5866 char *_kwnames[] = { "self", NULL };
5867
5868 self = self;
5869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_GetAngle",_kwnames,&_argo0))
5870 return NULL;
5871 if (_argo0) {
5872 if (_argo0 == Py_None) { _arg0 = NULL; }
5873 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5874 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_GetAngle. Expected _wxPyDrawnShape_p.");
5875 return NULL;
5876 }
5877 }
5878 {
5879 PyThreadState* __tstate = wxPyBeginAllowThreads();
5880 _result = (int )wxPyDrawnShape_GetAngle(_arg0);
5881
5882 wxPyEndAllowThreads(__tstate);
5883 if (PyErr_Occurred()) return NULL;
5884 } _resultobj = Py_BuildValue("i",_result);
5885 return _resultobj;
5886 }
5887
5888 #define wxPyDrawnShape_GetMetaFile(_swigobj) (_swigobj->GetMetaFile())
5889 static PyObject *_wrap_wxPyDrawnShape_GetMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5890 PyObject * _resultobj;
5891 wxPseudoMetaFile * _result;
5892 wxPyDrawnShape * _arg0;
5893 PyObject * _argo0 = 0;
5894 char *_kwnames[] = { "self", NULL };
5895
5896 self = self;
5897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_GetMetaFile",_kwnames,&_argo0))
5898 return NULL;
5899 if (_argo0) {
5900 if (_argo0 == Py_None) { _arg0 = NULL; }
5901 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5902 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_GetMetaFile. Expected _wxPyDrawnShape_p.");
5903 return NULL;
5904 }
5905 }
5906 {
5907 PyThreadState* __tstate = wxPyBeginAllowThreads();
5908 wxPseudoMetaFile & _result_ref = wxPyDrawnShape_GetMetaFile(_arg0);
5909 _result = (wxPseudoMetaFile *) &_result_ref;
5910
5911 wxPyEndAllowThreads(__tstate);
5912 if (PyErr_Occurred()) return NULL;
5913 }{ _resultobj = wxPyMake_wxObject(_result); }
5914 return _resultobj;
5915 }
5916
5917 #define wxPyDrawnShape_GetRotation(_swigobj) (_swigobj->GetRotation())
5918 static PyObject *_wrap_wxPyDrawnShape_GetRotation(PyObject *self, PyObject *args, PyObject *kwargs) {
5919 PyObject * _resultobj;
5920 double _result;
5921 wxPyDrawnShape * _arg0;
5922 PyObject * _argo0 = 0;
5923 char *_kwnames[] = { "self", NULL };
5924
5925 self = self;
5926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_GetRotation",_kwnames,&_argo0))
5927 return NULL;
5928 if (_argo0) {
5929 if (_argo0 == Py_None) { _arg0 = NULL; }
5930 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5931 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_GetRotation. Expected _wxPyDrawnShape_p.");
5932 return NULL;
5933 }
5934 }
5935 {
5936 PyThreadState* __tstate = wxPyBeginAllowThreads();
5937 _result = (double )wxPyDrawnShape_GetRotation(_arg0);
5938
5939 wxPyEndAllowThreads(__tstate);
5940 if (PyErr_Occurred()) return NULL;
5941 } _resultobj = Py_BuildValue("d",_result);
5942 return _resultobj;
5943 }
5944
5945 #define wxPyDrawnShape_LoadFromMetaFile(_swigobj,_swigarg0) (_swigobj->LoadFromMetaFile(_swigarg0))
5946 static PyObject *_wrap_wxPyDrawnShape_LoadFromMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5947 PyObject * _resultobj;
5948 bool _result;
5949 wxPyDrawnShape * _arg0;
5950 wxString * _arg1;
5951 PyObject * _argo0 = 0;
5952 PyObject * _obj1 = 0;
5953 char *_kwnames[] = { "self","filename", NULL };
5954
5955 self = self;
5956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_LoadFromMetaFile",_kwnames,&_argo0,&_obj1))
5957 return NULL;
5958 if (_argo0) {
5959 if (_argo0 == Py_None) { _arg0 = NULL; }
5960 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5961 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_LoadFromMetaFile. Expected _wxPyDrawnShape_p.");
5962 return NULL;
5963 }
5964 }
5965 {
5966 _arg1 = wxString_in_helper(_obj1);
5967 if (_arg1 == NULL)
5968 return NULL;
5969 }
5970 {
5971 PyThreadState* __tstate = wxPyBeginAllowThreads();
5972 _result = (bool )wxPyDrawnShape_LoadFromMetaFile(_arg0,*_arg1);
5973
5974 wxPyEndAllowThreads(__tstate);
5975 if (PyErr_Occurred()) return NULL;
5976 } _resultobj = Py_BuildValue("i",_result);
5977 {
5978 if (_obj1)
5979 delete _arg1;
5980 }
5981 return _resultobj;
5982 }
5983
5984 #define wxPyDrawnShape_Rotate(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Rotate(_swigarg0,_swigarg1,_swigarg2))
5985 static PyObject *_wrap_wxPyDrawnShape_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
5986 PyObject * _resultobj;
5987 wxPyDrawnShape * _arg0;
5988 double _arg1;
5989 double _arg2;
5990 double _arg3;
5991 PyObject * _argo0 = 0;
5992 char *_kwnames[] = { "self","x","y","theta", NULL };
5993
5994 self = self;
5995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oddd:wxPyDrawnShape_Rotate",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
5996 return NULL;
5997 if (_argo0) {
5998 if (_argo0 == Py_None) { _arg0 = NULL; }
5999 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6000 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_Rotate. Expected _wxPyDrawnShape_p.");
6001 return NULL;
6002 }
6003 }
6004 {
6005 PyThreadState* __tstate = wxPyBeginAllowThreads();
6006 wxPyDrawnShape_Rotate(_arg0,_arg1,_arg2,_arg3);
6007
6008 wxPyEndAllowThreads(__tstate);
6009 if (PyErr_Occurred()) return NULL;
6010 } Py_INCREF(Py_None);
6011 _resultobj = Py_None;
6012 return _resultobj;
6013 }
6014
6015 #define wxPyDrawnShape_SetClippingRect(_swigobj,_swigarg0) (_swigobj->SetClippingRect(_swigarg0))
6016 static PyObject *_wrap_wxPyDrawnShape_SetClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6017 PyObject * _resultobj;
6018 wxPyDrawnShape * _arg0;
6019 wxRect * _arg1;
6020 PyObject * _argo0 = 0;
6021 wxRect temp;
6022 PyObject * _obj1 = 0;
6023 char *_kwnames[] = { "self","rect", NULL };
6024
6025 self = self;
6026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_SetClippingRect",_kwnames,&_argo0,&_obj1))
6027 return NULL;
6028 if (_argo0) {
6029 if (_argo0 == Py_None) { _arg0 = NULL; }
6030 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6031 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetClippingRect. Expected _wxPyDrawnShape_p.");
6032 return NULL;
6033 }
6034 }
6035 {
6036 _arg1 = &temp;
6037 if (! wxRect_helper(_obj1, &_arg1))
6038 return NULL;
6039 }
6040 {
6041 PyThreadState* __tstate = wxPyBeginAllowThreads();
6042 wxPyDrawnShape_SetClippingRect(_arg0,*_arg1);
6043
6044 wxPyEndAllowThreads(__tstate);
6045 if (PyErr_Occurred()) return NULL;
6046 } Py_INCREF(Py_None);
6047 _resultobj = Py_None;
6048 return _resultobj;
6049 }
6050
6051 #define wxPyDrawnShape_SetDrawnBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetDrawnBackgroundColour(_swigarg0))
6052 static PyObject *_wrap_wxPyDrawnShape_SetDrawnBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6053 PyObject * _resultobj;
6054 wxPyDrawnShape * _arg0;
6055 wxColour * _arg1;
6056 PyObject * _argo0 = 0;
6057 wxColour temp;
6058 PyObject * _obj1 = 0;
6059 char *_kwnames[] = { "self","colour", NULL };
6060
6061 self = self;
6062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_SetDrawnBackgroundColour",_kwnames,&_argo0,&_obj1))
6063 return NULL;
6064 if (_argo0) {
6065 if (_argo0 == Py_None) { _arg0 = NULL; }
6066 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6067 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnBackgroundColour. Expected _wxPyDrawnShape_p.");
6068 return NULL;
6069 }
6070 }
6071 {
6072 _arg1 = &temp;
6073 if (! wxColour_helper(_obj1, &_arg1))
6074 return NULL;
6075 }
6076 {
6077 PyThreadState* __tstate = wxPyBeginAllowThreads();
6078 wxPyDrawnShape_SetDrawnBackgroundColour(_arg0,*_arg1);
6079
6080 wxPyEndAllowThreads(__tstate);
6081 if (PyErr_Occurred()) return NULL;
6082 } Py_INCREF(Py_None);
6083 _resultobj = Py_None;
6084 return _resultobj;
6085 }
6086
6087 #define wxPyDrawnShape_SetDrawnBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetDrawnBackgroundMode(_swigarg0))
6088 static PyObject *_wrap_wxPyDrawnShape_SetDrawnBackgroundMode(PyObject *self, PyObject *args, PyObject *kwargs) {
6089 PyObject * _resultobj;
6090 wxPyDrawnShape * _arg0;
6091 int _arg1;
6092 PyObject * _argo0 = 0;
6093 char *_kwnames[] = { "self","mode", NULL };
6094
6095 self = self;
6096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDrawnShape_SetDrawnBackgroundMode",_kwnames,&_argo0,&_arg1))
6097 return NULL;
6098 if (_argo0) {
6099 if (_argo0 == Py_None) { _arg0 = NULL; }
6100 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6101 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnBackgroundMode. Expected _wxPyDrawnShape_p.");
6102 return NULL;
6103 }
6104 }
6105 {
6106 PyThreadState* __tstate = wxPyBeginAllowThreads();
6107 wxPyDrawnShape_SetDrawnBackgroundMode(_arg0,_arg1);
6108
6109 wxPyEndAllowThreads(__tstate);
6110 if (PyErr_Occurred()) return NULL;
6111 } Py_INCREF(Py_None);
6112 _resultobj = Py_None;
6113 return _resultobj;
6114 }
6115
6116 #define wxPyDrawnShape_SetDrawnBrush(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDrawnBrush(_swigarg0,_swigarg1))
6117 static PyObject *_wrap_wxPyDrawnShape_SetDrawnBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
6118 PyObject * _resultobj;
6119 wxPyDrawnShape * _arg0;
6120 wxBrush * _arg1;
6121 bool _arg2 = (bool ) FALSE;
6122 PyObject * _argo0 = 0;
6123 PyObject * _obj1 = 0;
6124 int tempbool2 = (int) FALSE;
6125 char *_kwnames[] = { "self","pen","isOutline", NULL };
6126
6127 self = self;
6128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDrawnShape_SetDrawnBrush",_kwnames,&_argo0,&_obj1,&tempbool2))
6129 return NULL;
6130 if (_argo0) {
6131 if (_argo0 == Py_None) { _arg0 = NULL; }
6132 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6133 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnBrush. Expected _wxPyDrawnShape_p.");
6134 return NULL;
6135 }
6136 }
6137 {
6138 wxBrush* temp;
6139 if (_obj1) {
6140 if (_obj1 == Py_None) { temp = NULL; }
6141 else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxBrush_p")) {
6142 PyErr_SetString(PyExc_TypeError,"Type error, expected _wxBrush_p.");
6143 return NULL;
6144 }
6145 }
6146 if (temp)
6147 _arg1 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
6148 else
6149 _arg1 = NULL;
6150 }
6151 _arg2 = (bool ) tempbool2;
6152 {
6153 PyThreadState* __tstate = wxPyBeginAllowThreads();
6154 wxPyDrawnShape_SetDrawnBrush(_arg0,_arg1,_arg2);
6155
6156 wxPyEndAllowThreads(__tstate);
6157 if (PyErr_Occurred()) return NULL;
6158 } Py_INCREF(Py_None);
6159 _resultobj = Py_None;
6160 return _resultobj;
6161 }
6162
6163 #define wxPyDrawnShape_SetDrawnFont(_swigobj,_swigarg0) (_swigobj->SetDrawnFont(_swigarg0))
6164 static PyObject *_wrap_wxPyDrawnShape_SetDrawnFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6165 PyObject * _resultobj;
6166 wxPyDrawnShape * _arg0;
6167 wxFont * _arg1;
6168 PyObject * _argo0 = 0;
6169 PyObject * _obj1 = 0;
6170 char *_kwnames[] = { "self","font", NULL };
6171
6172 self = self;
6173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_SetDrawnFont",_kwnames,&_argo0,&_obj1))
6174 return NULL;
6175 if (_argo0) {
6176 if (_argo0 == Py_None) { _arg0 = NULL; }
6177 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6178 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnFont. Expected _wxPyDrawnShape_p.");
6179 return NULL;
6180 }
6181 }
6182 {
6183 wxFont* temp;
6184 if (_obj1) {
6185 if (_obj1 == Py_None) { temp = NULL; }
6186 else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxFont_p")) {
6187 PyErr_SetString(PyExc_TypeError,"Type error, expected _wxFont_p.");
6188 return NULL;
6189 }
6190 }
6191 if (temp)
6192 _arg1 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
6193 temp->GetFamily(),
6194 temp->GetStyle(),
6195 temp->GetWeight(),
6196 temp->GetUnderlined(),
6197 temp->GetFaceName(),
6198 temp->GetEncoding());
6199 else
6200 _arg1 = NULL;
6201 }
6202 {
6203 PyThreadState* __tstate = wxPyBeginAllowThreads();
6204 wxPyDrawnShape_SetDrawnFont(_arg0,_arg1);
6205
6206 wxPyEndAllowThreads(__tstate);
6207 if (PyErr_Occurred()) return NULL;
6208 } Py_INCREF(Py_None);
6209 _resultobj = Py_None;
6210 return _resultobj;
6211 }
6212
6213 #define wxPyDrawnShape_SetDrawnPen(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDrawnPen(_swigarg0,_swigarg1))
6214 static PyObject *_wrap_wxPyDrawnShape_SetDrawnPen(PyObject *self, PyObject *args, PyObject *kwargs) {
6215 PyObject * _resultobj;
6216 wxPyDrawnShape * _arg0;
6217 wxPen * _arg1;
6218 bool _arg2 = (bool ) FALSE;
6219 PyObject * _argo0 = 0;
6220 PyObject * _obj1 = 0;
6221 int tempbool2 = (int) FALSE;
6222 char *_kwnames[] = { "self","pen","isOutline", NULL };
6223
6224 self = self;
6225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDrawnShape_SetDrawnPen",_kwnames,&_argo0,&_obj1,&tempbool2))
6226 return NULL;
6227 if (_argo0) {
6228 if (_argo0 == Py_None) { _arg0 = NULL; }
6229 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6230 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnPen. Expected _wxPyDrawnShape_p.");
6231 return NULL;
6232 }
6233 }
6234 {
6235 wxPen* temp;
6236 if (_obj1) {
6237 if (_obj1 == Py_None) { temp = NULL; }
6238 else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxPen_p")) {
6239 PyErr_SetString(PyExc_TypeError,"Type error, expected _wxPen_p.");
6240 return NULL;
6241 }
6242 }
6243 if (temp)
6244 _arg1 = wxThePenList->FindOrCreatePen(temp->GetColour(),
6245 temp->GetWidth(),
6246 temp->GetStyle());
6247 else
6248 _arg1 = NULL;
6249 }
6250 _arg2 = (bool ) tempbool2;
6251 {
6252 PyThreadState* __tstate = wxPyBeginAllowThreads();
6253 wxPyDrawnShape_SetDrawnPen(_arg0,_arg1,_arg2);
6254
6255 wxPyEndAllowThreads(__tstate);
6256 if (PyErr_Occurred()) return NULL;
6257 } Py_INCREF(Py_None);
6258 _resultobj = Py_None;
6259 return _resultobj;
6260 }
6261
6262 #define wxPyDrawnShape_SetDrawnTextColour(_swigobj,_swigarg0) (_swigobj->SetDrawnTextColour(_swigarg0))
6263 static PyObject *_wrap_wxPyDrawnShape_SetDrawnTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6264 PyObject * _resultobj;
6265 wxPyDrawnShape * _arg0;
6266 wxColour * _arg1;
6267 PyObject * _argo0 = 0;
6268 wxColour temp;
6269 PyObject * _obj1 = 0;
6270 char *_kwnames[] = { "self","colour", NULL };
6271
6272 self = self;
6273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_SetDrawnTextColour",_kwnames,&_argo0,&_obj1))
6274 return NULL;
6275 if (_argo0) {
6276 if (_argo0 == Py_None) { _arg0 = NULL; }
6277 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6278 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnTextColour. Expected _wxPyDrawnShape_p.");
6279 return NULL;
6280 }
6281 }
6282 {
6283 _arg1 = &temp;
6284 if (! wxColour_helper(_obj1, &_arg1))
6285 return NULL;
6286 }
6287 {
6288 PyThreadState* __tstate = wxPyBeginAllowThreads();
6289 wxPyDrawnShape_SetDrawnTextColour(_arg0,*_arg1);
6290
6291 wxPyEndAllowThreads(__tstate);
6292 if (PyErr_Occurred()) return NULL;
6293 } Py_INCREF(Py_None);
6294 _resultobj = Py_None;
6295 return _resultobj;
6296 }
6297
6298 #define wxPyDrawnShape_Scale(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scale(_swigarg0,_swigarg1))
6299 static PyObject *_wrap_wxPyDrawnShape_Scale(PyObject *self, PyObject *args, PyObject *kwargs) {
6300 PyObject * _resultobj;
6301 wxPyDrawnShape * _arg0;
6302 double _arg1;
6303 double _arg2;
6304 PyObject * _argo0 = 0;
6305 char *_kwnames[] = { "self","sx","sy", NULL };
6306
6307 self = self;
6308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDrawnShape_Scale",_kwnames,&_argo0,&_arg1,&_arg2))
6309 return NULL;
6310 if (_argo0) {
6311 if (_argo0 == Py_None) { _arg0 = NULL; }
6312 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6313 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_Scale. Expected _wxPyDrawnShape_p.");
6314 return NULL;
6315 }
6316 }
6317 {
6318 PyThreadState* __tstate = wxPyBeginAllowThreads();
6319 wxPyDrawnShape_Scale(_arg0,_arg1,_arg2);
6320
6321 wxPyEndAllowThreads(__tstate);
6322 if (PyErr_Occurred()) return NULL;
6323 } Py_INCREF(Py_None);
6324 _resultobj = Py_None;
6325 return _resultobj;
6326 }
6327
6328 #define wxPyDrawnShape_SetSaveToFile(_swigobj,_swigarg0) (_swigobj->SetSaveToFile(_swigarg0))
6329 static PyObject *_wrap_wxPyDrawnShape_SetSaveToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6330 PyObject * _resultobj;
6331 wxPyDrawnShape * _arg0;
6332 bool _arg1;
6333 PyObject * _argo0 = 0;
6334 int tempbool1;
6335 char *_kwnames[] = { "self","save", NULL };
6336
6337 self = self;
6338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDrawnShape_SetSaveToFile",_kwnames,&_argo0,&tempbool1))
6339 return NULL;
6340 if (_argo0) {
6341 if (_argo0 == Py_None) { _arg0 = NULL; }
6342 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6343 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetSaveToFile. Expected _wxPyDrawnShape_p.");
6344 return NULL;
6345 }
6346 }
6347 _arg1 = (bool ) tempbool1;
6348 {
6349 PyThreadState* __tstate = wxPyBeginAllowThreads();
6350 wxPyDrawnShape_SetSaveToFile(_arg0,_arg1);
6351
6352 wxPyEndAllowThreads(__tstate);
6353 if (PyErr_Occurred()) return NULL;
6354 } Py_INCREF(Py_None);
6355 _resultobj = Py_None;
6356 return _resultobj;
6357 }
6358
6359 #define wxPyDrawnShape_Translate(_swigobj,_swigarg0,_swigarg1) (_swigobj->Translate(_swigarg0,_swigarg1))
6360 static PyObject *_wrap_wxPyDrawnShape_Translate(PyObject *self, PyObject *args, PyObject *kwargs) {
6361 PyObject * _resultobj;
6362 wxPyDrawnShape * _arg0;
6363 double _arg1;
6364 double _arg2;
6365 PyObject * _argo0 = 0;
6366 char *_kwnames[] = { "self","x","y", NULL };
6367
6368 self = self;
6369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDrawnShape_Translate",_kwnames,&_argo0,&_arg1,&_arg2))
6370 return NULL;
6371 if (_argo0) {
6372 if (_argo0 == Py_None) { _arg0 = NULL; }
6373 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6374 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_Translate. Expected _wxPyDrawnShape_p.");
6375 return NULL;
6376 }
6377 }
6378 {
6379 PyThreadState* __tstate = wxPyBeginAllowThreads();
6380 wxPyDrawnShape_Translate(_arg0,_arg1,_arg2);
6381
6382 wxPyEndAllowThreads(__tstate);
6383 if (PyErr_Occurred()) return NULL;
6384 } Py_INCREF(Py_None);
6385 _resultobj = Py_None;
6386 return _resultobj;
6387 }
6388
6389 #define wxPyDrawnShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
6390 static PyObject *_wrap_wxPyDrawnShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
6391 PyObject * _resultobj;
6392 wxPyDrawnShape * _arg0;
6393 PyObject * _argo0 = 0;
6394 char *_kwnames[] = { "self", NULL };
6395
6396 self = self;
6397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_base_OnDelete",_kwnames,&_argo0))
6398 return NULL;
6399 if (_argo0) {
6400 if (_argo0 == Py_None) { _arg0 = NULL; }
6401 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6402 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDelete. Expected _wxPyDrawnShape_p.");
6403 return NULL;
6404 }
6405 }
6406 {
6407 PyThreadState* __tstate = wxPyBeginAllowThreads();
6408 wxPyDrawnShape_base_OnDelete(_arg0);
6409
6410 wxPyEndAllowThreads(__tstate);
6411 if (PyErr_Occurred()) return NULL;
6412 } Py_INCREF(Py_None);
6413 _resultobj = Py_None;
6414 return _resultobj;
6415 }
6416
6417 #define wxPyDrawnShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
6418 static PyObject *_wrap_wxPyDrawnShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
6419 PyObject * _resultobj;
6420 wxPyDrawnShape * _arg0;
6421 wxDC * _arg1;
6422 PyObject * _argo0 = 0;
6423 PyObject * _argo1 = 0;
6424 char *_kwnames[] = { "self","dc", NULL };
6425
6426 self = self;
6427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnDraw",_kwnames,&_argo0,&_argo1))
6428 return NULL;
6429 if (_argo0) {
6430 if (_argo0 == Py_None) { _arg0 = NULL; }
6431 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6432 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDraw. Expected _wxPyDrawnShape_p.");
6433 return NULL;
6434 }
6435 }
6436 if (_argo1) {
6437 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
6438 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnDraw. Expected _wxDC_p.");
6439 return NULL;
6440 }
6441 }
6442 {
6443 PyThreadState* __tstate = wxPyBeginAllowThreads();
6444 wxPyDrawnShape_base_OnDraw(_arg0,*_arg1);
6445
6446 wxPyEndAllowThreads(__tstate);
6447 if (PyErr_Occurred()) return NULL;
6448 } Py_INCREF(Py_None);
6449 _resultobj = Py_None;
6450 return _resultobj;
6451 }
6452
6453 #define wxPyDrawnShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
6454 static PyObject *_wrap_wxPyDrawnShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
6455 PyObject * _resultobj;
6456 wxPyDrawnShape * _arg0;
6457 wxDC * _arg1;
6458 PyObject * _argo0 = 0;
6459 PyObject * _argo1 = 0;
6460 char *_kwnames[] = { "self","dc", NULL };
6461
6462 self = self;
6463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1))
6464 return NULL;
6465 if (_argo0) {
6466 if (_argo0 == Py_None) { _arg0 = NULL; }
6467 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6468 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDrawContents. Expected _wxPyDrawnShape_p.");
6469 return NULL;
6470 }
6471 }
6472 if (_argo1) {
6473 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
6474 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnDrawContents. Expected _wxDC_p.");
6475 return NULL;
6476 }
6477 }
6478 {
6479 PyThreadState* __tstate = wxPyBeginAllowThreads();
6480 wxPyDrawnShape_base_OnDrawContents(_arg0,*_arg1);
6481
6482 wxPyEndAllowThreads(__tstate);
6483 if (PyErr_Occurred()) return NULL;
6484 } Py_INCREF(Py_None);
6485 _resultobj = Py_None;
6486 return _resultobj;
6487 }
6488
6489 #define wxPyDrawnShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
6490 static PyObject *_wrap_wxPyDrawnShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
6491 PyObject * _resultobj;
6492 wxPyDrawnShape * _arg0;
6493 wxDC * _arg1;
6494 bool _arg2 = (bool ) FALSE;
6495 PyObject * _argo0 = 0;
6496 PyObject * _argo1 = 0;
6497 int tempbool2 = (int) FALSE;
6498 char *_kwnames[] = { "self","dc","erase", NULL };
6499
6500 self = self;
6501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDrawnShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2))
6502 return NULL;
6503 if (_argo0) {
6504 if (_argo0 == Py_None) { _arg0 = NULL; }
6505 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6506 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDrawBranches. Expected _wxPyDrawnShape_p.");
6507 return NULL;
6508 }
6509 }
6510 if (_argo1) {
6511 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
6512 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnDrawBranches. Expected _wxDC_p.");
6513 return NULL;
6514 }
6515 }
6516 _arg2 = (bool ) tempbool2;
6517 {
6518 PyThreadState* __tstate = wxPyBeginAllowThreads();
6519 wxPyDrawnShape_base_OnDrawBranches(_arg0,*_arg1,_arg2);
6520
6521 wxPyEndAllowThreads(__tstate);
6522 if (PyErr_Occurred()) return NULL;
6523 } Py_INCREF(Py_None);
6524 _resultobj = Py_None;
6525 return _resultobj;
6526 }
6527
6528 #define wxPyDrawnShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
6529 static PyObject *_wrap_wxPyDrawnShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
6530 PyObject * _resultobj;
6531 wxPyDrawnShape * _arg0;
6532 wxDC * _arg1;
6533 PyObject * _argo0 = 0;
6534 PyObject * _argo1 = 0;
6535 char *_kwnames[] = { "self","dc", NULL };
6536
6537 self = self;
6538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1))
6539 return NULL;
6540 if (_argo0) {
6541 if (_argo0 == Py_None) { _arg0 = NULL; }
6542 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6543 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnMoveLinks. Expected _wxPyDrawnShape_p.");
6544 return NULL;
6545 }
6546 }
6547 if (_argo1) {
6548 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
6549 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnMoveLinks. Expected _wxDC_p.");
6550 return NULL;
6551 }
6552 }
6553 {
6554 PyThreadState* __tstate = wxPyBeginAllowThreads();
6555 wxPyDrawnShape_base_OnMoveLinks(_arg0,*_arg1);
6556
6557 wxPyEndAllowThreads(__tstate);
6558 if (PyErr_Occurred()) return NULL;
6559 } Py_INCREF(Py_None);
6560 _resultobj = Py_None;
6561 return _resultobj;
6562 }
6563
6564 #define wxPyDrawnShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
6565 static PyObject *_wrap_wxPyDrawnShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
6566 PyObject * _resultobj;
6567 wxPyDrawnShape * _arg0;
6568 wxDC * _arg1;
6569 PyObject * _argo0 = 0;
6570 PyObject * _argo1 = 0;
6571 char *_kwnames[] = { "self","dc", NULL };
6572
6573 self = self;
6574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnErase",_kwnames,&_argo0,&_argo1))
6575 return NULL;
6576 if (_argo0) {
6577 if (_argo0 == Py_None) { _arg0 = NULL; }
6578 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6579 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnErase. Expected _wxPyDrawnShape_p.");
6580 return NULL;
6581 }
6582 }
6583 if (_argo1) {
6584 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
6585 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnErase. Expected _wxDC_p.");
6586 return NULL;
6587 }
6588 }
6589 {
6590 PyThreadState* __tstate = wxPyBeginAllowThreads();
6591 wxPyDrawnShape_base_OnErase(_arg0,*_arg1);
6592
6593 wxPyEndAllowThreads(__tstate);
6594 if (PyErr_Occurred()) return NULL;
6595 } Py_INCREF(Py_None);
6596 _resultobj = Py_None;
6597 return _resultobj;
6598 }
6599
6600 #define wxPyDrawnShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
6601 static PyObject *_wrap_wxPyDrawnShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
6602 PyObject * _resultobj;
6603 wxPyDrawnShape * _arg0;
6604 wxDC * _arg1;
6605 PyObject * _argo0 = 0;
6606 PyObject * _argo1 = 0;
6607 char *_kwnames[] = { "self","dc", NULL };
6608
6609 self = self;
6610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1))
6611 return NULL;
6612 if (_argo0) {
6613 if (_argo0 == Py_None) { _arg0 = NULL; }
6614 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6615 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnEraseContents. Expected _wxPyDrawnShape_p.");
6616 return NULL;
6617 }
6618 }
6619 if (_argo1) {
6620 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
6621 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnEraseContents. Expected _wxDC_p.");
6622 return NULL;
6623 }
6624 }
6625 {
6626 PyThreadState* __tstate = wxPyBeginAllowThreads();
6627 wxPyDrawnShape_base_OnEraseContents(_arg0,*_arg1);
6628
6629 wxPyEndAllowThreads(__tstate);
6630 if (PyErr_Occurred()) return NULL;
6631 } Py_INCREF(Py_None);
6632 _resultobj = Py_None;
6633 return _resultobj;
6634 }
6635
6636 #define wxPyDrawnShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
6637 static PyObject *_wrap_wxPyDrawnShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
6638 PyObject * _resultobj;
6639 wxPyDrawnShape * _arg0;
6640 wxDC * _arg1;
6641 PyObject * _argo0 = 0;
6642 PyObject * _argo1 = 0;
6643 char *_kwnames[] = { "self","dc", NULL };
6644
6645 self = self;
6646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnHighlight",_kwnames,&_argo0,&_argo1))
6647 return NULL;
6648 if (_argo0) {
6649 if (_argo0 == Py_None) { _arg0 = NULL; }
6650 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6651 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnHighlight. Expected _wxPyDrawnShape_p.");
6652 return NULL;
6653 }
6654 }
6655 if (_argo1) {
6656 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
6657 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnHighlight. Expected _wxDC_p.");
6658 return NULL;
6659 }
6660 }
6661 {
6662 PyThreadState* __tstate = wxPyBeginAllowThreads();
6663 wxPyDrawnShape_base_OnHighlight(_arg0,*_arg1);
6664
6665 wxPyEndAllowThreads(__tstate);
6666 if (PyErr_Occurred()) return NULL;
6667 } Py_INCREF(Py_None);
6668 _resultobj = Py_None;
6669 return _resultobj;
6670 }
6671
6672 #define wxPyDrawnShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6673 static PyObject *_wrap_wxPyDrawnShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
6674 PyObject * _resultobj;
6675 wxPyDrawnShape * _arg0;
6676 double _arg1;
6677 double _arg2;
6678 int _arg3 = (int ) 0;
6679 int _arg4 = (int ) 0;
6680 PyObject * _argo0 = 0;
6681 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
6682
6683 self = self;
6684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
6685 return NULL;
6686 if (_argo0) {
6687 if (_argo0 == Py_None) { _arg0 = NULL; }
6688 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6689 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnLeftClick. Expected _wxPyDrawnShape_p.");
6690 return NULL;
6691 }
6692 }
6693 {
6694 PyThreadState* __tstate = wxPyBeginAllowThreads();
6695 wxPyDrawnShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4);
6696
6697 wxPyEndAllowThreads(__tstate);
6698 if (PyErr_Occurred()) return NULL;
6699 } Py_INCREF(Py_None);
6700 _resultobj = Py_None;
6701 return _resultobj;
6702 }
6703
6704 #define wxPyDrawnShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6705 static PyObject *_wrap_wxPyDrawnShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
6706 PyObject * _resultobj;
6707 wxPyDrawnShape * _arg0;
6708 double _arg1;
6709 double _arg2;
6710 int _arg3 = (int ) 0;
6711 int _arg4 = (int ) 0;
6712 PyObject * _argo0 = 0;
6713 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
6714
6715 self = self;
6716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
6717 return NULL;
6718 if (_argo0) {
6719 if (_argo0 == Py_None) { _arg0 = NULL; }
6720 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6721 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnLeftDoubleClick. Expected _wxPyDrawnShape_p.");
6722 return NULL;
6723 }
6724 }
6725 {
6726 PyThreadState* __tstate = wxPyBeginAllowThreads();
6727 wxPyDrawnShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4);
6728
6729 wxPyEndAllowThreads(__tstate);
6730 if (PyErr_Occurred()) return NULL;
6731 } Py_INCREF(Py_None);
6732 _resultobj = Py_None;
6733 return _resultobj;
6734 }
6735
6736 #define wxPyDrawnShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6737 static PyObject *_wrap_wxPyDrawnShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
6738 PyObject * _resultobj;
6739 wxPyDrawnShape * _arg0;
6740 double _arg1;
6741 double _arg2;
6742 int _arg3 = (int ) 0;
6743 int _arg4 = (int ) 0;
6744 PyObject * _argo0 = 0;
6745 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
6746
6747 self = self;
6748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
6749 return NULL;
6750 if (_argo0) {
6751 if (_argo0 == Py_None) { _arg0 = NULL; }
6752 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6753 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnRightClick. Expected _wxPyDrawnShape_p.");
6754 return NULL;
6755 }
6756 }
6757 {
6758 PyThreadState* __tstate = wxPyBeginAllowThreads();
6759 wxPyDrawnShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4);
6760
6761 wxPyEndAllowThreads(__tstate);
6762 if (PyErr_Occurred()) return NULL;
6763 } Py_INCREF(Py_None);
6764 _resultobj = Py_None;
6765 return _resultobj;
6766 }
6767
6768 #define wxPyDrawnShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
6769 static PyObject *_wrap_wxPyDrawnShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6770 PyObject * _resultobj;
6771 wxPyDrawnShape * _arg0;
6772 double _arg1;
6773 double _arg2;
6774 PyObject * _argo0 = 0;
6775 char *_kwnames[] = { "self","x","y", NULL };
6776
6777 self = self;
6778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDrawnShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2))
6779 return NULL;
6780 if (_argo0) {
6781 if (_argo0 == Py_None) { _arg0 = NULL; }
6782 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6783 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnSize. Expected _wxPyDrawnShape_p.");
6784 return NULL;
6785 }
6786 }
6787 {
6788 PyThreadState* __tstate = wxPyBeginAllowThreads();
6789 wxPyDrawnShape_base_OnSize(_arg0,_arg1,_arg2);
6790
6791 wxPyEndAllowThreads(__tstate);
6792 if (PyErr_Occurred()) return NULL;
6793 } Py_INCREF(Py_None);
6794 _resultobj = Py_None;
6795 return _resultobj;
6796 }
6797
6798 #define wxPyDrawnShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6799 static PyObject *_wrap_wxPyDrawnShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
6800 PyObject * _resultobj;
6801 bool _result;
6802 wxPyDrawnShape * _arg0;
6803 wxDC * _arg1;
6804 double _arg2;
6805 double _arg3;
6806 double _arg4;
6807 double _arg5;
6808 bool _arg6 = (bool ) TRUE;
6809 PyObject * _argo0 = 0;
6810 PyObject * _argo1 = 0;
6811 int tempbool6 = (int) TRUE;
6812 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
6813
6814 self = self;
6815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDrawnShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
6816 return NULL;
6817 if (_argo0) {
6818 if (_argo0 == Py_None) { _arg0 = NULL; }
6819 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6820 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnMovePre. Expected _wxPyDrawnShape_p.");
6821 return NULL;
6822 }
6823 }
6824 if (_argo1) {
6825 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
6826 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnMovePre. Expected _wxDC_p.");
6827 return NULL;
6828 }
6829 }
6830 _arg6 = (bool ) tempbool6;
6831 {
6832 PyThreadState* __tstate = wxPyBeginAllowThreads();
6833 _result = (bool )wxPyDrawnShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
6834
6835 wxPyEndAllowThreads(__tstate);
6836 if (PyErr_Occurred()) return NULL;
6837 } _resultobj = Py_BuildValue("i",_result);
6838 return _resultobj;
6839 }
6840
6841 #define wxPyDrawnShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6842 static PyObject *_wrap_wxPyDrawnShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
6843 PyObject * _resultobj;
6844 wxPyDrawnShape * _arg0;
6845 wxDC * _arg1;
6846 double _arg2;
6847 double _arg3;
6848 double _arg4;
6849 double _arg5;
6850 bool _arg6 = (bool ) TRUE;
6851 PyObject * _argo0 = 0;
6852 PyObject * _argo1 = 0;
6853 int tempbool6 = (int) TRUE;
6854 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
6855
6856 self = self;
6857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDrawnShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
6858 return NULL;
6859 if (_argo0) {
6860 if (_argo0 == Py_None) { _arg0 = NULL; }
6861 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6862 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnMovePost. Expected _wxPyDrawnShape_p.");
6863 return NULL;
6864 }
6865 }
6866 if (_argo1) {
6867 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
6868 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnMovePost. Expected _wxDC_p.");
6869 return NULL;
6870 }
6871 }
6872 _arg6 = (bool ) tempbool6;
6873 {
6874 PyThreadState* __tstate = wxPyBeginAllowThreads();
6875 wxPyDrawnShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
6876
6877 wxPyEndAllowThreads(__tstate);
6878 if (PyErr_Occurred()) return NULL;
6879 } Py_INCREF(Py_None);
6880 _resultobj = Py_None;
6881 return _resultobj;
6882 }
6883
6884 #define wxPyDrawnShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6885 static PyObject *_wrap_wxPyDrawnShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
6886 PyObject * _resultobj;
6887 wxPyDrawnShape * _arg0;
6888 bool _arg1;
6889 double _arg2;
6890 double _arg3;
6891 int _arg4 = (int ) 0;
6892 int _arg5 = (int ) 0;
6893 PyObject * _argo0 = 0;
6894 int tempbool1;
6895 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
6896
6897 self = self;
6898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDrawnShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
6899 return NULL;
6900 if (_argo0) {
6901 if (_argo0 == Py_None) { _arg0 = NULL; }
6902 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6903 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDragLeft. Expected _wxPyDrawnShape_p.");
6904 return NULL;
6905 }
6906 }
6907 _arg1 = (bool ) tempbool1;
6908 {
6909 PyThreadState* __tstate = wxPyBeginAllowThreads();
6910 wxPyDrawnShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
6911
6912 wxPyEndAllowThreads(__tstate);
6913 if (PyErr_Occurred()) return NULL;
6914 } Py_INCREF(Py_None);
6915 _resultobj = Py_None;
6916 return _resultobj;
6917 }
6918
6919 #define wxPyDrawnShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6920 static PyObject *_wrap_wxPyDrawnShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
6921 PyObject * _resultobj;
6922 wxPyDrawnShape * _arg0;
6923 double _arg1;
6924 double _arg2;
6925 int _arg3 = (int ) 0;
6926 int _arg4 = (int ) 0;
6927 PyObject * _argo0 = 0;
6928 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
6929
6930 self = self;
6931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
6932 return NULL;
6933 if (_argo0) {
6934 if (_argo0 == Py_None) { _arg0 = NULL; }
6935 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6936 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnBeginDragLeft. Expected _wxPyDrawnShape_p.");
6937 return NULL;
6938 }
6939 }
6940 {
6941 PyThreadState* __tstate = wxPyBeginAllowThreads();
6942 wxPyDrawnShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
6943
6944 wxPyEndAllowThreads(__tstate);
6945 if (PyErr_Occurred()) return NULL;
6946 } Py_INCREF(Py_None);
6947 _resultobj = Py_None;
6948 return _resultobj;
6949 }
6950
6951 #define wxPyDrawnShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6952 static PyObject *_wrap_wxPyDrawnShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
6953 PyObject * _resultobj;
6954 wxPyDrawnShape * _arg0;
6955 double _arg1;
6956 double _arg2;
6957 int _arg3 = (int ) 0;
6958 int _arg4 = (int ) 0;
6959 PyObject * _argo0 = 0;
6960 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
6961
6962 self = self;
6963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
6964 return NULL;
6965 if (_argo0) {
6966 if (_argo0 == Py_None) { _arg0 = NULL; }
6967 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6968 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnEndDragLeft. Expected _wxPyDrawnShape_p.");
6969 return NULL;
6970 }
6971 }
6972 {
6973 PyThreadState* __tstate = wxPyBeginAllowThreads();
6974 wxPyDrawnShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
6975
6976 wxPyEndAllowThreads(__tstate);
6977 if (PyErr_Occurred()) return NULL;
6978 } Py_INCREF(Py_None);
6979 _resultobj = Py_None;
6980 return _resultobj;
6981 }
6982
6983 #define wxPyDrawnShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6984 static PyObject *_wrap_wxPyDrawnShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
6985 PyObject * _resultobj;
6986 wxPyDrawnShape * _arg0;
6987 bool _arg1;
6988 double _arg2;
6989 double _arg3;
6990 int _arg4 = (int ) 0;
6991 int _arg5 = (int ) 0;
6992 PyObject * _argo0 = 0;
6993 int tempbool1;
6994 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
6995
6996 self = self;
6997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDrawnShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
6998 return NULL;
6999 if (_argo0) {
7000 if (_argo0 == Py_None) { _arg0 = NULL; }
7001 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7002 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDragRight. Expected _wxPyDrawnShape_p.");
7003 return NULL;
7004 }
7005 }
7006 _arg1 = (bool ) tempbool1;
7007 {
7008 PyThreadState* __tstate = wxPyBeginAllowThreads();
7009 wxPyDrawnShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
7010
7011 wxPyEndAllowThreads(__tstate);
7012 if (PyErr_Occurred()) return NULL;
7013 } Py_INCREF(Py_None);
7014 _resultobj = Py_None;
7015 return _resultobj;
7016 }
7017
7018 #define wxPyDrawnShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7019 static PyObject *_wrap_wxPyDrawnShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
7020 PyObject * _resultobj;
7021 wxPyDrawnShape * _arg0;
7022 double _arg1;
7023 double _arg2;
7024 int _arg3 = (int ) 0;
7025 int _arg4 = (int ) 0;
7026 PyObject * _argo0 = 0;
7027 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
7028
7029 self = self;
7030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
7031 return NULL;
7032 if (_argo0) {
7033 if (_argo0 == Py_None) { _arg0 = NULL; }
7034 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7035 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnBeginDragRight. Expected _wxPyDrawnShape_p.");
7036 return NULL;
7037 }
7038 }
7039 {
7040 PyThreadState* __tstate = wxPyBeginAllowThreads();
7041 wxPyDrawnShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
7042
7043 wxPyEndAllowThreads(__tstate);
7044 if (PyErr_Occurred()) return NULL;
7045 } Py_INCREF(Py_None);
7046 _resultobj = Py_None;
7047 return _resultobj;
7048 }
7049
7050 #define wxPyDrawnShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7051 static PyObject *_wrap_wxPyDrawnShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
7052 PyObject * _resultobj;
7053 wxPyDrawnShape * _arg0;
7054 double _arg1;
7055 double _arg2;
7056 int _arg3 = (int ) 0;
7057 int _arg4 = (int ) 0;
7058 PyObject * _argo0 = 0;
7059 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
7060
7061 self = self;
7062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
7063 return NULL;
7064 if (_argo0) {
7065 if (_argo0 == Py_None) { _arg0 = NULL; }
7066 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7067 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnEndDragRight. Expected _wxPyDrawnShape_p.");
7068 return NULL;
7069 }
7070 }
7071 {
7072 PyThreadState* __tstate = wxPyBeginAllowThreads();
7073 wxPyDrawnShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
7074
7075 wxPyEndAllowThreads(__tstate);
7076 if (PyErr_Occurred()) return NULL;
7077 } Py_INCREF(Py_None);
7078 _resultobj = Py_None;
7079 return _resultobj;
7080 }
7081
7082 #define wxPyDrawnShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7083 static PyObject *_wrap_wxPyDrawnShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
7084 PyObject * _resultobj;
7085 wxPyDrawnShape * _arg0;
7086 wxDC * _arg1;
7087 double _arg2;
7088 double _arg3;
7089 double _arg4;
7090 double _arg5;
7091 PyObject * _argo0 = 0;
7092 PyObject * _argo1 = 0;
7093 char *_kwnames[] = { "self","dc","x","y","w","h", NULL };
7094
7095 self = self;
7096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyDrawnShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
7097 return NULL;
7098 if (_argo0) {
7099 if (_argo0 == Py_None) { _arg0 = NULL; }
7100 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7101 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDrawOutline. Expected _wxPyDrawnShape_p.");
7102 return NULL;
7103 }
7104 }
7105 if (_argo1) {
7106 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7107 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnDrawOutline. Expected _wxDC_p.");
7108 return NULL;
7109 }
7110 }
7111 {
7112 PyThreadState* __tstate = wxPyBeginAllowThreads();
7113 wxPyDrawnShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5);
7114
7115 wxPyEndAllowThreads(__tstate);
7116 if (PyErr_Occurred()) return NULL;
7117 } Py_INCREF(Py_None);
7118 _resultobj = Py_None;
7119 return _resultobj;
7120 }
7121
7122 #define wxPyDrawnShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
7123 static PyObject *_wrap_wxPyDrawnShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
7124 PyObject * _resultobj;
7125 wxPyDrawnShape * _arg0;
7126 wxDC * _arg1;
7127 PyObject * _argo0 = 0;
7128 PyObject * _argo1 = 0;
7129 char *_kwnames[] = { "self","dc", NULL };
7130
7131 self = self;
7132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1))
7133 return NULL;
7134 if (_argo0) {
7135 if (_argo0 == Py_None) { _arg0 = NULL; }
7136 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7137 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDrawControlPoints. Expected _wxPyDrawnShape_p.");
7138 return NULL;
7139 }
7140 }
7141 if (_argo1) {
7142 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7143 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnDrawControlPoints. Expected _wxDC_p.");
7144 return NULL;
7145 }
7146 }
7147 {
7148 PyThreadState* __tstate = wxPyBeginAllowThreads();
7149 wxPyDrawnShape_base_OnDrawControlPoints(_arg0,*_arg1);
7150
7151 wxPyEndAllowThreads(__tstate);
7152 if (PyErr_Occurred()) return NULL;
7153 } Py_INCREF(Py_None);
7154 _resultobj = Py_None;
7155 return _resultobj;
7156 }
7157
7158 #define wxPyDrawnShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
7159 static PyObject *_wrap_wxPyDrawnShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
7160 PyObject * _resultobj;
7161 wxPyDrawnShape * _arg0;
7162 wxDC * _arg1;
7163 PyObject * _argo0 = 0;
7164 PyObject * _argo1 = 0;
7165 char *_kwnames[] = { "self","dc", NULL };
7166
7167 self = self;
7168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1))
7169 return NULL;
7170 if (_argo0) {
7171 if (_argo0 == Py_None) { _arg0 = NULL; }
7172 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7173 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnEraseControlPoints. Expected _wxPyDrawnShape_p.");
7174 return NULL;
7175 }
7176 }
7177 if (_argo1) {
7178 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7179 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnEraseControlPoints. Expected _wxDC_p.");
7180 return NULL;
7181 }
7182 }
7183 {
7184 PyThreadState* __tstate = wxPyBeginAllowThreads();
7185 wxPyDrawnShape_base_OnEraseControlPoints(_arg0,*_arg1);
7186
7187 wxPyEndAllowThreads(__tstate);
7188 if (PyErr_Occurred()) return NULL;
7189 } Py_INCREF(Py_None);
7190 _resultobj = Py_None;
7191 return _resultobj;
7192 }
7193
7194 #define wxPyDrawnShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
7195 static PyObject *_wrap_wxPyDrawnShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
7196 PyObject * _resultobj;
7197 wxPyDrawnShape * _arg0;
7198 wxDC * _arg1;
7199 bool _arg2 = (bool ) TRUE;
7200 PyObject * _argo0 = 0;
7201 PyObject * _argo1 = 0;
7202 int tempbool2 = (int) TRUE;
7203 char *_kwnames[] = { "self","dc","moveControlPoints", NULL };
7204
7205 self = self;
7206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDrawnShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2))
7207 return NULL;
7208 if (_argo0) {
7209 if (_argo0 == Py_None) { _arg0 = NULL; }
7210 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7211 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnMoveLink. Expected _wxPyDrawnShape_p.");
7212 return NULL;
7213 }
7214 }
7215 if (_argo1) {
7216 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7217 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnMoveLink. Expected _wxDC_p.");
7218 return NULL;
7219 }
7220 }
7221 _arg2 = (bool ) tempbool2;
7222 {
7223 PyThreadState* __tstate = wxPyBeginAllowThreads();
7224 wxPyDrawnShape_base_OnMoveLink(_arg0,*_arg1,_arg2);
7225
7226 wxPyEndAllowThreads(__tstate);
7227 if (PyErr_Occurred()) return NULL;
7228 } Py_INCREF(Py_None);
7229 _resultobj = Py_None;
7230 return _resultobj;
7231 }
7232
7233 #define wxPyDrawnShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7234 static PyObject *_wrap_wxPyDrawnShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7235 PyObject * _resultobj;
7236 wxPyDrawnShape * _arg0;
7237 wxPyControlPoint * _arg1;
7238 bool _arg2;
7239 double _arg3;
7240 double _arg4;
7241 int _arg5 = (int ) 0;
7242 int _arg6 = (int ) 0;
7243 PyObject * _argo0 = 0;
7244 PyObject * _argo1 = 0;
7245 int tempbool2;
7246 char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL };
7247
7248 self = self;
7249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyDrawnShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6))
7250 return NULL;
7251 if (_argo0) {
7252 if (_argo0 == Py_None) { _arg0 = NULL; }
7253 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7254 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnSizingDragLeft. Expected _wxPyDrawnShape_p.");
7255 return NULL;
7256 }
7257 }
7258 if (_argo1) {
7259 if (_argo1 == Py_None) { _arg1 = NULL; }
7260 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
7261 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
7262 return NULL;
7263 }
7264 }
7265 _arg2 = (bool ) tempbool2;
7266 {
7267 PyThreadState* __tstate = wxPyBeginAllowThreads();
7268 wxPyDrawnShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
7269
7270 wxPyEndAllowThreads(__tstate);
7271 if (PyErr_Occurred()) return NULL;
7272 } Py_INCREF(Py_None);
7273 _resultobj = Py_None;
7274 return _resultobj;
7275 }
7276
7277 #define wxPyDrawnShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7278 static PyObject *_wrap_wxPyDrawnShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7279 PyObject * _resultobj;
7280 wxPyDrawnShape * _arg0;
7281 wxPyControlPoint * _arg1;
7282 double _arg2;
7283 double _arg3;
7284 int _arg4 = (int ) 0;
7285 int _arg5 = (int ) 0;
7286 PyObject * _argo0 = 0;
7287 PyObject * _argo1 = 0;
7288 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
7289
7290 self = self;
7291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDrawnShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
7292 return NULL;
7293 if (_argo0) {
7294 if (_argo0 == Py_None) { _arg0 = NULL; }
7295 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7296 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnSizingBeginDragLeft. Expected _wxPyDrawnShape_p.");
7297 return NULL;
7298 }
7299 }
7300 if (_argo1) {
7301 if (_argo1 == Py_None) { _arg1 = NULL; }
7302 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
7303 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
7304 return NULL;
7305 }
7306 }
7307 {
7308 PyThreadState* __tstate = wxPyBeginAllowThreads();
7309 wxPyDrawnShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
7310
7311 wxPyEndAllowThreads(__tstate);
7312 if (PyErr_Occurred()) return NULL;
7313 } Py_INCREF(Py_None);
7314 _resultobj = Py_None;
7315 return _resultobj;
7316 }
7317
7318 #define wxPyDrawnShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7319 static PyObject *_wrap_wxPyDrawnShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7320 PyObject * _resultobj;
7321 wxPyDrawnShape * _arg0;
7322 wxPyControlPoint * _arg1;
7323 double _arg2;
7324 double _arg3;
7325 int _arg4 = (int ) 0;
7326 int _arg5 = (int ) 0;
7327 PyObject * _argo0 = 0;
7328 PyObject * _argo1 = 0;
7329 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
7330
7331 self = self;
7332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDrawnShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
7333 return NULL;
7334 if (_argo0) {
7335 if (_argo0 == Py_None) { _arg0 = NULL; }
7336 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7337 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnSizingEndDragLeft. Expected _wxPyDrawnShape_p.");
7338 return NULL;
7339 }
7340 }
7341 if (_argo1) {
7342 if (_argo1 == Py_None) { _arg1 = NULL; }
7343 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
7344 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
7345 return NULL;
7346 }
7347 }
7348 {
7349 PyThreadState* __tstate = wxPyBeginAllowThreads();
7350 wxPyDrawnShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
7351
7352 wxPyEndAllowThreads(__tstate);
7353 if (PyErr_Occurred()) return NULL;
7354 } Py_INCREF(Py_None);
7355 _resultobj = Py_None;
7356 return _resultobj;
7357 }
7358
7359 #define wxPyDrawnShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
7360 static PyObject *_wrap_wxPyDrawnShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7361 PyObject * _resultobj;
7362 wxPyDrawnShape * _arg0;
7363 double _arg1;
7364 double _arg2;
7365 PyObject * _argo0 = 0;
7366 char *_kwnames[] = { "self","w","h", NULL };
7367
7368 self = self;
7369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDrawnShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2))
7370 return NULL;
7371 if (_argo0) {
7372 if (_argo0 == Py_None) { _arg0 = NULL; }
7373 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7374 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnBeginSize. Expected _wxPyDrawnShape_p.");
7375 return NULL;
7376 }
7377 }
7378 {
7379 PyThreadState* __tstate = wxPyBeginAllowThreads();
7380 wxPyDrawnShape_base_OnBeginSize(_arg0,_arg1,_arg2);
7381
7382 wxPyEndAllowThreads(__tstate);
7383 if (PyErr_Occurred()) return NULL;
7384 } Py_INCREF(Py_None);
7385 _resultobj = Py_None;
7386 return _resultobj;
7387 }
7388
7389 #define wxPyDrawnShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
7390 static PyObject *_wrap_wxPyDrawnShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7391 PyObject * _resultobj;
7392 wxPyDrawnShape * _arg0;
7393 double _arg1;
7394 double _arg2;
7395 PyObject * _argo0 = 0;
7396 char *_kwnames[] = { "self","w","h", NULL };
7397
7398 self = self;
7399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDrawnShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2))
7400 return NULL;
7401 if (_argo0) {
7402 if (_argo0 == Py_None) { _arg0 = NULL; }
7403 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7404 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnEndSize. Expected _wxPyDrawnShape_p.");
7405 return NULL;
7406 }
7407 }
7408 {
7409 PyThreadState* __tstate = wxPyBeginAllowThreads();
7410 wxPyDrawnShape_base_OnEndSize(_arg0,_arg1,_arg2);
7411
7412 wxPyEndAllowThreads(__tstate);
7413 if (PyErr_Occurred()) return NULL;
7414 } Py_INCREF(Py_None);
7415 _resultobj = Py_None;
7416 return _resultobj;
7417 }
7418
7419 static void *SwigwxOGLConstraintTowxObject(void *ptr) {
7420 wxOGLConstraint *src;
7421 wxObject *dest;
7422 src = (wxOGLConstraint *) ptr;
7423 dest = (wxObject *) src;
7424 return (void *) dest;
7425 }
7426
7427 static wxOGLConstraint *new_wxOGLConstraint(int type,wxPyShape *constraining,PyObject *constrained) {
7428 wxList* list = wxPy_wxListHelper(constrained, "_wxPyShape_p");
7429 wxOGLConstraint* rv = new wxOGLConstraint(type, constraining, *list);
7430 delete list;
7431 return rv;
7432 }
7433
7434 static PyObject *_wrap_new_wxOGLConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
7435 PyObject * _resultobj;
7436 wxOGLConstraint * _result;
7437 int _arg0;
7438 wxPyShape * _arg1;
7439 PyObject * _arg2;
7440 PyObject * _argo1 = 0;
7441 PyObject * _obj2 = 0;
7442 char *_kwnames[] = { "type","constraining","constrained", NULL };
7443 char _ptemp[128];
7444
7445 self = self;
7446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iOO:new_wxOGLConstraint",_kwnames,&_arg0,&_argo1,&_obj2))
7447 return NULL;
7448 if (_argo1) {
7449 if (_argo1 == Py_None) { _arg1 = NULL; }
7450 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) {
7451 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxOGLConstraint. Expected _wxPyShape_p.");
7452 return NULL;
7453 }
7454 }
7455 {
7456 _arg2 = _obj2;
7457 }
7458 {
7459 PyThreadState* __tstate = wxPyBeginAllowThreads();
7460 _result = (wxOGLConstraint *)new_wxOGLConstraint(_arg0,_arg1,_arg2);
7461
7462 wxPyEndAllowThreads(__tstate);
7463 if (PyErr_Occurred()) return NULL;
7464 } if (_result) {
7465 SWIG_MakePtr(_ptemp, (char *) _result,"_wxOGLConstraint_p");
7466 _resultobj = Py_BuildValue("s",_ptemp);
7467 } else {
7468 Py_INCREF(Py_None);
7469 _resultobj = Py_None;
7470 }
7471 return _resultobj;
7472 }
7473
7474 #define wxOGLConstraint_Evaluate(_swigobj) (_swigobj->Evaluate())
7475 static PyObject *_wrap_wxOGLConstraint_Evaluate(PyObject *self, PyObject *args, PyObject *kwargs) {
7476 PyObject * _resultobj;
7477 bool _result;
7478 wxOGLConstraint * _arg0;
7479 PyObject * _argo0 = 0;
7480 char *_kwnames[] = { "self", NULL };
7481
7482 self = self;
7483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxOGLConstraint_Evaluate",_kwnames,&_argo0))
7484 return NULL;
7485 if (_argo0) {
7486 if (_argo0 == Py_None) { _arg0 = NULL; }
7487 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxOGLConstraint_p")) {
7488 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxOGLConstraint_Evaluate. Expected _wxOGLConstraint_p.");
7489 return NULL;
7490 }
7491 }
7492 {
7493 PyThreadState* __tstate = wxPyBeginAllowThreads();
7494 _result = (bool )wxOGLConstraint_Evaluate(_arg0);
7495
7496 wxPyEndAllowThreads(__tstate);
7497 if (PyErr_Occurred()) return NULL;
7498 } _resultobj = Py_BuildValue("i",_result);
7499 return _resultobj;
7500 }
7501
7502 #define wxOGLConstraint_SetSpacing(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSpacing(_swigarg0,_swigarg1))
7503 static PyObject *_wrap_wxOGLConstraint_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
7504 PyObject * _resultobj;
7505 wxOGLConstraint * _arg0;
7506 double _arg1;
7507 double _arg2;
7508 PyObject * _argo0 = 0;
7509 char *_kwnames[] = { "self","x","y", NULL };
7510
7511 self = self;
7512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxOGLConstraint_SetSpacing",_kwnames,&_argo0,&_arg1,&_arg2))
7513 return NULL;
7514 if (_argo0) {
7515 if (_argo0 == Py_None) { _arg0 = NULL; }
7516 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxOGLConstraint_p")) {
7517 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxOGLConstraint_SetSpacing. Expected _wxOGLConstraint_p.");
7518 return NULL;
7519 }
7520 }
7521 {
7522 PyThreadState* __tstate = wxPyBeginAllowThreads();
7523 wxOGLConstraint_SetSpacing(_arg0,_arg1,_arg2);
7524
7525 wxPyEndAllowThreads(__tstate);
7526 if (PyErr_Occurred()) return NULL;
7527 } Py_INCREF(Py_None);
7528 _resultobj = Py_None;
7529 return _resultobj;
7530 }
7531
7532 #define wxOGLConstraint_Equals(_swigobj,_swigarg0,_swigarg1) (_swigobj->Equals(_swigarg0,_swigarg1))
7533 static PyObject *_wrap_wxOGLConstraint_Equals(PyObject *self, PyObject *args, PyObject *kwargs) {
7534 PyObject * _resultobj;
7535 bool _result;
7536 wxOGLConstraint * _arg0;
7537 double _arg1;
7538 double _arg2;
7539 PyObject * _argo0 = 0;
7540 char *_kwnames[] = { "self","a","b", NULL };
7541
7542 self = self;
7543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxOGLConstraint_Equals",_kwnames,&_argo0,&_arg1,&_arg2))
7544 return NULL;
7545 if (_argo0) {
7546 if (_argo0 == Py_None) { _arg0 = NULL; }
7547 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxOGLConstraint_p")) {
7548 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxOGLConstraint_Equals. Expected _wxOGLConstraint_p.");
7549 return NULL;
7550 }
7551 }
7552 {
7553 PyThreadState* __tstate = wxPyBeginAllowThreads();
7554 _result = (bool )wxOGLConstraint_Equals(_arg0,_arg1,_arg2);
7555
7556 wxPyEndAllowThreads(__tstate);
7557 if (PyErr_Occurred()) return NULL;
7558 } _resultobj = Py_BuildValue("i",_result);
7559 return _resultobj;
7560 }
7561
7562 static void *SwigwxPyCompositeShapeTowxPyRectangleShape(void *ptr) {
7563 wxPyCompositeShape *src;
7564 wxPyRectangleShape *dest;
7565 src = (wxPyCompositeShape *) ptr;
7566 dest = (wxPyRectangleShape *) src;
7567 return (void *) dest;
7568 }
7569
7570 static void *SwigwxPyCompositeShapeTowxPyShape(void *ptr) {
7571 wxPyCompositeShape *src;
7572 wxPyShape *dest;
7573 src = (wxPyCompositeShape *) ptr;
7574 dest = (wxPyShape *) src;
7575 return (void *) dest;
7576 }
7577
7578 static void *SwigwxPyCompositeShapeTowxPyShapeEvtHandler(void *ptr) {
7579 wxPyCompositeShape *src;
7580 wxPyShapeEvtHandler *dest;
7581 src = (wxPyCompositeShape *) ptr;
7582 dest = (wxPyShapeEvtHandler *) src;
7583 return (void *) dest;
7584 }
7585
7586 static void *SwigwxPyCompositeShapeTowxObject(void *ptr) {
7587 wxPyCompositeShape *src;
7588 wxObject *dest;
7589 src = (wxPyCompositeShape *) ptr;
7590 dest = (wxObject *) src;
7591 return (void *) dest;
7592 }
7593
7594 #define new_wxPyCompositeShape() (new wxPyCompositeShape())
7595 static PyObject *_wrap_new_wxPyCompositeShape(PyObject *self, PyObject *args, PyObject *kwargs) {
7596 PyObject * _resultobj;
7597 wxPyCompositeShape * _result;
7598 char *_kwnames[] = { NULL };
7599 char _ptemp[128];
7600
7601 self = self;
7602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyCompositeShape",_kwnames))
7603 return NULL;
7604 {
7605 PyThreadState* __tstate = wxPyBeginAllowThreads();
7606 _result = (wxPyCompositeShape *)new_wxPyCompositeShape();
7607
7608 wxPyEndAllowThreads(__tstate);
7609 if (PyErr_Occurred()) return NULL;
7610 } if (_result) {
7611 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyCompositeShape_p");
7612 _resultobj = Py_BuildValue("s",_ptemp);
7613 } else {
7614 Py_INCREF(Py_None);
7615 _resultobj = Py_None;
7616 }
7617 return _resultobj;
7618 }
7619
7620 #define wxPyCompositeShape__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
7621 static PyObject *_wrap_wxPyCompositeShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7622 PyObject * _resultobj;
7623 wxPyCompositeShape * _arg0;
7624 PyObject * _arg1;
7625 PyObject * _arg2;
7626 PyObject * _argo0 = 0;
7627 PyObject * _obj1 = 0;
7628 PyObject * _obj2 = 0;
7629 char *_kwnames[] = { "self","self","_class", NULL };
7630
7631 self = self;
7632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyCompositeShape__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
7633 return NULL;
7634 if (_argo0) {
7635 if (_argo0 == Py_None) { _arg0 = NULL; }
7636 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7637 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape__setCallbackInfo. Expected _wxPyCompositeShape_p.");
7638 return NULL;
7639 }
7640 }
7641 {
7642 _arg1 = _obj1;
7643 }
7644 {
7645 _arg2 = _obj2;
7646 }
7647 {
7648 PyThreadState* __tstate = wxPyBeginAllowThreads();
7649 wxPyCompositeShape__setCallbackInfo(_arg0,_arg1,_arg2);
7650
7651 wxPyEndAllowThreads(__tstate);
7652 if (PyErr_Occurred()) return NULL;
7653 } Py_INCREF(Py_None);
7654 _resultobj = Py_None;
7655 return _resultobj;
7656 }
7657
7658 #define wxPyCompositeShape_AddChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddChild(_swigarg0,_swigarg1))
7659 static PyObject *_wrap_wxPyCompositeShape_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
7660 PyObject * _resultobj;
7661 wxPyCompositeShape * _arg0;
7662 wxPyShape * _arg1;
7663 wxPyShape * _arg2 = (wxPyShape *) NULL;
7664 PyObject * _argo0 = 0;
7665 PyObject * _argo1 = 0;
7666 PyObject * _argo2 = 0;
7667 char *_kwnames[] = { "self","child","addAfter", NULL };
7668
7669 self = self;
7670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxPyCompositeShape_AddChild",_kwnames,&_argo0,&_argo1,&_argo2))
7671 return NULL;
7672 if (_argo0) {
7673 if (_argo0 == Py_None) { _arg0 = NULL; }
7674 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7675 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_AddChild. Expected _wxPyCompositeShape_p.");
7676 return NULL;
7677 }
7678 }
7679 if (_argo1) {
7680 if (_argo1 == Py_None) { _arg1 = NULL; }
7681 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) {
7682 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_AddChild. Expected _wxPyShape_p.");
7683 return NULL;
7684 }
7685 }
7686 if (_argo2) {
7687 if (_argo2 == Py_None) { _arg2 = NULL; }
7688 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyShape_p")) {
7689 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyCompositeShape_AddChild. Expected _wxPyShape_p.");
7690 return NULL;
7691 }
7692 }
7693 {
7694 PyThreadState* __tstate = wxPyBeginAllowThreads();
7695 wxPyCompositeShape_AddChild(_arg0,_arg1,_arg2);
7696
7697 wxPyEndAllowThreads(__tstate);
7698 if (PyErr_Occurred()) return NULL;
7699 } Py_INCREF(Py_None);
7700 _resultobj = Py_None;
7701 return _resultobj;
7702 }
7703
7704 #define wxPyCompositeShape_AddConstraint(_swigobj,_swigarg0) (_swigobj->AddConstraint(_swigarg0))
7705 static PyObject *_wrap_wxPyCompositeShape_AddConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
7706 PyObject * _resultobj;
7707 wxOGLConstraint * _result;
7708 wxPyCompositeShape * _arg0;
7709 wxOGLConstraint * _arg1;
7710 PyObject * _argo0 = 0;
7711 PyObject * _argo1 = 0;
7712 char *_kwnames[] = { "self","constraint", NULL };
7713
7714 self = self;
7715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_AddConstraint",_kwnames,&_argo0,&_argo1))
7716 return NULL;
7717 if (_argo0) {
7718 if (_argo0 == Py_None) { _arg0 = NULL; }
7719 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7720 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_AddConstraint. Expected _wxPyCompositeShape_p.");
7721 return NULL;
7722 }
7723 }
7724 if (_argo1) {
7725 if (_argo1 == Py_None) { _arg1 = NULL; }
7726 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxOGLConstraint_p")) {
7727 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_AddConstraint. Expected _wxOGLConstraint_p.");
7728 return NULL;
7729 }
7730 }
7731 {
7732 PyThreadState* __tstate = wxPyBeginAllowThreads();
7733 _result = (wxOGLConstraint *)wxPyCompositeShape_AddConstraint(_arg0,_arg1);
7734
7735 wxPyEndAllowThreads(__tstate);
7736 if (PyErr_Occurred()) return NULL;
7737 }{ _resultobj = wxPyMake_wxObject(_result); }
7738 return _resultobj;
7739 }
7740
7741 static wxOGLConstraint * wxPyCompositeShape_AddConstrainedShapes(wxPyCompositeShape *self,int type,wxPyShape * constraining,PyObject * constrained) {
7742 wxList* list = wxPy_wxListHelper(constrained, "_wxPyShape_p");
7743 wxOGLConstraint* rv = self->AddConstraint(type, constraining, *list);
7744 delete list;
7745 return rv;
7746 }
7747 static PyObject *_wrap_wxPyCompositeShape_AddConstrainedShapes(PyObject *self, PyObject *args, PyObject *kwargs) {
7748 PyObject * _resultobj;
7749 wxOGLConstraint * _result;
7750 wxPyCompositeShape * _arg0;
7751 int _arg1;
7752 wxPyShape * _arg2;
7753 PyObject * _arg3;
7754 PyObject * _argo0 = 0;
7755 PyObject * _argo2 = 0;
7756 PyObject * _obj3 = 0;
7757 char *_kwnames[] = { "self","type","constraining","constrained", NULL };
7758
7759 self = self;
7760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO:wxPyCompositeShape_AddConstrainedShapes",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3))
7761 return NULL;
7762 if (_argo0) {
7763 if (_argo0 == Py_None) { _arg0 = NULL; }
7764 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7765 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_AddConstrainedShapes. Expected _wxPyCompositeShape_p.");
7766 return NULL;
7767 }
7768 }
7769 if (_argo2) {
7770 if (_argo2 == Py_None) { _arg2 = NULL; }
7771 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyShape_p")) {
7772 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyCompositeShape_AddConstrainedShapes. Expected _wxPyShape_p.");
7773 return NULL;
7774 }
7775 }
7776 {
7777 _arg3 = _obj3;
7778 }
7779 {
7780 PyThreadState* __tstate = wxPyBeginAllowThreads();
7781 _result = (wxOGLConstraint *)wxPyCompositeShape_AddConstrainedShapes(_arg0,_arg1,_arg2,_arg3);
7782
7783 wxPyEndAllowThreads(__tstate);
7784 if (PyErr_Occurred()) return NULL;
7785 }{ _resultobj = wxPyMake_wxObject(_result); }
7786 return _resultobj;
7787 }
7788
7789 #define wxPyCompositeShape_AddSimpleConstraint(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AddConstraint(_swigarg0,_swigarg1,_swigarg2))
7790 static PyObject *_wrap_wxPyCompositeShape_AddSimpleConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
7791 PyObject * _resultobj;
7792 wxOGLConstraint * _result;
7793 wxPyCompositeShape * _arg0;
7794 int _arg1;
7795 wxPyShape * _arg2;
7796 wxPyShape * _arg3;
7797 PyObject * _argo0 = 0;
7798 PyObject * _argo2 = 0;
7799 PyObject * _argo3 = 0;
7800 char *_kwnames[] = { "self","type","constraining","constrained", NULL };
7801
7802 self = self;
7803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO:wxPyCompositeShape_AddSimpleConstraint",_kwnames,&_argo0,&_arg1,&_argo2,&_argo3))
7804 return NULL;
7805 if (_argo0) {
7806 if (_argo0 == Py_None) { _arg0 = NULL; }
7807 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7808 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_AddSimpleConstraint. Expected _wxPyCompositeShape_p.");
7809 return NULL;
7810 }
7811 }
7812 if (_argo2) {
7813 if (_argo2 == Py_None) { _arg2 = NULL; }
7814 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyShape_p")) {
7815 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyCompositeShape_AddSimpleConstraint. Expected _wxPyShape_p.");
7816 return NULL;
7817 }
7818 }
7819 if (_argo3) {
7820 if (_argo3 == Py_None) { _arg3 = NULL; }
7821 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxPyShape_p")) {
7822 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxPyCompositeShape_AddSimpleConstraint. Expected _wxPyShape_p.");
7823 return NULL;
7824 }
7825 }
7826 {
7827 PyThreadState* __tstate = wxPyBeginAllowThreads();
7828 _result = (wxOGLConstraint *)wxPyCompositeShape_AddSimpleConstraint(_arg0,_arg1,_arg2,_arg3);
7829
7830 wxPyEndAllowThreads(__tstate);
7831 if (PyErr_Occurred()) return NULL;
7832 }{ _resultobj = wxPyMake_wxObject(_result); }
7833 return _resultobj;
7834 }
7835
7836 #define wxPyCompositeShape_CalculateSize(_swigobj) (_swigobj->CalculateSize())
7837 static PyObject *_wrap_wxPyCompositeShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7838 PyObject * _resultobj;
7839 wxPyCompositeShape * _arg0;
7840 PyObject * _argo0 = 0;
7841 char *_kwnames[] = { "self", NULL };
7842
7843 self = self;
7844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_CalculateSize",_kwnames,&_argo0))
7845 return NULL;
7846 if (_argo0) {
7847 if (_argo0 == Py_None) { _arg0 = NULL; }
7848 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7849 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_CalculateSize. Expected _wxPyCompositeShape_p.");
7850 return NULL;
7851 }
7852 }
7853 {
7854 PyThreadState* __tstate = wxPyBeginAllowThreads();
7855 wxPyCompositeShape_CalculateSize(_arg0);
7856
7857 wxPyEndAllowThreads(__tstate);
7858 if (PyErr_Occurred()) return NULL;
7859 } Py_INCREF(Py_None);
7860 _resultobj = Py_None;
7861 return _resultobj;
7862 }
7863
7864 #define wxPyCompositeShape_ContainsDivision(_swigobj,_swigarg0) (_swigobj->ContainsDivision(_swigarg0))
7865 static PyObject *_wrap_wxPyCompositeShape_ContainsDivision(PyObject *self, PyObject *args, PyObject *kwargs) {
7866 PyObject * _resultobj;
7867 bool _result;
7868 wxPyCompositeShape * _arg0;
7869 wxPyDivisionShape * _arg1;
7870 PyObject * _argo0 = 0;
7871 PyObject * _argo1 = 0;
7872 char *_kwnames[] = { "self","division", NULL };
7873
7874 self = self;
7875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_ContainsDivision",_kwnames,&_argo0,&_argo1))
7876 return NULL;
7877 if (_argo0) {
7878 if (_argo0 == Py_None) { _arg0 = NULL; }
7879 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7880 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_ContainsDivision. Expected _wxPyCompositeShape_p.");
7881 return NULL;
7882 }
7883 }
7884 if (_argo1) {
7885 if (_argo1 == Py_None) { _arg1 = NULL; }
7886 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyDivisionShape_p")) {
7887 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_ContainsDivision. Expected _wxPyDivisionShape_p.");
7888 return NULL;
7889 }
7890 }
7891 {
7892 PyThreadState* __tstate = wxPyBeginAllowThreads();
7893 _result = (bool )wxPyCompositeShape_ContainsDivision(_arg0,_arg1);
7894
7895 wxPyEndAllowThreads(__tstate);
7896 if (PyErr_Occurred()) return NULL;
7897 } _resultobj = Py_BuildValue("i",_result);
7898 return _resultobj;
7899 }
7900
7901 #define wxPyCompositeShape_DeleteConstraint(_swigobj,_swigarg0) (_swigobj->DeleteConstraint(_swigarg0))
7902 static PyObject *_wrap_wxPyCompositeShape_DeleteConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
7903 PyObject * _resultobj;
7904 wxPyCompositeShape * _arg0;
7905 wxOGLConstraint * _arg1;
7906 PyObject * _argo0 = 0;
7907 PyObject * _argo1 = 0;
7908 char *_kwnames[] = { "self","constraint", NULL };
7909
7910 self = self;
7911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_DeleteConstraint",_kwnames,&_argo0,&_argo1))
7912 return NULL;
7913 if (_argo0) {
7914 if (_argo0 == Py_None) { _arg0 = NULL; }
7915 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7916 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_DeleteConstraint. Expected _wxPyCompositeShape_p.");
7917 return NULL;
7918 }
7919 }
7920 if (_argo1) {
7921 if (_argo1 == Py_None) { _arg1 = NULL; }
7922 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxOGLConstraint_p")) {
7923 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_DeleteConstraint. Expected _wxOGLConstraint_p.");
7924 return NULL;
7925 }
7926 }
7927 {
7928 PyThreadState* __tstate = wxPyBeginAllowThreads();
7929 wxPyCompositeShape_DeleteConstraint(_arg0,_arg1);
7930
7931 wxPyEndAllowThreads(__tstate);
7932 if (PyErr_Occurred()) return NULL;
7933 } Py_INCREF(Py_None);
7934 _resultobj = Py_None;
7935 return _resultobj;
7936 }
7937
7938 #define wxPyCompositeShape_DeleteConstraintsInvolvingChild(_swigobj,_swigarg0) (_swigobj->DeleteConstraintsInvolvingChild(_swigarg0))
7939 static PyObject *_wrap_wxPyCompositeShape_DeleteConstraintsInvolvingChild(PyObject *self, PyObject *args, PyObject *kwargs) {
7940 PyObject * _resultobj;
7941 wxPyCompositeShape * _arg0;
7942 wxPyShape * _arg1;
7943 PyObject * _argo0 = 0;
7944 PyObject * _argo1 = 0;
7945 char *_kwnames[] = { "self","child", NULL };
7946
7947 self = self;
7948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_DeleteConstraintsInvolvingChild",_kwnames,&_argo0,&_argo1))
7949 return NULL;
7950 if (_argo0) {
7951 if (_argo0 == Py_None) { _arg0 = NULL; }
7952 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7953 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_DeleteConstraintsInvolvingChild. Expected _wxPyCompositeShape_p.");
7954 return NULL;
7955 }
7956 }
7957 if (_argo1) {
7958 if (_argo1 == Py_None) { _arg1 = NULL; }
7959 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) {
7960 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_DeleteConstraintsInvolvingChild. Expected _wxPyShape_p.");
7961 return NULL;
7962 }
7963 }
7964 {
7965 PyThreadState* __tstate = wxPyBeginAllowThreads();
7966 wxPyCompositeShape_DeleteConstraintsInvolvingChild(_arg0,_arg1);
7967
7968 wxPyEndAllowThreads(__tstate);
7969 if (PyErr_Occurred()) return NULL;
7970 } Py_INCREF(Py_None);
7971 _resultobj = Py_None;
7972 return _resultobj;
7973 }
7974
7975 #define wxPyCompositeShape_FindContainerImage(_swigobj) (_swigobj->FindContainerImage())
7976 static PyObject *_wrap_wxPyCompositeShape_FindContainerImage(PyObject *self, PyObject *args, PyObject *kwargs) {
7977 PyObject * _resultobj;
7978 wxPyShape * _result;
7979 wxPyCompositeShape * _arg0;
7980 PyObject * _argo0 = 0;
7981 char *_kwnames[] = { "self", NULL };
7982
7983 self = self;
7984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_FindContainerImage",_kwnames,&_argo0))
7985 return NULL;
7986 if (_argo0) {
7987 if (_argo0 == Py_None) { _arg0 = NULL; }
7988 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7989 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_FindContainerImage. Expected _wxPyCompositeShape_p.");
7990 return NULL;
7991 }
7992 }
7993 {
7994 PyThreadState* __tstate = wxPyBeginAllowThreads();
7995 _result = (wxPyShape *)wxPyCompositeShape_FindContainerImage(_arg0);
7996
7997 wxPyEndAllowThreads(__tstate);
7998 if (PyErr_Occurred()) return NULL;
7999 }{ _resultobj = wxPyMake_wxShapeEvtHandler(_result); }
8000 return _resultobj;
8001 }
8002
8003 static PyObject * wxPyCompositeShape_GetConstraints(wxPyCompositeShape *self) {
8004 wxList& list = self->GetConstraints();
8005 return wxPy_ConvertList(&list, "wxOGLConstraint");
8006 }
8007 static PyObject *_wrap_wxPyCompositeShape_GetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
8008 PyObject * _resultobj;
8009 PyObject * _result;
8010 wxPyCompositeShape * _arg0;
8011 PyObject * _argo0 = 0;
8012 char *_kwnames[] = { "self", NULL };
8013
8014 self = self;
8015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_GetConstraints",_kwnames,&_argo0))
8016 return NULL;
8017 if (_argo0) {
8018 if (_argo0 == Py_None) { _arg0 = NULL; }
8019 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8020 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_GetConstraints. Expected _wxPyCompositeShape_p.");
8021 return NULL;
8022 }
8023 }
8024 {
8025 PyThreadState* __tstate = wxPyBeginAllowThreads();
8026 _result = (PyObject *)wxPyCompositeShape_GetConstraints(_arg0);
8027
8028 wxPyEndAllowThreads(__tstate);
8029 if (PyErr_Occurred()) return NULL;
8030 }{
8031 _resultobj = _result;
8032 }
8033 return _resultobj;
8034 }
8035
8036 static PyObject * wxPyCompositeShape_GetDivisions(wxPyCompositeShape *self) {
8037 wxList& list = self->GetDivisions();
8038 return wxPy_ConvertShapeList(&list, "wxPyDivisionShape");
8039 }
8040 static PyObject *_wrap_wxPyCompositeShape_GetDivisions(PyObject *self, PyObject *args, PyObject *kwargs) {
8041 PyObject * _resultobj;
8042 PyObject * _result;
8043 wxPyCompositeShape * _arg0;
8044 PyObject * _argo0 = 0;
8045 char *_kwnames[] = { "self", NULL };
8046
8047 self = self;
8048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_GetDivisions",_kwnames,&_argo0))
8049 return NULL;
8050 if (_argo0) {
8051 if (_argo0 == Py_None) { _arg0 = NULL; }
8052 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8053 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_GetDivisions. Expected _wxPyCompositeShape_p.");
8054 return NULL;
8055 }
8056 }
8057 {
8058 PyThreadState* __tstate = wxPyBeginAllowThreads();
8059 _result = (PyObject *)wxPyCompositeShape_GetDivisions(_arg0);
8060
8061 wxPyEndAllowThreads(__tstate);
8062 if (PyErr_Occurred()) return NULL;
8063 }{
8064 _resultobj = _result;
8065 }
8066 return _resultobj;
8067 }
8068
8069 #define wxPyCompositeShape_MakeContainer(_swigobj) (_swigobj->MakeContainer())
8070 static PyObject *_wrap_wxPyCompositeShape_MakeContainer(PyObject *self, PyObject *args, PyObject *kwargs) {
8071 PyObject * _resultobj;
8072 wxPyCompositeShape * _arg0;
8073 PyObject * _argo0 = 0;
8074 char *_kwnames[] = { "self", NULL };
8075
8076 self = self;
8077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_MakeContainer",_kwnames,&_argo0))
8078 return NULL;
8079 if (_argo0) {
8080 if (_argo0 == Py_None) { _arg0 = NULL; }
8081 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8082 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_MakeContainer. Expected _wxPyCompositeShape_p.");
8083 return NULL;
8084 }
8085 }
8086 {
8087 PyThreadState* __tstate = wxPyBeginAllowThreads();
8088 wxPyCompositeShape_MakeContainer(_arg0);
8089
8090 wxPyEndAllowThreads(__tstate);
8091 if (PyErr_Occurred()) return NULL;
8092 } Py_INCREF(Py_None);
8093 _resultobj = Py_None;
8094 return _resultobj;
8095 }
8096
8097 #define wxPyCompositeShape_Recompute(_swigobj) (_swigobj->Recompute())
8098 static PyObject *_wrap_wxPyCompositeShape_Recompute(PyObject *self, PyObject *args, PyObject *kwargs) {
8099 PyObject * _resultobj;
8100 bool _result;
8101 wxPyCompositeShape * _arg0;
8102 PyObject * _argo0 = 0;
8103 char *_kwnames[] = { "self", NULL };
8104
8105 self = self;
8106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_Recompute",_kwnames,&_argo0))
8107 return NULL;
8108 if (_argo0) {
8109 if (_argo0 == Py_None) { _arg0 = NULL; }
8110 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8111 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_Recompute. Expected _wxPyCompositeShape_p.");
8112 return NULL;
8113 }
8114 }
8115 {
8116 PyThreadState* __tstate = wxPyBeginAllowThreads();
8117 _result = (bool )wxPyCompositeShape_Recompute(_arg0);
8118
8119 wxPyEndAllowThreads(__tstate);
8120 if (PyErr_Occurred()) return NULL;
8121 } _resultobj = Py_BuildValue("i",_result);
8122 return _resultobj;
8123 }
8124
8125 #define wxPyCompositeShape_RemoveChild(_swigobj,_swigarg0) (_swigobj->RemoveChild(_swigarg0))
8126 static PyObject *_wrap_wxPyCompositeShape_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
8127 PyObject * _resultobj;
8128 wxPyCompositeShape * _arg0;
8129 wxPyShape * _arg1;
8130 PyObject * _argo0 = 0;
8131 PyObject * _argo1 = 0;
8132 char *_kwnames[] = { "self","child", NULL };
8133
8134 self = self;
8135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_RemoveChild",_kwnames,&_argo0,&_argo1))
8136 return NULL;
8137 if (_argo0) {
8138 if (_argo0 == Py_None) { _arg0 = NULL; }
8139 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8140 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_RemoveChild. Expected _wxPyCompositeShape_p.");
8141 return NULL;
8142 }
8143 }
8144 if (_argo1) {
8145 if (_argo1 == Py_None) { _arg1 = NULL; }
8146 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) {
8147 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_RemoveChild. Expected _wxPyShape_p.");
8148 return NULL;
8149 }
8150 }
8151 {
8152 PyThreadState* __tstate = wxPyBeginAllowThreads();
8153 wxPyCompositeShape_RemoveChild(_arg0,_arg1);
8154
8155 wxPyEndAllowThreads(__tstate);
8156 if (PyErr_Occurred()) return NULL;
8157 } Py_INCREF(Py_None);
8158 _resultobj = Py_None;
8159 return _resultobj;
8160 }
8161
8162 #define wxPyCompositeShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
8163 static PyObject *_wrap_wxPyCompositeShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
8164 PyObject * _resultobj;
8165 wxPyCompositeShape * _arg0;
8166 PyObject * _argo0 = 0;
8167 char *_kwnames[] = { "self", NULL };
8168
8169 self = self;
8170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_base_OnDelete",_kwnames,&_argo0))
8171 return NULL;
8172 if (_argo0) {
8173 if (_argo0 == Py_None) { _arg0 = NULL; }
8174 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8175 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDelete. Expected _wxPyCompositeShape_p.");
8176 return NULL;
8177 }
8178 }
8179 {
8180 PyThreadState* __tstate = wxPyBeginAllowThreads();
8181 wxPyCompositeShape_base_OnDelete(_arg0);
8182
8183 wxPyEndAllowThreads(__tstate);
8184 if (PyErr_Occurred()) return NULL;
8185 } Py_INCREF(Py_None);
8186 _resultobj = Py_None;
8187 return _resultobj;
8188 }
8189
8190 #define wxPyCompositeShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
8191 static PyObject *_wrap_wxPyCompositeShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
8192 PyObject * _resultobj;
8193 wxPyCompositeShape * _arg0;
8194 wxDC * _arg1;
8195 PyObject * _argo0 = 0;
8196 PyObject * _argo1 = 0;
8197 char *_kwnames[] = { "self","dc", NULL };
8198
8199 self = self;
8200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnDraw",_kwnames,&_argo0,&_argo1))
8201 return NULL;
8202 if (_argo0) {
8203 if (_argo0 == Py_None) { _arg0 = NULL; }
8204 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8205 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDraw. Expected _wxPyCompositeShape_p.");
8206 return NULL;
8207 }
8208 }
8209 if (_argo1) {
8210 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8211 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnDraw. Expected _wxDC_p.");
8212 return NULL;
8213 }
8214 }
8215 {
8216 PyThreadState* __tstate = wxPyBeginAllowThreads();
8217 wxPyCompositeShape_base_OnDraw(_arg0,*_arg1);
8218
8219 wxPyEndAllowThreads(__tstate);
8220 if (PyErr_Occurred()) return NULL;
8221 } Py_INCREF(Py_None);
8222 _resultobj = Py_None;
8223 return _resultobj;
8224 }
8225
8226 #define wxPyCompositeShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
8227 static PyObject *_wrap_wxPyCompositeShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
8228 PyObject * _resultobj;
8229 wxPyCompositeShape * _arg0;
8230 wxDC * _arg1;
8231 PyObject * _argo0 = 0;
8232 PyObject * _argo1 = 0;
8233 char *_kwnames[] = { "self","dc", NULL };
8234
8235 self = self;
8236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1))
8237 return NULL;
8238 if (_argo0) {
8239 if (_argo0 == Py_None) { _arg0 = NULL; }
8240 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8241 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDrawContents. Expected _wxPyCompositeShape_p.");
8242 return NULL;
8243 }
8244 }
8245 if (_argo1) {
8246 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8247 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnDrawContents. Expected _wxDC_p.");
8248 return NULL;
8249 }
8250 }
8251 {
8252 PyThreadState* __tstate = wxPyBeginAllowThreads();
8253 wxPyCompositeShape_base_OnDrawContents(_arg0,*_arg1);
8254
8255 wxPyEndAllowThreads(__tstate);
8256 if (PyErr_Occurred()) return NULL;
8257 } Py_INCREF(Py_None);
8258 _resultobj = Py_None;
8259 return _resultobj;
8260 }
8261
8262 #define wxPyCompositeShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
8263 static PyObject *_wrap_wxPyCompositeShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
8264 PyObject * _resultobj;
8265 wxPyCompositeShape * _arg0;
8266 wxDC * _arg1;
8267 bool _arg2 = (bool ) FALSE;
8268 PyObject * _argo0 = 0;
8269 PyObject * _argo1 = 0;
8270 int tempbool2 = (int) FALSE;
8271 char *_kwnames[] = { "self","dc","erase", NULL };
8272
8273 self = self;
8274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyCompositeShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2))
8275 return NULL;
8276 if (_argo0) {
8277 if (_argo0 == Py_None) { _arg0 = NULL; }
8278 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8279 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDrawBranches. Expected _wxPyCompositeShape_p.");
8280 return NULL;
8281 }
8282 }
8283 if (_argo1) {
8284 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8285 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnDrawBranches. Expected _wxDC_p.");
8286 return NULL;
8287 }
8288 }
8289 _arg2 = (bool ) tempbool2;
8290 {
8291 PyThreadState* __tstate = wxPyBeginAllowThreads();
8292 wxPyCompositeShape_base_OnDrawBranches(_arg0,*_arg1,_arg2);
8293
8294 wxPyEndAllowThreads(__tstate);
8295 if (PyErr_Occurred()) return NULL;
8296 } Py_INCREF(Py_None);
8297 _resultobj = Py_None;
8298 return _resultobj;
8299 }
8300
8301 #define wxPyCompositeShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
8302 static PyObject *_wrap_wxPyCompositeShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
8303 PyObject * _resultobj;
8304 wxPyCompositeShape * _arg0;
8305 wxDC * _arg1;
8306 PyObject * _argo0 = 0;
8307 PyObject * _argo1 = 0;
8308 char *_kwnames[] = { "self","dc", NULL };
8309
8310 self = self;
8311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1))
8312 return NULL;
8313 if (_argo0) {
8314 if (_argo0 == Py_None) { _arg0 = NULL; }
8315 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8316 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnMoveLinks. Expected _wxPyCompositeShape_p.");
8317 return NULL;
8318 }
8319 }
8320 if (_argo1) {
8321 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8322 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnMoveLinks. Expected _wxDC_p.");
8323 return NULL;
8324 }
8325 }
8326 {
8327 PyThreadState* __tstate = wxPyBeginAllowThreads();
8328 wxPyCompositeShape_base_OnMoveLinks(_arg0,*_arg1);
8329
8330 wxPyEndAllowThreads(__tstate);
8331 if (PyErr_Occurred()) return NULL;
8332 } Py_INCREF(Py_None);
8333 _resultobj = Py_None;
8334 return _resultobj;
8335 }
8336
8337 #define wxPyCompositeShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
8338 static PyObject *_wrap_wxPyCompositeShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
8339 PyObject * _resultobj;
8340 wxPyCompositeShape * _arg0;
8341 wxDC * _arg1;
8342 PyObject * _argo0 = 0;
8343 PyObject * _argo1 = 0;
8344 char *_kwnames[] = { "self","dc", NULL };
8345
8346 self = self;
8347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnErase",_kwnames,&_argo0,&_argo1))
8348 return NULL;
8349 if (_argo0) {
8350 if (_argo0 == Py_None) { _arg0 = NULL; }
8351 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8352 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnErase. Expected _wxPyCompositeShape_p.");
8353 return NULL;
8354 }
8355 }
8356 if (_argo1) {
8357 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8358 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnErase. Expected _wxDC_p.");
8359 return NULL;
8360 }
8361 }
8362 {
8363 PyThreadState* __tstate = wxPyBeginAllowThreads();
8364 wxPyCompositeShape_base_OnErase(_arg0,*_arg1);
8365
8366 wxPyEndAllowThreads(__tstate);
8367 if (PyErr_Occurred()) return NULL;
8368 } Py_INCREF(Py_None);
8369 _resultobj = Py_None;
8370 return _resultobj;
8371 }
8372
8373 #define wxPyCompositeShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
8374 static PyObject *_wrap_wxPyCompositeShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
8375 PyObject * _resultobj;
8376 wxPyCompositeShape * _arg0;
8377 wxDC * _arg1;
8378 PyObject * _argo0 = 0;
8379 PyObject * _argo1 = 0;
8380 char *_kwnames[] = { "self","dc", NULL };
8381
8382 self = self;
8383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1))
8384 return NULL;
8385 if (_argo0) {
8386 if (_argo0 == Py_None) { _arg0 = NULL; }
8387 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8388 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnEraseContents. Expected _wxPyCompositeShape_p.");
8389 return NULL;
8390 }
8391 }
8392 if (_argo1) {
8393 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8394 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnEraseContents. Expected _wxDC_p.");
8395 return NULL;
8396 }
8397 }
8398 {
8399 PyThreadState* __tstate = wxPyBeginAllowThreads();
8400 wxPyCompositeShape_base_OnEraseContents(_arg0,*_arg1);
8401
8402 wxPyEndAllowThreads(__tstate);
8403 if (PyErr_Occurred()) return NULL;
8404 } Py_INCREF(Py_None);
8405 _resultobj = Py_None;
8406 return _resultobj;
8407 }
8408
8409 #define wxPyCompositeShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
8410 static PyObject *_wrap_wxPyCompositeShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
8411 PyObject * _resultobj;
8412 wxPyCompositeShape * _arg0;
8413 wxDC * _arg1;
8414 PyObject * _argo0 = 0;
8415 PyObject * _argo1 = 0;
8416 char *_kwnames[] = { "self","dc", NULL };
8417
8418 self = self;
8419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnHighlight",_kwnames,&_argo0,&_argo1))
8420 return NULL;
8421 if (_argo0) {
8422 if (_argo0 == Py_None) { _arg0 = NULL; }
8423 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8424 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnHighlight. Expected _wxPyCompositeShape_p.");
8425 return NULL;
8426 }
8427 }
8428 if (_argo1) {
8429 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8430 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnHighlight. Expected _wxDC_p.");
8431 return NULL;
8432 }
8433 }
8434 {
8435 PyThreadState* __tstate = wxPyBeginAllowThreads();
8436 wxPyCompositeShape_base_OnHighlight(_arg0,*_arg1);
8437
8438 wxPyEndAllowThreads(__tstate);
8439 if (PyErr_Occurred()) return NULL;
8440 } Py_INCREF(Py_None);
8441 _resultobj = Py_None;
8442 return _resultobj;
8443 }
8444
8445 #define wxPyCompositeShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8446 static PyObject *_wrap_wxPyCompositeShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
8447 PyObject * _resultobj;
8448 wxPyCompositeShape * _arg0;
8449 double _arg1;
8450 double _arg2;
8451 int _arg3 = (int ) 0;
8452 int _arg4 = (int ) 0;
8453 PyObject * _argo0 = 0;
8454 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
8455
8456 self = self;
8457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8458 return NULL;
8459 if (_argo0) {
8460 if (_argo0 == Py_None) { _arg0 = NULL; }
8461 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8462 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnLeftClick. Expected _wxPyCompositeShape_p.");
8463 return NULL;
8464 }
8465 }
8466 {
8467 PyThreadState* __tstate = wxPyBeginAllowThreads();
8468 wxPyCompositeShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4);
8469
8470 wxPyEndAllowThreads(__tstate);
8471 if (PyErr_Occurred()) return NULL;
8472 } Py_INCREF(Py_None);
8473 _resultobj = Py_None;
8474 return _resultobj;
8475 }
8476
8477 #define wxPyCompositeShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8478 static PyObject *_wrap_wxPyCompositeShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
8479 PyObject * _resultobj;
8480 wxPyCompositeShape * _arg0;
8481 double _arg1;
8482 double _arg2;
8483 int _arg3 = (int ) 0;
8484 int _arg4 = (int ) 0;
8485 PyObject * _argo0 = 0;
8486 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
8487
8488 self = self;
8489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8490 return NULL;
8491 if (_argo0) {
8492 if (_argo0 == Py_None) { _arg0 = NULL; }
8493 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8494 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnLeftDoubleClick. Expected _wxPyCompositeShape_p.");
8495 return NULL;
8496 }
8497 }
8498 {
8499 PyThreadState* __tstate = wxPyBeginAllowThreads();
8500 wxPyCompositeShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4);
8501
8502 wxPyEndAllowThreads(__tstate);
8503 if (PyErr_Occurred()) return NULL;
8504 } Py_INCREF(Py_None);
8505 _resultobj = Py_None;
8506 return _resultobj;
8507 }
8508
8509 #define wxPyCompositeShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8510 static PyObject *_wrap_wxPyCompositeShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
8511 PyObject * _resultobj;
8512 wxPyCompositeShape * _arg0;
8513 double _arg1;
8514 double _arg2;
8515 int _arg3 = (int ) 0;
8516 int _arg4 = (int ) 0;
8517 PyObject * _argo0 = 0;
8518 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
8519
8520 self = self;
8521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8522 return NULL;
8523 if (_argo0) {
8524 if (_argo0 == Py_None) { _arg0 = NULL; }
8525 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8526 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnRightClick. Expected _wxPyCompositeShape_p.");
8527 return NULL;
8528 }
8529 }
8530 {
8531 PyThreadState* __tstate = wxPyBeginAllowThreads();
8532 wxPyCompositeShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4);
8533
8534 wxPyEndAllowThreads(__tstate);
8535 if (PyErr_Occurred()) return NULL;
8536 } Py_INCREF(Py_None);
8537 _resultobj = Py_None;
8538 return _resultobj;
8539 }
8540
8541 #define wxPyCompositeShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
8542 static PyObject *_wrap_wxPyCompositeShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8543 PyObject * _resultobj;
8544 wxPyCompositeShape * _arg0;
8545 double _arg1;
8546 double _arg2;
8547 PyObject * _argo0 = 0;
8548 char *_kwnames[] = { "self","x","y", NULL };
8549
8550 self = self;
8551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyCompositeShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2))
8552 return NULL;
8553 if (_argo0) {
8554 if (_argo0 == Py_None) { _arg0 = NULL; }
8555 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8556 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnSize. Expected _wxPyCompositeShape_p.");
8557 return NULL;
8558 }
8559 }
8560 {
8561 PyThreadState* __tstate = wxPyBeginAllowThreads();
8562 wxPyCompositeShape_base_OnSize(_arg0,_arg1,_arg2);
8563
8564 wxPyEndAllowThreads(__tstate);
8565 if (PyErr_Occurred()) return NULL;
8566 } Py_INCREF(Py_None);
8567 _resultobj = Py_None;
8568 return _resultobj;
8569 }
8570
8571 #define wxPyCompositeShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8572 static PyObject *_wrap_wxPyCompositeShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
8573 PyObject * _resultobj;
8574 bool _result;
8575 wxPyCompositeShape * _arg0;
8576 wxDC * _arg1;
8577 double _arg2;
8578 double _arg3;
8579 double _arg4;
8580 double _arg5;
8581 bool _arg6 = (bool ) TRUE;
8582 PyObject * _argo0 = 0;
8583 PyObject * _argo1 = 0;
8584 int tempbool6 = (int) TRUE;
8585 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
8586
8587 self = self;
8588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyCompositeShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
8589 return NULL;
8590 if (_argo0) {
8591 if (_argo0 == Py_None) { _arg0 = NULL; }
8592 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8593 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnMovePre. Expected _wxPyCompositeShape_p.");
8594 return NULL;
8595 }
8596 }
8597 if (_argo1) {
8598 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8599 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnMovePre. Expected _wxDC_p.");
8600 return NULL;
8601 }
8602 }
8603 _arg6 = (bool ) tempbool6;
8604 {
8605 PyThreadState* __tstate = wxPyBeginAllowThreads();
8606 _result = (bool )wxPyCompositeShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
8607
8608 wxPyEndAllowThreads(__tstate);
8609 if (PyErr_Occurred()) return NULL;
8610 } _resultobj = Py_BuildValue("i",_result);
8611 return _resultobj;
8612 }
8613
8614 #define wxPyCompositeShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8615 static PyObject *_wrap_wxPyCompositeShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
8616 PyObject * _resultobj;
8617 wxPyCompositeShape * _arg0;
8618 wxDC * _arg1;
8619 double _arg2;
8620 double _arg3;
8621 double _arg4;
8622 double _arg5;
8623 bool _arg6 = (bool ) TRUE;
8624 PyObject * _argo0 = 0;
8625 PyObject * _argo1 = 0;
8626 int tempbool6 = (int) TRUE;
8627 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
8628
8629 self = self;
8630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyCompositeShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
8631 return NULL;
8632 if (_argo0) {
8633 if (_argo0 == Py_None) { _arg0 = NULL; }
8634 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8635 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnMovePost. Expected _wxPyCompositeShape_p.");
8636 return NULL;
8637 }
8638 }
8639 if (_argo1) {
8640 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8641 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnMovePost. Expected _wxDC_p.");
8642 return NULL;
8643 }
8644 }
8645 _arg6 = (bool ) tempbool6;
8646 {
8647 PyThreadState* __tstate = wxPyBeginAllowThreads();
8648 wxPyCompositeShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
8649
8650 wxPyEndAllowThreads(__tstate);
8651 if (PyErr_Occurred()) return NULL;
8652 } Py_INCREF(Py_None);
8653 _resultobj = Py_None;
8654 return _resultobj;
8655 }
8656
8657 #define wxPyCompositeShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8658 static PyObject *_wrap_wxPyCompositeShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8659 PyObject * _resultobj;
8660 wxPyCompositeShape * _arg0;
8661 bool _arg1;
8662 double _arg2;
8663 double _arg3;
8664 int _arg4 = (int ) 0;
8665 int _arg5 = (int ) 0;
8666 PyObject * _argo0 = 0;
8667 int tempbool1;
8668 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
8669
8670 self = self;
8671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyCompositeShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
8672 return NULL;
8673 if (_argo0) {
8674 if (_argo0 == Py_None) { _arg0 = NULL; }
8675 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8676 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDragLeft. Expected _wxPyCompositeShape_p.");
8677 return NULL;
8678 }
8679 }
8680 _arg1 = (bool ) tempbool1;
8681 {
8682 PyThreadState* __tstate = wxPyBeginAllowThreads();
8683 wxPyCompositeShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
8684
8685 wxPyEndAllowThreads(__tstate);
8686 if (PyErr_Occurred()) return NULL;
8687 } Py_INCREF(Py_None);
8688 _resultobj = Py_None;
8689 return _resultobj;
8690 }
8691
8692 #define wxPyCompositeShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8693 static PyObject *_wrap_wxPyCompositeShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8694 PyObject * _resultobj;
8695 wxPyCompositeShape * _arg0;
8696 double _arg1;
8697 double _arg2;
8698 int _arg3 = (int ) 0;
8699 int _arg4 = (int ) 0;
8700 PyObject * _argo0 = 0;
8701 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
8702
8703 self = self;
8704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8705 return NULL;
8706 if (_argo0) {
8707 if (_argo0 == Py_None) { _arg0 = NULL; }
8708 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8709 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnBeginDragLeft. Expected _wxPyCompositeShape_p.");
8710 return NULL;
8711 }
8712 }
8713 {
8714 PyThreadState* __tstate = wxPyBeginAllowThreads();
8715 wxPyCompositeShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
8716
8717 wxPyEndAllowThreads(__tstate);
8718 if (PyErr_Occurred()) return NULL;
8719 } Py_INCREF(Py_None);
8720 _resultobj = Py_None;
8721 return _resultobj;
8722 }
8723
8724 #define wxPyCompositeShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8725 static PyObject *_wrap_wxPyCompositeShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8726 PyObject * _resultobj;
8727 wxPyCompositeShape * _arg0;
8728 double _arg1;
8729 double _arg2;
8730 int _arg3 = (int ) 0;
8731 int _arg4 = (int ) 0;
8732 PyObject * _argo0 = 0;
8733 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
8734
8735 self = self;
8736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8737 return NULL;
8738 if (_argo0) {
8739 if (_argo0 == Py_None) { _arg0 = NULL; }
8740 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8741 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnEndDragLeft. Expected _wxPyCompositeShape_p.");
8742 return NULL;
8743 }
8744 }
8745 {
8746 PyThreadState* __tstate = wxPyBeginAllowThreads();
8747 wxPyCompositeShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
8748
8749 wxPyEndAllowThreads(__tstate);
8750 if (PyErr_Occurred()) return NULL;
8751 } Py_INCREF(Py_None);
8752 _resultobj = Py_None;
8753 return _resultobj;
8754 }
8755
8756 #define wxPyCompositeShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8757 static PyObject *_wrap_wxPyCompositeShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8758 PyObject * _resultobj;
8759 wxPyCompositeShape * _arg0;
8760 bool _arg1;
8761 double _arg2;
8762 double _arg3;
8763 int _arg4 = (int ) 0;
8764 int _arg5 = (int ) 0;
8765 PyObject * _argo0 = 0;
8766 int tempbool1;
8767 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
8768
8769 self = self;
8770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyCompositeShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
8771 return NULL;
8772 if (_argo0) {
8773 if (_argo0 == Py_None) { _arg0 = NULL; }
8774 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8775 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDragRight. Expected _wxPyCompositeShape_p.");
8776 return NULL;
8777 }
8778 }
8779 _arg1 = (bool ) tempbool1;
8780 {
8781 PyThreadState* __tstate = wxPyBeginAllowThreads();
8782 wxPyCompositeShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
8783
8784 wxPyEndAllowThreads(__tstate);
8785 if (PyErr_Occurred()) return NULL;
8786 } Py_INCREF(Py_None);
8787 _resultobj = Py_None;
8788 return _resultobj;
8789 }
8790
8791 #define wxPyCompositeShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8792 static PyObject *_wrap_wxPyCompositeShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8793 PyObject * _resultobj;
8794 wxPyCompositeShape * _arg0;
8795 double _arg1;
8796 double _arg2;
8797 int _arg3 = (int ) 0;
8798 int _arg4 = (int ) 0;
8799 PyObject * _argo0 = 0;
8800 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
8801
8802 self = self;
8803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8804 return NULL;
8805 if (_argo0) {
8806 if (_argo0 == Py_None) { _arg0 = NULL; }
8807 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8808 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnBeginDragRight. Expected _wxPyCompositeShape_p.");
8809 return NULL;
8810 }
8811 }
8812 {
8813 PyThreadState* __tstate = wxPyBeginAllowThreads();
8814 wxPyCompositeShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
8815
8816 wxPyEndAllowThreads(__tstate);
8817 if (PyErr_Occurred()) return NULL;
8818 } Py_INCREF(Py_None);
8819 _resultobj = Py_None;
8820 return _resultobj;
8821 }
8822
8823 #define wxPyCompositeShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8824 static PyObject *_wrap_wxPyCompositeShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8825 PyObject * _resultobj;
8826 wxPyCompositeShape * _arg0;
8827 double _arg1;
8828 double _arg2;
8829 int _arg3 = (int ) 0;
8830 int _arg4 = (int ) 0;
8831 PyObject * _argo0 = 0;
8832 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
8833
8834 self = self;
8835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8836 return NULL;
8837 if (_argo0) {
8838 if (_argo0 == Py_None) { _arg0 = NULL; }
8839 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8840 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnEndDragRight. Expected _wxPyCompositeShape_p.");
8841 return NULL;
8842 }
8843 }
8844 {
8845 PyThreadState* __tstate = wxPyBeginAllowThreads();
8846 wxPyCompositeShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
8847
8848 wxPyEndAllowThreads(__tstate);
8849 if (PyErr_Occurred()) return NULL;
8850 } Py_INCREF(Py_None);
8851 _resultobj = Py_None;
8852 return _resultobj;
8853 }
8854
8855 #define wxPyCompositeShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8856 static PyObject *_wrap_wxPyCompositeShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
8857 PyObject * _resultobj;
8858 wxPyCompositeShape * _arg0;
8859 wxDC * _arg1;
8860 double _arg2;
8861 double _arg3;
8862 double _arg4;
8863 double _arg5;
8864 PyObject * _argo0 = 0;
8865 PyObject * _argo1 = 0;
8866 char *_kwnames[] = { "self","dc","x","y","w","h", NULL };
8867
8868 self = self;
8869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyCompositeShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
8870 return NULL;
8871 if (_argo0) {
8872 if (_argo0 == Py_None) { _arg0 = NULL; }
8873 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8874 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDrawOutline. Expected _wxPyCompositeShape_p.");
8875 return NULL;
8876 }
8877 }
8878 if (_argo1) {
8879 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8880 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnDrawOutline. Expected _wxDC_p.");
8881 return NULL;
8882 }
8883 }
8884 {
8885 PyThreadState* __tstate = wxPyBeginAllowThreads();
8886 wxPyCompositeShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5);
8887
8888 wxPyEndAllowThreads(__tstate);
8889 if (PyErr_Occurred()) return NULL;
8890 } Py_INCREF(Py_None);
8891 _resultobj = Py_None;
8892 return _resultobj;
8893 }
8894
8895 #define wxPyCompositeShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
8896 static PyObject *_wrap_wxPyCompositeShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
8897 PyObject * _resultobj;
8898 wxPyCompositeShape * _arg0;
8899 wxDC * _arg1;
8900 PyObject * _argo0 = 0;
8901 PyObject * _argo1 = 0;
8902 char *_kwnames[] = { "self","dc", NULL };
8903
8904 self = self;
8905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1))
8906 return NULL;
8907 if (_argo0) {
8908 if (_argo0 == Py_None) { _arg0 = NULL; }
8909 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8910 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDrawControlPoints. Expected _wxPyCompositeShape_p.");
8911 return NULL;
8912 }
8913 }
8914 if (_argo1) {
8915 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8916 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnDrawControlPoints. Expected _wxDC_p.");
8917 return NULL;
8918 }
8919 }
8920 {
8921 PyThreadState* __tstate = wxPyBeginAllowThreads();
8922 wxPyCompositeShape_base_OnDrawControlPoints(_arg0,*_arg1);
8923
8924 wxPyEndAllowThreads(__tstate);
8925 if (PyErr_Occurred()) return NULL;
8926 } Py_INCREF(Py_None);
8927 _resultobj = Py_None;
8928 return _resultobj;
8929 }
8930
8931 #define wxPyCompositeShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
8932 static PyObject *_wrap_wxPyCompositeShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
8933 PyObject * _resultobj;
8934 wxPyCompositeShape * _arg0;
8935 wxDC * _arg1;
8936 PyObject * _argo0 = 0;
8937 PyObject * _argo1 = 0;
8938 char *_kwnames[] = { "self","dc", NULL };
8939
8940 self = self;
8941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1))
8942 return NULL;
8943 if (_argo0) {
8944 if (_argo0 == Py_None) { _arg0 = NULL; }
8945 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8946 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnEraseControlPoints. Expected _wxPyCompositeShape_p.");
8947 return NULL;
8948 }
8949 }
8950 if (_argo1) {
8951 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8952 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnEraseControlPoints. Expected _wxDC_p.");
8953 return NULL;
8954 }
8955 }
8956 {
8957 PyThreadState* __tstate = wxPyBeginAllowThreads();
8958 wxPyCompositeShape_base_OnEraseControlPoints(_arg0,*_arg1);
8959
8960 wxPyEndAllowThreads(__tstate);
8961 if (PyErr_Occurred()) return NULL;
8962 } Py_INCREF(Py_None);
8963 _resultobj = Py_None;
8964 return _resultobj;
8965 }
8966
8967 #define wxPyCompositeShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
8968 static PyObject *_wrap_wxPyCompositeShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
8969 PyObject * _resultobj;
8970 wxPyCompositeShape * _arg0;
8971 wxDC * _arg1;
8972 bool _arg2 = (bool ) TRUE;
8973 PyObject * _argo0 = 0;
8974 PyObject * _argo1 = 0;
8975 int tempbool2 = (int) TRUE;
8976 char *_kwnames[] = { "self","dc","moveControlPoints", NULL };
8977
8978 self = self;
8979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyCompositeShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2))
8980 return NULL;
8981 if (_argo0) {
8982 if (_argo0 == Py_None) { _arg0 = NULL; }
8983 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8984 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnMoveLink. Expected _wxPyCompositeShape_p.");
8985 return NULL;
8986 }
8987 }
8988 if (_argo1) {
8989 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8990 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnMoveLink. Expected _wxDC_p.");
8991 return NULL;
8992 }
8993 }
8994 _arg2 = (bool ) tempbool2;
8995 {
8996 PyThreadState* __tstate = wxPyBeginAllowThreads();
8997 wxPyCompositeShape_base_OnMoveLink(_arg0,*_arg1,_arg2);
8998
8999 wxPyEndAllowThreads(__tstate);
9000 if (PyErr_Occurred()) return NULL;
9001 } Py_INCREF(Py_None);
9002 _resultobj = Py_None;
9003 return _resultobj;
9004 }
9005
9006 #define wxPyCompositeShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
9007 static PyObject *_wrap_wxPyCompositeShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9008 PyObject * _resultobj;
9009 wxPyCompositeShape * _arg0;
9010 wxPyControlPoint * _arg1;
9011 bool _arg2;
9012 double _arg3;
9013 double _arg4;
9014 int _arg5 = (int ) 0;
9015 int _arg6 = (int ) 0;
9016 PyObject * _argo0 = 0;
9017 PyObject * _argo1 = 0;
9018 int tempbool2;
9019 char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL };
9020
9021 self = self;
9022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyCompositeShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6))
9023 return NULL;
9024 if (_argo0) {
9025 if (_argo0 == Py_None) { _arg0 = NULL; }
9026 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
9027 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnSizingDragLeft. Expected _wxPyCompositeShape_p.");
9028 return NULL;
9029 }
9030 }
9031 if (_argo1) {
9032 if (_argo1 == Py_None) { _arg1 = NULL; }
9033 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
9034 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
9035 return NULL;
9036 }
9037 }
9038 _arg2 = (bool ) tempbool2;
9039 {
9040 PyThreadState* __tstate = wxPyBeginAllowThreads();
9041 wxPyCompositeShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
9042
9043 wxPyEndAllowThreads(__tstate);
9044 if (PyErr_Occurred()) return NULL;
9045 } Py_INCREF(Py_None);
9046 _resultobj = Py_None;
9047 return _resultobj;
9048 }
9049
9050 #define wxPyCompositeShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
9051 static PyObject *_wrap_wxPyCompositeShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9052 PyObject * _resultobj;
9053 wxPyCompositeShape * _arg0;
9054 wxPyControlPoint * _arg1;
9055 double _arg2;
9056 double _arg3;
9057 int _arg4 = (int ) 0;
9058 int _arg5 = (int ) 0;
9059 PyObject * _argo0 = 0;
9060 PyObject * _argo1 = 0;
9061 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
9062
9063 self = self;
9064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyCompositeShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
9065 return NULL;
9066 if (_argo0) {
9067 if (_argo0 == Py_None) { _arg0 = NULL; }
9068 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
9069 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnSizingBeginDragLeft. Expected _wxPyCompositeShape_p.");
9070 return NULL;
9071 }
9072 }
9073 if (_argo1) {
9074 if (_argo1 == Py_None) { _arg1 = NULL; }
9075 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
9076 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
9077 return NULL;
9078 }
9079 }
9080 {
9081 PyThreadState* __tstate = wxPyBeginAllowThreads();
9082 wxPyCompositeShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
9083
9084 wxPyEndAllowThreads(__tstate);
9085 if (PyErr_Occurred()) return NULL;
9086 } Py_INCREF(Py_None);
9087 _resultobj = Py_None;
9088 return _resultobj;
9089 }
9090
9091 #define wxPyCompositeShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
9092 static PyObject *_wrap_wxPyCompositeShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9093 PyObject * _resultobj;
9094 wxPyCompositeShape * _arg0;
9095 wxPyControlPoint * _arg1;
9096 double _arg2;
9097 double _arg3;
9098 int _arg4 = (int ) 0;
9099 int _arg5 = (int ) 0;
9100 PyObject * _argo0 = 0;
9101 PyObject * _argo1 = 0;
9102 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
9103
9104 self = self;
9105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyCompositeShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
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_OnSizingEndDragLeft. 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,"_wxPyControlPoint_p")) {
9117 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
9118 return NULL;
9119 }
9120 }
9121 {
9122 PyThreadState* __tstate = wxPyBeginAllowThreads();
9123 wxPyCompositeShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
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_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
9133 static PyObject *_wrap_wxPyCompositeShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9134 PyObject * _resultobj;
9135 wxPyCompositeShape * _arg0;
9136 double _arg1;
9137 double _arg2;
9138 PyObject * _argo0 = 0;
9139 char *_kwnames[] = { "self","w","h", NULL };
9140
9141 self = self;
9142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyCompositeShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2))
9143 return NULL;
9144 if (_argo0) {
9145 if (_argo0 == Py_None) { _arg0 = NULL; }
9146 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
9147 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnBeginSize. Expected _wxPyCompositeShape_p.");
9148 return NULL;
9149 }
9150 }
9151 {
9152 PyThreadState* __tstate = wxPyBeginAllowThreads();
9153 wxPyCompositeShape_base_OnBeginSize(_arg0,_arg1,_arg2);
9154
9155 wxPyEndAllowThreads(__tstate);
9156 if (PyErr_Occurred()) return NULL;
9157 } Py_INCREF(Py_None);
9158 _resultobj = Py_None;
9159 return _resultobj;
9160 }
9161
9162 #define wxPyCompositeShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
9163 static PyObject *_wrap_wxPyCompositeShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9164 PyObject * _resultobj;
9165 wxPyCompositeShape * _arg0;
9166 double _arg1;
9167 double _arg2;
9168 PyObject * _argo0 = 0;
9169 char *_kwnames[] = { "self","w","h", NULL };
9170
9171 self = self;
9172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyCompositeShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2))
9173 return NULL;
9174 if (_argo0) {
9175 if (_argo0 == Py_None) { _arg0 = NULL; }
9176 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
9177 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnEndSize. Expected _wxPyCompositeShape_p.");
9178 return NULL;
9179 }
9180 }
9181 {
9182 PyThreadState* __tstate = wxPyBeginAllowThreads();
9183 wxPyCompositeShape_base_OnEndSize(_arg0,_arg1,_arg2);
9184
9185 wxPyEndAllowThreads(__tstate);
9186 if (PyErr_Occurred()) return NULL;
9187 } Py_INCREF(Py_None);
9188 _resultobj = Py_None;
9189 return _resultobj;
9190 }
9191
9192 static void *SwigwxPyDividedShapeTowxPyRectangleShape(void *ptr) {
9193 wxPyDividedShape *src;
9194 wxPyRectangleShape *dest;
9195 src = (wxPyDividedShape *) ptr;
9196 dest = (wxPyRectangleShape *) src;
9197 return (void *) dest;
9198 }
9199
9200 static void *SwigwxPyDividedShapeTowxPyShape(void *ptr) {
9201 wxPyDividedShape *src;
9202 wxPyShape *dest;
9203 src = (wxPyDividedShape *) ptr;
9204 dest = (wxPyShape *) src;
9205 return (void *) dest;
9206 }
9207
9208 static void *SwigwxPyDividedShapeTowxPyShapeEvtHandler(void *ptr) {
9209 wxPyDividedShape *src;
9210 wxPyShapeEvtHandler *dest;
9211 src = (wxPyDividedShape *) ptr;
9212 dest = (wxPyShapeEvtHandler *) src;
9213 return (void *) dest;
9214 }
9215
9216 static void *SwigwxPyDividedShapeTowxObject(void *ptr) {
9217 wxPyDividedShape *src;
9218 wxObject *dest;
9219 src = (wxPyDividedShape *) ptr;
9220 dest = (wxObject *) src;
9221 return (void *) dest;
9222 }
9223
9224 #define new_wxPyDividedShape(_swigarg0,_swigarg1) (new wxPyDividedShape(_swigarg0,_swigarg1))
9225 static PyObject *_wrap_new_wxPyDividedShape(PyObject *self, PyObject *args, PyObject *kwargs) {
9226 PyObject * _resultobj;
9227 wxPyDividedShape * _result;
9228 double _arg0 = (double ) 0.0;
9229 double _arg1 = (double ) 0.0;
9230 char *_kwnames[] = { "width","height", NULL };
9231 char _ptemp[128];
9232
9233 self = self;
9234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|dd:new_wxPyDividedShape",_kwnames,&_arg0,&_arg1))
9235 return NULL;
9236 {
9237 PyThreadState* __tstate = wxPyBeginAllowThreads();
9238 _result = (wxPyDividedShape *)new_wxPyDividedShape(_arg0,_arg1);
9239
9240 wxPyEndAllowThreads(__tstate);
9241 if (PyErr_Occurred()) return NULL;
9242 } if (_result) {
9243 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyDividedShape_p");
9244 _resultobj = Py_BuildValue("s",_ptemp);
9245 } else {
9246 Py_INCREF(Py_None);
9247 _resultobj = Py_None;
9248 }
9249 return _resultobj;
9250 }
9251
9252 #define wxPyDividedShape__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
9253 static PyObject *_wrap_wxPyDividedShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9254 PyObject * _resultobj;
9255 wxPyDividedShape * _arg0;
9256 PyObject * _arg1;
9257 PyObject * _arg2;
9258 PyObject * _argo0 = 0;
9259 PyObject * _obj1 = 0;
9260 PyObject * _obj2 = 0;
9261 char *_kwnames[] = { "self","self","_class", NULL };
9262
9263 self = self;
9264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyDividedShape__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
9265 return NULL;
9266 if (_argo0) {
9267 if (_argo0 == Py_None) { _arg0 = NULL; }
9268 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9269 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape__setCallbackInfo. Expected _wxPyDividedShape_p.");
9270 return NULL;
9271 }
9272 }
9273 {
9274 _arg1 = _obj1;
9275 }
9276 {
9277 _arg2 = _obj2;
9278 }
9279 {
9280 PyThreadState* __tstate = wxPyBeginAllowThreads();
9281 wxPyDividedShape__setCallbackInfo(_arg0,_arg1,_arg2);
9282
9283 wxPyEndAllowThreads(__tstate);
9284 if (PyErr_Occurred()) return NULL;
9285 } Py_INCREF(Py_None);
9286 _resultobj = Py_None;
9287 return _resultobj;
9288 }
9289
9290 #define wxPyDividedShape_EditRegions(_swigobj) (_swigobj->EditRegions())
9291 static PyObject *_wrap_wxPyDividedShape_EditRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
9292 PyObject * _resultobj;
9293 wxPyDividedShape * _arg0;
9294 PyObject * _argo0 = 0;
9295 char *_kwnames[] = { "self", NULL };
9296
9297 self = self;
9298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDividedShape_EditRegions",_kwnames,&_argo0))
9299 return NULL;
9300 if (_argo0) {
9301 if (_argo0 == Py_None) { _arg0 = NULL; }
9302 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9303 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_EditRegions. Expected _wxPyDividedShape_p.");
9304 return NULL;
9305 }
9306 }
9307 {
9308 PyThreadState* __tstate = wxPyBeginAllowThreads();
9309 wxPyDividedShape_EditRegions(_arg0);
9310
9311 wxPyEndAllowThreads(__tstate);
9312 if (PyErr_Occurred()) return NULL;
9313 } Py_INCREF(Py_None);
9314 _resultobj = Py_None;
9315 return _resultobj;
9316 }
9317
9318 #define wxPyDividedShape_SetRegionSizes(_swigobj) (_swigobj->SetRegionSizes())
9319 static PyObject *_wrap_wxPyDividedShape_SetRegionSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
9320 PyObject * _resultobj;
9321 wxPyDividedShape * _arg0;
9322 PyObject * _argo0 = 0;
9323 char *_kwnames[] = { "self", NULL };
9324
9325 self = self;
9326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDividedShape_SetRegionSizes",_kwnames,&_argo0))
9327 return NULL;
9328 if (_argo0) {
9329 if (_argo0 == Py_None) { _arg0 = NULL; }
9330 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9331 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_SetRegionSizes. Expected _wxPyDividedShape_p.");
9332 return NULL;
9333 }
9334 }
9335 {
9336 PyThreadState* __tstate = wxPyBeginAllowThreads();
9337 wxPyDividedShape_SetRegionSizes(_arg0);
9338
9339 wxPyEndAllowThreads(__tstate);
9340 if (PyErr_Occurred()) return NULL;
9341 } Py_INCREF(Py_None);
9342 _resultobj = Py_None;
9343 return _resultobj;
9344 }
9345
9346 #define wxPyDividedShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
9347 static PyObject *_wrap_wxPyDividedShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
9348 PyObject * _resultobj;
9349 wxPyDividedShape * _arg0;
9350 PyObject * _argo0 = 0;
9351 char *_kwnames[] = { "self", NULL };
9352
9353 self = self;
9354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDividedShape_base_OnDelete",_kwnames,&_argo0))
9355 return NULL;
9356 if (_argo0) {
9357 if (_argo0 == Py_None) { _arg0 = NULL; }
9358 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9359 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDelete. Expected _wxPyDividedShape_p.");
9360 return NULL;
9361 }
9362 }
9363 {
9364 PyThreadState* __tstate = wxPyBeginAllowThreads();
9365 wxPyDividedShape_base_OnDelete(_arg0);
9366
9367 wxPyEndAllowThreads(__tstate);
9368 if (PyErr_Occurred()) return NULL;
9369 } Py_INCREF(Py_None);
9370 _resultobj = Py_None;
9371 return _resultobj;
9372 }
9373
9374 #define wxPyDividedShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
9375 static PyObject *_wrap_wxPyDividedShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
9376 PyObject * _resultobj;
9377 wxPyDividedShape * _arg0;
9378 wxDC * _arg1;
9379 PyObject * _argo0 = 0;
9380 PyObject * _argo1 = 0;
9381 char *_kwnames[] = { "self","dc", NULL };
9382
9383 self = self;
9384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnDraw",_kwnames,&_argo0,&_argo1))
9385 return NULL;
9386 if (_argo0) {
9387 if (_argo0 == Py_None) { _arg0 = NULL; }
9388 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9389 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDraw. Expected _wxPyDividedShape_p.");
9390 return NULL;
9391 }
9392 }
9393 if (_argo1) {
9394 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
9395 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnDraw. Expected _wxDC_p.");
9396 return NULL;
9397 }
9398 }
9399 {
9400 PyThreadState* __tstate = wxPyBeginAllowThreads();
9401 wxPyDividedShape_base_OnDraw(_arg0,*_arg1);
9402
9403 wxPyEndAllowThreads(__tstate);
9404 if (PyErr_Occurred()) return NULL;
9405 } Py_INCREF(Py_None);
9406 _resultobj = Py_None;
9407 return _resultobj;
9408 }
9409
9410 #define wxPyDividedShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
9411 static PyObject *_wrap_wxPyDividedShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
9412 PyObject * _resultobj;
9413 wxPyDividedShape * _arg0;
9414 wxDC * _arg1;
9415 PyObject * _argo0 = 0;
9416 PyObject * _argo1 = 0;
9417 char *_kwnames[] = { "self","dc", NULL };
9418
9419 self = self;
9420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1))
9421 return NULL;
9422 if (_argo0) {
9423 if (_argo0 == Py_None) { _arg0 = NULL; }
9424 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9425 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDrawContents. Expected _wxPyDividedShape_p.");
9426 return NULL;
9427 }
9428 }
9429 if (_argo1) {
9430 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
9431 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnDrawContents. Expected _wxDC_p.");
9432 return NULL;
9433 }
9434 }
9435 {
9436 PyThreadState* __tstate = wxPyBeginAllowThreads();
9437 wxPyDividedShape_base_OnDrawContents(_arg0,*_arg1);
9438
9439 wxPyEndAllowThreads(__tstate);
9440 if (PyErr_Occurred()) return NULL;
9441 } Py_INCREF(Py_None);
9442 _resultobj = Py_None;
9443 return _resultobj;
9444 }
9445
9446 #define wxPyDividedShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
9447 static PyObject *_wrap_wxPyDividedShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
9448 PyObject * _resultobj;
9449 wxPyDividedShape * _arg0;
9450 wxDC * _arg1;
9451 bool _arg2 = (bool ) FALSE;
9452 PyObject * _argo0 = 0;
9453 PyObject * _argo1 = 0;
9454 int tempbool2 = (int) FALSE;
9455 char *_kwnames[] = { "self","dc","erase", NULL };
9456
9457 self = self;
9458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDividedShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2))
9459 return NULL;
9460 if (_argo0) {
9461 if (_argo0 == Py_None) { _arg0 = NULL; }
9462 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9463 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDrawBranches. Expected _wxPyDividedShape_p.");
9464 return NULL;
9465 }
9466 }
9467 if (_argo1) {
9468 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
9469 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnDrawBranches. Expected _wxDC_p.");
9470 return NULL;
9471 }
9472 }
9473 _arg2 = (bool ) tempbool2;
9474 {
9475 PyThreadState* __tstate = wxPyBeginAllowThreads();
9476 wxPyDividedShape_base_OnDrawBranches(_arg0,*_arg1,_arg2);
9477
9478 wxPyEndAllowThreads(__tstate);
9479 if (PyErr_Occurred()) return NULL;
9480 } Py_INCREF(Py_None);
9481 _resultobj = Py_None;
9482 return _resultobj;
9483 }
9484
9485 #define wxPyDividedShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
9486 static PyObject *_wrap_wxPyDividedShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
9487 PyObject * _resultobj;
9488 wxPyDividedShape * _arg0;
9489 wxDC * _arg1;
9490 PyObject * _argo0 = 0;
9491 PyObject * _argo1 = 0;
9492 char *_kwnames[] = { "self","dc", NULL };
9493
9494 self = self;
9495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1))
9496 return NULL;
9497 if (_argo0) {
9498 if (_argo0 == Py_None) { _arg0 = NULL; }
9499 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9500 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnMoveLinks. Expected _wxPyDividedShape_p.");
9501 return NULL;
9502 }
9503 }
9504 if (_argo1) {
9505 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
9506 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnMoveLinks. Expected _wxDC_p.");
9507 return NULL;
9508 }
9509 }
9510 {
9511 PyThreadState* __tstate = wxPyBeginAllowThreads();
9512 wxPyDividedShape_base_OnMoveLinks(_arg0,*_arg1);
9513
9514 wxPyEndAllowThreads(__tstate);
9515 if (PyErr_Occurred()) return NULL;
9516 } Py_INCREF(Py_None);
9517 _resultobj = Py_None;
9518 return _resultobj;
9519 }
9520
9521 #define wxPyDividedShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
9522 static PyObject *_wrap_wxPyDividedShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
9523 PyObject * _resultobj;
9524 wxPyDividedShape * _arg0;
9525 wxDC * _arg1;
9526 PyObject * _argo0 = 0;
9527 PyObject * _argo1 = 0;
9528 char *_kwnames[] = { "self","dc", NULL };
9529
9530 self = self;
9531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnErase",_kwnames,&_argo0,&_argo1))
9532 return NULL;
9533 if (_argo0) {
9534 if (_argo0 == Py_None) { _arg0 = NULL; }
9535 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9536 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnErase. Expected _wxPyDividedShape_p.");
9537 return NULL;
9538 }
9539 }
9540 if (_argo1) {
9541 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
9542 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnErase. Expected _wxDC_p.");
9543 return NULL;
9544 }
9545 }
9546 {
9547 PyThreadState* __tstate = wxPyBeginAllowThreads();
9548 wxPyDividedShape_base_OnErase(_arg0,*_arg1);
9549
9550 wxPyEndAllowThreads(__tstate);
9551 if (PyErr_Occurred()) return NULL;
9552 } Py_INCREF(Py_None);
9553 _resultobj = Py_None;
9554 return _resultobj;
9555 }
9556
9557 #define wxPyDividedShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
9558 static PyObject *_wrap_wxPyDividedShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
9559 PyObject * _resultobj;
9560 wxPyDividedShape * _arg0;
9561 wxDC * _arg1;
9562 PyObject * _argo0 = 0;
9563 PyObject * _argo1 = 0;
9564 char *_kwnames[] = { "self","dc", NULL };
9565
9566 self = self;
9567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1))
9568 return NULL;
9569 if (_argo0) {
9570 if (_argo0 == Py_None) { _arg0 = NULL; }
9571 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9572 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnEraseContents. Expected _wxPyDividedShape_p.");
9573 return NULL;
9574 }
9575 }
9576 if (_argo1) {
9577 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
9578 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnEraseContents. Expected _wxDC_p.");
9579 return NULL;
9580 }
9581 }
9582 {
9583 PyThreadState* __tstate = wxPyBeginAllowThreads();
9584 wxPyDividedShape_base_OnEraseContents(_arg0,*_arg1);
9585
9586 wxPyEndAllowThreads(__tstate);
9587 if (PyErr_Occurred()) return NULL;
9588 } Py_INCREF(Py_None);
9589 _resultobj = Py_None;
9590 return _resultobj;
9591 }
9592
9593 #define wxPyDividedShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
9594 static PyObject *_wrap_wxPyDividedShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
9595 PyObject * _resultobj;
9596 wxPyDividedShape * _arg0;
9597 wxDC * _arg1;
9598 PyObject * _argo0 = 0;
9599 PyObject * _argo1 = 0;
9600 char *_kwnames[] = { "self","dc", NULL };
9601
9602 self = self;
9603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnHighlight",_kwnames,&_argo0,&_argo1))
9604 return NULL;
9605 if (_argo0) {
9606 if (_argo0 == Py_None) { _arg0 = NULL; }
9607 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9608 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnHighlight. Expected _wxPyDividedShape_p.");
9609 return NULL;
9610 }
9611 }
9612 if (_argo1) {
9613 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
9614 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnHighlight. Expected _wxDC_p.");
9615 return NULL;
9616 }
9617 }
9618 {
9619 PyThreadState* __tstate = wxPyBeginAllowThreads();
9620 wxPyDividedShape_base_OnHighlight(_arg0,*_arg1);
9621
9622 wxPyEndAllowThreads(__tstate);
9623 if (PyErr_Occurred()) return NULL;
9624 } Py_INCREF(Py_None);
9625 _resultobj = Py_None;
9626 return _resultobj;
9627 }
9628
9629 #define wxPyDividedShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9630 static PyObject *_wrap_wxPyDividedShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
9631 PyObject * _resultobj;
9632 wxPyDividedShape * _arg0;
9633 double _arg1;
9634 double _arg2;
9635 int _arg3 = (int ) 0;
9636 int _arg4 = (int ) 0;
9637 PyObject * _argo0 = 0;
9638 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
9639
9640 self = self;
9641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
9642 return NULL;
9643 if (_argo0) {
9644 if (_argo0 == Py_None) { _arg0 = NULL; }
9645 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9646 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnLeftClick. Expected _wxPyDividedShape_p.");
9647 return NULL;
9648 }
9649 }
9650 {
9651 PyThreadState* __tstate = wxPyBeginAllowThreads();
9652 wxPyDividedShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4);
9653
9654 wxPyEndAllowThreads(__tstate);
9655 if (PyErr_Occurred()) return NULL;
9656 } Py_INCREF(Py_None);
9657 _resultobj = Py_None;
9658 return _resultobj;
9659 }
9660
9661 #define wxPyDividedShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9662 static PyObject *_wrap_wxPyDividedShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
9663 PyObject * _resultobj;
9664 wxPyDividedShape * _arg0;
9665 double _arg1;
9666 double _arg2;
9667 int _arg3 = (int ) 0;
9668 int _arg4 = (int ) 0;
9669 PyObject * _argo0 = 0;
9670 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
9671
9672 self = self;
9673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
9674 return NULL;
9675 if (_argo0) {
9676 if (_argo0 == Py_None) { _arg0 = NULL; }
9677 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9678 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnLeftDoubleClick. Expected _wxPyDividedShape_p.");
9679 return NULL;
9680 }
9681 }
9682 {
9683 PyThreadState* __tstate = wxPyBeginAllowThreads();
9684 wxPyDividedShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4);
9685
9686 wxPyEndAllowThreads(__tstate);
9687 if (PyErr_Occurred()) return NULL;
9688 } Py_INCREF(Py_None);
9689 _resultobj = Py_None;
9690 return _resultobj;
9691 }
9692
9693 #define wxPyDividedShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9694 static PyObject *_wrap_wxPyDividedShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
9695 PyObject * _resultobj;
9696 wxPyDividedShape * _arg0;
9697 double _arg1;
9698 double _arg2;
9699 int _arg3 = (int ) 0;
9700 int _arg4 = (int ) 0;
9701 PyObject * _argo0 = 0;
9702 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
9703
9704 self = self;
9705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
9706 return NULL;
9707 if (_argo0) {
9708 if (_argo0 == Py_None) { _arg0 = NULL; }
9709 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9710 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnRightClick. Expected _wxPyDividedShape_p.");
9711 return NULL;
9712 }
9713 }
9714 {
9715 PyThreadState* __tstate = wxPyBeginAllowThreads();
9716 wxPyDividedShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4);
9717
9718 wxPyEndAllowThreads(__tstate);
9719 if (PyErr_Occurred()) return NULL;
9720 } Py_INCREF(Py_None);
9721 _resultobj = Py_None;
9722 return _resultobj;
9723 }
9724
9725 #define wxPyDividedShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
9726 static PyObject *_wrap_wxPyDividedShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9727 PyObject * _resultobj;
9728 wxPyDividedShape * _arg0;
9729 double _arg1;
9730 double _arg2;
9731 PyObject * _argo0 = 0;
9732 char *_kwnames[] = { "self","x","y", NULL };
9733
9734 self = self;
9735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDividedShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2))
9736 return NULL;
9737 if (_argo0) {
9738 if (_argo0 == Py_None) { _arg0 = NULL; }
9739 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9740 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnSize. Expected _wxPyDividedShape_p.");
9741 return NULL;
9742 }
9743 }
9744 {
9745 PyThreadState* __tstate = wxPyBeginAllowThreads();
9746 wxPyDividedShape_base_OnSize(_arg0,_arg1,_arg2);
9747
9748 wxPyEndAllowThreads(__tstate);
9749 if (PyErr_Occurred()) return NULL;
9750 } Py_INCREF(Py_None);
9751 _resultobj = Py_None;
9752 return _resultobj;
9753 }
9754
9755 #define wxPyDividedShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
9756 static PyObject *_wrap_wxPyDividedShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
9757 PyObject * _resultobj;
9758 bool _result;
9759 wxPyDividedShape * _arg0;
9760 wxDC * _arg1;
9761 double _arg2;
9762 double _arg3;
9763 double _arg4;
9764 double _arg5;
9765 bool _arg6 = (bool ) TRUE;
9766 PyObject * _argo0 = 0;
9767 PyObject * _argo1 = 0;
9768 int tempbool6 = (int) TRUE;
9769 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
9770
9771 self = self;
9772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDividedShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
9773 return NULL;
9774 if (_argo0) {
9775 if (_argo0 == Py_None) { _arg0 = NULL; }
9776 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9777 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnMovePre. Expected _wxPyDividedShape_p.");
9778 return NULL;
9779 }
9780 }
9781 if (_argo1) {
9782 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
9783 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnMovePre. Expected _wxDC_p.");
9784 return NULL;
9785 }
9786 }
9787 _arg6 = (bool ) tempbool6;
9788 {
9789 PyThreadState* __tstate = wxPyBeginAllowThreads();
9790 _result = (bool )wxPyDividedShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
9791
9792 wxPyEndAllowThreads(__tstate);
9793 if (PyErr_Occurred()) return NULL;
9794 } _resultobj = Py_BuildValue("i",_result);
9795 return _resultobj;
9796 }
9797
9798 #define wxPyDividedShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
9799 static PyObject *_wrap_wxPyDividedShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
9800 PyObject * _resultobj;
9801 wxPyDividedShape * _arg0;
9802 wxDC * _arg1;
9803 double _arg2;
9804 double _arg3;
9805 double _arg4;
9806 double _arg5;
9807 bool _arg6 = (bool ) TRUE;
9808 PyObject * _argo0 = 0;
9809 PyObject * _argo1 = 0;
9810 int tempbool6 = (int) TRUE;
9811 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
9812
9813 self = self;
9814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDividedShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
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_OnMovePost. Expected _wxPyDividedShape_p.");
9820 return NULL;
9821 }
9822 }
9823 if (_argo1) {
9824 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
9825 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnMovePost. Expected _wxDC_p.");
9826 return NULL;
9827 }
9828 }
9829 _arg6 = (bool ) tempbool6;
9830 {
9831 PyThreadState* __tstate = wxPyBeginAllowThreads();
9832 wxPyDividedShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
9833
9834 wxPyEndAllowThreads(__tstate);
9835 if (PyErr_Occurred()) return NULL;
9836 } Py_INCREF(Py_None);
9837 _resultobj = Py_None;
9838 return _resultobj;
9839 }
9840
9841 #define wxPyDividedShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
9842 static PyObject *_wrap_wxPyDividedShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9843 PyObject * _resultobj;
9844 wxPyDividedShape * _arg0;
9845 bool _arg1;
9846 double _arg2;
9847 double _arg3;
9848 int _arg4 = (int ) 0;
9849 int _arg5 = (int ) 0;
9850 PyObject * _argo0 = 0;
9851 int tempbool1;
9852 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
9853
9854 self = self;
9855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDividedShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
9856 return NULL;
9857 if (_argo0) {
9858 if (_argo0 == Py_None) { _arg0 = NULL; }
9859 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9860 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDragLeft. Expected _wxPyDividedShape_p.");
9861 return NULL;
9862 }
9863 }
9864 _arg1 = (bool ) tempbool1;
9865 {
9866 PyThreadState* __tstate = wxPyBeginAllowThreads();
9867 wxPyDividedShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
9868
9869 wxPyEndAllowThreads(__tstate);
9870 if (PyErr_Occurred()) return NULL;
9871 } Py_INCREF(Py_None);
9872 _resultobj = Py_None;
9873 return _resultobj;
9874 }
9875
9876 #define wxPyDividedShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9877 static PyObject *_wrap_wxPyDividedShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9878 PyObject * _resultobj;
9879 wxPyDividedShape * _arg0;
9880 double _arg1;
9881 double _arg2;
9882 int _arg3 = (int ) 0;
9883 int _arg4 = (int ) 0;
9884 PyObject * _argo0 = 0;
9885 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
9886
9887 self = self;
9888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
9889 return NULL;
9890 if (_argo0) {
9891 if (_argo0 == Py_None) { _arg0 = NULL; }
9892 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9893 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnBeginDragLeft. Expected _wxPyDividedShape_p.");
9894 return NULL;
9895 }
9896 }
9897 {
9898 PyThreadState* __tstate = wxPyBeginAllowThreads();
9899 wxPyDividedShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
9900
9901 wxPyEndAllowThreads(__tstate);
9902 if (PyErr_Occurred()) return NULL;
9903 } Py_INCREF(Py_None);
9904 _resultobj = Py_None;
9905 return _resultobj;
9906 }
9907
9908 #define wxPyDividedShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9909 static PyObject *_wrap_wxPyDividedShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9910 PyObject * _resultobj;
9911 wxPyDividedShape * _arg0;
9912 double _arg1;
9913 double _arg2;
9914 int _arg3 = (int ) 0;
9915 int _arg4 = (int ) 0;
9916 PyObject * _argo0 = 0;
9917 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
9918
9919 self = self;
9920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
9921 return NULL;
9922 if (_argo0) {
9923 if (_argo0 == Py_None) { _arg0 = NULL; }
9924 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9925 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnEndDragLeft. Expected _wxPyDividedShape_p.");
9926 return NULL;
9927 }
9928 }
9929 {
9930 PyThreadState* __tstate = wxPyBeginAllowThreads();
9931 wxPyDividedShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
9932
9933 wxPyEndAllowThreads(__tstate);
9934 if (PyErr_Occurred()) return NULL;
9935 } Py_INCREF(Py_None);
9936 _resultobj = Py_None;
9937 return _resultobj;
9938 }
9939
9940 #define wxPyDividedShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
9941 static PyObject *_wrap_wxPyDividedShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
9942 PyObject * _resultobj;
9943 wxPyDividedShape * _arg0;
9944 bool _arg1;
9945 double _arg2;
9946 double _arg3;
9947 int _arg4 = (int ) 0;
9948 int _arg5 = (int ) 0;
9949 PyObject * _argo0 = 0;
9950 int tempbool1;
9951 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
9952
9953 self = self;
9954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDividedShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
9955 return NULL;
9956 if (_argo0) {
9957 if (_argo0 == Py_None) { _arg0 = NULL; }
9958 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9959 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDragRight. Expected _wxPyDividedShape_p.");
9960 return NULL;
9961 }
9962 }
9963 _arg1 = (bool ) tempbool1;
9964 {
9965 PyThreadState* __tstate = wxPyBeginAllowThreads();
9966 wxPyDividedShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
9967
9968 wxPyEndAllowThreads(__tstate);
9969 if (PyErr_Occurred()) return NULL;
9970 } Py_INCREF(Py_None);
9971 _resultobj = Py_None;
9972 return _resultobj;
9973 }
9974
9975 #define wxPyDividedShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9976 static PyObject *_wrap_wxPyDividedShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
9977 PyObject * _resultobj;
9978 wxPyDividedShape * _arg0;
9979 double _arg1;
9980 double _arg2;
9981 int _arg3 = (int ) 0;
9982 int _arg4 = (int ) 0;
9983 PyObject * _argo0 = 0;
9984 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
9985
9986 self = self;
9987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
9988 return NULL;
9989 if (_argo0) {
9990 if (_argo0 == Py_None) { _arg0 = NULL; }
9991 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9992 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnBeginDragRight. Expected _wxPyDividedShape_p.");
9993 return NULL;
9994 }
9995 }
9996 {
9997 PyThreadState* __tstate = wxPyBeginAllowThreads();
9998 wxPyDividedShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
9999
10000 wxPyEndAllowThreads(__tstate);
10001 if (PyErr_Occurred()) return NULL;
10002 } Py_INCREF(Py_None);
10003 _resultobj = Py_None;
10004 return _resultobj;
10005 }
10006
10007 #define wxPyDividedShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10008 static PyObject *_wrap_wxPyDividedShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
10009 PyObject * _resultobj;
10010 wxPyDividedShape * _arg0;
10011 double _arg1;
10012 double _arg2;
10013 int _arg3 = (int ) 0;
10014 int _arg4 = (int ) 0;
10015 PyObject * _argo0 = 0;
10016 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
10017
10018 self = self;
10019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
10020 return NULL;
10021 if (_argo0) {
10022 if (_argo0 == Py_None) { _arg0 = NULL; }
10023 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
10024 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnEndDragRight. Expected _wxPyDividedShape_p.");
10025 return NULL;
10026 }
10027 }
10028 {
10029 PyThreadState* __tstate = wxPyBeginAllowThreads();
10030 wxPyDividedShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
10031
10032 wxPyEndAllowThreads(__tstate);
10033 if (PyErr_Occurred()) return NULL;
10034 } Py_INCREF(Py_None);
10035 _resultobj = Py_None;
10036 return _resultobj;
10037 }
10038
10039 #define wxPyDividedShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10040 static PyObject *_wrap_wxPyDividedShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
10041 PyObject * _resultobj;
10042 wxPyDividedShape * _arg0;
10043 wxDC * _arg1;
10044 double _arg2;
10045 double _arg3;
10046 double _arg4;
10047 double _arg5;
10048 PyObject * _argo0 = 0;
10049 PyObject * _argo1 = 0;
10050 char *_kwnames[] = { "self","dc","x","y","w","h", NULL };
10051
10052 self = self;
10053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyDividedShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
10054 return NULL;
10055 if (_argo0) {
10056 if (_argo0 == Py_None) { _arg0 = NULL; }
10057 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
10058 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDrawOutline. Expected _wxPyDividedShape_p.");
10059 return NULL;
10060 }
10061 }
10062 if (_argo1) {
10063 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
10064 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnDrawOutline. Expected _wxDC_p.");
10065 return NULL;
10066 }
10067 }
10068 {
10069 PyThreadState* __tstate = wxPyBeginAllowThreads();
10070 wxPyDividedShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5);
10071
10072 wxPyEndAllowThreads(__tstate);
10073 if (PyErr_Occurred()) return NULL;
10074 } Py_INCREF(Py_None);
10075 _resultobj = Py_None;
10076 return _resultobj;
10077 }
10078
10079 #define wxPyDividedShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
10080 static PyObject *_wrap_wxPyDividedShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
10081 PyObject * _resultobj;
10082 wxPyDividedShape * _arg0;
10083 wxDC * _arg1;
10084 PyObject * _argo0 = 0;
10085 PyObject * _argo1 = 0;
10086 char *_kwnames[] = { "self","dc", NULL };
10087
10088 self = self;
10089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1))
10090 return NULL;
10091 if (_argo0) {
10092 if (_argo0 == Py_None) { _arg0 = NULL; }
10093 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
10094 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDrawControlPoints. Expected _wxPyDividedShape_p.");
10095 return NULL;
10096 }
10097 }
10098 if (_argo1) {
10099 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
10100 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnDrawControlPoints. Expected _wxDC_p.");
10101 return NULL;
10102 }
10103 }
10104 {
10105 PyThreadState* __tstate = wxPyBeginAllowThreads();
10106 wxPyDividedShape_base_OnDrawControlPoints(_arg0,*_arg1);
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_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
10116 static PyObject *_wrap_wxPyDividedShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
10117 PyObject * _resultobj;
10118 wxPyDividedShape * _arg0;
10119 wxDC * _arg1;
10120 PyObject * _argo0 = 0;
10121 PyObject * _argo1 = 0;
10122 char *_kwnames[] = { "self","dc", NULL };
10123
10124 self = self;
10125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1))
10126 return NULL;
10127 if (_argo0) {
10128 if (_argo0 == Py_None) { _arg0 = NULL; }
10129 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
10130 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnEraseControlPoints. Expected _wxPyDividedShape_p.");
10131 return NULL;
10132 }
10133 }
10134 if (_argo1) {
10135 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
10136 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnEraseControlPoints. Expected _wxDC_p.");
10137 return NULL;
10138 }
10139 }
10140 {
10141 PyThreadState* __tstate = wxPyBeginAllowThreads();
10142 wxPyDividedShape_base_OnEraseControlPoints(_arg0,*_arg1);
10143
10144 wxPyEndAllowThreads(__tstate);
10145 if (PyErr_Occurred()) return NULL;
10146 } Py_INCREF(Py_None);
10147 _resultobj = Py_None;
10148 return _resultobj;
10149 }
10150
10151 #define wxPyDividedShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
10152 static PyObject *_wrap_wxPyDividedShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
10153 PyObject * _resultobj;
10154 wxPyDividedShape * _arg0;
10155 wxDC * _arg1;
10156 bool _arg2 = (bool ) TRUE;
10157 PyObject * _argo0 = 0;
10158 PyObject * _argo1 = 0;
10159 int tempbool2 = (int) TRUE;
10160 char *_kwnames[] = { "self","dc","moveControlPoints", NULL };
10161
10162 self = self;
10163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDividedShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2))
10164 return NULL;
10165 if (_argo0) {
10166 if (_argo0 == Py_None) { _arg0 = NULL; }
10167 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
10168 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnMoveLink. Expected _wxPyDividedShape_p.");
10169 return NULL;
10170 }
10171 }
10172 if (_argo1) {
10173 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
10174 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnMoveLink. Expected _wxDC_p.");
10175 return NULL;
10176 }
10177 }
10178 _arg2 = (bool ) tempbool2;
10179 {
10180 PyThreadState* __tstate = wxPyBeginAllowThreads();
10181 wxPyDividedShape_base_OnMoveLink(_arg0,*_arg1,_arg2);
10182
10183 wxPyEndAllowThreads(__tstate);
10184 if (PyErr_Occurred()) return NULL;
10185 } Py_INCREF(Py_None);
10186 _resultobj = Py_None;
10187 return _resultobj;
10188 }
10189
10190 #define wxPyDividedShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
10191 static PyObject *_wrap_wxPyDividedShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10192 PyObject * _resultobj;
10193 wxPyDividedShape * _arg0;
10194 wxPyControlPoint * _arg1;
10195 bool _arg2;
10196 double _arg3;
10197 double _arg4;
10198 int _arg5 = (int ) 0;
10199 int _arg6 = (int ) 0;
10200 PyObject * _argo0 = 0;
10201 PyObject * _argo1 = 0;
10202 int tempbool2;
10203 char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL };
10204
10205 self = self;
10206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyDividedShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6))
10207 return NULL;
10208 if (_argo0) {
10209 if (_argo0 == Py_None) { _arg0 = NULL; }
10210 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
10211 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnSizingDragLeft. Expected _wxPyDividedShape_p.");
10212 return NULL;
10213 }
10214 }
10215 if (_argo1) {
10216 if (_argo1 == Py_None) { _arg1 = NULL; }
10217 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
10218 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
10219 return NULL;
10220 }
10221 }
10222 _arg2 = (bool ) tempbool2;
10223 {
10224 PyThreadState* __tstate = wxPyBeginAllowThreads();
10225 wxPyDividedShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
10226
10227 wxPyEndAllowThreads(__tstate);
10228 if (PyErr_Occurred()) return NULL;
10229 } Py_INCREF(Py_None);
10230 _resultobj = Py_None;
10231 return _resultobj;
10232 }
10233
10234 #define wxPyDividedShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10235 static PyObject *_wrap_wxPyDividedShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10236 PyObject * _resultobj;
10237 wxPyDividedShape * _arg0;
10238 wxPyControlPoint * _arg1;
10239 double _arg2;
10240 double _arg3;
10241 int _arg4 = (int ) 0;
10242 int _arg5 = (int ) 0;
10243 PyObject * _argo0 = 0;
10244 PyObject * _argo1 = 0;
10245 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
10246
10247 self = self;
10248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDividedShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
10249 return NULL;
10250 if (_argo0) {
10251 if (_argo0 == Py_None) { _arg0 = NULL; }
10252 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
10253 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnSizingBeginDragLeft. Expected _wxPyDividedShape_p.");
10254 return NULL;
10255 }
10256 }
10257 if (_argo1) {
10258 if (_argo1 == Py_None) { _arg1 = NULL; }
10259 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
10260 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
10261 return NULL;
10262 }
10263 }
10264 {
10265 PyThreadState* __tstate = wxPyBeginAllowThreads();
10266 wxPyDividedShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
10267
10268 wxPyEndAllowThreads(__tstate);
10269 if (PyErr_Occurred()) return NULL;
10270 } Py_INCREF(Py_None);
10271 _resultobj = Py_None;
10272 return _resultobj;
10273 }
10274
10275 #define wxPyDividedShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10276 static PyObject *_wrap_wxPyDividedShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10277 PyObject * _resultobj;
10278 wxPyDividedShape * _arg0;
10279 wxPyControlPoint * _arg1;
10280 double _arg2;
10281 double _arg3;
10282 int _arg4 = (int ) 0;
10283 int _arg5 = (int ) 0;
10284 PyObject * _argo0 = 0;
10285 PyObject * _argo1 = 0;
10286 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
10287
10288 self = self;
10289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDividedShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
10290 return NULL;
10291 if (_argo0) {
10292 if (_argo0 == Py_None) { _arg0 = NULL; }
10293 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
10294 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnSizingEndDragLeft. Expected _wxPyDividedShape_p.");
10295 return NULL;
10296 }
10297 }
10298 if (_argo1) {
10299 if (_argo1 == Py_None) { _arg1 = NULL; }
10300 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
10301 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
10302 return NULL;
10303 }
10304 }
10305 {
10306 PyThreadState* __tstate = wxPyBeginAllowThreads();
10307 wxPyDividedShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
10308
10309 wxPyEndAllowThreads(__tstate);
10310 if (PyErr_Occurred()) return NULL;
10311 } Py_INCREF(Py_None);
10312 _resultobj = Py_None;
10313 return _resultobj;
10314 }
10315
10316 #define wxPyDividedShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
10317 static PyObject *_wrap_wxPyDividedShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10318 PyObject * _resultobj;
10319 wxPyDividedShape * _arg0;
10320 double _arg1;
10321 double _arg2;
10322 PyObject * _argo0 = 0;
10323 char *_kwnames[] = { "self","w","h", NULL };
10324
10325 self = self;
10326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDividedShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2))
10327 return NULL;
10328 if (_argo0) {
10329 if (_argo0 == Py_None) { _arg0 = NULL; }
10330 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
10331 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnBeginSize. Expected _wxPyDividedShape_p.");
10332 return NULL;
10333 }
10334 }
10335 {
10336 PyThreadState* __tstate = wxPyBeginAllowThreads();
10337 wxPyDividedShape_base_OnBeginSize(_arg0,_arg1,_arg2);
10338
10339 wxPyEndAllowThreads(__tstate);
10340 if (PyErr_Occurred()) return NULL;
10341 } Py_INCREF(Py_None);
10342 _resultobj = Py_None;
10343 return _resultobj;
10344 }
10345
10346 #define wxPyDividedShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
10347 static PyObject *_wrap_wxPyDividedShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10348 PyObject * _resultobj;
10349 wxPyDividedShape * _arg0;
10350 double _arg1;
10351 double _arg2;
10352 PyObject * _argo0 = 0;
10353 char *_kwnames[] = { "self","w","h", NULL };
10354
10355 self = self;
10356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDividedShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2))
10357 return NULL;
10358 if (_argo0) {
10359 if (_argo0 == Py_None) { _arg0 = NULL; }
10360 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
10361 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnEndSize. Expected _wxPyDividedShape_p.");
10362 return NULL;
10363 }
10364 }
10365 {
10366 PyThreadState* __tstate = wxPyBeginAllowThreads();
10367 wxPyDividedShape_base_OnEndSize(_arg0,_arg1,_arg2);
10368
10369 wxPyEndAllowThreads(__tstate);
10370 if (PyErr_Occurred()) return NULL;
10371 } Py_INCREF(Py_None);
10372 _resultobj = Py_None;
10373 return _resultobj;
10374 }
10375
10376 static void *SwigwxPyDivisionShapeTowxPyCompositeShape(void *ptr) {
10377 wxPyDivisionShape *src;
10378 wxPyCompositeShape *dest;
10379 src = (wxPyDivisionShape *) ptr;
10380 dest = (wxPyCompositeShape *) src;
10381 return (void *) dest;
10382 }
10383
10384 static void *SwigwxPyDivisionShapeTowxPyRectangleShape(void *ptr) {
10385 wxPyDivisionShape *src;
10386 wxPyRectangleShape *dest;
10387 src = (wxPyDivisionShape *) ptr;
10388 dest = (wxPyRectangleShape *) src;
10389 return (void *) dest;
10390 }
10391
10392 static void *SwigwxPyDivisionShapeTowxPyShape(void *ptr) {
10393 wxPyDivisionShape *src;
10394 wxPyShape *dest;
10395 src = (wxPyDivisionShape *) ptr;
10396 dest = (wxPyShape *) src;
10397 return (void *) dest;
10398 }
10399
10400 static void *SwigwxPyDivisionShapeTowxPyShapeEvtHandler(void *ptr) {
10401 wxPyDivisionShape *src;
10402 wxPyShapeEvtHandler *dest;
10403 src = (wxPyDivisionShape *) ptr;
10404 dest = (wxPyShapeEvtHandler *) src;
10405 return (void *) dest;
10406 }
10407
10408 static void *SwigwxPyDivisionShapeTowxObject(void *ptr) {
10409 wxPyDivisionShape *src;
10410 wxObject *dest;
10411 src = (wxPyDivisionShape *) ptr;
10412 dest = (wxObject *) src;
10413 return (void *) dest;
10414 }
10415
10416 #define new_wxPyDivisionShape() (new wxPyDivisionShape())
10417 static PyObject *_wrap_new_wxPyDivisionShape(PyObject *self, PyObject *args, PyObject *kwargs) {
10418 PyObject * _resultobj;
10419 wxPyDivisionShape * _result;
10420 char *_kwnames[] = { NULL };
10421 char _ptemp[128];
10422
10423 self = self;
10424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyDivisionShape",_kwnames))
10425 return NULL;
10426 {
10427 PyThreadState* __tstate = wxPyBeginAllowThreads();
10428 _result = (wxPyDivisionShape *)new_wxPyDivisionShape();
10429
10430 wxPyEndAllowThreads(__tstate);
10431 if (PyErr_Occurred()) return NULL;
10432 } if (_result) {
10433 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyDivisionShape_p");
10434 _resultobj = Py_BuildValue("s",_ptemp);
10435 } else {
10436 Py_INCREF(Py_None);
10437 _resultobj = Py_None;
10438 }
10439 return _resultobj;
10440 }
10441
10442 #define wxPyDivisionShape__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
10443 static PyObject *_wrap_wxPyDivisionShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10444 PyObject * _resultobj;
10445 wxPyDivisionShape * _arg0;
10446 PyObject * _arg1;
10447 PyObject * _arg2;
10448 PyObject * _argo0 = 0;
10449 PyObject * _obj1 = 0;
10450 PyObject * _obj2 = 0;
10451 char *_kwnames[] = { "self","self","_class", NULL };
10452
10453 self = self;
10454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyDivisionShape__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
10455 return NULL;
10456 if (_argo0) {
10457 if (_argo0 == Py_None) { _arg0 = NULL; }
10458 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10459 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape__setCallbackInfo. Expected _wxPyDivisionShape_p.");
10460 return NULL;
10461 }
10462 }
10463 {
10464 _arg1 = _obj1;
10465 }
10466 {
10467 _arg2 = _obj2;
10468 }
10469 {
10470 PyThreadState* __tstate = wxPyBeginAllowThreads();
10471 wxPyDivisionShape__setCallbackInfo(_arg0,_arg1,_arg2);
10472
10473 wxPyEndAllowThreads(__tstate);
10474 if (PyErr_Occurred()) return NULL;
10475 } Py_INCREF(Py_None);
10476 _resultobj = Py_None;
10477 return _resultobj;
10478 }
10479
10480 #define wxPyDivisionShape_AdjustBottom(_swigobj,_swigarg0,_swigarg1) (_swigobj->AdjustBottom(_swigarg0,_swigarg1))
10481 static PyObject *_wrap_wxPyDivisionShape_AdjustBottom(PyObject *self, PyObject *args, PyObject *kwargs) {
10482 PyObject * _resultobj;
10483 wxPyDivisionShape * _arg0;
10484 double _arg1;
10485 bool _arg2;
10486 PyObject * _argo0 = 0;
10487 int tempbool2;
10488 char *_kwnames[] = { "self","bottom","test", NULL };
10489
10490 self = self;
10491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odi:wxPyDivisionShape_AdjustBottom",_kwnames,&_argo0,&_arg1,&tempbool2))
10492 return NULL;
10493 if (_argo0) {
10494 if (_argo0 == Py_None) { _arg0 = NULL; }
10495 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10496 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_AdjustBottom. Expected _wxPyDivisionShape_p.");
10497 return NULL;
10498 }
10499 }
10500 _arg2 = (bool ) tempbool2;
10501 {
10502 PyThreadState* __tstate = wxPyBeginAllowThreads();
10503 wxPyDivisionShape_AdjustBottom(_arg0,_arg1,_arg2);
10504
10505 wxPyEndAllowThreads(__tstate);
10506 if (PyErr_Occurred()) return NULL;
10507 } Py_INCREF(Py_None);
10508 _resultobj = Py_None;
10509 return _resultobj;
10510 }
10511
10512 #define wxPyDivisionShape_AdjustLeft(_swigobj,_swigarg0,_swigarg1) (_swigobj->AdjustLeft(_swigarg0,_swigarg1))
10513 static PyObject *_wrap_wxPyDivisionShape_AdjustLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10514 PyObject * _resultobj;
10515 wxPyDivisionShape * _arg0;
10516 double _arg1;
10517 bool _arg2;
10518 PyObject * _argo0 = 0;
10519 int tempbool2;
10520 char *_kwnames[] = { "self","left","test", NULL };
10521
10522 self = self;
10523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odi:wxPyDivisionShape_AdjustLeft",_kwnames,&_argo0,&_arg1,&tempbool2))
10524 return NULL;
10525 if (_argo0) {
10526 if (_argo0 == Py_None) { _arg0 = NULL; }
10527 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10528 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_AdjustLeft. Expected _wxPyDivisionShape_p.");
10529 return NULL;
10530 }
10531 }
10532 _arg2 = (bool ) tempbool2;
10533 {
10534 PyThreadState* __tstate = wxPyBeginAllowThreads();
10535 wxPyDivisionShape_AdjustLeft(_arg0,_arg1,_arg2);
10536
10537 wxPyEndAllowThreads(__tstate);
10538 if (PyErr_Occurred()) return NULL;
10539 } Py_INCREF(Py_None);
10540 _resultobj = Py_None;
10541 return _resultobj;
10542 }
10543
10544 #define wxPyDivisionShape_AdjustRight(_swigobj,_swigarg0,_swigarg1) (_swigobj->AdjustRight(_swigarg0,_swigarg1))
10545 static PyObject *_wrap_wxPyDivisionShape_AdjustRight(PyObject *self, PyObject *args, PyObject *kwargs) {
10546 PyObject * _resultobj;
10547 wxPyDivisionShape * _arg0;
10548 double _arg1;
10549 bool _arg2;
10550 PyObject * _argo0 = 0;
10551 int tempbool2;
10552 char *_kwnames[] = { "self","right","test", NULL };
10553
10554 self = self;
10555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odi:wxPyDivisionShape_AdjustRight",_kwnames,&_argo0,&_arg1,&tempbool2))
10556 return NULL;
10557 if (_argo0) {
10558 if (_argo0 == Py_None) { _arg0 = NULL; }
10559 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10560 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_AdjustRight. Expected _wxPyDivisionShape_p.");
10561 return NULL;
10562 }
10563 }
10564 _arg2 = (bool ) tempbool2;
10565 {
10566 PyThreadState* __tstate = wxPyBeginAllowThreads();
10567 wxPyDivisionShape_AdjustRight(_arg0,_arg1,_arg2);
10568
10569 wxPyEndAllowThreads(__tstate);
10570 if (PyErr_Occurred()) return NULL;
10571 } Py_INCREF(Py_None);
10572 _resultobj = Py_None;
10573 return _resultobj;
10574 }
10575
10576 #define wxPyDivisionShape_AdjustTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->AdjustTop(_swigarg0,_swigarg1))
10577 static PyObject *_wrap_wxPyDivisionShape_AdjustTop(PyObject *self, PyObject *args, PyObject *kwargs) {
10578 PyObject * _resultobj;
10579 wxPyDivisionShape * _arg0;
10580 double _arg1;
10581 bool _arg2;
10582 PyObject * _argo0 = 0;
10583 int tempbool2;
10584 char *_kwnames[] = { "self","top","test", NULL };
10585
10586 self = self;
10587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odi:wxPyDivisionShape_AdjustTop",_kwnames,&_argo0,&_arg1,&tempbool2))
10588 return NULL;
10589 if (_argo0) {
10590 if (_argo0 == Py_None) { _arg0 = NULL; }
10591 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10592 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_AdjustTop. Expected _wxPyDivisionShape_p.");
10593 return NULL;
10594 }
10595 }
10596 _arg2 = (bool ) tempbool2;
10597 {
10598 PyThreadState* __tstate = wxPyBeginAllowThreads();
10599 wxPyDivisionShape_AdjustTop(_arg0,_arg1,_arg2);
10600
10601 wxPyEndAllowThreads(__tstate);
10602 if (PyErr_Occurred()) return NULL;
10603 } Py_INCREF(Py_None);
10604 _resultobj = Py_None;
10605 return _resultobj;
10606 }
10607
10608 #define wxPyDivisionShape_Divide(_swigobj,_swigarg0) (_swigobj->Divide(_swigarg0))
10609 static PyObject *_wrap_wxPyDivisionShape_Divide(PyObject *self, PyObject *args, PyObject *kwargs) {
10610 PyObject * _resultobj;
10611 wxPyDivisionShape * _arg0;
10612 int _arg1;
10613 PyObject * _argo0 = 0;
10614 char *_kwnames[] = { "self","direction", NULL };
10615
10616 self = self;
10617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDivisionShape_Divide",_kwnames,&_argo0,&_arg1))
10618 return NULL;
10619 if (_argo0) {
10620 if (_argo0 == Py_None) { _arg0 = NULL; }
10621 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10622 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_Divide. Expected _wxPyDivisionShape_p.");
10623 return NULL;
10624 }
10625 }
10626 {
10627 PyThreadState* __tstate = wxPyBeginAllowThreads();
10628 wxPyDivisionShape_Divide(_arg0,_arg1);
10629
10630 wxPyEndAllowThreads(__tstate);
10631 if (PyErr_Occurred()) return NULL;
10632 } Py_INCREF(Py_None);
10633 _resultobj = Py_None;
10634 return _resultobj;
10635 }
10636
10637 #define wxPyDivisionShape_EditEdge(_swigobj,_swigarg0) (_swigobj->EditEdge(_swigarg0))
10638 static PyObject *_wrap_wxPyDivisionShape_EditEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
10639 PyObject * _resultobj;
10640 wxPyDivisionShape * _arg0;
10641 int _arg1;
10642 PyObject * _argo0 = 0;
10643 char *_kwnames[] = { "self","side", NULL };
10644
10645 self = self;
10646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDivisionShape_EditEdge",_kwnames,&_argo0,&_arg1))
10647 return NULL;
10648 if (_argo0) {
10649 if (_argo0 == Py_None) { _arg0 = NULL; }
10650 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10651 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_EditEdge. Expected _wxPyDivisionShape_p.");
10652 return NULL;
10653 }
10654 }
10655 {
10656 PyThreadState* __tstate = wxPyBeginAllowThreads();
10657 wxPyDivisionShape_EditEdge(_arg0,_arg1);
10658
10659 wxPyEndAllowThreads(__tstate);
10660 if (PyErr_Occurred()) return NULL;
10661 } Py_INCREF(Py_None);
10662 _resultobj = Py_None;
10663 return _resultobj;
10664 }
10665
10666 #define wxPyDivisionShape_GetBottomSide(_swigobj) (_swigobj->GetBottomSide())
10667 static PyObject *_wrap_wxPyDivisionShape_GetBottomSide(PyObject *self, PyObject *args, PyObject *kwargs) {
10668 PyObject * _resultobj;
10669 wxPyDivisionShape * _result;
10670 wxPyDivisionShape * _arg0;
10671 PyObject * _argo0 = 0;
10672 char *_kwnames[] = { "self", NULL };
10673
10674 self = self;
10675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetBottomSide",_kwnames,&_argo0))
10676 return NULL;
10677 if (_argo0) {
10678 if (_argo0 == Py_None) { _arg0 = NULL; }
10679 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10680 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetBottomSide. Expected _wxPyDivisionShape_p.");
10681 return NULL;
10682 }
10683 }
10684 {
10685 PyThreadState* __tstate = wxPyBeginAllowThreads();
10686 _result = (wxPyDivisionShape *)wxPyDivisionShape_GetBottomSide(_arg0);
10687
10688 wxPyEndAllowThreads(__tstate);
10689 if (PyErr_Occurred()) return NULL;
10690 }{ _resultobj = wxPyMake_wxShapeEvtHandler(_result); }
10691 return _resultobj;
10692 }
10693
10694 #define wxPyDivisionShape_GetHandleSide(_swigobj) (_swigobj->GetHandleSide())
10695 static PyObject *_wrap_wxPyDivisionShape_GetHandleSide(PyObject *self, PyObject *args, PyObject *kwargs) {
10696 PyObject * _resultobj;
10697 int _result;
10698 wxPyDivisionShape * _arg0;
10699 PyObject * _argo0 = 0;
10700 char *_kwnames[] = { "self", NULL };
10701
10702 self = self;
10703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetHandleSide",_kwnames,&_argo0))
10704 return NULL;
10705 if (_argo0) {
10706 if (_argo0 == Py_None) { _arg0 = NULL; }
10707 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10708 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetHandleSide. Expected _wxPyDivisionShape_p.");
10709 return NULL;
10710 }
10711 }
10712 {
10713 PyThreadState* __tstate = wxPyBeginAllowThreads();
10714 _result = (int )wxPyDivisionShape_GetHandleSide(_arg0);
10715
10716 wxPyEndAllowThreads(__tstate);
10717 if (PyErr_Occurred()) return NULL;
10718 } _resultobj = Py_BuildValue("i",_result);
10719 return _resultobj;
10720 }
10721
10722 #define wxPyDivisionShape_GetLeftSide(_swigobj) (_swigobj->GetLeftSide())
10723 static PyObject *_wrap_wxPyDivisionShape_GetLeftSide(PyObject *self, PyObject *args, PyObject *kwargs) {
10724 PyObject * _resultobj;
10725 wxPyDivisionShape * _result;
10726 wxPyDivisionShape * _arg0;
10727 PyObject * _argo0 = 0;
10728 char *_kwnames[] = { "self", NULL };
10729
10730 self = self;
10731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetLeftSide",_kwnames,&_argo0))
10732 return NULL;
10733 if (_argo0) {
10734 if (_argo0 == Py_None) { _arg0 = NULL; }
10735 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10736 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetLeftSide. Expected _wxPyDivisionShape_p.");
10737 return NULL;
10738 }
10739 }
10740 {
10741 PyThreadState* __tstate = wxPyBeginAllowThreads();
10742 _result = (wxPyDivisionShape *)wxPyDivisionShape_GetLeftSide(_arg0);
10743
10744 wxPyEndAllowThreads(__tstate);
10745 if (PyErr_Occurred()) return NULL;
10746 }{ _resultobj = wxPyMake_wxShapeEvtHandler(_result); }
10747 return _resultobj;
10748 }
10749
10750 #define wxPyDivisionShape_GetLeftSideColour(_swigobj) (_swigobj->GetLeftSideColour())
10751 static PyObject *_wrap_wxPyDivisionShape_GetLeftSideColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10752 PyObject * _resultobj;
10753 wxString * _result;
10754 wxPyDivisionShape * _arg0;
10755 PyObject * _argo0 = 0;
10756 char *_kwnames[] = { "self", NULL };
10757
10758 self = self;
10759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetLeftSideColour",_kwnames,&_argo0))
10760 return NULL;
10761 if (_argo0) {
10762 if (_argo0 == Py_None) { _arg0 = NULL; }
10763 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10764 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetLeftSideColour. Expected _wxPyDivisionShape_p.");
10765 return NULL;
10766 }
10767 }
10768 {
10769 PyThreadState* __tstate = wxPyBeginAllowThreads();
10770 _result = new wxString (wxPyDivisionShape_GetLeftSideColour(_arg0));
10771
10772 wxPyEndAllowThreads(__tstate);
10773 if (PyErr_Occurred()) return NULL;
10774 }{
10775 #if wxUSE_UNICODE
10776 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
10777 #else
10778 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
10779 #endif
10780 }
10781 {
10782 delete _result;
10783 }
10784 return _resultobj;
10785 }
10786
10787 #define wxPyDivisionShape_GetLeftSidePen(_swigobj) (_swigobj->GetLeftSidePen())
10788 static PyObject *_wrap_wxPyDivisionShape_GetLeftSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
10789 PyObject * _resultobj;
10790 wxPen * _result;
10791 wxPyDivisionShape * _arg0;
10792 PyObject * _argo0 = 0;
10793 char *_kwnames[] = { "self", NULL };
10794 char _ptemp[128];
10795
10796 self = self;
10797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetLeftSidePen",_kwnames,&_argo0))
10798 return NULL;
10799 if (_argo0) {
10800 if (_argo0 == Py_None) { _arg0 = NULL; }
10801 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10802 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetLeftSidePen. Expected _wxPyDivisionShape_p.");
10803 return NULL;
10804 }
10805 }
10806 {
10807 PyThreadState* __tstate = wxPyBeginAllowThreads();
10808 _result = (wxPen *)wxPyDivisionShape_GetLeftSidePen(_arg0);
10809
10810 wxPyEndAllowThreads(__tstate);
10811 if (PyErr_Occurred()) return NULL;
10812 } if (_result) {
10813 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPen_p");
10814 _resultobj = Py_BuildValue("s",_ptemp);
10815 } else {
10816 Py_INCREF(Py_None);
10817 _resultobj = Py_None;
10818 }
10819 return _resultobj;
10820 }
10821
10822 #define wxPyDivisionShape_GetRightSide(_swigobj) (_swigobj->GetRightSide())
10823 static PyObject *_wrap_wxPyDivisionShape_GetRightSide(PyObject *self, PyObject *args, PyObject *kwargs) {
10824 PyObject * _resultobj;
10825 wxPyDivisionShape * _result;
10826 wxPyDivisionShape * _arg0;
10827 PyObject * _argo0 = 0;
10828 char *_kwnames[] = { "self", NULL };
10829
10830 self = self;
10831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetRightSide",_kwnames,&_argo0))
10832 return NULL;
10833 if (_argo0) {
10834 if (_argo0 == Py_None) { _arg0 = NULL; }
10835 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10836 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetRightSide. Expected _wxPyDivisionShape_p.");
10837 return NULL;
10838 }
10839 }
10840 {
10841 PyThreadState* __tstate = wxPyBeginAllowThreads();
10842 _result = (wxPyDivisionShape *)wxPyDivisionShape_GetRightSide(_arg0);
10843
10844 wxPyEndAllowThreads(__tstate);
10845 if (PyErr_Occurred()) return NULL;
10846 }{ _resultobj = wxPyMake_wxShapeEvtHandler(_result); }
10847 return _resultobj;
10848 }
10849
10850 #define wxPyDivisionShape_GetTopSide(_swigobj) (_swigobj->GetTopSide())
10851 static PyObject *_wrap_wxPyDivisionShape_GetTopSide(PyObject *self, PyObject *args, PyObject *kwargs) {
10852 PyObject * _resultobj;
10853 wxPyDivisionShape * _result;
10854 wxPyDivisionShape * _arg0;
10855 PyObject * _argo0 = 0;
10856 char *_kwnames[] = { "self", NULL };
10857
10858 self = self;
10859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetTopSide",_kwnames,&_argo0))
10860 return NULL;
10861 if (_argo0) {
10862 if (_argo0 == Py_None) { _arg0 = NULL; }
10863 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10864 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetTopSide. Expected _wxPyDivisionShape_p.");
10865 return NULL;
10866 }
10867 }
10868 {
10869 PyThreadState* __tstate = wxPyBeginAllowThreads();
10870 _result = (wxPyDivisionShape *)wxPyDivisionShape_GetTopSide(_arg0);
10871
10872 wxPyEndAllowThreads(__tstate);
10873 if (PyErr_Occurred()) return NULL;
10874 }{ _resultobj = wxPyMake_wxShapeEvtHandler(_result); }
10875 return _resultobj;
10876 }
10877
10878 #define wxPyDivisionShape_GetTopSidePen(_swigobj) (_swigobj->GetTopSidePen())
10879 static PyObject *_wrap_wxPyDivisionShape_GetTopSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
10880 PyObject * _resultobj;
10881 wxPen * _result;
10882 wxPyDivisionShape * _arg0;
10883 PyObject * _argo0 = 0;
10884 char *_kwnames[] = { "self", NULL };
10885 char _ptemp[128];
10886
10887 self = self;
10888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetTopSidePen",_kwnames,&_argo0))
10889 return NULL;
10890 if (_argo0) {
10891 if (_argo0 == Py_None) { _arg0 = NULL; }
10892 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10893 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetTopSidePen. Expected _wxPyDivisionShape_p.");
10894 return NULL;
10895 }
10896 }
10897 {
10898 PyThreadState* __tstate = wxPyBeginAllowThreads();
10899 _result = (wxPen *)wxPyDivisionShape_GetTopSidePen(_arg0);
10900
10901 wxPyEndAllowThreads(__tstate);
10902 if (PyErr_Occurred()) return NULL;
10903 } if (_result) {
10904 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPen_p");
10905 _resultobj = Py_BuildValue("s",_ptemp);
10906 } else {
10907 Py_INCREF(Py_None);
10908 _resultobj = Py_None;
10909 }
10910 return _resultobj;
10911 }
10912
10913 #define wxPyDivisionShape_ResizeAdjoining(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ResizeAdjoining(_swigarg0,_swigarg1,_swigarg2))
10914 static PyObject *_wrap_wxPyDivisionShape_ResizeAdjoining(PyObject *self, PyObject *args, PyObject *kwargs) {
10915 PyObject * _resultobj;
10916 wxPyDivisionShape * _arg0;
10917 int _arg1;
10918 double _arg2;
10919 bool _arg3;
10920 PyObject * _argo0 = 0;
10921 int tempbool3;
10922 char *_kwnames[] = { "self","side","newPos","test", NULL };
10923
10924 self = self;
10925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidi:wxPyDivisionShape_ResizeAdjoining",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
10926 return NULL;
10927 if (_argo0) {
10928 if (_argo0 == Py_None) { _arg0 = NULL; }
10929 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10930 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_ResizeAdjoining. Expected _wxPyDivisionShape_p.");
10931 return NULL;
10932 }
10933 }
10934 _arg3 = (bool ) tempbool3;
10935 {
10936 PyThreadState* __tstate = wxPyBeginAllowThreads();
10937 wxPyDivisionShape_ResizeAdjoining(_arg0,_arg1,_arg2,_arg3);
10938
10939 wxPyEndAllowThreads(__tstate);
10940 if (PyErr_Occurred()) return NULL;
10941 } Py_INCREF(Py_None);
10942 _resultobj = Py_None;
10943 return _resultobj;
10944 }
10945
10946 #define wxPyDivisionShape_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
10947 static PyObject *_wrap_wxPyDivisionShape_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
10948 PyObject * _resultobj;
10949 wxPyDivisionShape * _arg0;
10950 double _arg1;
10951 double _arg2;
10952 PyObject * _argo0 = 0;
10953 char *_kwnames[] = { "self","x","y", NULL };
10954
10955 self = self;
10956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDivisionShape_PopupMenu",_kwnames,&_argo0,&_arg1,&_arg2))
10957 return NULL;
10958 if (_argo0) {
10959 if (_argo0 == Py_None) { _arg0 = NULL; }
10960 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10961 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_PopupMenu. Expected _wxPyDivisionShape_p.");
10962 return NULL;
10963 }
10964 }
10965 {
10966 PyThreadState* __tstate = wxPyBeginAllowThreads();
10967 wxPyDivisionShape_PopupMenu(_arg0,_arg1,_arg2);
10968
10969 wxPyEndAllowThreads(__tstate);
10970 if (PyErr_Occurred()) return NULL;
10971 } Py_INCREF(Py_None);
10972 _resultobj = Py_None;
10973 return _resultobj;
10974 }
10975
10976 #define wxPyDivisionShape_SetBottomSide(_swigobj,_swigarg0) (_swigobj->SetBottomSide(_swigarg0))
10977 static PyObject *_wrap_wxPyDivisionShape_SetBottomSide(PyObject *self, PyObject *args, PyObject *kwargs) {
10978 PyObject * _resultobj;
10979 wxPyDivisionShape * _arg0;
10980 wxPyDivisionShape * _arg1;
10981 PyObject * _argo0 = 0;
10982 PyObject * _argo1 = 0;
10983 char *_kwnames[] = { "self","shape", NULL };
10984
10985 self = self;
10986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetBottomSide",_kwnames,&_argo0,&_argo1))
10987 return NULL;
10988 if (_argo0) {
10989 if (_argo0 == Py_None) { _arg0 = NULL; }
10990 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10991 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetBottomSide. Expected _wxPyDivisionShape_p.");
10992 return NULL;
10993 }
10994 }
10995 if (_argo1) {
10996 if (_argo1 == Py_None) { _arg1 = NULL; }
10997 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyDivisionShape_p")) {
10998 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_SetBottomSide. Expected _wxPyDivisionShape_p.");
10999 return NULL;
11000 }
11001 }
11002 {
11003 PyThreadState* __tstate = wxPyBeginAllowThreads();
11004 wxPyDivisionShape_SetBottomSide(_arg0,_arg1);
11005
11006 wxPyEndAllowThreads(__tstate);
11007 if (PyErr_Occurred()) return NULL;
11008 } Py_INCREF(Py_None);
11009 _resultobj = Py_None;
11010 return _resultobj;
11011 }
11012
11013 #define wxPyDivisionShape_SetHandleSide(_swigobj,_swigarg0) (_swigobj->SetHandleSide(_swigarg0))
11014 static PyObject *_wrap_wxPyDivisionShape_SetHandleSide(PyObject *self, PyObject *args, PyObject *kwargs) {
11015 PyObject * _resultobj;
11016 wxPyDivisionShape * _arg0;
11017 int _arg1;
11018 PyObject * _argo0 = 0;
11019 char *_kwnames[] = { "self","side", NULL };
11020
11021 self = self;
11022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDivisionShape_SetHandleSide",_kwnames,&_argo0,&_arg1))
11023 return NULL;
11024 if (_argo0) {
11025 if (_argo0 == Py_None) { _arg0 = NULL; }
11026 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11027 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetHandleSide. Expected _wxPyDivisionShape_p.");
11028 return NULL;
11029 }
11030 }
11031 {
11032 PyThreadState* __tstate = wxPyBeginAllowThreads();
11033 wxPyDivisionShape_SetHandleSide(_arg0,_arg1);
11034
11035 wxPyEndAllowThreads(__tstate);
11036 if (PyErr_Occurred()) return NULL;
11037 } Py_INCREF(Py_None);
11038 _resultobj = Py_None;
11039 return _resultobj;
11040 }
11041
11042 #define wxPyDivisionShape_SetLeftSide(_swigobj,_swigarg0) (_swigobj->SetLeftSide(_swigarg0))
11043 static PyObject *_wrap_wxPyDivisionShape_SetLeftSide(PyObject *self, PyObject *args, PyObject *kwargs) {
11044 PyObject * _resultobj;
11045 wxPyDivisionShape * _arg0;
11046 wxPyDivisionShape * _arg1;
11047 PyObject * _argo0 = 0;
11048 PyObject * _argo1 = 0;
11049 char *_kwnames[] = { "self","shape", NULL };
11050
11051 self = self;
11052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetLeftSide",_kwnames,&_argo0,&_argo1))
11053 return NULL;
11054 if (_argo0) {
11055 if (_argo0 == Py_None) { _arg0 = NULL; }
11056 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11057 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetLeftSide. Expected _wxPyDivisionShape_p.");
11058 return NULL;
11059 }
11060 }
11061 if (_argo1) {
11062 if (_argo1 == Py_None) { _arg1 = NULL; }
11063 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyDivisionShape_p")) {
11064 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_SetLeftSide. Expected _wxPyDivisionShape_p.");
11065 return NULL;
11066 }
11067 }
11068 {
11069 PyThreadState* __tstate = wxPyBeginAllowThreads();
11070 wxPyDivisionShape_SetLeftSide(_arg0,_arg1);
11071
11072 wxPyEndAllowThreads(__tstate);
11073 if (PyErr_Occurred()) return NULL;
11074 } Py_INCREF(Py_None);
11075 _resultobj = Py_None;
11076 return _resultobj;
11077 }
11078
11079 #define wxPyDivisionShape_SetLeftSideColour(_swigobj,_swigarg0) (_swigobj->SetLeftSideColour(_swigarg0))
11080 static PyObject *_wrap_wxPyDivisionShape_SetLeftSideColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11081 PyObject * _resultobj;
11082 wxPyDivisionShape * _arg0;
11083 wxString * _arg1;
11084 PyObject * _argo0 = 0;
11085 PyObject * _obj1 = 0;
11086 char *_kwnames[] = { "self","colour", NULL };
11087
11088 self = self;
11089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetLeftSideColour",_kwnames,&_argo0,&_obj1))
11090 return NULL;
11091 if (_argo0) {
11092 if (_argo0 == Py_None) { _arg0 = NULL; }
11093 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11094 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetLeftSideColour. Expected _wxPyDivisionShape_p.");
11095 return NULL;
11096 }
11097 }
11098 {
11099 _arg1 = wxString_in_helper(_obj1);
11100 if (_arg1 == NULL)
11101 return NULL;
11102 }
11103 {
11104 PyThreadState* __tstate = wxPyBeginAllowThreads();
11105 wxPyDivisionShape_SetLeftSideColour(_arg0,*_arg1);
11106
11107 wxPyEndAllowThreads(__tstate);
11108 if (PyErr_Occurred()) return NULL;
11109 } Py_INCREF(Py_None);
11110 _resultobj = Py_None;
11111 {
11112 if (_obj1)
11113 delete _arg1;
11114 }
11115 return _resultobj;
11116 }
11117
11118 #define wxPyDivisionShape_SetLeftSidePen(_swigobj,_swigarg0) (_swigobj->SetLeftSidePen(_swigarg0))
11119 static PyObject *_wrap_wxPyDivisionShape_SetLeftSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
11120 PyObject * _resultobj;
11121 wxPyDivisionShape * _arg0;
11122 wxPen * _arg1;
11123 PyObject * _argo0 = 0;
11124 PyObject * _obj1 = 0;
11125 char *_kwnames[] = { "self","pen", NULL };
11126
11127 self = self;
11128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetLeftSidePen",_kwnames,&_argo0,&_obj1))
11129 return NULL;
11130 if (_argo0) {
11131 if (_argo0 == Py_None) { _arg0 = NULL; }
11132 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11133 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetLeftSidePen. Expected _wxPyDivisionShape_p.");
11134 return NULL;
11135 }
11136 }
11137 {
11138 wxPen* temp;
11139 if (_obj1) {
11140 if (_obj1 == Py_None) { temp = NULL; }
11141 else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxPen_p")) {
11142 PyErr_SetString(PyExc_TypeError,"Type error, expected _wxPen_p.");
11143 return NULL;
11144 }
11145 }
11146 if (temp)
11147 _arg1 = wxThePenList->FindOrCreatePen(temp->GetColour(),
11148 temp->GetWidth(),
11149 temp->GetStyle());
11150 else
11151 _arg1 = NULL;
11152 }
11153 {
11154 PyThreadState* __tstate = wxPyBeginAllowThreads();
11155 wxPyDivisionShape_SetLeftSidePen(_arg0,_arg1);
11156
11157 wxPyEndAllowThreads(__tstate);
11158 if (PyErr_Occurred()) return NULL;
11159 } Py_INCREF(Py_None);
11160 _resultobj = Py_None;
11161 return _resultobj;
11162 }
11163
11164 #define wxPyDivisionShape_SetRightSide(_swigobj,_swigarg0) (_swigobj->SetRightSide(_swigarg0))
11165 static PyObject *_wrap_wxPyDivisionShape_SetRightSide(PyObject *self, PyObject *args, PyObject *kwargs) {
11166 PyObject * _resultobj;
11167 wxPyDivisionShape * _arg0;
11168 wxPyDivisionShape * _arg1;
11169 PyObject * _argo0 = 0;
11170 PyObject * _argo1 = 0;
11171 char *_kwnames[] = { "self","shape", NULL };
11172
11173 self = self;
11174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetRightSide",_kwnames,&_argo0,&_argo1))
11175 return NULL;
11176 if (_argo0) {
11177 if (_argo0 == Py_None) { _arg0 = NULL; }
11178 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11179 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetRightSide. Expected _wxPyDivisionShape_p.");
11180 return NULL;
11181 }
11182 }
11183 if (_argo1) {
11184 if (_argo1 == Py_None) { _arg1 = NULL; }
11185 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyDivisionShape_p")) {
11186 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_SetRightSide. Expected _wxPyDivisionShape_p.");
11187 return NULL;
11188 }
11189 }
11190 {
11191 PyThreadState* __tstate = wxPyBeginAllowThreads();
11192 wxPyDivisionShape_SetRightSide(_arg0,_arg1);
11193
11194 wxPyEndAllowThreads(__tstate);
11195 if (PyErr_Occurred()) return NULL;
11196 } Py_INCREF(Py_None);
11197 _resultobj = Py_None;
11198 return _resultobj;
11199 }
11200
11201 #define wxPyDivisionShape_SetTopSide(_swigobj,_swigarg0) (_swigobj->SetTopSide(_swigarg0))
11202 static PyObject *_wrap_wxPyDivisionShape_SetTopSide(PyObject *self, PyObject *args, PyObject *kwargs) {
11203 PyObject * _resultobj;
11204 wxPyDivisionShape * _arg0;
11205 wxPyDivisionShape * _arg1;
11206 PyObject * _argo0 = 0;
11207 PyObject * _argo1 = 0;
11208 char *_kwnames[] = { "self","shape", NULL };
11209
11210 self = self;
11211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetTopSide",_kwnames,&_argo0,&_argo1))
11212 return NULL;
11213 if (_argo0) {
11214 if (_argo0 == Py_None) { _arg0 = NULL; }
11215 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11216 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetTopSide. Expected _wxPyDivisionShape_p.");
11217 return NULL;
11218 }
11219 }
11220 if (_argo1) {
11221 if (_argo1 == Py_None) { _arg1 = NULL; }
11222 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyDivisionShape_p")) {
11223 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_SetTopSide. Expected _wxPyDivisionShape_p.");
11224 return NULL;
11225 }
11226 }
11227 {
11228 PyThreadState* __tstate = wxPyBeginAllowThreads();
11229 wxPyDivisionShape_SetTopSide(_arg0,_arg1);
11230
11231 wxPyEndAllowThreads(__tstate);
11232 if (PyErr_Occurred()) return NULL;
11233 } Py_INCREF(Py_None);
11234 _resultobj = Py_None;
11235 return _resultobj;
11236 }
11237
11238 #define wxPyDivisionShape_SetTopSideColour(_swigobj,_swigarg0) (_swigobj->SetTopSideColour(_swigarg0))
11239 static PyObject *_wrap_wxPyDivisionShape_SetTopSideColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11240 PyObject * _resultobj;
11241 wxPyDivisionShape * _arg0;
11242 wxString * _arg1;
11243 PyObject * _argo0 = 0;
11244 PyObject * _obj1 = 0;
11245 char *_kwnames[] = { "self","colour", NULL };
11246
11247 self = self;
11248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetTopSideColour",_kwnames,&_argo0,&_obj1))
11249 return NULL;
11250 if (_argo0) {
11251 if (_argo0 == Py_None) { _arg0 = NULL; }
11252 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11253 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetTopSideColour. Expected _wxPyDivisionShape_p.");
11254 return NULL;
11255 }
11256 }
11257 {
11258 _arg1 = wxString_in_helper(_obj1);
11259 if (_arg1 == NULL)
11260 return NULL;
11261 }
11262 {
11263 PyThreadState* __tstate = wxPyBeginAllowThreads();
11264 wxPyDivisionShape_SetTopSideColour(_arg0,*_arg1);
11265
11266 wxPyEndAllowThreads(__tstate);
11267 if (PyErr_Occurred()) return NULL;
11268 } Py_INCREF(Py_None);
11269 _resultobj = Py_None;
11270 {
11271 if (_obj1)
11272 delete _arg1;
11273 }
11274 return _resultobj;
11275 }
11276
11277 #define wxPyDivisionShape_SetTopSidePen(_swigobj,_swigarg0) (_swigobj->SetTopSidePen(_swigarg0))
11278 static PyObject *_wrap_wxPyDivisionShape_SetTopSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
11279 PyObject * _resultobj;
11280 wxPyDivisionShape * _arg0;
11281 wxPen * _arg1;
11282 PyObject * _argo0 = 0;
11283 PyObject * _obj1 = 0;
11284 char *_kwnames[] = { "self","pen", NULL };
11285
11286 self = self;
11287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetTopSidePen",_kwnames,&_argo0,&_obj1))
11288 return NULL;
11289 if (_argo0) {
11290 if (_argo0 == Py_None) { _arg0 = NULL; }
11291 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11292 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetTopSidePen. Expected _wxPyDivisionShape_p.");
11293 return NULL;
11294 }
11295 }
11296 {
11297 wxPen* temp;
11298 if (_obj1) {
11299 if (_obj1 == Py_None) { temp = NULL; }
11300 else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxPen_p")) {
11301 PyErr_SetString(PyExc_TypeError,"Type error, expected _wxPen_p.");
11302 return NULL;
11303 }
11304 }
11305 if (temp)
11306 _arg1 = wxThePenList->FindOrCreatePen(temp->GetColour(),
11307 temp->GetWidth(),
11308 temp->GetStyle());
11309 else
11310 _arg1 = NULL;
11311 }
11312 {
11313 PyThreadState* __tstate = wxPyBeginAllowThreads();
11314 wxPyDivisionShape_SetTopSidePen(_arg0,_arg1);
11315
11316 wxPyEndAllowThreads(__tstate);
11317 if (PyErr_Occurred()) return NULL;
11318 } Py_INCREF(Py_None);
11319 _resultobj = Py_None;
11320 return _resultobj;
11321 }
11322
11323 #define wxPyDivisionShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
11324 static PyObject *_wrap_wxPyDivisionShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
11325 PyObject * _resultobj;
11326 wxPyDivisionShape * _arg0;
11327 PyObject * _argo0 = 0;
11328 char *_kwnames[] = { "self", NULL };
11329
11330 self = self;
11331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_base_OnDelete",_kwnames,&_argo0))
11332 return NULL;
11333 if (_argo0) {
11334 if (_argo0 == Py_None) { _arg0 = NULL; }
11335 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11336 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDelete. Expected _wxPyDivisionShape_p.");
11337 return NULL;
11338 }
11339 }
11340 {
11341 PyThreadState* __tstate = wxPyBeginAllowThreads();
11342 wxPyDivisionShape_base_OnDelete(_arg0);
11343
11344 wxPyEndAllowThreads(__tstate);
11345 if (PyErr_Occurred()) return NULL;
11346 } Py_INCREF(Py_None);
11347 _resultobj = Py_None;
11348 return _resultobj;
11349 }
11350
11351 #define wxPyDivisionShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
11352 static PyObject *_wrap_wxPyDivisionShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
11353 PyObject * _resultobj;
11354 wxPyDivisionShape * _arg0;
11355 wxDC * _arg1;
11356 PyObject * _argo0 = 0;
11357 PyObject * _argo1 = 0;
11358 char *_kwnames[] = { "self","dc", NULL };
11359
11360 self = self;
11361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnDraw",_kwnames,&_argo0,&_argo1))
11362 return NULL;
11363 if (_argo0) {
11364 if (_argo0 == Py_None) { _arg0 = NULL; }
11365 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11366 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDraw. Expected _wxPyDivisionShape_p.");
11367 return NULL;
11368 }
11369 }
11370 if (_argo1) {
11371 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
11372 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnDraw. Expected _wxDC_p.");
11373 return NULL;
11374 }
11375 }
11376 {
11377 PyThreadState* __tstate = wxPyBeginAllowThreads();
11378 wxPyDivisionShape_base_OnDraw(_arg0,*_arg1);
11379
11380 wxPyEndAllowThreads(__tstate);
11381 if (PyErr_Occurred()) return NULL;
11382 } Py_INCREF(Py_None);
11383 _resultobj = Py_None;
11384 return _resultobj;
11385 }
11386
11387 #define wxPyDivisionShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
11388 static PyObject *_wrap_wxPyDivisionShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
11389 PyObject * _resultobj;
11390 wxPyDivisionShape * _arg0;
11391 wxDC * _arg1;
11392 PyObject * _argo0 = 0;
11393 PyObject * _argo1 = 0;
11394 char *_kwnames[] = { "self","dc", NULL };
11395
11396 self = self;
11397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1))
11398 return NULL;
11399 if (_argo0) {
11400 if (_argo0 == Py_None) { _arg0 = NULL; }
11401 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11402 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDrawContents. Expected _wxPyDivisionShape_p.");
11403 return NULL;
11404 }
11405 }
11406 if (_argo1) {
11407 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
11408 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnDrawContents. Expected _wxDC_p.");
11409 return NULL;
11410 }
11411 }
11412 {
11413 PyThreadState* __tstate = wxPyBeginAllowThreads();
11414 wxPyDivisionShape_base_OnDrawContents(_arg0,*_arg1);
11415
11416 wxPyEndAllowThreads(__tstate);
11417 if (PyErr_Occurred()) return NULL;
11418 } Py_INCREF(Py_None);
11419 _resultobj = Py_None;
11420 return _resultobj;
11421 }
11422
11423 #define wxPyDivisionShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
11424 static PyObject *_wrap_wxPyDivisionShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
11425 PyObject * _resultobj;
11426 wxPyDivisionShape * _arg0;
11427 wxDC * _arg1;
11428 bool _arg2 = (bool ) FALSE;
11429 PyObject * _argo0 = 0;
11430 PyObject * _argo1 = 0;
11431 int tempbool2 = (int) FALSE;
11432 char *_kwnames[] = { "self","dc","erase", NULL };
11433
11434 self = self;
11435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDivisionShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2))
11436 return NULL;
11437 if (_argo0) {
11438 if (_argo0 == Py_None) { _arg0 = NULL; }
11439 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11440 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDrawBranches. Expected _wxPyDivisionShape_p.");
11441 return NULL;
11442 }
11443 }
11444 if (_argo1) {
11445 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
11446 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnDrawBranches. Expected _wxDC_p.");
11447 return NULL;
11448 }
11449 }
11450 _arg2 = (bool ) tempbool2;
11451 {
11452 PyThreadState* __tstate = wxPyBeginAllowThreads();
11453 wxPyDivisionShape_base_OnDrawBranches(_arg0,*_arg1,_arg2);
11454
11455 wxPyEndAllowThreads(__tstate);
11456 if (PyErr_Occurred()) return NULL;
11457 } Py_INCREF(Py_None);
11458 _resultobj = Py_None;
11459 return _resultobj;
11460 }
11461
11462 #define wxPyDivisionShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
11463 static PyObject *_wrap_wxPyDivisionShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
11464 PyObject * _resultobj;
11465 wxPyDivisionShape * _arg0;
11466 wxDC * _arg1;
11467 PyObject * _argo0 = 0;
11468 PyObject * _argo1 = 0;
11469 char *_kwnames[] = { "self","dc", NULL };
11470
11471 self = self;
11472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1))
11473 return NULL;
11474 if (_argo0) {
11475 if (_argo0 == Py_None) { _arg0 = NULL; }
11476 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11477 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnMoveLinks. Expected _wxPyDivisionShape_p.");
11478 return NULL;
11479 }
11480 }
11481 if (_argo1) {
11482 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
11483 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnMoveLinks. Expected _wxDC_p.");
11484 return NULL;
11485 }
11486 }
11487 {
11488 PyThreadState* __tstate = wxPyBeginAllowThreads();
11489 wxPyDivisionShape_base_OnMoveLinks(_arg0,*_arg1);
11490
11491 wxPyEndAllowThreads(__tstate);
11492 if (PyErr_Occurred()) return NULL;
11493 } Py_INCREF(Py_None);
11494 _resultobj = Py_None;
11495 return _resultobj;
11496 }
11497
11498 #define wxPyDivisionShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
11499 static PyObject *_wrap_wxPyDivisionShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
11500 PyObject * _resultobj;
11501 wxPyDivisionShape * _arg0;
11502 wxDC * _arg1;
11503 PyObject * _argo0 = 0;
11504 PyObject * _argo1 = 0;
11505 char *_kwnames[] = { "self","dc", NULL };
11506
11507 self = self;
11508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnErase",_kwnames,&_argo0,&_argo1))
11509 return NULL;
11510 if (_argo0) {
11511 if (_argo0 == Py_None) { _arg0 = NULL; }
11512 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11513 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnErase. Expected _wxPyDivisionShape_p.");
11514 return NULL;
11515 }
11516 }
11517 if (_argo1) {
11518 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
11519 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnErase. Expected _wxDC_p.");
11520 return NULL;
11521 }
11522 }
11523 {
11524 PyThreadState* __tstate = wxPyBeginAllowThreads();
11525 wxPyDivisionShape_base_OnErase(_arg0,*_arg1);
11526
11527 wxPyEndAllowThreads(__tstate);
11528 if (PyErr_Occurred()) return NULL;
11529 } Py_INCREF(Py_None);
11530 _resultobj = Py_None;
11531 return _resultobj;
11532 }
11533
11534 #define wxPyDivisionShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
11535 static PyObject *_wrap_wxPyDivisionShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
11536 PyObject * _resultobj;
11537 wxPyDivisionShape * _arg0;
11538 wxDC * _arg1;
11539 PyObject * _argo0 = 0;
11540 PyObject * _argo1 = 0;
11541 char *_kwnames[] = { "self","dc", NULL };
11542
11543 self = self;
11544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1))
11545 return NULL;
11546 if (_argo0) {
11547 if (_argo0 == Py_None) { _arg0 = NULL; }
11548 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11549 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnEraseContents. Expected _wxPyDivisionShape_p.");
11550 return NULL;
11551 }
11552 }
11553 if (_argo1) {
11554 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
11555 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnEraseContents. Expected _wxDC_p.");
11556 return NULL;
11557 }
11558 }
11559 {
11560 PyThreadState* __tstate = wxPyBeginAllowThreads();
11561 wxPyDivisionShape_base_OnEraseContents(_arg0,*_arg1);
11562
11563 wxPyEndAllowThreads(__tstate);
11564 if (PyErr_Occurred()) return NULL;
11565 } Py_INCREF(Py_None);
11566 _resultobj = Py_None;
11567 return _resultobj;
11568 }
11569
11570 #define wxPyDivisionShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
11571 static PyObject *_wrap_wxPyDivisionShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
11572 PyObject * _resultobj;
11573 wxPyDivisionShape * _arg0;
11574 wxDC * _arg1;
11575 PyObject * _argo0 = 0;
11576 PyObject * _argo1 = 0;
11577 char *_kwnames[] = { "self","dc", NULL };
11578
11579 self = self;
11580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnHighlight",_kwnames,&_argo0,&_argo1))
11581 return NULL;
11582 if (_argo0) {
11583 if (_argo0 == Py_None) { _arg0 = NULL; }
11584 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11585 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnHighlight. Expected _wxPyDivisionShape_p.");
11586 return NULL;
11587 }
11588 }
11589 if (_argo1) {
11590 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
11591 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnHighlight. Expected _wxDC_p.");
11592 return NULL;
11593 }
11594 }
11595 {
11596 PyThreadState* __tstate = wxPyBeginAllowThreads();
11597 wxPyDivisionShape_base_OnHighlight(_arg0,*_arg1);
11598
11599 wxPyEndAllowThreads(__tstate);
11600 if (PyErr_Occurred()) return NULL;
11601 } Py_INCREF(Py_None);
11602 _resultobj = Py_None;
11603 return _resultobj;
11604 }
11605
11606 #define wxPyDivisionShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11607 static PyObject *_wrap_wxPyDivisionShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
11608 PyObject * _resultobj;
11609 wxPyDivisionShape * _arg0;
11610 double _arg1;
11611 double _arg2;
11612 int _arg3 = (int ) 0;
11613 int _arg4 = (int ) 0;
11614 PyObject * _argo0 = 0;
11615 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
11616
11617 self = self;
11618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
11619 return NULL;
11620 if (_argo0) {
11621 if (_argo0 == Py_None) { _arg0 = NULL; }
11622 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11623 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnLeftClick. Expected _wxPyDivisionShape_p.");
11624 return NULL;
11625 }
11626 }
11627 {
11628 PyThreadState* __tstate = wxPyBeginAllowThreads();
11629 wxPyDivisionShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4);
11630
11631 wxPyEndAllowThreads(__tstate);
11632 if (PyErr_Occurred()) return NULL;
11633 } Py_INCREF(Py_None);
11634 _resultobj = Py_None;
11635 return _resultobj;
11636 }
11637
11638 #define wxPyDivisionShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11639 static PyObject *_wrap_wxPyDivisionShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
11640 PyObject * _resultobj;
11641 wxPyDivisionShape * _arg0;
11642 double _arg1;
11643 double _arg2;
11644 int _arg3 = (int ) 0;
11645 int _arg4 = (int ) 0;
11646 PyObject * _argo0 = 0;
11647 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
11648
11649 self = self;
11650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
11651 return NULL;
11652 if (_argo0) {
11653 if (_argo0 == Py_None) { _arg0 = NULL; }
11654 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11655 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnLeftDoubleClick. Expected _wxPyDivisionShape_p.");
11656 return NULL;
11657 }
11658 }
11659 {
11660 PyThreadState* __tstate = wxPyBeginAllowThreads();
11661 wxPyDivisionShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4);
11662
11663 wxPyEndAllowThreads(__tstate);
11664 if (PyErr_Occurred()) return NULL;
11665 } Py_INCREF(Py_None);
11666 _resultobj = Py_None;
11667 return _resultobj;
11668 }
11669
11670 #define wxPyDivisionShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11671 static PyObject *_wrap_wxPyDivisionShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
11672 PyObject * _resultobj;
11673 wxPyDivisionShape * _arg0;
11674 double _arg1;
11675 double _arg2;
11676 int _arg3 = (int ) 0;
11677 int _arg4 = (int ) 0;
11678 PyObject * _argo0 = 0;
11679 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
11680
11681 self = self;
11682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
11683 return NULL;
11684 if (_argo0) {
11685 if (_argo0 == Py_None) { _arg0 = NULL; }
11686 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11687 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnRightClick. Expected _wxPyDivisionShape_p.");
11688 return NULL;
11689 }
11690 }
11691 {
11692 PyThreadState* __tstate = wxPyBeginAllowThreads();
11693 wxPyDivisionShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4);
11694
11695 wxPyEndAllowThreads(__tstate);
11696 if (PyErr_Occurred()) return NULL;
11697 } Py_INCREF(Py_None);
11698 _resultobj = Py_None;
11699 return _resultobj;
11700 }
11701
11702 #define wxPyDivisionShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
11703 static PyObject *_wrap_wxPyDivisionShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11704 PyObject * _resultobj;
11705 wxPyDivisionShape * _arg0;
11706 double _arg1;
11707 double _arg2;
11708 PyObject * _argo0 = 0;
11709 char *_kwnames[] = { "self","x","y", NULL };
11710
11711 self = self;
11712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDivisionShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2))
11713 return NULL;
11714 if (_argo0) {
11715 if (_argo0 == Py_None) { _arg0 = NULL; }
11716 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11717 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnSize. Expected _wxPyDivisionShape_p.");
11718 return NULL;
11719 }
11720 }
11721 {
11722 PyThreadState* __tstate = wxPyBeginAllowThreads();
11723 wxPyDivisionShape_base_OnSize(_arg0,_arg1,_arg2);
11724
11725 wxPyEndAllowThreads(__tstate);
11726 if (PyErr_Occurred()) return NULL;
11727 } Py_INCREF(Py_None);
11728 _resultobj = Py_None;
11729 return _resultobj;
11730 }
11731
11732 #define wxPyDivisionShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
11733 static PyObject *_wrap_wxPyDivisionShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
11734 PyObject * _resultobj;
11735 bool _result;
11736 wxPyDivisionShape * _arg0;
11737 wxDC * _arg1;
11738 double _arg2;
11739 double _arg3;
11740 double _arg4;
11741 double _arg5;
11742 bool _arg6 = (bool ) TRUE;
11743 PyObject * _argo0 = 0;
11744 PyObject * _argo1 = 0;
11745 int tempbool6 = (int) TRUE;
11746 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
11747
11748 self = self;
11749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDivisionShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
11750 return NULL;
11751 if (_argo0) {
11752 if (_argo0 == Py_None) { _arg0 = NULL; }
11753 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11754 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnMovePre. Expected _wxPyDivisionShape_p.");
11755 return NULL;
11756 }
11757 }
11758 if (_argo1) {
11759 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
11760 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnMovePre. Expected _wxDC_p.");
11761 return NULL;
11762 }
11763 }
11764 _arg6 = (bool ) tempbool6;
11765 {
11766 PyThreadState* __tstate = wxPyBeginAllowThreads();
11767 _result = (bool )wxPyDivisionShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
11768
11769 wxPyEndAllowThreads(__tstate);
11770 if (PyErr_Occurred()) return NULL;
11771 } _resultobj = Py_BuildValue("i",_result);
11772 return _resultobj;
11773 }
11774
11775 #define wxPyDivisionShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
11776 static PyObject *_wrap_wxPyDivisionShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
11777 PyObject * _resultobj;
11778 wxPyDivisionShape * _arg0;
11779 wxDC * _arg1;
11780 double _arg2;
11781 double _arg3;
11782 double _arg4;
11783 double _arg5;
11784 bool _arg6 = (bool ) TRUE;
11785 PyObject * _argo0 = 0;
11786 PyObject * _argo1 = 0;
11787 int tempbool6 = (int) TRUE;
11788 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
11789
11790 self = self;
11791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDivisionShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
11792 return NULL;
11793 if (_argo0) {
11794 if (_argo0 == Py_None) { _arg0 = NULL; }
11795 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11796 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnMovePost. Expected _wxPyDivisionShape_p.");
11797 return NULL;
11798 }
11799 }
11800 if (_argo1) {
11801 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
11802 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnMovePost. Expected _wxDC_p.");
11803 return NULL;
11804 }
11805 }
11806 _arg6 = (bool ) tempbool6;
11807 {
11808 PyThreadState* __tstate = wxPyBeginAllowThreads();
11809 wxPyDivisionShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
11810
11811 wxPyEndAllowThreads(__tstate);
11812 if (PyErr_Occurred()) return NULL;
11813 } Py_INCREF(Py_None);
11814 _resultobj = Py_None;
11815 return _resultobj;
11816 }
11817
11818 #define wxPyDivisionShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
11819 static PyObject *_wrap_wxPyDivisionShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11820 PyObject * _resultobj;
11821 wxPyDivisionShape * _arg0;
11822 bool _arg1;
11823 double _arg2;
11824 double _arg3;
11825 int _arg4 = (int ) 0;
11826 int _arg5 = (int ) 0;
11827 PyObject * _argo0 = 0;
11828 int tempbool1;
11829 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
11830
11831 self = self;
11832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDivisionShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
11833 return NULL;
11834 if (_argo0) {
11835 if (_argo0 == Py_None) { _arg0 = NULL; }
11836 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11837 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDragLeft. Expected _wxPyDivisionShape_p.");
11838 return NULL;
11839 }
11840 }
11841 _arg1 = (bool ) tempbool1;
11842 {
11843 PyThreadState* __tstate = wxPyBeginAllowThreads();
11844 wxPyDivisionShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
11845
11846 wxPyEndAllowThreads(__tstate);
11847 if (PyErr_Occurred()) return NULL;
11848 } Py_INCREF(Py_None);
11849 _resultobj = Py_None;
11850 return _resultobj;
11851 }
11852
11853 #define wxPyDivisionShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11854 static PyObject *_wrap_wxPyDivisionShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11855 PyObject * _resultobj;
11856 wxPyDivisionShape * _arg0;
11857 double _arg1;
11858 double _arg2;
11859 int _arg3 = (int ) 0;
11860 int _arg4 = (int ) 0;
11861 PyObject * _argo0 = 0;
11862 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
11863
11864 self = self;
11865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
11866 return NULL;
11867 if (_argo0) {
11868 if (_argo0 == Py_None) { _arg0 = NULL; }
11869 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11870 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnBeginDragLeft. Expected _wxPyDivisionShape_p.");
11871 return NULL;
11872 }
11873 }
11874 {
11875 PyThreadState* __tstate = wxPyBeginAllowThreads();
11876 wxPyDivisionShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
11877
11878 wxPyEndAllowThreads(__tstate);
11879 if (PyErr_Occurred()) return NULL;
11880 } Py_INCREF(Py_None);
11881 _resultobj = Py_None;
11882 return _resultobj;
11883 }
11884
11885 #define wxPyDivisionShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11886 static PyObject *_wrap_wxPyDivisionShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11887 PyObject * _resultobj;
11888 wxPyDivisionShape * _arg0;
11889 double _arg1;
11890 double _arg2;
11891 int _arg3 = (int ) 0;
11892 int _arg4 = (int ) 0;
11893 PyObject * _argo0 = 0;
11894 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
11895
11896 self = self;
11897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
11898 return NULL;
11899 if (_argo0) {
11900 if (_argo0 == Py_None) { _arg0 = NULL; }
11901 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11902 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnEndDragLeft. Expected _wxPyDivisionShape_p.");
11903 return NULL;
11904 }
11905 }
11906 {
11907 PyThreadState* __tstate = wxPyBeginAllowThreads();
11908 wxPyDivisionShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
11909
11910 wxPyEndAllowThreads(__tstate);
11911 if (PyErr_Occurred()) return NULL;
11912 } Py_INCREF(Py_None);
11913 _resultobj = Py_None;
11914 return _resultobj;
11915 }
11916
11917 #define wxPyDivisionShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
11918 static PyObject *_wrap_wxPyDivisionShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
11919 PyObject * _resultobj;
11920 wxPyDivisionShape * _arg0;
11921 bool _arg1;
11922 double _arg2;
11923 double _arg3;
11924 int _arg4 = (int ) 0;
11925 int _arg5 = (int ) 0;
11926 PyObject * _argo0 = 0;
11927 int tempbool1;
11928 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
11929
11930 self = self;
11931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDivisionShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
11932 return NULL;
11933 if (_argo0) {
11934 if (_argo0 == Py_None) { _arg0 = NULL; }
11935 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11936 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDragRight. Expected _wxPyDivisionShape_p.");
11937 return NULL;
11938 }
11939 }
11940 _arg1 = (bool ) tempbool1;
11941 {
11942 PyThreadState* __tstate = wxPyBeginAllowThreads();
11943 wxPyDivisionShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
11944
11945 wxPyEndAllowThreads(__tstate);
11946 if (PyErr_Occurred()) return NULL;
11947 } Py_INCREF(Py_None);
11948 _resultobj = Py_None;
11949 return _resultobj;
11950 }
11951
11952 #define wxPyDivisionShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11953 static PyObject *_wrap_wxPyDivisionShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
11954 PyObject * _resultobj;
11955 wxPyDivisionShape * _arg0;
11956 double _arg1;
11957 double _arg2;
11958 int _arg3 = (int ) 0;
11959 int _arg4 = (int ) 0;
11960 PyObject * _argo0 = 0;
11961 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
11962
11963 self = self;
11964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
11965 return NULL;
11966 if (_argo0) {
11967 if (_argo0 == Py_None) { _arg0 = NULL; }
11968 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11969 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnBeginDragRight. Expected _wxPyDivisionShape_p.");
11970 return NULL;
11971 }
11972 }
11973 {
11974 PyThreadState* __tstate = wxPyBeginAllowThreads();
11975 wxPyDivisionShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
11976
11977 wxPyEndAllowThreads(__tstate);
11978 if (PyErr_Occurred()) return NULL;
11979 } Py_INCREF(Py_None);
11980 _resultobj = Py_None;
11981 return _resultobj;
11982 }
11983
11984 #define wxPyDivisionShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11985 static PyObject *_wrap_wxPyDivisionShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
11986 PyObject * _resultobj;
11987 wxPyDivisionShape * _arg0;
11988 double _arg1;
11989 double _arg2;
11990 int _arg3 = (int ) 0;
11991 int _arg4 = (int ) 0;
11992 PyObject * _argo0 = 0;
11993 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
11994
11995 self = self;
11996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
11997 return NULL;
11998 if (_argo0) {
11999 if (_argo0 == Py_None) { _arg0 = NULL; }
12000 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
12001 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnEndDragRight. Expected _wxPyDivisionShape_p.");
12002 return NULL;
12003 }
12004 }
12005 {
12006 PyThreadState* __tstate = wxPyBeginAllowThreads();
12007 wxPyDivisionShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
12008
12009 wxPyEndAllowThreads(__tstate);
12010 if (PyErr_Occurred()) return NULL;
12011 } Py_INCREF(Py_None);
12012 _resultobj = Py_None;
12013 return _resultobj;
12014 }
12015
12016 #define wxPyDivisionShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
12017 static PyObject *_wrap_wxPyDivisionShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
12018 PyObject * _resultobj;
12019 wxPyDivisionShape * _arg0;
12020 wxDC * _arg1;
12021 double _arg2;
12022 double _arg3;
12023 double _arg4;
12024 double _arg5;
12025 PyObject * _argo0 = 0;
12026 PyObject * _argo1 = 0;
12027 char *_kwnames[] = { "self","dc","x","y","w","h", NULL };
12028
12029 self = self;
12030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyDivisionShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
12031 return NULL;
12032 if (_argo0) {
12033 if (_argo0 == Py_None) { _arg0 = NULL; }
12034 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
12035 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDrawOutline. Expected _wxPyDivisionShape_p.");
12036 return NULL;
12037 }
12038 }
12039 if (_argo1) {
12040 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
12041 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnDrawOutline. Expected _wxDC_p.");
12042 return NULL;
12043 }
12044 }
12045 {
12046 PyThreadState* __tstate = wxPyBeginAllowThreads();
12047 wxPyDivisionShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5);
12048
12049 wxPyEndAllowThreads(__tstate);
12050 if (PyErr_Occurred()) return NULL;
12051 } Py_INCREF(Py_None);
12052 _resultobj = Py_None;
12053 return _resultobj;
12054 }
12055
12056 #define wxPyDivisionShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
12057 static PyObject *_wrap_wxPyDivisionShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
12058 PyObject * _resultobj;
12059 wxPyDivisionShape * _arg0;
12060 wxDC * _arg1;
12061 PyObject * _argo0 = 0;
12062 PyObject * _argo1 = 0;
12063 char *_kwnames[] = { "self","dc", NULL };
12064
12065 self = self;
12066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1))
12067 return NULL;
12068 if (_argo0) {
12069 if (_argo0 == Py_None) { _arg0 = NULL; }
12070 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
12071 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDrawControlPoints. Expected _wxPyDivisionShape_p.");
12072 return NULL;
12073 }
12074 }
12075 if (_argo1) {
12076 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
12077 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnDrawControlPoints. Expected _wxDC_p.");
12078 return NULL;
12079 }
12080 }
12081 {
12082 PyThreadState* __tstate = wxPyBeginAllowThreads();
12083 wxPyDivisionShape_base_OnDrawControlPoints(_arg0,*_arg1);
12084
12085 wxPyEndAllowThreads(__tstate);
12086 if (PyErr_Occurred()) return NULL;
12087 } Py_INCREF(Py_None);
12088 _resultobj = Py_None;
12089 return _resultobj;
12090 }
12091
12092 #define wxPyDivisionShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
12093 static PyObject *_wrap_wxPyDivisionShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
12094 PyObject * _resultobj;
12095 wxPyDivisionShape * _arg0;
12096 wxDC * _arg1;
12097 PyObject * _argo0 = 0;
12098 PyObject * _argo1 = 0;
12099 char *_kwnames[] = { "self","dc", NULL };
12100
12101 self = self;
12102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1))
12103 return NULL;
12104 if (_argo0) {
12105 if (_argo0 == Py_None) { _arg0 = NULL; }
12106 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
12107 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnEraseControlPoints. Expected _wxPyDivisionShape_p.");
12108 return NULL;
12109 }
12110 }
12111 if (_argo1) {
12112 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
12113 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnEraseControlPoints. Expected _wxDC_p.");
12114 return NULL;
12115 }
12116 }
12117 {
12118 PyThreadState* __tstate = wxPyBeginAllowThreads();
12119 wxPyDivisionShape_base_OnEraseControlPoints(_arg0,*_arg1);
12120
12121 wxPyEndAllowThreads(__tstate);
12122 if (PyErr_Occurred()) return NULL;
12123 } Py_INCREF(Py_None);
12124 _resultobj = Py_None;
12125 return _resultobj;
12126 }
12127
12128 #define wxPyDivisionShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
12129 static PyObject *_wrap_wxPyDivisionShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
12130 PyObject * _resultobj;
12131 wxPyDivisionShape * _arg0;
12132 wxDC * _arg1;
12133 bool _arg2 = (bool ) TRUE;
12134 PyObject * _argo0 = 0;
12135 PyObject * _argo1 = 0;
12136 int tempbool2 = (int) TRUE;
12137 char *_kwnames[] = { "self","dc","moveControlPoints", NULL };
12138
12139 self = self;
12140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDivisionShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2))
12141 return NULL;
12142 if (_argo0) {
12143 if (_argo0 == Py_None) { _arg0 = NULL; }
12144 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
12145 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnMoveLink. Expected _wxPyDivisionShape_p.");
12146 return NULL;
12147 }
12148 }
12149 if (_argo1) {
12150 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
12151 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnMoveLink. Expected _wxDC_p.");
12152 return NULL;
12153 }
12154 }
12155 _arg2 = (bool ) tempbool2;
12156 {
12157 PyThreadState* __tstate = wxPyBeginAllowThreads();
12158 wxPyDivisionShape_base_OnMoveLink(_arg0,*_arg1,_arg2);
12159
12160 wxPyEndAllowThreads(__tstate);
12161 if (PyErr_Occurred()) return NULL;
12162 } Py_INCREF(Py_None);
12163 _resultobj = Py_None;
12164 return _resultobj;
12165 }
12166
12167 #define wxPyDivisionShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
12168 static PyObject *_wrap_wxPyDivisionShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
12169 PyObject * _resultobj;
12170 wxPyDivisionShape * _arg0;
12171 wxPyControlPoint * _arg1;
12172 bool _arg2;
12173 double _arg3;
12174 double _arg4;
12175 int _arg5 = (int ) 0;
12176 int _arg6 = (int ) 0;
12177 PyObject * _argo0 = 0;
12178 PyObject * _argo1 = 0;
12179 int tempbool2;
12180 char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL };
12181
12182 self = self;
12183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyDivisionShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6))
12184 return NULL;
12185 if (_argo0) {
12186 if (_argo0 == Py_None) { _arg0 = NULL; }
12187 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
12188 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnSizingDragLeft. Expected _wxPyDivisionShape_p.");
12189 return NULL;
12190 }
12191 }
12192 if (_argo1) {
12193 if (_argo1 == Py_None) { _arg1 = NULL; }
12194 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
12195 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
12196 return NULL;
12197 }
12198 }
12199 _arg2 = (bool ) tempbool2;
12200 {
12201 PyThreadState* __tstate = wxPyBeginAllowThreads();
12202 wxPyDivisionShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
12203
12204 wxPyEndAllowThreads(__tstate);
12205 if (PyErr_Occurred()) return NULL;
12206 } Py_INCREF(Py_None);
12207 _resultobj = Py_None;
12208 return _resultobj;
12209 }
12210
12211 #define wxPyDivisionShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
12212 static PyObject *_wrap_wxPyDivisionShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
12213 PyObject * _resultobj;
12214 wxPyDivisionShape * _arg0;
12215 wxPyControlPoint * _arg1;
12216 double _arg2;
12217 double _arg3;
12218 int _arg4 = (int ) 0;
12219 int _arg5 = (int ) 0;
12220 PyObject * _argo0 = 0;
12221 PyObject * _argo1 = 0;
12222 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
12223
12224 self = self;
12225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDivisionShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
12226 return NULL;
12227 if (_argo0) {
12228 if (_argo0 == Py_None) { _arg0 = NULL; }
12229 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
12230 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnSizingBeginDragLeft. Expected _wxPyDivisionShape_p.");
12231 return NULL;
12232 }
12233 }
12234 if (_argo1) {
12235 if (_argo1 == Py_None) { _arg1 = NULL; }
12236 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
12237 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
12238 return NULL;
12239 }
12240 }
12241 {
12242 PyThreadState* __tstate = wxPyBeginAllowThreads();
12243 wxPyDivisionShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
12244
12245 wxPyEndAllowThreads(__tstate);
12246 if (PyErr_Occurred()) return NULL;
12247 } Py_INCREF(Py_None);
12248 _resultobj = Py_None;
12249 return _resultobj;
12250 }
12251
12252 #define wxPyDivisionShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
12253 static PyObject *_wrap_wxPyDivisionShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
12254 PyObject * _resultobj;
12255 wxPyDivisionShape * _arg0;
12256 wxPyControlPoint * _arg1;
12257 double _arg2;
12258 double _arg3;
12259 int _arg4 = (int ) 0;
12260 int _arg5 = (int ) 0;
12261 PyObject * _argo0 = 0;
12262 PyObject * _argo1 = 0;
12263 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
12264
12265 self = self;
12266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDivisionShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
12267 return NULL;
12268 if (_argo0) {
12269 if (_argo0 == Py_None) { _arg0 = NULL; }
12270 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
12271 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnSizingEndDragLeft. Expected _wxPyDivisionShape_p.");
12272 return NULL;
12273 }
12274 }
12275 if (_argo1) {
12276 if (_argo1 == Py_None) { _arg1 = NULL; }
12277 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
12278 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
12279 return NULL;
12280 }
12281 }
12282 {
12283 PyThreadState* __tstate = wxPyBeginAllowThreads();
12284 wxPyDivisionShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
12285
12286 wxPyEndAllowThreads(__tstate);
12287 if (PyErr_Occurred()) return NULL;
12288 } Py_INCREF(Py_None);
12289 _resultobj = Py_None;
12290 return _resultobj;
12291 }
12292
12293 #define wxPyDivisionShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
12294 static PyObject *_wrap_wxPyDivisionShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12295 PyObject * _resultobj;
12296 wxPyDivisionShape * _arg0;
12297 double _arg1;
12298 double _arg2;
12299 PyObject * _argo0 = 0;
12300 char *_kwnames[] = { "self","w","h", NULL };
12301
12302 self = self;
12303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDivisionShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2))
12304 return NULL;
12305 if (_argo0) {
12306 if (_argo0 == Py_None) { _arg0 = NULL; }
12307 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
12308 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnBeginSize. Expected _wxPyDivisionShape_p.");
12309 return NULL;
12310 }
12311 }
12312 {
12313 PyThreadState* __tstate = wxPyBeginAllowThreads();
12314 wxPyDivisionShape_base_OnBeginSize(_arg0,_arg1,_arg2);
12315
12316 wxPyEndAllowThreads(__tstate);
12317 if (PyErr_Occurred()) return NULL;
12318 } Py_INCREF(Py_None);
12319 _resultobj = Py_None;
12320 return _resultobj;
12321 }
12322
12323 #define wxPyDivisionShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
12324 static PyObject *_wrap_wxPyDivisionShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12325 PyObject * _resultobj;
12326 wxPyDivisionShape * _arg0;
12327 double _arg1;
12328 double _arg2;
12329 PyObject * _argo0 = 0;
12330 char *_kwnames[] = { "self","w","h", NULL };
12331
12332 self = self;
12333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDivisionShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2))
12334 return NULL;
12335 if (_argo0) {
12336 if (_argo0 == Py_None) { _arg0 = NULL; }
12337 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
12338 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnEndSize. Expected _wxPyDivisionShape_p.");
12339 return NULL;
12340 }
12341 }
12342 {
12343 PyThreadState* __tstate = wxPyBeginAllowThreads();
12344 wxPyDivisionShape_base_OnEndSize(_arg0,_arg1,_arg2);
12345
12346 wxPyEndAllowThreads(__tstate);
12347 if (PyErr_Occurred()) return NULL;
12348 } Py_INCREF(Py_None);
12349 _resultobj = Py_None;
12350 return _resultobj;
12351 }
12352
12353 static PyMethodDef oglshapescMethods[] = {
12354 { "wxPyDivisionShape_base_OnEndSize", (PyCFunction) _wrap_wxPyDivisionShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
12355 { "wxPyDivisionShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyDivisionShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
12356 { "wxPyDivisionShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12357 { "wxPyDivisionShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12358 { "wxPyDivisionShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
12359 { "wxPyDivisionShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyDivisionShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
12360 { "wxPyDivisionShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyDivisionShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
12361 { "wxPyDivisionShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
12362 { "wxPyDivisionShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
12363 { "wxPyDivisionShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyDivisionShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
12364 { "wxPyDivisionShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyDivisionShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
12365 { "wxPyDivisionShape_base_OnDragRight", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
12366 { "wxPyDivisionShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12367 { "wxPyDivisionShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12368 { "wxPyDivisionShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
12369 { "wxPyDivisionShape_base_OnMovePost", (PyCFunction) _wrap_wxPyDivisionShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
12370 { "wxPyDivisionShape_base_OnMovePre", (PyCFunction) _wrap_wxPyDivisionShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
12371 { "wxPyDivisionShape_base_OnSize", (PyCFunction) _wrap_wxPyDivisionShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
12372 { "wxPyDivisionShape_base_OnRightClick", (PyCFunction) _wrap_wxPyDivisionShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
12373 { "wxPyDivisionShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyDivisionShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
12374 { "wxPyDivisionShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyDivisionShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
12375 { "wxPyDivisionShape_base_OnHighlight", (PyCFunction) _wrap_wxPyDivisionShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
12376 { "wxPyDivisionShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyDivisionShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
12377 { "wxPyDivisionShape_base_OnErase", (PyCFunction) _wrap_wxPyDivisionShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
12378 { "wxPyDivisionShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyDivisionShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
12379 { "wxPyDivisionShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
12380 { "wxPyDivisionShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
12381 { "wxPyDivisionShape_base_OnDraw", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
12382 { "wxPyDivisionShape_base_OnDelete", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
12383 { "wxPyDivisionShape_SetTopSidePen", (PyCFunction) _wrap_wxPyDivisionShape_SetTopSidePen, METH_VARARGS | METH_KEYWORDS },
12384 { "wxPyDivisionShape_SetTopSideColour", (PyCFunction) _wrap_wxPyDivisionShape_SetTopSideColour, METH_VARARGS | METH_KEYWORDS },
12385 { "wxPyDivisionShape_SetTopSide", (PyCFunction) _wrap_wxPyDivisionShape_SetTopSide, METH_VARARGS | METH_KEYWORDS },
12386 { "wxPyDivisionShape_SetRightSide", (PyCFunction) _wrap_wxPyDivisionShape_SetRightSide, METH_VARARGS | METH_KEYWORDS },
12387 { "wxPyDivisionShape_SetLeftSidePen", (PyCFunction) _wrap_wxPyDivisionShape_SetLeftSidePen, METH_VARARGS | METH_KEYWORDS },
12388 { "wxPyDivisionShape_SetLeftSideColour", (PyCFunction) _wrap_wxPyDivisionShape_SetLeftSideColour, METH_VARARGS | METH_KEYWORDS },
12389 { "wxPyDivisionShape_SetLeftSide", (PyCFunction) _wrap_wxPyDivisionShape_SetLeftSide, METH_VARARGS | METH_KEYWORDS },
12390 { "wxPyDivisionShape_SetHandleSide", (PyCFunction) _wrap_wxPyDivisionShape_SetHandleSide, METH_VARARGS | METH_KEYWORDS },
12391 { "wxPyDivisionShape_SetBottomSide", (PyCFunction) _wrap_wxPyDivisionShape_SetBottomSide, METH_VARARGS | METH_KEYWORDS },
12392 { "wxPyDivisionShape_PopupMenu", (PyCFunction) _wrap_wxPyDivisionShape_PopupMenu, METH_VARARGS | METH_KEYWORDS },
12393 { "wxPyDivisionShape_ResizeAdjoining", (PyCFunction) _wrap_wxPyDivisionShape_ResizeAdjoining, METH_VARARGS | METH_KEYWORDS },
12394 { "wxPyDivisionShape_GetTopSidePen", (PyCFunction) _wrap_wxPyDivisionShape_GetTopSidePen, METH_VARARGS | METH_KEYWORDS },
12395 { "wxPyDivisionShape_GetTopSide", (PyCFunction) _wrap_wxPyDivisionShape_GetTopSide, METH_VARARGS | METH_KEYWORDS },
12396 { "wxPyDivisionShape_GetRightSide", (PyCFunction) _wrap_wxPyDivisionShape_GetRightSide, METH_VARARGS | METH_KEYWORDS },
12397 { "wxPyDivisionShape_GetLeftSidePen", (PyCFunction) _wrap_wxPyDivisionShape_GetLeftSidePen, METH_VARARGS | METH_KEYWORDS },
12398 { "wxPyDivisionShape_GetLeftSideColour", (PyCFunction) _wrap_wxPyDivisionShape_GetLeftSideColour, METH_VARARGS | METH_KEYWORDS },
12399 { "wxPyDivisionShape_GetLeftSide", (PyCFunction) _wrap_wxPyDivisionShape_GetLeftSide, METH_VARARGS | METH_KEYWORDS },
12400 { "wxPyDivisionShape_GetHandleSide", (PyCFunction) _wrap_wxPyDivisionShape_GetHandleSide, METH_VARARGS | METH_KEYWORDS },
12401 { "wxPyDivisionShape_GetBottomSide", (PyCFunction) _wrap_wxPyDivisionShape_GetBottomSide, METH_VARARGS | METH_KEYWORDS },
12402 { "wxPyDivisionShape_EditEdge", (PyCFunction) _wrap_wxPyDivisionShape_EditEdge, METH_VARARGS | METH_KEYWORDS },
12403 { "wxPyDivisionShape_Divide", (PyCFunction) _wrap_wxPyDivisionShape_Divide, METH_VARARGS | METH_KEYWORDS },
12404 { "wxPyDivisionShape_AdjustTop", (PyCFunction) _wrap_wxPyDivisionShape_AdjustTop, METH_VARARGS | METH_KEYWORDS },
12405 { "wxPyDivisionShape_AdjustRight", (PyCFunction) _wrap_wxPyDivisionShape_AdjustRight, METH_VARARGS | METH_KEYWORDS },
12406 { "wxPyDivisionShape_AdjustLeft", (PyCFunction) _wrap_wxPyDivisionShape_AdjustLeft, METH_VARARGS | METH_KEYWORDS },
12407 { "wxPyDivisionShape_AdjustBottom", (PyCFunction) _wrap_wxPyDivisionShape_AdjustBottom, METH_VARARGS | METH_KEYWORDS },
12408 { "wxPyDivisionShape__setCallbackInfo", (PyCFunction) _wrap_wxPyDivisionShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
12409 { "new_wxPyDivisionShape", (PyCFunction) _wrap_new_wxPyDivisionShape, METH_VARARGS | METH_KEYWORDS },
12410 { "wxPyDividedShape_base_OnEndSize", (PyCFunction) _wrap_wxPyDividedShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
12411 { "wxPyDividedShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyDividedShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
12412 { "wxPyDividedShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12413 { "wxPyDividedShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12414 { "wxPyDividedShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
12415 { "wxPyDividedShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyDividedShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
12416 { "wxPyDividedShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyDividedShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
12417 { "wxPyDividedShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyDividedShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
12418 { "wxPyDividedShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyDividedShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
12419 { "wxPyDividedShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyDividedShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
12420 { "wxPyDividedShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyDividedShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
12421 { "wxPyDividedShape_base_OnDragRight", (PyCFunction) _wrap_wxPyDividedShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
12422 { "wxPyDividedShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12423 { "wxPyDividedShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12424 { "wxPyDividedShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
12425 { "wxPyDividedShape_base_OnMovePost", (PyCFunction) _wrap_wxPyDividedShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
12426 { "wxPyDividedShape_base_OnMovePre", (PyCFunction) _wrap_wxPyDividedShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
12427 { "wxPyDividedShape_base_OnSize", (PyCFunction) _wrap_wxPyDividedShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
12428 { "wxPyDividedShape_base_OnRightClick", (PyCFunction) _wrap_wxPyDividedShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
12429 { "wxPyDividedShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyDividedShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
12430 { "wxPyDividedShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyDividedShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
12431 { "wxPyDividedShape_base_OnHighlight", (PyCFunction) _wrap_wxPyDividedShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
12432 { "wxPyDividedShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyDividedShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
12433 { "wxPyDividedShape_base_OnErase", (PyCFunction) _wrap_wxPyDividedShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
12434 { "wxPyDividedShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyDividedShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
12435 { "wxPyDividedShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyDividedShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
12436 { "wxPyDividedShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyDividedShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
12437 { "wxPyDividedShape_base_OnDraw", (PyCFunction) _wrap_wxPyDividedShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
12438 { "wxPyDividedShape_base_OnDelete", (PyCFunction) _wrap_wxPyDividedShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
12439 { "wxPyDividedShape_SetRegionSizes", (PyCFunction) _wrap_wxPyDividedShape_SetRegionSizes, METH_VARARGS | METH_KEYWORDS },
12440 { "wxPyDividedShape_EditRegions", (PyCFunction) _wrap_wxPyDividedShape_EditRegions, METH_VARARGS | METH_KEYWORDS },
12441 { "wxPyDividedShape__setCallbackInfo", (PyCFunction) _wrap_wxPyDividedShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
12442 { "new_wxPyDividedShape", (PyCFunction) _wrap_new_wxPyDividedShape, METH_VARARGS | METH_KEYWORDS },
12443 { "wxPyCompositeShape_base_OnEndSize", (PyCFunction) _wrap_wxPyCompositeShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
12444 { "wxPyCompositeShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyCompositeShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
12445 { "wxPyCompositeShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12446 { "wxPyCompositeShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12447 { "wxPyCompositeShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
12448 { "wxPyCompositeShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyCompositeShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
12449 { "wxPyCompositeShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyCompositeShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
12450 { "wxPyCompositeShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
12451 { "wxPyCompositeShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
12452 { "wxPyCompositeShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyCompositeShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
12453 { "wxPyCompositeShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyCompositeShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
12454 { "wxPyCompositeShape_base_OnDragRight", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
12455 { "wxPyCompositeShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12456 { "wxPyCompositeShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12457 { "wxPyCompositeShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
12458 { "wxPyCompositeShape_base_OnMovePost", (PyCFunction) _wrap_wxPyCompositeShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
12459 { "wxPyCompositeShape_base_OnMovePre", (PyCFunction) _wrap_wxPyCompositeShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
12460 { "wxPyCompositeShape_base_OnSize", (PyCFunction) _wrap_wxPyCompositeShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
12461 { "wxPyCompositeShape_base_OnRightClick", (PyCFunction) _wrap_wxPyCompositeShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
12462 { "wxPyCompositeShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyCompositeShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
12463 { "wxPyCompositeShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyCompositeShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
12464 { "wxPyCompositeShape_base_OnHighlight", (PyCFunction) _wrap_wxPyCompositeShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
12465 { "wxPyCompositeShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyCompositeShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
12466 { "wxPyCompositeShape_base_OnErase", (PyCFunction) _wrap_wxPyCompositeShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
12467 { "wxPyCompositeShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyCompositeShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
12468 { "wxPyCompositeShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
12469 { "wxPyCompositeShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
12470 { "wxPyCompositeShape_base_OnDraw", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
12471 { "wxPyCompositeShape_base_OnDelete", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
12472 { "wxPyCompositeShape_RemoveChild", (PyCFunction) _wrap_wxPyCompositeShape_RemoveChild, METH_VARARGS | METH_KEYWORDS },
12473 { "wxPyCompositeShape_Recompute", (PyCFunction) _wrap_wxPyCompositeShape_Recompute, METH_VARARGS | METH_KEYWORDS },
12474 { "wxPyCompositeShape_MakeContainer", (PyCFunction) _wrap_wxPyCompositeShape_MakeContainer, METH_VARARGS | METH_KEYWORDS },
12475 { "wxPyCompositeShape_GetDivisions", (PyCFunction) _wrap_wxPyCompositeShape_GetDivisions, METH_VARARGS | METH_KEYWORDS },
12476 { "wxPyCompositeShape_GetConstraints", (PyCFunction) _wrap_wxPyCompositeShape_GetConstraints, METH_VARARGS | METH_KEYWORDS },
12477 { "wxPyCompositeShape_FindContainerImage", (PyCFunction) _wrap_wxPyCompositeShape_FindContainerImage, METH_VARARGS | METH_KEYWORDS },
12478 { "wxPyCompositeShape_DeleteConstraintsInvolvingChild", (PyCFunction) _wrap_wxPyCompositeShape_DeleteConstraintsInvolvingChild, METH_VARARGS | METH_KEYWORDS },
12479 { "wxPyCompositeShape_DeleteConstraint", (PyCFunction) _wrap_wxPyCompositeShape_DeleteConstraint, METH_VARARGS | METH_KEYWORDS },
12480 { "wxPyCompositeShape_ContainsDivision", (PyCFunction) _wrap_wxPyCompositeShape_ContainsDivision, METH_VARARGS | METH_KEYWORDS },
12481 { "wxPyCompositeShape_CalculateSize", (PyCFunction) _wrap_wxPyCompositeShape_CalculateSize, METH_VARARGS | METH_KEYWORDS },
12482 { "wxPyCompositeShape_AddSimpleConstraint", (PyCFunction) _wrap_wxPyCompositeShape_AddSimpleConstraint, METH_VARARGS | METH_KEYWORDS },
12483 { "wxPyCompositeShape_AddConstrainedShapes", (PyCFunction) _wrap_wxPyCompositeShape_AddConstrainedShapes, METH_VARARGS | METH_KEYWORDS },
12484 { "wxPyCompositeShape_AddConstraint", (PyCFunction) _wrap_wxPyCompositeShape_AddConstraint, METH_VARARGS | METH_KEYWORDS },
12485 { "wxPyCompositeShape_AddChild", (PyCFunction) _wrap_wxPyCompositeShape_AddChild, METH_VARARGS | METH_KEYWORDS },
12486 { "wxPyCompositeShape__setCallbackInfo", (PyCFunction) _wrap_wxPyCompositeShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
12487 { "new_wxPyCompositeShape", (PyCFunction) _wrap_new_wxPyCompositeShape, METH_VARARGS | METH_KEYWORDS },
12488 { "wxOGLConstraint_Equals", (PyCFunction) _wrap_wxOGLConstraint_Equals, METH_VARARGS | METH_KEYWORDS },
12489 { "wxOGLConstraint_SetSpacing", (PyCFunction) _wrap_wxOGLConstraint_SetSpacing, METH_VARARGS | METH_KEYWORDS },
12490 { "wxOGLConstraint_Evaluate", (PyCFunction) _wrap_wxOGLConstraint_Evaluate, METH_VARARGS | METH_KEYWORDS },
12491 { "new_wxOGLConstraint", (PyCFunction) _wrap_new_wxOGLConstraint, METH_VARARGS | METH_KEYWORDS },
12492 { "wxPyDrawnShape_base_OnEndSize", (PyCFunction) _wrap_wxPyDrawnShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
12493 { "wxPyDrawnShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyDrawnShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
12494 { "wxPyDrawnShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12495 { "wxPyDrawnShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12496 { "wxPyDrawnShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
12497 { "wxPyDrawnShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyDrawnShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
12498 { "wxPyDrawnShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyDrawnShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
12499 { "wxPyDrawnShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
12500 { "wxPyDrawnShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
12501 { "wxPyDrawnShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyDrawnShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
12502 { "wxPyDrawnShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyDrawnShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
12503 { "wxPyDrawnShape_base_OnDragRight", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
12504 { "wxPyDrawnShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12505 { "wxPyDrawnShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12506 { "wxPyDrawnShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
12507 { "wxPyDrawnShape_base_OnMovePost", (PyCFunction) _wrap_wxPyDrawnShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
12508 { "wxPyDrawnShape_base_OnMovePre", (PyCFunction) _wrap_wxPyDrawnShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
12509 { "wxPyDrawnShape_base_OnSize", (PyCFunction) _wrap_wxPyDrawnShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
12510 { "wxPyDrawnShape_base_OnRightClick", (PyCFunction) _wrap_wxPyDrawnShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
12511 { "wxPyDrawnShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyDrawnShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
12512 { "wxPyDrawnShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyDrawnShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
12513 { "wxPyDrawnShape_base_OnHighlight", (PyCFunction) _wrap_wxPyDrawnShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
12514 { "wxPyDrawnShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyDrawnShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
12515 { "wxPyDrawnShape_base_OnErase", (PyCFunction) _wrap_wxPyDrawnShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
12516 { "wxPyDrawnShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyDrawnShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
12517 { "wxPyDrawnShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
12518 { "wxPyDrawnShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
12519 { "wxPyDrawnShape_base_OnDraw", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
12520 { "wxPyDrawnShape_base_OnDelete", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
12521 { "wxPyDrawnShape_Translate", (PyCFunction) _wrap_wxPyDrawnShape_Translate, METH_VARARGS | METH_KEYWORDS },
12522 { "wxPyDrawnShape_SetSaveToFile", (PyCFunction) _wrap_wxPyDrawnShape_SetSaveToFile, METH_VARARGS | METH_KEYWORDS },
12523 { "wxPyDrawnShape_Scale", (PyCFunction) _wrap_wxPyDrawnShape_Scale, METH_VARARGS | METH_KEYWORDS },
12524 { "wxPyDrawnShape_SetDrawnTextColour", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnTextColour, METH_VARARGS | METH_KEYWORDS },
12525 { "wxPyDrawnShape_SetDrawnPen", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnPen, METH_VARARGS | METH_KEYWORDS },
12526 { "wxPyDrawnShape_SetDrawnFont", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnFont, METH_VARARGS | METH_KEYWORDS },
12527 { "wxPyDrawnShape_SetDrawnBrush", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnBrush, METH_VARARGS | METH_KEYWORDS },
12528 { "wxPyDrawnShape_SetDrawnBackgroundMode", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnBackgroundMode, METH_VARARGS | METH_KEYWORDS },
12529 { "wxPyDrawnShape_SetDrawnBackgroundColour", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12530 { "wxPyDrawnShape_SetClippingRect", (PyCFunction) _wrap_wxPyDrawnShape_SetClippingRect, METH_VARARGS | METH_KEYWORDS },
12531 { "wxPyDrawnShape_Rotate", (PyCFunction) _wrap_wxPyDrawnShape_Rotate, METH_VARARGS | METH_KEYWORDS },
12532 { "wxPyDrawnShape_LoadFromMetaFile", (PyCFunction) _wrap_wxPyDrawnShape_LoadFromMetaFile, METH_VARARGS | METH_KEYWORDS },
12533 { "wxPyDrawnShape_GetRotation", (PyCFunction) _wrap_wxPyDrawnShape_GetRotation, METH_VARARGS | METH_KEYWORDS },
12534 { "wxPyDrawnShape_GetMetaFile", (PyCFunction) _wrap_wxPyDrawnShape_GetMetaFile, METH_VARARGS | METH_KEYWORDS },
12535 { "wxPyDrawnShape_GetAngle", (PyCFunction) _wrap_wxPyDrawnShape_GetAngle, METH_VARARGS | METH_KEYWORDS },
12536 { "wxPyDrawnShape_DrawText", (PyCFunction) _wrap_wxPyDrawnShape_DrawText, METH_VARARGS | METH_KEYWORDS },
12537 { "wxPyDrawnShape_DrawSpline", (PyCFunction) _wrap_wxPyDrawnShape_DrawSpline, METH_VARARGS | METH_KEYWORDS },
12538 { "wxPyDrawnShape_DrawRoundedRectangle", (PyCFunction) _wrap_wxPyDrawnShape_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS },
12539 { "wxPyDrawnShape_DrawRectangle", (PyCFunction) _wrap_wxPyDrawnShape_DrawRectangle, METH_VARARGS | METH_KEYWORDS },
12540 { "wxPyDrawnShape_DrawPolygon", (PyCFunction) _wrap_wxPyDrawnShape_DrawPolygon, METH_VARARGS | METH_KEYWORDS },
12541 { "wxPyDrawnShape_DrawPoint", (PyCFunction) _wrap_wxPyDrawnShape_DrawPoint, METH_VARARGS | METH_KEYWORDS },
12542 { "wxPyDrawnShape_DrawLines", (PyCFunction) _wrap_wxPyDrawnShape_DrawLines, METH_VARARGS | METH_KEYWORDS },
12543 { "wxPyDrawnShape_DrawLine", (PyCFunction) _wrap_wxPyDrawnShape_DrawLine, METH_VARARGS | METH_KEYWORDS },
12544 { "wxPyDrawnShape_DrawEllipticArc", (PyCFunction) _wrap_wxPyDrawnShape_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS },
12545 { "wxPyDrawnShape_DrawAtAngle", (PyCFunction) _wrap_wxPyDrawnShape_DrawAtAngle, METH_VARARGS | METH_KEYWORDS },
12546 { "wxPyDrawnShape_DrawArc", (PyCFunction) _wrap_wxPyDrawnShape_DrawArc, METH_VARARGS | METH_KEYWORDS },
12547 { "wxPyDrawnShape_DestroyClippingRect", (PyCFunction) _wrap_wxPyDrawnShape_DestroyClippingRect, METH_VARARGS | METH_KEYWORDS },
12548 { "wxPyDrawnShape_CalculateSize", (PyCFunction) _wrap_wxPyDrawnShape_CalculateSize, METH_VARARGS | METH_KEYWORDS },
12549 { "wxPyDrawnShape__setCallbackInfo", (PyCFunction) _wrap_wxPyDrawnShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
12550 { "new_wxPyDrawnShape", (PyCFunction) _wrap_new_wxPyDrawnShape, METH_VARARGS | METH_KEYWORDS },
12551 { "wxPyBitmapShape_base_OnEndSize", (PyCFunction) _wrap_wxPyBitmapShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
12552 { "wxPyBitmapShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyBitmapShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
12553 { "wxPyBitmapShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12554 { "wxPyBitmapShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12555 { "wxPyBitmapShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
12556 { "wxPyBitmapShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyBitmapShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
12557 { "wxPyBitmapShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyBitmapShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
12558 { "wxPyBitmapShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
12559 { "wxPyBitmapShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
12560 { "wxPyBitmapShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyBitmapShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
12561 { "wxPyBitmapShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyBitmapShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
12562 { "wxPyBitmapShape_base_OnDragRight", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
12563 { "wxPyBitmapShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12564 { "wxPyBitmapShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12565 { "wxPyBitmapShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
12566 { "wxPyBitmapShape_base_OnMovePost", (PyCFunction) _wrap_wxPyBitmapShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
12567 { "wxPyBitmapShape_base_OnMovePre", (PyCFunction) _wrap_wxPyBitmapShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
12568 { "wxPyBitmapShape_base_OnSize", (PyCFunction) _wrap_wxPyBitmapShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
12569 { "wxPyBitmapShape_base_OnRightClick", (PyCFunction) _wrap_wxPyBitmapShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
12570 { "wxPyBitmapShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyBitmapShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
12571 { "wxPyBitmapShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyBitmapShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
12572 { "wxPyBitmapShape_base_OnHighlight", (PyCFunction) _wrap_wxPyBitmapShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
12573 { "wxPyBitmapShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyBitmapShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
12574 { "wxPyBitmapShape_base_OnErase", (PyCFunction) _wrap_wxPyBitmapShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
12575 { "wxPyBitmapShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyBitmapShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
12576 { "wxPyBitmapShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
12577 { "wxPyBitmapShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
12578 { "wxPyBitmapShape_base_OnDraw", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
12579 { "wxPyBitmapShape_base_OnDelete", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
12580 { "wxPyBitmapShape_SetFilename", (PyCFunction) _wrap_wxPyBitmapShape_SetFilename, METH_VARARGS | METH_KEYWORDS },
12581 { "wxPyBitmapShape_SetBitmap", (PyCFunction) _wrap_wxPyBitmapShape_SetBitmap, METH_VARARGS | METH_KEYWORDS },
12582 { "wxPyBitmapShape_GetFilename", (PyCFunction) _wrap_wxPyBitmapShape_GetFilename, METH_VARARGS | METH_KEYWORDS },
12583 { "wxPyBitmapShape_GetBitmap", (PyCFunction) _wrap_wxPyBitmapShape_GetBitmap, METH_VARARGS | METH_KEYWORDS },
12584 { "wxPyBitmapShape__setCallbackInfo", (PyCFunction) _wrap_wxPyBitmapShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
12585 { "new_wxPyBitmapShape", (PyCFunction) _wrap_new_wxPyBitmapShape, METH_VARARGS | METH_KEYWORDS },
12586 { "wxPyControlPoint_base_OnEndSize", (PyCFunction) _wrap_wxPyControlPoint_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
12587 { "wxPyControlPoint_base_OnBeginSize", (PyCFunction) _wrap_wxPyControlPoint_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
12588 { "wxPyControlPoint_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyControlPoint_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12589 { "wxPyControlPoint_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyControlPoint_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12590 { "wxPyControlPoint_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyControlPoint_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
12591 { "wxPyControlPoint_base_OnMoveLink", (PyCFunction) _wrap_wxPyControlPoint_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
12592 { "wxPyControlPoint_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyControlPoint_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
12593 { "wxPyControlPoint_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyControlPoint_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
12594 { "wxPyControlPoint_base_OnDrawOutline", (PyCFunction) _wrap_wxPyControlPoint_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
12595 { "wxPyControlPoint_base_OnEndDragRight", (PyCFunction) _wrap_wxPyControlPoint_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
12596 { "wxPyControlPoint_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyControlPoint_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
12597 { "wxPyControlPoint_base_OnDragRight", (PyCFunction) _wrap_wxPyControlPoint_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
12598 { "wxPyControlPoint_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyControlPoint_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12599 { "wxPyControlPoint_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyControlPoint_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12600 { "wxPyControlPoint_base_OnDragLeft", (PyCFunction) _wrap_wxPyControlPoint_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
12601 { "wxPyControlPoint_base_OnMovePost", (PyCFunction) _wrap_wxPyControlPoint_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
12602 { "wxPyControlPoint_base_OnMovePre", (PyCFunction) _wrap_wxPyControlPoint_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
12603 { "wxPyControlPoint_base_OnSize", (PyCFunction) _wrap_wxPyControlPoint_base_OnSize, METH_VARARGS | METH_KEYWORDS },
12604 { "wxPyControlPoint_base_OnRightClick", (PyCFunction) _wrap_wxPyControlPoint_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
12605 { "wxPyControlPoint_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyControlPoint_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
12606 { "wxPyControlPoint_base_OnLeftClick", (PyCFunction) _wrap_wxPyControlPoint_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
12607 { "wxPyControlPoint_base_OnHighlight", (PyCFunction) _wrap_wxPyControlPoint_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
12608 { "wxPyControlPoint_base_OnEraseContents", (PyCFunction) _wrap_wxPyControlPoint_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
12609 { "wxPyControlPoint_base_OnErase", (PyCFunction) _wrap_wxPyControlPoint_base_OnErase, METH_VARARGS | METH_KEYWORDS },
12610 { "wxPyControlPoint_base_OnMoveLinks", (PyCFunction) _wrap_wxPyControlPoint_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
12611 { "wxPyControlPoint_base_OnDrawBranches", (PyCFunction) _wrap_wxPyControlPoint_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
12612 { "wxPyControlPoint_base_OnDrawContents", (PyCFunction) _wrap_wxPyControlPoint_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
12613 { "wxPyControlPoint_base_OnDraw", (PyCFunction) _wrap_wxPyControlPoint_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
12614 { "wxPyControlPoint_base_OnDelete", (PyCFunction) _wrap_wxPyControlPoint_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
12615 { "wxPyControlPoint_SetCornerRadius", (PyCFunction) _wrap_wxPyControlPoint_SetCornerRadius, METH_VARARGS | METH_KEYWORDS },
12616 { "wxPyControlPoint__setCallbackInfo", (PyCFunction) _wrap_wxPyControlPoint__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
12617 { "new_wxPyControlPoint", (PyCFunction) _wrap_new_wxPyControlPoint, METH_VARARGS | METH_KEYWORDS },
12618 { "wxPyRectangleShape_base_OnEndSize", (PyCFunction) _wrap_wxPyRectangleShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
12619 { "wxPyRectangleShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyRectangleShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
12620 { "wxPyRectangleShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12621 { "wxPyRectangleShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12622 { "wxPyRectangleShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
12623 { "wxPyRectangleShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyRectangleShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
12624 { "wxPyRectangleShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyRectangleShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
12625 { "wxPyRectangleShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
12626 { "wxPyRectangleShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
12627 { "wxPyRectangleShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyRectangleShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
12628 { "wxPyRectangleShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyRectangleShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
12629 { "wxPyRectangleShape_base_OnDragRight", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
12630 { "wxPyRectangleShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12631 { "wxPyRectangleShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12632 { "wxPyRectangleShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
12633 { "wxPyRectangleShape_base_OnMovePost", (PyCFunction) _wrap_wxPyRectangleShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
12634 { "wxPyRectangleShape_base_OnMovePre", (PyCFunction) _wrap_wxPyRectangleShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
12635 { "wxPyRectangleShape_base_OnSize", (PyCFunction) _wrap_wxPyRectangleShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
12636 { "wxPyRectangleShape_base_OnRightClick", (PyCFunction) _wrap_wxPyRectangleShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
12637 { "wxPyRectangleShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyRectangleShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
12638 { "wxPyRectangleShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyRectangleShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
12639 { "wxPyRectangleShape_base_OnHighlight", (PyCFunction) _wrap_wxPyRectangleShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
12640 { "wxPyRectangleShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyRectangleShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
12641 { "wxPyRectangleShape_base_OnErase", (PyCFunction) _wrap_wxPyRectangleShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
12642 { "wxPyRectangleShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyRectangleShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
12643 { "wxPyRectangleShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
12644 { "wxPyRectangleShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
12645 { "wxPyRectangleShape_base_OnDraw", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
12646 { "wxPyRectangleShape_base_OnDelete", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
12647 { "wxPyRectangleShape_SetCornerRadius", (PyCFunction) _wrap_wxPyRectangleShape_SetCornerRadius, METH_VARARGS | METH_KEYWORDS },
12648 { "wxPyRectangleShape__setCallbackInfo", (PyCFunction) _wrap_wxPyRectangleShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
12649 { "new_wxPyRectangleShape", (PyCFunction) _wrap_new_wxPyRectangleShape, METH_VARARGS | METH_KEYWORDS },
12650 { "wxPseudoMetaFile_SetBackgroundMode", (PyCFunction) _wrap_wxPseudoMetaFile_SetBackgroundMode, METH_VARARGS | METH_KEYWORDS },
12651 { "wxPseudoMetaFile_SetBackgroundColour", (PyCFunction) _wrap_wxPseudoMetaFile_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12652 { "wxPseudoMetaFile_SetTextColour", (PyCFunction) _wrap_wxPseudoMetaFile_SetTextColour, METH_VARARGS | METH_KEYWORDS },
12653 { "wxPseudoMetaFile_SetFont", (PyCFunction) _wrap_wxPseudoMetaFile_SetFont, METH_VARARGS | METH_KEYWORDS },
12654 { "wxPseudoMetaFile_SetBrush", (PyCFunction) _wrap_wxPseudoMetaFile_SetBrush, METH_VARARGS | METH_KEYWORDS },
12655 { "wxPseudoMetaFile_SetPen", (PyCFunction) _wrap_wxPseudoMetaFile_SetPen, METH_VARARGS | METH_KEYWORDS },
12656 { "wxPseudoMetaFile_DestroyClippingRect", (PyCFunction) _wrap_wxPseudoMetaFile_DestroyClippingRect, METH_VARARGS | METH_KEYWORDS },
12657 { "wxPseudoMetaFile_SetClippingRect", (PyCFunction) _wrap_wxPseudoMetaFile_SetClippingRect, METH_VARARGS | METH_KEYWORDS },
12658 { "wxPseudoMetaFile_DrawSpline", (PyCFunction) _wrap_wxPseudoMetaFile_DrawSpline, METH_VARARGS | METH_KEYWORDS },
12659 { "wxPseudoMetaFile_DrawPolygon", (PyCFunction) _wrap_wxPseudoMetaFile_DrawPolygon, METH_VARARGS | METH_KEYWORDS },
12660 { "wxPseudoMetaFile_DrawLines", (PyCFunction) _wrap_wxPseudoMetaFile_DrawLines, METH_VARARGS | METH_KEYWORDS },
12661 { "wxPseudoMetaFile_DrawText", (PyCFunction) _wrap_wxPseudoMetaFile_DrawText, METH_VARARGS | METH_KEYWORDS },
12662 { "wxPseudoMetaFile_DrawPoint", (PyCFunction) _wrap_wxPseudoMetaFile_DrawPoint, METH_VARARGS | METH_KEYWORDS },
12663 { "wxPseudoMetaFile_DrawEllipse", (PyCFunction) _wrap_wxPseudoMetaFile_DrawEllipse, METH_VARARGS | METH_KEYWORDS },
12664 { "wxPseudoMetaFile_DrawEllipticArc", (PyCFunction) _wrap_wxPseudoMetaFile_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS },
12665 { "wxPseudoMetaFile_DrawArc", (PyCFunction) _wrap_wxPseudoMetaFile_DrawArc, METH_VARARGS | METH_KEYWORDS },
12666 { "wxPseudoMetaFile_DrawRoundedRectangle", (PyCFunction) _wrap_wxPseudoMetaFile_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS },
12667 { "wxPseudoMetaFile_DrawRectangle", (PyCFunction) _wrap_wxPseudoMetaFile_DrawRectangle, METH_VARARGS | METH_KEYWORDS },
12668 { "wxPseudoMetaFile_DrawLine", (PyCFunction) _wrap_wxPseudoMetaFile_DrawLine, METH_VARARGS | METH_KEYWORDS },
12669 { "wxPseudoMetaFile_IsValid", (PyCFunction) _wrap_wxPseudoMetaFile_IsValid, METH_VARARGS | METH_KEYWORDS },
12670 { "wxPseudoMetaFile_GetOutlineOp", (PyCFunction) _wrap_wxPseudoMetaFile_GetOutlineOp, METH_VARARGS | METH_KEYWORDS },
12671 { "wxPseudoMetaFile_SetOutlineOp", (PyCFunction) _wrap_wxPseudoMetaFile_SetOutlineOp, METH_VARARGS | METH_KEYWORDS },
12672 { "wxPseudoMetaFile_GetOutlinePen", (PyCFunction) _wrap_wxPseudoMetaFile_GetOutlinePen, METH_VARARGS | METH_KEYWORDS },
12673 { "wxPseudoMetaFile_SetOutlinePen", (PyCFunction) _wrap_wxPseudoMetaFile_SetOutlinePen, METH_VARARGS | METH_KEYWORDS },
12674 { "wxPseudoMetaFile_GetFillBrush", (PyCFunction) _wrap_wxPseudoMetaFile_GetFillBrush, METH_VARARGS | METH_KEYWORDS },
12675 { "wxPseudoMetaFile_SetFillBrush", (PyCFunction) _wrap_wxPseudoMetaFile_SetFillBrush, METH_VARARGS | METH_KEYWORDS },
12676 { "wxPseudoMetaFile_SetSize", (PyCFunction) _wrap_wxPseudoMetaFile_SetSize, METH_VARARGS | METH_KEYWORDS },
12677 { "wxPseudoMetaFile_GetRotateable", (PyCFunction) _wrap_wxPseudoMetaFile_GetRotateable, METH_VARARGS | METH_KEYWORDS },
12678 { "wxPseudoMetaFile_SetRotateable", (PyCFunction) _wrap_wxPseudoMetaFile_SetRotateable, METH_VARARGS | METH_KEYWORDS },
12679 { "wxPseudoMetaFile_CalculateSize", (PyCFunction) _wrap_wxPseudoMetaFile_CalculateSize, METH_VARARGS | METH_KEYWORDS },
12680 { "wxPseudoMetaFile_GetBounds", (PyCFunction) _wrap_wxPseudoMetaFile_GetBounds, METH_VARARGS | METH_KEYWORDS },
12681 { "wxPseudoMetaFile_LoadFromMetaFile", (PyCFunction) _wrap_wxPseudoMetaFile_LoadFromMetaFile, METH_VARARGS | METH_KEYWORDS },
12682 { "wxPseudoMetaFile_Rotate", (PyCFunction) _wrap_wxPseudoMetaFile_Rotate, METH_VARARGS | METH_KEYWORDS },
12683 { "wxPseudoMetaFile_Translate", (PyCFunction) _wrap_wxPseudoMetaFile_Translate, METH_VARARGS | METH_KEYWORDS },
12684 { "wxPseudoMetaFile_ScaleTo", (PyCFunction) _wrap_wxPseudoMetaFile_ScaleTo, METH_VARARGS | METH_KEYWORDS },
12685 { "wxPseudoMetaFile_Scale", (PyCFunction) _wrap_wxPseudoMetaFile_Scale, METH_VARARGS | METH_KEYWORDS },
12686 { "wxPseudoMetaFile_Copy", (PyCFunction) _wrap_wxPseudoMetaFile_Copy, METH_VARARGS | METH_KEYWORDS },
12687 { "wxPseudoMetaFile_Clear", (PyCFunction) _wrap_wxPseudoMetaFile_Clear, METH_VARARGS | METH_KEYWORDS },
12688 { "wxPseudoMetaFile_Draw", (PyCFunction) _wrap_wxPseudoMetaFile_Draw, METH_VARARGS | METH_KEYWORDS },
12689 { "delete_wxPseudoMetaFile", (PyCFunction) _wrap_delete_wxPseudoMetaFile, METH_VARARGS | METH_KEYWORDS },
12690 { "new_wxPseudoMetaFile", (PyCFunction) _wrap_new_wxPseudoMetaFile, METH_VARARGS | METH_KEYWORDS },
12691 { NULL, NULL }
12692 };
12693 #ifdef __cplusplus
12694 }
12695 #endif
12696 /*
12697 * This table is used by the pointer type-checker
12698 */
12699 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
12700 { "_signed_long","_long",0},
12701 { "_wxPrintQuality","_wxCoord",0},
12702 { "_wxPrintQuality","_int",0},
12703 { "_wxPrintQuality","_signed_int",0},
12704 { "_wxPrintQuality","_unsigned_int",0},
12705 { "_wxPrintQuality","_wxWindowID",0},
12706 { "_wxPrintQuality","_uint",0},
12707 { "_wxPrintQuality","_EBool",0},
12708 { "_wxPrintQuality","_size_t",0},
12709 { "_wxPrintQuality","_time_t",0},
12710 { "_wxPyCompositeShape","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyCompositeShape},
12711 { "_byte","_unsigned_char",0},
12712 { "_long","_unsigned_long",0},
12713 { "_long","_signed_long",0},
12714 { "_size_t","_wxCoord",0},
12715 { "_size_t","_wxPrintQuality",0},
12716 { "_size_t","_time_t",0},
12717 { "_size_t","_unsigned_int",0},
12718 { "_size_t","_int",0},
12719 { "_size_t","_wxWindowID",0},
12720 { "_size_t","_uint",0},
12721 { "_uint","_wxCoord",0},
12722 { "_uint","_wxPrintQuality",0},
12723 { "_uint","_time_t",0},
12724 { "_uint","_size_t",0},
12725 { "_uint","_unsigned_int",0},
12726 { "_uint","_int",0},
12727 { "_uint","_wxWindowID",0},
12728 { "_wxChar","_char",0},
12729 { "_char","_wxChar",0},
12730 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
12731 { "_EBool","_wxCoord",0},
12732 { "_EBool","_wxPrintQuality",0},
12733 { "_EBool","_signed_int",0},
12734 { "_EBool","_int",0},
12735 { "_EBool","_wxWindowID",0},
12736 { "_unsigned_long","_long",0},
12737 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
12738 { "_signed_int","_wxCoord",0},
12739 { "_signed_int","_wxPrintQuality",0},
12740 { "_signed_int","_EBool",0},
12741 { "_signed_int","_wxWindowID",0},
12742 { "_signed_int","_int",0},
12743 { "_WXTYPE","_wxDateTime_t",0},
12744 { "_WXTYPE","_short",0},
12745 { "_WXTYPE","_signed_short",0},
12746 { "_WXTYPE","_unsigned_short",0},
12747 { "_unsigned_short","_wxDateTime_t",0},
12748 { "_unsigned_short","_WXTYPE",0},
12749 { "_unsigned_short","_short",0},
12750 { "_wxObject","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxObject},
12751 { "_wxObject","_wxPyDividedShape",SwigwxPyDividedShapeTowxObject},
12752 { "_wxObject","_wxPyCompositeShape",SwigwxPyCompositeShapeTowxObject},
12753 { "_wxObject","_wxOGLConstraint",SwigwxOGLConstraintTowxObject},
12754 { "_wxObject","_wxPyDrawnShape",SwigwxPyDrawnShapeTowxObject},
12755 { "_wxObject","_wxPyBitmapShape",SwigwxPyBitmapShapeTowxObject},
12756 { "_wxObject","_wxPyControlPoint",SwigwxPyControlPointTowxObject},
12757 { "_wxObject","_wxPyRectangleShape",SwigwxPyRectangleShapeTowxObject},
12758 { "_wxObject","_wxPseudoMetaFile",SwigwxPseudoMetaFileTowxObject},
12759 { "_signed_short","_WXTYPE",0},
12760 { "_signed_short","_short",0},
12761 { "_wxPyShape","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyShape},
12762 { "_wxPyShape","_wxPyDividedShape",SwigwxPyDividedShapeTowxPyShape},
12763 { "_wxPyShape","_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyShape},
12764 { "_wxPyShape","_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyShape},
12765 { "_wxPyShape","_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyShape},
12766 { "_wxPyShape","_wxPyControlPoint",SwigwxPyControlPointTowxPyShape},
12767 { "_wxPyShape","_wxPyRectangleShape",SwigwxPyRectangleShapeTowxPyShape},
12768 { "_unsigned_char","_byte",0},
12769 { "_unsigned_int","_wxCoord",0},
12770 { "_unsigned_int","_wxPrintQuality",0},
12771 { "_unsigned_int","_time_t",0},
12772 { "_unsigned_int","_size_t",0},
12773 { "_unsigned_int","_uint",0},
12774 { "_unsigned_int","_wxWindowID",0},
12775 { "_unsigned_int","_int",0},
12776 { "_short","_wxDateTime_t",0},
12777 { "_short","_WXTYPE",0},
12778 { "_short","_unsigned_short",0},
12779 { "_short","_signed_short",0},
12780 { "_wxWindowID","_wxCoord",0},
12781 { "_wxWindowID","_wxPrintQuality",0},
12782 { "_wxWindowID","_time_t",0},
12783 { "_wxWindowID","_size_t",0},
12784 { "_wxWindowID","_EBool",0},
12785 { "_wxWindowID","_uint",0},
12786 { "_wxWindowID","_int",0},
12787 { "_wxWindowID","_signed_int",0},
12788 { "_wxWindowID","_unsigned_int",0},
12789 { "_int","_wxCoord",0},
12790 { "_int","_wxPrintQuality",0},
12791 { "_int","_time_t",0},
12792 { "_int","_size_t",0},
12793 { "_int","_EBool",0},
12794 { "_int","_uint",0},
12795 { "_int","_wxWindowID",0},
12796 { "_int","_unsigned_int",0},
12797 { "_int","_signed_int",0},
12798 { "_wxDateTime_t","_unsigned_short",0},
12799 { "_wxDateTime_t","_short",0},
12800 { "_wxDateTime_t","_WXTYPE",0},
12801 { "_time_t","_wxCoord",0},
12802 { "_time_t","_wxPrintQuality",0},
12803 { "_time_t","_unsigned_int",0},
12804 { "_time_t","_int",0},
12805 { "_time_t","_wxWindowID",0},
12806 { "_time_t","_uint",0},
12807 { "_time_t","_size_t",0},
12808 { "_wxCoord","_int",0},
12809 { "_wxCoord","_signed_int",0},
12810 { "_wxCoord","_unsigned_int",0},
12811 { "_wxCoord","_wxWindowID",0},
12812 { "_wxCoord","_uint",0},
12813 { "_wxCoord","_EBool",0},
12814 { "_wxCoord","_size_t",0},
12815 { "_wxCoord","_time_t",0},
12816 { "_wxCoord","_wxPrintQuality",0},
12817 { "_wxPyShapeEvtHandler","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyShapeEvtHandler},
12818 { "_wxPyShapeEvtHandler","_wxPyDividedShape",SwigwxPyDividedShapeTowxPyShapeEvtHandler},
12819 { "_wxPyShapeEvtHandler","_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyShapeEvtHandler},
12820 { "_wxPyShapeEvtHandler","_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyShapeEvtHandler},
12821 { "_wxPyShapeEvtHandler","_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyShapeEvtHandler},
12822 { "_wxPyShapeEvtHandler","_wxPyControlPoint",SwigwxPyControlPointTowxPyShapeEvtHandler},
12823 { "_wxPyShapeEvtHandler","_wxPyRectangleShape",SwigwxPyRectangleShapeTowxPyShapeEvtHandler},
12824 { "_wxPyRectangleShape","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyRectangleShape},
12825 { "_wxPyRectangleShape","_wxPyDividedShape",SwigwxPyDividedShapeTowxPyRectangleShape},
12826 { "_wxPyRectangleShape","_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyRectangleShape},
12827 { "_wxPyRectangleShape","_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyRectangleShape},
12828 { "_wxPyRectangleShape","_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyRectangleShape},
12829 { "_wxPyRectangleShape","_wxPyControlPoint",SwigwxPyControlPointTowxPyRectangleShape},
12830 {0,0,0}};
12831
12832 static PyObject *SWIG_globals;
12833 #ifdef __cplusplus
12834 extern "C"
12835 #endif
12836 SWIGEXPORT(void) initoglshapesc() {
12837 PyObject *m, *d;
12838 SWIG_globals = SWIG_newvarlink();
12839 m = Py_InitModule("oglshapesc", oglshapescMethods);
12840 d = PyModule_GetDict(m);
12841 {
12842 int i;
12843 for (i = 0; _swig_mapping[i].n1; i++)
12844 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
12845 }
12846 }