]> git.saurik.com Git - wxWidgets.git/blob - wxPython/contrib/ogl/oglshapes.cpp
Fix for internal compiler error
[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 // Using this macro can sometimes provoke an Internal Compiler Error in MSVC
88 // 6, so instead I'l just expand it out by hand...
89 // WXSHAPE_IMP_CALLBACKS(wxPyRectangleShape, wxRectangleShape);
90
91 IMP_PYCALLBACK__ (wxPyRectangleShape, wxRectangleShape, OnDelete);
92 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnDraw);
93 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnDrawContents);
94 IMP_PYCALLBACK__DCBOOL (wxPyRectangleShape, wxRectangleShape, OnDrawBranches);
95 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnMoveLinks);
96 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnErase);
97 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnEraseContents);
98 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnHighlight);
99 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnLeftClick);
100 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnLeftDoubleClick);
101 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnRightClick);
102 IMP_PYCALLBACK__2DBL (wxPyRectangleShape, wxRectangleShape, OnSize);
103 IMP_PYCALLBACK_BOOL_DC4DBLBOOL (wxPyRectangleShape, wxRectangleShape, OnMovePre);
104 IMP_PYCALLBACK__DC4DBLBOOL (wxPyRectangleShape, wxRectangleShape, OnMovePost);
105 IMP_PYCALLBACK__BOOL2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnDragLeft);
106 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnBeginDragLeft);
107 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnEndDragLeft);
108 IMP_PYCALLBACK__BOOL2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnDragRight);
109 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnBeginDragRight);
110 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnEndDragRight);
111 IMP_PYCALLBACK__DC4DBL (wxPyRectangleShape, wxRectangleShape, OnDrawOutline);
112 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnDrawControlPoints);
113 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnEraseControlPoints);
114 IMP_PYCALLBACK__DCBOOL (wxPyRectangleShape, wxRectangleShape, OnMoveLink);
115 IMP_PYCALLBACK__WXCPBOOL2DBL2INT(wxPyRectangleShape, wxRectangleShape, OnSizingDragLeft);
116 IMP_PYCALLBACK__WXCP2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnSizingBeginDragLeft);
117 IMP_PYCALLBACK__WXCP2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnSizingEndDragLeft);
118 IMP_PYCALLBACK__2DBL (wxPyRectangleShape, wxRectangleShape, OnBeginSize);
119 IMP_PYCALLBACK__2DBL (wxPyRectangleShape, wxRectangleShape, OnEndSize)
120
121
122 WXSHAPE_IMP_CALLBACKS(wxPyControlPoint, wxControlPoint);
123
124 WXSHAPE_IMP_CALLBACKS(wxPyBitmapShape, wxBitmapShape);
125
126 WXSHAPE_IMP_CALLBACKS(wxPyDrawnShape, wxDrawnShape);
127
128 WXSHAPE_IMP_CALLBACKS(wxPyCompositeShape, wxCompositeShape);
129
130 WXSHAPE_IMP_CALLBACKS(wxPyDividedShape, wxDividedShape);
131
132 WXSHAPE_IMP_CALLBACKS(wxPyDivisionShape, wxDivisionShape);
133 #ifdef __cplusplus
134 extern "C" {
135 #endif
136 static void *SwigwxPseudoMetaFileTowxObject(void *ptr) {
137 wxPseudoMetaFile *src;
138 wxObject *dest;
139 src = (wxPseudoMetaFile *) ptr;
140 dest = (wxObject *) src;
141 return (void *) dest;
142 }
143
144 #define new_wxPseudoMetaFile() (new wxPseudoMetaFile())
145 static PyObject *_wrap_new_wxPseudoMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
146 PyObject * _resultobj;
147 wxPseudoMetaFile * _result;
148 char *_kwnames[] = { NULL };
149 char _ptemp[128];
150
151 self = self;
152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPseudoMetaFile",_kwnames))
153 return NULL;
154 {
155 PyThreadState* __tstate = wxPyBeginAllowThreads();
156 _result = (wxPseudoMetaFile *)new_wxPseudoMetaFile();
157
158 wxPyEndAllowThreads(__tstate);
159 if (PyErr_Occurred()) return NULL;
160 } if (_result) {
161 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPseudoMetaFile_p");
162 _resultobj = Py_BuildValue("s",_ptemp);
163 } else {
164 Py_INCREF(Py_None);
165 _resultobj = Py_None;
166 }
167 return _resultobj;
168 }
169
170 #define delete_wxPseudoMetaFile(_swigobj) (delete _swigobj)
171 static PyObject *_wrap_delete_wxPseudoMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
172 PyObject * _resultobj;
173 wxPseudoMetaFile * _arg0;
174 PyObject * _argo0 = 0;
175 char *_kwnames[] = { "self", NULL };
176
177 self = self;
178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPseudoMetaFile",_kwnames,&_argo0))
179 return NULL;
180 if (_argo0) {
181 if (_argo0 == Py_None) { _arg0 = NULL; }
182 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
183 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPseudoMetaFile. Expected _wxPseudoMetaFile_p.");
184 return NULL;
185 }
186 }
187 {
188 PyThreadState* __tstate = wxPyBeginAllowThreads();
189 delete_wxPseudoMetaFile(_arg0);
190
191 wxPyEndAllowThreads(__tstate);
192 if (PyErr_Occurred()) return NULL;
193 } Py_INCREF(Py_None);
194 _resultobj = Py_None;
195 return _resultobj;
196 }
197
198 #define wxPseudoMetaFile_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2))
199 static PyObject *_wrap_wxPseudoMetaFile_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
200 PyObject * _resultobj;
201 wxPseudoMetaFile * _arg0;
202 wxDC * _arg1;
203 double _arg2;
204 double _arg3;
205 PyObject * _argo0 = 0;
206 PyObject * _argo1 = 0;
207 char *_kwnames[] = { "self","dc","xoffset","yoffset", NULL };
208
209 self = self;
210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd:wxPseudoMetaFile_Draw",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
211 return NULL;
212 if (_argo0) {
213 if (_argo0 == Py_None) { _arg0 = NULL; }
214 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
215 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_Draw. Expected _wxPseudoMetaFile_p.");
216 return NULL;
217 }
218 }
219 if (_argo1) {
220 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
221 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_Draw. Expected _wxDC_p.");
222 return NULL;
223 }
224 }
225 {
226 PyThreadState* __tstate = wxPyBeginAllowThreads();
227 wxPseudoMetaFile_Draw(_arg0,*_arg1,_arg2,_arg3);
228
229 wxPyEndAllowThreads(__tstate);
230 if (PyErr_Occurred()) return NULL;
231 } Py_INCREF(Py_None);
232 _resultobj = Py_None;
233 return _resultobj;
234 }
235
236 #define wxPseudoMetaFile_Clear(_swigobj) (_swigobj->Clear())
237 static PyObject *_wrap_wxPseudoMetaFile_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
238 PyObject * _resultobj;
239 wxPseudoMetaFile * _arg0;
240 PyObject * _argo0 = 0;
241 char *_kwnames[] = { "self", NULL };
242
243 self = self;
244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_Clear",_kwnames,&_argo0))
245 return NULL;
246 if (_argo0) {
247 if (_argo0 == Py_None) { _arg0 = NULL; }
248 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
249 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_Clear. Expected _wxPseudoMetaFile_p.");
250 return NULL;
251 }
252 }
253 {
254 PyThreadState* __tstate = wxPyBeginAllowThreads();
255 wxPseudoMetaFile_Clear(_arg0);
256
257 wxPyEndAllowThreads(__tstate);
258 if (PyErr_Occurred()) return NULL;
259 } Py_INCREF(Py_None);
260 _resultobj = Py_None;
261 return _resultobj;
262 }
263
264 #define wxPseudoMetaFile_Copy(_swigobj,_swigarg0) (_swigobj->Copy(_swigarg0))
265 static PyObject *_wrap_wxPseudoMetaFile_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
266 PyObject * _resultobj;
267 wxPseudoMetaFile * _arg0;
268 wxPseudoMetaFile * _arg1;
269 PyObject * _argo0 = 0;
270 PyObject * _argo1 = 0;
271 char *_kwnames[] = { "self","copy", NULL };
272
273 self = self;
274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_Copy",_kwnames,&_argo0,&_argo1))
275 return NULL;
276 if (_argo0) {
277 if (_argo0 == Py_None) { _arg0 = NULL; }
278 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
279 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_Copy. Expected _wxPseudoMetaFile_p.");
280 return NULL;
281 }
282 }
283 if (_argo1) {
284 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPseudoMetaFile_p")) {
285 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_Copy. Expected _wxPseudoMetaFile_p.");
286 return NULL;
287 }
288 }
289 {
290 PyThreadState* __tstate = wxPyBeginAllowThreads();
291 wxPseudoMetaFile_Copy(_arg0,*_arg1);
292
293 wxPyEndAllowThreads(__tstate);
294 if (PyErr_Occurred()) return NULL;
295 } Py_INCREF(Py_None);
296 _resultobj = Py_None;
297 return _resultobj;
298 }
299
300 #define wxPseudoMetaFile_Scale(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scale(_swigarg0,_swigarg1))
301 static PyObject *_wrap_wxPseudoMetaFile_Scale(PyObject *self, PyObject *args, PyObject *kwargs) {
302 PyObject * _resultobj;
303 wxPseudoMetaFile * _arg0;
304 double _arg1;
305 double _arg2;
306 PyObject * _argo0 = 0;
307 char *_kwnames[] = { "self","sx","sy", NULL };
308
309 self = self;
310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPseudoMetaFile_Scale",_kwnames,&_argo0,&_arg1,&_arg2))
311 return NULL;
312 if (_argo0) {
313 if (_argo0 == Py_None) { _arg0 = NULL; }
314 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
315 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_Scale. Expected _wxPseudoMetaFile_p.");
316 return NULL;
317 }
318 }
319 {
320 PyThreadState* __tstate = wxPyBeginAllowThreads();
321 wxPseudoMetaFile_Scale(_arg0,_arg1,_arg2);
322
323 wxPyEndAllowThreads(__tstate);
324 if (PyErr_Occurred()) return NULL;
325 } Py_INCREF(Py_None);
326 _resultobj = Py_None;
327 return _resultobj;
328 }
329
330 #define wxPseudoMetaFile_ScaleTo(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScaleTo(_swigarg0,_swigarg1))
331 static PyObject *_wrap_wxPseudoMetaFile_ScaleTo(PyObject *self, PyObject *args, PyObject *kwargs) {
332 PyObject * _resultobj;
333 wxPseudoMetaFile * _arg0;
334 double _arg1;
335 double _arg2;
336 PyObject * _argo0 = 0;
337 char *_kwnames[] = { "self","w","h", NULL };
338
339 self = self;
340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPseudoMetaFile_ScaleTo",_kwnames,&_argo0,&_arg1,&_arg2))
341 return NULL;
342 if (_argo0) {
343 if (_argo0 == Py_None) { _arg0 = NULL; }
344 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
345 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_ScaleTo. Expected _wxPseudoMetaFile_p.");
346 return NULL;
347 }
348 }
349 {
350 PyThreadState* __tstate = wxPyBeginAllowThreads();
351 wxPseudoMetaFile_ScaleTo(_arg0,_arg1,_arg2);
352
353 wxPyEndAllowThreads(__tstate);
354 if (PyErr_Occurred()) return NULL;
355 } Py_INCREF(Py_None);
356 _resultobj = Py_None;
357 return _resultobj;
358 }
359
360 #define wxPseudoMetaFile_Translate(_swigobj,_swigarg0,_swigarg1) (_swigobj->Translate(_swigarg0,_swigarg1))
361 static PyObject *_wrap_wxPseudoMetaFile_Translate(PyObject *self, PyObject *args, PyObject *kwargs) {
362 PyObject * _resultobj;
363 wxPseudoMetaFile * _arg0;
364 double _arg1;
365 double _arg2;
366 PyObject * _argo0 = 0;
367 char *_kwnames[] = { "self","x","y", NULL };
368
369 self = self;
370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPseudoMetaFile_Translate",_kwnames,&_argo0,&_arg1,&_arg2))
371 return NULL;
372 if (_argo0) {
373 if (_argo0 == Py_None) { _arg0 = NULL; }
374 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
375 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_Translate. Expected _wxPseudoMetaFile_p.");
376 return NULL;
377 }
378 }
379 {
380 PyThreadState* __tstate = wxPyBeginAllowThreads();
381 wxPseudoMetaFile_Translate(_arg0,_arg1,_arg2);
382
383 wxPyEndAllowThreads(__tstate);
384 if (PyErr_Occurred()) return NULL;
385 } Py_INCREF(Py_None);
386 _resultobj = Py_None;
387 return _resultobj;
388 }
389
390 #define wxPseudoMetaFile_Rotate(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Rotate(_swigarg0,_swigarg1,_swigarg2))
391 static PyObject *_wrap_wxPseudoMetaFile_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
392 PyObject * _resultobj;
393 wxPseudoMetaFile * _arg0;
394 double _arg1;
395 double _arg2;
396 double _arg3;
397 PyObject * _argo0 = 0;
398 char *_kwnames[] = { "self","x","y","theta", NULL };
399
400 self = self;
401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oddd:wxPseudoMetaFile_Rotate",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
402 return NULL;
403 if (_argo0) {
404 if (_argo0 == Py_None) { _arg0 = NULL; }
405 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
406 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_Rotate. Expected _wxPseudoMetaFile_p.");
407 return NULL;
408 }
409 }
410 {
411 PyThreadState* __tstate = wxPyBeginAllowThreads();
412 wxPseudoMetaFile_Rotate(_arg0,_arg1,_arg2,_arg3);
413
414 wxPyEndAllowThreads(__tstate);
415 if (PyErr_Occurred()) return NULL;
416 } Py_INCREF(Py_None);
417 _resultobj = Py_None;
418 return _resultobj;
419 }
420
421 #define wxPseudoMetaFile_LoadFromMetaFile(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromMetaFile(_swigarg0,_swigarg1,_swigarg2))
422 static PyObject *_wrap_wxPseudoMetaFile_LoadFromMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
423 PyObject * _resultobj;
424 bool _result;
425 wxPseudoMetaFile * _arg0;
426 wxString * _arg1;
427 double * _arg2;
428 double * _arg3;
429 PyObject * _argo0 = 0;
430 PyObject * _obj1 = 0;
431 PyObject * _argo2 = 0;
432 PyObject * _argo3 = 0;
433 char *_kwnames[] = { "self","filename","width","height", NULL };
434
435 self = self;
436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxPseudoMetaFile_LoadFromMetaFile",_kwnames,&_argo0,&_obj1,&_argo2,&_argo3))
437 return NULL;
438 if (_argo0) {
439 if (_argo0 == Py_None) { _arg0 = NULL; }
440 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
441 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_LoadFromMetaFile. Expected _wxPseudoMetaFile_p.");
442 return NULL;
443 }
444 }
445 {
446 _arg1 = wxString_in_helper(_obj1);
447 if (_arg1 == NULL)
448 return NULL;
449 }
450 if (_argo2) {
451 if (_argo2 == Py_None) { _arg2 = NULL; }
452 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_double_p")) {
453 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPseudoMetaFile_LoadFromMetaFile. Expected _double_p.");
454 return NULL;
455 }
456 }
457 if (_argo3) {
458 if (_argo3 == Py_None) { _arg3 = NULL; }
459 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_double_p")) {
460 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxPseudoMetaFile_LoadFromMetaFile. Expected _double_p.");
461 return NULL;
462 }
463 }
464 {
465 PyThreadState* __tstate = wxPyBeginAllowThreads();
466 _result = (bool )wxPseudoMetaFile_LoadFromMetaFile(_arg0,*_arg1,_arg2,_arg3);
467
468 wxPyEndAllowThreads(__tstate);
469 if (PyErr_Occurred()) return NULL;
470 } _resultobj = Py_BuildValue("i",_result);
471 {
472 if (_obj1)
473 delete _arg1;
474 }
475 return _resultobj;
476 }
477
478 #define wxPseudoMetaFile_GetBounds(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetBounds(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
479 static PyObject *_wrap_wxPseudoMetaFile_GetBounds(PyObject *self, PyObject *args, PyObject *kwargs) {
480 PyObject * _resultobj;
481 wxPseudoMetaFile * _arg0;
482 double * _arg1;
483 double * _arg2;
484 double * _arg3;
485 double * _arg4;
486 PyObject * _argo0 = 0;
487 PyObject * _argo1 = 0;
488 PyObject * _argo2 = 0;
489 PyObject * _argo3 = 0;
490 PyObject * _argo4 = 0;
491 char *_kwnames[] = { "self","minX","minY","maxX","maxY", NULL };
492
493 self = self;
494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOOO:wxPseudoMetaFile_GetBounds",_kwnames,&_argo0,&_argo1,&_argo2,&_argo3,&_argo4))
495 return NULL;
496 if (_argo0) {
497 if (_argo0 == Py_None) { _arg0 = NULL; }
498 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
499 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_GetBounds. Expected _wxPseudoMetaFile_p.");
500 return NULL;
501 }
502 }
503 if (_argo1) {
504 if (_argo1 == Py_None) { _arg1 = NULL; }
505 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_double_p")) {
506 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_GetBounds. Expected _double_p.");
507 return NULL;
508 }
509 }
510 if (_argo2) {
511 if (_argo2 == Py_None) { _arg2 = NULL; }
512 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_double_p")) {
513 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPseudoMetaFile_GetBounds. Expected _double_p.");
514 return NULL;
515 }
516 }
517 if (_argo3) {
518 if (_argo3 == Py_None) { _arg3 = NULL; }
519 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_double_p")) {
520 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxPseudoMetaFile_GetBounds. Expected _double_p.");
521 return NULL;
522 }
523 }
524 if (_argo4) {
525 if (_argo4 == Py_None) { _arg4 = NULL; }
526 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_double_p")) {
527 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxPseudoMetaFile_GetBounds. Expected _double_p.");
528 return NULL;
529 }
530 }
531 {
532 PyThreadState* __tstate = wxPyBeginAllowThreads();
533 wxPseudoMetaFile_GetBounds(_arg0,_arg1,_arg2,_arg3,_arg4);
534
535 wxPyEndAllowThreads(__tstate);
536 if (PyErr_Occurred()) return NULL;
537 } Py_INCREF(Py_None);
538 _resultobj = Py_None;
539 return _resultobj;
540 }
541
542 #define wxPseudoMetaFile_CalculateSize(_swigobj,_swigarg0) (_swigobj->CalculateSize(_swigarg0))
543 static PyObject *_wrap_wxPseudoMetaFile_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
544 PyObject * _resultobj;
545 wxPseudoMetaFile * _arg0;
546 wxPyDrawnShape * _arg1;
547 PyObject * _argo0 = 0;
548 PyObject * _argo1 = 0;
549 char *_kwnames[] = { "self","shape", NULL };
550
551 self = self;
552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_CalculateSize",_kwnames,&_argo0,&_argo1))
553 return NULL;
554 if (_argo0) {
555 if (_argo0 == Py_None) { _arg0 = NULL; }
556 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
557 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_CalculateSize. Expected _wxPseudoMetaFile_p.");
558 return NULL;
559 }
560 }
561 if (_argo1) {
562 if (_argo1 == Py_None) { _arg1 = NULL; }
563 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyDrawnShape_p")) {
564 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_CalculateSize. Expected _wxPyDrawnShape_p.");
565 return NULL;
566 }
567 }
568 {
569 PyThreadState* __tstate = wxPyBeginAllowThreads();
570 wxPseudoMetaFile_CalculateSize(_arg0,_arg1);
571
572 wxPyEndAllowThreads(__tstate);
573 if (PyErr_Occurred()) return NULL;
574 } Py_INCREF(Py_None);
575 _resultobj = Py_None;
576 return _resultobj;
577 }
578
579 #define wxPseudoMetaFile_SetRotateable(_swigobj,_swigarg0) (_swigobj->SetRotateable(_swigarg0))
580 static PyObject *_wrap_wxPseudoMetaFile_SetRotateable(PyObject *self, PyObject *args, PyObject *kwargs) {
581 PyObject * _resultobj;
582 wxPseudoMetaFile * _arg0;
583 bool _arg1;
584 PyObject * _argo0 = 0;
585 int tempbool1;
586 char *_kwnames[] = { "self","rot", NULL };
587
588 self = self;
589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPseudoMetaFile_SetRotateable",_kwnames,&_argo0,&tempbool1))
590 return NULL;
591 if (_argo0) {
592 if (_argo0 == Py_None) { _arg0 = NULL; }
593 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
594 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetRotateable. Expected _wxPseudoMetaFile_p.");
595 return NULL;
596 }
597 }
598 _arg1 = (bool ) tempbool1;
599 {
600 PyThreadState* __tstate = wxPyBeginAllowThreads();
601 wxPseudoMetaFile_SetRotateable(_arg0,_arg1);
602
603 wxPyEndAllowThreads(__tstate);
604 if (PyErr_Occurred()) return NULL;
605 } Py_INCREF(Py_None);
606 _resultobj = Py_None;
607 return _resultobj;
608 }
609
610 #define wxPseudoMetaFile_GetRotateable(_swigobj) (_swigobj->GetRotateable())
611 static PyObject *_wrap_wxPseudoMetaFile_GetRotateable(PyObject *self, PyObject *args, PyObject *kwargs) {
612 PyObject * _resultobj;
613 bool _result;
614 wxPseudoMetaFile * _arg0;
615 PyObject * _argo0 = 0;
616 char *_kwnames[] = { "self", NULL };
617
618 self = self;
619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_GetRotateable",_kwnames,&_argo0))
620 return NULL;
621 if (_argo0) {
622 if (_argo0 == Py_None) { _arg0 = NULL; }
623 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
624 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_GetRotateable. Expected _wxPseudoMetaFile_p.");
625 return NULL;
626 }
627 }
628 {
629 PyThreadState* __tstate = wxPyBeginAllowThreads();
630 _result = (bool )wxPseudoMetaFile_GetRotateable(_arg0);
631
632 wxPyEndAllowThreads(__tstate);
633 if (PyErr_Occurred()) return NULL;
634 } _resultobj = Py_BuildValue("i",_result);
635 return _resultobj;
636 }
637
638 #define wxPseudoMetaFile_SetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
639 static PyObject *_wrap_wxPseudoMetaFile_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
640 PyObject * _resultobj;
641 wxPseudoMetaFile * _arg0;
642 double _arg1;
643 double _arg2;
644 PyObject * _argo0 = 0;
645 char *_kwnames[] = { "self","w","h", NULL };
646
647 self = self;
648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPseudoMetaFile_SetSize",_kwnames,&_argo0,&_arg1,&_arg2))
649 return NULL;
650 if (_argo0) {
651 if (_argo0 == Py_None) { _arg0 = NULL; }
652 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
653 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetSize. Expected _wxPseudoMetaFile_p.");
654 return NULL;
655 }
656 }
657 {
658 PyThreadState* __tstate = wxPyBeginAllowThreads();
659 wxPseudoMetaFile_SetSize(_arg0,_arg1,_arg2);
660
661 wxPyEndAllowThreads(__tstate);
662 if (PyErr_Occurred()) return NULL;
663 } Py_INCREF(Py_None);
664 _resultobj = Py_None;
665 return _resultobj;
666 }
667
668 #define wxPseudoMetaFile_SetFillBrush(_swigobj,_swigarg0) (_swigobj->SetFillBrush(_swigarg0))
669 static PyObject *_wrap_wxPseudoMetaFile_SetFillBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
670 PyObject * _resultobj;
671 wxPseudoMetaFile * _arg0;
672 wxBrush * _arg1;
673 PyObject * _argo0 = 0;
674 PyObject * _obj1 = 0;
675 char *_kwnames[] = { "self","brush", NULL };
676
677 self = self;
678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_SetFillBrush",_kwnames,&_argo0,&_obj1))
679 return NULL;
680 if (_argo0) {
681 if (_argo0 == Py_None) { _arg0 = NULL; }
682 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
683 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetFillBrush. Expected _wxPseudoMetaFile_p.");
684 return NULL;
685 }
686 }
687 {
688 wxBrush* temp;
689 if (_obj1) {
690 if (_obj1 == Py_None) { temp = NULL; }
691 else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxBrush_p")) {
692 PyErr_SetString(PyExc_TypeError,"Type error, expected _wxBrush_p.");
693 return NULL;
694 }
695 }
696 if (temp)
697 _arg1 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
698 else
699 _arg1 = NULL;
700 }
701 {
702 PyThreadState* __tstate = wxPyBeginAllowThreads();
703 wxPseudoMetaFile_SetFillBrush(_arg0,_arg1);
704
705 wxPyEndAllowThreads(__tstate);
706 if (PyErr_Occurred()) return NULL;
707 } Py_INCREF(Py_None);
708 _resultobj = Py_None;
709 return _resultobj;
710 }
711
712 #define wxPseudoMetaFile_GetFillBrush(_swigobj) (_swigobj->GetFillBrush())
713 static PyObject *_wrap_wxPseudoMetaFile_GetFillBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
714 PyObject * _resultobj;
715 wxBrush * _result;
716 wxPseudoMetaFile * _arg0;
717 PyObject * _argo0 = 0;
718 char *_kwnames[] = { "self", NULL };
719 char _ptemp[128];
720
721 self = self;
722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_GetFillBrush",_kwnames,&_argo0))
723 return NULL;
724 if (_argo0) {
725 if (_argo0 == Py_None) { _arg0 = NULL; }
726 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
727 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_GetFillBrush. Expected _wxPseudoMetaFile_p.");
728 return NULL;
729 }
730 }
731 {
732 PyThreadState* __tstate = wxPyBeginAllowThreads();
733 _result = (wxBrush *)wxPseudoMetaFile_GetFillBrush(_arg0);
734
735 wxPyEndAllowThreads(__tstate);
736 if (PyErr_Occurred()) return NULL;
737 } if (_result) {
738 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBrush_p");
739 _resultobj = Py_BuildValue("s",_ptemp);
740 } else {
741 Py_INCREF(Py_None);
742 _resultobj = Py_None;
743 }
744 return _resultobj;
745 }
746
747 #define wxPseudoMetaFile_SetOutlinePen(_swigobj,_swigarg0) (_swigobj->SetOutlinePen(_swigarg0))
748 static PyObject *_wrap_wxPseudoMetaFile_SetOutlinePen(PyObject *self, PyObject *args, PyObject *kwargs) {
749 PyObject * _resultobj;
750 wxPseudoMetaFile * _arg0;
751 wxPen * _arg1;
752 PyObject * _argo0 = 0;
753 PyObject * _obj1 = 0;
754 char *_kwnames[] = { "self","pen", NULL };
755
756 self = self;
757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_SetOutlinePen",_kwnames,&_argo0,&_obj1))
758 return NULL;
759 if (_argo0) {
760 if (_argo0 == Py_None) { _arg0 = NULL; }
761 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
762 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetOutlinePen. Expected _wxPseudoMetaFile_p.");
763 return NULL;
764 }
765 }
766 {
767 wxPen* temp;
768 if (_obj1) {
769 if (_obj1 == Py_None) { temp = NULL; }
770 else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxPen_p")) {
771 PyErr_SetString(PyExc_TypeError,"Type error, expected _wxPen_p.");
772 return NULL;
773 }
774 }
775 if (temp)
776 _arg1 = wxThePenList->FindOrCreatePen(temp->GetColour(),
777 temp->GetWidth(),
778 temp->GetStyle());
779 else
780 _arg1 = NULL;
781 }
782 {
783 PyThreadState* __tstate = wxPyBeginAllowThreads();
784 wxPseudoMetaFile_SetOutlinePen(_arg0,_arg1);
785
786 wxPyEndAllowThreads(__tstate);
787 if (PyErr_Occurred()) return NULL;
788 } Py_INCREF(Py_None);
789 _resultobj = Py_None;
790 return _resultobj;
791 }
792
793 #define wxPseudoMetaFile_GetOutlinePen(_swigobj) (_swigobj->GetOutlinePen())
794 static PyObject *_wrap_wxPseudoMetaFile_GetOutlinePen(PyObject *self, PyObject *args, PyObject *kwargs) {
795 PyObject * _resultobj;
796 wxPen * _result;
797 wxPseudoMetaFile * _arg0;
798 PyObject * _argo0 = 0;
799 char *_kwnames[] = { "self", NULL };
800 char _ptemp[128];
801
802 self = self;
803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_GetOutlinePen",_kwnames,&_argo0))
804 return NULL;
805 if (_argo0) {
806 if (_argo0 == Py_None) { _arg0 = NULL; }
807 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
808 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_GetOutlinePen. Expected _wxPseudoMetaFile_p.");
809 return NULL;
810 }
811 }
812 {
813 PyThreadState* __tstate = wxPyBeginAllowThreads();
814 _result = (wxPen *)wxPseudoMetaFile_GetOutlinePen(_arg0);
815
816 wxPyEndAllowThreads(__tstate);
817 if (PyErr_Occurred()) return NULL;
818 } if (_result) {
819 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPen_p");
820 _resultobj = Py_BuildValue("s",_ptemp);
821 } else {
822 Py_INCREF(Py_None);
823 _resultobj = Py_None;
824 }
825 return _resultobj;
826 }
827
828 #define wxPseudoMetaFile_SetOutlineOp(_swigobj,_swigarg0) (_swigobj->SetOutlineOp(_swigarg0))
829 static PyObject *_wrap_wxPseudoMetaFile_SetOutlineOp(PyObject *self, PyObject *args, PyObject *kwargs) {
830 PyObject * _resultobj;
831 wxPseudoMetaFile * _arg0;
832 int _arg1;
833 PyObject * _argo0 = 0;
834 char *_kwnames[] = { "self","op", NULL };
835
836 self = self;
837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPseudoMetaFile_SetOutlineOp",_kwnames,&_argo0,&_arg1))
838 return NULL;
839 if (_argo0) {
840 if (_argo0 == Py_None) { _arg0 = NULL; }
841 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
842 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetOutlineOp. Expected _wxPseudoMetaFile_p.");
843 return NULL;
844 }
845 }
846 {
847 PyThreadState* __tstate = wxPyBeginAllowThreads();
848 wxPseudoMetaFile_SetOutlineOp(_arg0,_arg1);
849
850 wxPyEndAllowThreads(__tstate);
851 if (PyErr_Occurred()) return NULL;
852 } Py_INCREF(Py_None);
853 _resultobj = Py_None;
854 return _resultobj;
855 }
856
857 #define wxPseudoMetaFile_GetOutlineOp(_swigobj) (_swigobj->GetOutlineOp())
858 static PyObject *_wrap_wxPseudoMetaFile_GetOutlineOp(PyObject *self, PyObject *args, PyObject *kwargs) {
859 PyObject * _resultobj;
860 int _result;
861 wxPseudoMetaFile * _arg0;
862 PyObject * _argo0 = 0;
863 char *_kwnames[] = { "self", NULL };
864
865 self = self;
866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_GetOutlineOp",_kwnames,&_argo0))
867 return NULL;
868 if (_argo0) {
869 if (_argo0 == Py_None) { _arg0 = NULL; }
870 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
871 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_GetOutlineOp. Expected _wxPseudoMetaFile_p.");
872 return NULL;
873 }
874 }
875 {
876 PyThreadState* __tstate = wxPyBeginAllowThreads();
877 _result = (int )wxPseudoMetaFile_GetOutlineOp(_arg0);
878
879 wxPyEndAllowThreads(__tstate);
880 if (PyErr_Occurred()) return NULL;
881 } _resultobj = Py_BuildValue("i",_result);
882 return _resultobj;
883 }
884
885 #define wxPseudoMetaFile_IsValid(_swigobj) (_swigobj->IsValid())
886 static PyObject *_wrap_wxPseudoMetaFile_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
887 PyObject * _resultobj;
888 bool _result;
889 wxPseudoMetaFile * _arg0;
890 PyObject * _argo0 = 0;
891 char *_kwnames[] = { "self", NULL };
892
893 self = self;
894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_IsValid",_kwnames,&_argo0))
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_IsValid. Expected _wxPseudoMetaFile_p.");
900 return NULL;
901 }
902 }
903 {
904 PyThreadState* __tstate = wxPyBeginAllowThreads();
905 _result = (bool )wxPseudoMetaFile_IsValid(_arg0);
906
907 wxPyEndAllowThreads(__tstate);
908 if (PyErr_Occurred()) return NULL;
909 } _resultobj = Py_BuildValue("i",_result);
910 return _resultobj;
911 }
912
913 #define wxPseudoMetaFile_DrawLine(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawLine(_swigarg0,_swigarg1))
914 static PyObject *_wrap_wxPseudoMetaFile_DrawLine(PyObject *self, PyObject *args, PyObject *kwargs) {
915 PyObject * _resultobj;
916 wxPseudoMetaFile * _arg0;
917 wxPoint * _arg1;
918 wxPoint * _arg2;
919 PyObject * _argo0 = 0;
920 wxPoint temp;
921 PyObject * _obj1 = 0;
922 wxPoint temp0;
923 PyObject * _obj2 = 0;
924 char *_kwnames[] = { "self","pt1","pt2", NULL };
925
926 self = self;
927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPseudoMetaFile_DrawLine",_kwnames,&_argo0,&_obj1,&_obj2))
928 return NULL;
929 if (_argo0) {
930 if (_argo0 == Py_None) { _arg0 = NULL; }
931 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
932 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawLine. Expected _wxPseudoMetaFile_p.");
933 return NULL;
934 }
935 }
936 {
937 _arg1 = &temp;
938 if (! wxPoint_helper(_obj1, &_arg1))
939 return NULL;
940 }
941 {
942 _arg2 = &temp0;
943 if (! wxPoint_helper(_obj2, &_arg2))
944 return NULL;
945 }
946 {
947 PyThreadState* __tstate = wxPyBeginAllowThreads();
948 wxPseudoMetaFile_DrawLine(_arg0,*_arg1,*_arg2);
949
950 wxPyEndAllowThreads(__tstate);
951 if (PyErr_Occurred()) return NULL;
952 } Py_INCREF(Py_None);
953 _resultobj = Py_None;
954 return _resultobj;
955 }
956
957 #define wxPseudoMetaFile_DrawRectangle(_swigobj,_swigarg0) (_swigobj->DrawRectangle(_swigarg0))
958 static PyObject *_wrap_wxPseudoMetaFile_DrawRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
959 PyObject * _resultobj;
960 wxPseudoMetaFile * _arg0;
961 wxRect * _arg1;
962 PyObject * _argo0 = 0;
963 wxRect temp;
964 PyObject * _obj1 = 0;
965 char *_kwnames[] = { "self","rect", NULL };
966
967 self = self;
968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_DrawRectangle",_kwnames,&_argo0,&_obj1))
969 return NULL;
970 if (_argo0) {
971 if (_argo0 == Py_None) { _arg0 = NULL; }
972 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
973 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawRectangle. Expected _wxPseudoMetaFile_p.");
974 return NULL;
975 }
976 }
977 {
978 _arg1 = &temp;
979 if (! wxRect_helper(_obj1, &_arg1))
980 return NULL;
981 }
982 {
983 PyThreadState* __tstate = wxPyBeginAllowThreads();
984 wxPseudoMetaFile_DrawRectangle(_arg0,*_arg1);
985
986 wxPyEndAllowThreads(__tstate);
987 if (PyErr_Occurred()) return NULL;
988 } Py_INCREF(Py_None);
989 _resultobj = Py_None;
990 return _resultobj;
991 }
992
993 #define wxPseudoMetaFile_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1))
994 static PyObject *_wrap_wxPseudoMetaFile_DrawRoundedRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
995 PyObject * _resultobj;
996 wxPseudoMetaFile * _arg0;
997 wxRect * _arg1;
998 double _arg2;
999 PyObject * _argo0 = 0;
1000 wxRect temp;
1001 PyObject * _obj1 = 0;
1002 char *_kwnames[] = { "self","rect","radius", NULL };
1003
1004 self = self;
1005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOd:wxPseudoMetaFile_DrawRoundedRectangle",_kwnames,&_argo0,&_obj1,&_arg2))
1006 return NULL;
1007 if (_argo0) {
1008 if (_argo0 == Py_None) { _arg0 = NULL; }
1009 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1010 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawRoundedRectangle. Expected _wxPseudoMetaFile_p.");
1011 return NULL;
1012 }
1013 }
1014 {
1015 _arg1 = &temp;
1016 if (! wxRect_helper(_obj1, &_arg1))
1017 return NULL;
1018 }
1019 {
1020 PyThreadState* __tstate = wxPyBeginAllowThreads();
1021 wxPseudoMetaFile_DrawRoundedRectangle(_arg0,*_arg1,_arg2);
1022
1023 wxPyEndAllowThreads(__tstate);
1024 if (PyErr_Occurred()) return NULL;
1025 } Py_INCREF(Py_None);
1026 _resultobj = Py_None;
1027 return _resultobj;
1028 }
1029
1030 #define wxPseudoMetaFile_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2))
1031 static PyObject *_wrap_wxPseudoMetaFile_DrawArc(PyObject *self, PyObject *args, PyObject *kwargs) {
1032 PyObject * _resultobj;
1033 wxPseudoMetaFile * _arg0;
1034 wxPoint * _arg1;
1035 wxPoint * _arg2;
1036 wxPoint * _arg3;
1037 PyObject * _argo0 = 0;
1038 wxPoint temp;
1039 PyObject * _obj1 = 0;
1040 wxPoint temp0;
1041 PyObject * _obj2 = 0;
1042 wxPoint temp1;
1043 PyObject * _obj3 = 0;
1044 char *_kwnames[] = { "self","centrePt","startPt","endPt", NULL };
1045
1046 self = self;
1047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxPseudoMetaFile_DrawArc",_kwnames,&_argo0,&_obj1,&_obj2,&_obj3))
1048 return NULL;
1049 if (_argo0) {
1050 if (_argo0 == Py_None) { _arg0 = NULL; }
1051 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1052 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawArc. Expected _wxPseudoMetaFile_p.");
1053 return NULL;
1054 }
1055 }
1056 {
1057 _arg1 = &temp;
1058 if (! wxPoint_helper(_obj1, &_arg1))
1059 return NULL;
1060 }
1061 {
1062 _arg2 = &temp0;
1063 if (! wxPoint_helper(_obj2, &_arg2))
1064 return NULL;
1065 }
1066 {
1067 _arg3 = &temp1;
1068 if (! wxPoint_helper(_obj3, &_arg3))
1069 return NULL;
1070 }
1071 {
1072 PyThreadState* __tstate = wxPyBeginAllowThreads();
1073 wxPseudoMetaFile_DrawArc(_arg0,*_arg1,*_arg2,*_arg3);
1074
1075 wxPyEndAllowThreads(__tstate);
1076 if (PyErr_Occurred()) return NULL;
1077 } Py_INCREF(Py_None);
1078 _resultobj = Py_None;
1079 return _resultobj;
1080 }
1081
1082 #define wxPseudoMetaFile_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2))
1083 static PyObject *_wrap_wxPseudoMetaFile_DrawEllipticArc(PyObject *self, PyObject *args, PyObject *kwargs) {
1084 PyObject * _resultobj;
1085 wxPseudoMetaFile * _arg0;
1086 wxRect * _arg1;
1087 double _arg2;
1088 double _arg3;
1089 PyObject * _argo0 = 0;
1090 wxRect temp;
1091 PyObject * _obj1 = 0;
1092 char *_kwnames[] = { "self","rect","startAngle","endAngle", NULL };
1093
1094 self = self;
1095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd:wxPseudoMetaFile_DrawEllipticArc",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3))
1096 return NULL;
1097 if (_argo0) {
1098 if (_argo0 == Py_None) { _arg0 = NULL; }
1099 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1100 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawEllipticArc. Expected _wxPseudoMetaFile_p.");
1101 return NULL;
1102 }
1103 }
1104 {
1105 _arg1 = &temp;
1106 if (! wxRect_helper(_obj1, &_arg1))
1107 return NULL;
1108 }
1109 {
1110 PyThreadState* __tstate = wxPyBeginAllowThreads();
1111 wxPseudoMetaFile_DrawEllipticArc(_arg0,*_arg1,_arg2,_arg3);
1112
1113 wxPyEndAllowThreads(__tstate);
1114 if (PyErr_Occurred()) return NULL;
1115 } Py_INCREF(Py_None);
1116 _resultobj = Py_None;
1117 return _resultobj;
1118 }
1119
1120 #define wxPseudoMetaFile_DrawEllipse(_swigobj,_swigarg0) (_swigobj->DrawEllipse(_swigarg0))
1121 static PyObject *_wrap_wxPseudoMetaFile_DrawEllipse(PyObject *self, PyObject *args, PyObject *kwargs) {
1122 PyObject * _resultobj;
1123 wxPseudoMetaFile * _arg0;
1124 wxRect * _arg1;
1125 PyObject * _argo0 = 0;
1126 wxRect temp;
1127 PyObject * _obj1 = 0;
1128 char *_kwnames[] = { "self","rect", NULL };
1129
1130 self = self;
1131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_DrawEllipse",_kwnames,&_argo0,&_obj1))
1132 return NULL;
1133 if (_argo0) {
1134 if (_argo0 == Py_None) { _arg0 = NULL; }
1135 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1136 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawEllipse. Expected _wxPseudoMetaFile_p.");
1137 return NULL;
1138 }
1139 }
1140 {
1141 _arg1 = &temp;
1142 if (! wxRect_helper(_obj1, &_arg1))
1143 return NULL;
1144 }
1145 {
1146 PyThreadState* __tstate = wxPyBeginAllowThreads();
1147 wxPseudoMetaFile_DrawEllipse(_arg0,*_arg1);
1148
1149 wxPyEndAllowThreads(__tstate);
1150 if (PyErr_Occurred()) return NULL;
1151 } Py_INCREF(Py_None);
1152 _resultobj = Py_None;
1153 return _resultobj;
1154 }
1155
1156 #define wxPseudoMetaFile_DrawPoint(_swigobj,_swigarg0) (_swigobj->DrawPoint(_swigarg0))
1157 static PyObject *_wrap_wxPseudoMetaFile_DrawPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
1158 PyObject * _resultobj;
1159 wxPseudoMetaFile * _arg0;
1160 wxPoint * _arg1;
1161 PyObject * _argo0 = 0;
1162 wxPoint temp;
1163 PyObject * _obj1 = 0;
1164 char *_kwnames[] = { "self","pt", NULL };
1165
1166 self = self;
1167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_DrawPoint",_kwnames,&_argo0,&_obj1))
1168 return NULL;
1169 if (_argo0) {
1170 if (_argo0 == Py_None) { _arg0 = NULL; }
1171 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1172 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawPoint. Expected _wxPseudoMetaFile_p.");
1173 return NULL;
1174 }
1175 }
1176 {
1177 _arg1 = &temp;
1178 if (! wxPoint_helper(_obj1, &_arg1))
1179 return NULL;
1180 }
1181 {
1182 PyThreadState* __tstate = wxPyBeginAllowThreads();
1183 wxPseudoMetaFile_DrawPoint(_arg0,*_arg1);
1184
1185 wxPyEndAllowThreads(__tstate);
1186 if (PyErr_Occurred()) return NULL;
1187 } Py_INCREF(Py_None);
1188 _resultobj = Py_None;
1189 return _resultobj;
1190 }
1191
1192 #define wxPseudoMetaFile_DrawText(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawText(_swigarg0,_swigarg1))
1193 static PyObject *_wrap_wxPseudoMetaFile_DrawText(PyObject *self, PyObject *args, PyObject *kwargs) {
1194 PyObject * _resultobj;
1195 wxPseudoMetaFile * _arg0;
1196 wxString * _arg1;
1197 wxPoint * _arg2;
1198 PyObject * _argo0 = 0;
1199 PyObject * _obj1 = 0;
1200 wxPoint temp;
1201 PyObject * _obj2 = 0;
1202 char *_kwnames[] = { "self","text","pt", NULL };
1203
1204 self = self;
1205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPseudoMetaFile_DrawText",_kwnames,&_argo0,&_obj1,&_obj2))
1206 return NULL;
1207 if (_argo0) {
1208 if (_argo0 == Py_None) { _arg0 = NULL; }
1209 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1210 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawText. Expected _wxPseudoMetaFile_p.");
1211 return NULL;
1212 }
1213 }
1214 {
1215 _arg1 = wxString_in_helper(_obj1);
1216 if (_arg1 == NULL)
1217 return NULL;
1218 }
1219 {
1220 _arg2 = &temp;
1221 if (! wxPoint_helper(_obj2, &_arg2))
1222 return NULL;
1223 }
1224 {
1225 PyThreadState* __tstate = wxPyBeginAllowThreads();
1226 wxPseudoMetaFile_DrawText(_arg0,*_arg1,*_arg2);
1227
1228 wxPyEndAllowThreads(__tstate);
1229 if (PyErr_Occurred()) return NULL;
1230 } Py_INCREF(Py_None);
1231 _resultobj = Py_None;
1232 {
1233 if (_obj1)
1234 delete _arg1;
1235 }
1236 return _resultobj;
1237 }
1238
1239 #define wxPseudoMetaFile_DrawLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawLines(_swigarg0,_swigarg1))
1240 static PyObject *_wrap_wxPseudoMetaFile_DrawLines(PyObject *self, PyObject *args, PyObject *kwargs) {
1241 PyObject * _resultobj;
1242 wxPseudoMetaFile * _arg0;
1243 int _arg1;
1244 wxPoint * _arg2;
1245 PyObject * _argo0 = 0;
1246 int NPOINTS;
1247 PyObject * _obj2 = 0;
1248 char *_kwnames[] = { "self","points", NULL };
1249
1250 self = self;
1251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_DrawLines",_kwnames,&_argo0,&_obj2))
1252 return NULL;
1253 if (_argo0) {
1254 if (_argo0 == Py_None) { _arg0 = NULL; }
1255 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1256 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawLines. Expected _wxPseudoMetaFile_p.");
1257 return NULL;
1258 }
1259 }
1260 if (_obj2)
1261 {
1262 _arg2 = wxPoint_LIST_helper(_obj2, &NPOINTS);
1263 if (_arg2 == NULL) {
1264 return NULL;
1265 }
1266 }
1267 {
1268 _arg1 = NPOINTS;
1269 }
1270 {
1271 PyThreadState* __tstate = wxPyBeginAllowThreads();
1272 wxPseudoMetaFile_DrawLines(_arg0,_arg1,_arg2);
1273
1274 wxPyEndAllowThreads(__tstate);
1275 if (PyErr_Occurred()) return NULL;
1276 } Py_INCREF(Py_None);
1277 _resultobj = Py_None;
1278 {
1279 delete [] _arg2;
1280 }
1281 return _resultobj;
1282 }
1283
1284 #define wxPseudoMetaFile_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2))
1285 static PyObject *_wrap_wxPseudoMetaFile_DrawPolygon(PyObject *self, PyObject *args, PyObject *kwargs) {
1286 PyObject * _resultobj;
1287 wxPseudoMetaFile * _arg0;
1288 int _arg1;
1289 wxPoint * _arg2;
1290 int _arg3 = (int ) 0;
1291 PyObject * _argo0 = 0;
1292 int NPOINTS;
1293 PyObject * _obj2 = 0;
1294 char *_kwnames[] = { "self","points","flags", NULL };
1295
1296 self = self;
1297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPseudoMetaFile_DrawPolygon",_kwnames,&_argo0,&_obj2,&_arg3))
1298 return NULL;
1299 if (_argo0) {
1300 if (_argo0 == Py_None) { _arg0 = NULL; }
1301 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1302 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawPolygon. Expected _wxPseudoMetaFile_p.");
1303 return NULL;
1304 }
1305 }
1306 if (_obj2)
1307 {
1308 _arg2 = wxPoint_LIST_helper(_obj2, &NPOINTS);
1309 if (_arg2 == NULL) {
1310 return NULL;
1311 }
1312 }
1313 {
1314 _arg1 = NPOINTS;
1315 }
1316 {
1317 PyThreadState* __tstate = wxPyBeginAllowThreads();
1318 wxPseudoMetaFile_DrawPolygon(_arg0,_arg1,_arg2,_arg3);
1319
1320 wxPyEndAllowThreads(__tstate);
1321 if (PyErr_Occurred()) return NULL;
1322 } Py_INCREF(Py_None);
1323 _resultobj = Py_None;
1324 {
1325 delete [] _arg2;
1326 }
1327 return _resultobj;
1328 }
1329
1330 #define wxPseudoMetaFile_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1))
1331 static PyObject *_wrap_wxPseudoMetaFile_DrawSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
1332 PyObject * _resultobj;
1333 wxPseudoMetaFile * _arg0;
1334 int _arg1;
1335 wxPoint * _arg2;
1336 PyObject * _argo0 = 0;
1337 int NPOINTS;
1338 PyObject * _obj2 = 0;
1339 char *_kwnames[] = { "self","points", NULL };
1340
1341 self = self;
1342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_DrawSpline",_kwnames,&_argo0,&_obj2))
1343 return NULL;
1344 if (_argo0) {
1345 if (_argo0 == Py_None) { _arg0 = NULL; }
1346 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1347 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawSpline. Expected _wxPseudoMetaFile_p.");
1348 return NULL;
1349 }
1350 }
1351 if (_obj2)
1352 {
1353 _arg2 = wxPoint_LIST_helper(_obj2, &NPOINTS);
1354 if (_arg2 == NULL) {
1355 return NULL;
1356 }
1357 }
1358 {
1359 _arg1 = NPOINTS;
1360 }
1361 {
1362 PyThreadState* __tstate = wxPyBeginAllowThreads();
1363 wxPseudoMetaFile_DrawSpline(_arg0,_arg1,_arg2);
1364
1365 wxPyEndAllowThreads(__tstate);
1366 if (PyErr_Occurred()) return NULL;
1367 } Py_INCREF(Py_None);
1368 _resultobj = Py_None;
1369 {
1370 delete [] _arg2;
1371 }
1372 return _resultobj;
1373 }
1374
1375 #define wxPseudoMetaFile_SetClippingRect(_swigobj,_swigarg0) (_swigobj->SetClippingRect(_swigarg0))
1376 static PyObject *_wrap_wxPseudoMetaFile_SetClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
1377 PyObject * _resultobj;
1378 wxPseudoMetaFile * _arg0;
1379 wxRect * _arg1;
1380 PyObject * _argo0 = 0;
1381 wxRect temp;
1382 PyObject * _obj1 = 0;
1383 char *_kwnames[] = { "self","rect", NULL };
1384
1385 self = self;
1386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_SetClippingRect",_kwnames,&_argo0,&_obj1))
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_SetClippingRect. Expected _wxPseudoMetaFile_p.");
1392 return NULL;
1393 }
1394 }
1395 {
1396 _arg1 = &temp;
1397 if (! wxRect_helper(_obj1, &_arg1))
1398 return NULL;
1399 }
1400 {
1401 PyThreadState* __tstate = wxPyBeginAllowThreads();
1402 wxPseudoMetaFile_SetClippingRect(_arg0,*_arg1);
1403
1404 wxPyEndAllowThreads(__tstate);
1405 if (PyErr_Occurred()) return NULL;
1406 } Py_INCREF(Py_None);
1407 _resultobj = Py_None;
1408 return _resultobj;
1409 }
1410
1411 #define wxPseudoMetaFile_DestroyClippingRect(_swigobj) (_swigobj->DestroyClippingRect())
1412 static PyObject *_wrap_wxPseudoMetaFile_DestroyClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
1413 PyObject * _resultobj;
1414 wxPseudoMetaFile * _arg0;
1415 PyObject * _argo0 = 0;
1416 char *_kwnames[] = { "self", NULL };
1417
1418 self = self;
1419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_DestroyClippingRect",_kwnames,&_argo0))
1420 return NULL;
1421 if (_argo0) {
1422 if (_argo0 == Py_None) { _arg0 = NULL; }
1423 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1424 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DestroyClippingRect. Expected _wxPseudoMetaFile_p.");
1425 return NULL;
1426 }
1427 }
1428 {
1429 PyThreadState* __tstate = wxPyBeginAllowThreads();
1430 wxPseudoMetaFile_DestroyClippingRect(_arg0);
1431
1432 wxPyEndAllowThreads(__tstate);
1433 if (PyErr_Occurred()) return NULL;
1434 } Py_INCREF(Py_None);
1435 _resultobj = Py_None;
1436 return _resultobj;
1437 }
1438
1439 #define wxPseudoMetaFile_SetPen(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPen(_swigarg0,_swigarg1))
1440 static PyObject *_wrap_wxPseudoMetaFile_SetPen(PyObject *self, PyObject *args, PyObject *kwargs) {
1441 PyObject * _resultobj;
1442 wxPseudoMetaFile * _arg0;
1443 wxPen * _arg1;
1444 bool _arg2 = (bool ) FALSE;
1445 PyObject * _argo0 = 0;
1446 PyObject * _obj1 = 0;
1447 int tempbool2 = (int) FALSE;
1448 char *_kwnames[] = { "self","pen","isOutline", NULL };
1449
1450 self = self;
1451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPseudoMetaFile_SetPen",_kwnames,&_argo0,&_obj1,&tempbool2))
1452 return NULL;
1453 if (_argo0) {
1454 if (_argo0 == Py_None) { _arg0 = NULL; }
1455 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1456 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetPen. Expected _wxPseudoMetaFile_p.");
1457 return NULL;
1458 }
1459 }
1460 {
1461 wxPen* temp;
1462 if (_obj1) {
1463 if (_obj1 == Py_None) { temp = NULL; }
1464 else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxPen_p")) {
1465 PyErr_SetString(PyExc_TypeError,"Type error, expected _wxPen_p.");
1466 return NULL;
1467 }
1468 }
1469 if (temp)
1470 _arg1 = wxThePenList->FindOrCreatePen(temp->GetColour(),
1471 temp->GetWidth(),
1472 temp->GetStyle());
1473 else
1474 _arg1 = NULL;
1475 }
1476 _arg2 = (bool ) tempbool2;
1477 {
1478 PyThreadState* __tstate = wxPyBeginAllowThreads();
1479 wxPseudoMetaFile_SetPen(_arg0,_arg1,_arg2);
1480
1481 wxPyEndAllowThreads(__tstate);
1482 if (PyErr_Occurred()) return NULL;
1483 } Py_INCREF(Py_None);
1484 _resultobj = Py_None;
1485 return _resultobj;
1486 }
1487
1488 #define wxPseudoMetaFile_SetBrush(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetBrush(_swigarg0,_swigarg1))
1489 static PyObject *_wrap_wxPseudoMetaFile_SetBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
1490 PyObject * _resultobj;
1491 wxPseudoMetaFile * _arg0;
1492 wxBrush * _arg1;
1493 bool _arg2 = (bool ) FALSE;
1494 PyObject * _argo0 = 0;
1495 PyObject * _obj1 = 0;
1496 int tempbool2 = (int) FALSE;
1497 char *_kwnames[] = { "self","brush","isFill", NULL };
1498
1499 self = self;
1500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPseudoMetaFile_SetBrush",_kwnames,&_argo0,&_obj1,&tempbool2))
1501 return NULL;
1502 if (_argo0) {
1503 if (_argo0 == Py_None) { _arg0 = NULL; }
1504 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1505 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetBrush. Expected _wxPseudoMetaFile_p.");
1506 return NULL;
1507 }
1508 }
1509 {
1510 wxBrush* temp;
1511 if (_obj1) {
1512 if (_obj1 == Py_None) { temp = NULL; }
1513 else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxBrush_p")) {
1514 PyErr_SetString(PyExc_TypeError,"Type error, expected _wxBrush_p.");
1515 return NULL;
1516 }
1517 }
1518 if (temp)
1519 _arg1 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
1520 else
1521 _arg1 = NULL;
1522 }
1523 _arg2 = (bool ) tempbool2;
1524 {
1525 PyThreadState* __tstate = wxPyBeginAllowThreads();
1526 wxPseudoMetaFile_SetBrush(_arg0,_arg1,_arg2);
1527
1528 wxPyEndAllowThreads(__tstate);
1529 if (PyErr_Occurred()) return NULL;
1530 } Py_INCREF(Py_None);
1531 _resultobj = Py_None;
1532 return _resultobj;
1533 }
1534
1535 #define wxPseudoMetaFile_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
1536 static PyObject *_wrap_wxPseudoMetaFile_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1537 PyObject * _resultobj;
1538 wxPseudoMetaFile * _arg0;
1539 wxFont * _arg1;
1540 PyObject * _argo0 = 0;
1541 PyObject * _obj1 = 0;
1542 char *_kwnames[] = { "self","font", NULL };
1543
1544 self = self;
1545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_SetFont",_kwnames,&_argo0,&_obj1))
1546 return NULL;
1547 if (_argo0) {
1548 if (_argo0 == Py_None) { _arg0 = NULL; }
1549 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1550 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetFont. Expected _wxPseudoMetaFile_p.");
1551 return NULL;
1552 }
1553 }
1554 {
1555 wxFont* temp;
1556 if (_obj1) {
1557 if (_obj1 == Py_None) { temp = NULL; }
1558 else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxFont_p")) {
1559 PyErr_SetString(PyExc_TypeError,"Type error, expected _wxFont_p.");
1560 return NULL;
1561 }
1562 }
1563 if (temp)
1564 _arg1 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
1565 temp->GetFamily(),
1566 temp->GetStyle(),
1567 temp->GetWeight(),
1568 temp->GetUnderlined(),
1569 temp->GetFaceName(),
1570 temp->GetEncoding());
1571 else
1572 _arg1 = NULL;
1573 }
1574 {
1575 PyThreadState* __tstate = wxPyBeginAllowThreads();
1576 wxPseudoMetaFile_SetFont(_arg0,_arg1);
1577
1578 wxPyEndAllowThreads(__tstate);
1579 if (PyErr_Occurred()) return NULL;
1580 } Py_INCREF(Py_None);
1581 _resultobj = Py_None;
1582 return _resultobj;
1583 }
1584
1585 #define wxPseudoMetaFile_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
1586 static PyObject *_wrap_wxPseudoMetaFile_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1587 PyObject * _resultobj;
1588 wxPseudoMetaFile * _arg0;
1589 wxColour * _arg1;
1590 PyObject * _argo0 = 0;
1591 wxColour temp;
1592 PyObject * _obj1 = 0;
1593 char *_kwnames[] = { "self","colour", NULL };
1594
1595 self = self;
1596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_SetTextColour",_kwnames,&_argo0,&_obj1))
1597 return NULL;
1598 if (_argo0) {
1599 if (_argo0 == Py_None) { _arg0 = NULL; }
1600 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1601 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetTextColour. Expected _wxPseudoMetaFile_p.");
1602 return NULL;
1603 }
1604 }
1605 {
1606 _arg1 = &temp;
1607 if (! wxColour_helper(_obj1, &_arg1))
1608 return NULL;
1609 }
1610 {
1611 PyThreadState* __tstate = wxPyBeginAllowThreads();
1612 wxPseudoMetaFile_SetTextColour(_arg0,*_arg1);
1613
1614 wxPyEndAllowThreads(__tstate);
1615 if (PyErr_Occurred()) return NULL;
1616 } Py_INCREF(Py_None);
1617 _resultobj = Py_None;
1618 return _resultobj;
1619 }
1620
1621 #define wxPseudoMetaFile_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
1622 static PyObject *_wrap_wxPseudoMetaFile_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1623 PyObject * _resultobj;
1624 wxPseudoMetaFile * _arg0;
1625 wxColour * _arg1;
1626 PyObject * _argo0 = 0;
1627 wxColour temp;
1628 PyObject * _obj1 = 0;
1629 char *_kwnames[] = { "self","colour", NULL };
1630
1631 self = self;
1632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
1633 return NULL;
1634 if (_argo0) {
1635 if (_argo0 == Py_None) { _arg0 = NULL; }
1636 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1637 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetBackgroundColour. Expected _wxPseudoMetaFile_p.");
1638 return NULL;
1639 }
1640 }
1641 {
1642 _arg1 = &temp;
1643 if (! wxColour_helper(_obj1, &_arg1))
1644 return NULL;
1645 }
1646 {
1647 PyThreadState* __tstate = wxPyBeginAllowThreads();
1648 wxPseudoMetaFile_SetBackgroundColour(_arg0,*_arg1);
1649
1650 wxPyEndAllowThreads(__tstate);
1651 if (PyErr_Occurred()) return NULL;
1652 } Py_INCREF(Py_None);
1653 _resultobj = Py_None;
1654 return _resultobj;
1655 }
1656
1657 #define wxPseudoMetaFile_SetBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetBackgroundMode(_swigarg0))
1658 static PyObject *_wrap_wxPseudoMetaFile_SetBackgroundMode(PyObject *self, PyObject *args, PyObject *kwargs) {
1659 PyObject * _resultobj;
1660 wxPseudoMetaFile * _arg0;
1661 int _arg1;
1662 PyObject * _argo0 = 0;
1663 char *_kwnames[] = { "self","mode", NULL };
1664
1665 self = self;
1666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPseudoMetaFile_SetBackgroundMode",_kwnames,&_argo0,&_arg1))
1667 return NULL;
1668 if (_argo0) {
1669 if (_argo0 == Py_None) { _arg0 = NULL; }
1670 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1671 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetBackgroundMode. Expected _wxPseudoMetaFile_p.");
1672 return NULL;
1673 }
1674 }
1675 {
1676 PyThreadState* __tstate = wxPyBeginAllowThreads();
1677 wxPseudoMetaFile_SetBackgroundMode(_arg0,_arg1);
1678
1679 wxPyEndAllowThreads(__tstate);
1680 if (PyErr_Occurred()) return NULL;
1681 } Py_INCREF(Py_None);
1682 _resultobj = Py_None;
1683 return _resultobj;
1684 }
1685
1686 static void *SwigwxPyRectangleShapeTowxPyShape(void *ptr) {
1687 wxPyRectangleShape *src;
1688 wxPyShape *dest;
1689 src = (wxPyRectangleShape *) ptr;
1690 dest = (wxPyShape *) src;
1691 return (void *) dest;
1692 }
1693
1694 static void *SwigwxPyRectangleShapeTowxPyShapeEvtHandler(void *ptr) {
1695 wxPyRectangleShape *src;
1696 wxPyShapeEvtHandler *dest;
1697 src = (wxPyRectangleShape *) ptr;
1698 dest = (wxPyShapeEvtHandler *) src;
1699 return (void *) dest;
1700 }
1701
1702 static void *SwigwxPyRectangleShapeTowxObject(void *ptr) {
1703 wxPyRectangleShape *src;
1704 wxObject *dest;
1705 src = (wxPyRectangleShape *) ptr;
1706 dest = (wxObject *) src;
1707 return (void *) dest;
1708 }
1709
1710 #define new_wxPyRectangleShape(_swigarg0,_swigarg1) (new wxPyRectangleShape(_swigarg0,_swigarg1))
1711 static PyObject *_wrap_new_wxPyRectangleShape(PyObject *self, PyObject *args, PyObject *kwargs) {
1712 PyObject * _resultobj;
1713 wxPyRectangleShape * _result;
1714 double _arg0 = (double ) 0.0;
1715 double _arg1 = (double ) 0.0;
1716 char *_kwnames[] = { "width","height", NULL };
1717 char _ptemp[128];
1718
1719 self = self;
1720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|dd:new_wxPyRectangleShape",_kwnames,&_arg0,&_arg1))
1721 return NULL;
1722 {
1723 PyThreadState* __tstate = wxPyBeginAllowThreads();
1724 _result = (wxPyRectangleShape *)new_wxPyRectangleShape(_arg0,_arg1);
1725
1726 wxPyEndAllowThreads(__tstate);
1727 if (PyErr_Occurred()) return NULL;
1728 } if (_result) {
1729 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyRectangleShape_p");
1730 _resultobj = Py_BuildValue("s",_ptemp);
1731 } else {
1732 Py_INCREF(Py_None);
1733 _resultobj = Py_None;
1734 }
1735 return _resultobj;
1736 }
1737
1738 #define wxPyRectangleShape__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
1739 static PyObject *_wrap_wxPyRectangleShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
1740 PyObject * _resultobj;
1741 wxPyRectangleShape * _arg0;
1742 PyObject * _arg1;
1743 PyObject * _arg2;
1744 PyObject * _argo0 = 0;
1745 PyObject * _obj1 = 0;
1746 PyObject * _obj2 = 0;
1747 char *_kwnames[] = { "self","self","_class", NULL };
1748
1749 self = self;
1750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyRectangleShape__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
1751 return NULL;
1752 if (_argo0) {
1753 if (_argo0 == Py_None) { _arg0 = NULL; }
1754 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
1755 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape__setCallbackInfo. Expected _wxPyRectangleShape_p.");
1756 return NULL;
1757 }
1758 }
1759 {
1760 _arg1 = _obj1;
1761 }
1762 {
1763 _arg2 = _obj2;
1764 }
1765 {
1766 PyThreadState* __tstate = wxPyBeginAllowThreads();
1767 wxPyRectangleShape__setCallbackInfo(_arg0,_arg1,_arg2);
1768
1769 wxPyEndAllowThreads(__tstate);
1770 if (PyErr_Occurred()) return NULL;
1771 } Py_INCREF(Py_None);
1772 _resultobj = Py_None;
1773 return _resultobj;
1774 }
1775
1776 #define wxPyRectangleShape_SetCornerRadius(_swigobj,_swigarg0) (_swigobj->SetCornerRadius(_swigarg0))
1777 static PyObject *_wrap_wxPyRectangleShape_SetCornerRadius(PyObject *self, PyObject *args, PyObject *kwargs) {
1778 PyObject * _resultobj;
1779 wxPyRectangleShape * _arg0;
1780 double _arg1;
1781 PyObject * _argo0 = 0;
1782 char *_kwnames[] = { "self","radius", NULL };
1783
1784 self = self;
1785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Od:wxPyRectangleShape_SetCornerRadius",_kwnames,&_argo0,&_arg1))
1786 return NULL;
1787 if (_argo0) {
1788 if (_argo0 == Py_None) { _arg0 = NULL; }
1789 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
1790 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_SetCornerRadius. Expected _wxPyRectangleShape_p.");
1791 return NULL;
1792 }
1793 }
1794 {
1795 PyThreadState* __tstate = wxPyBeginAllowThreads();
1796 wxPyRectangleShape_SetCornerRadius(_arg0,_arg1);
1797
1798 wxPyEndAllowThreads(__tstate);
1799 if (PyErr_Occurred()) return NULL;
1800 } Py_INCREF(Py_None);
1801 _resultobj = Py_None;
1802 return _resultobj;
1803 }
1804
1805 #define wxPyRectangleShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
1806 static PyObject *_wrap_wxPyRectangleShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
1807 PyObject * _resultobj;
1808 wxPyRectangleShape * _arg0;
1809 PyObject * _argo0 = 0;
1810 char *_kwnames[] = { "self", NULL };
1811
1812 self = self;
1813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyRectangleShape_base_OnDelete",_kwnames,&_argo0))
1814 return NULL;
1815 if (_argo0) {
1816 if (_argo0 == Py_None) { _arg0 = NULL; }
1817 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
1818 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDelete. Expected _wxPyRectangleShape_p.");
1819 return NULL;
1820 }
1821 }
1822 {
1823 PyThreadState* __tstate = wxPyBeginAllowThreads();
1824 wxPyRectangleShape_base_OnDelete(_arg0);
1825
1826 wxPyEndAllowThreads(__tstate);
1827 if (PyErr_Occurred()) return NULL;
1828 } Py_INCREF(Py_None);
1829 _resultobj = Py_None;
1830 return _resultobj;
1831 }
1832
1833 #define wxPyRectangleShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
1834 static PyObject *_wrap_wxPyRectangleShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
1835 PyObject * _resultobj;
1836 wxPyRectangleShape * _arg0;
1837 wxDC * _arg1;
1838 PyObject * _argo0 = 0;
1839 PyObject * _argo1 = 0;
1840 char *_kwnames[] = { "self","dc", NULL };
1841
1842 self = self;
1843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnDraw",_kwnames,&_argo0,&_argo1))
1844 return NULL;
1845 if (_argo0) {
1846 if (_argo0 == Py_None) { _arg0 = NULL; }
1847 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
1848 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDraw. Expected _wxPyRectangleShape_p.");
1849 return NULL;
1850 }
1851 }
1852 if (_argo1) {
1853 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
1854 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnDraw. Expected _wxDC_p.");
1855 return NULL;
1856 }
1857 }
1858 {
1859 PyThreadState* __tstate = wxPyBeginAllowThreads();
1860 wxPyRectangleShape_base_OnDraw(_arg0,*_arg1);
1861
1862 wxPyEndAllowThreads(__tstate);
1863 if (PyErr_Occurred()) return NULL;
1864 } Py_INCREF(Py_None);
1865 _resultobj = Py_None;
1866 return _resultobj;
1867 }
1868
1869 #define wxPyRectangleShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
1870 static PyObject *_wrap_wxPyRectangleShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
1871 PyObject * _resultobj;
1872 wxPyRectangleShape * _arg0;
1873 wxDC * _arg1;
1874 PyObject * _argo0 = 0;
1875 PyObject * _argo1 = 0;
1876 char *_kwnames[] = { "self","dc", NULL };
1877
1878 self = self;
1879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1))
1880 return NULL;
1881 if (_argo0) {
1882 if (_argo0 == Py_None) { _arg0 = NULL; }
1883 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
1884 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDrawContents. Expected _wxPyRectangleShape_p.");
1885 return NULL;
1886 }
1887 }
1888 if (_argo1) {
1889 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
1890 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnDrawContents. Expected _wxDC_p.");
1891 return NULL;
1892 }
1893 }
1894 {
1895 PyThreadState* __tstate = wxPyBeginAllowThreads();
1896 wxPyRectangleShape_base_OnDrawContents(_arg0,*_arg1);
1897
1898 wxPyEndAllowThreads(__tstate);
1899 if (PyErr_Occurred()) return NULL;
1900 } Py_INCREF(Py_None);
1901 _resultobj = Py_None;
1902 return _resultobj;
1903 }
1904
1905 #define wxPyRectangleShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
1906 static PyObject *_wrap_wxPyRectangleShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
1907 PyObject * _resultobj;
1908 wxPyRectangleShape * _arg0;
1909 wxDC * _arg1;
1910 bool _arg2 = (bool ) FALSE;
1911 PyObject * _argo0 = 0;
1912 PyObject * _argo1 = 0;
1913 int tempbool2 = (int) FALSE;
1914 char *_kwnames[] = { "self","dc","erase", NULL };
1915
1916 self = self;
1917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyRectangleShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2))
1918 return NULL;
1919 if (_argo0) {
1920 if (_argo0 == Py_None) { _arg0 = NULL; }
1921 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
1922 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDrawBranches. Expected _wxPyRectangleShape_p.");
1923 return NULL;
1924 }
1925 }
1926 if (_argo1) {
1927 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
1928 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnDrawBranches. Expected _wxDC_p.");
1929 return NULL;
1930 }
1931 }
1932 _arg2 = (bool ) tempbool2;
1933 {
1934 PyThreadState* __tstate = wxPyBeginAllowThreads();
1935 wxPyRectangleShape_base_OnDrawBranches(_arg0,*_arg1,_arg2);
1936
1937 wxPyEndAllowThreads(__tstate);
1938 if (PyErr_Occurred()) return NULL;
1939 } Py_INCREF(Py_None);
1940 _resultobj = Py_None;
1941 return _resultobj;
1942 }
1943
1944 #define wxPyRectangleShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
1945 static PyObject *_wrap_wxPyRectangleShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
1946 PyObject * _resultobj;
1947 wxPyRectangleShape * _arg0;
1948 wxDC * _arg1;
1949 PyObject * _argo0 = 0;
1950 PyObject * _argo1 = 0;
1951 char *_kwnames[] = { "self","dc", NULL };
1952
1953 self = self;
1954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1))
1955 return NULL;
1956 if (_argo0) {
1957 if (_argo0 == Py_None) { _arg0 = NULL; }
1958 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
1959 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnMoveLinks. Expected _wxPyRectangleShape_p.");
1960 return NULL;
1961 }
1962 }
1963 if (_argo1) {
1964 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
1965 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnMoveLinks. Expected _wxDC_p.");
1966 return NULL;
1967 }
1968 }
1969 {
1970 PyThreadState* __tstate = wxPyBeginAllowThreads();
1971 wxPyRectangleShape_base_OnMoveLinks(_arg0,*_arg1);
1972
1973 wxPyEndAllowThreads(__tstate);
1974 if (PyErr_Occurred()) return NULL;
1975 } Py_INCREF(Py_None);
1976 _resultobj = Py_None;
1977 return _resultobj;
1978 }
1979
1980 #define wxPyRectangleShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
1981 static PyObject *_wrap_wxPyRectangleShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
1982 PyObject * _resultobj;
1983 wxPyRectangleShape * _arg0;
1984 wxDC * _arg1;
1985 PyObject * _argo0 = 0;
1986 PyObject * _argo1 = 0;
1987 char *_kwnames[] = { "self","dc", NULL };
1988
1989 self = self;
1990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnErase",_kwnames,&_argo0,&_argo1))
1991 return NULL;
1992 if (_argo0) {
1993 if (_argo0 == Py_None) { _arg0 = NULL; }
1994 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
1995 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnErase. Expected _wxPyRectangleShape_p.");
1996 return NULL;
1997 }
1998 }
1999 if (_argo1) {
2000 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2001 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnErase. Expected _wxDC_p.");
2002 return NULL;
2003 }
2004 }
2005 {
2006 PyThreadState* __tstate = wxPyBeginAllowThreads();
2007 wxPyRectangleShape_base_OnErase(_arg0,*_arg1);
2008
2009 wxPyEndAllowThreads(__tstate);
2010 if (PyErr_Occurred()) return NULL;
2011 } Py_INCREF(Py_None);
2012 _resultobj = Py_None;
2013 return _resultobj;
2014 }
2015
2016 #define wxPyRectangleShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
2017 static PyObject *_wrap_wxPyRectangleShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
2018 PyObject * _resultobj;
2019 wxPyRectangleShape * _arg0;
2020 wxDC * _arg1;
2021 PyObject * _argo0 = 0;
2022 PyObject * _argo1 = 0;
2023 char *_kwnames[] = { "self","dc", NULL };
2024
2025 self = self;
2026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1))
2027 return NULL;
2028 if (_argo0) {
2029 if (_argo0 == Py_None) { _arg0 = NULL; }
2030 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2031 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnEraseContents. Expected _wxPyRectangleShape_p.");
2032 return NULL;
2033 }
2034 }
2035 if (_argo1) {
2036 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2037 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnEraseContents. Expected _wxDC_p.");
2038 return NULL;
2039 }
2040 }
2041 {
2042 PyThreadState* __tstate = wxPyBeginAllowThreads();
2043 wxPyRectangleShape_base_OnEraseContents(_arg0,*_arg1);
2044
2045 wxPyEndAllowThreads(__tstate);
2046 if (PyErr_Occurred()) return NULL;
2047 } Py_INCREF(Py_None);
2048 _resultobj = Py_None;
2049 return _resultobj;
2050 }
2051
2052 #define wxPyRectangleShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
2053 static PyObject *_wrap_wxPyRectangleShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
2054 PyObject * _resultobj;
2055 wxPyRectangleShape * _arg0;
2056 wxDC * _arg1;
2057 PyObject * _argo0 = 0;
2058 PyObject * _argo1 = 0;
2059 char *_kwnames[] = { "self","dc", NULL };
2060
2061 self = self;
2062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnHighlight",_kwnames,&_argo0,&_argo1))
2063 return NULL;
2064 if (_argo0) {
2065 if (_argo0 == Py_None) { _arg0 = NULL; }
2066 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2067 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnHighlight. Expected _wxPyRectangleShape_p.");
2068 return NULL;
2069 }
2070 }
2071 if (_argo1) {
2072 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2073 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnHighlight. Expected _wxDC_p.");
2074 return NULL;
2075 }
2076 }
2077 {
2078 PyThreadState* __tstate = wxPyBeginAllowThreads();
2079 wxPyRectangleShape_base_OnHighlight(_arg0,*_arg1);
2080
2081 wxPyEndAllowThreads(__tstate);
2082 if (PyErr_Occurred()) return NULL;
2083 } Py_INCREF(Py_None);
2084 _resultobj = Py_None;
2085 return _resultobj;
2086 }
2087
2088 #define wxPyRectangleShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2089 static PyObject *_wrap_wxPyRectangleShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2090 PyObject * _resultobj;
2091 wxPyRectangleShape * _arg0;
2092 double _arg1;
2093 double _arg2;
2094 int _arg3 = (int ) 0;
2095 int _arg4 = (int ) 0;
2096 PyObject * _argo0 = 0;
2097 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
2098
2099 self = self;
2100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
2101 return NULL;
2102 if (_argo0) {
2103 if (_argo0 == Py_None) { _arg0 = NULL; }
2104 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2105 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnLeftClick. Expected _wxPyRectangleShape_p.");
2106 return NULL;
2107 }
2108 }
2109 {
2110 PyThreadState* __tstate = wxPyBeginAllowThreads();
2111 wxPyRectangleShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4);
2112
2113 wxPyEndAllowThreads(__tstate);
2114 if (PyErr_Occurred()) return NULL;
2115 } Py_INCREF(Py_None);
2116 _resultobj = Py_None;
2117 return _resultobj;
2118 }
2119
2120 #define wxPyRectangleShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2121 static PyObject *_wrap_wxPyRectangleShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2122 PyObject * _resultobj;
2123 wxPyRectangleShape * _arg0;
2124 double _arg1;
2125 double _arg2;
2126 int _arg3 = (int ) 0;
2127 int _arg4 = (int ) 0;
2128 PyObject * _argo0 = 0;
2129 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
2130
2131 self = self;
2132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
2133 return NULL;
2134 if (_argo0) {
2135 if (_argo0 == Py_None) { _arg0 = NULL; }
2136 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2137 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnLeftDoubleClick. Expected _wxPyRectangleShape_p.");
2138 return NULL;
2139 }
2140 }
2141 {
2142 PyThreadState* __tstate = wxPyBeginAllowThreads();
2143 wxPyRectangleShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4);
2144
2145 wxPyEndAllowThreads(__tstate);
2146 if (PyErr_Occurred()) return NULL;
2147 } Py_INCREF(Py_None);
2148 _resultobj = Py_None;
2149 return _resultobj;
2150 }
2151
2152 #define wxPyRectangleShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2153 static PyObject *_wrap_wxPyRectangleShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2154 PyObject * _resultobj;
2155 wxPyRectangleShape * _arg0;
2156 double _arg1;
2157 double _arg2;
2158 int _arg3 = (int ) 0;
2159 int _arg4 = (int ) 0;
2160 PyObject * _argo0 = 0;
2161 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
2162
2163 self = self;
2164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
2165 return NULL;
2166 if (_argo0) {
2167 if (_argo0 == Py_None) { _arg0 = NULL; }
2168 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2169 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnRightClick. Expected _wxPyRectangleShape_p.");
2170 return NULL;
2171 }
2172 }
2173 {
2174 PyThreadState* __tstate = wxPyBeginAllowThreads();
2175 wxPyRectangleShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4);
2176
2177 wxPyEndAllowThreads(__tstate);
2178 if (PyErr_Occurred()) return NULL;
2179 } Py_INCREF(Py_None);
2180 _resultobj = Py_None;
2181 return _resultobj;
2182 }
2183
2184 #define wxPyRectangleShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
2185 static PyObject *_wrap_wxPyRectangleShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2186 PyObject * _resultobj;
2187 wxPyRectangleShape * _arg0;
2188 double _arg1;
2189 double _arg2;
2190 PyObject * _argo0 = 0;
2191 char *_kwnames[] = { "self","x","y", NULL };
2192
2193 self = self;
2194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyRectangleShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2))
2195 return NULL;
2196 if (_argo0) {
2197 if (_argo0 == Py_None) { _arg0 = NULL; }
2198 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2199 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnSize. Expected _wxPyRectangleShape_p.");
2200 return NULL;
2201 }
2202 }
2203 {
2204 PyThreadState* __tstate = wxPyBeginAllowThreads();
2205 wxPyRectangleShape_base_OnSize(_arg0,_arg1,_arg2);
2206
2207 wxPyEndAllowThreads(__tstate);
2208 if (PyErr_Occurred()) return NULL;
2209 } Py_INCREF(Py_None);
2210 _resultobj = Py_None;
2211 return _resultobj;
2212 }
2213
2214 #define wxPyRectangleShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2215 static PyObject *_wrap_wxPyRectangleShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
2216 PyObject * _resultobj;
2217 bool _result;
2218 wxPyRectangleShape * _arg0;
2219 wxDC * _arg1;
2220 double _arg2;
2221 double _arg3;
2222 double _arg4;
2223 double _arg5;
2224 bool _arg6 = (bool ) TRUE;
2225 PyObject * _argo0 = 0;
2226 PyObject * _argo1 = 0;
2227 int tempbool6 = (int) TRUE;
2228 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
2229
2230 self = self;
2231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyRectangleShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
2232 return NULL;
2233 if (_argo0) {
2234 if (_argo0 == Py_None) { _arg0 = NULL; }
2235 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2236 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnMovePre. Expected _wxPyRectangleShape_p.");
2237 return NULL;
2238 }
2239 }
2240 if (_argo1) {
2241 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2242 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnMovePre. Expected _wxDC_p.");
2243 return NULL;
2244 }
2245 }
2246 _arg6 = (bool ) tempbool6;
2247 {
2248 PyThreadState* __tstate = wxPyBeginAllowThreads();
2249 _result = (bool )wxPyRectangleShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
2250
2251 wxPyEndAllowThreads(__tstate);
2252 if (PyErr_Occurred()) return NULL;
2253 } _resultobj = Py_BuildValue("i",_result);
2254 return _resultobj;
2255 }
2256
2257 #define wxPyRectangleShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2258 static PyObject *_wrap_wxPyRectangleShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
2259 PyObject * _resultobj;
2260 wxPyRectangleShape * _arg0;
2261 wxDC * _arg1;
2262 double _arg2;
2263 double _arg3;
2264 double _arg4;
2265 double _arg5;
2266 bool _arg6 = (bool ) TRUE;
2267 PyObject * _argo0 = 0;
2268 PyObject * _argo1 = 0;
2269 int tempbool6 = (int) TRUE;
2270 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
2271
2272 self = self;
2273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyRectangleShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
2274 return NULL;
2275 if (_argo0) {
2276 if (_argo0 == Py_None) { _arg0 = NULL; }
2277 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2278 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnMovePost. Expected _wxPyRectangleShape_p.");
2279 return NULL;
2280 }
2281 }
2282 if (_argo1) {
2283 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2284 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnMovePost. Expected _wxDC_p.");
2285 return NULL;
2286 }
2287 }
2288 _arg6 = (bool ) tempbool6;
2289 {
2290 PyThreadState* __tstate = wxPyBeginAllowThreads();
2291 wxPyRectangleShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
2292
2293 wxPyEndAllowThreads(__tstate);
2294 if (PyErr_Occurred()) return NULL;
2295 } Py_INCREF(Py_None);
2296 _resultobj = Py_None;
2297 return _resultobj;
2298 }
2299
2300 #define wxPyRectangleShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2301 static PyObject *_wrap_wxPyRectangleShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2302 PyObject * _resultobj;
2303 wxPyRectangleShape * _arg0;
2304 bool _arg1;
2305 double _arg2;
2306 double _arg3;
2307 int _arg4 = (int ) 0;
2308 int _arg5 = (int ) 0;
2309 PyObject * _argo0 = 0;
2310 int tempbool1;
2311 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
2312
2313 self = self;
2314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyRectangleShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
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_OnDragLeft. Expected _wxPyRectangleShape_p.");
2320 return NULL;
2321 }
2322 }
2323 _arg1 = (bool ) tempbool1;
2324 {
2325 PyThreadState* __tstate = wxPyBeginAllowThreads();
2326 wxPyRectangleShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
2327
2328 wxPyEndAllowThreads(__tstate);
2329 if (PyErr_Occurred()) return NULL;
2330 } Py_INCREF(Py_None);
2331 _resultobj = Py_None;
2332 return _resultobj;
2333 }
2334
2335 #define wxPyRectangleShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2336 static PyObject *_wrap_wxPyRectangleShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2337 PyObject * _resultobj;
2338 wxPyRectangleShape * _arg0;
2339 double _arg1;
2340 double _arg2;
2341 int _arg3 = (int ) 0;
2342 int _arg4 = (int ) 0;
2343 PyObject * _argo0 = 0;
2344 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
2345
2346 self = self;
2347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
2348 return NULL;
2349 if (_argo0) {
2350 if (_argo0 == Py_None) { _arg0 = NULL; }
2351 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2352 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnBeginDragLeft. Expected _wxPyRectangleShape_p.");
2353 return NULL;
2354 }
2355 }
2356 {
2357 PyThreadState* __tstate = wxPyBeginAllowThreads();
2358 wxPyRectangleShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
2359
2360 wxPyEndAllowThreads(__tstate);
2361 if (PyErr_Occurred()) return NULL;
2362 } Py_INCREF(Py_None);
2363 _resultobj = Py_None;
2364 return _resultobj;
2365 }
2366
2367 #define wxPyRectangleShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2368 static PyObject *_wrap_wxPyRectangleShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2369 PyObject * _resultobj;
2370 wxPyRectangleShape * _arg0;
2371 double _arg1;
2372 double _arg2;
2373 int _arg3 = (int ) 0;
2374 int _arg4 = (int ) 0;
2375 PyObject * _argo0 = 0;
2376 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
2377
2378 self = self;
2379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
2380 return NULL;
2381 if (_argo0) {
2382 if (_argo0 == Py_None) { _arg0 = NULL; }
2383 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2384 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnEndDragLeft. Expected _wxPyRectangleShape_p.");
2385 return NULL;
2386 }
2387 }
2388 {
2389 PyThreadState* __tstate = wxPyBeginAllowThreads();
2390 wxPyRectangleShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
2391
2392 wxPyEndAllowThreads(__tstate);
2393 if (PyErr_Occurred()) return NULL;
2394 } Py_INCREF(Py_None);
2395 _resultobj = Py_None;
2396 return _resultobj;
2397 }
2398
2399 #define wxPyRectangleShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2400 static PyObject *_wrap_wxPyRectangleShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2401 PyObject * _resultobj;
2402 wxPyRectangleShape * _arg0;
2403 bool _arg1;
2404 double _arg2;
2405 double _arg3;
2406 int _arg4 = (int ) 0;
2407 int _arg5 = (int ) 0;
2408 PyObject * _argo0 = 0;
2409 int tempbool1;
2410 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
2411
2412 self = self;
2413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyRectangleShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
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_OnDragRight. Expected _wxPyRectangleShape_p.");
2419 return NULL;
2420 }
2421 }
2422 _arg1 = (bool ) tempbool1;
2423 {
2424 PyThreadState* __tstate = wxPyBeginAllowThreads();
2425 wxPyRectangleShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
2426
2427 wxPyEndAllowThreads(__tstate);
2428 if (PyErr_Occurred()) return NULL;
2429 } Py_INCREF(Py_None);
2430 _resultobj = Py_None;
2431 return _resultobj;
2432 }
2433
2434 #define wxPyRectangleShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2435 static PyObject *_wrap_wxPyRectangleShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2436 PyObject * _resultobj;
2437 wxPyRectangleShape * _arg0;
2438 double _arg1;
2439 double _arg2;
2440 int _arg3 = (int ) 0;
2441 int _arg4 = (int ) 0;
2442 PyObject * _argo0 = 0;
2443 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
2444
2445 self = self;
2446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
2447 return NULL;
2448 if (_argo0) {
2449 if (_argo0 == Py_None) { _arg0 = NULL; }
2450 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2451 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnBeginDragRight. Expected _wxPyRectangleShape_p.");
2452 return NULL;
2453 }
2454 }
2455 {
2456 PyThreadState* __tstate = wxPyBeginAllowThreads();
2457 wxPyRectangleShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
2458
2459 wxPyEndAllowThreads(__tstate);
2460 if (PyErr_Occurred()) return NULL;
2461 } Py_INCREF(Py_None);
2462 _resultobj = Py_None;
2463 return _resultobj;
2464 }
2465
2466 #define wxPyRectangleShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2467 static PyObject *_wrap_wxPyRectangleShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2468 PyObject * _resultobj;
2469 wxPyRectangleShape * _arg0;
2470 double _arg1;
2471 double _arg2;
2472 int _arg3 = (int ) 0;
2473 int _arg4 = (int ) 0;
2474 PyObject * _argo0 = 0;
2475 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
2476
2477 self = self;
2478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
2479 return NULL;
2480 if (_argo0) {
2481 if (_argo0 == Py_None) { _arg0 = NULL; }
2482 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2483 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnEndDragRight. Expected _wxPyRectangleShape_p.");
2484 return NULL;
2485 }
2486 }
2487 {
2488 PyThreadState* __tstate = wxPyBeginAllowThreads();
2489 wxPyRectangleShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
2490
2491 wxPyEndAllowThreads(__tstate);
2492 if (PyErr_Occurred()) return NULL;
2493 } Py_INCREF(Py_None);
2494 _resultobj = Py_None;
2495 return _resultobj;
2496 }
2497
2498 #define wxPyRectangleShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2499 static PyObject *_wrap_wxPyRectangleShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
2500 PyObject * _resultobj;
2501 wxPyRectangleShape * _arg0;
2502 wxDC * _arg1;
2503 double _arg2;
2504 double _arg3;
2505 double _arg4;
2506 double _arg5;
2507 PyObject * _argo0 = 0;
2508 PyObject * _argo1 = 0;
2509 char *_kwnames[] = { "self","dc","x","y","w","h", NULL };
2510
2511 self = self;
2512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyRectangleShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
2513 return NULL;
2514 if (_argo0) {
2515 if (_argo0 == Py_None) { _arg0 = NULL; }
2516 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2517 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDrawOutline. Expected _wxPyRectangleShape_p.");
2518 return NULL;
2519 }
2520 }
2521 if (_argo1) {
2522 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2523 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnDrawOutline. Expected _wxDC_p.");
2524 return NULL;
2525 }
2526 }
2527 {
2528 PyThreadState* __tstate = wxPyBeginAllowThreads();
2529 wxPyRectangleShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5);
2530
2531 wxPyEndAllowThreads(__tstate);
2532 if (PyErr_Occurred()) return NULL;
2533 } Py_INCREF(Py_None);
2534 _resultobj = Py_None;
2535 return _resultobj;
2536 }
2537
2538 #define wxPyRectangleShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
2539 static PyObject *_wrap_wxPyRectangleShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
2540 PyObject * _resultobj;
2541 wxPyRectangleShape * _arg0;
2542 wxDC * _arg1;
2543 PyObject * _argo0 = 0;
2544 PyObject * _argo1 = 0;
2545 char *_kwnames[] = { "self","dc", NULL };
2546
2547 self = self;
2548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1))
2549 return NULL;
2550 if (_argo0) {
2551 if (_argo0 == Py_None) { _arg0 = NULL; }
2552 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2553 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDrawControlPoints. Expected _wxPyRectangleShape_p.");
2554 return NULL;
2555 }
2556 }
2557 if (_argo1) {
2558 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2559 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnDrawControlPoints. Expected _wxDC_p.");
2560 return NULL;
2561 }
2562 }
2563 {
2564 PyThreadState* __tstate = wxPyBeginAllowThreads();
2565 wxPyRectangleShape_base_OnDrawControlPoints(_arg0,*_arg1);
2566
2567 wxPyEndAllowThreads(__tstate);
2568 if (PyErr_Occurred()) return NULL;
2569 } Py_INCREF(Py_None);
2570 _resultobj = Py_None;
2571 return _resultobj;
2572 }
2573
2574 #define wxPyRectangleShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
2575 static PyObject *_wrap_wxPyRectangleShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
2576 PyObject * _resultobj;
2577 wxPyRectangleShape * _arg0;
2578 wxDC * _arg1;
2579 PyObject * _argo0 = 0;
2580 PyObject * _argo1 = 0;
2581 char *_kwnames[] = { "self","dc", NULL };
2582
2583 self = self;
2584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1))
2585 return NULL;
2586 if (_argo0) {
2587 if (_argo0 == Py_None) { _arg0 = NULL; }
2588 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2589 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnEraseControlPoints. Expected _wxPyRectangleShape_p.");
2590 return NULL;
2591 }
2592 }
2593 if (_argo1) {
2594 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2595 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnEraseControlPoints. Expected _wxDC_p.");
2596 return NULL;
2597 }
2598 }
2599 {
2600 PyThreadState* __tstate = wxPyBeginAllowThreads();
2601 wxPyRectangleShape_base_OnEraseControlPoints(_arg0,*_arg1);
2602
2603 wxPyEndAllowThreads(__tstate);
2604 if (PyErr_Occurred()) return NULL;
2605 } Py_INCREF(Py_None);
2606 _resultobj = Py_None;
2607 return _resultobj;
2608 }
2609
2610 #define wxPyRectangleShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
2611 static PyObject *_wrap_wxPyRectangleShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
2612 PyObject * _resultobj;
2613 wxPyRectangleShape * _arg0;
2614 wxDC * _arg1;
2615 bool _arg2 = (bool ) TRUE;
2616 PyObject * _argo0 = 0;
2617 PyObject * _argo1 = 0;
2618 int tempbool2 = (int) TRUE;
2619 char *_kwnames[] = { "self","dc","moveControlPoints", NULL };
2620
2621 self = self;
2622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyRectangleShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2))
2623 return NULL;
2624 if (_argo0) {
2625 if (_argo0 == Py_None) { _arg0 = NULL; }
2626 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2627 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnMoveLink. Expected _wxPyRectangleShape_p.");
2628 return NULL;
2629 }
2630 }
2631 if (_argo1) {
2632 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2633 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnMoveLink. Expected _wxDC_p.");
2634 return NULL;
2635 }
2636 }
2637 _arg2 = (bool ) tempbool2;
2638 {
2639 PyThreadState* __tstate = wxPyBeginAllowThreads();
2640 wxPyRectangleShape_base_OnMoveLink(_arg0,*_arg1,_arg2);
2641
2642 wxPyEndAllowThreads(__tstate);
2643 if (PyErr_Occurred()) return NULL;
2644 } Py_INCREF(Py_None);
2645 _resultobj = Py_None;
2646 return _resultobj;
2647 }
2648
2649 #define wxPyRectangleShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2650 static PyObject *_wrap_wxPyRectangleShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2651 PyObject * _resultobj;
2652 wxPyRectangleShape * _arg0;
2653 wxPyControlPoint * _arg1;
2654 bool _arg2;
2655 double _arg3;
2656 double _arg4;
2657 int _arg5 = (int ) 0;
2658 int _arg6 = (int ) 0;
2659 PyObject * _argo0 = 0;
2660 PyObject * _argo1 = 0;
2661 int tempbool2;
2662 char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL };
2663
2664 self = self;
2665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyRectangleShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6))
2666 return NULL;
2667 if (_argo0) {
2668 if (_argo0 == Py_None) { _arg0 = NULL; }
2669 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2670 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnSizingDragLeft. Expected _wxPyRectangleShape_p.");
2671 return NULL;
2672 }
2673 }
2674 if (_argo1) {
2675 if (_argo1 == Py_None) { _arg1 = NULL; }
2676 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
2677 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
2678 return NULL;
2679 }
2680 }
2681 _arg2 = (bool ) tempbool2;
2682 {
2683 PyThreadState* __tstate = wxPyBeginAllowThreads();
2684 wxPyRectangleShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
2685
2686 wxPyEndAllowThreads(__tstate);
2687 if (PyErr_Occurred()) return NULL;
2688 } Py_INCREF(Py_None);
2689 _resultobj = Py_None;
2690 return _resultobj;
2691 }
2692
2693 #define wxPyRectangleShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2694 static PyObject *_wrap_wxPyRectangleShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2695 PyObject * _resultobj;
2696 wxPyRectangleShape * _arg0;
2697 wxPyControlPoint * _arg1;
2698 double _arg2;
2699 double _arg3;
2700 int _arg4 = (int ) 0;
2701 int _arg5 = (int ) 0;
2702 PyObject * _argo0 = 0;
2703 PyObject * _argo1 = 0;
2704 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
2705
2706 self = self;
2707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyRectangleShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
2708 return NULL;
2709 if (_argo0) {
2710 if (_argo0 == Py_None) { _arg0 = NULL; }
2711 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2712 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnSizingBeginDragLeft. Expected _wxPyRectangleShape_p.");
2713 return NULL;
2714 }
2715 }
2716 if (_argo1) {
2717 if (_argo1 == Py_None) { _arg1 = NULL; }
2718 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
2719 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
2720 return NULL;
2721 }
2722 }
2723 {
2724 PyThreadState* __tstate = wxPyBeginAllowThreads();
2725 wxPyRectangleShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
2726
2727 wxPyEndAllowThreads(__tstate);
2728 if (PyErr_Occurred()) return NULL;
2729 } Py_INCREF(Py_None);
2730 _resultobj = Py_None;
2731 return _resultobj;
2732 }
2733
2734 #define wxPyRectangleShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2735 static PyObject *_wrap_wxPyRectangleShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2736 PyObject * _resultobj;
2737 wxPyRectangleShape * _arg0;
2738 wxPyControlPoint * _arg1;
2739 double _arg2;
2740 double _arg3;
2741 int _arg4 = (int ) 0;
2742 int _arg5 = (int ) 0;
2743 PyObject * _argo0 = 0;
2744 PyObject * _argo1 = 0;
2745 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
2746
2747 self = self;
2748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyRectangleShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
2749 return NULL;
2750 if (_argo0) {
2751 if (_argo0 == Py_None) { _arg0 = NULL; }
2752 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2753 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnSizingEndDragLeft. Expected _wxPyRectangleShape_p.");
2754 return NULL;
2755 }
2756 }
2757 if (_argo1) {
2758 if (_argo1 == Py_None) { _arg1 = NULL; }
2759 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
2760 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
2761 return NULL;
2762 }
2763 }
2764 {
2765 PyThreadState* __tstate = wxPyBeginAllowThreads();
2766 wxPyRectangleShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
2767
2768 wxPyEndAllowThreads(__tstate);
2769 if (PyErr_Occurred()) return NULL;
2770 } Py_INCREF(Py_None);
2771 _resultobj = Py_None;
2772 return _resultobj;
2773 }
2774
2775 #define wxPyRectangleShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
2776 static PyObject *_wrap_wxPyRectangleShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2777 PyObject * _resultobj;
2778 wxPyRectangleShape * _arg0;
2779 double _arg1;
2780 double _arg2;
2781 PyObject * _argo0 = 0;
2782 char *_kwnames[] = { "self","w","h", NULL };
2783
2784 self = self;
2785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyRectangleShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2))
2786 return NULL;
2787 if (_argo0) {
2788 if (_argo0 == Py_None) { _arg0 = NULL; }
2789 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2790 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnBeginSize. Expected _wxPyRectangleShape_p.");
2791 return NULL;
2792 }
2793 }
2794 {
2795 PyThreadState* __tstate = wxPyBeginAllowThreads();
2796 wxPyRectangleShape_base_OnBeginSize(_arg0,_arg1,_arg2);
2797
2798 wxPyEndAllowThreads(__tstate);
2799 if (PyErr_Occurred()) return NULL;
2800 } Py_INCREF(Py_None);
2801 _resultobj = Py_None;
2802 return _resultobj;
2803 }
2804
2805 #define wxPyRectangleShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
2806 static PyObject *_wrap_wxPyRectangleShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2807 PyObject * _resultobj;
2808 wxPyRectangleShape * _arg0;
2809 double _arg1;
2810 double _arg2;
2811 PyObject * _argo0 = 0;
2812 char *_kwnames[] = { "self","w","h", NULL };
2813
2814 self = self;
2815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyRectangleShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2))
2816 return NULL;
2817 if (_argo0) {
2818 if (_argo0 == Py_None) { _arg0 = NULL; }
2819 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2820 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnEndSize. Expected _wxPyRectangleShape_p.");
2821 return NULL;
2822 }
2823 }
2824 {
2825 PyThreadState* __tstate = wxPyBeginAllowThreads();
2826 wxPyRectangleShape_base_OnEndSize(_arg0,_arg1,_arg2);
2827
2828 wxPyEndAllowThreads(__tstate);
2829 if (PyErr_Occurred()) return NULL;
2830 } Py_INCREF(Py_None);
2831 _resultobj = Py_None;
2832 return _resultobj;
2833 }
2834
2835 static void *SwigwxPyControlPointTowxPyRectangleShape(void *ptr) {
2836 wxPyControlPoint *src;
2837 wxPyRectangleShape *dest;
2838 src = (wxPyControlPoint *) ptr;
2839 dest = (wxPyRectangleShape *) src;
2840 return (void *) dest;
2841 }
2842
2843 static void *SwigwxPyControlPointTowxPyShape(void *ptr) {
2844 wxPyControlPoint *src;
2845 wxPyShape *dest;
2846 src = (wxPyControlPoint *) ptr;
2847 dest = (wxPyShape *) src;
2848 return (void *) dest;
2849 }
2850
2851 static void *SwigwxPyControlPointTowxPyShapeEvtHandler(void *ptr) {
2852 wxPyControlPoint *src;
2853 wxPyShapeEvtHandler *dest;
2854 src = (wxPyControlPoint *) ptr;
2855 dest = (wxPyShapeEvtHandler *) src;
2856 return (void *) dest;
2857 }
2858
2859 static void *SwigwxPyControlPointTowxObject(void *ptr) {
2860 wxPyControlPoint *src;
2861 wxObject *dest;
2862 src = (wxPyControlPoint *) ptr;
2863 dest = (wxObject *) src;
2864 return (void *) dest;
2865 }
2866
2867 #define new_wxPyControlPoint(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyControlPoint(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2868 static PyObject *_wrap_new_wxPyControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2869 PyObject * _resultobj;
2870 wxPyControlPoint * _result;
2871 wxPyShapeCanvas * _arg0 = (wxPyShapeCanvas *) NULL;
2872 wxPyShape * _arg1 = (wxPyShape *) NULL;
2873 double _arg2 = (double ) 0.0;
2874 double _arg3 = (double ) 0.0;
2875 double _arg4 = (double ) 0.0;
2876 int _arg5 = (int ) 0;
2877 PyObject * _argo0 = 0;
2878 PyObject * _argo1 = 0;
2879 char *_kwnames[] = { "the_canvas","object","size","the_xoffset","the_yoffset","the_type", NULL };
2880 char _ptemp[128];
2881
2882 self = self;
2883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OOdddi:new_wxPyControlPoint",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
2884 return NULL;
2885 if (_argo0) {
2886 if (_argo0 == Py_None) { _arg0 = NULL; }
2887 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeCanvas_p")) {
2888 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPyControlPoint. Expected _wxPyShapeCanvas_p.");
2889 return NULL;
2890 }
2891 }
2892 if (_argo1) {
2893 if (_argo1 == Py_None) { _arg1 = NULL; }
2894 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) {
2895 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxPyControlPoint. Expected _wxPyShape_p.");
2896 return NULL;
2897 }
2898 }
2899 {
2900 PyThreadState* __tstate = wxPyBeginAllowThreads();
2901 _result = (wxPyControlPoint *)new_wxPyControlPoint(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
2902
2903 wxPyEndAllowThreads(__tstate);
2904 if (PyErr_Occurred()) return NULL;
2905 } if (_result) {
2906 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyControlPoint_p");
2907 _resultobj = Py_BuildValue("s",_ptemp);
2908 } else {
2909 Py_INCREF(Py_None);
2910 _resultobj = Py_None;
2911 }
2912 return _resultobj;
2913 }
2914
2915 #define wxPyControlPoint__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2916 static PyObject *_wrap_wxPyControlPoint__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2917 PyObject * _resultobj;
2918 wxPyControlPoint * _arg0;
2919 PyObject * _arg1;
2920 PyObject * _arg2;
2921 PyObject * _argo0 = 0;
2922 PyObject * _obj1 = 0;
2923 PyObject * _obj2 = 0;
2924 char *_kwnames[] = { "self","self","_class", NULL };
2925
2926 self = self;
2927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyControlPoint__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
2928 return NULL;
2929 if (_argo0) {
2930 if (_argo0 == Py_None) { _arg0 = NULL; }
2931 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
2932 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint__setCallbackInfo. Expected _wxPyControlPoint_p.");
2933 return NULL;
2934 }
2935 }
2936 {
2937 _arg1 = _obj1;
2938 }
2939 {
2940 _arg2 = _obj2;
2941 }
2942 {
2943 PyThreadState* __tstate = wxPyBeginAllowThreads();
2944 wxPyControlPoint__setCallbackInfo(_arg0,_arg1,_arg2);
2945
2946 wxPyEndAllowThreads(__tstate);
2947 if (PyErr_Occurred()) return NULL;
2948 } Py_INCREF(Py_None);
2949 _resultobj = Py_None;
2950 return _resultobj;
2951 }
2952
2953 #define wxPyControlPoint_SetCornerRadius(_swigobj,_swigarg0) (_swigobj->SetCornerRadius(_swigarg0))
2954 static PyObject *_wrap_wxPyControlPoint_SetCornerRadius(PyObject *self, PyObject *args, PyObject *kwargs) {
2955 PyObject * _resultobj;
2956 wxPyControlPoint * _arg0;
2957 double _arg1;
2958 PyObject * _argo0 = 0;
2959 char *_kwnames[] = { "self","radius", NULL };
2960
2961 self = self;
2962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Od:wxPyControlPoint_SetCornerRadius",_kwnames,&_argo0,&_arg1))
2963 return NULL;
2964 if (_argo0) {
2965 if (_argo0 == Py_None) { _arg0 = NULL; }
2966 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
2967 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_SetCornerRadius. Expected _wxPyControlPoint_p.");
2968 return NULL;
2969 }
2970 }
2971 {
2972 PyThreadState* __tstate = wxPyBeginAllowThreads();
2973 wxPyControlPoint_SetCornerRadius(_arg0,_arg1);
2974
2975 wxPyEndAllowThreads(__tstate);
2976 if (PyErr_Occurred()) return NULL;
2977 } Py_INCREF(Py_None);
2978 _resultobj = Py_None;
2979 return _resultobj;
2980 }
2981
2982 #define wxPyControlPoint_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
2983 static PyObject *_wrap_wxPyControlPoint_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
2984 PyObject * _resultobj;
2985 wxPyControlPoint * _arg0;
2986 PyObject * _argo0 = 0;
2987 char *_kwnames[] = { "self", NULL };
2988
2989 self = self;
2990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControlPoint_base_OnDelete",_kwnames,&_argo0))
2991 return NULL;
2992 if (_argo0) {
2993 if (_argo0 == Py_None) { _arg0 = NULL; }
2994 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
2995 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDelete. Expected _wxPyControlPoint_p.");
2996 return NULL;
2997 }
2998 }
2999 {
3000 PyThreadState* __tstate = wxPyBeginAllowThreads();
3001 wxPyControlPoint_base_OnDelete(_arg0);
3002
3003 wxPyEndAllowThreads(__tstate);
3004 if (PyErr_Occurred()) return NULL;
3005 } Py_INCREF(Py_None);
3006 _resultobj = Py_None;
3007 return _resultobj;
3008 }
3009
3010 #define wxPyControlPoint_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
3011 static PyObject *_wrap_wxPyControlPoint_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
3012 PyObject * _resultobj;
3013 wxPyControlPoint * _arg0;
3014 wxDC * _arg1;
3015 PyObject * _argo0 = 0;
3016 PyObject * _argo1 = 0;
3017 char *_kwnames[] = { "self","dc", NULL };
3018
3019 self = self;
3020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnDraw",_kwnames,&_argo0,&_argo1))
3021 return NULL;
3022 if (_argo0) {
3023 if (_argo0 == Py_None) { _arg0 = NULL; }
3024 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3025 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDraw. Expected _wxPyControlPoint_p.");
3026 return NULL;
3027 }
3028 }
3029 if (_argo1) {
3030 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3031 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnDraw. Expected _wxDC_p.");
3032 return NULL;
3033 }
3034 }
3035 {
3036 PyThreadState* __tstate = wxPyBeginAllowThreads();
3037 wxPyControlPoint_base_OnDraw(_arg0,*_arg1);
3038
3039 wxPyEndAllowThreads(__tstate);
3040 if (PyErr_Occurred()) return NULL;
3041 } Py_INCREF(Py_None);
3042 _resultobj = Py_None;
3043 return _resultobj;
3044 }
3045
3046 #define wxPyControlPoint_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
3047 static PyObject *_wrap_wxPyControlPoint_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
3048 PyObject * _resultobj;
3049 wxPyControlPoint * _arg0;
3050 wxDC * _arg1;
3051 PyObject * _argo0 = 0;
3052 PyObject * _argo1 = 0;
3053 char *_kwnames[] = { "self","dc", NULL };
3054
3055 self = self;
3056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnDrawContents",_kwnames,&_argo0,&_argo1))
3057 return NULL;
3058 if (_argo0) {
3059 if (_argo0 == Py_None) { _arg0 = NULL; }
3060 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3061 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDrawContents. Expected _wxPyControlPoint_p.");
3062 return NULL;
3063 }
3064 }
3065 if (_argo1) {
3066 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3067 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnDrawContents. Expected _wxDC_p.");
3068 return NULL;
3069 }
3070 }
3071 {
3072 PyThreadState* __tstate = wxPyBeginAllowThreads();
3073 wxPyControlPoint_base_OnDrawContents(_arg0,*_arg1);
3074
3075 wxPyEndAllowThreads(__tstate);
3076 if (PyErr_Occurred()) return NULL;
3077 } Py_INCREF(Py_None);
3078 _resultobj = Py_None;
3079 return _resultobj;
3080 }
3081
3082 #define wxPyControlPoint_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
3083 static PyObject *_wrap_wxPyControlPoint_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
3084 PyObject * _resultobj;
3085 wxPyControlPoint * _arg0;
3086 wxDC * _arg1;
3087 bool _arg2 = (bool ) FALSE;
3088 PyObject * _argo0 = 0;
3089 PyObject * _argo1 = 0;
3090 int tempbool2 = (int) FALSE;
3091 char *_kwnames[] = { "self","dc","erase", NULL };
3092
3093 self = self;
3094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyControlPoint_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2))
3095 return NULL;
3096 if (_argo0) {
3097 if (_argo0 == Py_None) { _arg0 = NULL; }
3098 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3099 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDrawBranches. Expected _wxPyControlPoint_p.");
3100 return NULL;
3101 }
3102 }
3103 if (_argo1) {
3104 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3105 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnDrawBranches. Expected _wxDC_p.");
3106 return NULL;
3107 }
3108 }
3109 _arg2 = (bool ) tempbool2;
3110 {
3111 PyThreadState* __tstate = wxPyBeginAllowThreads();
3112 wxPyControlPoint_base_OnDrawBranches(_arg0,*_arg1,_arg2);
3113
3114 wxPyEndAllowThreads(__tstate);
3115 if (PyErr_Occurred()) return NULL;
3116 } Py_INCREF(Py_None);
3117 _resultobj = Py_None;
3118 return _resultobj;
3119 }
3120
3121 #define wxPyControlPoint_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
3122 static PyObject *_wrap_wxPyControlPoint_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
3123 PyObject * _resultobj;
3124 wxPyControlPoint * _arg0;
3125 wxDC * _arg1;
3126 PyObject * _argo0 = 0;
3127 PyObject * _argo1 = 0;
3128 char *_kwnames[] = { "self","dc", NULL };
3129
3130 self = self;
3131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnMoveLinks",_kwnames,&_argo0,&_argo1))
3132 return NULL;
3133 if (_argo0) {
3134 if (_argo0 == Py_None) { _arg0 = NULL; }
3135 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3136 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnMoveLinks. Expected _wxPyControlPoint_p.");
3137 return NULL;
3138 }
3139 }
3140 if (_argo1) {
3141 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3142 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnMoveLinks. Expected _wxDC_p.");
3143 return NULL;
3144 }
3145 }
3146 {
3147 PyThreadState* __tstate = wxPyBeginAllowThreads();
3148 wxPyControlPoint_base_OnMoveLinks(_arg0,*_arg1);
3149
3150 wxPyEndAllowThreads(__tstate);
3151 if (PyErr_Occurred()) return NULL;
3152 } Py_INCREF(Py_None);
3153 _resultobj = Py_None;
3154 return _resultobj;
3155 }
3156
3157 #define wxPyControlPoint_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
3158 static PyObject *_wrap_wxPyControlPoint_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
3159 PyObject * _resultobj;
3160 wxPyControlPoint * _arg0;
3161 wxDC * _arg1;
3162 PyObject * _argo0 = 0;
3163 PyObject * _argo1 = 0;
3164 char *_kwnames[] = { "self","dc", NULL };
3165
3166 self = self;
3167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnErase",_kwnames,&_argo0,&_argo1))
3168 return NULL;
3169 if (_argo0) {
3170 if (_argo0 == Py_None) { _arg0 = NULL; }
3171 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3172 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnErase. Expected _wxPyControlPoint_p.");
3173 return NULL;
3174 }
3175 }
3176 if (_argo1) {
3177 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3178 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnErase. Expected _wxDC_p.");
3179 return NULL;
3180 }
3181 }
3182 {
3183 PyThreadState* __tstate = wxPyBeginAllowThreads();
3184 wxPyControlPoint_base_OnErase(_arg0,*_arg1);
3185
3186 wxPyEndAllowThreads(__tstate);
3187 if (PyErr_Occurred()) return NULL;
3188 } Py_INCREF(Py_None);
3189 _resultobj = Py_None;
3190 return _resultobj;
3191 }
3192
3193 #define wxPyControlPoint_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
3194 static PyObject *_wrap_wxPyControlPoint_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
3195 PyObject * _resultobj;
3196 wxPyControlPoint * _arg0;
3197 wxDC * _arg1;
3198 PyObject * _argo0 = 0;
3199 PyObject * _argo1 = 0;
3200 char *_kwnames[] = { "self","dc", NULL };
3201
3202 self = self;
3203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnEraseContents",_kwnames,&_argo0,&_argo1))
3204 return NULL;
3205 if (_argo0) {
3206 if (_argo0 == Py_None) { _arg0 = NULL; }
3207 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3208 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnEraseContents. Expected _wxPyControlPoint_p.");
3209 return NULL;
3210 }
3211 }
3212 if (_argo1) {
3213 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3214 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnEraseContents. Expected _wxDC_p.");
3215 return NULL;
3216 }
3217 }
3218 {
3219 PyThreadState* __tstate = wxPyBeginAllowThreads();
3220 wxPyControlPoint_base_OnEraseContents(_arg0,*_arg1);
3221
3222 wxPyEndAllowThreads(__tstate);
3223 if (PyErr_Occurred()) return NULL;
3224 } Py_INCREF(Py_None);
3225 _resultobj = Py_None;
3226 return _resultobj;
3227 }
3228
3229 #define wxPyControlPoint_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
3230 static PyObject *_wrap_wxPyControlPoint_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
3231 PyObject * _resultobj;
3232 wxPyControlPoint * _arg0;
3233 wxDC * _arg1;
3234 PyObject * _argo0 = 0;
3235 PyObject * _argo1 = 0;
3236 char *_kwnames[] = { "self","dc", NULL };
3237
3238 self = self;
3239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnHighlight",_kwnames,&_argo0,&_argo1))
3240 return NULL;
3241 if (_argo0) {
3242 if (_argo0 == Py_None) { _arg0 = NULL; }
3243 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3244 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnHighlight. Expected _wxPyControlPoint_p.");
3245 return NULL;
3246 }
3247 }
3248 if (_argo1) {
3249 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3250 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnHighlight. Expected _wxDC_p.");
3251 return NULL;
3252 }
3253 }
3254 {
3255 PyThreadState* __tstate = wxPyBeginAllowThreads();
3256 wxPyControlPoint_base_OnHighlight(_arg0,*_arg1);
3257
3258 wxPyEndAllowThreads(__tstate);
3259 if (PyErr_Occurred()) return NULL;
3260 } Py_INCREF(Py_None);
3261 _resultobj = Py_None;
3262 return _resultobj;
3263 }
3264
3265 #define wxPyControlPoint_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3266 static PyObject *_wrap_wxPyControlPoint_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
3267 PyObject * _resultobj;
3268 wxPyControlPoint * _arg0;
3269 double _arg1;
3270 double _arg2;
3271 int _arg3 = (int ) 0;
3272 int _arg4 = (int ) 0;
3273 PyObject * _argo0 = 0;
3274 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
3275
3276 self = self;
3277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
3278 return NULL;
3279 if (_argo0) {
3280 if (_argo0 == Py_None) { _arg0 = NULL; }
3281 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3282 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnLeftClick. Expected _wxPyControlPoint_p.");
3283 return NULL;
3284 }
3285 }
3286 {
3287 PyThreadState* __tstate = wxPyBeginAllowThreads();
3288 wxPyControlPoint_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4);
3289
3290 wxPyEndAllowThreads(__tstate);
3291 if (PyErr_Occurred()) return NULL;
3292 } Py_INCREF(Py_None);
3293 _resultobj = Py_None;
3294 return _resultobj;
3295 }
3296
3297 #define wxPyControlPoint_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3298 static PyObject *_wrap_wxPyControlPoint_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
3299 PyObject * _resultobj;
3300 wxPyControlPoint * _arg0;
3301 double _arg1;
3302 double _arg2;
3303 int _arg3 = (int ) 0;
3304 int _arg4 = (int ) 0;
3305 PyObject * _argo0 = 0;
3306 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
3307
3308 self = self;
3309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
3310 return NULL;
3311 if (_argo0) {
3312 if (_argo0 == Py_None) { _arg0 = NULL; }
3313 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3314 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnLeftDoubleClick. Expected _wxPyControlPoint_p.");
3315 return NULL;
3316 }
3317 }
3318 {
3319 PyThreadState* __tstate = wxPyBeginAllowThreads();
3320 wxPyControlPoint_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4);
3321
3322 wxPyEndAllowThreads(__tstate);
3323 if (PyErr_Occurred()) return NULL;
3324 } Py_INCREF(Py_None);
3325 _resultobj = Py_None;
3326 return _resultobj;
3327 }
3328
3329 #define wxPyControlPoint_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3330 static PyObject *_wrap_wxPyControlPoint_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
3331 PyObject * _resultobj;
3332 wxPyControlPoint * _arg0;
3333 double _arg1;
3334 double _arg2;
3335 int _arg3 = (int ) 0;
3336 int _arg4 = (int ) 0;
3337 PyObject * _argo0 = 0;
3338 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
3339
3340 self = self;
3341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
3342 return NULL;
3343 if (_argo0) {
3344 if (_argo0 == Py_None) { _arg0 = NULL; }
3345 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3346 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnRightClick. Expected _wxPyControlPoint_p.");
3347 return NULL;
3348 }
3349 }
3350 {
3351 PyThreadState* __tstate = wxPyBeginAllowThreads();
3352 wxPyControlPoint_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4);
3353
3354 wxPyEndAllowThreads(__tstate);
3355 if (PyErr_Occurred()) return NULL;
3356 } Py_INCREF(Py_None);
3357 _resultobj = Py_None;
3358 return _resultobj;
3359 }
3360
3361 #define wxPyControlPoint_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
3362 static PyObject *_wrap_wxPyControlPoint_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3363 PyObject * _resultobj;
3364 wxPyControlPoint * _arg0;
3365 double _arg1;
3366 double _arg2;
3367 PyObject * _argo0 = 0;
3368 char *_kwnames[] = { "self","x","y", NULL };
3369
3370 self = self;
3371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyControlPoint_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2))
3372 return NULL;
3373 if (_argo0) {
3374 if (_argo0 == Py_None) { _arg0 = NULL; }
3375 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3376 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnSize. Expected _wxPyControlPoint_p.");
3377 return NULL;
3378 }
3379 }
3380 {
3381 PyThreadState* __tstate = wxPyBeginAllowThreads();
3382 wxPyControlPoint_base_OnSize(_arg0,_arg1,_arg2);
3383
3384 wxPyEndAllowThreads(__tstate);
3385 if (PyErr_Occurred()) return NULL;
3386 } Py_INCREF(Py_None);
3387 _resultobj = Py_None;
3388 return _resultobj;
3389 }
3390
3391 #define wxPyControlPoint_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3392 static PyObject *_wrap_wxPyControlPoint_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
3393 PyObject * _resultobj;
3394 bool _result;
3395 wxPyControlPoint * _arg0;
3396 wxDC * _arg1;
3397 double _arg2;
3398 double _arg3;
3399 double _arg4;
3400 double _arg5;
3401 bool _arg6 = (bool ) TRUE;
3402 PyObject * _argo0 = 0;
3403 PyObject * _argo1 = 0;
3404 int tempbool6 = (int) TRUE;
3405 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
3406
3407 self = self;
3408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyControlPoint_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
3409 return NULL;
3410 if (_argo0) {
3411 if (_argo0 == Py_None) { _arg0 = NULL; }
3412 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3413 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnMovePre. Expected _wxPyControlPoint_p.");
3414 return NULL;
3415 }
3416 }
3417 if (_argo1) {
3418 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3419 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnMovePre. Expected _wxDC_p.");
3420 return NULL;
3421 }
3422 }
3423 _arg6 = (bool ) tempbool6;
3424 {
3425 PyThreadState* __tstate = wxPyBeginAllowThreads();
3426 _result = (bool )wxPyControlPoint_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
3427
3428 wxPyEndAllowThreads(__tstate);
3429 if (PyErr_Occurred()) return NULL;
3430 } _resultobj = Py_BuildValue("i",_result);
3431 return _resultobj;
3432 }
3433
3434 #define wxPyControlPoint_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3435 static PyObject *_wrap_wxPyControlPoint_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
3436 PyObject * _resultobj;
3437 wxPyControlPoint * _arg0;
3438 wxDC * _arg1;
3439 double _arg2;
3440 double _arg3;
3441 double _arg4;
3442 double _arg5;
3443 bool _arg6 = (bool ) TRUE;
3444 PyObject * _argo0 = 0;
3445 PyObject * _argo1 = 0;
3446 int tempbool6 = (int) TRUE;
3447 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
3448
3449 self = self;
3450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyControlPoint_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
3451 return NULL;
3452 if (_argo0) {
3453 if (_argo0 == Py_None) { _arg0 = NULL; }
3454 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3455 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnMovePost. Expected _wxPyControlPoint_p.");
3456 return NULL;
3457 }
3458 }
3459 if (_argo1) {
3460 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3461 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnMovePost. Expected _wxDC_p.");
3462 return NULL;
3463 }
3464 }
3465 _arg6 = (bool ) tempbool6;
3466 {
3467 PyThreadState* __tstate = wxPyBeginAllowThreads();
3468 wxPyControlPoint_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
3469
3470 wxPyEndAllowThreads(__tstate);
3471 if (PyErr_Occurred()) return NULL;
3472 } Py_INCREF(Py_None);
3473 _resultobj = Py_None;
3474 return _resultobj;
3475 }
3476
3477 #define wxPyControlPoint_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3478 static PyObject *_wrap_wxPyControlPoint_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3479 PyObject * _resultobj;
3480 wxPyControlPoint * _arg0;
3481 bool _arg1;
3482 double _arg2;
3483 double _arg3;
3484 int _arg4 = (int ) 0;
3485 int _arg5 = (int ) 0;
3486 PyObject * _argo0 = 0;
3487 int tempbool1;
3488 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
3489
3490 self = self;
3491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyControlPoint_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
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_OnDragLeft. Expected _wxPyControlPoint_p.");
3497 return NULL;
3498 }
3499 }
3500 _arg1 = (bool ) tempbool1;
3501 {
3502 PyThreadState* __tstate = wxPyBeginAllowThreads();
3503 wxPyControlPoint_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
3504
3505 wxPyEndAllowThreads(__tstate);
3506 if (PyErr_Occurred()) return NULL;
3507 } Py_INCREF(Py_None);
3508 _resultobj = Py_None;
3509 return _resultobj;
3510 }
3511
3512 #define wxPyControlPoint_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3513 static PyObject *_wrap_wxPyControlPoint_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3514 PyObject * _resultobj;
3515 wxPyControlPoint * _arg0;
3516 double _arg1;
3517 double _arg2;
3518 int _arg3 = (int ) 0;
3519 int _arg4 = (int ) 0;
3520 PyObject * _argo0 = 0;
3521 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
3522
3523 self = self;
3524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
3525 return NULL;
3526 if (_argo0) {
3527 if (_argo0 == Py_None) { _arg0 = NULL; }
3528 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3529 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnBeginDragLeft. Expected _wxPyControlPoint_p.");
3530 return NULL;
3531 }
3532 }
3533 {
3534 PyThreadState* __tstate = wxPyBeginAllowThreads();
3535 wxPyControlPoint_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
3536
3537 wxPyEndAllowThreads(__tstate);
3538 if (PyErr_Occurred()) return NULL;
3539 } Py_INCREF(Py_None);
3540 _resultobj = Py_None;
3541 return _resultobj;
3542 }
3543
3544 #define wxPyControlPoint_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3545 static PyObject *_wrap_wxPyControlPoint_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3546 PyObject * _resultobj;
3547 wxPyControlPoint * _arg0;
3548 double _arg1;
3549 double _arg2;
3550 int _arg3 = (int ) 0;
3551 int _arg4 = (int ) 0;
3552 PyObject * _argo0 = 0;
3553 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
3554
3555 self = self;
3556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
3557 return NULL;
3558 if (_argo0) {
3559 if (_argo0 == Py_None) { _arg0 = NULL; }
3560 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3561 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnEndDragLeft. Expected _wxPyControlPoint_p.");
3562 return NULL;
3563 }
3564 }
3565 {
3566 PyThreadState* __tstate = wxPyBeginAllowThreads();
3567 wxPyControlPoint_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
3568
3569 wxPyEndAllowThreads(__tstate);
3570 if (PyErr_Occurred()) return NULL;
3571 } Py_INCREF(Py_None);
3572 _resultobj = Py_None;
3573 return _resultobj;
3574 }
3575
3576 #define wxPyControlPoint_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3577 static PyObject *_wrap_wxPyControlPoint_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3578 PyObject * _resultobj;
3579 wxPyControlPoint * _arg0;
3580 bool _arg1;
3581 double _arg2;
3582 double _arg3;
3583 int _arg4 = (int ) 0;
3584 int _arg5 = (int ) 0;
3585 PyObject * _argo0 = 0;
3586 int tempbool1;
3587 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
3588
3589 self = self;
3590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyControlPoint_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
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_OnDragRight. Expected _wxPyControlPoint_p.");
3596 return NULL;
3597 }
3598 }
3599 _arg1 = (bool ) tempbool1;
3600 {
3601 PyThreadState* __tstate = wxPyBeginAllowThreads();
3602 wxPyControlPoint_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
3603
3604 wxPyEndAllowThreads(__tstate);
3605 if (PyErr_Occurred()) return NULL;
3606 } Py_INCREF(Py_None);
3607 _resultobj = Py_None;
3608 return _resultobj;
3609 }
3610
3611 #define wxPyControlPoint_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3612 static PyObject *_wrap_wxPyControlPoint_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3613 PyObject * _resultobj;
3614 wxPyControlPoint * _arg0;
3615 double _arg1;
3616 double _arg2;
3617 int _arg3 = (int ) 0;
3618 int _arg4 = (int ) 0;
3619 PyObject * _argo0 = 0;
3620 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
3621
3622 self = self;
3623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
3624 return NULL;
3625 if (_argo0) {
3626 if (_argo0 == Py_None) { _arg0 = NULL; }
3627 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3628 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnBeginDragRight. Expected _wxPyControlPoint_p.");
3629 return NULL;
3630 }
3631 }
3632 {
3633 PyThreadState* __tstate = wxPyBeginAllowThreads();
3634 wxPyControlPoint_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
3635
3636 wxPyEndAllowThreads(__tstate);
3637 if (PyErr_Occurred()) return NULL;
3638 } Py_INCREF(Py_None);
3639 _resultobj = Py_None;
3640 return _resultobj;
3641 }
3642
3643 #define wxPyControlPoint_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3644 static PyObject *_wrap_wxPyControlPoint_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3645 PyObject * _resultobj;
3646 wxPyControlPoint * _arg0;
3647 double _arg1;
3648 double _arg2;
3649 int _arg3 = (int ) 0;
3650 int _arg4 = (int ) 0;
3651 PyObject * _argo0 = 0;
3652 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
3653
3654 self = self;
3655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
3656 return NULL;
3657 if (_argo0) {
3658 if (_argo0 == Py_None) { _arg0 = NULL; }
3659 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3660 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnEndDragRight. Expected _wxPyControlPoint_p.");
3661 return NULL;
3662 }
3663 }
3664 {
3665 PyThreadState* __tstate = wxPyBeginAllowThreads();
3666 wxPyControlPoint_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
3667
3668 wxPyEndAllowThreads(__tstate);
3669 if (PyErr_Occurred()) return NULL;
3670 } Py_INCREF(Py_None);
3671 _resultobj = Py_None;
3672 return _resultobj;
3673 }
3674
3675 #define wxPyControlPoint_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3676 static PyObject *_wrap_wxPyControlPoint_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
3677 PyObject * _resultobj;
3678 wxPyControlPoint * _arg0;
3679 wxDC * _arg1;
3680 double _arg2;
3681 double _arg3;
3682 double _arg4;
3683 double _arg5;
3684 PyObject * _argo0 = 0;
3685 PyObject * _argo1 = 0;
3686 char *_kwnames[] = { "self","dc","x","y","w","h", NULL };
3687
3688 self = self;
3689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyControlPoint_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
3690 return NULL;
3691 if (_argo0) {
3692 if (_argo0 == Py_None) { _arg0 = NULL; }
3693 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3694 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDrawOutline. Expected _wxPyControlPoint_p.");
3695 return NULL;
3696 }
3697 }
3698 if (_argo1) {
3699 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3700 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnDrawOutline. Expected _wxDC_p.");
3701 return NULL;
3702 }
3703 }
3704 {
3705 PyThreadState* __tstate = wxPyBeginAllowThreads();
3706 wxPyControlPoint_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5);
3707
3708 wxPyEndAllowThreads(__tstate);
3709 if (PyErr_Occurred()) return NULL;
3710 } Py_INCREF(Py_None);
3711 _resultobj = Py_None;
3712 return _resultobj;
3713 }
3714
3715 #define wxPyControlPoint_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
3716 static PyObject *_wrap_wxPyControlPoint_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
3717 PyObject * _resultobj;
3718 wxPyControlPoint * _arg0;
3719 wxDC * _arg1;
3720 PyObject * _argo0 = 0;
3721 PyObject * _argo1 = 0;
3722 char *_kwnames[] = { "self","dc", NULL };
3723
3724 self = self;
3725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1))
3726 return NULL;
3727 if (_argo0) {
3728 if (_argo0 == Py_None) { _arg0 = NULL; }
3729 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3730 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDrawControlPoints. Expected _wxPyControlPoint_p.");
3731 return NULL;
3732 }
3733 }
3734 if (_argo1) {
3735 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3736 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnDrawControlPoints. Expected _wxDC_p.");
3737 return NULL;
3738 }
3739 }
3740 {
3741 PyThreadState* __tstate = wxPyBeginAllowThreads();
3742 wxPyControlPoint_base_OnDrawControlPoints(_arg0,*_arg1);
3743
3744 wxPyEndAllowThreads(__tstate);
3745 if (PyErr_Occurred()) return NULL;
3746 } Py_INCREF(Py_None);
3747 _resultobj = Py_None;
3748 return _resultobj;
3749 }
3750
3751 #define wxPyControlPoint_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
3752 static PyObject *_wrap_wxPyControlPoint_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
3753 PyObject * _resultobj;
3754 wxPyControlPoint * _arg0;
3755 wxDC * _arg1;
3756 PyObject * _argo0 = 0;
3757 PyObject * _argo1 = 0;
3758 char *_kwnames[] = { "self","dc", NULL };
3759
3760 self = self;
3761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1))
3762 return NULL;
3763 if (_argo0) {
3764 if (_argo0 == Py_None) { _arg0 = NULL; }
3765 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3766 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnEraseControlPoints. Expected _wxPyControlPoint_p.");
3767 return NULL;
3768 }
3769 }
3770 if (_argo1) {
3771 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3772 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnEraseControlPoints. Expected _wxDC_p.");
3773 return NULL;
3774 }
3775 }
3776 {
3777 PyThreadState* __tstate = wxPyBeginAllowThreads();
3778 wxPyControlPoint_base_OnEraseControlPoints(_arg0,*_arg1);
3779
3780 wxPyEndAllowThreads(__tstate);
3781 if (PyErr_Occurred()) return NULL;
3782 } Py_INCREF(Py_None);
3783 _resultobj = Py_None;
3784 return _resultobj;
3785 }
3786
3787 #define wxPyControlPoint_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
3788 static PyObject *_wrap_wxPyControlPoint_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
3789 PyObject * _resultobj;
3790 wxPyControlPoint * _arg0;
3791 wxDC * _arg1;
3792 bool _arg2 = (bool ) TRUE;
3793 PyObject * _argo0 = 0;
3794 PyObject * _argo1 = 0;
3795 int tempbool2 = (int) TRUE;
3796 char *_kwnames[] = { "self","dc","moveControlPoints", NULL };
3797
3798 self = self;
3799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyControlPoint_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2))
3800 return NULL;
3801 if (_argo0) {
3802 if (_argo0 == Py_None) { _arg0 = NULL; }
3803 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3804 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnMoveLink. Expected _wxPyControlPoint_p.");
3805 return NULL;
3806 }
3807 }
3808 if (_argo1) {
3809 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3810 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnMoveLink. Expected _wxDC_p.");
3811 return NULL;
3812 }
3813 }
3814 _arg2 = (bool ) tempbool2;
3815 {
3816 PyThreadState* __tstate = wxPyBeginAllowThreads();
3817 wxPyControlPoint_base_OnMoveLink(_arg0,*_arg1,_arg2);
3818
3819 wxPyEndAllowThreads(__tstate);
3820 if (PyErr_Occurred()) return NULL;
3821 } Py_INCREF(Py_None);
3822 _resultobj = Py_None;
3823 return _resultobj;
3824 }
3825
3826 #define wxPyControlPoint_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3827 static PyObject *_wrap_wxPyControlPoint_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3828 PyObject * _resultobj;
3829 wxPyControlPoint * _arg0;
3830 wxPyControlPoint * _arg1;
3831 bool _arg2;
3832 double _arg3;
3833 double _arg4;
3834 int _arg5 = (int ) 0;
3835 int _arg6 = (int ) 0;
3836 PyObject * _argo0 = 0;
3837 PyObject * _argo1 = 0;
3838 int tempbool2;
3839 char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL };
3840
3841 self = self;
3842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyControlPoint_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6))
3843 return NULL;
3844 if (_argo0) {
3845 if (_argo0 == Py_None) { _arg0 = NULL; }
3846 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3847 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
3848 return NULL;
3849 }
3850 }
3851 if (_argo1) {
3852 if (_argo1 == Py_None) { _arg1 = NULL; }
3853 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
3854 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
3855 return NULL;
3856 }
3857 }
3858 _arg2 = (bool ) tempbool2;
3859 {
3860 PyThreadState* __tstate = wxPyBeginAllowThreads();
3861 wxPyControlPoint_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
3862
3863 wxPyEndAllowThreads(__tstate);
3864 if (PyErr_Occurred()) return NULL;
3865 } Py_INCREF(Py_None);
3866 _resultobj = Py_None;
3867 return _resultobj;
3868 }
3869
3870 #define wxPyControlPoint_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3871 static PyObject *_wrap_wxPyControlPoint_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3872 PyObject * _resultobj;
3873 wxPyControlPoint * _arg0;
3874 wxPyControlPoint * _arg1;
3875 double _arg2;
3876 double _arg3;
3877 int _arg4 = (int ) 0;
3878 int _arg5 = (int ) 0;
3879 PyObject * _argo0 = 0;
3880 PyObject * _argo1 = 0;
3881 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
3882
3883 self = self;
3884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyControlPoint_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
3885 return NULL;
3886 if (_argo0) {
3887 if (_argo0 == Py_None) { _arg0 = NULL; }
3888 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3889 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
3890 return NULL;
3891 }
3892 }
3893 if (_argo1) {
3894 if (_argo1 == Py_None) { _arg1 = NULL; }
3895 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
3896 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
3897 return NULL;
3898 }
3899 }
3900 {
3901 PyThreadState* __tstate = wxPyBeginAllowThreads();
3902 wxPyControlPoint_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
3903
3904 wxPyEndAllowThreads(__tstate);
3905 if (PyErr_Occurred()) return NULL;
3906 } Py_INCREF(Py_None);
3907 _resultobj = Py_None;
3908 return _resultobj;
3909 }
3910
3911 #define wxPyControlPoint_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3912 static PyObject *_wrap_wxPyControlPoint_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3913 PyObject * _resultobj;
3914 wxPyControlPoint * _arg0;
3915 wxPyControlPoint * _arg1;
3916 double _arg2;
3917 double _arg3;
3918 int _arg4 = (int ) 0;
3919 int _arg5 = (int ) 0;
3920 PyObject * _argo0 = 0;
3921 PyObject * _argo1 = 0;
3922 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
3923
3924 self = self;
3925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyControlPoint_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
3926 return NULL;
3927 if (_argo0) {
3928 if (_argo0 == Py_None) { _arg0 = NULL; }
3929 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3930 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
3931 return NULL;
3932 }
3933 }
3934 if (_argo1) {
3935 if (_argo1 == Py_None) { _arg1 = NULL; }
3936 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
3937 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
3938 return NULL;
3939 }
3940 }
3941 {
3942 PyThreadState* __tstate = wxPyBeginAllowThreads();
3943 wxPyControlPoint_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
3944
3945 wxPyEndAllowThreads(__tstate);
3946 if (PyErr_Occurred()) return NULL;
3947 } Py_INCREF(Py_None);
3948 _resultobj = Py_None;
3949 return _resultobj;
3950 }
3951
3952 #define wxPyControlPoint_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
3953 static PyObject *_wrap_wxPyControlPoint_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3954 PyObject * _resultobj;
3955 wxPyControlPoint * _arg0;
3956 double _arg1;
3957 double _arg2;
3958 PyObject * _argo0 = 0;
3959 char *_kwnames[] = { "self","w","h", NULL };
3960
3961 self = self;
3962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyControlPoint_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2))
3963 return NULL;
3964 if (_argo0) {
3965 if (_argo0 == Py_None) { _arg0 = NULL; }
3966 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3967 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnBeginSize. Expected _wxPyControlPoint_p.");
3968 return NULL;
3969 }
3970 }
3971 {
3972 PyThreadState* __tstate = wxPyBeginAllowThreads();
3973 wxPyControlPoint_base_OnBeginSize(_arg0,_arg1,_arg2);
3974
3975 wxPyEndAllowThreads(__tstate);
3976 if (PyErr_Occurred()) return NULL;
3977 } Py_INCREF(Py_None);
3978 _resultobj = Py_None;
3979 return _resultobj;
3980 }
3981
3982 #define wxPyControlPoint_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
3983 static PyObject *_wrap_wxPyControlPoint_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3984 PyObject * _resultobj;
3985 wxPyControlPoint * _arg0;
3986 double _arg1;
3987 double _arg2;
3988 PyObject * _argo0 = 0;
3989 char *_kwnames[] = { "self","w","h", NULL };
3990
3991 self = self;
3992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyControlPoint_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2))
3993 return NULL;
3994 if (_argo0) {
3995 if (_argo0 == Py_None) { _arg0 = NULL; }
3996 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3997 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnEndSize. Expected _wxPyControlPoint_p.");
3998 return NULL;
3999 }
4000 }
4001 {
4002 PyThreadState* __tstate = wxPyBeginAllowThreads();
4003 wxPyControlPoint_base_OnEndSize(_arg0,_arg1,_arg2);
4004
4005 wxPyEndAllowThreads(__tstate);
4006 if (PyErr_Occurred()) return NULL;
4007 } Py_INCREF(Py_None);
4008 _resultobj = Py_None;
4009 return _resultobj;
4010 }
4011
4012 static void *SwigwxPyBitmapShapeTowxPyRectangleShape(void *ptr) {
4013 wxPyBitmapShape *src;
4014 wxPyRectangleShape *dest;
4015 src = (wxPyBitmapShape *) ptr;
4016 dest = (wxPyRectangleShape *) src;
4017 return (void *) dest;
4018 }
4019
4020 static void *SwigwxPyBitmapShapeTowxPyShape(void *ptr) {
4021 wxPyBitmapShape *src;
4022 wxPyShape *dest;
4023 src = (wxPyBitmapShape *) ptr;
4024 dest = (wxPyShape *) src;
4025 return (void *) dest;
4026 }
4027
4028 static void *SwigwxPyBitmapShapeTowxPyShapeEvtHandler(void *ptr) {
4029 wxPyBitmapShape *src;
4030 wxPyShapeEvtHandler *dest;
4031 src = (wxPyBitmapShape *) ptr;
4032 dest = (wxPyShapeEvtHandler *) src;
4033 return (void *) dest;
4034 }
4035
4036 static void *SwigwxPyBitmapShapeTowxObject(void *ptr) {
4037 wxPyBitmapShape *src;
4038 wxObject *dest;
4039 src = (wxPyBitmapShape *) ptr;
4040 dest = (wxObject *) src;
4041 return (void *) dest;
4042 }
4043
4044 #define new_wxPyBitmapShape() (new wxPyBitmapShape())
4045 static PyObject *_wrap_new_wxPyBitmapShape(PyObject *self, PyObject *args, PyObject *kwargs) {
4046 PyObject * _resultobj;
4047 wxPyBitmapShape * _result;
4048 char *_kwnames[] = { NULL };
4049 char _ptemp[128];
4050
4051 self = self;
4052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyBitmapShape",_kwnames))
4053 return NULL;
4054 {
4055 PyThreadState* __tstate = wxPyBeginAllowThreads();
4056 _result = (wxPyBitmapShape *)new_wxPyBitmapShape();
4057
4058 wxPyEndAllowThreads(__tstate);
4059 if (PyErr_Occurred()) return NULL;
4060 } if (_result) {
4061 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyBitmapShape_p");
4062 _resultobj = Py_BuildValue("s",_ptemp);
4063 } else {
4064 Py_INCREF(Py_None);
4065 _resultobj = Py_None;
4066 }
4067 return _resultobj;
4068 }
4069
4070 #define wxPyBitmapShape__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4071 static PyObject *_wrap_wxPyBitmapShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4072 PyObject * _resultobj;
4073 wxPyBitmapShape * _arg0;
4074 PyObject * _arg1;
4075 PyObject * _arg2;
4076 PyObject * _argo0 = 0;
4077 PyObject * _obj1 = 0;
4078 PyObject * _obj2 = 0;
4079 char *_kwnames[] = { "self","self","_class", NULL };
4080
4081 self = self;
4082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyBitmapShape__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
4083 return NULL;
4084 if (_argo0) {
4085 if (_argo0 == Py_None) { _arg0 = NULL; }
4086 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4087 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape__setCallbackInfo. Expected _wxPyBitmapShape_p.");
4088 return NULL;
4089 }
4090 }
4091 {
4092 _arg1 = _obj1;
4093 }
4094 {
4095 _arg2 = _obj2;
4096 }
4097 {
4098 PyThreadState* __tstate = wxPyBeginAllowThreads();
4099 wxPyBitmapShape__setCallbackInfo(_arg0,_arg1,_arg2);
4100
4101 wxPyEndAllowThreads(__tstate);
4102 if (PyErr_Occurred()) return NULL;
4103 } Py_INCREF(Py_None);
4104 _resultobj = Py_None;
4105 return _resultobj;
4106 }
4107
4108 #define wxPyBitmapShape_GetBitmap(_swigobj) (_swigobj->GetBitmap())
4109 static PyObject *_wrap_wxPyBitmapShape_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4110 PyObject * _resultobj;
4111 wxBitmap * _result;
4112 wxPyBitmapShape * _arg0;
4113 PyObject * _argo0 = 0;
4114 char *_kwnames[] = { "self", NULL };
4115 char _ptemp[128];
4116
4117 self = self;
4118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyBitmapShape_GetBitmap",_kwnames,&_argo0))
4119 return NULL;
4120 if (_argo0) {
4121 if (_argo0 == Py_None) { _arg0 = NULL; }
4122 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4123 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_GetBitmap. Expected _wxPyBitmapShape_p.");
4124 return NULL;
4125 }
4126 }
4127 {
4128 PyThreadState* __tstate = wxPyBeginAllowThreads();
4129 wxBitmap & _result_ref = wxPyBitmapShape_GetBitmap(_arg0);
4130 _result = (wxBitmap *) &_result_ref;
4131
4132 wxPyEndAllowThreads(__tstate);
4133 if (PyErr_Occurred()) return NULL;
4134 } if (_result) {
4135 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
4136 _resultobj = Py_BuildValue("s",_ptemp);
4137 } else {
4138 Py_INCREF(Py_None);
4139 _resultobj = Py_None;
4140 }
4141 return _resultobj;
4142 }
4143
4144 #define wxPyBitmapShape_GetFilename(_swigobj) (_swigobj->GetFilename())
4145 static PyObject *_wrap_wxPyBitmapShape_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
4146 PyObject * _resultobj;
4147 wxString * _result;
4148 wxPyBitmapShape * _arg0;
4149 PyObject * _argo0 = 0;
4150 char *_kwnames[] = { "self", NULL };
4151
4152 self = self;
4153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyBitmapShape_GetFilename",_kwnames,&_argo0))
4154 return NULL;
4155 if (_argo0) {
4156 if (_argo0 == Py_None) { _arg0 = NULL; }
4157 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4158 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_GetFilename. Expected _wxPyBitmapShape_p.");
4159 return NULL;
4160 }
4161 }
4162 {
4163 PyThreadState* __tstate = wxPyBeginAllowThreads();
4164 _result = new wxString (wxPyBitmapShape_GetFilename(_arg0));
4165
4166 wxPyEndAllowThreads(__tstate);
4167 if (PyErr_Occurred()) return NULL;
4168 }{
4169 #if wxUSE_UNICODE
4170 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
4171 #else
4172 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4173 #endif
4174 }
4175 {
4176 delete _result;
4177 }
4178 return _resultobj;
4179 }
4180
4181 #define wxPyBitmapShape_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
4182 static PyObject *_wrap_wxPyBitmapShape_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4183 PyObject * _resultobj;
4184 wxPyBitmapShape * _arg0;
4185 wxBitmap * _arg1;
4186 PyObject * _argo0 = 0;
4187 PyObject * _argo1 = 0;
4188 char *_kwnames[] = { "self","bitmap", NULL };
4189
4190 self = self;
4191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_SetBitmap",_kwnames,&_argo0,&_argo1))
4192 return NULL;
4193 if (_argo0) {
4194 if (_argo0 == Py_None) { _arg0 = NULL; }
4195 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4196 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_SetBitmap. Expected _wxPyBitmapShape_p.");
4197 return NULL;
4198 }
4199 }
4200 if (_argo1) {
4201 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
4202 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_SetBitmap. Expected _wxBitmap_p.");
4203 return NULL;
4204 }
4205 }
4206 {
4207 PyThreadState* __tstate = wxPyBeginAllowThreads();
4208 wxPyBitmapShape_SetBitmap(_arg0,*_arg1);
4209
4210 wxPyEndAllowThreads(__tstate);
4211 if (PyErr_Occurred()) return NULL;
4212 } Py_INCREF(Py_None);
4213 _resultobj = Py_None;
4214 return _resultobj;
4215 }
4216
4217 #define wxPyBitmapShape_SetFilename(_swigobj,_swigarg0) (_swigobj->SetFilename(_swigarg0))
4218 static PyObject *_wrap_wxPyBitmapShape_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
4219 PyObject * _resultobj;
4220 wxPyBitmapShape * _arg0;
4221 wxString * _arg1;
4222 PyObject * _argo0 = 0;
4223 PyObject * _obj1 = 0;
4224 char *_kwnames[] = { "self","filename", NULL };
4225
4226 self = self;
4227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_SetFilename",_kwnames,&_argo0,&_obj1))
4228 return NULL;
4229 if (_argo0) {
4230 if (_argo0 == Py_None) { _arg0 = NULL; }
4231 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4232 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_SetFilename. Expected _wxPyBitmapShape_p.");
4233 return NULL;
4234 }
4235 }
4236 {
4237 _arg1 = wxString_in_helper(_obj1);
4238 if (_arg1 == NULL)
4239 return NULL;
4240 }
4241 {
4242 PyThreadState* __tstate = wxPyBeginAllowThreads();
4243 wxPyBitmapShape_SetFilename(_arg0,*_arg1);
4244
4245 wxPyEndAllowThreads(__tstate);
4246 if (PyErr_Occurred()) return NULL;
4247 } Py_INCREF(Py_None);
4248 _resultobj = Py_None;
4249 {
4250 if (_obj1)
4251 delete _arg1;
4252 }
4253 return _resultobj;
4254 }
4255
4256 #define wxPyBitmapShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
4257 static PyObject *_wrap_wxPyBitmapShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
4258 PyObject * _resultobj;
4259 wxPyBitmapShape * _arg0;
4260 PyObject * _argo0 = 0;
4261 char *_kwnames[] = { "self", NULL };
4262
4263 self = self;
4264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyBitmapShape_base_OnDelete",_kwnames,&_argo0))
4265 return NULL;
4266 if (_argo0) {
4267 if (_argo0 == Py_None) { _arg0 = NULL; }
4268 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4269 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDelete. Expected _wxPyBitmapShape_p.");
4270 return NULL;
4271 }
4272 }
4273 {
4274 PyThreadState* __tstate = wxPyBeginAllowThreads();
4275 wxPyBitmapShape_base_OnDelete(_arg0);
4276
4277 wxPyEndAllowThreads(__tstate);
4278 if (PyErr_Occurred()) return NULL;
4279 } Py_INCREF(Py_None);
4280 _resultobj = Py_None;
4281 return _resultobj;
4282 }
4283
4284 #define wxPyBitmapShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
4285 static PyObject *_wrap_wxPyBitmapShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
4286 PyObject * _resultobj;
4287 wxPyBitmapShape * _arg0;
4288 wxDC * _arg1;
4289 PyObject * _argo0 = 0;
4290 PyObject * _argo1 = 0;
4291 char *_kwnames[] = { "self","dc", NULL };
4292
4293 self = self;
4294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnDraw",_kwnames,&_argo0,&_argo1))
4295 return NULL;
4296 if (_argo0) {
4297 if (_argo0 == Py_None) { _arg0 = NULL; }
4298 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4299 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDraw. Expected _wxPyBitmapShape_p.");
4300 return NULL;
4301 }
4302 }
4303 if (_argo1) {
4304 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4305 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnDraw. Expected _wxDC_p.");
4306 return NULL;
4307 }
4308 }
4309 {
4310 PyThreadState* __tstate = wxPyBeginAllowThreads();
4311 wxPyBitmapShape_base_OnDraw(_arg0,*_arg1);
4312
4313 wxPyEndAllowThreads(__tstate);
4314 if (PyErr_Occurred()) return NULL;
4315 } Py_INCREF(Py_None);
4316 _resultobj = Py_None;
4317 return _resultobj;
4318 }
4319
4320 #define wxPyBitmapShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
4321 static PyObject *_wrap_wxPyBitmapShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
4322 PyObject * _resultobj;
4323 wxPyBitmapShape * _arg0;
4324 wxDC * _arg1;
4325 PyObject * _argo0 = 0;
4326 PyObject * _argo1 = 0;
4327 char *_kwnames[] = { "self","dc", NULL };
4328
4329 self = self;
4330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1))
4331 return NULL;
4332 if (_argo0) {
4333 if (_argo0 == Py_None) { _arg0 = NULL; }
4334 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4335 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDrawContents. Expected _wxPyBitmapShape_p.");
4336 return NULL;
4337 }
4338 }
4339 if (_argo1) {
4340 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4341 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnDrawContents. Expected _wxDC_p.");
4342 return NULL;
4343 }
4344 }
4345 {
4346 PyThreadState* __tstate = wxPyBeginAllowThreads();
4347 wxPyBitmapShape_base_OnDrawContents(_arg0,*_arg1);
4348
4349 wxPyEndAllowThreads(__tstate);
4350 if (PyErr_Occurred()) return NULL;
4351 } Py_INCREF(Py_None);
4352 _resultobj = Py_None;
4353 return _resultobj;
4354 }
4355
4356 #define wxPyBitmapShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
4357 static PyObject *_wrap_wxPyBitmapShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
4358 PyObject * _resultobj;
4359 wxPyBitmapShape * _arg0;
4360 wxDC * _arg1;
4361 bool _arg2 = (bool ) FALSE;
4362 PyObject * _argo0 = 0;
4363 PyObject * _argo1 = 0;
4364 int tempbool2 = (int) FALSE;
4365 char *_kwnames[] = { "self","dc","erase", NULL };
4366
4367 self = self;
4368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyBitmapShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2))
4369 return NULL;
4370 if (_argo0) {
4371 if (_argo0 == Py_None) { _arg0 = NULL; }
4372 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4373 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDrawBranches. Expected _wxPyBitmapShape_p.");
4374 return NULL;
4375 }
4376 }
4377 if (_argo1) {
4378 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4379 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnDrawBranches. Expected _wxDC_p.");
4380 return NULL;
4381 }
4382 }
4383 _arg2 = (bool ) tempbool2;
4384 {
4385 PyThreadState* __tstate = wxPyBeginAllowThreads();
4386 wxPyBitmapShape_base_OnDrawBranches(_arg0,*_arg1,_arg2);
4387
4388 wxPyEndAllowThreads(__tstate);
4389 if (PyErr_Occurred()) return NULL;
4390 } Py_INCREF(Py_None);
4391 _resultobj = Py_None;
4392 return _resultobj;
4393 }
4394
4395 #define wxPyBitmapShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
4396 static PyObject *_wrap_wxPyBitmapShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
4397 PyObject * _resultobj;
4398 wxPyBitmapShape * _arg0;
4399 wxDC * _arg1;
4400 PyObject * _argo0 = 0;
4401 PyObject * _argo1 = 0;
4402 char *_kwnames[] = { "self","dc", NULL };
4403
4404 self = self;
4405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1))
4406 return NULL;
4407 if (_argo0) {
4408 if (_argo0 == Py_None) { _arg0 = NULL; }
4409 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4410 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnMoveLinks. Expected _wxPyBitmapShape_p.");
4411 return NULL;
4412 }
4413 }
4414 if (_argo1) {
4415 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4416 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnMoveLinks. Expected _wxDC_p.");
4417 return NULL;
4418 }
4419 }
4420 {
4421 PyThreadState* __tstate = wxPyBeginAllowThreads();
4422 wxPyBitmapShape_base_OnMoveLinks(_arg0,*_arg1);
4423
4424 wxPyEndAllowThreads(__tstate);
4425 if (PyErr_Occurred()) return NULL;
4426 } Py_INCREF(Py_None);
4427 _resultobj = Py_None;
4428 return _resultobj;
4429 }
4430
4431 #define wxPyBitmapShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
4432 static PyObject *_wrap_wxPyBitmapShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
4433 PyObject * _resultobj;
4434 wxPyBitmapShape * _arg0;
4435 wxDC * _arg1;
4436 PyObject * _argo0 = 0;
4437 PyObject * _argo1 = 0;
4438 char *_kwnames[] = { "self","dc", NULL };
4439
4440 self = self;
4441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnErase",_kwnames,&_argo0,&_argo1))
4442 return NULL;
4443 if (_argo0) {
4444 if (_argo0 == Py_None) { _arg0 = NULL; }
4445 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4446 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnErase. Expected _wxPyBitmapShape_p.");
4447 return NULL;
4448 }
4449 }
4450 if (_argo1) {
4451 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4452 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnErase. Expected _wxDC_p.");
4453 return NULL;
4454 }
4455 }
4456 {
4457 PyThreadState* __tstate = wxPyBeginAllowThreads();
4458 wxPyBitmapShape_base_OnErase(_arg0,*_arg1);
4459
4460 wxPyEndAllowThreads(__tstate);
4461 if (PyErr_Occurred()) return NULL;
4462 } Py_INCREF(Py_None);
4463 _resultobj = Py_None;
4464 return _resultobj;
4465 }
4466
4467 #define wxPyBitmapShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
4468 static PyObject *_wrap_wxPyBitmapShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
4469 PyObject * _resultobj;
4470 wxPyBitmapShape * _arg0;
4471 wxDC * _arg1;
4472 PyObject * _argo0 = 0;
4473 PyObject * _argo1 = 0;
4474 char *_kwnames[] = { "self","dc", NULL };
4475
4476 self = self;
4477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1))
4478 return NULL;
4479 if (_argo0) {
4480 if (_argo0 == Py_None) { _arg0 = NULL; }
4481 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4482 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnEraseContents. Expected _wxPyBitmapShape_p.");
4483 return NULL;
4484 }
4485 }
4486 if (_argo1) {
4487 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4488 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnEraseContents. Expected _wxDC_p.");
4489 return NULL;
4490 }
4491 }
4492 {
4493 PyThreadState* __tstate = wxPyBeginAllowThreads();
4494 wxPyBitmapShape_base_OnEraseContents(_arg0,*_arg1);
4495
4496 wxPyEndAllowThreads(__tstate);
4497 if (PyErr_Occurred()) return NULL;
4498 } Py_INCREF(Py_None);
4499 _resultobj = Py_None;
4500 return _resultobj;
4501 }
4502
4503 #define wxPyBitmapShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
4504 static PyObject *_wrap_wxPyBitmapShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
4505 PyObject * _resultobj;
4506 wxPyBitmapShape * _arg0;
4507 wxDC * _arg1;
4508 PyObject * _argo0 = 0;
4509 PyObject * _argo1 = 0;
4510 char *_kwnames[] = { "self","dc", NULL };
4511
4512 self = self;
4513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnHighlight",_kwnames,&_argo0,&_argo1))
4514 return NULL;
4515 if (_argo0) {
4516 if (_argo0 == Py_None) { _arg0 = NULL; }
4517 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4518 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnHighlight. Expected _wxPyBitmapShape_p.");
4519 return NULL;
4520 }
4521 }
4522 if (_argo1) {
4523 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4524 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnHighlight. Expected _wxDC_p.");
4525 return NULL;
4526 }
4527 }
4528 {
4529 PyThreadState* __tstate = wxPyBeginAllowThreads();
4530 wxPyBitmapShape_base_OnHighlight(_arg0,*_arg1);
4531
4532 wxPyEndAllowThreads(__tstate);
4533 if (PyErr_Occurred()) return NULL;
4534 } Py_INCREF(Py_None);
4535 _resultobj = Py_None;
4536 return _resultobj;
4537 }
4538
4539 #define wxPyBitmapShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4540 static PyObject *_wrap_wxPyBitmapShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
4541 PyObject * _resultobj;
4542 wxPyBitmapShape * _arg0;
4543 double _arg1;
4544 double _arg2;
4545 int _arg3 = (int ) 0;
4546 int _arg4 = (int ) 0;
4547 PyObject * _argo0 = 0;
4548 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
4549
4550 self = self;
4551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
4552 return NULL;
4553 if (_argo0) {
4554 if (_argo0 == Py_None) { _arg0 = NULL; }
4555 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4556 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnLeftClick. Expected _wxPyBitmapShape_p.");
4557 return NULL;
4558 }
4559 }
4560 {
4561 PyThreadState* __tstate = wxPyBeginAllowThreads();
4562 wxPyBitmapShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4);
4563
4564 wxPyEndAllowThreads(__tstate);
4565 if (PyErr_Occurred()) return NULL;
4566 } Py_INCREF(Py_None);
4567 _resultobj = Py_None;
4568 return _resultobj;
4569 }
4570
4571 #define wxPyBitmapShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4572 static PyObject *_wrap_wxPyBitmapShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
4573 PyObject * _resultobj;
4574 wxPyBitmapShape * _arg0;
4575 double _arg1;
4576 double _arg2;
4577 int _arg3 = (int ) 0;
4578 int _arg4 = (int ) 0;
4579 PyObject * _argo0 = 0;
4580 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
4581
4582 self = self;
4583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
4584 return NULL;
4585 if (_argo0) {
4586 if (_argo0 == Py_None) { _arg0 = NULL; }
4587 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4588 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnLeftDoubleClick. Expected _wxPyBitmapShape_p.");
4589 return NULL;
4590 }
4591 }
4592 {
4593 PyThreadState* __tstate = wxPyBeginAllowThreads();
4594 wxPyBitmapShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4);
4595
4596 wxPyEndAllowThreads(__tstate);
4597 if (PyErr_Occurred()) return NULL;
4598 } Py_INCREF(Py_None);
4599 _resultobj = Py_None;
4600 return _resultobj;
4601 }
4602
4603 #define wxPyBitmapShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4604 static PyObject *_wrap_wxPyBitmapShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
4605 PyObject * _resultobj;
4606 wxPyBitmapShape * _arg0;
4607 double _arg1;
4608 double _arg2;
4609 int _arg3 = (int ) 0;
4610 int _arg4 = (int ) 0;
4611 PyObject * _argo0 = 0;
4612 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
4613
4614 self = self;
4615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
4616 return NULL;
4617 if (_argo0) {
4618 if (_argo0 == Py_None) { _arg0 = NULL; }
4619 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4620 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnRightClick. Expected _wxPyBitmapShape_p.");
4621 return NULL;
4622 }
4623 }
4624 {
4625 PyThreadState* __tstate = wxPyBeginAllowThreads();
4626 wxPyBitmapShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4);
4627
4628 wxPyEndAllowThreads(__tstate);
4629 if (PyErr_Occurred()) return NULL;
4630 } Py_INCREF(Py_None);
4631 _resultobj = Py_None;
4632 return _resultobj;
4633 }
4634
4635 #define wxPyBitmapShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
4636 static PyObject *_wrap_wxPyBitmapShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4637 PyObject * _resultobj;
4638 wxPyBitmapShape * _arg0;
4639 double _arg1;
4640 double _arg2;
4641 PyObject * _argo0 = 0;
4642 char *_kwnames[] = { "self","x","y", NULL };
4643
4644 self = self;
4645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyBitmapShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2))
4646 return NULL;
4647 if (_argo0) {
4648 if (_argo0 == Py_None) { _arg0 = NULL; }
4649 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4650 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnSize. Expected _wxPyBitmapShape_p.");
4651 return NULL;
4652 }
4653 }
4654 {
4655 PyThreadState* __tstate = wxPyBeginAllowThreads();
4656 wxPyBitmapShape_base_OnSize(_arg0,_arg1,_arg2);
4657
4658 wxPyEndAllowThreads(__tstate);
4659 if (PyErr_Occurred()) return NULL;
4660 } Py_INCREF(Py_None);
4661 _resultobj = Py_None;
4662 return _resultobj;
4663 }
4664
4665 #define wxPyBitmapShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4666 static PyObject *_wrap_wxPyBitmapShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
4667 PyObject * _resultobj;
4668 bool _result;
4669 wxPyBitmapShape * _arg0;
4670 wxDC * _arg1;
4671 double _arg2;
4672 double _arg3;
4673 double _arg4;
4674 double _arg5;
4675 bool _arg6 = (bool ) TRUE;
4676 PyObject * _argo0 = 0;
4677 PyObject * _argo1 = 0;
4678 int tempbool6 = (int) TRUE;
4679 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
4680
4681 self = self;
4682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyBitmapShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
4683 return NULL;
4684 if (_argo0) {
4685 if (_argo0 == Py_None) { _arg0 = NULL; }
4686 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4687 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnMovePre. Expected _wxPyBitmapShape_p.");
4688 return NULL;
4689 }
4690 }
4691 if (_argo1) {
4692 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4693 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnMovePre. Expected _wxDC_p.");
4694 return NULL;
4695 }
4696 }
4697 _arg6 = (bool ) tempbool6;
4698 {
4699 PyThreadState* __tstate = wxPyBeginAllowThreads();
4700 _result = (bool )wxPyBitmapShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
4701
4702 wxPyEndAllowThreads(__tstate);
4703 if (PyErr_Occurred()) return NULL;
4704 } _resultobj = Py_BuildValue("i",_result);
4705 return _resultobj;
4706 }
4707
4708 #define wxPyBitmapShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4709 static PyObject *_wrap_wxPyBitmapShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
4710 PyObject * _resultobj;
4711 wxPyBitmapShape * _arg0;
4712 wxDC * _arg1;
4713 double _arg2;
4714 double _arg3;
4715 double _arg4;
4716 double _arg5;
4717 bool _arg6 = (bool ) TRUE;
4718 PyObject * _argo0 = 0;
4719 PyObject * _argo1 = 0;
4720 int tempbool6 = (int) TRUE;
4721 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
4722
4723 self = self;
4724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyBitmapShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
4725 return NULL;
4726 if (_argo0) {
4727 if (_argo0 == Py_None) { _arg0 = NULL; }
4728 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4729 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnMovePost. Expected _wxPyBitmapShape_p.");
4730 return NULL;
4731 }
4732 }
4733 if (_argo1) {
4734 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4735 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnMovePost. Expected _wxDC_p.");
4736 return NULL;
4737 }
4738 }
4739 _arg6 = (bool ) tempbool6;
4740 {
4741 PyThreadState* __tstate = wxPyBeginAllowThreads();
4742 wxPyBitmapShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
4743
4744 wxPyEndAllowThreads(__tstate);
4745 if (PyErr_Occurred()) return NULL;
4746 } Py_INCREF(Py_None);
4747 _resultobj = Py_None;
4748 return _resultobj;
4749 }
4750
4751 #define wxPyBitmapShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4752 static PyObject *_wrap_wxPyBitmapShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
4753 PyObject * _resultobj;
4754 wxPyBitmapShape * _arg0;
4755 bool _arg1;
4756 double _arg2;
4757 double _arg3;
4758 int _arg4 = (int ) 0;
4759 int _arg5 = (int ) 0;
4760 PyObject * _argo0 = 0;
4761 int tempbool1;
4762 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
4763
4764 self = self;
4765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyBitmapShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
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_OnDragLeft. Expected _wxPyBitmapShape_p.");
4771 return NULL;
4772 }
4773 }
4774 _arg1 = (bool ) tempbool1;
4775 {
4776 PyThreadState* __tstate = wxPyBeginAllowThreads();
4777 wxPyBitmapShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
4778
4779 wxPyEndAllowThreads(__tstate);
4780 if (PyErr_Occurred()) return NULL;
4781 } Py_INCREF(Py_None);
4782 _resultobj = Py_None;
4783 return _resultobj;
4784 }
4785
4786 #define wxPyBitmapShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4787 static PyObject *_wrap_wxPyBitmapShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
4788 PyObject * _resultobj;
4789 wxPyBitmapShape * _arg0;
4790 double _arg1;
4791 double _arg2;
4792 int _arg3 = (int ) 0;
4793 int _arg4 = (int ) 0;
4794 PyObject * _argo0 = 0;
4795 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
4796
4797 self = self;
4798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
4799 return NULL;
4800 if (_argo0) {
4801 if (_argo0 == Py_None) { _arg0 = NULL; }
4802 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4803 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnBeginDragLeft. Expected _wxPyBitmapShape_p.");
4804 return NULL;
4805 }
4806 }
4807 {
4808 PyThreadState* __tstate = wxPyBeginAllowThreads();
4809 wxPyBitmapShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
4810
4811 wxPyEndAllowThreads(__tstate);
4812 if (PyErr_Occurred()) return NULL;
4813 } Py_INCREF(Py_None);
4814 _resultobj = Py_None;
4815 return _resultobj;
4816 }
4817
4818 #define wxPyBitmapShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4819 static PyObject *_wrap_wxPyBitmapShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
4820 PyObject * _resultobj;
4821 wxPyBitmapShape * _arg0;
4822 double _arg1;
4823 double _arg2;
4824 int _arg3 = (int ) 0;
4825 int _arg4 = (int ) 0;
4826 PyObject * _argo0 = 0;
4827 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
4828
4829 self = self;
4830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
4831 return NULL;
4832 if (_argo0) {
4833 if (_argo0 == Py_None) { _arg0 = NULL; }
4834 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4835 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnEndDragLeft. Expected _wxPyBitmapShape_p.");
4836 return NULL;
4837 }
4838 }
4839 {
4840 PyThreadState* __tstate = wxPyBeginAllowThreads();
4841 wxPyBitmapShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
4842
4843 wxPyEndAllowThreads(__tstate);
4844 if (PyErr_Occurred()) return NULL;
4845 } Py_INCREF(Py_None);
4846 _resultobj = Py_None;
4847 return _resultobj;
4848 }
4849
4850 #define wxPyBitmapShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4851 static PyObject *_wrap_wxPyBitmapShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
4852 PyObject * _resultobj;
4853 wxPyBitmapShape * _arg0;
4854 bool _arg1;
4855 double _arg2;
4856 double _arg3;
4857 int _arg4 = (int ) 0;
4858 int _arg5 = (int ) 0;
4859 PyObject * _argo0 = 0;
4860 int tempbool1;
4861 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
4862
4863 self = self;
4864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyBitmapShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
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_OnDragRight. Expected _wxPyBitmapShape_p.");
4870 return NULL;
4871 }
4872 }
4873 _arg1 = (bool ) tempbool1;
4874 {
4875 PyThreadState* __tstate = wxPyBeginAllowThreads();
4876 wxPyBitmapShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
4877
4878 wxPyEndAllowThreads(__tstate);
4879 if (PyErr_Occurred()) return NULL;
4880 } Py_INCREF(Py_None);
4881 _resultobj = Py_None;
4882 return _resultobj;
4883 }
4884
4885 #define wxPyBitmapShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4886 static PyObject *_wrap_wxPyBitmapShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
4887 PyObject * _resultobj;
4888 wxPyBitmapShape * _arg0;
4889 double _arg1;
4890 double _arg2;
4891 int _arg3 = (int ) 0;
4892 int _arg4 = (int ) 0;
4893 PyObject * _argo0 = 0;
4894 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
4895
4896 self = self;
4897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
4898 return NULL;
4899 if (_argo0) {
4900 if (_argo0 == Py_None) { _arg0 = NULL; }
4901 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4902 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnBeginDragRight. Expected _wxPyBitmapShape_p.");
4903 return NULL;
4904 }
4905 }
4906 {
4907 PyThreadState* __tstate = wxPyBeginAllowThreads();
4908 wxPyBitmapShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
4909
4910 wxPyEndAllowThreads(__tstate);
4911 if (PyErr_Occurred()) return NULL;
4912 } Py_INCREF(Py_None);
4913 _resultobj = Py_None;
4914 return _resultobj;
4915 }
4916
4917 #define wxPyBitmapShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4918 static PyObject *_wrap_wxPyBitmapShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
4919 PyObject * _resultobj;
4920 wxPyBitmapShape * _arg0;
4921 double _arg1;
4922 double _arg2;
4923 int _arg3 = (int ) 0;
4924 int _arg4 = (int ) 0;
4925 PyObject * _argo0 = 0;
4926 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
4927
4928 self = self;
4929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
4930 return NULL;
4931 if (_argo0) {
4932 if (_argo0 == Py_None) { _arg0 = NULL; }
4933 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4934 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnEndDragRight. Expected _wxPyBitmapShape_p.");
4935 return NULL;
4936 }
4937 }
4938 {
4939 PyThreadState* __tstate = wxPyBeginAllowThreads();
4940 wxPyBitmapShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
4941
4942 wxPyEndAllowThreads(__tstate);
4943 if (PyErr_Occurred()) return NULL;
4944 } Py_INCREF(Py_None);
4945 _resultobj = Py_None;
4946 return _resultobj;
4947 }
4948
4949 #define wxPyBitmapShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4950 static PyObject *_wrap_wxPyBitmapShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
4951 PyObject * _resultobj;
4952 wxPyBitmapShape * _arg0;
4953 wxDC * _arg1;
4954 double _arg2;
4955 double _arg3;
4956 double _arg4;
4957 double _arg5;
4958 PyObject * _argo0 = 0;
4959 PyObject * _argo1 = 0;
4960 char *_kwnames[] = { "self","dc","x","y","w","h", NULL };
4961
4962 self = self;
4963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyBitmapShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
4964 return NULL;
4965 if (_argo0) {
4966 if (_argo0 == Py_None) { _arg0 = NULL; }
4967 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4968 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDrawOutline. Expected _wxPyBitmapShape_p.");
4969 return NULL;
4970 }
4971 }
4972 if (_argo1) {
4973 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4974 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnDrawOutline. Expected _wxDC_p.");
4975 return NULL;
4976 }
4977 }
4978 {
4979 PyThreadState* __tstate = wxPyBeginAllowThreads();
4980 wxPyBitmapShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5);
4981
4982 wxPyEndAllowThreads(__tstate);
4983 if (PyErr_Occurred()) return NULL;
4984 } Py_INCREF(Py_None);
4985 _resultobj = Py_None;
4986 return _resultobj;
4987 }
4988
4989 #define wxPyBitmapShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
4990 static PyObject *_wrap_wxPyBitmapShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
4991 PyObject * _resultobj;
4992 wxPyBitmapShape * _arg0;
4993 wxDC * _arg1;
4994 PyObject * _argo0 = 0;
4995 PyObject * _argo1 = 0;
4996 char *_kwnames[] = { "self","dc", NULL };
4997
4998 self = self;
4999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1))
5000 return NULL;
5001 if (_argo0) {
5002 if (_argo0 == Py_None) { _arg0 = NULL; }
5003 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
5004 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDrawControlPoints. Expected _wxPyBitmapShape_p.");
5005 return NULL;
5006 }
5007 }
5008 if (_argo1) {
5009 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
5010 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnDrawControlPoints. Expected _wxDC_p.");
5011 return NULL;
5012 }
5013 }
5014 {
5015 PyThreadState* __tstate = wxPyBeginAllowThreads();
5016 wxPyBitmapShape_base_OnDrawControlPoints(_arg0,*_arg1);
5017
5018 wxPyEndAllowThreads(__tstate);
5019 if (PyErr_Occurred()) return NULL;
5020 } Py_INCREF(Py_None);
5021 _resultobj = Py_None;
5022 return _resultobj;
5023 }
5024
5025 #define wxPyBitmapShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
5026 static PyObject *_wrap_wxPyBitmapShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
5027 PyObject * _resultobj;
5028 wxPyBitmapShape * _arg0;
5029 wxDC * _arg1;
5030 PyObject * _argo0 = 0;
5031 PyObject * _argo1 = 0;
5032 char *_kwnames[] = { "self","dc", NULL };
5033
5034 self = self;
5035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1))
5036 return NULL;
5037 if (_argo0) {
5038 if (_argo0 == Py_None) { _arg0 = NULL; }
5039 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
5040 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnEraseControlPoints. Expected _wxPyBitmapShape_p.");
5041 return NULL;
5042 }
5043 }
5044 if (_argo1) {
5045 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
5046 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnEraseControlPoints. Expected _wxDC_p.");
5047 return NULL;
5048 }
5049 }
5050 {
5051 PyThreadState* __tstate = wxPyBeginAllowThreads();
5052 wxPyBitmapShape_base_OnEraseControlPoints(_arg0,*_arg1);
5053
5054 wxPyEndAllowThreads(__tstate);
5055 if (PyErr_Occurred()) return NULL;
5056 } Py_INCREF(Py_None);
5057 _resultobj = Py_None;
5058 return _resultobj;
5059 }
5060
5061 #define wxPyBitmapShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
5062 static PyObject *_wrap_wxPyBitmapShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
5063 PyObject * _resultobj;
5064 wxPyBitmapShape * _arg0;
5065 wxDC * _arg1;
5066 bool _arg2 = (bool ) TRUE;
5067 PyObject * _argo0 = 0;
5068 PyObject * _argo1 = 0;
5069 int tempbool2 = (int) TRUE;
5070 char *_kwnames[] = { "self","dc","moveControlPoints", NULL };
5071
5072 self = self;
5073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyBitmapShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2))
5074 return NULL;
5075 if (_argo0) {
5076 if (_argo0 == Py_None) { _arg0 = NULL; }
5077 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
5078 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnMoveLink. Expected _wxPyBitmapShape_p.");
5079 return NULL;
5080 }
5081 }
5082 if (_argo1) {
5083 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
5084 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnMoveLink. Expected _wxDC_p.");
5085 return NULL;
5086 }
5087 }
5088 _arg2 = (bool ) tempbool2;
5089 {
5090 PyThreadState* __tstate = wxPyBeginAllowThreads();
5091 wxPyBitmapShape_base_OnMoveLink(_arg0,*_arg1,_arg2);
5092
5093 wxPyEndAllowThreads(__tstate);
5094 if (PyErr_Occurred()) return NULL;
5095 } Py_INCREF(Py_None);
5096 _resultobj = Py_None;
5097 return _resultobj;
5098 }
5099
5100 #define wxPyBitmapShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5101 static PyObject *_wrap_wxPyBitmapShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
5102 PyObject * _resultobj;
5103 wxPyBitmapShape * _arg0;
5104 wxPyControlPoint * _arg1;
5105 bool _arg2;
5106 double _arg3;
5107 double _arg4;
5108 int _arg5 = (int ) 0;
5109 int _arg6 = (int ) 0;
5110 PyObject * _argo0 = 0;
5111 PyObject * _argo1 = 0;
5112 int tempbool2;
5113 char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL };
5114
5115 self = self;
5116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyBitmapShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6))
5117 return NULL;
5118 if (_argo0) {
5119 if (_argo0 == Py_None) { _arg0 = NULL; }
5120 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
5121 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnSizingDragLeft. Expected _wxPyBitmapShape_p.");
5122 return NULL;
5123 }
5124 }
5125 if (_argo1) {
5126 if (_argo1 == Py_None) { _arg1 = NULL; }
5127 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
5128 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
5129 return NULL;
5130 }
5131 }
5132 _arg2 = (bool ) tempbool2;
5133 {
5134 PyThreadState* __tstate = wxPyBeginAllowThreads();
5135 wxPyBitmapShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
5136
5137 wxPyEndAllowThreads(__tstate);
5138 if (PyErr_Occurred()) return NULL;
5139 } Py_INCREF(Py_None);
5140 _resultobj = Py_None;
5141 return _resultobj;
5142 }
5143
5144 #define wxPyBitmapShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5145 static PyObject *_wrap_wxPyBitmapShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
5146 PyObject * _resultobj;
5147 wxPyBitmapShape * _arg0;
5148 wxPyControlPoint * _arg1;
5149 double _arg2;
5150 double _arg3;
5151 int _arg4 = (int ) 0;
5152 int _arg5 = (int ) 0;
5153 PyObject * _argo0 = 0;
5154 PyObject * _argo1 = 0;
5155 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
5156
5157 self = self;
5158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyBitmapShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
5159 return NULL;
5160 if (_argo0) {
5161 if (_argo0 == Py_None) { _arg0 = NULL; }
5162 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
5163 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnSizingBeginDragLeft. Expected _wxPyBitmapShape_p.");
5164 return NULL;
5165 }
5166 }
5167 if (_argo1) {
5168 if (_argo1 == Py_None) { _arg1 = NULL; }
5169 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
5170 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
5171 return NULL;
5172 }
5173 }
5174 {
5175 PyThreadState* __tstate = wxPyBeginAllowThreads();
5176 wxPyBitmapShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
5177
5178 wxPyEndAllowThreads(__tstate);
5179 if (PyErr_Occurred()) return NULL;
5180 } Py_INCREF(Py_None);
5181 _resultobj = Py_None;
5182 return _resultobj;
5183 }
5184
5185 #define wxPyBitmapShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5186 static PyObject *_wrap_wxPyBitmapShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
5187 PyObject * _resultobj;
5188 wxPyBitmapShape * _arg0;
5189 wxPyControlPoint * _arg1;
5190 double _arg2;
5191 double _arg3;
5192 int _arg4 = (int ) 0;
5193 int _arg5 = (int ) 0;
5194 PyObject * _argo0 = 0;
5195 PyObject * _argo1 = 0;
5196 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
5197
5198 self = self;
5199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyBitmapShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
5200 return NULL;
5201 if (_argo0) {
5202 if (_argo0 == Py_None) { _arg0 = NULL; }
5203 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
5204 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnSizingEndDragLeft. Expected _wxPyBitmapShape_p.");
5205 return NULL;
5206 }
5207 }
5208 if (_argo1) {
5209 if (_argo1 == Py_None) { _arg1 = NULL; }
5210 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
5211 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
5212 return NULL;
5213 }
5214 }
5215 {
5216 PyThreadState* __tstate = wxPyBeginAllowThreads();
5217 wxPyBitmapShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
5218
5219 wxPyEndAllowThreads(__tstate);
5220 if (PyErr_Occurred()) return NULL;
5221 } Py_INCREF(Py_None);
5222 _resultobj = Py_None;
5223 return _resultobj;
5224 }
5225
5226 #define wxPyBitmapShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
5227 static PyObject *_wrap_wxPyBitmapShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5228 PyObject * _resultobj;
5229 wxPyBitmapShape * _arg0;
5230 double _arg1;
5231 double _arg2;
5232 PyObject * _argo0 = 0;
5233 char *_kwnames[] = { "self","w","h", NULL };
5234
5235 self = self;
5236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyBitmapShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2))
5237 return NULL;
5238 if (_argo0) {
5239 if (_argo0 == Py_None) { _arg0 = NULL; }
5240 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
5241 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnBeginSize. Expected _wxPyBitmapShape_p.");
5242 return NULL;
5243 }
5244 }
5245 {
5246 PyThreadState* __tstate = wxPyBeginAllowThreads();
5247 wxPyBitmapShape_base_OnBeginSize(_arg0,_arg1,_arg2);
5248
5249 wxPyEndAllowThreads(__tstate);
5250 if (PyErr_Occurred()) return NULL;
5251 } Py_INCREF(Py_None);
5252 _resultobj = Py_None;
5253 return _resultobj;
5254 }
5255
5256 #define wxPyBitmapShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
5257 static PyObject *_wrap_wxPyBitmapShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5258 PyObject * _resultobj;
5259 wxPyBitmapShape * _arg0;
5260 double _arg1;
5261 double _arg2;
5262 PyObject * _argo0 = 0;
5263 char *_kwnames[] = { "self","w","h", NULL };
5264
5265 self = self;
5266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyBitmapShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2))
5267 return NULL;
5268 if (_argo0) {
5269 if (_argo0 == Py_None) { _arg0 = NULL; }
5270 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
5271 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnEndSize. Expected _wxPyBitmapShape_p.");
5272 return NULL;
5273 }
5274 }
5275 {
5276 PyThreadState* __tstate = wxPyBeginAllowThreads();
5277 wxPyBitmapShape_base_OnEndSize(_arg0,_arg1,_arg2);
5278
5279 wxPyEndAllowThreads(__tstate);
5280 if (PyErr_Occurred()) return NULL;
5281 } Py_INCREF(Py_None);
5282 _resultobj = Py_None;
5283 return _resultobj;
5284 }
5285
5286 static void *SwigwxPyDrawnShapeTowxPyRectangleShape(void *ptr) {
5287 wxPyDrawnShape *src;
5288 wxPyRectangleShape *dest;
5289 src = (wxPyDrawnShape *) ptr;
5290 dest = (wxPyRectangleShape *) src;
5291 return (void *) dest;
5292 }
5293
5294 static void *SwigwxPyDrawnShapeTowxPyShape(void *ptr) {
5295 wxPyDrawnShape *src;
5296 wxPyShape *dest;
5297 src = (wxPyDrawnShape *) ptr;
5298 dest = (wxPyShape *) src;
5299 return (void *) dest;
5300 }
5301
5302 static void *SwigwxPyDrawnShapeTowxPyShapeEvtHandler(void *ptr) {
5303 wxPyDrawnShape *src;
5304 wxPyShapeEvtHandler *dest;
5305 src = (wxPyDrawnShape *) ptr;
5306 dest = (wxPyShapeEvtHandler *) src;
5307 return (void *) dest;
5308 }
5309
5310 static void *SwigwxPyDrawnShapeTowxObject(void *ptr) {
5311 wxPyDrawnShape *src;
5312 wxObject *dest;
5313 src = (wxPyDrawnShape *) ptr;
5314 dest = (wxObject *) src;
5315 return (void *) dest;
5316 }
5317
5318 #define new_wxPyDrawnShape() (new wxPyDrawnShape())
5319 static PyObject *_wrap_new_wxPyDrawnShape(PyObject *self, PyObject *args, PyObject *kwargs) {
5320 PyObject * _resultobj;
5321 wxPyDrawnShape * _result;
5322 char *_kwnames[] = { NULL };
5323 char _ptemp[128];
5324
5325 self = self;
5326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyDrawnShape",_kwnames))
5327 return NULL;
5328 {
5329 PyThreadState* __tstate = wxPyBeginAllowThreads();
5330 _result = (wxPyDrawnShape *)new_wxPyDrawnShape();
5331
5332 wxPyEndAllowThreads(__tstate);
5333 if (PyErr_Occurred()) return NULL;
5334 } if (_result) {
5335 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyDrawnShape_p");
5336 _resultobj = Py_BuildValue("s",_ptemp);
5337 } else {
5338 Py_INCREF(Py_None);
5339 _resultobj = Py_None;
5340 }
5341 return _resultobj;
5342 }
5343
5344 #define wxPyDrawnShape__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5345 static PyObject *_wrap_wxPyDrawnShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5346 PyObject * _resultobj;
5347 wxPyDrawnShape * _arg0;
5348 PyObject * _arg1;
5349 PyObject * _arg2;
5350 PyObject * _argo0 = 0;
5351 PyObject * _obj1 = 0;
5352 PyObject * _obj2 = 0;
5353 char *_kwnames[] = { "self","self","_class", NULL };
5354
5355 self = self;
5356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyDrawnShape__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
5357 return NULL;
5358 if (_argo0) {
5359 if (_argo0 == Py_None) { _arg0 = NULL; }
5360 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5361 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape__setCallbackInfo. Expected _wxPyDrawnShape_p.");
5362 return NULL;
5363 }
5364 }
5365 {
5366 _arg1 = _obj1;
5367 }
5368 {
5369 _arg2 = _obj2;
5370 }
5371 {
5372 PyThreadState* __tstate = wxPyBeginAllowThreads();
5373 wxPyDrawnShape__setCallbackInfo(_arg0,_arg1,_arg2);
5374
5375 wxPyEndAllowThreads(__tstate);
5376 if (PyErr_Occurred()) return NULL;
5377 } Py_INCREF(Py_None);
5378 _resultobj = Py_None;
5379 return _resultobj;
5380 }
5381
5382 #define wxPyDrawnShape_CalculateSize(_swigobj) (_swigobj->CalculateSize())
5383 static PyObject *_wrap_wxPyDrawnShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5384 PyObject * _resultobj;
5385 wxPyDrawnShape * _arg0;
5386 PyObject * _argo0 = 0;
5387 char *_kwnames[] = { "self", NULL };
5388
5389 self = self;
5390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_CalculateSize",_kwnames,&_argo0))
5391 return NULL;
5392 if (_argo0) {
5393 if (_argo0 == Py_None) { _arg0 = NULL; }
5394 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5395 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_CalculateSize. Expected _wxPyDrawnShape_p.");
5396 return NULL;
5397 }
5398 }
5399 {
5400 PyThreadState* __tstate = wxPyBeginAllowThreads();
5401 wxPyDrawnShape_CalculateSize(_arg0);
5402
5403 wxPyEndAllowThreads(__tstate);
5404 if (PyErr_Occurred()) return NULL;
5405 } Py_INCREF(Py_None);
5406 _resultobj = Py_None;
5407 return _resultobj;
5408 }
5409
5410 #define wxPyDrawnShape_DestroyClippingRect(_swigobj) (_swigobj->DestroyClippingRect())
5411 static PyObject *_wrap_wxPyDrawnShape_DestroyClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
5412 PyObject * _resultobj;
5413 wxPyDrawnShape * _arg0;
5414 PyObject * _argo0 = 0;
5415 char *_kwnames[] = { "self", NULL };
5416
5417 self = self;
5418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_DestroyClippingRect",_kwnames,&_argo0))
5419 return NULL;
5420 if (_argo0) {
5421 if (_argo0 == Py_None) { _arg0 = NULL; }
5422 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5423 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DestroyClippingRect. Expected _wxPyDrawnShape_p.");
5424 return NULL;
5425 }
5426 }
5427 {
5428 PyThreadState* __tstate = wxPyBeginAllowThreads();
5429 wxPyDrawnShape_DestroyClippingRect(_arg0);
5430
5431 wxPyEndAllowThreads(__tstate);
5432 if (PyErr_Occurred()) return NULL;
5433 } Py_INCREF(Py_None);
5434 _resultobj = Py_None;
5435 return _resultobj;
5436 }
5437
5438 #define wxPyDrawnShape_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2))
5439 static PyObject *_wrap_wxPyDrawnShape_DrawArc(PyObject *self, PyObject *args, PyObject *kwargs) {
5440 PyObject * _resultobj;
5441 wxPyDrawnShape * _arg0;
5442 wxPoint * _arg1;
5443 wxPoint * _arg2;
5444 wxPoint * _arg3;
5445 PyObject * _argo0 = 0;
5446 wxPoint temp;
5447 PyObject * _obj1 = 0;
5448 wxPoint temp0;
5449 PyObject * _obj2 = 0;
5450 wxPoint temp1;
5451 PyObject * _obj3 = 0;
5452 char *_kwnames[] = { "self","centrePoint","startPoint","endPoint", NULL };
5453
5454 self = self;
5455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxPyDrawnShape_DrawArc",_kwnames,&_argo0,&_obj1,&_obj2,&_obj3))
5456 return NULL;
5457 if (_argo0) {
5458 if (_argo0 == Py_None) { _arg0 = NULL; }
5459 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5460 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawArc. Expected _wxPyDrawnShape_p.");
5461 return NULL;
5462 }
5463 }
5464 {
5465 _arg1 = &temp;
5466 if (! wxPoint_helper(_obj1, &_arg1))
5467 return NULL;
5468 }
5469 {
5470 _arg2 = &temp0;
5471 if (! wxPoint_helper(_obj2, &_arg2))
5472 return NULL;
5473 }
5474 {
5475 _arg3 = &temp1;
5476 if (! wxPoint_helper(_obj3, &_arg3))
5477 return NULL;
5478 }
5479 {
5480 PyThreadState* __tstate = wxPyBeginAllowThreads();
5481 wxPyDrawnShape_DrawArc(_arg0,*_arg1,*_arg2,*_arg3);
5482
5483 wxPyEndAllowThreads(__tstate);
5484 if (PyErr_Occurred()) return NULL;
5485 } Py_INCREF(Py_None);
5486 _resultobj = Py_None;
5487 return _resultobj;
5488 }
5489
5490 #define wxPyDrawnShape_DrawAtAngle(_swigobj,_swigarg0) (_swigobj->DrawAtAngle(_swigarg0))
5491 static PyObject *_wrap_wxPyDrawnShape_DrawAtAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
5492 PyObject * _resultobj;
5493 wxPyDrawnShape * _arg0;
5494 int _arg1;
5495 PyObject * _argo0 = 0;
5496 char *_kwnames[] = { "self","angle", NULL };
5497
5498 self = self;
5499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDrawnShape_DrawAtAngle",_kwnames,&_argo0,&_arg1))
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_DrawAtAngle. Expected _wxPyDrawnShape_p.");
5505 return NULL;
5506 }
5507 }
5508 {
5509 PyThreadState* __tstate = wxPyBeginAllowThreads();
5510 wxPyDrawnShape_DrawAtAngle(_arg0,_arg1);
5511
5512 wxPyEndAllowThreads(__tstate);
5513 if (PyErr_Occurred()) return NULL;
5514 } Py_INCREF(Py_None);
5515 _resultobj = Py_None;
5516 return _resultobj;
5517 }
5518
5519 #define wxPyDrawnShape_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2))
5520 static PyObject *_wrap_wxPyDrawnShape_DrawEllipticArc(PyObject *self, PyObject *args, PyObject *kwargs) {
5521 PyObject * _resultobj;
5522 wxPyDrawnShape * _arg0;
5523 wxRect * _arg1;
5524 double _arg2;
5525 double _arg3;
5526 PyObject * _argo0 = 0;
5527 wxRect temp;
5528 PyObject * _obj1 = 0;
5529 char *_kwnames[] = { "self","rect","startAngle","endAngle", NULL };
5530
5531 self = self;
5532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd:wxPyDrawnShape_DrawEllipticArc",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3))
5533 return NULL;
5534 if (_argo0) {
5535 if (_argo0 == Py_None) { _arg0 = NULL; }
5536 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5537 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawEllipticArc. Expected _wxPyDrawnShape_p.");
5538 return NULL;
5539 }
5540 }
5541 {
5542 _arg1 = &temp;
5543 if (! wxRect_helper(_obj1, &_arg1))
5544 return NULL;
5545 }
5546 {
5547 PyThreadState* __tstate = wxPyBeginAllowThreads();
5548 wxPyDrawnShape_DrawEllipticArc(_arg0,*_arg1,_arg2,_arg3);
5549
5550 wxPyEndAllowThreads(__tstate);
5551 if (PyErr_Occurred()) return NULL;
5552 } Py_INCREF(Py_None);
5553 _resultobj = Py_None;
5554 return _resultobj;
5555 }
5556
5557 #define wxPyDrawnShape_DrawLine(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawLine(_swigarg0,_swigarg1))
5558 static PyObject *_wrap_wxPyDrawnShape_DrawLine(PyObject *self, PyObject *args, PyObject *kwargs) {
5559 PyObject * _resultobj;
5560 wxPyDrawnShape * _arg0;
5561 wxPoint * _arg1;
5562 wxPoint * _arg2;
5563 PyObject * _argo0 = 0;
5564 wxPoint temp;
5565 PyObject * _obj1 = 0;
5566 wxPoint temp0;
5567 PyObject * _obj2 = 0;
5568 char *_kwnames[] = { "self","point1","point2", NULL };
5569
5570 self = self;
5571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyDrawnShape_DrawLine",_kwnames,&_argo0,&_obj1,&_obj2))
5572 return NULL;
5573 if (_argo0) {
5574 if (_argo0 == Py_None) { _arg0 = NULL; }
5575 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5576 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawLine. Expected _wxPyDrawnShape_p.");
5577 return NULL;
5578 }
5579 }
5580 {
5581 _arg1 = &temp;
5582 if (! wxPoint_helper(_obj1, &_arg1))
5583 return NULL;
5584 }
5585 {
5586 _arg2 = &temp0;
5587 if (! wxPoint_helper(_obj2, &_arg2))
5588 return NULL;
5589 }
5590 {
5591 PyThreadState* __tstate = wxPyBeginAllowThreads();
5592 wxPyDrawnShape_DrawLine(_arg0,*_arg1,*_arg2);
5593
5594 wxPyEndAllowThreads(__tstate);
5595 if (PyErr_Occurred()) return NULL;
5596 } Py_INCREF(Py_None);
5597 _resultobj = Py_None;
5598 return _resultobj;
5599 }
5600
5601 #define wxPyDrawnShape_DrawLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawLines(_swigarg0,_swigarg1))
5602 static PyObject *_wrap_wxPyDrawnShape_DrawLines(PyObject *self, PyObject *args, PyObject *kwargs) {
5603 PyObject * _resultobj;
5604 wxPyDrawnShape * _arg0;
5605 int _arg1;
5606 wxPoint * _arg2;
5607 PyObject * _argo0 = 0;
5608 int NPOINTS;
5609 PyObject * _obj2 = 0;
5610 char *_kwnames[] = { "self","points", NULL };
5611
5612 self = self;
5613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_DrawLines",_kwnames,&_argo0,&_obj2))
5614 return NULL;
5615 if (_argo0) {
5616 if (_argo0 == Py_None) { _arg0 = NULL; }
5617 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5618 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawLines. Expected _wxPyDrawnShape_p.");
5619 return NULL;
5620 }
5621 }
5622 if (_obj2)
5623 {
5624 _arg2 = wxPoint_LIST_helper(_obj2, &NPOINTS);
5625 if (_arg2 == NULL) {
5626 return NULL;
5627 }
5628 }
5629 {
5630 _arg1 = NPOINTS;
5631 }
5632 {
5633 PyThreadState* __tstate = wxPyBeginAllowThreads();
5634 wxPyDrawnShape_DrawLines(_arg0,_arg1,_arg2);
5635
5636 wxPyEndAllowThreads(__tstate);
5637 if (PyErr_Occurred()) return NULL;
5638 } Py_INCREF(Py_None);
5639 _resultobj = Py_None;
5640 {
5641 delete [] _arg2;
5642 }
5643 return _resultobj;
5644 }
5645
5646 #define wxPyDrawnShape_DrawPoint(_swigobj,_swigarg0) (_swigobj->DrawPoint(_swigarg0))
5647 static PyObject *_wrap_wxPyDrawnShape_DrawPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
5648 PyObject * _resultobj;
5649 wxPyDrawnShape * _arg0;
5650 wxPoint * _arg1;
5651 PyObject * _argo0 = 0;
5652 wxPoint temp;
5653 PyObject * _obj1 = 0;
5654 char *_kwnames[] = { "self","point", NULL };
5655
5656 self = self;
5657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_DrawPoint",_kwnames,&_argo0,&_obj1))
5658 return NULL;
5659 if (_argo0) {
5660 if (_argo0 == Py_None) { _arg0 = NULL; }
5661 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5662 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawPoint. Expected _wxPyDrawnShape_p.");
5663 return NULL;
5664 }
5665 }
5666 {
5667 _arg1 = &temp;
5668 if (! wxPoint_helper(_obj1, &_arg1))
5669 return NULL;
5670 }
5671 {
5672 PyThreadState* __tstate = wxPyBeginAllowThreads();
5673 wxPyDrawnShape_DrawPoint(_arg0,*_arg1);
5674
5675 wxPyEndAllowThreads(__tstate);
5676 if (PyErr_Occurred()) return NULL;
5677 } Py_INCREF(Py_None);
5678 _resultobj = Py_None;
5679 return _resultobj;
5680 }
5681
5682 #define wxPyDrawnShape_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2))
5683 static PyObject *_wrap_wxPyDrawnShape_DrawPolygon(PyObject *self, PyObject *args, PyObject *kwargs) {
5684 PyObject * _resultobj;
5685 wxPyDrawnShape * _arg0;
5686 int _arg1;
5687 wxPoint * _arg2;
5688 int _arg3 = (int ) 0;
5689 PyObject * _argo0 = 0;
5690 int NPOINTS;
5691 PyObject * _obj2 = 0;
5692 char *_kwnames[] = { "self","points","flags", NULL };
5693
5694 self = self;
5695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDrawnShape_DrawPolygon",_kwnames,&_argo0,&_obj2,&_arg3))
5696 return NULL;
5697 if (_argo0) {
5698 if (_argo0 == Py_None) { _arg0 = NULL; }
5699 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5700 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawPolygon. Expected _wxPyDrawnShape_p.");
5701 return NULL;
5702 }
5703 }
5704 if (_obj2)
5705 {
5706 _arg2 = wxPoint_LIST_helper(_obj2, &NPOINTS);
5707 if (_arg2 == NULL) {
5708 return NULL;
5709 }
5710 }
5711 {
5712 _arg1 = NPOINTS;
5713 }
5714 {
5715 PyThreadState* __tstate = wxPyBeginAllowThreads();
5716 wxPyDrawnShape_DrawPolygon(_arg0,_arg1,_arg2,_arg3);
5717
5718 wxPyEndAllowThreads(__tstate);
5719 if (PyErr_Occurred()) return NULL;
5720 } Py_INCREF(Py_None);
5721 _resultobj = Py_None;
5722 {
5723 delete [] _arg2;
5724 }
5725 return _resultobj;
5726 }
5727
5728 #define wxPyDrawnShape_DrawRectangle(_swigobj,_swigarg0) (_swigobj->DrawRectangle(_swigarg0))
5729 static PyObject *_wrap_wxPyDrawnShape_DrawRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
5730 PyObject * _resultobj;
5731 wxPyDrawnShape * _arg0;
5732 wxRect * _arg1;
5733 PyObject * _argo0 = 0;
5734 wxRect temp;
5735 PyObject * _obj1 = 0;
5736 char *_kwnames[] = { "self","rect", NULL };
5737
5738 self = self;
5739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_DrawRectangle",_kwnames,&_argo0,&_obj1))
5740 return NULL;
5741 if (_argo0) {
5742 if (_argo0 == Py_None) { _arg0 = NULL; }
5743 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5744 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawRectangle. Expected _wxPyDrawnShape_p.");
5745 return NULL;
5746 }
5747 }
5748 {
5749 _arg1 = &temp;
5750 if (! wxRect_helper(_obj1, &_arg1))
5751 return NULL;
5752 }
5753 {
5754 PyThreadState* __tstate = wxPyBeginAllowThreads();
5755 wxPyDrawnShape_DrawRectangle(_arg0,*_arg1);
5756
5757 wxPyEndAllowThreads(__tstate);
5758 if (PyErr_Occurred()) return NULL;
5759 } Py_INCREF(Py_None);
5760 _resultobj = Py_None;
5761 return _resultobj;
5762 }
5763
5764 #define wxPyDrawnShape_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1))
5765 static PyObject *_wrap_wxPyDrawnShape_DrawRoundedRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
5766 PyObject * _resultobj;
5767 wxPyDrawnShape * _arg0;
5768 wxRect * _arg1;
5769 double _arg2;
5770 PyObject * _argo0 = 0;
5771 wxRect temp;
5772 PyObject * _obj1 = 0;
5773 char *_kwnames[] = { "self","rect","radius", NULL };
5774
5775 self = self;
5776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOd:wxPyDrawnShape_DrawRoundedRectangle",_kwnames,&_argo0,&_obj1,&_arg2))
5777 return NULL;
5778 if (_argo0) {
5779 if (_argo0 == Py_None) { _arg0 = NULL; }
5780 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5781 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawRoundedRectangle. Expected _wxPyDrawnShape_p.");
5782 return NULL;
5783 }
5784 }
5785 {
5786 _arg1 = &temp;
5787 if (! wxRect_helper(_obj1, &_arg1))
5788 return NULL;
5789 }
5790 {
5791 PyThreadState* __tstate = wxPyBeginAllowThreads();
5792 wxPyDrawnShape_DrawRoundedRectangle(_arg0,*_arg1,_arg2);
5793
5794 wxPyEndAllowThreads(__tstate);
5795 if (PyErr_Occurred()) return NULL;
5796 } Py_INCREF(Py_None);
5797 _resultobj = Py_None;
5798 return _resultobj;
5799 }
5800
5801 #define wxPyDrawnShape_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1))
5802 static PyObject *_wrap_wxPyDrawnShape_DrawSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
5803 PyObject * _resultobj;
5804 wxPyDrawnShape * _arg0;
5805 int _arg1;
5806 wxPoint * _arg2;
5807 PyObject * _argo0 = 0;
5808 int NPOINTS;
5809 PyObject * _obj2 = 0;
5810 char *_kwnames[] = { "self","points", NULL };
5811
5812 self = self;
5813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_DrawSpline",_kwnames,&_argo0,&_obj2))
5814 return NULL;
5815 if (_argo0) {
5816 if (_argo0 == Py_None) { _arg0 = NULL; }
5817 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5818 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawSpline. Expected _wxPyDrawnShape_p.");
5819 return NULL;
5820 }
5821 }
5822 if (_obj2)
5823 {
5824 _arg2 = wxPoint_LIST_helper(_obj2, &NPOINTS);
5825 if (_arg2 == NULL) {
5826 return NULL;
5827 }
5828 }
5829 {
5830 _arg1 = NPOINTS;
5831 }
5832 {
5833 PyThreadState* __tstate = wxPyBeginAllowThreads();
5834 wxPyDrawnShape_DrawSpline(_arg0,_arg1,_arg2);
5835
5836 wxPyEndAllowThreads(__tstate);
5837 if (PyErr_Occurred()) return NULL;
5838 } Py_INCREF(Py_None);
5839 _resultobj = Py_None;
5840 {
5841 delete [] _arg2;
5842 }
5843 return _resultobj;
5844 }
5845
5846 #define wxPyDrawnShape_DrawText(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawText(_swigarg0,_swigarg1))
5847 static PyObject *_wrap_wxPyDrawnShape_DrawText(PyObject *self, PyObject *args, PyObject *kwargs) {
5848 PyObject * _resultobj;
5849 wxPyDrawnShape * _arg0;
5850 wxString * _arg1;
5851 wxPoint * _arg2;
5852 PyObject * _argo0 = 0;
5853 PyObject * _obj1 = 0;
5854 wxPoint temp;
5855 PyObject * _obj2 = 0;
5856 char *_kwnames[] = { "self","text","point", NULL };
5857
5858 self = self;
5859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyDrawnShape_DrawText",_kwnames,&_argo0,&_obj1,&_obj2))
5860 return NULL;
5861 if (_argo0) {
5862 if (_argo0 == Py_None) { _arg0 = NULL; }
5863 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5864 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawText. Expected _wxPyDrawnShape_p.");
5865 return NULL;
5866 }
5867 }
5868 {
5869 _arg1 = wxString_in_helper(_obj1);
5870 if (_arg1 == NULL)
5871 return NULL;
5872 }
5873 {
5874 _arg2 = &temp;
5875 if (! wxPoint_helper(_obj2, &_arg2))
5876 return NULL;
5877 }
5878 {
5879 PyThreadState* __tstate = wxPyBeginAllowThreads();
5880 wxPyDrawnShape_DrawText(_arg0,*_arg1,*_arg2);
5881
5882 wxPyEndAllowThreads(__tstate);
5883 if (PyErr_Occurred()) return NULL;
5884 } Py_INCREF(Py_None);
5885 _resultobj = Py_None;
5886 {
5887 if (_obj1)
5888 delete _arg1;
5889 }
5890 return _resultobj;
5891 }
5892
5893 #define wxPyDrawnShape_GetAngle(_swigobj) (_swigobj->GetAngle())
5894 static PyObject *_wrap_wxPyDrawnShape_GetAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
5895 PyObject * _resultobj;
5896 int _result;
5897 wxPyDrawnShape * _arg0;
5898 PyObject * _argo0 = 0;
5899 char *_kwnames[] = { "self", NULL };
5900
5901 self = self;
5902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_GetAngle",_kwnames,&_argo0))
5903 return NULL;
5904 if (_argo0) {
5905 if (_argo0 == Py_None) { _arg0 = NULL; }
5906 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5907 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_GetAngle. Expected _wxPyDrawnShape_p.");
5908 return NULL;
5909 }
5910 }
5911 {
5912 PyThreadState* __tstate = wxPyBeginAllowThreads();
5913 _result = (int )wxPyDrawnShape_GetAngle(_arg0);
5914
5915 wxPyEndAllowThreads(__tstate);
5916 if (PyErr_Occurred()) return NULL;
5917 } _resultobj = Py_BuildValue("i",_result);
5918 return _resultobj;
5919 }
5920
5921 #define wxPyDrawnShape_GetMetaFile(_swigobj) (_swigobj->GetMetaFile())
5922 static PyObject *_wrap_wxPyDrawnShape_GetMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5923 PyObject * _resultobj;
5924 wxPseudoMetaFile * _result;
5925 wxPyDrawnShape * _arg0;
5926 PyObject * _argo0 = 0;
5927 char *_kwnames[] = { "self", NULL };
5928
5929 self = self;
5930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_GetMetaFile",_kwnames,&_argo0))
5931 return NULL;
5932 if (_argo0) {
5933 if (_argo0 == Py_None) { _arg0 = NULL; }
5934 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5935 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_GetMetaFile. Expected _wxPyDrawnShape_p.");
5936 return NULL;
5937 }
5938 }
5939 {
5940 PyThreadState* __tstate = wxPyBeginAllowThreads();
5941 wxPseudoMetaFile & _result_ref = wxPyDrawnShape_GetMetaFile(_arg0);
5942 _result = (wxPseudoMetaFile *) &_result_ref;
5943
5944 wxPyEndAllowThreads(__tstate);
5945 if (PyErr_Occurred()) return NULL;
5946 }{ _resultobj = wxPyMake_wxObject(_result); }
5947 return _resultobj;
5948 }
5949
5950 #define wxPyDrawnShape_GetRotation(_swigobj) (_swigobj->GetRotation())
5951 static PyObject *_wrap_wxPyDrawnShape_GetRotation(PyObject *self, PyObject *args, PyObject *kwargs) {
5952 PyObject * _resultobj;
5953 double _result;
5954 wxPyDrawnShape * _arg0;
5955 PyObject * _argo0 = 0;
5956 char *_kwnames[] = { "self", NULL };
5957
5958 self = self;
5959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_GetRotation",_kwnames,&_argo0))
5960 return NULL;
5961 if (_argo0) {
5962 if (_argo0 == Py_None) { _arg0 = NULL; }
5963 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5964 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_GetRotation. Expected _wxPyDrawnShape_p.");
5965 return NULL;
5966 }
5967 }
5968 {
5969 PyThreadState* __tstate = wxPyBeginAllowThreads();
5970 _result = (double )wxPyDrawnShape_GetRotation(_arg0);
5971
5972 wxPyEndAllowThreads(__tstate);
5973 if (PyErr_Occurred()) return NULL;
5974 } _resultobj = Py_BuildValue("d",_result);
5975 return _resultobj;
5976 }
5977
5978 #define wxPyDrawnShape_LoadFromMetaFile(_swigobj,_swigarg0) (_swigobj->LoadFromMetaFile(_swigarg0))
5979 static PyObject *_wrap_wxPyDrawnShape_LoadFromMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5980 PyObject * _resultobj;
5981 bool _result;
5982 wxPyDrawnShape * _arg0;
5983 wxString * _arg1;
5984 PyObject * _argo0 = 0;
5985 PyObject * _obj1 = 0;
5986 char *_kwnames[] = { "self","filename", NULL };
5987
5988 self = self;
5989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_LoadFromMetaFile",_kwnames,&_argo0,&_obj1))
5990 return NULL;
5991 if (_argo0) {
5992 if (_argo0 == Py_None) { _arg0 = NULL; }
5993 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5994 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_LoadFromMetaFile. Expected _wxPyDrawnShape_p.");
5995 return NULL;
5996 }
5997 }
5998 {
5999 _arg1 = wxString_in_helper(_obj1);
6000 if (_arg1 == NULL)
6001 return NULL;
6002 }
6003 {
6004 PyThreadState* __tstate = wxPyBeginAllowThreads();
6005 _result = (bool )wxPyDrawnShape_LoadFromMetaFile(_arg0,*_arg1);
6006
6007 wxPyEndAllowThreads(__tstate);
6008 if (PyErr_Occurred()) return NULL;
6009 } _resultobj = Py_BuildValue("i",_result);
6010 {
6011 if (_obj1)
6012 delete _arg1;
6013 }
6014 return _resultobj;
6015 }
6016
6017 #define wxPyDrawnShape_Rotate(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Rotate(_swigarg0,_swigarg1,_swigarg2))
6018 static PyObject *_wrap_wxPyDrawnShape_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
6019 PyObject * _resultobj;
6020 wxPyDrawnShape * _arg0;
6021 double _arg1;
6022 double _arg2;
6023 double _arg3;
6024 PyObject * _argo0 = 0;
6025 char *_kwnames[] = { "self","x","y","theta", NULL };
6026
6027 self = self;
6028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oddd:wxPyDrawnShape_Rotate",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
6029 return NULL;
6030 if (_argo0) {
6031 if (_argo0 == Py_None) { _arg0 = NULL; }
6032 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6033 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_Rotate. Expected _wxPyDrawnShape_p.");
6034 return NULL;
6035 }
6036 }
6037 {
6038 PyThreadState* __tstate = wxPyBeginAllowThreads();
6039 wxPyDrawnShape_Rotate(_arg0,_arg1,_arg2,_arg3);
6040
6041 wxPyEndAllowThreads(__tstate);
6042 if (PyErr_Occurred()) return NULL;
6043 } Py_INCREF(Py_None);
6044 _resultobj = Py_None;
6045 return _resultobj;
6046 }
6047
6048 #define wxPyDrawnShape_SetClippingRect(_swigobj,_swigarg0) (_swigobj->SetClippingRect(_swigarg0))
6049 static PyObject *_wrap_wxPyDrawnShape_SetClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6050 PyObject * _resultobj;
6051 wxPyDrawnShape * _arg0;
6052 wxRect * _arg1;
6053 PyObject * _argo0 = 0;
6054 wxRect temp;
6055 PyObject * _obj1 = 0;
6056 char *_kwnames[] = { "self","rect", NULL };
6057
6058 self = self;
6059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_SetClippingRect",_kwnames,&_argo0,&_obj1))
6060 return NULL;
6061 if (_argo0) {
6062 if (_argo0 == Py_None) { _arg0 = NULL; }
6063 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6064 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetClippingRect. Expected _wxPyDrawnShape_p.");
6065 return NULL;
6066 }
6067 }
6068 {
6069 _arg1 = &temp;
6070 if (! wxRect_helper(_obj1, &_arg1))
6071 return NULL;
6072 }
6073 {
6074 PyThreadState* __tstate = wxPyBeginAllowThreads();
6075 wxPyDrawnShape_SetClippingRect(_arg0,*_arg1);
6076
6077 wxPyEndAllowThreads(__tstate);
6078 if (PyErr_Occurred()) return NULL;
6079 } Py_INCREF(Py_None);
6080 _resultobj = Py_None;
6081 return _resultobj;
6082 }
6083
6084 #define wxPyDrawnShape_SetDrawnBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetDrawnBackgroundColour(_swigarg0))
6085 static PyObject *_wrap_wxPyDrawnShape_SetDrawnBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6086 PyObject * _resultobj;
6087 wxPyDrawnShape * _arg0;
6088 wxColour * _arg1;
6089 PyObject * _argo0 = 0;
6090 wxColour temp;
6091 PyObject * _obj1 = 0;
6092 char *_kwnames[] = { "self","colour", NULL };
6093
6094 self = self;
6095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_SetDrawnBackgroundColour",_kwnames,&_argo0,&_obj1))
6096 return NULL;
6097 if (_argo0) {
6098 if (_argo0 == Py_None) { _arg0 = NULL; }
6099 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6100 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnBackgroundColour. Expected _wxPyDrawnShape_p.");
6101 return NULL;
6102 }
6103 }
6104 {
6105 _arg1 = &temp;
6106 if (! wxColour_helper(_obj1, &_arg1))
6107 return NULL;
6108 }
6109 {
6110 PyThreadState* __tstate = wxPyBeginAllowThreads();
6111 wxPyDrawnShape_SetDrawnBackgroundColour(_arg0,*_arg1);
6112
6113 wxPyEndAllowThreads(__tstate);
6114 if (PyErr_Occurred()) return NULL;
6115 } Py_INCREF(Py_None);
6116 _resultobj = Py_None;
6117 return _resultobj;
6118 }
6119
6120 #define wxPyDrawnShape_SetDrawnBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetDrawnBackgroundMode(_swigarg0))
6121 static PyObject *_wrap_wxPyDrawnShape_SetDrawnBackgroundMode(PyObject *self, PyObject *args, PyObject *kwargs) {
6122 PyObject * _resultobj;
6123 wxPyDrawnShape * _arg0;
6124 int _arg1;
6125 PyObject * _argo0 = 0;
6126 char *_kwnames[] = { "self","mode", NULL };
6127
6128 self = self;
6129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDrawnShape_SetDrawnBackgroundMode",_kwnames,&_argo0,&_arg1))
6130 return NULL;
6131 if (_argo0) {
6132 if (_argo0 == Py_None) { _arg0 = NULL; }
6133 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6134 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnBackgroundMode. Expected _wxPyDrawnShape_p.");
6135 return NULL;
6136 }
6137 }
6138 {
6139 PyThreadState* __tstate = wxPyBeginAllowThreads();
6140 wxPyDrawnShape_SetDrawnBackgroundMode(_arg0,_arg1);
6141
6142 wxPyEndAllowThreads(__tstate);
6143 if (PyErr_Occurred()) return NULL;
6144 } Py_INCREF(Py_None);
6145 _resultobj = Py_None;
6146 return _resultobj;
6147 }
6148
6149 #define wxPyDrawnShape_SetDrawnBrush(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDrawnBrush(_swigarg0,_swigarg1))
6150 static PyObject *_wrap_wxPyDrawnShape_SetDrawnBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
6151 PyObject * _resultobj;
6152 wxPyDrawnShape * _arg0;
6153 wxBrush * _arg1;
6154 bool _arg2 = (bool ) FALSE;
6155 PyObject * _argo0 = 0;
6156 PyObject * _obj1 = 0;
6157 int tempbool2 = (int) FALSE;
6158 char *_kwnames[] = { "self","pen","isOutline", NULL };
6159
6160 self = self;
6161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDrawnShape_SetDrawnBrush",_kwnames,&_argo0,&_obj1,&tempbool2))
6162 return NULL;
6163 if (_argo0) {
6164 if (_argo0 == Py_None) { _arg0 = NULL; }
6165 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6166 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnBrush. Expected _wxPyDrawnShape_p.");
6167 return NULL;
6168 }
6169 }
6170 {
6171 wxBrush* temp;
6172 if (_obj1) {
6173 if (_obj1 == Py_None) { temp = NULL; }
6174 else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxBrush_p")) {
6175 PyErr_SetString(PyExc_TypeError,"Type error, expected _wxBrush_p.");
6176 return NULL;
6177 }
6178 }
6179 if (temp)
6180 _arg1 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
6181 else
6182 _arg1 = NULL;
6183 }
6184 _arg2 = (bool ) tempbool2;
6185 {
6186 PyThreadState* __tstate = wxPyBeginAllowThreads();
6187 wxPyDrawnShape_SetDrawnBrush(_arg0,_arg1,_arg2);
6188
6189 wxPyEndAllowThreads(__tstate);
6190 if (PyErr_Occurred()) return NULL;
6191 } Py_INCREF(Py_None);
6192 _resultobj = Py_None;
6193 return _resultobj;
6194 }
6195
6196 #define wxPyDrawnShape_SetDrawnFont(_swigobj,_swigarg0) (_swigobj->SetDrawnFont(_swigarg0))
6197 static PyObject *_wrap_wxPyDrawnShape_SetDrawnFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6198 PyObject * _resultobj;
6199 wxPyDrawnShape * _arg0;
6200 wxFont * _arg1;
6201 PyObject * _argo0 = 0;
6202 PyObject * _obj1 = 0;
6203 char *_kwnames[] = { "self","font", NULL };
6204
6205 self = self;
6206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_SetDrawnFont",_kwnames,&_argo0,&_obj1))
6207 return NULL;
6208 if (_argo0) {
6209 if (_argo0 == Py_None) { _arg0 = NULL; }
6210 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6211 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnFont. Expected _wxPyDrawnShape_p.");
6212 return NULL;
6213 }
6214 }
6215 {
6216 wxFont* temp;
6217 if (_obj1) {
6218 if (_obj1 == Py_None) { temp = NULL; }
6219 else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxFont_p")) {
6220 PyErr_SetString(PyExc_TypeError,"Type error, expected _wxFont_p.");
6221 return NULL;
6222 }
6223 }
6224 if (temp)
6225 _arg1 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
6226 temp->GetFamily(),
6227 temp->GetStyle(),
6228 temp->GetWeight(),
6229 temp->GetUnderlined(),
6230 temp->GetFaceName(),
6231 temp->GetEncoding());
6232 else
6233 _arg1 = NULL;
6234 }
6235 {
6236 PyThreadState* __tstate = wxPyBeginAllowThreads();
6237 wxPyDrawnShape_SetDrawnFont(_arg0,_arg1);
6238
6239 wxPyEndAllowThreads(__tstate);
6240 if (PyErr_Occurred()) return NULL;
6241 } Py_INCREF(Py_None);
6242 _resultobj = Py_None;
6243 return _resultobj;
6244 }
6245
6246 #define wxPyDrawnShape_SetDrawnPen(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDrawnPen(_swigarg0,_swigarg1))
6247 static PyObject *_wrap_wxPyDrawnShape_SetDrawnPen(PyObject *self, PyObject *args, PyObject *kwargs) {
6248 PyObject * _resultobj;
6249 wxPyDrawnShape * _arg0;
6250 wxPen * _arg1;
6251 bool _arg2 = (bool ) FALSE;
6252 PyObject * _argo0 = 0;
6253 PyObject * _obj1 = 0;
6254 int tempbool2 = (int) FALSE;
6255 char *_kwnames[] = { "self","pen","isOutline", NULL };
6256
6257 self = self;
6258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDrawnShape_SetDrawnPen",_kwnames,&_argo0,&_obj1,&tempbool2))
6259 return NULL;
6260 if (_argo0) {
6261 if (_argo0 == Py_None) { _arg0 = NULL; }
6262 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6263 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnPen. Expected _wxPyDrawnShape_p.");
6264 return NULL;
6265 }
6266 }
6267 {
6268 wxPen* temp;
6269 if (_obj1) {
6270 if (_obj1 == Py_None) { temp = NULL; }
6271 else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxPen_p")) {
6272 PyErr_SetString(PyExc_TypeError,"Type error, expected _wxPen_p.");
6273 return NULL;
6274 }
6275 }
6276 if (temp)
6277 _arg1 = wxThePenList->FindOrCreatePen(temp->GetColour(),
6278 temp->GetWidth(),
6279 temp->GetStyle());
6280 else
6281 _arg1 = NULL;
6282 }
6283 _arg2 = (bool ) tempbool2;
6284 {
6285 PyThreadState* __tstate = wxPyBeginAllowThreads();
6286 wxPyDrawnShape_SetDrawnPen(_arg0,_arg1,_arg2);
6287
6288 wxPyEndAllowThreads(__tstate);
6289 if (PyErr_Occurred()) return NULL;
6290 } Py_INCREF(Py_None);
6291 _resultobj = Py_None;
6292 return _resultobj;
6293 }
6294
6295 #define wxPyDrawnShape_SetDrawnTextColour(_swigobj,_swigarg0) (_swigobj->SetDrawnTextColour(_swigarg0))
6296 static PyObject *_wrap_wxPyDrawnShape_SetDrawnTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6297 PyObject * _resultobj;
6298 wxPyDrawnShape * _arg0;
6299 wxColour * _arg1;
6300 PyObject * _argo0 = 0;
6301 wxColour temp;
6302 PyObject * _obj1 = 0;
6303 char *_kwnames[] = { "self","colour", NULL };
6304
6305 self = self;
6306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_SetDrawnTextColour",_kwnames,&_argo0,&_obj1))
6307 return NULL;
6308 if (_argo0) {
6309 if (_argo0 == Py_None) { _arg0 = NULL; }
6310 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6311 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnTextColour. Expected _wxPyDrawnShape_p.");
6312 return NULL;
6313 }
6314 }
6315 {
6316 _arg1 = &temp;
6317 if (! wxColour_helper(_obj1, &_arg1))
6318 return NULL;
6319 }
6320 {
6321 PyThreadState* __tstate = wxPyBeginAllowThreads();
6322 wxPyDrawnShape_SetDrawnTextColour(_arg0,*_arg1);
6323
6324 wxPyEndAllowThreads(__tstate);
6325 if (PyErr_Occurred()) return NULL;
6326 } Py_INCREF(Py_None);
6327 _resultobj = Py_None;
6328 return _resultobj;
6329 }
6330
6331 #define wxPyDrawnShape_Scale(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scale(_swigarg0,_swigarg1))
6332 static PyObject *_wrap_wxPyDrawnShape_Scale(PyObject *self, PyObject *args, PyObject *kwargs) {
6333 PyObject * _resultobj;
6334 wxPyDrawnShape * _arg0;
6335 double _arg1;
6336 double _arg2;
6337 PyObject * _argo0 = 0;
6338 char *_kwnames[] = { "self","sx","sy", NULL };
6339
6340 self = self;
6341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDrawnShape_Scale",_kwnames,&_argo0,&_arg1,&_arg2))
6342 return NULL;
6343 if (_argo0) {
6344 if (_argo0 == Py_None) { _arg0 = NULL; }
6345 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6346 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_Scale. Expected _wxPyDrawnShape_p.");
6347 return NULL;
6348 }
6349 }
6350 {
6351 PyThreadState* __tstate = wxPyBeginAllowThreads();
6352 wxPyDrawnShape_Scale(_arg0,_arg1,_arg2);
6353
6354 wxPyEndAllowThreads(__tstate);
6355 if (PyErr_Occurred()) return NULL;
6356 } Py_INCREF(Py_None);
6357 _resultobj = Py_None;
6358 return _resultobj;
6359 }
6360
6361 #define wxPyDrawnShape_SetSaveToFile(_swigobj,_swigarg0) (_swigobj->SetSaveToFile(_swigarg0))
6362 static PyObject *_wrap_wxPyDrawnShape_SetSaveToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6363 PyObject * _resultobj;
6364 wxPyDrawnShape * _arg0;
6365 bool _arg1;
6366 PyObject * _argo0 = 0;
6367 int tempbool1;
6368 char *_kwnames[] = { "self","save", NULL };
6369
6370 self = self;
6371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDrawnShape_SetSaveToFile",_kwnames,&_argo0,&tempbool1))
6372 return NULL;
6373 if (_argo0) {
6374 if (_argo0 == Py_None) { _arg0 = NULL; }
6375 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6376 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetSaveToFile. Expected _wxPyDrawnShape_p.");
6377 return NULL;
6378 }
6379 }
6380 _arg1 = (bool ) tempbool1;
6381 {
6382 PyThreadState* __tstate = wxPyBeginAllowThreads();
6383 wxPyDrawnShape_SetSaveToFile(_arg0,_arg1);
6384
6385 wxPyEndAllowThreads(__tstate);
6386 if (PyErr_Occurred()) return NULL;
6387 } Py_INCREF(Py_None);
6388 _resultobj = Py_None;
6389 return _resultobj;
6390 }
6391
6392 #define wxPyDrawnShape_Translate(_swigobj,_swigarg0,_swigarg1) (_swigobj->Translate(_swigarg0,_swigarg1))
6393 static PyObject *_wrap_wxPyDrawnShape_Translate(PyObject *self, PyObject *args, PyObject *kwargs) {
6394 PyObject * _resultobj;
6395 wxPyDrawnShape * _arg0;
6396 double _arg1;
6397 double _arg2;
6398 PyObject * _argo0 = 0;
6399 char *_kwnames[] = { "self","x","y", NULL };
6400
6401 self = self;
6402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDrawnShape_Translate",_kwnames,&_argo0,&_arg1,&_arg2))
6403 return NULL;
6404 if (_argo0) {
6405 if (_argo0 == Py_None) { _arg0 = NULL; }
6406 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6407 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_Translate. Expected _wxPyDrawnShape_p.");
6408 return NULL;
6409 }
6410 }
6411 {
6412 PyThreadState* __tstate = wxPyBeginAllowThreads();
6413 wxPyDrawnShape_Translate(_arg0,_arg1,_arg2);
6414
6415 wxPyEndAllowThreads(__tstate);
6416 if (PyErr_Occurred()) return NULL;
6417 } Py_INCREF(Py_None);
6418 _resultobj = Py_None;
6419 return _resultobj;
6420 }
6421
6422 #define wxPyDrawnShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
6423 static PyObject *_wrap_wxPyDrawnShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
6424 PyObject * _resultobj;
6425 wxPyDrawnShape * _arg0;
6426 PyObject * _argo0 = 0;
6427 char *_kwnames[] = { "self", NULL };
6428
6429 self = self;
6430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_base_OnDelete",_kwnames,&_argo0))
6431 return NULL;
6432 if (_argo0) {
6433 if (_argo0 == Py_None) { _arg0 = NULL; }
6434 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6435 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDelete. Expected _wxPyDrawnShape_p.");
6436 return NULL;
6437 }
6438 }
6439 {
6440 PyThreadState* __tstate = wxPyBeginAllowThreads();
6441 wxPyDrawnShape_base_OnDelete(_arg0);
6442
6443 wxPyEndAllowThreads(__tstate);
6444 if (PyErr_Occurred()) return NULL;
6445 } Py_INCREF(Py_None);
6446 _resultobj = Py_None;
6447 return _resultobj;
6448 }
6449
6450 #define wxPyDrawnShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
6451 static PyObject *_wrap_wxPyDrawnShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
6452 PyObject * _resultobj;
6453 wxPyDrawnShape * _arg0;
6454 wxDC * _arg1;
6455 PyObject * _argo0 = 0;
6456 PyObject * _argo1 = 0;
6457 char *_kwnames[] = { "self","dc", NULL };
6458
6459 self = self;
6460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnDraw",_kwnames,&_argo0,&_argo1))
6461 return NULL;
6462 if (_argo0) {
6463 if (_argo0 == Py_None) { _arg0 = NULL; }
6464 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6465 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDraw. Expected _wxPyDrawnShape_p.");
6466 return NULL;
6467 }
6468 }
6469 if (_argo1) {
6470 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
6471 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnDraw. Expected _wxDC_p.");
6472 return NULL;
6473 }
6474 }
6475 {
6476 PyThreadState* __tstate = wxPyBeginAllowThreads();
6477 wxPyDrawnShape_base_OnDraw(_arg0,*_arg1);
6478
6479 wxPyEndAllowThreads(__tstate);
6480 if (PyErr_Occurred()) return NULL;
6481 } Py_INCREF(Py_None);
6482 _resultobj = Py_None;
6483 return _resultobj;
6484 }
6485
6486 #define wxPyDrawnShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
6487 static PyObject *_wrap_wxPyDrawnShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
6488 PyObject * _resultobj;
6489 wxPyDrawnShape * _arg0;
6490 wxDC * _arg1;
6491 PyObject * _argo0 = 0;
6492 PyObject * _argo1 = 0;
6493 char *_kwnames[] = { "self","dc", NULL };
6494
6495 self = self;
6496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1))
6497 return NULL;
6498 if (_argo0) {
6499 if (_argo0 == Py_None) { _arg0 = NULL; }
6500 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6501 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDrawContents. Expected _wxPyDrawnShape_p.");
6502 return NULL;
6503 }
6504 }
6505 if (_argo1) {
6506 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
6507 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnDrawContents. Expected _wxDC_p.");
6508 return NULL;
6509 }
6510 }
6511 {
6512 PyThreadState* __tstate = wxPyBeginAllowThreads();
6513 wxPyDrawnShape_base_OnDrawContents(_arg0,*_arg1);
6514
6515 wxPyEndAllowThreads(__tstate);
6516 if (PyErr_Occurred()) return NULL;
6517 } Py_INCREF(Py_None);
6518 _resultobj = Py_None;
6519 return _resultobj;
6520 }
6521
6522 #define wxPyDrawnShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
6523 static PyObject *_wrap_wxPyDrawnShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
6524 PyObject * _resultobj;
6525 wxPyDrawnShape * _arg0;
6526 wxDC * _arg1;
6527 bool _arg2 = (bool ) FALSE;
6528 PyObject * _argo0 = 0;
6529 PyObject * _argo1 = 0;
6530 int tempbool2 = (int) FALSE;
6531 char *_kwnames[] = { "self","dc","erase", NULL };
6532
6533 self = self;
6534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDrawnShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2))
6535 return NULL;
6536 if (_argo0) {
6537 if (_argo0 == Py_None) { _arg0 = NULL; }
6538 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6539 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDrawBranches. Expected _wxPyDrawnShape_p.");
6540 return NULL;
6541 }
6542 }
6543 if (_argo1) {
6544 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
6545 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnDrawBranches. Expected _wxDC_p.");
6546 return NULL;
6547 }
6548 }
6549 _arg2 = (bool ) tempbool2;
6550 {
6551 PyThreadState* __tstate = wxPyBeginAllowThreads();
6552 wxPyDrawnShape_base_OnDrawBranches(_arg0,*_arg1,_arg2);
6553
6554 wxPyEndAllowThreads(__tstate);
6555 if (PyErr_Occurred()) return NULL;
6556 } Py_INCREF(Py_None);
6557 _resultobj = Py_None;
6558 return _resultobj;
6559 }
6560
6561 #define wxPyDrawnShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
6562 static PyObject *_wrap_wxPyDrawnShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
6563 PyObject * _resultobj;
6564 wxPyDrawnShape * _arg0;
6565 wxDC * _arg1;
6566 PyObject * _argo0 = 0;
6567 PyObject * _argo1 = 0;
6568 char *_kwnames[] = { "self","dc", NULL };
6569
6570 self = self;
6571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1))
6572 return NULL;
6573 if (_argo0) {
6574 if (_argo0 == Py_None) { _arg0 = NULL; }
6575 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6576 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnMoveLinks. Expected _wxPyDrawnShape_p.");
6577 return NULL;
6578 }
6579 }
6580 if (_argo1) {
6581 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
6582 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnMoveLinks. Expected _wxDC_p.");
6583 return NULL;
6584 }
6585 }
6586 {
6587 PyThreadState* __tstate = wxPyBeginAllowThreads();
6588 wxPyDrawnShape_base_OnMoveLinks(_arg0,*_arg1);
6589
6590 wxPyEndAllowThreads(__tstate);
6591 if (PyErr_Occurred()) return NULL;
6592 } Py_INCREF(Py_None);
6593 _resultobj = Py_None;
6594 return _resultobj;
6595 }
6596
6597 #define wxPyDrawnShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
6598 static PyObject *_wrap_wxPyDrawnShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
6599 PyObject * _resultobj;
6600 wxPyDrawnShape * _arg0;
6601 wxDC * _arg1;
6602 PyObject * _argo0 = 0;
6603 PyObject * _argo1 = 0;
6604 char *_kwnames[] = { "self","dc", NULL };
6605
6606 self = self;
6607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnErase",_kwnames,&_argo0,&_argo1))
6608 return NULL;
6609 if (_argo0) {
6610 if (_argo0 == Py_None) { _arg0 = NULL; }
6611 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6612 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnErase. Expected _wxPyDrawnShape_p.");
6613 return NULL;
6614 }
6615 }
6616 if (_argo1) {
6617 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
6618 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnErase. Expected _wxDC_p.");
6619 return NULL;
6620 }
6621 }
6622 {
6623 PyThreadState* __tstate = wxPyBeginAllowThreads();
6624 wxPyDrawnShape_base_OnErase(_arg0,*_arg1);
6625
6626 wxPyEndAllowThreads(__tstate);
6627 if (PyErr_Occurred()) return NULL;
6628 } Py_INCREF(Py_None);
6629 _resultobj = Py_None;
6630 return _resultobj;
6631 }
6632
6633 #define wxPyDrawnShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
6634 static PyObject *_wrap_wxPyDrawnShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
6635 PyObject * _resultobj;
6636 wxPyDrawnShape * _arg0;
6637 wxDC * _arg1;
6638 PyObject * _argo0 = 0;
6639 PyObject * _argo1 = 0;
6640 char *_kwnames[] = { "self","dc", NULL };
6641
6642 self = self;
6643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1))
6644 return NULL;
6645 if (_argo0) {
6646 if (_argo0 == Py_None) { _arg0 = NULL; }
6647 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6648 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnEraseContents. Expected _wxPyDrawnShape_p.");
6649 return NULL;
6650 }
6651 }
6652 if (_argo1) {
6653 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
6654 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnEraseContents. Expected _wxDC_p.");
6655 return NULL;
6656 }
6657 }
6658 {
6659 PyThreadState* __tstate = wxPyBeginAllowThreads();
6660 wxPyDrawnShape_base_OnEraseContents(_arg0,*_arg1);
6661
6662 wxPyEndAllowThreads(__tstate);
6663 if (PyErr_Occurred()) return NULL;
6664 } Py_INCREF(Py_None);
6665 _resultobj = Py_None;
6666 return _resultobj;
6667 }
6668
6669 #define wxPyDrawnShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
6670 static PyObject *_wrap_wxPyDrawnShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
6671 PyObject * _resultobj;
6672 wxPyDrawnShape * _arg0;
6673 wxDC * _arg1;
6674 PyObject * _argo0 = 0;
6675 PyObject * _argo1 = 0;
6676 char *_kwnames[] = { "self","dc", NULL };
6677
6678 self = self;
6679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnHighlight",_kwnames,&_argo0,&_argo1))
6680 return NULL;
6681 if (_argo0) {
6682 if (_argo0 == Py_None) { _arg0 = NULL; }
6683 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6684 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnHighlight. Expected _wxPyDrawnShape_p.");
6685 return NULL;
6686 }
6687 }
6688 if (_argo1) {
6689 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
6690 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnHighlight. Expected _wxDC_p.");
6691 return NULL;
6692 }
6693 }
6694 {
6695 PyThreadState* __tstate = wxPyBeginAllowThreads();
6696 wxPyDrawnShape_base_OnHighlight(_arg0,*_arg1);
6697
6698 wxPyEndAllowThreads(__tstate);
6699 if (PyErr_Occurred()) return NULL;
6700 } Py_INCREF(Py_None);
6701 _resultobj = Py_None;
6702 return _resultobj;
6703 }
6704
6705 #define wxPyDrawnShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6706 static PyObject *_wrap_wxPyDrawnShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
6707 PyObject * _resultobj;
6708 wxPyDrawnShape * _arg0;
6709 double _arg1;
6710 double _arg2;
6711 int _arg3 = (int ) 0;
6712 int _arg4 = (int ) 0;
6713 PyObject * _argo0 = 0;
6714 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
6715
6716 self = self;
6717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
6718 return NULL;
6719 if (_argo0) {
6720 if (_argo0 == Py_None) { _arg0 = NULL; }
6721 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6722 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnLeftClick. Expected _wxPyDrawnShape_p.");
6723 return NULL;
6724 }
6725 }
6726 {
6727 PyThreadState* __tstate = wxPyBeginAllowThreads();
6728 wxPyDrawnShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4);
6729
6730 wxPyEndAllowThreads(__tstate);
6731 if (PyErr_Occurred()) return NULL;
6732 } Py_INCREF(Py_None);
6733 _resultobj = Py_None;
6734 return _resultobj;
6735 }
6736
6737 #define wxPyDrawnShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6738 static PyObject *_wrap_wxPyDrawnShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
6739 PyObject * _resultobj;
6740 wxPyDrawnShape * _arg0;
6741 double _arg1;
6742 double _arg2;
6743 int _arg3 = (int ) 0;
6744 int _arg4 = (int ) 0;
6745 PyObject * _argo0 = 0;
6746 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
6747
6748 self = self;
6749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
6750 return NULL;
6751 if (_argo0) {
6752 if (_argo0 == Py_None) { _arg0 = NULL; }
6753 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6754 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnLeftDoubleClick. Expected _wxPyDrawnShape_p.");
6755 return NULL;
6756 }
6757 }
6758 {
6759 PyThreadState* __tstate = wxPyBeginAllowThreads();
6760 wxPyDrawnShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4);
6761
6762 wxPyEndAllowThreads(__tstate);
6763 if (PyErr_Occurred()) return NULL;
6764 } Py_INCREF(Py_None);
6765 _resultobj = Py_None;
6766 return _resultobj;
6767 }
6768
6769 #define wxPyDrawnShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6770 static PyObject *_wrap_wxPyDrawnShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
6771 PyObject * _resultobj;
6772 wxPyDrawnShape * _arg0;
6773 double _arg1;
6774 double _arg2;
6775 int _arg3 = (int ) 0;
6776 int _arg4 = (int ) 0;
6777 PyObject * _argo0 = 0;
6778 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
6779
6780 self = self;
6781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
6782 return NULL;
6783 if (_argo0) {
6784 if (_argo0 == Py_None) { _arg0 = NULL; }
6785 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6786 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnRightClick. Expected _wxPyDrawnShape_p.");
6787 return NULL;
6788 }
6789 }
6790 {
6791 PyThreadState* __tstate = wxPyBeginAllowThreads();
6792 wxPyDrawnShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4);
6793
6794 wxPyEndAllowThreads(__tstate);
6795 if (PyErr_Occurred()) return NULL;
6796 } Py_INCREF(Py_None);
6797 _resultobj = Py_None;
6798 return _resultobj;
6799 }
6800
6801 #define wxPyDrawnShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
6802 static PyObject *_wrap_wxPyDrawnShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6803 PyObject * _resultobj;
6804 wxPyDrawnShape * _arg0;
6805 double _arg1;
6806 double _arg2;
6807 PyObject * _argo0 = 0;
6808 char *_kwnames[] = { "self","x","y", NULL };
6809
6810 self = self;
6811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDrawnShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2))
6812 return NULL;
6813 if (_argo0) {
6814 if (_argo0 == Py_None) { _arg0 = NULL; }
6815 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6816 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnSize. Expected _wxPyDrawnShape_p.");
6817 return NULL;
6818 }
6819 }
6820 {
6821 PyThreadState* __tstate = wxPyBeginAllowThreads();
6822 wxPyDrawnShape_base_OnSize(_arg0,_arg1,_arg2);
6823
6824 wxPyEndAllowThreads(__tstate);
6825 if (PyErr_Occurred()) return NULL;
6826 } Py_INCREF(Py_None);
6827 _resultobj = Py_None;
6828 return _resultobj;
6829 }
6830
6831 #define wxPyDrawnShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6832 static PyObject *_wrap_wxPyDrawnShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
6833 PyObject * _resultobj;
6834 bool _result;
6835 wxPyDrawnShape * _arg0;
6836 wxDC * _arg1;
6837 double _arg2;
6838 double _arg3;
6839 double _arg4;
6840 double _arg5;
6841 bool _arg6 = (bool ) TRUE;
6842 PyObject * _argo0 = 0;
6843 PyObject * _argo1 = 0;
6844 int tempbool6 = (int) TRUE;
6845 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
6846
6847 self = self;
6848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDrawnShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
6849 return NULL;
6850 if (_argo0) {
6851 if (_argo0 == Py_None) { _arg0 = NULL; }
6852 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6853 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnMovePre. Expected _wxPyDrawnShape_p.");
6854 return NULL;
6855 }
6856 }
6857 if (_argo1) {
6858 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
6859 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnMovePre. Expected _wxDC_p.");
6860 return NULL;
6861 }
6862 }
6863 _arg6 = (bool ) tempbool6;
6864 {
6865 PyThreadState* __tstate = wxPyBeginAllowThreads();
6866 _result = (bool )wxPyDrawnShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
6867
6868 wxPyEndAllowThreads(__tstate);
6869 if (PyErr_Occurred()) return NULL;
6870 } _resultobj = Py_BuildValue("i",_result);
6871 return _resultobj;
6872 }
6873
6874 #define wxPyDrawnShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6875 static PyObject *_wrap_wxPyDrawnShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
6876 PyObject * _resultobj;
6877 wxPyDrawnShape * _arg0;
6878 wxDC * _arg1;
6879 double _arg2;
6880 double _arg3;
6881 double _arg4;
6882 double _arg5;
6883 bool _arg6 = (bool ) TRUE;
6884 PyObject * _argo0 = 0;
6885 PyObject * _argo1 = 0;
6886 int tempbool6 = (int) TRUE;
6887 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
6888
6889 self = self;
6890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDrawnShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
6891 return NULL;
6892 if (_argo0) {
6893 if (_argo0 == Py_None) { _arg0 = NULL; }
6894 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6895 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnMovePost. Expected _wxPyDrawnShape_p.");
6896 return NULL;
6897 }
6898 }
6899 if (_argo1) {
6900 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
6901 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnMovePost. Expected _wxDC_p.");
6902 return NULL;
6903 }
6904 }
6905 _arg6 = (bool ) tempbool6;
6906 {
6907 PyThreadState* __tstate = wxPyBeginAllowThreads();
6908 wxPyDrawnShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
6909
6910 wxPyEndAllowThreads(__tstate);
6911 if (PyErr_Occurred()) return NULL;
6912 } Py_INCREF(Py_None);
6913 _resultobj = Py_None;
6914 return _resultobj;
6915 }
6916
6917 #define wxPyDrawnShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6918 static PyObject *_wrap_wxPyDrawnShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
6919 PyObject * _resultobj;
6920 wxPyDrawnShape * _arg0;
6921 bool _arg1;
6922 double _arg2;
6923 double _arg3;
6924 int _arg4 = (int ) 0;
6925 int _arg5 = (int ) 0;
6926 PyObject * _argo0 = 0;
6927 int tempbool1;
6928 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
6929
6930 self = self;
6931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDrawnShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
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_OnDragLeft. Expected _wxPyDrawnShape_p.");
6937 return NULL;
6938 }
6939 }
6940 _arg1 = (bool ) tempbool1;
6941 {
6942 PyThreadState* __tstate = wxPyBeginAllowThreads();
6943 wxPyDrawnShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
6944
6945 wxPyEndAllowThreads(__tstate);
6946 if (PyErr_Occurred()) return NULL;
6947 } Py_INCREF(Py_None);
6948 _resultobj = Py_None;
6949 return _resultobj;
6950 }
6951
6952 #define wxPyDrawnShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6953 static PyObject *_wrap_wxPyDrawnShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
6954 PyObject * _resultobj;
6955 wxPyDrawnShape * _arg0;
6956 double _arg1;
6957 double _arg2;
6958 int _arg3 = (int ) 0;
6959 int _arg4 = (int ) 0;
6960 PyObject * _argo0 = 0;
6961 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
6962
6963 self = self;
6964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
6965 return NULL;
6966 if (_argo0) {
6967 if (_argo0 == Py_None) { _arg0 = NULL; }
6968 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6969 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnBeginDragLeft. Expected _wxPyDrawnShape_p.");
6970 return NULL;
6971 }
6972 }
6973 {
6974 PyThreadState* __tstate = wxPyBeginAllowThreads();
6975 wxPyDrawnShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
6976
6977 wxPyEndAllowThreads(__tstate);
6978 if (PyErr_Occurred()) return NULL;
6979 } Py_INCREF(Py_None);
6980 _resultobj = Py_None;
6981 return _resultobj;
6982 }
6983
6984 #define wxPyDrawnShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6985 static PyObject *_wrap_wxPyDrawnShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
6986 PyObject * _resultobj;
6987 wxPyDrawnShape * _arg0;
6988 double _arg1;
6989 double _arg2;
6990 int _arg3 = (int ) 0;
6991 int _arg4 = (int ) 0;
6992 PyObject * _argo0 = 0;
6993 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
6994
6995 self = self;
6996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
6997 return NULL;
6998 if (_argo0) {
6999 if (_argo0 == Py_None) { _arg0 = NULL; }
7000 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7001 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnEndDragLeft. Expected _wxPyDrawnShape_p.");
7002 return NULL;
7003 }
7004 }
7005 {
7006 PyThreadState* __tstate = wxPyBeginAllowThreads();
7007 wxPyDrawnShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
7008
7009 wxPyEndAllowThreads(__tstate);
7010 if (PyErr_Occurred()) return NULL;
7011 } Py_INCREF(Py_None);
7012 _resultobj = Py_None;
7013 return _resultobj;
7014 }
7015
7016 #define wxPyDrawnShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7017 static PyObject *_wrap_wxPyDrawnShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
7018 PyObject * _resultobj;
7019 wxPyDrawnShape * _arg0;
7020 bool _arg1;
7021 double _arg2;
7022 double _arg3;
7023 int _arg4 = (int ) 0;
7024 int _arg5 = (int ) 0;
7025 PyObject * _argo0 = 0;
7026 int tempbool1;
7027 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
7028
7029 self = self;
7030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDrawnShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
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_OnDragRight. Expected _wxPyDrawnShape_p.");
7036 return NULL;
7037 }
7038 }
7039 _arg1 = (bool ) tempbool1;
7040 {
7041 PyThreadState* __tstate = wxPyBeginAllowThreads();
7042 wxPyDrawnShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
7043
7044 wxPyEndAllowThreads(__tstate);
7045 if (PyErr_Occurred()) return NULL;
7046 } Py_INCREF(Py_None);
7047 _resultobj = Py_None;
7048 return _resultobj;
7049 }
7050
7051 #define wxPyDrawnShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7052 static PyObject *_wrap_wxPyDrawnShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
7053 PyObject * _resultobj;
7054 wxPyDrawnShape * _arg0;
7055 double _arg1;
7056 double _arg2;
7057 int _arg3 = (int ) 0;
7058 int _arg4 = (int ) 0;
7059 PyObject * _argo0 = 0;
7060 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
7061
7062 self = self;
7063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
7064 return NULL;
7065 if (_argo0) {
7066 if (_argo0 == Py_None) { _arg0 = NULL; }
7067 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7068 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnBeginDragRight. Expected _wxPyDrawnShape_p.");
7069 return NULL;
7070 }
7071 }
7072 {
7073 PyThreadState* __tstate = wxPyBeginAllowThreads();
7074 wxPyDrawnShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
7075
7076 wxPyEndAllowThreads(__tstate);
7077 if (PyErr_Occurred()) return NULL;
7078 } Py_INCREF(Py_None);
7079 _resultobj = Py_None;
7080 return _resultobj;
7081 }
7082
7083 #define wxPyDrawnShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7084 static PyObject *_wrap_wxPyDrawnShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
7085 PyObject * _resultobj;
7086 wxPyDrawnShape * _arg0;
7087 double _arg1;
7088 double _arg2;
7089 int _arg3 = (int ) 0;
7090 int _arg4 = (int ) 0;
7091 PyObject * _argo0 = 0;
7092 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
7093
7094 self = self;
7095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
7096 return NULL;
7097 if (_argo0) {
7098 if (_argo0 == Py_None) { _arg0 = NULL; }
7099 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7100 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnEndDragRight. Expected _wxPyDrawnShape_p.");
7101 return NULL;
7102 }
7103 }
7104 {
7105 PyThreadState* __tstate = wxPyBeginAllowThreads();
7106 wxPyDrawnShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
7107
7108 wxPyEndAllowThreads(__tstate);
7109 if (PyErr_Occurred()) return NULL;
7110 } Py_INCREF(Py_None);
7111 _resultobj = Py_None;
7112 return _resultobj;
7113 }
7114
7115 #define wxPyDrawnShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7116 static PyObject *_wrap_wxPyDrawnShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
7117 PyObject * _resultobj;
7118 wxPyDrawnShape * _arg0;
7119 wxDC * _arg1;
7120 double _arg2;
7121 double _arg3;
7122 double _arg4;
7123 double _arg5;
7124 PyObject * _argo0 = 0;
7125 PyObject * _argo1 = 0;
7126 char *_kwnames[] = { "self","dc","x","y","w","h", NULL };
7127
7128 self = self;
7129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyDrawnShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
7130 return NULL;
7131 if (_argo0) {
7132 if (_argo0 == Py_None) { _arg0 = NULL; }
7133 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7134 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDrawOutline. Expected _wxPyDrawnShape_p.");
7135 return NULL;
7136 }
7137 }
7138 if (_argo1) {
7139 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7140 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnDrawOutline. Expected _wxDC_p.");
7141 return NULL;
7142 }
7143 }
7144 {
7145 PyThreadState* __tstate = wxPyBeginAllowThreads();
7146 wxPyDrawnShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5);
7147
7148 wxPyEndAllowThreads(__tstate);
7149 if (PyErr_Occurred()) return NULL;
7150 } Py_INCREF(Py_None);
7151 _resultobj = Py_None;
7152 return _resultobj;
7153 }
7154
7155 #define wxPyDrawnShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
7156 static PyObject *_wrap_wxPyDrawnShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
7157 PyObject * _resultobj;
7158 wxPyDrawnShape * _arg0;
7159 wxDC * _arg1;
7160 PyObject * _argo0 = 0;
7161 PyObject * _argo1 = 0;
7162 char *_kwnames[] = { "self","dc", NULL };
7163
7164 self = self;
7165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1))
7166 return NULL;
7167 if (_argo0) {
7168 if (_argo0 == Py_None) { _arg0 = NULL; }
7169 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7170 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDrawControlPoints. Expected _wxPyDrawnShape_p.");
7171 return NULL;
7172 }
7173 }
7174 if (_argo1) {
7175 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7176 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnDrawControlPoints. Expected _wxDC_p.");
7177 return NULL;
7178 }
7179 }
7180 {
7181 PyThreadState* __tstate = wxPyBeginAllowThreads();
7182 wxPyDrawnShape_base_OnDrawControlPoints(_arg0,*_arg1);
7183
7184 wxPyEndAllowThreads(__tstate);
7185 if (PyErr_Occurred()) return NULL;
7186 } Py_INCREF(Py_None);
7187 _resultobj = Py_None;
7188 return _resultobj;
7189 }
7190
7191 #define wxPyDrawnShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
7192 static PyObject *_wrap_wxPyDrawnShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
7193 PyObject * _resultobj;
7194 wxPyDrawnShape * _arg0;
7195 wxDC * _arg1;
7196 PyObject * _argo0 = 0;
7197 PyObject * _argo1 = 0;
7198 char *_kwnames[] = { "self","dc", NULL };
7199
7200 self = self;
7201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1))
7202 return NULL;
7203 if (_argo0) {
7204 if (_argo0 == Py_None) { _arg0 = NULL; }
7205 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7206 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnEraseControlPoints. Expected _wxPyDrawnShape_p.");
7207 return NULL;
7208 }
7209 }
7210 if (_argo1) {
7211 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7212 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnEraseControlPoints. Expected _wxDC_p.");
7213 return NULL;
7214 }
7215 }
7216 {
7217 PyThreadState* __tstate = wxPyBeginAllowThreads();
7218 wxPyDrawnShape_base_OnEraseControlPoints(_arg0,*_arg1);
7219
7220 wxPyEndAllowThreads(__tstate);
7221 if (PyErr_Occurred()) return NULL;
7222 } Py_INCREF(Py_None);
7223 _resultobj = Py_None;
7224 return _resultobj;
7225 }
7226
7227 #define wxPyDrawnShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
7228 static PyObject *_wrap_wxPyDrawnShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
7229 PyObject * _resultobj;
7230 wxPyDrawnShape * _arg0;
7231 wxDC * _arg1;
7232 bool _arg2 = (bool ) TRUE;
7233 PyObject * _argo0 = 0;
7234 PyObject * _argo1 = 0;
7235 int tempbool2 = (int) TRUE;
7236 char *_kwnames[] = { "self","dc","moveControlPoints", NULL };
7237
7238 self = self;
7239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDrawnShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2))
7240 return NULL;
7241 if (_argo0) {
7242 if (_argo0 == Py_None) { _arg0 = NULL; }
7243 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7244 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnMoveLink. Expected _wxPyDrawnShape_p.");
7245 return NULL;
7246 }
7247 }
7248 if (_argo1) {
7249 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7250 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnMoveLink. Expected _wxDC_p.");
7251 return NULL;
7252 }
7253 }
7254 _arg2 = (bool ) tempbool2;
7255 {
7256 PyThreadState* __tstate = wxPyBeginAllowThreads();
7257 wxPyDrawnShape_base_OnMoveLink(_arg0,*_arg1,_arg2);
7258
7259 wxPyEndAllowThreads(__tstate);
7260 if (PyErr_Occurred()) return NULL;
7261 } Py_INCREF(Py_None);
7262 _resultobj = Py_None;
7263 return _resultobj;
7264 }
7265
7266 #define wxPyDrawnShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7267 static PyObject *_wrap_wxPyDrawnShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7268 PyObject * _resultobj;
7269 wxPyDrawnShape * _arg0;
7270 wxPyControlPoint * _arg1;
7271 bool _arg2;
7272 double _arg3;
7273 double _arg4;
7274 int _arg5 = (int ) 0;
7275 int _arg6 = (int ) 0;
7276 PyObject * _argo0 = 0;
7277 PyObject * _argo1 = 0;
7278 int tempbool2;
7279 char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL };
7280
7281 self = self;
7282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyDrawnShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6))
7283 return NULL;
7284 if (_argo0) {
7285 if (_argo0 == Py_None) { _arg0 = NULL; }
7286 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7287 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnSizingDragLeft. Expected _wxPyDrawnShape_p.");
7288 return NULL;
7289 }
7290 }
7291 if (_argo1) {
7292 if (_argo1 == Py_None) { _arg1 = NULL; }
7293 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
7294 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
7295 return NULL;
7296 }
7297 }
7298 _arg2 = (bool ) tempbool2;
7299 {
7300 PyThreadState* __tstate = wxPyBeginAllowThreads();
7301 wxPyDrawnShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
7302
7303 wxPyEndAllowThreads(__tstate);
7304 if (PyErr_Occurred()) return NULL;
7305 } Py_INCREF(Py_None);
7306 _resultobj = Py_None;
7307 return _resultobj;
7308 }
7309
7310 #define wxPyDrawnShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7311 static PyObject *_wrap_wxPyDrawnShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7312 PyObject * _resultobj;
7313 wxPyDrawnShape * _arg0;
7314 wxPyControlPoint * _arg1;
7315 double _arg2;
7316 double _arg3;
7317 int _arg4 = (int ) 0;
7318 int _arg5 = (int ) 0;
7319 PyObject * _argo0 = 0;
7320 PyObject * _argo1 = 0;
7321 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
7322
7323 self = self;
7324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDrawnShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
7325 return NULL;
7326 if (_argo0) {
7327 if (_argo0 == Py_None) { _arg0 = NULL; }
7328 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7329 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnSizingBeginDragLeft. Expected _wxPyDrawnShape_p.");
7330 return NULL;
7331 }
7332 }
7333 if (_argo1) {
7334 if (_argo1 == Py_None) { _arg1 = NULL; }
7335 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
7336 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
7337 return NULL;
7338 }
7339 }
7340 {
7341 PyThreadState* __tstate = wxPyBeginAllowThreads();
7342 wxPyDrawnShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
7343
7344 wxPyEndAllowThreads(__tstate);
7345 if (PyErr_Occurred()) return NULL;
7346 } Py_INCREF(Py_None);
7347 _resultobj = Py_None;
7348 return _resultobj;
7349 }
7350
7351 #define wxPyDrawnShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7352 static PyObject *_wrap_wxPyDrawnShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7353 PyObject * _resultobj;
7354 wxPyDrawnShape * _arg0;
7355 wxPyControlPoint * _arg1;
7356 double _arg2;
7357 double _arg3;
7358 int _arg4 = (int ) 0;
7359 int _arg5 = (int ) 0;
7360 PyObject * _argo0 = 0;
7361 PyObject * _argo1 = 0;
7362 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
7363
7364 self = self;
7365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDrawnShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
7366 return NULL;
7367 if (_argo0) {
7368 if (_argo0 == Py_None) { _arg0 = NULL; }
7369 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7370 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnSizingEndDragLeft. Expected _wxPyDrawnShape_p.");
7371 return NULL;
7372 }
7373 }
7374 if (_argo1) {
7375 if (_argo1 == Py_None) { _arg1 = NULL; }
7376 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
7377 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
7378 return NULL;
7379 }
7380 }
7381 {
7382 PyThreadState* __tstate = wxPyBeginAllowThreads();
7383 wxPyDrawnShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
7384
7385 wxPyEndAllowThreads(__tstate);
7386 if (PyErr_Occurred()) return NULL;
7387 } Py_INCREF(Py_None);
7388 _resultobj = Py_None;
7389 return _resultobj;
7390 }
7391
7392 #define wxPyDrawnShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
7393 static PyObject *_wrap_wxPyDrawnShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7394 PyObject * _resultobj;
7395 wxPyDrawnShape * _arg0;
7396 double _arg1;
7397 double _arg2;
7398 PyObject * _argo0 = 0;
7399 char *_kwnames[] = { "self","w","h", NULL };
7400
7401 self = self;
7402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDrawnShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2))
7403 return NULL;
7404 if (_argo0) {
7405 if (_argo0 == Py_None) { _arg0 = NULL; }
7406 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7407 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnBeginSize. Expected _wxPyDrawnShape_p.");
7408 return NULL;
7409 }
7410 }
7411 {
7412 PyThreadState* __tstate = wxPyBeginAllowThreads();
7413 wxPyDrawnShape_base_OnBeginSize(_arg0,_arg1,_arg2);
7414
7415 wxPyEndAllowThreads(__tstate);
7416 if (PyErr_Occurred()) return NULL;
7417 } Py_INCREF(Py_None);
7418 _resultobj = Py_None;
7419 return _resultobj;
7420 }
7421
7422 #define wxPyDrawnShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
7423 static PyObject *_wrap_wxPyDrawnShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7424 PyObject * _resultobj;
7425 wxPyDrawnShape * _arg0;
7426 double _arg1;
7427 double _arg2;
7428 PyObject * _argo0 = 0;
7429 char *_kwnames[] = { "self","w","h", NULL };
7430
7431 self = self;
7432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDrawnShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2))
7433 return NULL;
7434 if (_argo0) {
7435 if (_argo0 == Py_None) { _arg0 = NULL; }
7436 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7437 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnEndSize. Expected _wxPyDrawnShape_p.");
7438 return NULL;
7439 }
7440 }
7441 {
7442 PyThreadState* __tstate = wxPyBeginAllowThreads();
7443 wxPyDrawnShape_base_OnEndSize(_arg0,_arg1,_arg2);
7444
7445 wxPyEndAllowThreads(__tstate);
7446 if (PyErr_Occurred()) return NULL;
7447 } Py_INCREF(Py_None);
7448 _resultobj = Py_None;
7449 return _resultobj;
7450 }
7451
7452 static void *SwigwxOGLConstraintTowxObject(void *ptr) {
7453 wxOGLConstraint *src;
7454 wxObject *dest;
7455 src = (wxOGLConstraint *) ptr;
7456 dest = (wxObject *) src;
7457 return (void *) dest;
7458 }
7459
7460 static wxOGLConstraint *new_wxOGLConstraint(int type,wxPyShape *constraining,PyObject *constrained) {
7461 wxList* list = wxPy_wxListHelper(constrained, "_wxPyShape_p");
7462 wxOGLConstraint* rv = new wxOGLConstraint(type, constraining, *list);
7463 delete list;
7464 return rv;
7465 }
7466
7467 static PyObject *_wrap_new_wxOGLConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
7468 PyObject * _resultobj;
7469 wxOGLConstraint * _result;
7470 int _arg0;
7471 wxPyShape * _arg1;
7472 PyObject * _arg2;
7473 PyObject * _argo1 = 0;
7474 PyObject * _obj2 = 0;
7475 char *_kwnames[] = { "type","constraining","constrained", NULL };
7476 char _ptemp[128];
7477
7478 self = self;
7479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iOO:new_wxOGLConstraint",_kwnames,&_arg0,&_argo1,&_obj2))
7480 return NULL;
7481 if (_argo1) {
7482 if (_argo1 == Py_None) { _arg1 = NULL; }
7483 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) {
7484 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxOGLConstraint. Expected _wxPyShape_p.");
7485 return NULL;
7486 }
7487 }
7488 {
7489 _arg2 = _obj2;
7490 }
7491 {
7492 PyThreadState* __tstate = wxPyBeginAllowThreads();
7493 _result = (wxOGLConstraint *)new_wxOGLConstraint(_arg0,_arg1,_arg2);
7494
7495 wxPyEndAllowThreads(__tstate);
7496 if (PyErr_Occurred()) return NULL;
7497 } if (_result) {
7498 SWIG_MakePtr(_ptemp, (char *) _result,"_wxOGLConstraint_p");
7499 _resultobj = Py_BuildValue("s",_ptemp);
7500 } else {
7501 Py_INCREF(Py_None);
7502 _resultobj = Py_None;
7503 }
7504 return _resultobj;
7505 }
7506
7507 #define wxOGLConstraint_Evaluate(_swigobj) (_swigobj->Evaluate())
7508 static PyObject *_wrap_wxOGLConstraint_Evaluate(PyObject *self, PyObject *args, PyObject *kwargs) {
7509 PyObject * _resultobj;
7510 bool _result;
7511 wxOGLConstraint * _arg0;
7512 PyObject * _argo0 = 0;
7513 char *_kwnames[] = { "self", NULL };
7514
7515 self = self;
7516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxOGLConstraint_Evaluate",_kwnames,&_argo0))
7517 return NULL;
7518 if (_argo0) {
7519 if (_argo0 == Py_None) { _arg0 = NULL; }
7520 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxOGLConstraint_p")) {
7521 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxOGLConstraint_Evaluate. Expected _wxOGLConstraint_p.");
7522 return NULL;
7523 }
7524 }
7525 {
7526 PyThreadState* __tstate = wxPyBeginAllowThreads();
7527 _result = (bool )wxOGLConstraint_Evaluate(_arg0);
7528
7529 wxPyEndAllowThreads(__tstate);
7530 if (PyErr_Occurred()) return NULL;
7531 } _resultobj = Py_BuildValue("i",_result);
7532 return _resultobj;
7533 }
7534
7535 #define wxOGLConstraint_SetSpacing(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSpacing(_swigarg0,_swigarg1))
7536 static PyObject *_wrap_wxOGLConstraint_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
7537 PyObject * _resultobj;
7538 wxOGLConstraint * _arg0;
7539 double _arg1;
7540 double _arg2;
7541 PyObject * _argo0 = 0;
7542 char *_kwnames[] = { "self","x","y", NULL };
7543
7544 self = self;
7545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxOGLConstraint_SetSpacing",_kwnames,&_argo0,&_arg1,&_arg2))
7546 return NULL;
7547 if (_argo0) {
7548 if (_argo0 == Py_None) { _arg0 = NULL; }
7549 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxOGLConstraint_p")) {
7550 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxOGLConstraint_SetSpacing. Expected _wxOGLConstraint_p.");
7551 return NULL;
7552 }
7553 }
7554 {
7555 PyThreadState* __tstate = wxPyBeginAllowThreads();
7556 wxOGLConstraint_SetSpacing(_arg0,_arg1,_arg2);
7557
7558 wxPyEndAllowThreads(__tstate);
7559 if (PyErr_Occurred()) return NULL;
7560 } Py_INCREF(Py_None);
7561 _resultobj = Py_None;
7562 return _resultobj;
7563 }
7564
7565 #define wxOGLConstraint_Equals(_swigobj,_swigarg0,_swigarg1) (_swigobj->Equals(_swigarg0,_swigarg1))
7566 static PyObject *_wrap_wxOGLConstraint_Equals(PyObject *self, PyObject *args, PyObject *kwargs) {
7567 PyObject * _resultobj;
7568 bool _result;
7569 wxOGLConstraint * _arg0;
7570 double _arg1;
7571 double _arg2;
7572 PyObject * _argo0 = 0;
7573 char *_kwnames[] = { "self","a","b", NULL };
7574
7575 self = self;
7576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxOGLConstraint_Equals",_kwnames,&_argo0,&_arg1,&_arg2))
7577 return NULL;
7578 if (_argo0) {
7579 if (_argo0 == Py_None) { _arg0 = NULL; }
7580 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxOGLConstraint_p")) {
7581 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxOGLConstraint_Equals. Expected _wxOGLConstraint_p.");
7582 return NULL;
7583 }
7584 }
7585 {
7586 PyThreadState* __tstate = wxPyBeginAllowThreads();
7587 _result = (bool )wxOGLConstraint_Equals(_arg0,_arg1,_arg2);
7588
7589 wxPyEndAllowThreads(__tstate);
7590 if (PyErr_Occurred()) return NULL;
7591 } _resultobj = Py_BuildValue("i",_result);
7592 return _resultobj;
7593 }
7594
7595 static void *SwigwxPyCompositeShapeTowxPyRectangleShape(void *ptr) {
7596 wxPyCompositeShape *src;
7597 wxPyRectangleShape *dest;
7598 src = (wxPyCompositeShape *) ptr;
7599 dest = (wxPyRectangleShape *) src;
7600 return (void *) dest;
7601 }
7602
7603 static void *SwigwxPyCompositeShapeTowxPyShape(void *ptr) {
7604 wxPyCompositeShape *src;
7605 wxPyShape *dest;
7606 src = (wxPyCompositeShape *) ptr;
7607 dest = (wxPyShape *) src;
7608 return (void *) dest;
7609 }
7610
7611 static void *SwigwxPyCompositeShapeTowxPyShapeEvtHandler(void *ptr) {
7612 wxPyCompositeShape *src;
7613 wxPyShapeEvtHandler *dest;
7614 src = (wxPyCompositeShape *) ptr;
7615 dest = (wxPyShapeEvtHandler *) src;
7616 return (void *) dest;
7617 }
7618
7619 static void *SwigwxPyCompositeShapeTowxObject(void *ptr) {
7620 wxPyCompositeShape *src;
7621 wxObject *dest;
7622 src = (wxPyCompositeShape *) ptr;
7623 dest = (wxObject *) src;
7624 return (void *) dest;
7625 }
7626
7627 #define new_wxPyCompositeShape() (new wxPyCompositeShape())
7628 static PyObject *_wrap_new_wxPyCompositeShape(PyObject *self, PyObject *args, PyObject *kwargs) {
7629 PyObject * _resultobj;
7630 wxPyCompositeShape * _result;
7631 char *_kwnames[] = { NULL };
7632 char _ptemp[128];
7633
7634 self = self;
7635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyCompositeShape",_kwnames))
7636 return NULL;
7637 {
7638 PyThreadState* __tstate = wxPyBeginAllowThreads();
7639 _result = (wxPyCompositeShape *)new_wxPyCompositeShape();
7640
7641 wxPyEndAllowThreads(__tstate);
7642 if (PyErr_Occurred()) return NULL;
7643 } if (_result) {
7644 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyCompositeShape_p");
7645 _resultobj = Py_BuildValue("s",_ptemp);
7646 } else {
7647 Py_INCREF(Py_None);
7648 _resultobj = Py_None;
7649 }
7650 return _resultobj;
7651 }
7652
7653 #define wxPyCompositeShape__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
7654 static PyObject *_wrap_wxPyCompositeShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7655 PyObject * _resultobj;
7656 wxPyCompositeShape * _arg0;
7657 PyObject * _arg1;
7658 PyObject * _arg2;
7659 PyObject * _argo0 = 0;
7660 PyObject * _obj1 = 0;
7661 PyObject * _obj2 = 0;
7662 char *_kwnames[] = { "self","self","_class", NULL };
7663
7664 self = self;
7665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyCompositeShape__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
7666 return NULL;
7667 if (_argo0) {
7668 if (_argo0 == Py_None) { _arg0 = NULL; }
7669 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7670 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape__setCallbackInfo. Expected _wxPyCompositeShape_p.");
7671 return NULL;
7672 }
7673 }
7674 {
7675 _arg1 = _obj1;
7676 }
7677 {
7678 _arg2 = _obj2;
7679 }
7680 {
7681 PyThreadState* __tstate = wxPyBeginAllowThreads();
7682 wxPyCompositeShape__setCallbackInfo(_arg0,_arg1,_arg2);
7683
7684 wxPyEndAllowThreads(__tstate);
7685 if (PyErr_Occurred()) return NULL;
7686 } Py_INCREF(Py_None);
7687 _resultobj = Py_None;
7688 return _resultobj;
7689 }
7690
7691 #define wxPyCompositeShape_AddChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddChild(_swigarg0,_swigarg1))
7692 static PyObject *_wrap_wxPyCompositeShape_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
7693 PyObject * _resultobj;
7694 wxPyCompositeShape * _arg0;
7695 wxPyShape * _arg1;
7696 wxPyShape * _arg2 = (wxPyShape *) NULL;
7697 PyObject * _argo0 = 0;
7698 PyObject * _argo1 = 0;
7699 PyObject * _argo2 = 0;
7700 char *_kwnames[] = { "self","child","addAfter", NULL };
7701
7702 self = self;
7703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxPyCompositeShape_AddChild",_kwnames,&_argo0,&_argo1,&_argo2))
7704 return NULL;
7705 if (_argo0) {
7706 if (_argo0 == Py_None) { _arg0 = NULL; }
7707 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7708 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_AddChild. Expected _wxPyCompositeShape_p.");
7709 return NULL;
7710 }
7711 }
7712 if (_argo1) {
7713 if (_argo1 == Py_None) { _arg1 = NULL; }
7714 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) {
7715 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_AddChild. Expected _wxPyShape_p.");
7716 return NULL;
7717 }
7718 }
7719 if (_argo2) {
7720 if (_argo2 == Py_None) { _arg2 = NULL; }
7721 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyShape_p")) {
7722 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyCompositeShape_AddChild. Expected _wxPyShape_p.");
7723 return NULL;
7724 }
7725 }
7726 {
7727 PyThreadState* __tstate = wxPyBeginAllowThreads();
7728 wxPyCompositeShape_AddChild(_arg0,_arg1,_arg2);
7729
7730 wxPyEndAllowThreads(__tstate);
7731 if (PyErr_Occurred()) return NULL;
7732 } Py_INCREF(Py_None);
7733 _resultobj = Py_None;
7734 return _resultobj;
7735 }
7736
7737 #define wxPyCompositeShape_AddConstraint(_swigobj,_swigarg0) (_swigobj->AddConstraint(_swigarg0))
7738 static PyObject *_wrap_wxPyCompositeShape_AddConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
7739 PyObject * _resultobj;
7740 wxOGLConstraint * _result;
7741 wxPyCompositeShape * _arg0;
7742 wxOGLConstraint * _arg1;
7743 PyObject * _argo0 = 0;
7744 PyObject * _argo1 = 0;
7745 char *_kwnames[] = { "self","constraint", NULL };
7746
7747 self = self;
7748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_AddConstraint",_kwnames,&_argo0,&_argo1))
7749 return NULL;
7750 if (_argo0) {
7751 if (_argo0 == Py_None) { _arg0 = NULL; }
7752 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7753 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_AddConstraint. Expected _wxPyCompositeShape_p.");
7754 return NULL;
7755 }
7756 }
7757 if (_argo1) {
7758 if (_argo1 == Py_None) { _arg1 = NULL; }
7759 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxOGLConstraint_p")) {
7760 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_AddConstraint. Expected _wxOGLConstraint_p.");
7761 return NULL;
7762 }
7763 }
7764 {
7765 PyThreadState* __tstate = wxPyBeginAllowThreads();
7766 _result = (wxOGLConstraint *)wxPyCompositeShape_AddConstraint(_arg0,_arg1);
7767
7768 wxPyEndAllowThreads(__tstate);
7769 if (PyErr_Occurred()) return NULL;
7770 }{ _resultobj = wxPyMake_wxObject(_result); }
7771 return _resultobj;
7772 }
7773
7774 static wxOGLConstraint * wxPyCompositeShape_AddConstrainedShapes(wxPyCompositeShape *self,int type,wxPyShape * constraining,PyObject * constrained) {
7775 wxList* list = wxPy_wxListHelper(constrained, "_wxPyShape_p");
7776 wxOGLConstraint* rv = self->AddConstraint(type, constraining, *list);
7777 delete list;
7778 return rv;
7779 }
7780 static PyObject *_wrap_wxPyCompositeShape_AddConstrainedShapes(PyObject *self, PyObject *args, PyObject *kwargs) {
7781 PyObject * _resultobj;
7782 wxOGLConstraint * _result;
7783 wxPyCompositeShape * _arg0;
7784 int _arg1;
7785 wxPyShape * _arg2;
7786 PyObject * _arg3;
7787 PyObject * _argo0 = 0;
7788 PyObject * _argo2 = 0;
7789 PyObject * _obj3 = 0;
7790 char *_kwnames[] = { "self","type","constraining","constrained", NULL };
7791
7792 self = self;
7793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO:wxPyCompositeShape_AddConstrainedShapes",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3))
7794 return NULL;
7795 if (_argo0) {
7796 if (_argo0 == Py_None) { _arg0 = NULL; }
7797 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7798 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_AddConstrainedShapes. Expected _wxPyCompositeShape_p.");
7799 return NULL;
7800 }
7801 }
7802 if (_argo2) {
7803 if (_argo2 == Py_None) { _arg2 = NULL; }
7804 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyShape_p")) {
7805 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyCompositeShape_AddConstrainedShapes. Expected _wxPyShape_p.");
7806 return NULL;
7807 }
7808 }
7809 {
7810 _arg3 = _obj3;
7811 }
7812 {
7813 PyThreadState* __tstate = wxPyBeginAllowThreads();
7814 _result = (wxOGLConstraint *)wxPyCompositeShape_AddConstrainedShapes(_arg0,_arg1,_arg2,_arg3);
7815
7816 wxPyEndAllowThreads(__tstate);
7817 if (PyErr_Occurred()) return NULL;
7818 }{ _resultobj = wxPyMake_wxObject(_result); }
7819 return _resultobj;
7820 }
7821
7822 #define wxPyCompositeShape_AddSimpleConstraint(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AddConstraint(_swigarg0,_swigarg1,_swigarg2))
7823 static PyObject *_wrap_wxPyCompositeShape_AddSimpleConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
7824 PyObject * _resultobj;
7825 wxOGLConstraint * _result;
7826 wxPyCompositeShape * _arg0;
7827 int _arg1;
7828 wxPyShape * _arg2;
7829 wxPyShape * _arg3;
7830 PyObject * _argo0 = 0;
7831 PyObject * _argo2 = 0;
7832 PyObject * _argo3 = 0;
7833 char *_kwnames[] = { "self","type","constraining","constrained", NULL };
7834
7835 self = self;
7836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO:wxPyCompositeShape_AddSimpleConstraint",_kwnames,&_argo0,&_arg1,&_argo2,&_argo3))
7837 return NULL;
7838 if (_argo0) {
7839 if (_argo0 == Py_None) { _arg0 = NULL; }
7840 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7841 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_AddSimpleConstraint. Expected _wxPyCompositeShape_p.");
7842 return NULL;
7843 }
7844 }
7845 if (_argo2) {
7846 if (_argo2 == Py_None) { _arg2 = NULL; }
7847 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyShape_p")) {
7848 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyCompositeShape_AddSimpleConstraint. Expected _wxPyShape_p.");
7849 return NULL;
7850 }
7851 }
7852 if (_argo3) {
7853 if (_argo3 == Py_None) { _arg3 = NULL; }
7854 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxPyShape_p")) {
7855 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxPyCompositeShape_AddSimpleConstraint. Expected _wxPyShape_p.");
7856 return NULL;
7857 }
7858 }
7859 {
7860 PyThreadState* __tstate = wxPyBeginAllowThreads();
7861 _result = (wxOGLConstraint *)wxPyCompositeShape_AddSimpleConstraint(_arg0,_arg1,_arg2,_arg3);
7862
7863 wxPyEndAllowThreads(__tstate);
7864 if (PyErr_Occurred()) return NULL;
7865 }{ _resultobj = wxPyMake_wxObject(_result); }
7866 return _resultobj;
7867 }
7868
7869 #define wxPyCompositeShape_CalculateSize(_swigobj) (_swigobj->CalculateSize())
7870 static PyObject *_wrap_wxPyCompositeShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7871 PyObject * _resultobj;
7872 wxPyCompositeShape * _arg0;
7873 PyObject * _argo0 = 0;
7874 char *_kwnames[] = { "self", NULL };
7875
7876 self = self;
7877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_CalculateSize",_kwnames,&_argo0))
7878 return NULL;
7879 if (_argo0) {
7880 if (_argo0 == Py_None) { _arg0 = NULL; }
7881 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7882 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_CalculateSize. Expected _wxPyCompositeShape_p.");
7883 return NULL;
7884 }
7885 }
7886 {
7887 PyThreadState* __tstate = wxPyBeginAllowThreads();
7888 wxPyCompositeShape_CalculateSize(_arg0);
7889
7890 wxPyEndAllowThreads(__tstate);
7891 if (PyErr_Occurred()) return NULL;
7892 } Py_INCREF(Py_None);
7893 _resultobj = Py_None;
7894 return _resultobj;
7895 }
7896
7897 #define wxPyCompositeShape_ContainsDivision(_swigobj,_swigarg0) (_swigobj->ContainsDivision(_swigarg0))
7898 static PyObject *_wrap_wxPyCompositeShape_ContainsDivision(PyObject *self, PyObject *args, PyObject *kwargs) {
7899 PyObject * _resultobj;
7900 bool _result;
7901 wxPyCompositeShape * _arg0;
7902 wxPyDivisionShape * _arg1;
7903 PyObject * _argo0 = 0;
7904 PyObject * _argo1 = 0;
7905 char *_kwnames[] = { "self","division", NULL };
7906
7907 self = self;
7908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_ContainsDivision",_kwnames,&_argo0,&_argo1))
7909 return NULL;
7910 if (_argo0) {
7911 if (_argo0 == Py_None) { _arg0 = NULL; }
7912 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7913 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_ContainsDivision. Expected _wxPyCompositeShape_p.");
7914 return NULL;
7915 }
7916 }
7917 if (_argo1) {
7918 if (_argo1 == Py_None) { _arg1 = NULL; }
7919 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyDivisionShape_p")) {
7920 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_ContainsDivision. Expected _wxPyDivisionShape_p.");
7921 return NULL;
7922 }
7923 }
7924 {
7925 PyThreadState* __tstate = wxPyBeginAllowThreads();
7926 _result = (bool )wxPyCompositeShape_ContainsDivision(_arg0,_arg1);
7927
7928 wxPyEndAllowThreads(__tstate);
7929 if (PyErr_Occurred()) return NULL;
7930 } _resultobj = Py_BuildValue("i",_result);
7931 return _resultobj;
7932 }
7933
7934 #define wxPyCompositeShape_DeleteConstraint(_swigobj,_swigarg0) (_swigobj->DeleteConstraint(_swigarg0))
7935 static PyObject *_wrap_wxPyCompositeShape_DeleteConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
7936 PyObject * _resultobj;
7937 wxPyCompositeShape * _arg0;
7938 wxOGLConstraint * _arg1;
7939 PyObject * _argo0 = 0;
7940 PyObject * _argo1 = 0;
7941 char *_kwnames[] = { "self","constraint", NULL };
7942
7943 self = self;
7944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_DeleteConstraint",_kwnames,&_argo0,&_argo1))
7945 return NULL;
7946 if (_argo0) {
7947 if (_argo0 == Py_None) { _arg0 = NULL; }
7948 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7949 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_DeleteConstraint. Expected _wxPyCompositeShape_p.");
7950 return NULL;
7951 }
7952 }
7953 if (_argo1) {
7954 if (_argo1 == Py_None) { _arg1 = NULL; }
7955 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxOGLConstraint_p")) {
7956 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_DeleteConstraint. Expected _wxOGLConstraint_p.");
7957 return NULL;
7958 }
7959 }
7960 {
7961 PyThreadState* __tstate = wxPyBeginAllowThreads();
7962 wxPyCompositeShape_DeleteConstraint(_arg0,_arg1);
7963
7964 wxPyEndAllowThreads(__tstate);
7965 if (PyErr_Occurred()) return NULL;
7966 } Py_INCREF(Py_None);
7967 _resultobj = Py_None;
7968 return _resultobj;
7969 }
7970
7971 #define wxPyCompositeShape_DeleteConstraintsInvolvingChild(_swigobj,_swigarg0) (_swigobj->DeleteConstraintsInvolvingChild(_swigarg0))
7972 static PyObject *_wrap_wxPyCompositeShape_DeleteConstraintsInvolvingChild(PyObject *self, PyObject *args, PyObject *kwargs) {
7973 PyObject * _resultobj;
7974 wxPyCompositeShape * _arg0;
7975 wxPyShape * _arg1;
7976 PyObject * _argo0 = 0;
7977 PyObject * _argo1 = 0;
7978 char *_kwnames[] = { "self","child", NULL };
7979
7980 self = self;
7981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_DeleteConstraintsInvolvingChild",_kwnames,&_argo0,&_argo1))
7982 return NULL;
7983 if (_argo0) {
7984 if (_argo0 == Py_None) { _arg0 = NULL; }
7985 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7986 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_DeleteConstraintsInvolvingChild. Expected _wxPyCompositeShape_p.");
7987 return NULL;
7988 }
7989 }
7990 if (_argo1) {
7991 if (_argo1 == Py_None) { _arg1 = NULL; }
7992 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) {
7993 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_DeleteConstraintsInvolvingChild. Expected _wxPyShape_p.");
7994 return NULL;
7995 }
7996 }
7997 {
7998 PyThreadState* __tstate = wxPyBeginAllowThreads();
7999 wxPyCompositeShape_DeleteConstraintsInvolvingChild(_arg0,_arg1);
8000
8001 wxPyEndAllowThreads(__tstate);
8002 if (PyErr_Occurred()) return NULL;
8003 } Py_INCREF(Py_None);
8004 _resultobj = Py_None;
8005 return _resultobj;
8006 }
8007
8008 #define wxPyCompositeShape_FindContainerImage(_swigobj) (_swigobj->FindContainerImage())
8009 static PyObject *_wrap_wxPyCompositeShape_FindContainerImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8010 PyObject * _resultobj;
8011 wxPyShape * _result;
8012 wxPyCompositeShape * _arg0;
8013 PyObject * _argo0 = 0;
8014 char *_kwnames[] = { "self", NULL };
8015
8016 self = self;
8017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_FindContainerImage",_kwnames,&_argo0))
8018 return NULL;
8019 if (_argo0) {
8020 if (_argo0 == Py_None) { _arg0 = NULL; }
8021 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8022 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_FindContainerImage. Expected _wxPyCompositeShape_p.");
8023 return NULL;
8024 }
8025 }
8026 {
8027 PyThreadState* __tstate = wxPyBeginAllowThreads();
8028 _result = (wxPyShape *)wxPyCompositeShape_FindContainerImage(_arg0);
8029
8030 wxPyEndAllowThreads(__tstate);
8031 if (PyErr_Occurred()) return NULL;
8032 }{ _resultobj = wxPyMake_wxShapeEvtHandler(_result); }
8033 return _resultobj;
8034 }
8035
8036 static PyObject * wxPyCompositeShape_GetConstraints(wxPyCompositeShape *self) {
8037 wxList& list = self->GetConstraints();
8038 return wxPy_ConvertList(&list, "wxOGLConstraint");
8039 }
8040 static PyObject *_wrap_wxPyCompositeShape_GetConstraints(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_GetConstraints",_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_GetConstraints. Expected _wxPyCompositeShape_p.");
8054 return NULL;
8055 }
8056 }
8057 {
8058 PyThreadState* __tstate = wxPyBeginAllowThreads();
8059 _result = (PyObject *)wxPyCompositeShape_GetConstraints(_arg0);
8060
8061 wxPyEndAllowThreads(__tstate);
8062 if (PyErr_Occurred()) return NULL;
8063 }{
8064 _resultobj = _result;
8065 }
8066 return _resultobj;
8067 }
8068
8069 static PyObject * wxPyCompositeShape_GetDivisions(wxPyCompositeShape *self) {
8070 wxList& list = self->GetDivisions();
8071 return wxPy_ConvertShapeList(&list, "wxPyDivisionShape");
8072 }
8073 static PyObject *_wrap_wxPyCompositeShape_GetDivisions(PyObject *self, PyObject *args, PyObject *kwargs) {
8074 PyObject * _resultobj;
8075 PyObject * _result;
8076 wxPyCompositeShape * _arg0;
8077 PyObject * _argo0 = 0;
8078 char *_kwnames[] = { "self", NULL };
8079
8080 self = self;
8081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_GetDivisions",_kwnames,&_argo0))
8082 return NULL;
8083 if (_argo0) {
8084 if (_argo0 == Py_None) { _arg0 = NULL; }
8085 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8086 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_GetDivisions. Expected _wxPyCompositeShape_p.");
8087 return NULL;
8088 }
8089 }
8090 {
8091 PyThreadState* __tstate = wxPyBeginAllowThreads();
8092 _result = (PyObject *)wxPyCompositeShape_GetDivisions(_arg0);
8093
8094 wxPyEndAllowThreads(__tstate);
8095 if (PyErr_Occurred()) return NULL;
8096 }{
8097 _resultobj = _result;
8098 }
8099 return _resultobj;
8100 }
8101
8102 #define wxPyCompositeShape_MakeContainer(_swigobj) (_swigobj->MakeContainer())
8103 static PyObject *_wrap_wxPyCompositeShape_MakeContainer(PyObject *self, PyObject *args, PyObject *kwargs) {
8104 PyObject * _resultobj;
8105 wxPyCompositeShape * _arg0;
8106 PyObject * _argo0 = 0;
8107 char *_kwnames[] = { "self", NULL };
8108
8109 self = self;
8110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_MakeContainer",_kwnames,&_argo0))
8111 return NULL;
8112 if (_argo0) {
8113 if (_argo0 == Py_None) { _arg0 = NULL; }
8114 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8115 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_MakeContainer. Expected _wxPyCompositeShape_p.");
8116 return NULL;
8117 }
8118 }
8119 {
8120 PyThreadState* __tstate = wxPyBeginAllowThreads();
8121 wxPyCompositeShape_MakeContainer(_arg0);
8122
8123 wxPyEndAllowThreads(__tstate);
8124 if (PyErr_Occurred()) return NULL;
8125 } Py_INCREF(Py_None);
8126 _resultobj = Py_None;
8127 return _resultobj;
8128 }
8129
8130 #define wxPyCompositeShape_Recompute(_swigobj) (_swigobj->Recompute())
8131 static PyObject *_wrap_wxPyCompositeShape_Recompute(PyObject *self, PyObject *args, PyObject *kwargs) {
8132 PyObject * _resultobj;
8133 bool _result;
8134 wxPyCompositeShape * _arg0;
8135 PyObject * _argo0 = 0;
8136 char *_kwnames[] = { "self", NULL };
8137
8138 self = self;
8139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_Recompute",_kwnames,&_argo0))
8140 return NULL;
8141 if (_argo0) {
8142 if (_argo0 == Py_None) { _arg0 = NULL; }
8143 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8144 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_Recompute. Expected _wxPyCompositeShape_p.");
8145 return NULL;
8146 }
8147 }
8148 {
8149 PyThreadState* __tstate = wxPyBeginAllowThreads();
8150 _result = (bool )wxPyCompositeShape_Recompute(_arg0);
8151
8152 wxPyEndAllowThreads(__tstate);
8153 if (PyErr_Occurred()) return NULL;
8154 } _resultobj = Py_BuildValue("i",_result);
8155 return _resultobj;
8156 }
8157
8158 #define wxPyCompositeShape_RemoveChild(_swigobj,_swigarg0) (_swigobj->RemoveChild(_swigarg0))
8159 static PyObject *_wrap_wxPyCompositeShape_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
8160 PyObject * _resultobj;
8161 wxPyCompositeShape * _arg0;
8162 wxPyShape * _arg1;
8163 PyObject * _argo0 = 0;
8164 PyObject * _argo1 = 0;
8165 char *_kwnames[] = { "self","child", NULL };
8166
8167 self = self;
8168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_RemoveChild",_kwnames,&_argo0,&_argo1))
8169 return NULL;
8170 if (_argo0) {
8171 if (_argo0 == Py_None) { _arg0 = NULL; }
8172 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8173 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_RemoveChild. Expected _wxPyCompositeShape_p.");
8174 return NULL;
8175 }
8176 }
8177 if (_argo1) {
8178 if (_argo1 == Py_None) { _arg1 = NULL; }
8179 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) {
8180 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_RemoveChild. Expected _wxPyShape_p.");
8181 return NULL;
8182 }
8183 }
8184 {
8185 PyThreadState* __tstate = wxPyBeginAllowThreads();
8186 wxPyCompositeShape_RemoveChild(_arg0,_arg1);
8187
8188 wxPyEndAllowThreads(__tstate);
8189 if (PyErr_Occurred()) return NULL;
8190 } Py_INCREF(Py_None);
8191 _resultobj = Py_None;
8192 return _resultobj;
8193 }
8194
8195 #define wxPyCompositeShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
8196 static PyObject *_wrap_wxPyCompositeShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
8197 PyObject * _resultobj;
8198 wxPyCompositeShape * _arg0;
8199 PyObject * _argo0 = 0;
8200 char *_kwnames[] = { "self", NULL };
8201
8202 self = self;
8203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_base_OnDelete",_kwnames,&_argo0))
8204 return NULL;
8205 if (_argo0) {
8206 if (_argo0 == Py_None) { _arg0 = NULL; }
8207 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8208 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDelete. Expected _wxPyCompositeShape_p.");
8209 return NULL;
8210 }
8211 }
8212 {
8213 PyThreadState* __tstate = wxPyBeginAllowThreads();
8214 wxPyCompositeShape_base_OnDelete(_arg0);
8215
8216 wxPyEndAllowThreads(__tstate);
8217 if (PyErr_Occurred()) return NULL;
8218 } Py_INCREF(Py_None);
8219 _resultobj = Py_None;
8220 return _resultobj;
8221 }
8222
8223 #define wxPyCompositeShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
8224 static PyObject *_wrap_wxPyCompositeShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
8225 PyObject * _resultobj;
8226 wxPyCompositeShape * _arg0;
8227 wxDC * _arg1;
8228 PyObject * _argo0 = 0;
8229 PyObject * _argo1 = 0;
8230 char *_kwnames[] = { "self","dc", NULL };
8231
8232 self = self;
8233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnDraw",_kwnames,&_argo0,&_argo1))
8234 return NULL;
8235 if (_argo0) {
8236 if (_argo0 == Py_None) { _arg0 = NULL; }
8237 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8238 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDraw. Expected _wxPyCompositeShape_p.");
8239 return NULL;
8240 }
8241 }
8242 if (_argo1) {
8243 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8244 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnDraw. Expected _wxDC_p.");
8245 return NULL;
8246 }
8247 }
8248 {
8249 PyThreadState* __tstate = wxPyBeginAllowThreads();
8250 wxPyCompositeShape_base_OnDraw(_arg0,*_arg1);
8251
8252 wxPyEndAllowThreads(__tstate);
8253 if (PyErr_Occurred()) return NULL;
8254 } Py_INCREF(Py_None);
8255 _resultobj = Py_None;
8256 return _resultobj;
8257 }
8258
8259 #define wxPyCompositeShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
8260 static PyObject *_wrap_wxPyCompositeShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
8261 PyObject * _resultobj;
8262 wxPyCompositeShape * _arg0;
8263 wxDC * _arg1;
8264 PyObject * _argo0 = 0;
8265 PyObject * _argo1 = 0;
8266 char *_kwnames[] = { "self","dc", NULL };
8267
8268 self = self;
8269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1))
8270 return NULL;
8271 if (_argo0) {
8272 if (_argo0 == Py_None) { _arg0 = NULL; }
8273 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8274 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDrawContents. Expected _wxPyCompositeShape_p.");
8275 return NULL;
8276 }
8277 }
8278 if (_argo1) {
8279 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8280 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnDrawContents. Expected _wxDC_p.");
8281 return NULL;
8282 }
8283 }
8284 {
8285 PyThreadState* __tstate = wxPyBeginAllowThreads();
8286 wxPyCompositeShape_base_OnDrawContents(_arg0,*_arg1);
8287
8288 wxPyEndAllowThreads(__tstate);
8289 if (PyErr_Occurred()) return NULL;
8290 } Py_INCREF(Py_None);
8291 _resultobj = Py_None;
8292 return _resultobj;
8293 }
8294
8295 #define wxPyCompositeShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
8296 static PyObject *_wrap_wxPyCompositeShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
8297 PyObject * _resultobj;
8298 wxPyCompositeShape * _arg0;
8299 wxDC * _arg1;
8300 bool _arg2 = (bool ) FALSE;
8301 PyObject * _argo0 = 0;
8302 PyObject * _argo1 = 0;
8303 int tempbool2 = (int) FALSE;
8304 char *_kwnames[] = { "self","dc","erase", NULL };
8305
8306 self = self;
8307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyCompositeShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2))
8308 return NULL;
8309 if (_argo0) {
8310 if (_argo0 == Py_None) { _arg0 = NULL; }
8311 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8312 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDrawBranches. Expected _wxPyCompositeShape_p.");
8313 return NULL;
8314 }
8315 }
8316 if (_argo1) {
8317 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8318 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnDrawBranches. Expected _wxDC_p.");
8319 return NULL;
8320 }
8321 }
8322 _arg2 = (bool ) tempbool2;
8323 {
8324 PyThreadState* __tstate = wxPyBeginAllowThreads();
8325 wxPyCompositeShape_base_OnDrawBranches(_arg0,*_arg1,_arg2);
8326
8327 wxPyEndAllowThreads(__tstate);
8328 if (PyErr_Occurred()) return NULL;
8329 } Py_INCREF(Py_None);
8330 _resultobj = Py_None;
8331 return _resultobj;
8332 }
8333
8334 #define wxPyCompositeShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
8335 static PyObject *_wrap_wxPyCompositeShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
8336 PyObject * _resultobj;
8337 wxPyCompositeShape * _arg0;
8338 wxDC * _arg1;
8339 PyObject * _argo0 = 0;
8340 PyObject * _argo1 = 0;
8341 char *_kwnames[] = { "self","dc", NULL };
8342
8343 self = self;
8344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1))
8345 return NULL;
8346 if (_argo0) {
8347 if (_argo0 == Py_None) { _arg0 = NULL; }
8348 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8349 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnMoveLinks. Expected _wxPyCompositeShape_p.");
8350 return NULL;
8351 }
8352 }
8353 if (_argo1) {
8354 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8355 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnMoveLinks. Expected _wxDC_p.");
8356 return NULL;
8357 }
8358 }
8359 {
8360 PyThreadState* __tstate = wxPyBeginAllowThreads();
8361 wxPyCompositeShape_base_OnMoveLinks(_arg0,*_arg1);
8362
8363 wxPyEndAllowThreads(__tstate);
8364 if (PyErr_Occurred()) return NULL;
8365 } Py_INCREF(Py_None);
8366 _resultobj = Py_None;
8367 return _resultobj;
8368 }
8369
8370 #define wxPyCompositeShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
8371 static PyObject *_wrap_wxPyCompositeShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
8372 PyObject * _resultobj;
8373 wxPyCompositeShape * _arg0;
8374 wxDC * _arg1;
8375 PyObject * _argo0 = 0;
8376 PyObject * _argo1 = 0;
8377 char *_kwnames[] = { "self","dc", NULL };
8378
8379 self = self;
8380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnErase",_kwnames,&_argo0,&_argo1))
8381 return NULL;
8382 if (_argo0) {
8383 if (_argo0 == Py_None) { _arg0 = NULL; }
8384 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8385 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnErase. Expected _wxPyCompositeShape_p.");
8386 return NULL;
8387 }
8388 }
8389 if (_argo1) {
8390 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8391 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnErase. Expected _wxDC_p.");
8392 return NULL;
8393 }
8394 }
8395 {
8396 PyThreadState* __tstate = wxPyBeginAllowThreads();
8397 wxPyCompositeShape_base_OnErase(_arg0,*_arg1);
8398
8399 wxPyEndAllowThreads(__tstate);
8400 if (PyErr_Occurred()) return NULL;
8401 } Py_INCREF(Py_None);
8402 _resultobj = Py_None;
8403 return _resultobj;
8404 }
8405
8406 #define wxPyCompositeShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
8407 static PyObject *_wrap_wxPyCompositeShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
8408 PyObject * _resultobj;
8409 wxPyCompositeShape * _arg0;
8410 wxDC * _arg1;
8411 PyObject * _argo0 = 0;
8412 PyObject * _argo1 = 0;
8413 char *_kwnames[] = { "self","dc", NULL };
8414
8415 self = self;
8416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1))
8417 return NULL;
8418 if (_argo0) {
8419 if (_argo0 == Py_None) { _arg0 = NULL; }
8420 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8421 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnEraseContents. Expected _wxPyCompositeShape_p.");
8422 return NULL;
8423 }
8424 }
8425 if (_argo1) {
8426 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8427 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnEraseContents. Expected _wxDC_p.");
8428 return NULL;
8429 }
8430 }
8431 {
8432 PyThreadState* __tstate = wxPyBeginAllowThreads();
8433 wxPyCompositeShape_base_OnEraseContents(_arg0,*_arg1);
8434
8435 wxPyEndAllowThreads(__tstate);
8436 if (PyErr_Occurred()) return NULL;
8437 } Py_INCREF(Py_None);
8438 _resultobj = Py_None;
8439 return _resultobj;
8440 }
8441
8442 #define wxPyCompositeShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
8443 static PyObject *_wrap_wxPyCompositeShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
8444 PyObject * _resultobj;
8445 wxPyCompositeShape * _arg0;
8446 wxDC * _arg1;
8447 PyObject * _argo0 = 0;
8448 PyObject * _argo1 = 0;
8449 char *_kwnames[] = { "self","dc", NULL };
8450
8451 self = self;
8452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnHighlight",_kwnames,&_argo0,&_argo1))
8453 return NULL;
8454 if (_argo0) {
8455 if (_argo0 == Py_None) { _arg0 = NULL; }
8456 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8457 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnHighlight. Expected _wxPyCompositeShape_p.");
8458 return NULL;
8459 }
8460 }
8461 if (_argo1) {
8462 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8463 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnHighlight. Expected _wxDC_p.");
8464 return NULL;
8465 }
8466 }
8467 {
8468 PyThreadState* __tstate = wxPyBeginAllowThreads();
8469 wxPyCompositeShape_base_OnHighlight(_arg0,*_arg1);
8470
8471 wxPyEndAllowThreads(__tstate);
8472 if (PyErr_Occurred()) return NULL;
8473 } Py_INCREF(Py_None);
8474 _resultobj = Py_None;
8475 return _resultobj;
8476 }
8477
8478 #define wxPyCompositeShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8479 static PyObject *_wrap_wxPyCompositeShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
8480 PyObject * _resultobj;
8481 wxPyCompositeShape * _arg0;
8482 double _arg1;
8483 double _arg2;
8484 int _arg3 = (int ) 0;
8485 int _arg4 = (int ) 0;
8486 PyObject * _argo0 = 0;
8487 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
8488
8489 self = self;
8490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8491 return NULL;
8492 if (_argo0) {
8493 if (_argo0 == Py_None) { _arg0 = NULL; }
8494 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8495 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnLeftClick. Expected _wxPyCompositeShape_p.");
8496 return NULL;
8497 }
8498 }
8499 {
8500 PyThreadState* __tstate = wxPyBeginAllowThreads();
8501 wxPyCompositeShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4);
8502
8503 wxPyEndAllowThreads(__tstate);
8504 if (PyErr_Occurred()) return NULL;
8505 } Py_INCREF(Py_None);
8506 _resultobj = Py_None;
8507 return _resultobj;
8508 }
8509
8510 #define wxPyCompositeShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8511 static PyObject *_wrap_wxPyCompositeShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
8512 PyObject * _resultobj;
8513 wxPyCompositeShape * _arg0;
8514 double _arg1;
8515 double _arg2;
8516 int _arg3 = (int ) 0;
8517 int _arg4 = (int ) 0;
8518 PyObject * _argo0 = 0;
8519 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
8520
8521 self = self;
8522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8523 return NULL;
8524 if (_argo0) {
8525 if (_argo0 == Py_None) { _arg0 = NULL; }
8526 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8527 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnLeftDoubleClick. Expected _wxPyCompositeShape_p.");
8528 return NULL;
8529 }
8530 }
8531 {
8532 PyThreadState* __tstate = wxPyBeginAllowThreads();
8533 wxPyCompositeShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4);
8534
8535 wxPyEndAllowThreads(__tstate);
8536 if (PyErr_Occurred()) return NULL;
8537 } Py_INCREF(Py_None);
8538 _resultobj = Py_None;
8539 return _resultobj;
8540 }
8541
8542 #define wxPyCompositeShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8543 static PyObject *_wrap_wxPyCompositeShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
8544 PyObject * _resultobj;
8545 wxPyCompositeShape * _arg0;
8546 double _arg1;
8547 double _arg2;
8548 int _arg3 = (int ) 0;
8549 int _arg4 = (int ) 0;
8550 PyObject * _argo0 = 0;
8551 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
8552
8553 self = self;
8554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8555 return NULL;
8556 if (_argo0) {
8557 if (_argo0 == Py_None) { _arg0 = NULL; }
8558 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8559 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnRightClick. Expected _wxPyCompositeShape_p.");
8560 return NULL;
8561 }
8562 }
8563 {
8564 PyThreadState* __tstate = wxPyBeginAllowThreads();
8565 wxPyCompositeShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4);
8566
8567 wxPyEndAllowThreads(__tstate);
8568 if (PyErr_Occurred()) return NULL;
8569 } Py_INCREF(Py_None);
8570 _resultobj = Py_None;
8571 return _resultobj;
8572 }
8573
8574 #define wxPyCompositeShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
8575 static PyObject *_wrap_wxPyCompositeShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8576 PyObject * _resultobj;
8577 wxPyCompositeShape * _arg0;
8578 double _arg1;
8579 double _arg2;
8580 PyObject * _argo0 = 0;
8581 char *_kwnames[] = { "self","x","y", NULL };
8582
8583 self = self;
8584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyCompositeShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2))
8585 return NULL;
8586 if (_argo0) {
8587 if (_argo0 == Py_None) { _arg0 = NULL; }
8588 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8589 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnSize. Expected _wxPyCompositeShape_p.");
8590 return NULL;
8591 }
8592 }
8593 {
8594 PyThreadState* __tstate = wxPyBeginAllowThreads();
8595 wxPyCompositeShape_base_OnSize(_arg0,_arg1,_arg2);
8596
8597 wxPyEndAllowThreads(__tstate);
8598 if (PyErr_Occurred()) return NULL;
8599 } Py_INCREF(Py_None);
8600 _resultobj = Py_None;
8601 return _resultobj;
8602 }
8603
8604 #define wxPyCompositeShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8605 static PyObject *_wrap_wxPyCompositeShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
8606 PyObject * _resultobj;
8607 bool _result;
8608 wxPyCompositeShape * _arg0;
8609 wxDC * _arg1;
8610 double _arg2;
8611 double _arg3;
8612 double _arg4;
8613 double _arg5;
8614 bool _arg6 = (bool ) TRUE;
8615 PyObject * _argo0 = 0;
8616 PyObject * _argo1 = 0;
8617 int tempbool6 = (int) TRUE;
8618 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
8619
8620 self = self;
8621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyCompositeShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
8622 return NULL;
8623 if (_argo0) {
8624 if (_argo0 == Py_None) { _arg0 = NULL; }
8625 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8626 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnMovePre. Expected _wxPyCompositeShape_p.");
8627 return NULL;
8628 }
8629 }
8630 if (_argo1) {
8631 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8632 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnMovePre. Expected _wxDC_p.");
8633 return NULL;
8634 }
8635 }
8636 _arg6 = (bool ) tempbool6;
8637 {
8638 PyThreadState* __tstate = wxPyBeginAllowThreads();
8639 _result = (bool )wxPyCompositeShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
8640
8641 wxPyEndAllowThreads(__tstate);
8642 if (PyErr_Occurred()) return NULL;
8643 } _resultobj = Py_BuildValue("i",_result);
8644 return _resultobj;
8645 }
8646
8647 #define wxPyCompositeShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8648 static PyObject *_wrap_wxPyCompositeShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
8649 PyObject * _resultobj;
8650 wxPyCompositeShape * _arg0;
8651 wxDC * _arg1;
8652 double _arg2;
8653 double _arg3;
8654 double _arg4;
8655 double _arg5;
8656 bool _arg6 = (bool ) TRUE;
8657 PyObject * _argo0 = 0;
8658 PyObject * _argo1 = 0;
8659 int tempbool6 = (int) TRUE;
8660 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
8661
8662 self = self;
8663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyCompositeShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
8664 return NULL;
8665 if (_argo0) {
8666 if (_argo0 == Py_None) { _arg0 = NULL; }
8667 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8668 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnMovePost. Expected _wxPyCompositeShape_p.");
8669 return NULL;
8670 }
8671 }
8672 if (_argo1) {
8673 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8674 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnMovePost. Expected _wxDC_p.");
8675 return NULL;
8676 }
8677 }
8678 _arg6 = (bool ) tempbool6;
8679 {
8680 PyThreadState* __tstate = wxPyBeginAllowThreads();
8681 wxPyCompositeShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
8682
8683 wxPyEndAllowThreads(__tstate);
8684 if (PyErr_Occurred()) return NULL;
8685 } Py_INCREF(Py_None);
8686 _resultobj = Py_None;
8687 return _resultobj;
8688 }
8689
8690 #define wxPyCompositeShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8691 static PyObject *_wrap_wxPyCompositeShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8692 PyObject * _resultobj;
8693 wxPyCompositeShape * _arg0;
8694 bool _arg1;
8695 double _arg2;
8696 double _arg3;
8697 int _arg4 = (int ) 0;
8698 int _arg5 = (int ) 0;
8699 PyObject * _argo0 = 0;
8700 int tempbool1;
8701 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
8702
8703 self = self;
8704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyCompositeShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
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_OnDragLeft. Expected _wxPyCompositeShape_p.");
8710 return NULL;
8711 }
8712 }
8713 _arg1 = (bool ) tempbool1;
8714 {
8715 PyThreadState* __tstate = wxPyBeginAllowThreads();
8716 wxPyCompositeShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
8717
8718 wxPyEndAllowThreads(__tstate);
8719 if (PyErr_Occurred()) return NULL;
8720 } Py_INCREF(Py_None);
8721 _resultobj = Py_None;
8722 return _resultobj;
8723 }
8724
8725 #define wxPyCompositeShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8726 static PyObject *_wrap_wxPyCompositeShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8727 PyObject * _resultobj;
8728 wxPyCompositeShape * _arg0;
8729 double _arg1;
8730 double _arg2;
8731 int _arg3 = (int ) 0;
8732 int _arg4 = (int ) 0;
8733 PyObject * _argo0 = 0;
8734 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
8735
8736 self = self;
8737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8738 return NULL;
8739 if (_argo0) {
8740 if (_argo0 == Py_None) { _arg0 = NULL; }
8741 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8742 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnBeginDragLeft. Expected _wxPyCompositeShape_p.");
8743 return NULL;
8744 }
8745 }
8746 {
8747 PyThreadState* __tstate = wxPyBeginAllowThreads();
8748 wxPyCompositeShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
8749
8750 wxPyEndAllowThreads(__tstate);
8751 if (PyErr_Occurred()) return NULL;
8752 } Py_INCREF(Py_None);
8753 _resultobj = Py_None;
8754 return _resultobj;
8755 }
8756
8757 #define wxPyCompositeShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8758 static PyObject *_wrap_wxPyCompositeShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8759 PyObject * _resultobj;
8760 wxPyCompositeShape * _arg0;
8761 double _arg1;
8762 double _arg2;
8763 int _arg3 = (int ) 0;
8764 int _arg4 = (int ) 0;
8765 PyObject * _argo0 = 0;
8766 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
8767
8768 self = self;
8769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8770 return NULL;
8771 if (_argo0) {
8772 if (_argo0 == Py_None) { _arg0 = NULL; }
8773 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8774 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnEndDragLeft. Expected _wxPyCompositeShape_p.");
8775 return NULL;
8776 }
8777 }
8778 {
8779 PyThreadState* __tstate = wxPyBeginAllowThreads();
8780 wxPyCompositeShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
8781
8782 wxPyEndAllowThreads(__tstate);
8783 if (PyErr_Occurred()) return NULL;
8784 } Py_INCREF(Py_None);
8785 _resultobj = Py_None;
8786 return _resultobj;
8787 }
8788
8789 #define wxPyCompositeShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8790 static PyObject *_wrap_wxPyCompositeShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8791 PyObject * _resultobj;
8792 wxPyCompositeShape * _arg0;
8793 bool _arg1;
8794 double _arg2;
8795 double _arg3;
8796 int _arg4 = (int ) 0;
8797 int _arg5 = (int ) 0;
8798 PyObject * _argo0 = 0;
8799 int tempbool1;
8800 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
8801
8802 self = self;
8803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyCompositeShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
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_OnDragRight. Expected _wxPyCompositeShape_p.");
8809 return NULL;
8810 }
8811 }
8812 _arg1 = (bool ) tempbool1;
8813 {
8814 PyThreadState* __tstate = wxPyBeginAllowThreads();
8815 wxPyCompositeShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
8816
8817 wxPyEndAllowThreads(__tstate);
8818 if (PyErr_Occurred()) return NULL;
8819 } Py_INCREF(Py_None);
8820 _resultobj = Py_None;
8821 return _resultobj;
8822 }
8823
8824 #define wxPyCompositeShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8825 static PyObject *_wrap_wxPyCompositeShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8826 PyObject * _resultobj;
8827 wxPyCompositeShape * _arg0;
8828 double _arg1;
8829 double _arg2;
8830 int _arg3 = (int ) 0;
8831 int _arg4 = (int ) 0;
8832 PyObject * _argo0 = 0;
8833 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
8834
8835 self = self;
8836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8837 return NULL;
8838 if (_argo0) {
8839 if (_argo0 == Py_None) { _arg0 = NULL; }
8840 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8841 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnBeginDragRight. Expected _wxPyCompositeShape_p.");
8842 return NULL;
8843 }
8844 }
8845 {
8846 PyThreadState* __tstate = wxPyBeginAllowThreads();
8847 wxPyCompositeShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
8848
8849 wxPyEndAllowThreads(__tstate);
8850 if (PyErr_Occurred()) return NULL;
8851 } Py_INCREF(Py_None);
8852 _resultobj = Py_None;
8853 return _resultobj;
8854 }
8855
8856 #define wxPyCompositeShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8857 static PyObject *_wrap_wxPyCompositeShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8858 PyObject * _resultobj;
8859 wxPyCompositeShape * _arg0;
8860 double _arg1;
8861 double _arg2;
8862 int _arg3 = (int ) 0;
8863 int _arg4 = (int ) 0;
8864 PyObject * _argo0 = 0;
8865 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
8866
8867 self = self;
8868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8869 return NULL;
8870 if (_argo0) {
8871 if (_argo0 == Py_None) { _arg0 = NULL; }
8872 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8873 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnEndDragRight. Expected _wxPyCompositeShape_p.");
8874 return NULL;
8875 }
8876 }
8877 {
8878 PyThreadState* __tstate = wxPyBeginAllowThreads();
8879 wxPyCompositeShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
8880
8881 wxPyEndAllowThreads(__tstate);
8882 if (PyErr_Occurred()) return NULL;
8883 } Py_INCREF(Py_None);
8884 _resultobj = Py_None;
8885 return _resultobj;
8886 }
8887
8888 #define wxPyCompositeShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8889 static PyObject *_wrap_wxPyCompositeShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
8890 PyObject * _resultobj;
8891 wxPyCompositeShape * _arg0;
8892 wxDC * _arg1;
8893 double _arg2;
8894 double _arg3;
8895 double _arg4;
8896 double _arg5;
8897 PyObject * _argo0 = 0;
8898 PyObject * _argo1 = 0;
8899 char *_kwnames[] = { "self","dc","x","y","w","h", NULL };
8900
8901 self = self;
8902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyCompositeShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
8903 return NULL;
8904 if (_argo0) {
8905 if (_argo0 == Py_None) { _arg0 = NULL; }
8906 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8907 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDrawOutline. Expected _wxPyCompositeShape_p.");
8908 return NULL;
8909 }
8910 }
8911 if (_argo1) {
8912 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8913 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnDrawOutline. Expected _wxDC_p.");
8914 return NULL;
8915 }
8916 }
8917 {
8918 PyThreadState* __tstate = wxPyBeginAllowThreads();
8919 wxPyCompositeShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5);
8920
8921 wxPyEndAllowThreads(__tstate);
8922 if (PyErr_Occurred()) return NULL;
8923 } Py_INCREF(Py_None);
8924 _resultobj = Py_None;
8925 return _resultobj;
8926 }
8927
8928 #define wxPyCompositeShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
8929 static PyObject *_wrap_wxPyCompositeShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
8930 PyObject * _resultobj;
8931 wxPyCompositeShape * _arg0;
8932 wxDC * _arg1;
8933 PyObject * _argo0 = 0;
8934 PyObject * _argo1 = 0;
8935 char *_kwnames[] = { "self","dc", NULL };
8936
8937 self = self;
8938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1))
8939 return NULL;
8940 if (_argo0) {
8941 if (_argo0 == Py_None) { _arg0 = NULL; }
8942 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8943 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDrawControlPoints. Expected _wxPyCompositeShape_p.");
8944 return NULL;
8945 }
8946 }
8947 if (_argo1) {
8948 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8949 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnDrawControlPoints. Expected _wxDC_p.");
8950 return NULL;
8951 }
8952 }
8953 {
8954 PyThreadState* __tstate = wxPyBeginAllowThreads();
8955 wxPyCompositeShape_base_OnDrawControlPoints(_arg0,*_arg1);
8956
8957 wxPyEndAllowThreads(__tstate);
8958 if (PyErr_Occurred()) return NULL;
8959 } Py_INCREF(Py_None);
8960 _resultobj = Py_None;
8961 return _resultobj;
8962 }
8963
8964 #define wxPyCompositeShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
8965 static PyObject *_wrap_wxPyCompositeShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
8966 PyObject * _resultobj;
8967 wxPyCompositeShape * _arg0;
8968 wxDC * _arg1;
8969 PyObject * _argo0 = 0;
8970 PyObject * _argo1 = 0;
8971 char *_kwnames[] = { "self","dc", NULL };
8972
8973 self = self;
8974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1))
8975 return NULL;
8976 if (_argo0) {
8977 if (_argo0 == Py_None) { _arg0 = NULL; }
8978 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8979 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnEraseControlPoints. Expected _wxPyCompositeShape_p.");
8980 return NULL;
8981 }
8982 }
8983 if (_argo1) {
8984 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8985 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnEraseControlPoints. Expected _wxDC_p.");
8986 return NULL;
8987 }
8988 }
8989 {
8990 PyThreadState* __tstate = wxPyBeginAllowThreads();
8991 wxPyCompositeShape_base_OnEraseControlPoints(_arg0,*_arg1);
8992
8993 wxPyEndAllowThreads(__tstate);
8994 if (PyErr_Occurred()) return NULL;
8995 } Py_INCREF(Py_None);
8996 _resultobj = Py_None;
8997 return _resultobj;
8998 }
8999
9000 #define wxPyCompositeShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
9001 static PyObject *_wrap_wxPyCompositeShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
9002 PyObject * _resultobj;
9003 wxPyCompositeShape * _arg0;
9004 wxDC * _arg1;
9005 bool _arg2 = (bool ) TRUE;
9006 PyObject * _argo0 = 0;
9007 PyObject * _argo1 = 0;
9008 int tempbool2 = (int) TRUE;
9009 char *_kwnames[] = { "self","dc","moveControlPoints", NULL };
9010
9011 self = self;
9012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyCompositeShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2))
9013 return NULL;
9014 if (_argo0) {
9015 if (_argo0 == Py_None) { _arg0 = NULL; }
9016 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
9017 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnMoveLink. Expected _wxPyCompositeShape_p.");
9018 return NULL;
9019 }
9020 }
9021 if (_argo1) {
9022 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
9023 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnMoveLink. Expected _wxDC_p.");
9024 return NULL;
9025 }
9026 }
9027 _arg2 = (bool ) tempbool2;
9028 {
9029 PyThreadState* __tstate = wxPyBeginAllowThreads();
9030 wxPyCompositeShape_base_OnMoveLink(_arg0,*_arg1,_arg2);
9031
9032 wxPyEndAllowThreads(__tstate);
9033 if (PyErr_Occurred()) return NULL;
9034 } Py_INCREF(Py_None);
9035 _resultobj = Py_None;
9036 return _resultobj;
9037 }
9038
9039 #define wxPyCompositeShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
9040 static PyObject *_wrap_wxPyCompositeShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9041 PyObject * _resultobj;
9042 wxPyCompositeShape * _arg0;
9043 wxPyControlPoint * _arg1;
9044 bool _arg2;
9045 double _arg3;
9046 double _arg4;
9047 int _arg5 = (int ) 0;
9048 int _arg6 = (int ) 0;
9049 PyObject * _argo0 = 0;
9050 PyObject * _argo1 = 0;
9051 int tempbool2;
9052 char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL };
9053
9054 self = self;
9055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyCompositeShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6))
9056 return NULL;
9057 if (_argo0) {
9058 if (_argo0 == Py_None) { _arg0 = NULL; }
9059 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
9060 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnSizingDragLeft. Expected _wxPyCompositeShape_p.");
9061 return NULL;
9062 }
9063 }
9064 if (_argo1) {
9065 if (_argo1 == Py_None) { _arg1 = NULL; }
9066 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
9067 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
9068 return NULL;
9069 }
9070 }
9071 _arg2 = (bool ) tempbool2;
9072 {
9073 PyThreadState* __tstate = wxPyBeginAllowThreads();
9074 wxPyCompositeShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
9075
9076 wxPyEndAllowThreads(__tstate);
9077 if (PyErr_Occurred()) return NULL;
9078 } Py_INCREF(Py_None);
9079 _resultobj = Py_None;
9080 return _resultobj;
9081 }
9082
9083 #define wxPyCompositeShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
9084 static PyObject *_wrap_wxPyCompositeShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9085 PyObject * _resultobj;
9086 wxPyCompositeShape * _arg0;
9087 wxPyControlPoint * _arg1;
9088 double _arg2;
9089 double _arg3;
9090 int _arg4 = (int ) 0;
9091 int _arg5 = (int ) 0;
9092 PyObject * _argo0 = 0;
9093 PyObject * _argo1 = 0;
9094 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
9095
9096 self = self;
9097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyCompositeShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
9098 return NULL;
9099 if (_argo0) {
9100 if (_argo0 == Py_None) { _arg0 = NULL; }
9101 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
9102 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnSizingBeginDragLeft. Expected _wxPyCompositeShape_p.");
9103 return NULL;
9104 }
9105 }
9106 if (_argo1) {
9107 if (_argo1 == Py_None) { _arg1 = NULL; }
9108 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
9109 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
9110 return NULL;
9111 }
9112 }
9113 {
9114 PyThreadState* __tstate = wxPyBeginAllowThreads();
9115 wxPyCompositeShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
9116
9117 wxPyEndAllowThreads(__tstate);
9118 if (PyErr_Occurred()) return NULL;
9119 } Py_INCREF(Py_None);
9120 _resultobj = Py_None;
9121 return _resultobj;
9122 }
9123
9124 #define wxPyCompositeShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
9125 static PyObject *_wrap_wxPyCompositeShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9126 PyObject * _resultobj;
9127 wxPyCompositeShape * _arg0;
9128 wxPyControlPoint * _arg1;
9129 double _arg2;
9130 double _arg3;
9131 int _arg4 = (int ) 0;
9132 int _arg5 = (int ) 0;
9133 PyObject * _argo0 = 0;
9134 PyObject * _argo1 = 0;
9135 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
9136
9137 self = self;
9138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyCompositeShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
9139 return NULL;
9140 if (_argo0) {
9141 if (_argo0 == Py_None) { _arg0 = NULL; }
9142 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
9143 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnSizingEndDragLeft. Expected _wxPyCompositeShape_p.");
9144 return NULL;
9145 }
9146 }
9147 if (_argo1) {
9148 if (_argo1 == Py_None) { _arg1 = NULL; }
9149 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
9150 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
9151 return NULL;
9152 }
9153 }
9154 {
9155 PyThreadState* __tstate = wxPyBeginAllowThreads();
9156 wxPyCompositeShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
9157
9158 wxPyEndAllowThreads(__tstate);
9159 if (PyErr_Occurred()) return NULL;
9160 } Py_INCREF(Py_None);
9161 _resultobj = Py_None;
9162 return _resultobj;
9163 }
9164
9165 #define wxPyCompositeShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
9166 static PyObject *_wrap_wxPyCompositeShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9167 PyObject * _resultobj;
9168 wxPyCompositeShape * _arg0;
9169 double _arg1;
9170 double _arg2;
9171 PyObject * _argo0 = 0;
9172 char *_kwnames[] = { "self","w","h", NULL };
9173
9174 self = self;
9175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyCompositeShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2))
9176 return NULL;
9177 if (_argo0) {
9178 if (_argo0 == Py_None) { _arg0 = NULL; }
9179 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
9180 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnBeginSize. Expected _wxPyCompositeShape_p.");
9181 return NULL;
9182 }
9183 }
9184 {
9185 PyThreadState* __tstate = wxPyBeginAllowThreads();
9186 wxPyCompositeShape_base_OnBeginSize(_arg0,_arg1,_arg2);
9187
9188 wxPyEndAllowThreads(__tstate);
9189 if (PyErr_Occurred()) return NULL;
9190 } Py_INCREF(Py_None);
9191 _resultobj = Py_None;
9192 return _resultobj;
9193 }
9194
9195 #define wxPyCompositeShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
9196 static PyObject *_wrap_wxPyCompositeShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9197 PyObject * _resultobj;
9198 wxPyCompositeShape * _arg0;
9199 double _arg1;
9200 double _arg2;
9201 PyObject * _argo0 = 0;
9202 char *_kwnames[] = { "self","w","h", NULL };
9203
9204 self = self;
9205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyCompositeShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2))
9206 return NULL;
9207 if (_argo0) {
9208 if (_argo0 == Py_None) { _arg0 = NULL; }
9209 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
9210 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnEndSize. Expected _wxPyCompositeShape_p.");
9211 return NULL;
9212 }
9213 }
9214 {
9215 PyThreadState* __tstate = wxPyBeginAllowThreads();
9216 wxPyCompositeShape_base_OnEndSize(_arg0,_arg1,_arg2);
9217
9218 wxPyEndAllowThreads(__tstate);
9219 if (PyErr_Occurred()) return NULL;
9220 } Py_INCREF(Py_None);
9221 _resultobj = Py_None;
9222 return _resultobj;
9223 }
9224
9225 static void *SwigwxPyDividedShapeTowxPyRectangleShape(void *ptr) {
9226 wxPyDividedShape *src;
9227 wxPyRectangleShape *dest;
9228 src = (wxPyDividedShape *) ptr;
9229 dest = (wxPyRectangleShape *) src;
9230 return (void *) dest;
9231 }
9232
9233 static void *SwigwxPyDividedShapeTowxPyShape(void *ptr) {
9234 wxPyDividedShape *src;
9235 wxPyShape *dest;
9236 src = (wxPyDividedShape *) ptr;
9237 dest = (wxPyShape *) src;
9238 return (void *) dest;
9239 }
9240
9241 static void *SwigwxPyDividedShapeTowxPyShapeEvtHandler(void *ptr) {
9242 wxPyDividedShape *src;
9243 wxPyShapeEvtHandler *dest;
9244 src = (wxPyDividedShape *) ptr;
9245 dest = (wxPyShapeEvtHandler *) src;
9246 return (void *) dest;
9247 }
9248
9249 static void *SwigwxPyDividedShapeTowxObject(void *ptr) {
9250 wxPyDividedShape *src;
9251 wxObject *dest;
9252 src = (wxPyDividedShape *) ptr;
9253 dest = (wxObject *) src;
9254 return (void *) dest;
9255 }
9256
9257 #define new_wxPyDividedShape(_swigarg0,_swigarg1) (new wxPyDividedShape(_swigarg0,_swigarg1))
9258 static PyObject *_wrap_new_wxPyDividedShape(PyObject *self, PyObject *args, PyObject *kwargs) {
9259 PyObject * _resultobj;
9260 wxPyDividedShape * _result;
9261 double _arg0 = (double ) 0.0;
9262 double _arg1 = (double ) 0.0;
9263 char *_kwnames[] = { "width","height", NULL };
9264 char _ptemp[128];
9265
9266 self = self;
9267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|dd:new_wxPyDividedShape",_kwnames,&_arg0,&_arg1))
9268 return NULL;
9269 {
9270 PyThreadState* __tstate = wxPyBeginAllowThreads();
9271 _result = (wxPyDividedShape *)new_wxPyDividedShape(_arg0,_arg1);
9272
9273 wxPyEndAllowThreads(__tstate);
9274 if (PyErr_Occurred()) return NULL;
9275 } if (_result) {
9276 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyDividedShape_p");
9277 _resultobj = Py_BuildValue("s",_ptemp);
9278 } else {
9279 Py_INCREF(Py_None);
9280 _resultobj = Py_None;
9281 }
9282 return _resultobj;
9283 }
9284
9285 #define wxPyDividedShape__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
9286 static PyObject *_wrap_wxPyDividedShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9287 PyObject * _resultobj;
9288 wxPyDividedShape * _arg0;
9289 PyObject * _arg1;
9290 PyObject * _arg2;
9291 PyObject * _argo0 = 0;
9292 PyObject * _obj1 = 0;
9293 PyObject * _obj2 = 0;
9294 char *_kwnames[] = { "self","self","_class", NULL };
9295
9296 self = self;
9297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyDividedShape__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
9298 return NULL;
9299 if (_argo0) {
9300 if (_argo0 == Py_None) { _arg0 = NULL; }
9301 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9302 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape__setCallbackInfo. Expected _wxPyDividedShape_p.");
9303 return NULL;
9304 }
9305 }
9306 {
9307 _arg1 = _obj1;
9308 }
9309 {
9310 _arg2 = _obj2;
9311 }
9312 {
9313 PyThreadState* __tstate = wxPyBeginAllowThreads();
9314 wxPyDividedShape__setCallbackInfo(_arg0,_arg1,_arg2);
9315
9316 wxPyEndAllowThreads(__tstate);
9317 if (PyErr_Occurred()) return NULL;
9318 } Py_INCREF(Py_None);
9319 _resultobj = Py_None;
9320 return _resultobj;
9321 }
9322
9323 #define wxPyDividedShape_EditRegions(_swigobj) (_swigobj->EditRegions())
9324 static PyObject *_wrap_wxPyDividedShape_EditRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
9325 PyObject * _resultobj;
9326 wxPyDividedShape * _arg0;
9327 PyObject * _argo0 = 0;
9328 char *_kwnames[] = { "self", NULL };
9329
9330 self = self;
9331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDividedShape_EditRegions",_kwnames,&_argo0))
9332 return NULL;
9333 if (_argo0) {
9334 if (_argo0 == Py_None) { _arg0 = NULL; }
9335 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9336 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_EditRegions. Expected _wxPyDividedShape_p.");
9337 return NULL;
9338 }
9339 }
9340 {
9341 PyThreadState* __tstate = wxPyBeginAllowThreads();
9342 wxPyDividedShape_EditRegions(_arg0);
9343
9344 wxPyEndAllowThreads(__tstate);
9345 if (PyErr_Occurred()) return NULL;
9346 } Py_INCREF(Py_None);
9347 _resultobj = Py_None;
9348 return _resultobj;
9349 }
9350
9351 #define wxPyDividedShape_SetRegionSizes(_swigobj) (_swigobj->SetRegionSizes())
9352 static PyObject *_wrap_wxPyDividedShape_SetRegionSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
9353 PyObject * _resultobj;
9354 wxPyDividedShape * _arg0;
9355 PyObject * _argo0 = 0;
9356 char *_kwnames[] = { "self", NULL };
9357
9358 self = self;
9359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDividedShape_SetRegionSizes",_kwnames,&_argo0))
9360 return NULL;
9361 if (_argo0) {
9362 if (_argo0 == Py_None) { _arg0 = NULL; }
9363 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9364 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_SetRegionSizes. Expected _wxPyDividedShape_p.");
9365 return NULL;
9366 }
9367 }
9368 {
9369 PyThreadState* __tstate = wxPyBeginAllowThreads();
9370 wxPyDividedShape_SetRegionSizes(_arg0);
9371
9372 wxPyEndAllowThreads(__tstate);
9373 if (PyErr_Occurred()) return NULL;
9374 } Py_INCREF(Py_None);
9375 _resultobj = Py_None;
9376 return _resultobj;
9377 }
9378
9379 #define wxPyDividedShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
9380 static PyObject *_wrap_wxPyDividedShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
9381 PyObject * _resultobj;
9382 wxPyDividedShape * _arg0;
9383 PyObject * _argo0 = 0;
9384 char *_kwnames[] = { "self", NULL };
9385
9386 self = self;
9387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDividedShape_base_OnDelete",_kwnames,&_argo0))
9388 return NULL;
9389 if (_argo0) {
9390 if (_argo0 == Py_None) { _arg0 = NULL; }
9391 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9392 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDelete. Expected _wxPyDividedShape_p.");
9393 return NULL;
9394 }
9395 }
9396 {
9397 PyThreadState* __tstate = wxPyBeginAllowThreads();
9398 wxPyDividedShape_base_OnDelete(_arg0);
9399
9400 wxPyEndAllowThreads(__tstate);
9401 if (PyErr_Occurred()) return NULL;
9402 } Py_INCREF(Py_None);
9403 _resultobj = Py_None;
9404 return _resultobj;
9405 }
9406
9407 #define wxPyDividedShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
9408 static PyObject *_wrap_wxPyDividedShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
9409 PyObject * _resultobj;
9410 wxPyDividedShape * _arg0;
9411 wxDC * _arg1;
9412 PyObject * _argo0 = 0;
9413 PyObject * _argo1 = 0;
9414 char *_kwnames[] = { "self","dc", NULL };
9415
9416 self = self;
9417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnDraw",_kwnames,&_argo0,&_argo1))
9418 return NULL;
9419 if (_argo0) {
9420 if (_argo0 == Py_None) { _arg0 = NULL; }
9421 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9422 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDraw. Expected _wxPyDividedShape_p.");
9423 return NULL;
9424 }
9425 }
9426 if (_argo1) {
9427 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
9428 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnDraw. Expected _wxDC_p.");
9429 return NULL;
9430 }
9431 }
9432 {
9433 PyThreadState* __tstate = wxPyBeginAllowThreads();
9434 wxPyDividedShape_base_OnDraw(_arg0,*_arg1);
9435
9436 wxPyEndAllowThreads(__tstate);
9437 if (PyErr_Occurred()) return NULL;
9438 } Py_INCREF(Py_None);
9439 _resultobj = Py_None;
9440 return _resultobj;
9441 }
9442
9443 #define wxPyDividedShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
9444 static PyObject *_wrap_wxPyDividedShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
9445 PyObject * _resultobj;
9446 wxPyDividedShape * _arg0;
9447 wxDC * _arg1;
9448 PyObject * _argo0 = 0;
9449 PyObject * _argo1 = 0;
9450 char *_kwnames[] = { "self","dc", NULL };
9451
9452 self = self;
9453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1))
9454 return NULL;
9455 if (_argo0) {
9456 if (_argo0 == Py_None) { _arg0 = NULL; }
9457 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9458 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDrawContents. Expected _wxPyDividedShape_p.");
9459 return NULL;
9460 }
9461 }
9462 if (_argo1) {
9463 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
9464 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnDrawContents. Expected _wxDC_p.");
9465 return NULL;
9466 }
9467 }
9468 {
9469 PyThreadState* __tstate = wxPyBeginAllowThreads();
9470 wxPyDividedShape_base_OnDrawContents(_arg0,*_arg1);
9471
9472 wxPyEndAllowThreads(__tstate);
9473 if (PyErr_Occurred()) return NULL;
9474 } Py_INCREF(Py_None);
9475 _resultobj = Py_None;
9476 return _resultobj;
9477 }
9478
9479 #define wxPyDividedShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
9480 static PyObject *_wrap_wxPyDividedShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
9481 PyObject * _resultobj;
9482 wxPyDividedShape * _arg0;
9483 wxDC * _arg1;
9484 bool _arg2 = (bool ) FALSE;
9485 PyObject * _argo0 = 0;
9486 PyObject * _argo1 = 0;
9487 int tempbool2 = (int) FALSE;
9488 char *_kwnames[] = { "self","dc","erase", NULL };
9489
9490 self = self;
9491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDividedShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2))
9492 return NULL;
9493 if (_argo0) {
9494 if (_argo0 == Py_None) { _arg0 = NULL; }
9495 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9496 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDrawBranches. Expected _wxPyDividedShape_p.");
9497 return NULL;
9498 }
9499 }
9500 if (_argo1) {
9501 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
9502 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnDrawBranches. Expected _wxDC_p.");
9503 return NULL;
9504 }
9505 }
9506 _arg2 = (bool ) tempbool2;
9507 {
9508 PyThreadState* __tstate = wxPyBeginAllowThreads();
9509 wxPyDividedShape_base_OnDrawBranches(_arg0,*_arg1,_arg2);
9510
9511 wxPyEndAllowThreads(__tstate);
9512 if (PyErr_Occurred()) return NULL;
9513 } Py_INCREF(Py_None);
9514 _resultobj = Py_None;
9515 return _resultobj;
9516 }
9517
9518 #define wxPyDividedShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
9519 static PyObject *_wrap_wxPyDividedShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
9520 PyObject * _resultobj;
9521 wxPyDividedShape * _arg0;
9522 wxDC * _arg1;
9523 PyObject * _argo0 = 0;
9524 PyObject * _argo1 = 0;
9525 char *_kwnames[] = { "self","dc", NULL };
9526
9527 self = self;
9528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1))
9529 return NULL;
9530 if (_argo0) {
9531 if (_argo0 == Py_None) { _arg0 = NULL; }
9532 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9533 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnMoveLinks. Expected _wxPyDividedShape_p.");
9534 return NULL;
9535 }
9536 }
9537 if (_argo1) {
9538 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
9539 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnMoveLinks. Expected _wxDC_p.");
9540 return NULL;
9541 }
9542 }
9543 {
9544 PyThreadState* __tstate = wxPyBeginAllowThreads();
9545 wxPyDividedShape_base_OnMoveLinks(_arg0,*_arg1);
9546
9547 wxPyEndAllowThreads(__tstate);
9548 if (PyErr_Occurred()) return NULL;
9549 } Py_INCREF(Py_None);
9550 _resultobj = Py_None;
9551 return _resultobj;
9552 }
9553
9554 #define wxPyDividedShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
9555 static PyObject *_wrap_wxPyDividedShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
9556 PyObject * _resultobj;
9557 wxPyDividedShape * _arg0;
9558 wxDC * _arg1;
9559 PyObject * _argo0 = 0;
9560 PyObject * _argo1 = 0;
9561 char *_kwnames[] = { "self","dc", NULL };
9562
9563 self = self;
9564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnErase",_kwnames,&_argo0,&_argo1))
9565 return NULL;
9566 if (_argo0) {
9567 if (_argo0 == Py_None) { _arg0 = NULL; }
9568 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9569 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnErase. Expected _wxPyDividedShape_p.");
9570 return NULL;
9571 }
9572 }
9573 if (_argo1) {
9574 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
9575 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnErase. Expected _wxDC_p.");
9576 return NULL;
9577 }
9578 }
9579 {
9580 PyThreadState* __tstate = wxPyBeginAllowThreads();
9581 wxPyDividedShape_base_OnErase(_arg0,*_arg1);
9582
9583 wxPyEndAllowThreads(__tstate);
9584 if (PyErr_Occurred()) return NULL;
9585 } Py_INCREF(Py_None);
9586 _resultobj = Py_None;
9587 return _resultobj;
9588 }
9589
9590 #define wxPyDividedShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
9591 static PyObject *_wrap_wxPyDividedShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
9592 PyObject * _resultobj;
9593 wxPyDividedShape * _arg0;
9594 wxDC * _arg1;
9595 PyObject * _argo0 = 0;
9596 PyObject * _argo1 = 0;
9597 char *_kwnames[] = { "self","dc", NULL };
9598
9599 self = self;
9600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1))
9601 return NULL;
9602 if (_argo0) {
9603 if (_argo0 == Py_None) { _arg0 = NULL; }
9604 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9605 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnEraseContents. Expected _wxPyDividedShape_p.");
9606 return NULL;
9607 }
9608 }
9609 if (_argo1) {
9610 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
9611 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnEraseContents. Expected _wxDC_p.");
9612 return NULL;
9613 }
9614 }
9615 {
9616 PyThreadState* __tstate = wxPyBeginAllowThreads();
9617 wxPyDividedShape_base_OnEraseContents(_arg0,*_arg1);
9618
9619 wxPyEndAllowThreads(__tstate);
9620 if (PyErr_Occurred()) return NULL;
9621 } Py_INCREF(Py_None);
9622 _resultobj = Py_None;
9623 return _resultobj;
9624 }
9625
9626 #define wxPyDividedShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
9627 static PyObject *_wrap_wxPyDividedShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
9628 PyObject * _resultobj;
9629 wxPyDividedShape * _arg0;
9630 wxDC * _arg1;
9631 PyObject * _argo0 = 0;
9632 PyObject * _argo1 = 0;
9633 char *_kwnames[] = { "self","dc", NULL };
9634
9635 self = self;
9636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnHighlight",_kwnames,&_argo0,&_argo1))
9637 return NULL;
9638 if (_argo0) {
9639 if (_argo0 == Py_None) { _arg0 = NULL; }
9640 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9641 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnHighlight. Expected _wxPyDividedShape_p.");
9642 return NULL;
9643 }
9644 }
9645 if (_argo1) {
9646 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
9647 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnHighlight. Expected _wxDC_p.");
9648 return NULL;
9649 }
9650 }
9651 {
9652 PyThreadState* __tstate = wxPyBeginAllowThreads();
9653 wxPyDividedShape_base_OnHighlight(_arg0,*_arg1);
9654
9655 wxPyEndAllowThreads(__tstate);
9656 if (PyErr_Occurred()) return NULL;
9657 } Py_INCREF(Py_None);
9658 _resultobj = Py_None;
9659 return _resultobj;
9660 }
9661
9662 #define wxPyDividedShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9663 static PyObject *_wrap_wxPyDividedShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
9664 PyObject * _resultobj;
9665 wxPyDividedShape * _arg0;
9666 double _arg1;
9667 double _arg2;
9668 int _arg3 = (int ) 0;
9669 int _arg4 = (int ) 0;
9670 PyObject * _argo0 = 0;
9671 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
9672
9673 self = self;
9674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
9675 return NULL;
9676 if (_argo0) {
9677 if (_argo0 == Py_None) { _arg0 = NULL; }
9678 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9679 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnLeftClick. Expected _wxPyDividedShape_p.");
9680 return NULL;
9681 }
9682 }
9683 {
9684 PyThreadState* __tstate = wxPyBeginAllowThreads();
9685 wxPyDividedShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4);
9686
9687 wxPyEndAllowThreads(__tstate);
9688 if (PyErr_Occurred()) return NULL;
9689 } Py_INCREF(Py_None);
9690 _resultobj = Py_None;
9691 return _resultobj;
9692 }
9693
9694 #define wxPyDividedShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9695 static PyObject *_wrap_wxPyDividedShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
9696 PyObject * _resultobj;
9697 wxPyDividedShape * _arg0;
9698 double _arg1;
9699 double _arg2;
9700 int _arg3 = (int ) 0;
9701 int _arg4 = (int ) 0;
9702 PyObject * _argo0 = 0;
9703 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
9704
9705 self = self;
9706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
9707 return NULL;
9708 if (_argo0) {
9709 if (_argo0 == Py_None) { _arg0 = NULL; }
9710 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9711 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnLeftDoubleClick. Expected _wxPyDividedShape_p.");
9712 return NULL;
9713 }
9714 }
9715 {
9716 PyThreadState* __tstate = wxPyBeginAllowThreads();
9717 wxPyDividedShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4);
9718
9719 wxPyEndAllowThreads(__tstate);
9720 if (PyErr_Occurred()) return NULL;
9721 } Py_INCREF(Py_None);
9722 _resultobj = Py_None;
9723 return _resultobj;
9724 }
9725
9726 #define wxPyDividedShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9727 static PyObject *_wrap_wxPyDividedShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
9728 PyObject * _resultobj;
9729 wxPyDividedShape * _arg0;
9730 double _arg1;
9731 double _arg2;
9732 int _arg3 = (int ) 0;
9733 int _arg4 = (int ) 0;
9734 PyObject * _argo0 = 0;
9735 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
9736
9737 self = self;
9738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
9739 return NULL;
9740 if (_argo0) {
9741 if (_argo0 == Py_None) { _arg0 = NULL; }
9742 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9743 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnRightClick. Expected _wxPyDividedShape_p.");
9744 return NULL;
9745 }
9746 }
9747 {
9748 PyThreadState* __tstate = wxPyBeginAllowThreads();
9749 wxPyDividedShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4);
9750
9751 wxPyEndAllowThreads(__tstate);
9752 if (PyErr_Occurred()) return NULL;
9753 } Py_INCREF(Py_None);
9754 _resultobj = Py_None;
9755 return _resultobj;
9756 }
9757
9758 #define wxPyDividedShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
9759 static PyObject *_wrap_wxPyDividedShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9760 PyObject * _resultobj;
9761 wxPyDividedShape * _arg0;
9762 double _arg1;
9763 double _arg2;
9764 PyObject * _argo0 = 0;
9765 char *_kwnames[] = { "self","x","y", NULL };
9766
9767 self = self;
9768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDividedShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2))
9769 return NULL;
9770 if (_argo0) {
9771 if (_argo0 == Py_None) { _arg0 = NULL; }
9772 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9773 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnSize. Expected _wxPyDividedShape_p.");
9774 return NULL;
9775 }
9776 }
9777 {
9778 PyThreadState* __tstate = wxPyBeginAllowThreads();
9779 wxPyDividedShape_base_OnSize(_arg0,_arg1,_arg2);
9780
9781 wxPyEndAllowThreads(__tstate);
9782 if (PyErr_Occurred()) return NULL;
9783 } Py_INCREF(Py_None);
9784 _resultobj = Py_None;
9785 return _resultobj;
9786 }
9787
9788 #define wxPyDividedShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
9789 static PyObject *_wrap_wxPyDividedShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
9790 PyObject * _resultobj;
9791 bool _result;
9792 wxPyDividedShape * _arg0;
9793 wxDC * _arg1;
9794 double _arg2;
9795 double _arg3;
9796 double _arg4;
9797 double _arg5;
9798 bool _arg6 = (bool ) TRUE;
9799 PyObject * _argo0 = 0;
9800 PyObject * _argo1 = 0;
9801 int tempbool6 = (int) TRUE;
9802 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
9803
9804 self = self;
9805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDividedShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
9806 return NULL;
9807 if (_argo0) {
9808 if (_argo0 == Py_None) { _arg0 = NULL; }
9809 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9810 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnMovePre. Expected _wxPyDividedShape_p.");
9811 return NULL;
9812 }
9813 }
9814 if (_argo1) {
9815 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
9816 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnMovePre. Expected _wxDC_p.");
9817 return NULL;
9818 }
9819 }
9820 _arg6 = (bool ) tempbool6;
9821 {
9822 PyThreadState* __tstate = wxPyBeginAllowThreads();
9823 _result = (bool )wxPyDividedShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
9824
9825 wxPyEndAllowThreads(__tstate);
9826 if (PyErr_Occurred()) return NULL;
9827 } _resultobj = Py_BuildValue("i",_result);
9828 return _resultobj;
9829 }
9830
9831 #define wxPyDividedShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
9832 static PyObject *_wrap_wxPyDividedShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
9833 PyObject * _resultobj;
9834 wxPyDividedShape * _arg0;
9835 wxDC * _arg1;
9836 double _arg2;
9837 double _arg3;
9838 double _arg4;
9839 double _arg5;
9840 bool _arg6 = (bool ) TRUE;
9841 PyObject * _argo0 = 0;
9842 PyObject * _argo1 = 0;
9843 int tempbool6 = (int) TRUE;
9844 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
9845
9846 self = self;
9847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDividedShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
9848 return NULL;
9849 if (_argo0) {
9850 if (_argo0 == Py_None) { _arg0 = NULL; }
9851 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9852 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnMovePost. Expected _wxPyDividedShape_p.");
9853 return NULL;
9854 }
9855 }
9856 if (_argo1) {
9857 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
9858 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnMovePost. Expected _wxDC_p.");
9859 return NULL;
9860 }
9861 }
9862 _arg6 = (bool ) tempbool6;
9863 {
9864 PyThreadState* __tstate = wxPyBeginAllowThreads();
9865 wxPyDividedShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
9866
9867 wxPyEndAllowThreads(__tstate);
9868 if (PyErr_Occurred()) return NULL;
9869 } Py_INCREF(Py_None);
9870 _resultobj = Py_None;
9871 return _resultobj;
9872 }
9873
9874 #define wxPyDividedShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
9875 static PyObject *_wrap_wxPyDividedShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9876 PyObject * _resultobj;
9877 wxPyDividedShape * _arg0;
9878 bool _arg1;
9879 double _arg2;
9880 double _arg3;
9881 int _arg4 = (int ) 0;
9882 int _arg5 = (int ) 0;
9883 PyObject * _argo0 = 0;
9884 int tempbool1;
9885 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
9886
9887 self = self;
9888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDividedShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
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_OnDragLeft. Expected _wxPyDividedShape_p.");
9894 return NULL;
9895 }
9896 }
9897 _arg1 = (bool ) tempbool1;
9898 {
9899 PyThreadState* __tstate = wxPyBeginAllowThreads();
9900 wxPyDividedShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
9901
9902 wxPyEndAllowThreads(__tstate);
9903 if (PyErr_Occurred()) return NULL;
9904 } Py_INCREF(Py_None);
9905 _resultobj = Py_None;
9906 return _resultobj;
9907 }
9908
9909 #define wxPyDividedShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9910 static PyObject *_wrap_wxPyDividedShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9911 PyObject * _resultobj;
9912 wxPyDividedShape * _arg0;
9913 double _arg1;
9914 double _arg2;
9915 int _arg3 = (int ) 0;
9916 int _arg4 = (int ) 0;
9917 PyObject * _argo0 = 0;
9918 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
9919
9920 self = self;
9921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
9922 return NULL;
9923 if (_argo0) {
9924 if (_argo0 == Py_None) { _arg0 = NULL; }
9925 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9926 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnBeginDragLeft. Expected _wxPyDividedShape_p.");
9927 return NULL;
9928 }
9929 }
9930 {
9931 PyThreadState* __tstate = wxPyBeginAllowThreads();
9932 wxPyDividedShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
9933
9934 wxPyEndAllowThreads(__tstate);
9935 if (PyErr_Occurred()) return NULL;
9936 } Py_INCREF(Py_None);
9937 _resultobj = Py_None;
9938 return _resultobj;
9939 }
9940
9941 #define wxPyDividedShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9942 static PyObject *_wrap_wxPyDividedShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9943 PyObject * _resultobj;
9944 wxPyDividedShape * _arg0;
9945 double _arg1;
9946 double _arg2;
9947 int _arg3 = (int ) 0;
9948 int _arg4 = (int ) 0;
9949 PyObject * _argo0 = 0;
9950 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
9951
9952 self = self;
9953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
9954 return NULL;
9955 if (_argo0) {
9956 if (_argo0 == Py_None) { _arg0 = NULL; }
9957 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9958 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnEndDragLeft. Expected _wxPyDividedShape_p.");
9959 return NULL;
9960 }
9961 }
9962 {
9963 PyThreadState* __tstate = wxPyBeginAllowThreads();
9964 wxPyDividedShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
9965
9966 wxPyEndAllowThreads(__tstate);
9967 if (PyErr_Occurred()) return NULL;
9968 } Py_INCREF(Py_None);
9969 _resultobj = Py_None;
9970 return _resultobj;
9971 }
9972
9973 #define wxPyDividedShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
9974 static PyObject *_wrap_wxPyDividedShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
9975 PyObject * _resultobj;
9976 wxPyDividedShape * _arg0;
9977 bool _arg1;
9978 double _arg2;
9979 double _arg3;
9980 int _arg4 = (int ) 0;
9981 int _arg5 = (int ) 0;
9982 PyObject * _argo0 = 0;
9983 int tempbool1;
9984 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
9985
9986 self = self;
9987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDividedShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
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_OnDragRight. Expected _wxPyDividedShape_p.");
9993 return NULL;
9994 }
9995 }
9996 _arg1 = (bool ) tempbool1;
9997 {
9998 PyThreadState* __tstate = wxPyBeginAllowThreads();
9999 wxPyDividedShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
10000
10001 wxPyEndAllowThreads(__tstate);
10002 if (PyErr_Occurred()) return NULL;
10003 } Py_INCREF(Py_None);
10004 _resultobj = Py_None;
10005 return _resultobj;
10006 }
10007
10008 #define wxPyDividedShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10009 static PyObject *_wrap_wxPyDividedShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
10010 PyObject * _resultobj;
10011 wxPyDividedShape * _arg0;
10012 double _arg1;
10013 double _arg2;
10014 int _arg3 = (int ) 0;
10015 int _arg4 = (int ) 0;
10016 PyObject * _argo0 = 0;
10017 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
10018
10019 self = self;
10020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
10021 return NULL;
10022 if (_argo0) {
10023 if (_argo0 == Py_None) { _arg0 = NULL; }
10024 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
10025 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnBeginDragRight. Expected _wxPyDividedShape_p.");
10026 return NULL;
10027 }
10028 }
10029 {
10030 PyThreadState* __tstate = wxPyBeginAllowThreads();
10031 wxPyDividedShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
10032
10033 wxPyEndAllowThreads(__tstate);
10034 if (PyErr_Occurred()) return NULL;
10035 } Py_INCREF(Py_None);
10036 _resultobj = Py_None;
10037 return _resultobj;
10038 }
10039
10040 #define wxPyDividedShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10041 static PyObject *_wrap_wxPyDividedShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
10042 PyObject * _resultobj;
10043 wxPyDividedShape * _arg0;
10044 double _arg1;
10045 double _arg2;
10046 int _arg3 = (int ) 0;
10047 int _arg4 = (int ) 0;
10048 PyObject * _argo0 = 0;
10049 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
10050
10051 self = self;
10052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
10053 return NULL;
10054 if (_argo0) {
10055 if (_argo0 == Py_None) { _arg0 = NULL; }
10056 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
10057 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnEndDragRight. Expected _wxPyDividedShape_p.");
10058 return NULL;
10059 }
10060 }
10061 {
10062 PyThreadState* __tstate = wxPyBeginAllowThreads();
10063 wxPyDividedShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
10064
10065 wxPyEndAllowThreads(__tstate);
10066 if (PyErr_Occurred()) return NULL;
10067 } Py_INCREF(Py_None);
10068 _resultobj = Py_None;
10069 return _resultobj;
10070 }
10071
10072 #define wxPyDividedShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10073 static PyObject *_wrap_wxPyDividedShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
10074 PyObject * _resultobj;
10075 wxPyDividedShape * _arg0;
10076 wxDC * _arg1;
10077 double _arg2;
10078 double _arg3;
10079 double _arg4;
10080 double _arg5;
10081 PyObject * _argo0 = 0;
10082 PyObject * _argo1 = 0;
10083 char *_kwnames[] = { "self","dc","x","y","w","h", NULL };
10084
10085 self = self;
10086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyDividedShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
10087 return NULL;
10088 if (_argo0) {
10089 if (_argo0 == Py_None) { _arg0 = NULL; }
10090 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
10091 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDrawOutline. Expected _wxPyDividedShape_p.");
10092 return NULL;
10093 }
10094 }
10095 if (_argo1) {
10096 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
10097 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnDrawOutline. Expected _wxDC_p.");
10098 return NULL;
10099 }
10100 }
10101 {
10102 PyThreadState* __tstate = wxPyBeginAllowThreads();
10103 wxPyDividedShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5);
10104
10105 wxPyEndAllowThreads(__tstate);
10106 if (PyErr_Occurred()) return NULL;
10107 } Py_INCREF(Py_None);
10108 _resultobj = Py_None;
10109 return _resultobj;
10110 }
10111
10112 #define wxPyDividedShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
10113 static PyObject *_wrap_wxPyDividedShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
10114 PyObject * _resultobj;
10115 wxPyDividedShape * _arg0;
10116 wxDC * _arg1;
10117 PyObject * _argo0 = 0;
10118 PyObject * _argo1 = 0;
10119 char *_kwnames[] = { "self","dc", NULL };
10120
10121 self = self;
10122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1))
10123 return NULL;
10124 if (_argo0) {
10125 if (_argo0 == Py_None) { _arg0 = NULL; }
10126 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
10127 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDrawControlPoints. Expected _wxPyDividedShape_p.");
10128 return NULL;
10129 }
10130 }
10131 if (_argo1) {
10132 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
10133 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnDrawControlPoints. Expected _wxDC_p.");
10134 return NULL;
10135 }
10136 }
10137 {
10138 PyThreadState* __tstate = wxPyBeginAllowThreads();
10139 wxPyDividedShape_base_OnDrawControlPoints(_arg0,*_arg1);
10140
10141 wxPyEndAllowThreads(__tstate);
10142 if (PyErr_Occurred()) return NULL;
10143 } Py_INCREF(Py_None);
10144 _resultobj = Py_None;
10145 return _resultobj;
10146 }
10147
10148 #define wxPyDividedShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
10149 static PyObject *_wrap_wxPyDividedShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
10150 PyObject * _resultobj;
10151 wxPyDividedShape * _arg0;
10152 wxDC * _arg1;
10153 PyObject * _argo0 = 0;
10154 PyObject * _argo1 = 0;
10155 char *_kwnames[] = { "self","dc", NULL };
10156
10157 self = self;
10158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1))
10159 return NULL;
10160 if (_argo0) {
10161 if (_argo0 == Py_None) { _arg0 = NULL; }
10162 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
10163 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnEraseControlPoints. Expected _wxPyDividedShape_p.");
10164 return NULL;
10165 }
10166 }
10167 if (_argo1) {
10168 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
10169 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnEraseControlPoints. Expected _wxDC_p.");
10170 return NULL;
10171 }
10172 }
10173 {
10174 PyThreadState* __tstate = wxPyBeginAllowThreads();
10175 wxPyDividedShape_base_OnEraseControlPoints(_arg0,*_arg1);
10176
10177 wxPyEndAllowThreads(__tstate);
10178 if (PyErr_Occurred()) return NULL;
10179 } Py_INCREF(Py_None);
10180 _resultobj = Py_None;
10181 return _resultobj;
10182 }
10183
10184 #define wxPyDividedShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
10185 static PyObject *_wrap_wxPyDividedShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
10186 PyObject * _resultobj;
10187 wxPyDividedShape * _arg0;
10188 wxDC * _arg1;
10189 bool _arg2 = (bool ) TRUE;
10190 PyObject * _argo0 = 0;
10191 PyObject * _argo1 = 0;
10192 int tempbool2 = (int) TRUE;
10193 char *_kwnames[] = { "self","dc","moveControlPoints", NULL };
10194
10195 self = self;
10196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDividedShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2))
10197 return NULL;
10198 if (_argo0) {
10199 if (_argo0 == Py_None) { _arg0 = NULL; }
10200 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
10201 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnMoveLink. Expected _wxPyDividedShape_p.");
10202 return NULL;
10203 }
10204 }
10205 if (_argo1) {
10206 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
10207 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnMoveLink. Expected _wxDC_p.");
10208 return NULL;
10209 }
10210 }
10211 _arg2 = (bool ) tempbool2;
10212 {
10213 PyThreadState* __tstate = wxPyBeginAllowThreads();
10214 wxPyDividedShape_base_OnMoveLink(_arg0,*_arg1,_arg2);
10215
10216 wxPyEndAllowThreads(__tstate);
10217 if (PyErr_Occurred()) return NULL;
10218 } Py_INCREF(Py_None);
10219 _resultobj = Py_None;
10220 return _resultobj;
10221 }
10222
10223 #define wxPyDividedShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
10224 static PyObject *_wrap_wxPyDividedShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10225 PyObject * _resultobj;
10226 wxPyDividedShape * _arg0;
10227 wxPyControlPoint * _arg1;
10228 bool _arg2;
10229 double _arg3;
10230 double _arg4;
10231 int _arg5 = (int ) 0;
10232 int _arg6 = (int ) 0;
10233 PyObject * _argo0 = 0;
10234 PyObject * _argo1 = 0;
10235 int tempbool2;
10236 char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL };
10237
10238 self = self;
10239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyDividedShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6))
10240 return NULL;
10241 if (_argo0) {
10242 if (_argo0 == Py_None) { _arg0 = NULL; }
10243 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
10244 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnSizingDragLeft. Expected _wxPyDividedShape_p.");
10245 return NULL;
10246 }
10247 }
10248 if (_argo1) {
10249 if (_argo1 == Py_None) { _arg1 = NULL; }
10250 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
10251 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
10252 return NULL;
10253 }
10254 }
10255 _arg2 = (bool ) tempbool2;
10256 {
10257 PyThreadState* __tstate = wxPyBeginAllowThreads();
10258 wxPyDividedShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
10259
10260 wxPyEndAllowThreads(__tstate);
10261 if (PyErr_Occurred()) return NULL;
10262 } Py_INCREF(Py_None);
10263 _resultobj = Py_None;
10264 return _resultobj;
10265 }
10266
10267 #define wxPyDividedShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10268 static PyObject *_wrap_wxPyDividedShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10269 PyObject * _resultobj;
10270 wxPyDividedShape * _arg0;
10271 wxPyControlPoint * _arg1;
10272 double _arg2;
10273 double _arg3;
10274 int _arg4 = (int ) 0;
10275 int _arg5 = (int ) 0;
10276 PyObject * _argo0 = 0;
10277 PyObject * _argo1 = 0;
10278 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
10279
10280 self = self;
10281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDividedShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
10282 return NULL;
10283 if (_argo0) {
10284 if (_argo0 == Py_None) { _arg0 = NULL; }
10285 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
10286 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnSizingBeginDragLeft. Expected _wxPyDividedShape_p.");
10287 return NULL;
10288 }
10289 }
10290 if (_argo1) {
10291 if (_argo1 == Py_None) { _arg1 = NULL; }
10292 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
10293 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
10294 return NULL;
10295 }
10296 }
10297 {
10298 PyThreadState* __tstate = wxPyBeginAllowThreads();
10299 wxPyDividedShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
10300
10301 wxPyEndAllowThreads(__tstate);
10302 if (PyErr_Occurred()) return NULL;
10303 } Py_INCREF(Py_None);
10304 _resultobj = Py_None;
10305 return _resultobj;
10306 }
10307
10308 #define wxPyDividedShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10309 static PyObject *_wrap_wxPyDividedShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10310 PyObject * _resultobj;
10311 wxPyDividedShape * _arg0;
10312 wxPyControlPoint * _arg1;
10313 double _arg2;
10314 double _arg3;
10315 int _arg4 = (int ) 0;
10316 int _arg5 = (int ) 0;
10317 PyObject * _argo0 = 0;
10318 PyObject * _argo1 = 0;
10319 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
10320
10321 self = self;
10322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDividedShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
10323 return NULL;
10324 if (_argo0) {
10325 if (_argo0 == Py_None) { _arg0 = NULL; }
10326 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
10327 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnSizingEndDragLeft. Expected _wxPyDividedShape_p.");
10328 return NULL;
10329 }
10330 }
10331 if (_argo1) {
10332 if (_argo1 == Py_None) { _arg1 = NULL; }
10333 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
10334 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
10335 return NULL;
10336 }
10337 }
10338 {
10339 PyThreadState* __tstate = wxPyBeginAllowThreads();
10340 wxPyDividedShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
10341
10342 wxPyEndAllowThreads(__tstate);
10343 if (PyErr_Occurred()) return NULL;
10344 } Py_INCREF(Py_None);
10345 _resultobj = Py_None;
10346 return _resultobj;
10347 }
10348
10349 #define wxPyDividedShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
10350 static PyObject *_wrap_wxPyDividedShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10351 PyObject * _resultobj;
10352 wxPyDividedShape * _arg0;
10353 double _arg1;
10354 double _arg2;
10355 PyObject * _argo0 = 0;
10356 char *_kwnames[] = { "self","w","h", NULL };
10357
10358 self = self;
10359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDividedShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2))
10360 return NULL;
10361 if (_argo0) {
10362 if (_argo0 == Py_None) { _arg0 = NULL; }
10363 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
10364 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnBeginSize. Expected _wxPyDividedShape_p.");
10365 return NULL;
10366 }
10367 }
10368 {
10369 PyThreadState* __tstate = wxPyBeginAllowThreads();
10370 wxPyDividedShape_base_OnBeginSize(_arg0,_arg1,_arg2);
10371
10372 wxPyEndAllowThreads(__tstate);
10373 if (PyErr_Occurred()) return NULL;
10374 } Py_INCREF(Py_None);
10375 _resultobj = Py_None;
10376 return _resultobj;
10377 }
10378
10379 #define wxPyDividedShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
10380 static PyObject *_wrap_wxPyDividedShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10381 PyObject * _resultobj;
10382 wxPyDividedShape * _arg0;
10383 double _arg1;
10384 double _arg2;
10385 PyObject * _argo0 = 0;
10386 char *_kwnames[] = { "self","w","h", NULL };
10387
10388 self = self;
10389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDividedShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2))
10390 return NULL;
10391 if (_argo0) {
10392 if (_argo0 == Py_None) { _arg0 = NULL; }
10393 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
10394 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnEndSize. Expected _wxPyDividedShape_p.");
10395 return NULL;
10396 }
10397 }
10398 {
10399 PyThreadState* __tstate = wxPyBeginAllowThreads();
10400 wxPyDividedShape_base_OnEndSize(_arg0,_arg1,_arg2);
10401
10402 wxPyEndAllowThreads(__tstate);
10403 if (PyErr_Occurred()) return NULL;
10404 } Py_INCREF(Py_None);
10405 _resultobj = Py_None;
10406 return _resultobj;
10407 }
10408
10409 static void *SwigwxPyDivisionShapeTowxPyCompositeShape(void *ptr) {
10410 wxPyDivisionShape *src;
10411 wxPyCompositeShape *dest;
10412 src = (wxPyDivisionShape *) ptr;
10413 dest = (wxPyCompositeShape *) src;
10414 return (void *) dest;
10415 }
10416
10417 static void *SwigwxPyDivisionShapeTowxPyRectangleShape(void *ptr) {
10418 wxPyDivisionShape *src;
10419 wxPyRectangleShape *dest;
10420 src = (wxPyDivisionShape *) ptr;
10421 dest = (wxPyRectangleShape *) src;
10422 return (void *) dest;
10423 }
10424
10425 static void *SwigwxPyDivisionShapeTowxPyShape(void *ptr) {
10426 wxPyDivisionShape *src;
10427 wxPyShape *dest;
10428 src = (wxPyDivisionShape *) ptr;
10429 dest = (wxPyShape *) src;
10430 return (void *) dest;
10431 }
10432
10433 static void *SwigwxPyDivisionShapeTowxPyShapeEvtHandler(void *ptr) {
10434 wxPyDivisionShape *src;
10435 wxPyShapeEvtHandler *dest;
10436 src = (wxPyDivisionShape *) ptr;
10437 dest = (wxPyShapeEvtHandler *) src;
10438 return (void *) dest;
10439 }
10440
10441 static void *SwigwxPyDivisionShapeTowxObject(void *ptr) {
10442 wxPyDivisionShape *src;
10443 wxObject *dest;
10444 src = (wxPyDivisionShape *) ptr;
10445 dest = (wxObject *) src;
10446 return (void *) dest;
10447 }
10448
10449 #define new_wxPyDivisionShape() (new wxPyDivisionShape())
10450 static PyObject *_wrap_new_wxPyDivisionShape(PyObject *self, PyObject *args, PyObject *kwargs) {
10451 PyObject * _resultobj;
10452 wxPyDivisionShape * _result;
10453 char *_kwnames[] = { NULL };
10454 char _ptemp[128];
10455
10456 self = self;
10457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyDivisionShape",_kwnames))
10458 return NULL;
10459 {
10460 PyThreadState* __tstate = wxPyBeginAllowThreads();
10461 _result = (wxPyDivisionShape *)new_wxPyDivisionShape();
10462
10463 wxPyEndAllowThreads(__tstate);
10464 if (PyErr_Occurred()) return NULL;
10465 } if (_result) {
10466 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyDivisionShape_p");
10467 _resultobj = Py_BuildValue("s",_ptemp);
10468 } else {
10469 Py_INCREF(Py_None);
10470 _resultobj = Py_None;
10471 }
10472 return _resultobj;
10473 }
10474
10475 #define wxPyDivisionShape__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
10476 static PyObject *_wrap_wxPyDivisionShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10477 PyObject * _resultobj;
10478 wxPyDivisionShape * _arg0;
10479 PyObject * _arg1;
10480 PyObject * _arg2;
10481 PyObject * _argo0 = 0;
10482 PyObject * _obj1 = 0;
10483 PyObject * _obj2 = 0;
10484 char *_kwnames[] = { "self","self","_class", NULL };
10485
10486 self = self;
10487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyDivisionShape__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
10488 return NULL;
10489 if (_argo0) {
10490 if (_argo0 == Py_None) { _arg0 = NULL; }
10491 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10492 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape__setCallbackInfo. Expected _wxPyDivisionShape_p.");
10493 return NULL;
10494 }
10495 }
10496 {
10497 _arg1 = _obj1;
10498 }
10499 {
10500 _arg2 = _obj2;
10501 }
10502 {
10503 PyThreadState* __tstate = wxPyBeginAllowThreads();
10504 wxPyDivisionShape__setCallbackInfo(_arg0,_arg1,_arg2);
10505
10506 wxPyEndAllowThreads(__tstate);
10507 if (PyErr_Occurred()) return NULL;
10508 } Py_INCREF(Py_None);
10509 _resultobj = Py_None;
10510 return _resultobj;
10511 }
10512
10513 #define wxPyDivisionShape_AdjustBottom(_swigobj,_swigarg0,_swigarg1) (_swigobj->AdjustBottom(_swigarg0,_swigarg1))
10514 static PyObject *_wrap_wxPyDivisionShape_AdjustBottom(PyObject *self, PyObject *args, PyObject *kwargs) {
10515 PyObject * _resultobj;
10516 wxPyDivisionShape * _arg0;
10517 double _arg1;
10518 bool _arg2;
10519 PyObject * _argo0 = 0;
10520 int tempbool2;
10521 char *_kwnames[] = { "self","bottom","test", NULL };
10522
10523 self = self;
10524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odi:wxPyDivisionShape_AdjustBottom",_kwnames,&_argo0,&_arg1,&tempbool2))
10525 return NULL;
10526 if (_argo0) {
10527 if (_argo0 == Py_None) { _arg0 = NULL; }
10528 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10529 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_AdjustBottom. Expected _wxPyDivisionShape_p.");
10530 return NULL;
10531 }
10532 }
10533 _arg2 = (bool ) tempbool2;
10534 {
10535 PyThreadState* __tstate = wxPyBeginAllowThreads();
10536 wxPyDivisionShape_AdjustBottom(_arg0,_arg1,_arg2);
10537
10538 wxPyEndAllowThreads(__tstate);
10539 if (PyErr_Occurred()) return NULL;
10540 } Py_INCREF(Py_None);
10541 _resultobj = Py_None;
10542 return _resultobj;
10543 }
10544
10545 #define wxPyDivisionShape_AdjustLeft(_swigobj,_swigarg0,_swigarg1) (_swigobj->AdjustLeft(_swigarg0,_swigarg1))
10546 static PyObject *_wrap_wxPyDivisionShape_AdjustLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10547 PyObject * _resultobj;
10548 wxPyDivisionShape * _arg0;
10549 double _arg1;
10550 bool _arg2;
10551 PyObject * _argo0 = 0;
10552 int tempbool2;
10553 char *_kwnames[] = { "self","left","test", NULL };
10554
10555 self = self;
10556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odi:wxPyDivisionShape_AdjustLeft",_kwnames,&_argo0,&_arg1,&tempbool2))
10557 return NULL;
10558 if (_argo0) {
10559 if (_argo0 == Py_None) { _arg0 = NULL; }
10560 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10561 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_AdjustLeft. Expected _wxPyDivisionShape_p.");
10562 return NULL;
10563 }
10564 }
10565 _arg2 = (bool ) tempbool2;
10566 {
10567 PyThreadState* __tstate = wxPyBeginAllowThreads();
10568 wxPyDivisionShape_AdjustLeft(_arg0,_arg1,_arg2);
10569
10570 wxPyEndAllowThreads(__tstate);
10571 if (PyErr_Occurred()) return NULL;
10572 } Py_INCREF(Py_None);
10573 _resultobj = Py_None;
10574 return _resultobj;
10575 }
10576
10577 #define wxPyDivisionShape_AdjustRight(_swigobj,_swigarg0,_swigarg1) (_swigobj->AdjustRight(_swigarg0,_swigarg1))
10578 static PyObject *_wrap_wxPyDivisionShape_AdjustRight(PyObject *self, PyObject *args, PyObject *kwargs) {
10579 PyObject * _resultobj;
10580 wxPyDivisionShape * _arg0;
10581 double _arg1;
10582 bool _arg2;
10583 PyObject * _argo0 = 0;
10584 int tempbool2;
10585 char *_kwnames[] = { "self","right","test", NULL };
10586
10587 self = self;
10588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odi:wxPyDivisionShape_AdjustRight",_kwnames,&_argo0,&_arg1,&tempbool2))
10589 return NULL;
10590 if (_argo0) {
10591 if (_argo0 == Py_None) { _arg0 = NULL; }
10592 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10593 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_AdjustRight. Expected _wxPyDivisionShape_p.");
10594 return NULL;
10595 }
10596 }
10597 _arg2 = (bool ) tempbool2;
10598 {
10599 PyThreadState* __tstate = wxPyBeginAllowThreads();
10600 wxPyDivisionShape_AdjustRight(_arg0,_arg1,_arg2);
10601
10602 wxPyEndAllowThreads(__tstate);
10603 if (PyErr_Occurred()) return NULL;
10604 } Py_INCREF(Py_None);
10605 _resultobj = Py_None;
10606 return _resultobj;
10607 }
10608
10609 #define wxPyDivisionShape_AdjustTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->AdjustTop(_swigarg0,_swigarg1))
10610 static PyObject *_wrap_wxPyDivisionShape_AdjustTop(PyObject *self, PyObject *args, PyObject *kwargs) {
10611 PyObject * _resultobj;
10612 wxPyDivisionShape * _arg0;
10613 double _arg1;
10614 bool _arg2;
10615 PyObject * _argo0 = 0;
10616 int tempbool2;
10617 char *_kwnames[] = { "self","top","test", NULL };
10618
10619 self = self;
10620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odi:wxPyDivisionShape_AdjustTop",_kwnames,&_argo0,&_arg1,&tempbool2))
10621 return NULL;
10622 if (_argo0) {
10623 if (_argo0 == Py_None) { _arg0 = NULL; }
10624 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10625 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_AdjustTop. Expected _wxPyDivisionShape_p.");
10626 return NULL;
10627 }
10628 }
10629 _arg2 = (bool ) tempbool2;
10630 {
10631 PyThreadState* __tstate = wxPyBeginAllowThreads();
10632 wxPyDivisionShape_AdjustTop(_arg0,_arg1,_arg2);
10633
10634 wxPyEndAllowThreads(__tstate);
10635 if (PyErr_Occurred()) return NULL;
10636 } Py_INCREF(Py_None);
10637 _resultobj = Py_None;
10638 return _resultobj;
10639 }
10640
10641 #define wxPyDivisionShape_Divide(_swigobj,_swigarg0) (_swigobj->Divide(_swigarg0))
10642 static PyObject *_wrap_wxPyDivisionShape_Divide(PyObject *self, PyObject *args, PyObject *kwargs) {
10643 PyObject * _resultobj;
10644 wxPyDivisionShape * _arg0;
10645 int _arg1;
10646 PyObject * _argo0 = 0;
10647 char *_kwnames[] = { "self","direction", NULL };
10648
10649 self = self;
10650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDivisionShape_Divide",_kwnames,&_argo0,&_arg1))
10651 return NULL;
10652 if (_argo0) {
10653 if (_argo0 == Py_None) { _arg0 = NULL; }
10654 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10655 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_Divide. Expected _wxPyDivisionShape_p.");
10656 return NULL;
10657 }
10658 }
10659 {
10660 PyThreadState* __tstate = wxPyBeginAllowThreads();
10661 wxPyDivisionShape_Divide(_arg0,_arg1);
10662
10663 wxPyEndAllowThreads(__tstate);
10664 if (PyErr_Occurred()) return NULL;
10665 } Py_INCREF(Py_None);
10666 _resultobj = Py_None;
10667 return _resultobj;
10668 }
10669
10670 #define wxPyDivisionShape_EditEdge(_swigobj,_swigarg0) (_swigobj->EditEdge(_swigarg0))
10671 static PyObject *_wrap_wxPyDivisionShape_EditEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
10672 PyObject * _resultobj;
10673 wxPyDivisionShape * _arg0;
10674 int _arg1;
10675 PyObject * _argo0 = 0;
10676 char *_kwnames[] = { "self","side", NULL };
10677
10678 self = self;
10679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDivisionShape_EditEdge",_kwnames,&_argo0,&_arg1))
10680 return NULL;
10681 if (_argo0) {
10682 if (_argo0 == Py_None) { _arg0 = NULL; }
10683 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10684 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_EditEdge. Expected _wxPyDivisionShape_p.");
10685 return NULL;
10686 }
10687 }
10688 {
10689 PyThreadState* __tstate = wxPyBeginAllowThreads();
10690 wxPyDivisionShape_EditEdge(_arg0,_arg1);
10691
10692 wxPyEndAllowThreads(__tstate);
10693 if (PyErr_Occurred()) return NULL;
10694 } Py_INCREF(Py_None);
10695 _resultobj = Py_None;
10696 return _resultobj;
10697 }
10698
10699 #define wxPyDivisionShape_GetBottomSide(_swigobj) (_swigobj->GetBottomSide())
10700 static PyObject *_wrap_wxPyDivisionShape_GetBottomSide(PyObject *self, PyObject *args, PyObject *kwargs) {
10701 PyObject * _resultobj;
10702 wxPyDivisionShape * _result;
10703 wxPyDivisionShape * _arg0;
10704 PyObject * _argo0 = 0;
10705 char *_kwnames[] = { "self", NULL };
10706
10707 self = self;
10708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetBottomSide",_kwnames,&_argo0))
10709 return NULL;
10710 if (_argo0) {
10711 if (_argo0 == Py_None) { _arg0 = NULL; }
10712 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10713 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetBottomSide. Expected _wxPyDivisionShape_p.");
10714 return NULL;
10715 }
10716 }
10717 {
10718 PyThreadState* __tstate = wxPyBeginAllowThreads();
10719 _result = (wxPyDivisionShape *)wxPyDivisionShape_GetBottomSide(_arg0);
10720
10721 wxPyEndAllowThreads(__tstate);
10722 if (PyErr_Occurred()) return NULL;
10723 }{ _resultobj = wxPyMake_wxShapeEvtHandler(_result); }
10724 return _resultobj;
10725 }
10726
10727 #define wxPyDivisionShape_GetHandleSide(_swigobj) (_swigobj->GetHandleSide())
10728 static PyObject *_wrap_wxPyDivisionShape_GetHandleSide(PyObject *self, PyObject *args, PyObject *kwargs) {
10729 PyObject * _resultobj;
10730 int _result;
10731 wxPyDivisionShape * _arg0;
10732 PyObject * _argo0 = 0;
10733 char *_kwnames[] = { "self", NULL };
10734
10735 self = self;
10736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetHandleSide",_kwnames,&_argo0))
10737 return NULL;
10738 if (_argo0) {
10739 if (_argo0 == Py_None) { _arg0 = NULL; }
10740 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10741 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetHandleSide. Expected _wxPyDivisionShape_p.");
10742 return NULL;
10743 }
10744 }
10745 {
10746 PyThreadState* __tstate = wxPyBeginAllowThreads();
10747 _result = (int )wxPyDivisionShape_GetHandleSide(_arg0);
10748
10749 wxPyEndAllowThreads(__tstate);
10750 if (PyErr_Occurred()) return NULL;
10751 } _resultobj = Py_BuildValue("i",_result);
10752 return _resultobj;
10753 }
10754
10755 #define wxPyDivisionShape_GetLeftSide(_swigobj) (_swigobj->GetLeftSide())
10756 static PyObject *_wrap_wxPyDivisionShape_GetLeftSide(PyObject *self, PyObject *args, PyObject *kwargs) {
10757 PyObject * _resultobj;
10758 wxPyDivisionShape * _result;
10759 wxPyDivisionShape * _arg0;
10760 PyObject * _argo0 = 0;
10761 char *_kwnames[] = { "self", NULL };
10762
10763 self = self;
10764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetLeftSide",_kwnames,&_argo0))
10765 return NULL;
10766 if (_argo0) {
10767 if (_argo0 == Py_None) { _arg0 = NULL; }
10768 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10769 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetLeftSide. Expected _wxPyDivisionShape_p.");
10770 return NULL;
10771 }
10772 }
10773 {
10774 PyThreadState* __tstate = wxPyBeginAllowThreads();
10775 _result = (wxPyDivisionShape *)wxPyDivisionShape_GetLeftSide(_arg0);
10776
10777 wxPyEndAllowThreads(__tstate);
10778 if (PyErr_Occurred()) return NULL;
10779 }{ _resultobj = wxPyMake_wxShapeEvtHandler(_result); }
10780 return _resultobj;
10781 }
10782
10783 #define wxPyDivisionShape_GetLeftSideColour(_swigobj) (_swigobj->GetLeftSideColour())
10784 static PyObject *_wrap_wxPyDivisionShape_GetLeftSideColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10785 PyObject * _resultobj;
10786 wxString * _result;
10787 wxPyDivisionShape * _arg0;
10788 PyObject * _argo0 = 0;
10789 char *_kwnames[] = { "self", NULL };
10790
10791 self = self;
10792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetLeftSideColour",_kwnames,&_argo0))
10793 return NULL;
10794 if (_argo0) {
10795 if (_argo0 == Py_None) { _arg0 = NULL; }
10796 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10797 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetLeftSideColour. Expected _wxPyDivisionShape_p.");
10798 return NULL;
10799 }
10800 }
10801 {
10802 PyThreadState* __tstate = wxPyBeginAllowThreads();
10803 _result = new wxString (wxPyDivisionShape_GetLeftSideColour(_arg0));
10804
10805 wxPyEndAllowThreads(__tstate);
10806 if (PyErr_Occurred()) return NULL;
10807 }{
10808 #if wxUSE_UNICODE
10809 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
10810 #else
10811 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
10812 #endif
10813 }
10814 {
10815 delete _result;
10816 }
10817 return _resultobj;
10818 }
10819
10820 #define wxPyDivisionShape_GetLeftSidePen(_swigobj) (_swigobj->GetLeftSidePen())
10821 static PyObject *_wrap_wxPyDivisionShape_GetLeftSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
10822 PyObject * _resultobj;
10823 wxPen * _result;
10824 wxPyDivisionShape * _arg0;
10825 PyObject * _argo0 = 0;
10826 char *_kwnames[] = { "self", NULL };
10827 char _ptemp[128];
10828
10829 self = self;
10830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetLeftSidePen",_kwnames,&_argo0))
10831 return NULL;
10832 if (_argo0) {
10833 if (_argo0 == Py_None) { _arg0 = NULL; }
10834 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10835 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetLeftSidePen. Expected _wxPyDivisionShape_p.");
10836 return NULL;
10837 }
10838 }
10839 {
10840 PyThreadState* __tstate = wxPyBeginAllowThreads();
10841 _result = (wxPen *)wxPyDivisionShape_GetLeftSidePen(_arg0);
10842
10843 wxPyEndAllowThreads(__tstate);
10844 if (PyErr_Occurred()) return NULL;
10845 } if (_result) {
10846 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPen_p");
10847 _resultobj = Py_BuildValue("s",_ptemp);
10848 } else {
10849 Py_INCREF(Py_None);
10850 _resultobj = Py_None;
10851 }
10852 return _resultobj;
10853 }
10854
10855 #define wxPyDivisionShape_GetRightSide(_swigobj) (_swigobj->GetRightSide())
10856 static PyObject *_wrap_wxPyDivisionShape_GetRightSide(PyObject *self, PyObject *args, PyObject *kwargs) {
10857 PyObject * _resultobj;
10858 wxPyDivisionShape * _result;
10859 wxPyDivisionShape * _arg0;
10860 PyObject * _argo0 = 0;
10861 char *_kwnames[] = { "self", NULL };
10862
10863 self = self;
10864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetRightSide",_kwnames,&_argo0))
10865 return NULL;
10866 if (_argo0) {
10867 if (_argo0 == Py_None) { _arg0 = NULL; }
10868 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10869 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetRightSide. Expected _wxPyDivisionShape_p.");
10870 return NULL;
10871 }
10872 }
10873 {
10874 PyThreadState* __tstate = wxPyBeginAllowThreads();
10875 _result = (wxPyDivisionShape *)wxPyDivisionShape_GetRightSide(_arg0);
10876
10877 wxPyEndAllowThreads(__tstate);
10878 if (PyErr_Occurred()) return NULL;
10879 }{ _resultobj = wxPyMake_wxShapeEvtHandler(_result); }
10880 return _resultobj;
10881 }
10882
10883 #define wxPyDivisionShape_GetTopSide(_swigobj) (_swigobj->GetTopSide())
10884 static PyObject *_wrap_wxPyDivisionShape_GetTopSide(PyObject *self, PyObject *args, PyObject *kwargs) {
10885 PyObject * _resultobj;
10886 wxPyDivisionShape * _result;
10887 wxPyDivisionShape * _arg0;
10888 PyObject * _argo0 = 0;
10889 char *_kwnames[] = { "self", NULL };
10890
10891 self = self;
10892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetTopSide",_kwnames,&_argo0))
10893 return NULL;
10894 if (_argo0) {
10895 if (_argo0 == Py_None) { _arg0 = NULL; }
10896 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10897 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetTopSide. Expected _wxPyDivisionShape_p.");
10898 return NULL;
10899 }
10900 }
10901 {
10902 PyThreadState* __tstate = wxPyBeginAllowThreads();
10903 _result = (wxPyDivisionShape *)wxPyDivisionShape_GetTopSide(_arg0);
10904
10905 wxPyEndAllowThreads(__tstate);
10906 if (PyErr_Occurred()) return NULL;
10907 }{ _resultobj = wxPyMake_wxShapeEvtHandler(_result); }
10908 return _resultobj;
10909 }
10910
10911 #define wxPyDivisionShape_GetTopSidePen(_swigobj) (_swigobj->GetTopSidePen())
10912 static PyObject *_wrap_wxPyDivisionShape_GetTopSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
10913 PyObject * _resultobj;
10914 wxPen * _result;
10915 wxPyDivisionShape * _arg0;
10916 PyObject * _argo0 = 0;
10917 char *_kwnames[] = { "self", NULL };
10918 char _ptemp[128];
10919
10920 self = self;
10921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetTopSidePen",_kwnames,&_argo0))
10922 return NULL;
10923 if (_argo0) {
10924 if (_argo0 == Py_None) { _arg0 = NULL; }
10925 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10926 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetTopSidePen. Expected _wxPyDivisionShape_p.");
10927 return NULL;
10928 }
10929 }
10930 {
10931 PyThreadState* __tstate = wxPyBeginAllowThreads();
10932 _result = (wxPen *)wxPyDivisionShape_GetTopSidePen(_arg0);
10933
10934 wxPyEndAllowThreads(__tstate);
10935 if (PyErr_Occurred()) return NULL;
10936 } if (_result) {
10937 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPen_p");
10938 _resultobj = Py_BuildValue("s",_ptemp);
10939 } else {
10940 Py_INCREF(Py_None);
10941 _resultobj = Py_None;
10942 }
10943 return _resultobj;
10944 }
10945
10946 #define wxPyDivisionShape_ResizeAdjoining(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ResizeAdjoining(_swigarg0,_swigarg1,_swigarg2))
10947 static PyObject *_wrap_wxPyDivisionShape_ResizeAdjoining(PyObject *self, PyObject *args, PyObject *kwargs) {
10948 PyObject * _resultobj;
10949 wxPyDivisionShape * _arg0;
10950 int _arg1;
10951 double _arg2;
10952 bool _arg3;
10953 PyObject * _argo0 = 0;
10954 int tempbool3;
10955 char *_kwnames[] = { "self","side","newPos","test", NULL };
10956
10957 self = self;
10958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidi:wxPyDivisionShape_ResizeAdjoining",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
10959 return NULL;
10960 if (_argo0) {
10961 if (_argo0 == Py_None) { _arg0 = NULL; }
10962 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10963 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_ResizeAdjoining. Expected _wxPyDivisionShape_p.");
10964 return NULL;
10965 }
10966 }
10967 _arg3 = (bool ) tempbool3;
10968 {
10969 PyThreadState* __tstate = wxPyBeginAllowThreads();
10970 wxPyDivisionShape_ResizeAdjoining(_arg0,_arg1,_arg2,_arg3);
10971
10972 wxPyEndAllowThreads(__tstate);
10973 if (PyErr_Occurred()) return NULL;
10974 } Py_INCREF(Py_None);
10975 _resultobj = Py_None;
10976 return _resultobj;
10977 }
10978
10979 #define wxPyDivisionShape_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
10980 static PyObject *_wrap_wxPyDivisionShape_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
10981 PyObject * _resultobj;
10982 wxPyDivisionShape * _arg0;
10983 double _arg1;
10984 double _arg2;
10985 PyObject * _argo0 = 0;
10986 char *_kwnames[] = { "self","x","y", NULL };
10987
10988 self = self;
10989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDivisionShape_PopupMenu",_kwnames,&_argo0,&_arg1,&_arg2))
10990 return NULL;
10991 if (_argo0) {
10992 if (_argo0 == Py_None) { _arg0 = NULL; }
10993 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10994 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_PopupMenu. Expected _wxPyDivisionShape_p.");
10995 return NULL;
10996 }
10997 }
10998 {
10999 PyThreadState* __tstate = wxPyBeginAllowThreads();
11000 wxPyDivisionShape_PopupMenu(_arg0,_arg1,_arg2);
11001
11002 wxPyEndAllowThreads(__tstate);
11003 if (PyErr_Occurred()) return NULL;
11004 } Py_INCREF(Py_None);
11005 _resultobj = Py_None;
11006 return _resultobj;
11007 }
11008
11009 #define wxPyDivisionShape_SetBottomSide(_swigobj,_swigarg0) (_swigobj->SetBottomSide(_swigarg0))
11010 static PyObject *_wrap_wxPyDivisionShape_SetBottomSide(PyObject *self, PyObject *args, PyObject *kwargs) {
11011 PyObject * _resultobj;
11012 wxPyDivisionShape * _arg0;
11013 wxPyDivisionShape * _arg1;
11014 PyObject * _argo0 = 0;
11015 PyObject * _argo1 = 0;
11016 char *_kwnames[] = { "self","shape", NULL };
11017
11018 self = self;
11019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetBottomSide",_kwnames,&_argo0,&_argo1))
11020 return NULL;
11021 if (_argo0) {
11022 if (_argo0 == Py_None) { _arg0 = NULL; }
11023 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11024 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetBottomSide. Expected _wxPyDivisionShape_p.");
11025 return NULL;
11026 }
11027 }
11028 if (_argo1) {
11029 if (_argo1 == Py_None) { _arg1 = NULL; }
11030 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyDivisionShape_p")) {
11031 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_SetBottomSide. Expected _wxPyDivisionShape_p.");
11032 return NULL;
11033 }
11034 }
11035 {
11036 PyThreadState* __tstate = wxPyBeginAllowThreads();
11037 wxPyDivisionShape_SetBottomSide(_arg0,_arg1);
11038
11039 wxPyEndAllowThreads(__tstate);
11040 if (PyErr_Occurred()) return NULL;
11041 } Py_INCREF(Py_None);
11042 _resultobj = Py_None;
11043 return _resultobj;
11044 }
11045
11046 #define wxPyDivisionShape_SetHandleSide(_swigobj,_swigarg0) (_swigobj->SetHandleSide(_swigarg0))
11047 static PyObject *_wrap_wxPyDivisionShape_SetHandleSide(PyObject *self, PyObject *args, PyObject *kwargs) {
11048 PyObject * _resultobj;
11049 wxPyDivisionShape * _arg0;
11050 int _arg1;
11051 PyObject * _argo0 = 0;
11052 char *_kwnames[] = { "self","side", NULL };
11053
11054 self = self;
11055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDivisionShape_SetHandleSide",_kwnames,&_argo0,&_arg1))
11056 return NULL;
11057 if (_argo0) {
11058 if (_argo0 == Py_None) { _arg0 = NULL; }
11059 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11060 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetHandleSide. Expected _wxPyDivisionShape_p.");
11061 return NULL;
11062 }
11063 }
11064 {
11065 PyThreadState* __tstate = wxPyBeginAllowThreads();
11066 wxPyDivisionShape_SetHandleSide(_arg0,_arg1);
11067
11068 wxPyEndAllowThreads(__tstate);
11069 if (PyErr_Occurred()) return NULL;
11070 } Py_INCREF(Py_None);
11071 _resultobj = Py_None;
11072 return _resultobj;
11073 }
11074
11075 #define wxPyDivisionShape_SetLeftSide(_swigobj,_swigarg0) (_swigobj->SetLeftSide(_swigarg0))
11076 static PyObject *_wrap_wxPyDivisionShape_SetLeftSide(PyObject *self, PyObject *args, PyObject *kwargs) {
11077 PyObject * _resultobj;
11078 wxPyDivisionShape * _arg0;
11079 wxPyDivisionShape * _arg1;
11080 PyObject * _argo0 = 0;
11081 PyObject * _argo1 = 0;
11082 char *_kwnames[] = { "self","shape", NULL };
11083
11084 self = self;
11085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetLeftSide",_kwnames,&_argo0,&_argo1))
11086 return NULL;
11087 if (_argo0) {
11088 if (_argo0 == Py_None) { _arg0 = NULL; }
11089 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11090 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetLeftSide. Expected _wxPyDivisionShape_p.");
11091 return NULL;
11092 }
11093 }
11094 if (_argo1) {
11095 if (_argo1 == Py_None) { _arg1 = NULL; }
11096 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyDivisionShape_p")) {
11097 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_SetLeftSide. Expected _wxPyDivisionShape_p.");
11098 return NULL;
11099 }
11100 }
11101 {
11102 PyThreadState* __tstate = wxPyBeginAllowThreads();
11103 wxPyDivisionShape_SetLeftSide(_arg0,_arg1);
11104
11105 wxPyEndAllowThreads(__tstate);
11106 if (PyErr_Occurred()) return NULL;
11107 } Py_INCREF(Py_None);
11108 _resultobj = Py_None;
11109 return _resultobj;
11110 }
11111
11112 #define wxPyDivisionShape_SetLeftSideColour(_swigobj,_swigarg0) (_swigobj->SetLeftSideColour(_swigarg0))
11113 static PyObject *_wrap_wxPyDivisionShape_SetLeftSideColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11114 PyObject * _resultobj;
11115 wxPyDivisionShape * _arg0;
11116 wxString * _arg1;
11117 PyObject * _argo0 = 0;
11118 PyObject * _obj1 = 0;
11119 char *_kwnames[] = { "self","colour", NULL };
11120
11121 self = self;
11122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetLeftSideColour",_kwnames,&_argo0,&_obj1))
11123 return NULL;
11124 if (_argo0) {
11125 if (_argo0 == Py_None) { _arg0 = NULL; }
11126 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11127 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetLeftSideColour. Expected _wxPyDivisionShape_p.");
11128 return NULL;
11129 }
11130 }
11131 {
11132 _arg1 = wxString_in_helper(_obj1);
11133 if (_arg1 == NULL)
11134 return NULL;
11135 }
11136 {
11137 PyThreadState* __tstate = wxPyBeginAllowThreads();
11138 wxPyDivisionShape_SetLeftSideColour(_arg0,*_arg1);
11139
11140 wxPyEndAllowThreads(__tstate);
11141 if (PyErr_Occurred()) return NULL;
11142 } Py_INCREF(Py_None);
11143 _resultobj = Py_None;
11144 {
11145 if (_obj1)
11146 delete _arg1;
11147 }
11148 return _resultobj;
11149 }
11150
11151 #define wxPyDivisionShape_SetLeftSidePen(_swigobj,_swigarg0) (_swigobj->SetLeftSidePen(_swigarg0))
11152 static PyObject *_wrap_wxPyDivisionShape_SetLeftSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
11153 PyObject * _resultobj;
11154 wxPyDivisionShape * _arg0;
11155 wxPen * _arg1;
11156 PyObject * _argo0 = 0;
11157 PyObject * _obj1 = 0;
11158 char *_kwnames[] = { "self","pen", NULL };
11159
11160 self = self;
11161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetLeftSidePen",_kwnames,&_argo0,&_obj1))
11162 return NULL;
11163 if (_argo0) {
11164 if (_argo0 == Py_None) { _arg0 = NULL; }
11165 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11166 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetLeftSidePen. Expected _wxPyDivisionShape_p.");
11167 return NULL;
11168 }
11169 }
11170 {
11171 wxPen* temp;
11172 if (_obj1) {
11173 if (_obj1 == Py_None) { temp = NULL; }
11174 else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxPen_p")) {
11175 PyErr_SetString(PyExc_TypeError,"Type error, expected _wxPen_p.");
11176 return NULL;
11177 }
11178 }
11179 if (temp)
11180 _arg1 = wxThePenList->FindOrCreatePen(temp->GetColour(),
11181 temp->GetWidth(),
11182 temp->GetStyle());
11183 else
11184 _arg1 = NULL;
11185 }
11186 {
11187 PyThreadState* __tstate = wxPyBeginAllowThreads();
11188 wxPyDivisionShape_SetLeftSidePen(_arg0,_arg1);
11189
11190 wxPyEndAllowThreads(__tstate);
11191 if (PyErr_Occurred()) return NULL;
11192 } Py_INCREF(Py_None);
11193 _resultobj = Py_None;
11194 return _resultobj;
11195 }
11196
11197 #define wxPyDivisionShape_SetRightSide(_swigobj,_swigarg0) (_swigobj->SetRightSide(_swigarg0))
11198 static PyObject *_wrap_wxPyDivisionShape_SetRightSide(PyObject *self, PyObject *args, PyObject *kwargs) {
11199 PyObject * _resultobj;
11200 wxPyDivisionShape * _arg0;
11201 wxPyDivisionShape * _arg1;
11202 PyObject * _argo0 = 0;
11203 PyObject * _argo1 = 0;
11204 char *_kwnames[] = { "self","shape", NULL };
11205
11206 self = self;
11207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetRightSide",_kwnames,&_argo0,&_argo1))
11208 return NULL;
11209 if (_argo0) {
11210 if (_argo0 == Py_None) { _arg0 = NULL; }
11211 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11212 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetRightSide. Expected _wxPyDivisionShape_p.");
11213 return NULL;
11214 }
11215 }
11216 if (_argo1) {
11217 if (_argo1 == Py_None) { _arg1 = NULL; }
11218 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyDivisionShape_p")) {
11219 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_SetRightSide. Expected _wxPyDivisionShape_p.");
11220 return NULL;
11221 }
11222 }
11223 {
11224 PyThreadState* __tstate = wxPyBeginAllowThreads();
11225 wxPyDivisionShape_SetRightSide(_arg0,_arg1);
11226
11227 wxPyEndAllowThreads(__tstate);
11228 if (PyErr_Occurred()) return NULL;
11229 } Py_INCREF(Py_None);
11230 _resultobj = Py_None;
11231 return _resultobj;
11232 }
11233
11234 #define wxPyDivisionShape_SetTopSide(_swigobj,_swigarg0) (_swigobj->SetTopSide(_swigarg0))
11235 static PyObject *_wrap_wxPyDivisionShape_SetTopSide(PyObject *self, PyObject *args, PyObject *kwargs) {
11236 PyObject * _resultobj;
11237 wxPyDivisionShape * _arg0;
11238 wxPyDivisionShape * _arg1;
11239 PyObject * _argo0 = 0;
11240 PyObject * _argo1 = 0;
11241 char *_kwnames[] = { "self","shape", NULL };
11242
11243 self = self;
11244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetTopSide",_kwnames,&_argo0,&_argo1))
11245 return NULL;
11246 if (_argo0) {
11247 if (_argo0 == Py_None) { _arg0 = NULL; }
11248 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11249 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetTopSide. Expected _wxPyDivisionShape_p.");
11250 return NULL;
11251 }
11252 }
11253 if (_argo1) {
11254 if (_argo1 == Py_None) { _arg1 = NULL; }
11255 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyDivisionShape_p")) {
11256 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_SetTopSide. Expected _wxPyDivisionShape_p.");
11257 return NULL;
11258 }
11259 }
11260 {
11261 PyThreadState* __tstate = wxPyBeginAllowThreads();
11262 wxPyDivisionShape_SetTopSide(_arg0,_arg1);
11263
11264 wxPyEndAllowThreads(__tstate);
11265 if (PyErr_Occurred()) return NULL;
11266 } Py_INCREF(Py_None);
11267 _resultobj = Py_None;
11268 return _resultobj;
11269 }
11270
11271 #define wxPyDivisionShape_SetTopSideColour(_swigobj,_swigarg0) (_swigobj->SetTopSideColour(_swigarg0))
11272 static PyObject *_wrap_wxPyDivisionShape_SetTopSideColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11273 PyObject * _resultobj;
11274 wxPyDivisionShape * _arg0;
11275 wxString * _arg1;
11276 PyObject * _argo0 = 0;
11277 PyObject * _obj1 = 0;
11278 char *_kwnames[] = { "self","colour", NULL };
11279
11280 self = self;
11281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetTopSideColour",_kwnames,&_argo0,&_obj1))
11282 return NULL;
11283 if (_argo0) {
11284 if (_argo0 == Py_None) { _arg0 = NULL; }
11285 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11286 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetTopSideColour. Expected _wxPyDivisionShape_p.");
11287 return NULL;
11288 }
11289 }
11290 {
11291 _arg1 = wxString_in_helper(_obj1);
11292 if (_arg1 == NULL)
11293 return NULL;
11294 }
11295 {
11296 PyThreadState* __tstate = wxPyBeginAllowThreads();
11297 wxPyDivisionShape_SetTopSideColour(_arg0,*_arg1);
11298
11299 wxPyEndAllowThreads(__tstate);
11300 if (PyErr_Occurred()) return NULL;
11301 } Py_INCREF(Py_None);
11302 _resultobj = Py_None;
11303 {
11304 if (_obj1)
11305 delete _arg1;
11306 }
11307 return _resultobj;
11308 }
11309
11310 #define wxPyDivisionShape_SetTopSidePen(_swigobj,_swigarg0) (_swigobj->SetTopSidePen(_swigarg0))
11311 static PyObject *_wrap_wxPyDivisionShape_SetTopSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
11312 PyObject * _resultobj;
11313 wxPyDivisionShape * _arg0;
11314 wxPen * _arg1;
11315 PyObject * _argo0 = 0;
11316 PyObject * _obj1 = 0;
11317 char *_kwnames[] = { "self","pen", NULL };
11318
11319 self = self;
11320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetTopSidePen",_kwnames,&_argo0,&_obj1))
11321 return NULL;
11322 if (_argo0) {
11323 if (_argo0 == Py_None) { _arg0 = NULL; }
11324 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11325 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetTopSidePen. Expected _wxPyDivisionShape_p.");
11326 return NULL;
11327 }
11328 }
11329 {
11330 wxPen* temp;
11331 if (_obj1) {
11332 if (_obj1 == Py_None) { temp = NULL; }
11333 else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxPen_p")) {
11334 PyErr_SetString(PyExc_TypeError,"Type error, expected _wxPen_p.");
11335 return NULL;
11336 }
11337 }
11338 if (temp)
11339 _arg1 = wxThePenList->FindOrCreatePen(temp->GetColour(),
11340 temp->GetWidth(),
11341 temp->GetStyle());
11342 else
11343 _arg1 = NULL;
11344 }
11345 {
11346 PyThreadState* __tstate = wxPyBeginAllowThreads();
11347 wxPyDivisionShape_SetTopSidePen(_arg0,_arg1);
11348
11349 wxPyEndAllowThreads(__tstate);
11350 if (PyErr_Occurred()) return NULL;
11351 } Py_INCREF(Py_None);
11352 _resultobj = Py_None;
11353 return _resultobj;
11354 }
11355
11356 #define wxPyDivisionShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
11357 static PyObject *_wrap_wxPyDivisionShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
11358 PyObject * _resultobj;
11359 wxPyDivisionShape * _arg0;
11360 PyObject * _argo0 = 0;
11361 char *_kwnames[] = { "self", NULL };
11362
11363 self = self;
11364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_base_OnDelete",_kwnames,&_argo0))
11365 return NULL;
11366 if (_argo0) {
11367 if (_argo0 == Py_None) { _arg0 = NULL; }
11368 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11369 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDelete. Expected _wxPyDivisionShape_p.");
11370 return NULL;
11371 }
11372 }
11373 {
11374 PyThreadState* __tstate = wxPyBeginAllowThreads();
11375 wxPyDivisionShape_base_OnDelete(_arg0);
11376
11377 wxPyEndAllowThreads(__tstate);
11378 if (PyErr_Occurred()) return NULL;
11379 } Py_INCREF(Py_None);
11380 _resultobj = Py_None;
11381 return _resultobj;
11382 }
11383
11384 #define wxPyDivisionShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
11385 static PyObject *_wrap_wxPyDivisionShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
11386 PyObject * _resultobj;
11387 wxPyDivisionShape * _arg0;
11388 wxDC * _arg1;
11389 PyObject * _argo0 = 0;
11390 PyObject * _argo1 = 0;
11391 char *_kwnames[] = { "self","dc", NULL };
11392
11393 self = self;
11394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnDraw",_kwnames,&_argo0,&_argo1))
11395 return NULL;
11396 if (_argo0) {
11397 if (_argo0 == Py_None) { _arg0 = NULL; }
11398 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11399 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDraw. Expected _wxPyDivisionShape_p.");
11400 return NULL;
11401 }
11402 }
11403 if (_argo1) {
11404 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
11405 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnDraw. Expected _wxDC_p.");
11406 return NULL;
11407 }
11408 }
11409 {
11410 PyThreadState* __tstate = wxPyBeginAllowThreads();
11411 wxPyDivisionShape_base_OnDraw(_arg0,*_arg1);
11412
11413 wxPyEndAllowThreads(__tstate);
11414 if (PyErr_Occurred()) return NULL;
11415 } Py_INCREF(Py_None);
11416 _resultobj = Py_None;
11417 return _resultobj;
11418 }
11419
11420 #define wxPyDivisionShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
11421 static PyObject *_wrap_wxPyDivisionShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
11422 PyObject * _resultobj;
11423 wxPyDivisionShape * _arg0;
11424 wxDC * _arg1;
11425 PyObject * _argo0 = 0;
11426 PyObject * _argo1 = 0;
11427 char *_kwnames[] = { "self","dc", NULL };
11428
11429 self = self;
11430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1))
11431 return NULL;
11432 if (_argo0) {
11433 if (_argo0 == Py_None) { _arg0 = NULL; }
11434 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11435 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDrawContents. Expected _wxPyDivisionShape_p.");
11436 return NULL;
11437 }
11438 }
11439 if (_argo1) {
11440 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
11441 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnDrawContents. Expected _wxDC_p.");
11442 return NULL;
11443 }
11444 }
11445 {
11446 PyThreadState* __tstate = wxPyBeginAllowThreads();
11447 wxPyDivisionShape_base_OnDrawContents(_arg0,*_arg1);
11448
11449 wxPyEndAllowThreads(__tstate);
11450 if (PyErr_Occurred()) return NULL;
11451 } Py_INCREF(Py_None);
11452 _resultobj = Py_None;
11453 return _resultobj;
11454 }
11455
11456 #define wxPyDivisionShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
11457 static PyObject *_wrap_wxPyDivisionShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
11458 PyObject * _resultobj;
11459 wxPyDivisionShape * _arg0;
11460 wxDC * _arg1;
11461 bool _arg2 = (bool ) FALSE;
11462 PyObject * _argo0 = 0;
11463 PyObject * _argo1 = 0;
11464 int tempbool2 = (int) FALSE;
11465 char *_kwnames[] = { "self","dc","erase", NULL };
11466
11467 self = self;
11468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDivisionShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2))
11469 return NULL;
11470 if (_argo0) {
11471 if (_argo0 == Py_None) { _arg0 = NULL; }
11472 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11473 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDrawBranches. Expected _wxPyDivisionShape_p.");
11474 return NULL;
11475 }
11476 }
11477 if (_argo1) {
11478 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
11479 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnDrawBranches. Expected _wxDC_p.");
11480 return NULL;
11481 }
11482 }
11483 _arg2 = (bool ) tempbool2;
11484 {
11485 PyThreadState* __tstate = wxPyBeginAllowThreads();
11486 wxPyDivisionShape_base_OnDrawBranches(_arg0,*_arg1,_arg2);
11487
11488 wxPyEndAllowThreads(__tstate);
11489 if (PyErr_Occurred()) return NULL;
11490 } Py_INCREF(Py_None);
11491 _resultobj = Py_None;
11492 return _resultobj;
11493 }
11494
11495 #define wxPyDivisionShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
11496 static PyObject *_wrap_wxPyDivisionShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
11497 PyObject * _resultobj;
11498 wxPyDivisionShape * _arg0;
11499 wxDC * _arg1;
11500 PyObject * _argo0 = 0;
11501 PyObject * _argo1 = 0;
11502 char *_kwnames[] = { "self","dc", NULL };
11503
11504 self = self;
11505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1))
11506 return NULL;
11507 if (_argo0) {
11508 if (_argo0 == Py_None) { _arg0 = NULL; }
11509 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11510 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnMoveLinks. Expected _wxPyDivisionShape_p.");
11511 return NULL;
11512 }
11513 }
11514 if (_argo1) {
11515 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
11516 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnMoveLinks. Expected _wxDC_p.");
11517 return NULL;
11518 }
11519 }
11520 {
11521 PyThreadState* __tstate = wxPyBeginAllowThreads();
11522 wxPyDivisionShape_base_OnMoveLinks(_arg0,*_arg1);
11523
11524 wxPyEndAllowThreads(__tstate);
11525 if (PyErr_Occurred()) return NULL;
11526 } Py_INCREF(Py_None);
11527 _resultobj = Py_None;
11528 return _resultobj;
11529 }
11530
11531 #define wxPyDivisionShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
11532 static PyObject *_wrap_wxPyDivisionShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
11533 PyObject * _resultobj;
11534 wxPyDivisionShape * _arg0;
11535 wxDC * _arg1;
11536 PyObject * _argo0 = 0;
11537 PyObject * _argo1 = 0;
11538 char *_kwnames[] = { "self","dc", NULL };
11539
11540 self = self;
11541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnErase",_kwnames,&_argo0,&_argo1))
11542 return NULL;
11543 if (_argo0) {
11544 if (_argo0 == Py_None) { _arg0 = NULL; }
11545 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11546 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnErase. Expected _wxPyDivisionShape_p.");
11547 return NULL;
11548 }
11549 }
11550 if (_argo1) {
11551 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
11552 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnErase. Expected _wxDC_p.");
11553 return NULL;
11554 }
11555 }
11556 {
11557 PyThreadState* __tstate = wxPyBeginAllowThreads();
11558 wxPyDivisionShape_base_OnErase(_arg0,*_arg1);
11559
11560 wxPyEndAllowThreads(__tstate);
11561 if (PyErr_Occurred()) return NULL;
11562 } Py_INCREF(Py_None);
11563 _resultobj = Py_None;
11564 return _resultobj;
11565 }
11566
11567 #define wxPyDivisionShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
11568 static PyObject *_wrap_wxPyDivisionShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
11569 PyObject * _resultobj;
11570 wxPyDivisionShape * _arg0;
11571 wxDC * _arg1;
11572 PyObject * _argo0 = 0;
11573 PyObject * _argo1 = 0;
11574 char *_kwnames[] = { "self","dc", NULL };
11575
11576 self = self;
11577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1))
11578 return NULL;
11579 if (_argo0) {
11580 if (_argo0 == Py_None) { _arg0 = NULL; }
11581 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11582 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnEraseContents. Expected _wxPyDivisionShape_p.");
11583 return NULL;
11584 }
11585 }
11586 if (_argo1) {
11587 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
11588 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnEraseContents. Expected _wxDC_p.");
11589 return NULL;
11590 }
11591 }
11592 {
11593 PyThreadState* __tstate = wxPyBeginAllowThreads();
11594 wxPyDivisionShape_base_OnEraseContents(_arg0,*_arg1);
11595
11596 wxPyEndAllowThreads(__tstate);
11597 if (PyErr_Occurred()) return NULL;
11598 } Py_INCREF(Py_None);
11599 _resultobj = Py_None;
11600 return _resultobj;
11601 }
11602
11603 #define wxPyDivisionShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
11604 static PyObject *_wrap_wxPyDivisionShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
11605 PyObject * _resultobj;
11606 wxPyDivisionShape * _arg0;
11607 wxDC * _arg1;
11608 PyObject * _argo0 = 0;
11609 PyObject * _argo1 = 0;
11610 char *_kwnames[] = { "self","dc", NULL };
11611
11612 self = self;
11613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnHighlight",_kwnames,&_argo0,&_argo1))
11614 return NULL;
11615 if (_argo0) {
11616 if (_argo0 == Py_None) { _arg0 = NULL; }
11617 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11618 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnHighlight. Expected _wxPyDivisionShape_p.");
11619 return NULL;
11620 }
11621 }
11622 if (_argo1) {
11623 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
11624 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnHighlight. Expected _wxDC_p.");
11625 return NULL;
11626 }
11627 }
11628 {
11629 PyThreadState* __tstate = wxPyBeginAllowThreads();
11630 wxPyDivisionShape_base_OnHighlight(_arg0,*_arg1);
11631
11632 wxPyEndAllowThreads(__tstate);
11633 if (PyErr_Occurred()) return NULL;
11634 } Py_INCREF(Py_None);
11635 _resultobj = Py_None;
11636 return _resultobj;
11637 }
11638
11639 #define wxPyDivisionShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11640 static PyObject *_wrap_wxPyDivisionShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
11641 PyObject * _resultobj;
11642 wxPyDivisionShape * _arg0;
11643 double _arg1;
11644 double _arg2;
11645 int _arg3 = (int ) 0;
11646 int _arg4 = (int ) 0;
11647 PyObject * _argo0 = 0;
11648 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
11649
11650 self = self;
11651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
11652 return NULL;
11653 if (_argo0) {
11654 if (_argo0 == Py_None) { _arg0 = NULL; }
11655 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11656 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnLeftClick. Expected _wxPyDivisionShape_p.");
11657 return NULL;
11658 }
11659 }
11660 {
11661 PyThreadState* __tstate = wxPyBeginAllowThreads();
11662 wxPyDivisionShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4);
11663
11664 wxPyEndAllowThreads(__tstate);
11665 if (PyErr_Occurred()) return NULL;
11666 } Py_INCREF(Py_None);
11667 _resultobj = Py_None;
11668 return _resultobj;
11669 }
11670
11671 #define wxPyDivisionShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11672 static PyObject *_wrap_wxPyDivisionShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
11673 PyObject * _resultobj;
11674 wxPyDivisionShape * _arg0;
11675 double _arg1;
11676 double _arg2;
11677 int _arg3 = (int ) 0;
11678 int _arg4 = (int ) 0;
11679 PyObject * _argo0 = 0;
11680 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
11681
11682 self = self;
11683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
11684 return NULL;
11685 if (_argo0) {
11686 if (_argo0 == Py_None) { _arg0 = NULL; }
11687 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11688 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnLeftDoubleClick. Expected _wxPyDivisionShape_p.");
11689 return NULL;
11690 }
11691 }
11692 {
11693 PyThreadState* __tstate = wxPyBeginAllowThreads();
11694 wxPyDivisionShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4);
11695
11696 wxPyEndAllowThreads(__tstate);
11697 if (PyErr_Occurred()) return NULL;
11698 } Py_INCREF(Py_None);
11699 _resultobj = Py_None;
11700 return _resultobj;
11701 }
11702
11703 #define wxPyDivisionShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11704 static PyObject *_wrap_wxPyDivisionShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
11705 PyObject * _resultobj;
11706 wxPyDivisionShape * _arg0;
11707 double _arg1;
11708 double _arg2;
11709 int _arg3 = (int ) 0;
11710 int _arg4 = (int ) 0;
11711 PyObject * _argo0 = 0;
11712 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
11713
11714 self = self;
11715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
11716 return NULL;
11717 if (_argo0) {
11718 if (_argo0 == Py_None) { _arg0 = NULL; }
11719 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11720 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnRightClick. Expected _wxPyDivisionShape_p.");
11721 return NULL;
11722 }
11723 }
11724 {
11725 PyThreadState* __tstate = wxPyBeginAllowThreads();
11726 wxPyDivisionShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4);
11727
11728 wxPyEndAllowThreads(__tstate);
11729 if (PyErr_Occurred()) return NULL;
11730 } Py_INCREF(Py_None);
11731 _resultobj = Py_None;
11732 return _resultobj;
11733 }
11734
11735 #define wxPyDivisionShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
11736 static PyObject *_wrap_wxPyDivisionShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11737 PyObject * _resultobj;
11738 wxPyDivisionShape * _arg0;
11739 double _arg1;
11740 double _arg2;
11741 PyObject * _argo0 = 0;
11742 char *_kwnames[] = { "self","x","y", NULL };
11743
11744 self = self;
11745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDivisionShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2))
11746 return NULL;
11747 if (_argo0) {
11748 if (_argo0 == Py_None) { _arg0 = NULL; }
11749 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11750 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnSize. Expected _wxPyDivisionShape_p.");
11751 return NULL;
11752 }
11753 }
11754 {
11755 PyThreadState* __tstate = wxPyBeginAllowThreads();
11756 wxPyDivisionShape_base_OnSize(_arg0,_arg1,_arg2);
11757
11758 wxPyEndAllowThreads(__tstate);
11759 if (PyErr_Occurred()) return NULL;
11760 } Py_INCREF(Py_None);
11761 _resultobj = Py_None;
11762 return _resultobj;
11763 }
11764
11765 #define wxPyDivisionShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
11766 static PyObject *_wrap_wxPyDivisionShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
11767 PyObject * _resultobj;
11768 bool _result;
11769 wxPyDivisionShape * _arg0;
11770 wxDC * _arg1;
11771 double _arg2;
11772 double _arg3;
11773 double _arg4;
11774 double _arg5;
11775 bool _arg6 = (bool ) TRUE;
11776 PyObject * _argo0 = 0;
11777 PyObject * _argo1 = 0;
11778 int tempbool6 = (int) TRUE;
11779 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
11780
11781 self = self;
11782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDivisionShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
11783 return NULL;
11784 if (_argo0) {
11785 if (_argo0 == Py_None) { _arg0 = NULL; }
11786 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11787 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnMovePre. Expected _wxPyDivisionShape_p.");
11788 return NULL;
11789 }
11790 }
11791 if (_argo1) {
11792 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
11793 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnMovePre. Expected _wxDC_p.");
11794 return NULL;
11795 }
11796 }
11797 _arg6 = (bool ) tempbool6;
11798 {
11799 PyThreadState* __tstate = wxPyBeginAllowThreads();
11800 _result = (bool )wxPyDivisionShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
11801
11802 wxPyEndAllowThreads(__tstate);
11803 if (PyErr_Occurred()) return NULL;
11804 } _resultobj = Py_BuildValue("i",_result);
11805 return _resultobj;
11806 }
11807
11808 #define wxPyDivisionShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
11809 static PyObject *_wrap_wxPyDivisionShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
11810 PyObject * _resultobj;
11811 wxPyDivisionShape * _arg0;
11812 wxDC * _arg1;
11813 double _arg2;
11814 double _arg3;
11815 double _arg4;
11816 double _arg5;
11817 bool _arg6 = (bool ) TRUE;
11818 PyObject * _argo0 = 0;
11819 PyObject * _argo1 = 0;
11820 int tempbool6 = (int) TRUE;
11821 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
11822
11823 self = self;
11824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDivisionShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
11825 return NULL;
11826 if (_argo0) {
11827 if (_argo0 == Py_None) { _arg0 = NULL; }
11828 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11829 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnMovePost. Expected _wxPyDivisionShape_p.");
11830 return NULL;
11831 }
11832 }
11833 if (_argo1) {
11834 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
11835 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnMovePost. Expected _wxDC_p.");
11836 return NULL;
11837 }
11838 }
11839 _arg6 = (bool ) tempbool6;
11840 {
11841 PyThreadState* __tstate = wxPyBeginAllowThreads();
11842 wxPyDivisionShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
11843
11844 wxPyEndAllowThreads(__tstate);
11845 if (PyErr_Occurred()) return NULL;
11846 } Py_INCREF(Py_None);
11847 _resultobj = Py_None;
11848 return _resultobj;
11849 }
11850
11851 #define wxPyDivisionShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
11852 static PyObject *_wrap_wxPyDivisionShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11853 PyObject * _resultobj;
11854 wxPyDivisionShape * _arg0;
11855 bool _arg1;
11856 double _arg2;
11857 double _arg3;
11858 int _arg4 = (int ) 0;
11859 int _arg5 = (int ) 0;
11860 PyObject * _argo0 = 0;
11861 int tempbool1;
11862 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
11863
11864 self = self;
11865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDivisionShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
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_OnDragLeft. Expected _wxPyDivisionShape_p.");
11871 return NULL;
11872 }
11873 }
11874 _arg1 = (bool ) tempbool1;
11875 {
11876 PyThreadState* __tstate = wxPyBeginAllowThreads();
11877 wxPyDivisionShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
11878
11879 wxPyEndAllowThreads(__tstate);
11880 if (PyErr_Occurred()) return NULL;
11881 } Py_INCREF(Py_None);
11882 _resultobj = Py_None;
11883 return _resultobj;
11884 }
11885
11886 #define wxPyDivisionShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11887 static PyObject *_wrap_wxPyDivisionShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11888 PyObject * _resultobj;
11889 wxPyDivisionShape * _arg0;
11890 double _arg1;
11891 double _arg2;
11892 int _arg3 = (int ) 0;
11893 int _arg4 = (int ) 0;
11894 PyObject * _argo0 = 0;
11895 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
11896
11897 self = self;
11898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
11899 return NULL;
11900 if (_argo0) {
11901 if (_argo0 == Py_None) { _arg0 = NULL; }
11902 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11903 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnBeginDragLeft. Expected _wxPyDivisionShape_p.");
11904 return NULL;
11905 }
11906 }
11907 {
11908 PyThreadState* __tstate = wxPyBeginAllowThreads();
11909 wxPyDivisionShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
11910
11911 wxPyEndAllowThreads(__tstate);
11912 if (PyErr_Occurred()) return NULL;
11913 } Py_INCREF(Py_None);
11914 _resultobj = Py_None;
11915 return _resultobj;
11916 }
11917
11918 #define wxPyDivisionShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11919 static PyObject *_wrap_wxPyDivisionShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11920 PyObject * _resultobj;
11921 wxPyDivisionShape * _arg0;
11922 double _arg1;
11923 double _arg2;
11924 int _arg3 = (int ) 0;
11925 int _arg4 = (int ) 0;
11926 PyObject * _argo0 = 0;
11927 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
11928
11929 self = self;
11930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
11931 return NULL;
11932 if (_argo0) {
11933 if (_argo0 == Py_None) { _arg0 = NULL; }
11934 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11935 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnEndDragLeft. Expected _wxPyDivisionShape_p.");
11936 return NULL;
11937 }
11938 }
11939 {
11940 PyThreadState* __tstate = wxPyBeginAllowThreads();
11941 wxPyDivisionShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
11942
11943 wxPyEndAllowThreads(__tstate);
11944 if (PyErr_Occurred()) return NULL;
11945 } Py_INCREF(Py_None);
11946 _resultobj = Py_None;
11947 return _resultobj;
11948 }
11949
11950 #define wxPyDivisionShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
11951 static PyObject *_wrap_wxPyDivisionShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
11952 PyObject * _resultobj;
11953 wxPyDivisionShape * _arg0;
11954 bool _arg1;
11955 double _arg2;
11956 double _arg3;
11957 int _arg4 = (int ) 0;
11958 int _arg5 = (int ) 0;
11959 PyObject * _argo0 = 0;
11960 int tempbool1;
11961 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
11962
11963 self = self;
11964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDivisionShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
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_OnDragRight. Expected _wxPyDivisionShape_p.");
11970 return NULL;
11971 }
11972 }
11973 _arg1 = (bool ) tempbool1;
11974 {
11975 PyThreadState* __tstate = wxPyBeginAllowThreads();
11976 wxPyDivisionShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
11977
11978 wxPyEndAllowThreads(__tstate);
11979 if (PyErr_Occurred()) return NULL;
11980 } Py_INCREF(Py_None);
11981 _resultobj = Py_None;
11982 return _resultobj;
11983 }
11984
11985 #define wxPyDivisionShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11986 static PyObject *_wrap_wxPyDivisionShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
11987 PyObject * _resultobj;
11988 wxPyDivisionShape * _arg0;
11989 double _arg1;
11990 double _arg2;
11991 int _arg3 = (int ) 0;
11992 int _arg4 = (int ) 0;
11993 PyObject * _argo0 = 0;
11994 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
11995
11996 self = self;
11997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
11998 return NULL;
11999 if (_argo0) {
12000 if (_argo0 == Py_None) { _arg0 = NULL; }
12001 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
12002 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnBeginDragRight. Expected _wxPyDivisionShape_p.");
12003 return NULL;
12004 }
12005 }
12006 {
12007 PyThreadState* __tstate = wxPyBeginAllowThreads();
12008 wxPyDivisionShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
12009
12010 wxPyEndAllowThreads(__tstate);
12011 if (PyErr_Occurred()) return NULL;
12012 } Py_INCREF(Py_None);
12013 _resultobj = Py_None;
12014 return _resultobj;
12015 }
12016
12017 #define wxPyDivisionShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
12018 static PyObject *_wrap_wxPyDivisionShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
12019 PyObject * _resultobj;
12020 wxPyDivisionShape * _arg0;
12021 double _arg1;
12022 double _arg2;
12023 int _arg3 = (int ) 0;
12024 int _arg4 = (int ) 0;
12025 PyObject * _argo0 = 0;
12026 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
12027
12028 self = self;
12029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
12030 return NULL;
12031 if (_argo0) {
12032 if (_argo0 == Py_None) { _arg0 = NULL; }
12033 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
12034 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnEndDragRight. Expected _wxPyDivisionShape_p.");
12035 return NULL;
12036 }
12037 }
12038 {
12039 PyThreadState* __tstate = wxPyBeginAllowThreads();
12040 wxPyDivisionShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
12041
12042 wxPyEndAllowThreads(__tstate);
12043 if (PyErr_Occurred()) return NULL;
12044 } Py_INCREF(Py_None);
12045 _resultobj = Py_None;
12046 return _resultobj;
12047 }
12048
12049 #define wxPyDivisionShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
12050 static PyObject *_wrap_wxPyDivisionShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
12051 PyObject * _resultobj;
12052 wxPyDivisionShape * _arg0;
12053 wxDC * _arg1;
12054 double _arg2;
12055 double _arg3;
12056 double _arg4;
12057 double _arg5;
12058 PyObject * _argo0 = 0;
12059 PyObject * _argo1 = 0;
12060 char *_kwnames[] = { "self","dc","x","y","w","h", NULL };
12061
12062 self = self;
12063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyDivisionShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
12064 return NULL;
12065 if (_argo0) {
12066 if (_argo0 == Py_None) { _arg0 = NULL; }
12067 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
12068 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDrawOutline. Expected _wxPyDivisionShape_p.");
12069 return NULL;
12070 }
12071 }
12072 if (_argo1) {
12073 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
12074 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnDrawOutline. Expected _wxDC_p.");
12075 return NULL;
12076 }
12077 }
12078 {
12079 PyThreadState* __tstate = wxPyBeginAllowThreads();
12080 wxPyDivisionShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5);
12081
12082 wxPyEndAllowThreads(__tstate);
12083 if (PyErr_Occurred()) return NULL;
12084 } Py_INCREF(Py_None);
12085 _resultobj = Py_None;
12086 return _resultobj;
12087 }
12088
12089 #define wxPyDivisionShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
12090 static PyObject *_wrap_wxPyDivisionShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
12091 PyObject * _resultobj;
12092 wxPyDivisionShape * _arg0;
12093 wxDC * _arg1;
12094 PyObject * _argo0 = 0;
12095 PyObject * _argo1 = 0;
12096 char *_kwnames[] = { "self","dc", NULL };
12097
12098 self = self;
12099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1))
12100 return NULL;
12101 if (_argo0) {
12102 if (_argo0 == Py_None) { _arg0 = NULL; }
12103 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
12104 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDrawControlPoints. Expected _wxPyDivisionShape_p.");
12105 return NULL;
12106 }
12107 }
12108 if (_argo1) {
12109 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
12110 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnDrawControlPoints. Expected _wxDC_p.");
12111 return NULL;
12112 }
12113 }
12114 {
12115 PyThreadState* __tstate = wxPyBeginAllowThreads();
12116 wxPyDivisionShape_base_OnDrawControlPoints(_arg0,*_arg1);
12117
12118 wxPyEndAllowThreads(__tstate);
12119 if (PyErr_Occurred()) return NULL;
12120 } Py_INCREF(Py_None);
12121 _resultobj = Py_None;
12122 return _resultobj;
12123 }
12124
12125 #define wxPyDivisionShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
12126 static PyObject *_wrap_wxPyDivisionShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
12127 PyObject * _resultobj;
12128 wxPyDivisionShape * _arg0;
12129 wxDC * _arg1;
12130 PyObject * _argo0 = 0;
12131 PyObject * _argo1 = 0;
12132 char *_kwnames[] = { "self","dc", NULL };
12133
12134 self = self;
12135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1))
12136 return NULL;
12137 if (_argo0) {
12138 if (_argo0 == Py_None) { _arg0 = NULL; }
12139 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
12140 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnEraseControlPoints. Expected _wxPyDivisionShape_p.");
12141 return NULL;
12142 }
12143 }
12144 if (_argo1) {
12145 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
12146 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnEraseControlPoints. Expected _wxDC_p.");
12147 return NULL;
12148 }
12149 }
12150 {
12151 PyThreadState* __tstate = wxPyBeginAllowThreads();
12152 wxPyDivisionShape_base_OnEraseControlPoints(_arg0,*_arg1);
12153
12154 wxPyEndAllowThreads(__tstate);
12155 if (PyErr_Occurred()) return NULL;
12156 } Py_INCREF(Py_None);
12157 _resultobj = Py_None;
12158 return _resultobj;
12159 }
12160
12161 #define wxPyDivisionShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
12162 static PyObject *_wrap_wxPyDivisionShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
12163 PyObject * _resultobj;
12164 wxPyDivisionShape * _arg0;
12165 wxDC * _arg1;
12166 bool _arg2 = (bool ) TRUE;
12167 PyObject * _argo0 = 0;
12168 PyObject * _argo1 = 0;
12169 int tempbool2 = (int) TRUE;
12170 char *_kwnames[] = { "self","dc","moveControlPoints", NULL };
12171
12172 self = self;
12173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDivisionShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2))
12174 return NULL;
12175 if (_argo0) {
12176 if (_argo0 == Py_None) { _arg0 = NULL; }
12177 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
12178 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnMoveLink. Expected _wxPyDivisionShape_p.");
12179 return NULL;
12180 }
12181 }
12182 if (_argo1) {
12183 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
12184 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnMoveLink. Expected _wxDC_p.");
12185 return NULL;
12186 }
12187 }
12188 _arg2 = (bool ) tempbool2;
12189 {
12190 PyThreadState* __tstate = wxPyBeginAllowThreads();
12191 wxPyDivisionShape_base_OnMoveLink(_arg0,*_arg1,_arg2);
12192
12193 wxPyEndAllowThreads(__tstate);
12194 if (PyErr_Occurred()) return NULL;
12195 } Py_INCREF(Py_None);
12196 _resultobj = Py_None;
12197 return _resultobj;
12198 }
12199
12200 #define wxPyDivisionShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
12201 static PyObject *_wrap_wxPyDivisionShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
12202 PyObject * _resultobj;
12203 wxPyDivisionShape * _arg0;
12204 wxPyControlPoint * _arg1;
12205 bool _arg2;
12206 double _arg3;
12207 double _arg4;
12208 int _arg5 = (int ) 0;
12209 int _arg6 = (int ) 0;
12210 PyObject * _argo0 = 0;
12211 PyObject * _argo1 = 0;
12212 int tempbool2;
12213 char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL };
12214
12215 self = self;
12216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyDivisionShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6))
12217 return NULL;
12218 if (_argo0) {
12219 if (_argo0 == Py_None) { _arg0 = NULL; }
12220 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
12221 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnSizingDragLeft. Expected _wxPyDivisionShape_p.");
12222 return NULL;
12223 }
12224 }
12225 if (_argo1) {
12226 if (_argo1 == Py_None) { _arg1 = NULL; }
12227 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
12228 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
12229 return NULL;
12230 }
12231 }
12232 _arg2 = (bool ) tempbool2;
12233 {
12234 PyThreadState* __tstate = wxPyBeginAllowThreads();
12235 wxPyDivisionShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
12236
12237 wxPyEndAllowThreads(__tstate);
12238 if (PyErr_Occurred()) return NULL;
12239 } Py_INCREF(Py_None);
12240 _resultobj = Py_None;
12241 return _resultobj;
12242 }
12243
12244 #define wxPyDivisionShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
12245 static PyObject *_wrap_wxPyDivisionShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
12246 PyObject * _resultobj;
12247 wxPyDivisionShape * _arg0;
12248 wxPyControlPoint * _arg1;
12249 double _arg2;
12250 double _arg3;
12251 int _arg4 = (int ) 0;
12252 int _arg5 = (int ) 0;
12253 PyObject * _argo0 = 0;
12254 PyObject * _argo1 = 0;
12255 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
12256
12257 self = self;
12258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDivisionShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
12259 return NULL;
12260 if (_argo0) {
12261 if (_argo0 == Py_None) { _arg0 = NULL; }
12262 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
12263 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnSizingBeginDragLeft. Expected _wxPyDivisionShape_p.");
12264 return NULL;
12265 }
12266 }
12267 if (_argo1) {
12268 if (_argo1 == Py_None) { _arg1 = NULL; }
12269 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
12270 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
12271 return NULL;
12272 }
12273 }
12274 {
12275 PyThreadState* __tstate = wxPyBeginAllowThreads();
12276 wxPyDivisionShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
12277
12278 wxPyEndAllowThreads(__tstate);
12279 if (PyErr_Occurred()) return NULL;
12280 } Py_INCREF(Py_None);
12281 _resultobj = Py_None;
12282 return _resultobj;
12283 }
12284
12285 #define wxPyDivisionShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
12286 static PyObject *_wrap_wxPyDivisionShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
12287 PyObject * _resultobj;
12288 wxPyDivisionShape * _arg0;
12289 wxPyControlPoint * _arg1;
12290 double _arg2;
12291 double _arg3;
12292 int _arg4 = (int ) 0;
12293 int _arg5 = (int ) 0;
12294 PyObject * _argo0 = 0;
12295 PyObject * _argo1 = 0;
12296 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
12297
12298 self = self;
12299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDivisionShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
12300 return NULL;
12301 if (_argo0) {
12302 if (_argo0 == Py_None) { _arg0 = NULL; }
12303 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
12304 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnSizingEndDragLeft. Expected _wxPyDivisionShape_p.");
12305 return NULL;
12306 }
12307 }
12308 if (_argo1) {
12309 if (_argo1 == Py_None) { _arg1 = NULL; }
12310 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
12311 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
12312 return NULL;
12313 }
12314 }
12315 {
12316 PyThreadState* __tstate = wxPyBeginAllowThreads();
12317 wxPyDivisionShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
12318
12319 wxPyEndAllowThreads(__tstate);
12320 if (PyErr_Occurred()) return NULL;
12321 } Py_INCREF(Py_None);
12322 _resultobj = Py_None;
12323 return _resultobj;
12324 }
12325
12326 #define wxPyDivisionShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
12327 static PyObject *_wrap_wxPyDivisionShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12328 PyObject * _resultobj;
12329 wxPyDivisionShape * _arg0;
12330 double _arg1;
12331 double _arg2;
12332 PyObject * _argo0 = 0;
12333 char *_kwnames[] = { "self","w","h", NULL };
12334
12335 self = self;
12336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDivisionShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2))
12337 return NULL;
12338 if (_argo0) {
12339 if (_argo0 == Py_None) { _arg0 = NULL; }
12340 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
12341 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnBeginSize. Expected _wxPyDivisionShape_p.");
12342 return NULL;
12343 }
12344 }
12345 {
12346 PyThreadState* __tstate = wxPyBeginAllowThreads();
12347 wxPyDivisionShape_base_OnBeginSize(_arg0,_arg1,_arg2);
12348
12349 wxPyEndAllowThreads(__tstate);
12350 if (PyErr_Occurred()) return NULL;
12351 } Py_INCREF(Py_None);
12352 _resultobj = Py_None;
12353 return _resultobj;
12354 }
12355
12356 #define wxPyDivisionShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
12357 static PyObject *_wrap_wxPyDivisionShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12358 PyObject * _resultobj;
12359 wxPyDivisionShape * _arg0;
12360 double _arg1;
12361 double _arg2;
12362 PyObject * _argo0 = 0;
12363 char *_kwnames[] = { "self","w","h", NULL };
12364
12365 self = self;
12366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDivisionShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2))
12367 return NULL;
12368 if (_argo0) {
12369 if (_argo0 == Py_None) { _arg0 = NULL; }
12370 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
12371 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnEndSize. Expected _wxPyDivisionShape_p.");
12372 return NULL;
12373 }
12374 }
12375 {
12376 PyThreadState* __tstate = wxPyBeginAllowThreads();
12377 wxPyDivisionShape_base_OnEndSize(_arg0,_arg1,_arg2);
12378
12379 wxPyEndAllowThreads(__tstate);
12380 if (PyErr_Occurred()) return NULL;
12381 } Py_INCREF(Py_None);
12382 _resultobj = Py_None;
12383 return _resultobj;
12384 }
12385
12386 static PyMethodDef oglshapescMethods[] = {
12387 { "wxPyDivisionShape_base_OnEndSize", (PyCFunction) _wrap_wxPyDivisionShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
12388 { "wxPyDivisionShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyDivisionShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
12389 { "wxPyDivisionShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12390 { "wxPyDivisionShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12391 { "wxPyDivisionShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
12392 { "wxPyDivisionShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyDivisionShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
12393 { "wxPyDivisionShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyDivisionShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
12394 { "wxPyDivisionShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
12395 { "wxPyDivisionShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
12396 { "wxPyDivisionShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyDivisionShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
12397 { "wxPyDivisionShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyDivisionShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
12398 { "wxPyDivisionShape_base_OnDragRight", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
12399 { "wxPyDivisionShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12400 { "wxPyDivisionShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12401 { "wxPyDivisionShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
12402 { "wxPyDivisionShape_base_OnMovePost", (PyCFunction) _wrap_wxPyDivisionShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
12403 { "wxPyDivisionShape_base_OnMovePre", (PyCFunction) _wrap_wxPyDivisionShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
12404 { "wxPyDivisionShape_base_OnSize", (PyCFunction) _wrap_wxPyDivisionShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
12405 { "wxPyDivisionShape_base_OnRightClick", (PyCFunction) _wrap_wxPyDivisionShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
12406 { "wxPyDivisionShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyDivisionShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
12407 { "wxPyDivisionShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyDivisionShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
12408 { "wxPyDivisionShape_base_OnHighlight", (PyCFunction) _wrap_wxPyDivisionShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
12409 { "wxPyDivisionShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyDivisionShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
12410 { "wxPyDivisionShape_base_OnErase", (PyCFunction) _wrap_wxPyDivisionShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
12411 { "wxPyDivisionShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyDivisionShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
12412 { "wxPyDivisionShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
12413 { "wxPyDivisionShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
12414 { "wxPyDivisionShape_base_OnDraw", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
12415 { "wxPyDivisionShape_base_OnDelete", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
12416 { "wxPyDivisionShape_SetTopSidePen", (PyCFunction) _wrap_wxPyDivisionShape_SetTopSidePen, METH_VARARGS | METH_KEYWORDS },
12417 { "wxPyDivisionShape_SetTopSideColour", (PyCFunction) _wrap_wxPyDivisionShape_SetTopSideColour, METH_VARARGS | METH_KEYWORDS },
12418 { "wxPyDivisionShape_SetTopSide", (PyCFunction) _wrap_wxPyDivisionShape_SetTopSide, METH_VARARGS | METH_KEYWORDS },
12419 { "wxPyDivisionShape_SetRightSide", (PyCFunction) _wrap_wxPyDivisionShape_SetRightSide, METH_VARARGS | METH_KEYWORDS },
12420 { "wxPyDivisionShape_SetLeftSidePen", (PyCFunction) _wrap_wxPyDivisionShape_SetLeftSidePen, METH_VARARGS | METH_KEYWORDS },
12421 { "wxPyDivisionShape_SetLeftSideColour", (PyCFunction) _wrap_wxPyDivisionShape_SetLeftSideColour, METH_VARARGS | METH_KEYWORDS },
12422 { "wxPyDivisionShape_SetLeftSide", (PyCFunction) _wrap_wxPyDivisionShape_SetLeftSide, METH_VARARGS | METH_KEYWORDS },
12423 { "wxPyDivisionShape_SetHandleSide", (PyCFunction) _wrap_wxPyDivisionShape_SetHandleSide, METH_VARARGS | METH_KEYWORDS },
12424 { "wxPyDivisionShape_SetBottomSide", (PyCFunction) _wrap_wxPyDivisionShape_SetBottomSide, METH_VARARGS | METH_KEYWORDS },
12425 { "wxPyDivisionShape_PopupMenu", (PyCFunction) _wrap_wxPyDivisionShape_PopupMenu, METH_VARARGS | METH_KEYWORDS },
12426 { "wxPyDivisionShape_ResizeAdjoining", (PyCFunction) _wrap_wxPyDivisionShape_ResizeAdjoining, METH_VARARGS | METH_KEYWORDS },
12427 { "wxPyDivisionShape_GetTopSidePen", (PyCFunction) _wrap_wxPyDivisionShape_GetTopSidePen, METH_VARARGS | METH_KEYWORDS },
12428 { "wxPyDivisionShape_GetTopSide", (PyCFunction) _wrap_wxPyDivisionShape_GetTopSide, METH_VARARGS | METH_KEYWORDS },
12429 { "wxPyDivisionShape_GetRightSide", (PyCFunction) _wrap_wxPyDivisionShape_GetRightSide, METH_VARARGS | METH_KEYWORDS },
12430 { "wxPyDivisionShape_GetLeftSidePen", (PyCFunction) _wrap_wxPyDivisionShape_GetLeftSidePen, METH_VARARGS | METH_KEYWORDS },
12431 { "wxPyDivisionShape_GetLeftSideColour", (PyCFunction) _wrap_wxPyDivisionShape_GetLeftSideColour, METH_VARARGS | METH_KEYWORDS },
12432 { "wxPyDivisionShape_GetLeftSide", (PyCFunction) _wrap_wxPyDivisionShape_GetLeftSide, METH_VARARGS | METH_KEYWORDS },
12433 { "wxPyDivisionShape_GetHandleSide", (PyCFunction) _wrap_wxPyDivisionShape_GetHandleSide, METH_VARARGS | METH_KEYWORDS },
12434 { "wxPyDivisionShape_GetBottomSide", (PyCFunction) _wrap_wxPyDivisionShape_GetBottomSide, METH_VARARGS | METH_KEYWORDS },
12435 { "wxPyDivisionShape_EditEdge", (PyCFunction) _wrap_wxPyDivisionShape_EditEdge, METH_VARARGS | METH_KEYWORDS },
12436 { "wxPyDivisionShape_Divide", (PyCFunction) _wrap_wxPyDivisionShape_Divide, METH_VARARGS | METH_KEYWORDS },
12437 { "wxPyDivisionShape_AdjustTop", (PyCFunction) _wrap_wxPyDivisionShape_AdjustTop, METH_VARARGS | METH_KEYWORDS },
12438 { "wxPyDivisionShape_AdjustRight", (PyCFunction) _wrap_wxPyDivisionShape_AdjustRight, METH_VARARGS | METH_KEYWORDS },
12439 { "wxPyDivisionShape_AdjustLeft", (PyCFunction) _wrap_wxPyDivisionShape_AdjustLeft, METH_VARARGS | METH_KEYWORDS },
12440 { "wxPyDivisionShape_AdjustBottom", (PyCFunction) _wrap_wxPyDivisionShape_AdjustBottom, METH_VARARGS | METH_KEYWORDS },
12441 { "wxPyDivisionShape__setCallbackInfo", (PyCFunction) _wrap_wxPyDivisionShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
12442 { "new_wxPyDivisionShape", (PyCFunction) _wrap_new_wxPyDivisionShape, METH_VARARGS | METH_KEYWORDS },
12443 { "wxPyDividedShape_base_OnEndSize", (PyCFunction) _wrap_wxPyDividedShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
12444 { "wxPyDividedShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyDividedShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
12445 { "wxPyDividedShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12446 { "wxPyDividedShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12447 { "wxPyDividedShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
12448 { "wxPyDividedShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyDividedShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
12449 { "wxPyDividedShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyDividedShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
12450 { "wxPyDividedShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyDividedShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
12451 { "wxPyDividedShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyDividedShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
12452 { "wxPyDividedShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyDividedShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
12453 { "wxPyDividedShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyDividedShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
12454 { "wxPyDividedShape_base_OnDragRight", (PyCFunction) _wrap_wxPyDividedShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
12455 { "wxPyDividedShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12456 { "wxPyDividedShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12457 { "wxPyDividedShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
12458 { "wxPyDividedShape_base_OnMovePost", (PyCFunction) _wrap_wxPyDividedShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
12459 { "wxPyDividedShape_base_OnMovePre", (PyCFunction) _wrap_wxPyDividedShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
12460 { "wxPyDividedShape_base_OnSize", (PyCFunction) _wrap_wxPyDividedShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
12461 { "wxPyDividedShape_base_OnRightClick", (PyCFunction) _wrap_wxPyDividedShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
12462 { "wxPyDividedShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyDividedShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
12463 { "wxPyDividedShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyDividedShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
12464 { "wxPyDividedShape_base_OnHighlight", (PyCFunction) _wrap_wxPyDividedShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
12465 { "wxPyDividedShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyDividedShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
12466 { "wxPyDividedShape_base_OnErase", (PyCFunction) _wrap_wxPyDividedShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
12467 { "wxPyDividedShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyDividedShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
12468 { "wxPyDividedShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyDividedShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
12469 { "wxPyDividedShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyDividedShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
12470 { "wxPyDividedShape_base_OnDraw", (PyCFunction) _wrap_wxPyDividedShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
12471 { "wxPyDividedShape_base_OnDelete", (PyCFunction) _wrap_wxPyDividedShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
12472 { "wxPyDividedShape_SetRegionSizes", (PyCFunction) _wrap_wxPyDividedShape_SetRegionSizes, METH_VARARGS | METH_KEYWORDS },
12473 { "wxPyDividedShape_EditRegions", (PyCFunction) _wrap_wxPyDividedShape_EditRegions, METH_VARARGS | METH_KEYWORDS },
12474 { "wxPyDividedShape__setCallbackInfo", (PyCFunction) _wrap_wxPyDividedShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
12475 { "new_wxPyDividedShape", (PyCFunction) _wrap_new_wxPyDividedShape, METH_VARARGS | METH_KEYWORDS },
12476 { "wxPyCompositeShape_base_OnEndSize", (PyCFunction) _wrap_wxPyCompositeShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
12477 { "wxPyCompositeShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyCompositeShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
12478 { "wxPyCompositeShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12479 { "wxPyCompositeShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12480 { "wxPyCompositeShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
12481 { "wxPyCompositeShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyCompositeShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
12482 { "wxPyCompositeShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyCompositeShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
12483 { "wxPyCompositeShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
12484 { "wxPyCompositeShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
12485 { "wxPyCompositeShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyCompositeShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
12486 { "wxPyCompositeShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyCompositeShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
12487 { "wxPyCompositeShape_base_OnDragRight", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
12488 { "wxPyCompositeShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12489 { "wxPyCompositeShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12490 { "wxPyCompositeShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
12491 { "wxPyCompositeShape_base_OnMovePost", (PyCFunction) _wrap_wxPyCompositeShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
12492 { "wxPyCompositeShape_base_OnMovePre", (PyCFunction) _wrap_wxPyCompositeShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
12493 { "wxPyCompositeShape_base_OnSize", (PyCFunction) _wrap_wxPyCompositeShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
12494 { "wxPyCompositeShape_base_OnRightClick", (PyCFunction) _wrap_wxPyCompositeShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
12495 { "wxPyCompositeShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyCompositeShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
12496 { "wxPyCompositeShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyCompositeShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
12497 { "wxPyCompositeShape_base_OnHighlight", (PyCFunction) _wrap_wxPyCompositeShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
12498 { "wxPyCompositeShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyCompositeShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
12499 { "wxPyCompositeShape_base_OnErase", (PyCFunction) _wrap_wxPyCompositeShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
12500 { "wxPyCompositeShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyCompositeShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
12501 { "wxPyCompositeShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
12502 { "wxPyCompositeShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
12503 { "wxPyCompositeShape_base_OnDraw", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
12504 { "wxPyCompositeShape_base_OnDelete", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
12505 { "wxPyCompositeShape_RemoveChild", (PyCFunction) _wrap_wxPyCompositeShape_RemoveChild, METH_VARARGS | METH_KEYWORDS },
12506 { "wxPyCompositeShape_Recompute", (PyCFunction) _wrap_wxPyCompositeShape_Recompute, METH_VARARGS | METH_KEYWORDS },
12507 { "wxPyCompositeShape_MakeContainer", (PyCFunction) _wrap_wxPyCompositeShape_MakeContainer, METH_VARARGS | METH_KEYWORDS },
12508 { "wxPyCompositeShape_GetDivisions", (PyCFunction) _wrap_wxPyCompositeShape_GetDivisions, METH_VARARGS | METH_KEYWORDS },
12509 { "wxPyCompositeShape_GetConstraints", (PyCFunction) _wrap_wxPyCompositeShape_GetConstraints, METH_VARARGS | METH_KEYWORDS },
12510 { "wxPyCompositeShape_FindContainerImage", (PyCFunction) _wrap_wxPyCompositeShape_FindContainerImage, METH_VARARGS | METH_KEYWORDS },
12511 { "wxPyCompositeShape_DeleteConstraintsInvolvingChild", (PyCFunction) _wrap_wxPyCompositeShape_DeleteConstraintsInvolvingChild, METH_VARARGS | METH_KEYWORDS },
12512 { "wxPyCompositeShape_DeleteConstraint", (PyCFunction) _wrap_wxPyCompositeShape_DeleteConstraint, METH_VARARGS | METH_KEYWORDS },
12513 { "wxPyCompositeShape_ContainsDivision", (PyCFunction) _wrap_wxPyCompositeShape_ContainsDivision, METH_VARARGS | METH_KEYWORDS },
12514 { "wxPyCompositeShape_CalculateSize", (PyCFunction) _wrap_wxPyCompositeShape_CalculateSize, METH_VARARGS | METH_KEYWORDS },
12515 { "wxPyCompositeShape_AddSimpleConstraint", (PyCFunction) _wrap_wxPyCompositeShape_AddSimpleConstraint, METH_VARARGS | METH_KEYWORDS },
12516 { "wxPyCompositeShape_AddConstrainedShapes", (PyCFunction) _wrap_wxPyCompositeShape_AddConstrainedShapes, METH_VARARGS | METH_KEYWORDS },
12517 { "wxPyCompositeShape_AddConstraint", (PyCFunction) _wrap_wxPyCompositeShape_AddConstraint, METH_VARARGS | METH_KEYWORDS },
12518 { "wxPyCompositeShape_AddChild", (PyCFunction) _wrap_wxPyCompositeShape_AddChild, METH_VARARGS | METH_KEYWORDS },
12519 { "wxPyCompositeShape__setCallbackInfo", (PyCFunction) _wrap_wxPyCompositeShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
12520 { "new_wxPyCompositeShape", (PyCFunction) _wrap_new_wxPyCompositeShape, METH_VARARGS | METH_KEYWORDS },
12521 { "wxOGLConstraint_Equals", (PyCFunction) _wrap_wxOGLConstraint_Equals, METH_VARARGS | METH_KEYWORDS },
12522 { "wxOGLConstraint_SetSpacing", (PyCFunction) _wrap_wxOGLConstraint_SetSpacing, METH_VARARGS | METH_KEYWORDS },
12523 { "wxOGLConstraint_Evaluate", (PyCFunction) _wrap_wxOGLConstraint_Evaluate, METH_VARARGS | METH_KEYWORDS },
12524 { "new_wxOGLConstraint", (PyCFunction) _wrap_new_wxOGLConstraint, METH_VARARGS | METH_KEYWORDS },
12525 { "wxPyDrawnShape_base_OnEndSize", (PyCFunction) _wrap_wxPyDrawnShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
12526 { "wxPyDrawnShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyDrawnShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
12527 { "wxPyDrawnShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12528 { "wxPyDrawnShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12529 { "wxPyDrawnShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
12530 { "wxPyDrawnShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyDrawnShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
12531 { "wxPyDrawnShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyDrawnShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
12532 { "wxPyDrawnShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
12533 { "wxPyDrawnShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
12534 { "wxPyDrawnShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyDrawnShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
12535 { "wxPyDrawnShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyDrawnShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
12536 { "wxPyDrawnShape_base_OnDragRight", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
12537 { "wxPyDrawnShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12538 { "wxPyDrawnShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12539 { "wxPyDrawnShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
12540 { "wxPyDrawnShape_base_OnMovePost", (PyCFunction) _wrap_wxPyDrawnShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
12541 { "wxPyDrawnShape_base_OnMovePre", (PyCFunction) _wrap_wxPyDrawnShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
12542 { "wxPyDrawnShape_base_OnSize", (PyCFunction) _wrap_wxPyDrawnShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
12543 { "wxPyDrawnShape_base_OnRightClick", (PyCFunction) _wrap_wxPyDrawnShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
12544 { "wxPyDrawnShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyDrawnShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
12545 { "wxPyDrawnShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyDrawnShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
12546 { "wxPyDrawnShape_base_OnHighlight", (PyCFunction) _wrap_wxPyDrawnShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
12547 { "wxPyDrawnShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyDrawnShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
12548 { "wxPyDrawnShape_base_OnErase", (PyCFunction) _wrap_wxPyDrawnShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
12549 { "wxPyDrawnShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyDrawnShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
12550 { "wxPyDrawnShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
12551 { "wxPyDrawnShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
12552 { "wxPyDrawnShape_base_OnDraw", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
12553 { "wxPyDrawnShape_base_OnDelete", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
12554 { "wxPyDrawnShape_Translate", (PyCFunction) _wrap_wxPyDrawnShape_Translate, METH_VARARGS | METH_KEYWORDS },
12555 { "wxPyDrawnShape_SetSaveToFile", (PyCFunction) _wrap_wxPyDrawnShape_SetSaveToFile, METH_VARARGS | METH_KEYWORDS },
12556 { "wxPyDrawnShape_Scale", (PyCFunction) _wrap_wxPyDrawnShape_Scale, METH_VARARGS | METH_KEYWORDS },
12557 { "wxPyDrawnShape_SetDrawnTextColour", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnTextColour, METH_VARARGS | METH_KEYWORDS },
12558 { "wxPyDrawnShape_SetDrawnPen", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnPen, METH_VARARGS | METH_KEYWORDS },
12559 { "wxPyDrawnShape_SetDrawnFont", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnFont, METH_VARARGS | METH_KEYWORDS },
12560 { "wxPyDrawnShape_SetDrawnBrush", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnBrush, METH_VARARGS | METH_KEYWORDS },
12561 { "wxPyDrawnShape_SetDrawnBackgroundMode", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnBackgroundMode, METH_VARARGS | METH_KEYWORDS },
12562 { "wxPyDrawnShape_SetDrawnBackgroundColour", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12563 { "wxPyDrawnShape_SetClippingRect", (PyCFunction) _wrap_wxPyDrawnShape_SetClippingRect, METH_VARARGS | METH_KEYWORDS },
12564 { "wxPyDrawnShape_Rotate", (PyCFunction) _wrap_wxPyDrawnShape_Rotate, METH_VARARGS | METH_KEYWORDS },
12565 { "wxPyDrawnShape_LoadFromMetaFile", (PyCFunction) _wrap_wxPyDrawnShape_LoadFromMetaFile, METH_VARARGS | METH_KEYWORDS },
12566 { "wxPyDrawnShape_GetRotation", (PyCFunction) _wrap_wxPyDrawnShape_GetRotation, METH_VARARGS | METH_KEYWORDS },
12567 { "wxPyDrawnShape_GetMetaFile", (PyCFunction) _wrap_wxPyDrawnShape_GetMetaFile, METH_VARARGS | METH_KEYWORDS },
12568 { "wxPyDrawnShape_GetAngle", (PyCFunction) _wrap_wxPyDrawnShape_GetAngle, METH_VARARGS | METH_KEYWORDS },
12569 { "wxPyDrawnShape_DrawText", (PyCFunction) _wrap_wxPyDrawnShape_DrawText, METH_VARARGS | METH_KEYWORDS },
12570 { "wxPyDrawnShape_DrawSpline", (PyCFunction) _wrap_wxPyDrawnShape_DrawSpline, METH_VARARGS | METH_KEYWORDS },
12571 { "wxPyDrawnShape_DrawRoundedRectangle", (PyCFunction) _wrap_wxPyDrawnShape_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS },
12572 { "wxPyDrawnShape_DrawRectangle", (PyCFunction) _wrap_wxPyDrawnShape_DrawRectangle, METH_VARARGS | METH_KEYWORDS },
12573 { "wxPyDrawnShape_DrawPolygon", (PyCFunction) _wrap_wxPyDrawnShape_DrawPolygon, METH_VARARGS | METH_KEYWORDS },
12574 { "wxPyDrawnShape_DrawPoint", (PyCFunction) _wrap_wxPyDrawnShape_DrawPoint, METH_VARARGS | METH_KEYWORDS },
12575 { "wxPyDrawnShape_DrawLines", (PyCFunction) _wrap_wxPyDrawnShape_DrawLines, METH_VARARGS | METH_KEYWORDS },
12576 { "wxPyDrawnShape_DrawLine", (PyCFunction) _wrap_wxPyDrawnShape_DrawLine, METH_VARARGS | METH_KEYWORDS },
12577 { "wxPyDrawnShape_DrawEllipticArc", (PyCFunction) _wrap_wxPyDrawnShape_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS },
12578 { "wxPyDrawnShape_DrawAtAngle", (PyCFunction) _wrap_wxPyDrawnShape_DrawAtAngle, METH_VARARGS | METH_KEYWORDS },
12579 { "wxPyDrawnShape_DrawArc", (PyCFunction) _wrap_wxPyDrawnShape_DrawArc, METH_VARARGS | METH_KEYWORDS },
12580 { "wxPyDrawnShape_DestroyClippingRect", (PyCFunction) _wrap_wxPyDrawnShape_DestroyClippingRect, METH_VARARGS | METH_KEYWORDS },
12581 { "wxPyDrawnShape_CalculateSize", (PyCFunction) _wrap_wxPyDrawnShape_CalculateSize, METH_VARARGS | METH_KEYWORDS },
12582 { "wxPyDrawnShape__setCallbackInfo", (PyCFunction) _wrap_wxPyDrawnShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
12583 { "new_wxPyDrawnShape", (PyCFunction) _wrap_new_wxPyDrawnShape, METH_VARARGS | METH_KEYWORDS },
12584 { "wxPyBitmapShape_base_OnEndSize", (PyCFunction) _wrap_wxPyBitmapShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
12585 { "wxPyBitmapShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyBitmapShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
12586 { "wxPyBitmapShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12587 { "wxPyBitmapShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12588 { "wxPyBitmapShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
12589 { "wxPyBitmapShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyBitmapShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
12590 { "wxPyBitmapShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyBitmapShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
12591 { "wxPyBitmapShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
12592 { "wxPyBitmapShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
12593 { "wxPyBitmapShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyBitmapShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
12594 { "wxPyBitmapShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyBitmapShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
12595 { "wxPyBitmapShape_base_OnDragRight", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
12596 { "wxPyBitmapShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12597 { "wxPyBitmapShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12598 { "wxPyBitmapShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
12599 { "wxPyBitmapShape_base_OnMovePost", (PyCFunction) _wrap_wxPyBitmapShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
12600 { "wxPyBitmapShape_base_OnMovePre", (PyCFunction) _wrap_wxPyBitmapShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
12601 { "wxPyBitmapShape_base_OnSize", (PyCFunction) _wrap_wxPyBitmapShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
12602 { "wxPyBitmapShape_base_OnRightClick", (PyCFunction) _wrap_wxPyBitmapShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
12603 { "wxPyBitmapShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyBitmapShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
12604 { "wxPyBitmapShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyBitmapShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
12605 { "wxPyBitmapShape_base_OnHighlight", (PyCFunction) _wrap_wxPyBitmapShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
12606 { "wxPyBitmapShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyBitmapShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
12607 { "wxPyBitmapShape_base_OnErase", (PyCFunction) _wrap_wxPyBitmapShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
12608 { "wxPyBitmapShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyBitmapShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
12609 { "wxPyBitmapShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
12610 { "wxPyBitmapShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
12611 { "wxPyBitmapShape_base_OnDraw", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
12612 { "wxPyBitmapShape_base_OnDelete", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
12613 { "wxPyBitmapShape_SetFilename", (PyCFunction) _wrap_wxPyBitmapShape_SetFilename, METH_VARARGS | METH_KEYWORDS },
12614 { "wxPyBitmapShape_SetBitmap", (PyCFunction) _wrap_wxPyBitmapShape_SetBitmap, METH_VARARGS | METH_KEYWORDS },
12615 { "wxPyBitmapShape_GetFilename", (PyCFunction) _wrap_wxPyBitmapShape_GetFilename, METH_VARARGS | METH_KEYWORDS },
12616 { "wxPyBitmapShape_GetBitmap", (PyCFunction) _wrap_wxPyBitmapShape_GetBitmap, METH_VARARGS | METH_KEYWORDS },
12617 { "wxPyBitmapShape__setCallbackInfo", (PyCFunction) _wrap_wxPyBitmapShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
12618 { "new_wxPyBitmapShape", (PyCFunction) _wrap_new_wxPyBitmapShape, METH_VARARGS | METH_KEYWORDS },
12619 { "wxPyControlPoint_base_OnEndSize", (PyCFunction) _wrap_wxPyControlPoint_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
12620 { "wxPyControlPoint_base_OnBeginSize", (PyCFunction) _wrap_wxPyControlPoint_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
12621 { "wxPyControlPoint_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyControlPoint_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12622 { "wxPyControlPoint_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyControlPoint_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12623 { "wxPyControlPoint_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyControlPoint_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
12624 { "wxPyControlPoint_base_OnMoveLink", (PyCFunction) _wrap_wxPyControlPoint_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
12625 { "wxPyControlPoint_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyControlPoint_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
12626 { "wxPyControlPoint_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyControlPoint_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
12627 { "wxPyControlPoint_base_OnDrawOutline", (PyCFunction) _wrap_wxPyControlPoint_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
12628 { "wxPyControlPoint_base_OnEndDragRight", (PyCFunction) _wrap_wxPyControlPoint_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
12629 { "wxPyControlPoint_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyControlPoint_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
12630 { "wxPyControlPoint_base_OnDragRight", (PyCFunction) _wrap_wxPyControlPoint_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
12631 { "wxPyControlPoint_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyControlPoint_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12632 { "wxPyControlPoint_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyControlPoint_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12633 { "wxPyControlPoint_base_OnDragLeft", (PyCFunction) _wrap_wxPyControlPoint_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
12634 { "wxPyControlPoint_base_OnMovePost", (PyCFunction) _wrap_wxPyControlPoint_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
12635 { "wxPyControlPoint_base_OnMovePre", (PyCFunction) _wrap_wxPyControlPoint_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
12636 { "wxPyControlPoint_base_OnSize", (PyCFunction) _wrap_wxPyControlPoint_base_OnSize, METH_VARARGS | METH_KEYWORDS },
12637 { "wxPyControlPoint_base_OnRightClick", (PyCFunction) _wrap_wxPyControlPoint_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
12638 { "wxPyControlPoint_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyControlPoint_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
12639 { "wxPyControlPoint_base_OnLeftClick", (PyCFunction) _wrap_wxPyControlPoint_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
12640 { "wxPyControlPoint_base_OnHighlight", (PyCFunction) _wrap_wxPyControlPoint_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
12641 { "wxPyControlPoint_base_OnEraseContents", (PyCFunction) _wrap_wxPyControlPoint_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
12642 { "wxPyControlPoint_base_OnErase", (PyCFunction) _wrap_wxPyControlPoint_base_OnErase, METH_VARARGS | METH_KEYWORDS },
12643 { "wxPyControlPoint_base_OnMoveLinks", (PyCFunction) _wrap_wxPyControlPoint_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
12644 { "wxPyControlPoint_base_OnDrawBranches", (PyCFunction) _wrap_wxPyControlPoint_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
12645 { "wxPyControlPoint_base_OnDrawContents", (PyCFunction) _wrap_wxPyControlPoint_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
12646 { "wxPyControlPoint_base_OnDraw", (PyCFunction) _wrap_wxPyControlPoint_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
12647 { "wxPyControlPoint_base_OnDelete", (PyCFunction) _wrap_wxPyControlPoint_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
12648 { "wxPyControlPoint_SetCornerRadius", (PyCFunction) _wrap_wxPyControlPoint_SetCornerRadius, METH_VARARGS | METH_KEYWORDS },
12649 { "wxPyControlPoint__setCallbackInfo", (PyCFunction) _wrap_wxPyControlPoint__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
12650 { "new_wxPyControlPoint", (PyCFunction) _wrap_new_wxPyControlPoint, METH_VARARGS | METH_KEYWORDS },
12651 { "wxPyRectangleShape_base_OnEndSize", (PyCFunction) _wrap_wxPyRectangleShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
12652 { "wxPyRectangleShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyRectangleShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
12653 { "wxPyRectangleShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12654 { "wxPyRectangleShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12655 { "wxPyRectangleShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
12656 { "wxPyRectangleShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyRectangleShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
12657 { "wxPyRectangleShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyRectangleShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
12658 { "wxPyRectangleShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
12659 { "wxPyRectangleShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
12660 { "wxPyRectangleShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyRectangleShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
12661 { "wxPyRectangleShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyRectangleShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
12662 { "wxPyRectangleShape_base_OnDragRight", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
12663 { "wxPyRectangleShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12664 { "wxPyRectangleShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12665 { "wxPyRectangleShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
12666 { "wxPyRectangleShape_base_OnMovePost", (PyCFunction) _wrap_wxPyRectangleShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
12667 { "wxPyRectangleShape_base_OnMovePre", (PyCFunction) _wrap_wxPyRectangleShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
12668 { "wxPyRectangleShape_base_OnSize", (PyCFunction) _wrap_wxPyRectangleShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
12669 { "wxPyRectangleShape_base_OnRightClick", (PyCFunction) _wrap_wxPyRectangleShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
12670 { "wxPyRectangleShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyRectangleShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
12671 { "wxPyRectangleShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyRectangleShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
12672 { "wxPyRectangleShape_base_OnHighlight", (PyCFunction) _wrap_wxPyRectangleShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
12673 { "wxPyRectangleShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyRectangleShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
12674 { "wxPyRectangleShape_base_OnErase", (PyCFunction) _wrap_wxPyRectangleShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
12675 { "wxPyRectangleShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyRectangleShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
12676 { "wxPyRectangleShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
12677 { "wxPyRectangleShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
12678 { "wxPyRectangleShape_base_OnDraw", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
12679 { "wxPyRectangleShape_base_OnDelete", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
12680 { "wxPyRectangleShape_SetCornerRadius", (PyCFunction) _wrap_wxPyRectangleShape_SetCornerRadius, METH_VARARGS | METH_KEYWORDS },
12681 { "wxPyRectangleShape__setCallbackInfo", (PyCFunction) _wrap_wxPyRectangleShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
12682 { "new_wxPyRectangleShape", (PyCFunction) _wrap_new_wxPyRectangleShape, METH_VARARGS | METH_KEYWORDS },
12683 { "wxPseudoMetaFile_SetBackgroundMode", (PyCFunction) _wrap_wxPseudoMetaFile_SetBackgroundMode, METH_VARARGS | METH_KEYWORDS },
12684 { "wxPseudoMetaFile_SetBackgroundColour", (PyCFunction) _wrap_wxPseudoMetaFile_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12685 { "wxPseudoMetaFile_SetTextColour", (PyCFunction) _wrap_wxPseudoMetaFile_SetTextColour, METH_VARARGS | METH_KEYWORDS },
12686 { "wxPseudoMetaFile_SetFont", (PyCFunction) _wrap_wxPseudoMetaFile_SetFont, METH_VARARGS | METH_KEYWORDS },
12687 { "wxPseudoMetaFile_SetBrush", (PyCFunction) _wrap_wxPseudoMetaFile_SetBrush, METH_VARARGS | METH_KEYWORDS },
12688 { "wxPseudoMetaFile_SetPen", (PyCFunction) _wrap_wxPseudoMetaFile_SetPen, METH_VARARGS | METH_KEYWORDS },
12689 { "wxPseudoMetaFile_DestroyClippingRect", (PyCFunction) _wrap_wxPseudoMetaFile_DestroyClippingRect, METH_VARARGS | METH_KEYWORDS },
12690 { "wxPseudoMetaFile_SetClippingRect", (PyCFunction) _wrap_wxPseudoMetaFile_SetClippingRect, METH_VARARGS | METH_KEYWORDS },
12691 { "wxPseudoMetaFile_DrawSpline", (PyCFunction) _wrap_wxPseudoMetaFile_DrawSpline, METH_VARARGS | METH_KEYWORDS },
12692 { "wxPseudoMetaFile_DrawPolygon", (PyCFunction) _wrap_wxPseudoMetaFile_DrawPolygon, METH_VARARGS | METH_KEYWORDS },
12693 { "wxPseudoMetaFile_DrawLines", (PyCFunction) _wrap_wxPseudoMetaFile_DrawLines, METH_VARARGS | METH_KEYWORDS },
12694 { "wxPseudoMetaFile_DrawText", (PyCFunction) _wrap_wxPseudoMetaFile_DrawText, METH_VARARGS | METH_KEYWORDS },
12695 { "wxPseudoMetaFile_DrawPoint", (PyCFunction) _wrap_wxPseudoMetaFile_DrawPoint, METH_VARARGS | METH_KEYWORDS },
12696 { "wxPseudoMetaFile_DrawEllipse", (PyCFunction) _wrap_wxPseudoMetaFile_DrawEllipse, METH_VARARGS | METH_KEYWORDS },
12697 { "wxPseudoMetaFile_DrawEllipticArc", (PyCFunction) _wrap_wxPseudoMetaFile_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS },
12698 { "wxPseudoMetaFile_DrawArc", (PyCFunction) _wrap_wxPseudoMetaFile_DrawArc, METH_VARARGS | METH_KEYWORDS },
12699 { "wxPseudoMetaFile_DrawRoundedRectangle", (PyCFunction) _wrap_wxPseudoMetaFile_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS },
12700 { "wxPseudoMetaFile_DrawRectangle", (PyCFunction) _wrap_wxPseudoMetaFile_DrawRectangle, METH_VARARGS | METH_KEYWORDS },
12701 { "wxPseudoMetaFile_DrawLine", (PyCFunction) _wrap_wxPseudoMetaFile_DrawLine, METH_VARARGS | METH_KEYWORDS },
12702 { "wxPseudoMetaFile_IsValid", (PyCFunction) _wrap_wxPseudoMetaFile_IsValid, METH_VARARGS | METH_KEYWORDS },
12703 { "wxPseudoMetaFile_GetOutlineOp", (PyCFunction) _wrap_wxPseudoMetaFile_GetOutlineOp, METH_VARARGS | METH_KEYWORDS },
12704 { "wxPseudoMetaFile_SetOutlineOp", (PyCFunction) _wrap_wxPseudoMetaFile_SetOutlineOp, METH_VARARGS | METH_KEYWORDS },
12705 { "wxPseudoMetaFile_GetOutlinePen", (PyCFunction) _wrap_wxPseudoMetaFile_GetOutlinePen, METH_VARARGS | METH_KEYWORDS },
12706 { "wxPseudoMetaFile_SetOutlinePen", (PyCFunction) _wrap_wxPseudoMetaFile_SetOutlinePen, METH_VARARGS | METH_KEYWORDS },
12707 { "wxPseudoMetaFile_GetFillBrush", (PyCFunction) _wrap_wxPseudoMetaFile_GetFillBrush, METH_VARARGS | METH_KEYWORDS },
12708 { "wxPseudoMetaFile_SetFillBrush", (PyCFunction) _wrap_wxPseudoMetaFile_SetFillBrush, METH_VARARGS | METH_KEYWORDS },
12709 { "wxPseudoMetaFile_SetSize", (PyCFunction) _wrap_wxPseudoMetaFile_SetSize, METH_VARARGS | METH_KEYWORDS },
12710 { "wxPseudoMetaFile_GetRotateable", (PyCFunction) _wrap_wxPseudoMetaFile_GetRotateable, METH_VARARGS | METH_KEYWORDS },
12711 { "wxPseudoMetaFile_SetRotateable", (PyCFunction) _wrap_wxPseudoMetaFile_SetRotateable, METH_VARARGS | METH_KEYWORDS },
12712 { "wxPseudoMetaFile_CalculateSize", (PyCFunction) _wrap_wxPseudoMetaFile_CalculateSize, METH_VARARGS | METH_KEYWORDS },
12713 { "wxPseudoMetaFile_GetBounds", (PyCFunction) _wrap_wxPseudoMetaFile_GetBounds, METH_VARARGS | METH_KEYWORDS },
12714 { "wxPseudoMetaFile_LoadFromMetaFile", (PyCFunction) _wrap_wxPseudoMetaFile_LoadFromMetaFile, METH_VARARGS | METH_KEYWORDS },
12715 { "wxPseudoMetaFile_Rotate", (PyCFunction) _wrap_wxPseudoMetaFile_Rotate, METH_VARARGS | METH_KEYWORDS },
12716 { "wxPseudoMetaFile_Translate", (PyCFunction) _wrap_wxPseudoMetaFile_Translate, METH_VARARGS | METH_KEYWORDS },
12717 { "wxPseudoMetaFile_ScaleTo", (PyCFunction) _wrap_wxPseudoMetaFile_ScaleTo, METH_VARARGS | METH_KEYWORDS },
12718 { "wxPseudoMetaFile_Scale", (PyCFunction) _wrap_wxPseudoMetaFile_Scale, METH_VARARGS | METH_KEYWORDS },
12719 { "wxPseudoMetaFile_Copy", (PyCFunction) _wrap_wxPseudoMetaFile_Copy, METH_VARARGS | METH_KEYWORDS },
12720 { "wxPseudoMetaFile_Clear", (PyCFunction) _wrap_wxPseudoMetaFile_Clear, METH_VARARGS | METH_KEYWORDS },
12721 { "wxPseudoMetaFile_Draw", (PyCFunction) _wrap_wxPseudoMetaFile_Draw, METH_VARARGS | METH_KEYWORDS },
12722 { "delete_wxPseudoMetaFile", (PyCFunction) _wrap_delete_wxPseudoMetaFile, METH_VARARGS | METH_KEYWORDS },
12723 { "new_wxPseudoMetaFile", (PyCFunction) _wrap_new_wxPseudoMetaFile, METH_VARARGS | METH_KEYWORDS },
12724 { NULL, NULL }
12725 };
12726 #ifdef __cplusplus
12727 }
12728 #endif
12729 /*
12730 * This table is used by the pointer type-checker
12731 */
12732 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
12733 { "_signed_long","_long",0},
12734 { "_wxPrintQuality","_wxCoord",0},
12735 { "_wxPrintQuality","_int",0},
12736 { "_wxPrintQuality","_signed_int",0},
12737 { "_wxPrintQuality","_unsigned_int",0},
12738 { "_wxPrintQuality","_wxWindowID",0},
12739 { "_wxPrintQuality","_uint",0},
12740 { "_wxPrintQuality","_EBool",0},
12741 { "_wxPrintQuality","_size_t",0},
12742 { "_wxPrintQuality","_time_t",0},
12743 { "_wxPyCompositeShape","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyCompositeShape},
12744 { "_byte","_unsigned_char",0},
12745 { "_long","_unsigned_long",0},
12746 { "_long","_signed_long",0},
12747 { "_size_t","_wxCoord",0},
12748 { "_size_t","_wxPrintQuality",0},
12749 { "_size_t","_time_t",0},
12750 { "_size_t","_unsigned_int",0},
12751 { "_size_t","_int",0},
12752 { "_size_t","_wxWindowID",0},
12753 { "_size_t","_uint",0},
12754 { "_uint","_wxCoord",0},
12755 { "_uint","_wxPrintQuality",0},
12756 { "_uint","_time_t",0},
12757 { "_uint","_size_t",0},
12758 { "_uint","_unsigned_int",0},
12759 { "_uint","_int",0},
12760 { "_uint","_wxWindowID",0},
12761 { "_wxChar","_char",0},
12762 { "_char","_wxChar",0},
12763 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
12764 { "_EBool","_wxCoord",0},
12765 { "_EBool","_wxPrintQuality",0},
12766 { "_EBool","_signed_int",0},
12767 { "_EBool","_int",0},
12768 { "_EBool","_wxWindowID",0},
12769 { "_unsigned_long","_long",0},
12770 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
12771 { "_signed_int","_wxCoord",0},
12772 { "_signed_int","_wxPrintQuality",0},
12773 { "_signed_int","_EBool",0},
12774 { "_signed_int","_wxWindowID",0},
12775 { "_signed_int","_int",0},
12776 { "_WXTYPE","_wxDateTime_t",0},
12777 { "_WXTYPE","_short",0},
12778 { "_WXTYPE","_signed_short",0},
12779 { "_WXTYPE","_unsigned_short",0},
12780 { "_unsigned_short","_wxDateTime_t",0},
12781 { "_unsigned_short","_WXTYPE",0},
12782 { "_unsigned_short","_short",0},
12783 { "_wxObject","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxObject},
12784 { "_wxObject","_wxPyDividedShape",SwigwxPyDividedShapeTowxObject},
12785 { "_wxObject","_wxPyCompositeShape",SwigwxPyCompositeShapeTowxObject},
12786 { "_wxObject","_wxOGLConstraint",SwigwxOGLConstraintTowxObject},
12787 { "_wxObject","_wxPyDrawnShape",SwigwxPyDrawnShapeTowxObject},
12788 { "_wxObject","_wxPyBitmapShape",SwigwxPyBitmapShapeTowxObject},
12789 { "_wxObject","_wxPyControlPoint",SwigwxPyControlPointTowxObject},
12790 { "_wxObject","_wxPyRectangleShape",SwigwxPyRectangleShapeTowxObject},
12791 { "_wxObject","_wxPseudoMetaFile",SwigwxPseudoMetaFileTowxObject},
12792 { "_signed_short","_WXTYPE",0},
12793 { "_signed_short","_short",0},
12794 { "_wxPyShape","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyShape},
12795 { "_wxPyShape","_wxPyDividedShape",SwigwxPyDividedShapeTowxPyShape},
12796 { "_wxPyShape","_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyShape},
12797 { "_wxPyShape","_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyShape},
12798 { "_wxPyShape","_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyShape},
12799 { "_wxPyShape","_wxPyControlPoint",SwigwxPyControlPointTowxPyShape},
12800 { "_wxPyShape","_wxPyRectangleShape",SwigwxPyRectangleShapeTowxPyShape},
12801 { "_unsigned_char","_byte",0},
12802 { "_unsigned_int","_wxCoord",0},
12803 { "_unsigned_int","_wxPrintQuality",0},
12804 { "_unsigned_int","_time_t",0},
12805 { "_unsigned_int","_size_t",0},
12806 { "_unsigned_int","_uint",0},
12807 { "_unsigned_int","_wxWindowID",0},
12808 { "_unsigned_int","_int",0},
12809 { "_short","_wxDateTime_t",0},
12810 { "_short","_WXTYPE",0},
12811 { "_short","_unsigned_short",0},
12812 { "_short","_signed_short",0},
12813 { "_wxWindowID","_wxCoord",0},
12814 { "_wxWindowID","_wxPrintQuality",0},
12815 { "_wxWindowID","_time_t",0},
12816 { "_wxWindowID","_size_t",0},
12817 { "_wxWindowID","_EBool",0},
12818 { "_wxWindowID","_uint",0},
12819 { "_wxWindowID","_int",0},
12820 { "_wxWindowID","_signed_int",0},
12821 { "_wxWindowID","_unsigned_int",0},
12822 { "_int","_wxCoord",0},
12823 { "_int","_wxPrintQuality",0},
12824 { "_int","_time_t",0},
12825 { "_int","_size_t",0},
12826 { "_int","_EBool",0},
12827 { "_int","_uint",0},
12828 { "_int","_wxWindowID",0},
12829 { "_int","_unsigned_int",0},
12830 { "_int","_signed_int",0},
12831 { "_wxDateTime_t","_unsigned_short",0},
12832 { "_wxDateTime_t","_short",0},
12833 { "_wxDateTime_t","_WXTYPE",0},
12834 { "_time_t","_wxCoord",0},
12835 { "_time_t","_wxPrintQuality",0},
12836 { "_time_t","_unsigned_int",0},
12837 { "_time_t","_int",0},
12838 { "_time_t","_wxWindowID",0},
12839 { "_time_t","_uint",0},
12840 { "_time_t","_size_t",0},
12841 { "_wxCoord","_int",0},
12842 { "_wxCoord","_signed_int",0},
12843 { "_wxCoord","_unsigned_int",0},
12844 { "_wxCoord","_wxWindowID",0},
12845 { "_wxCoord","_uint",0},
12846 { "_wxCoord","_EBool",0},
12847 { "_wxCoord","_size_t",0},
12848 { "_wxCoord","_time_t",0},
12849 { "_wxCoord","_wxPrintQuality",0},
12850 { "_wxPyShapeEvtHandler","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyShapeEvtHandler},
12851 { "_wxPyShapeEvtHandler","_wxPyDividedShape",SwigwxPyDividedShapeTowxPyShapeEvtHandler},
12852 { "_wxPyShapeEvtHandler","_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyShapeEvtHandler},
12853 { "_wxPyShapeEvtHandler","_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyShapeEvtHandler},
12854 { "_wxPyShapeEvtHandler","_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyShapeEvtHandler},
12855 { "_wxPyShapeEvtHandler","_wxPyControlPoint",SwigwxPyControlPointTowxPyShapeEvtHandler},
12856 { "_wxPyShapeEvtHandler","_wxPyRectangleShape",SwigwxPyRectangleShapeTowxPyShapeEvtHandler},
12857 { "_wxPyRectangleShape","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyRectangleShape},
12858 { "_wxPyRectangleShape","_wxPyDividedShape",SwigwxPyDividedShapeTowxPyRectangleShape},
12859 { "_wxPyRectangleShape","_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyRectangleShape},
12860 { "_wxPyRectangleShape","_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyRectangleShape},
12861 { "_wxPyRectangleShape","_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyRectangleShape},
12862 { "_wxPyRectangleShape","_wxPyControlPoint",SwigwxPyControlPointTowxPyRectangleShape},
12863 {0,0,0}};
12864
12865 static PyObject *SWIG_globals;
12866 #ifdef __cplusplus
12867 extern "C"
12868 #endif
12869 SWIGEXPORT(void) initoglshapesc() {
12870 PyObject *m, *d;
12871 SWIG_globals = SWIG_newvarlink();
12872 m = Py_InitModule("oglshapesc", oglshapescMethods);
12873 d = PyModule_GetDict(m);
12874 {
12875 int i;
12876 for (i = 0; _swig_mapping[i].n1; i++)
12877 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
12878 }
12879 }