]> git.saurik.com Git - wxWidgets.git/blame - wxPython/contrib/ogl/oglshapes.cpp
Corrections in light of recent toolbar and other changes
[wxWidgets.git] / wxPython / contrib / ogl / oglshapes.cpp
CommitLineData
e91a9dfc 1/*
c368d904 2 * FILE : contrib/ogl/oglshapes.cpp
e91a9dfc
RD
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
185d7c3e 6 * Version 1.1 (Build 883)
e91a9dfc
RD
7 *
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18#define SWIGCODE
19/* Implementation : PYTHON */
20
21#define SWIGPYTHON
22#include <string.h>
23#include <stdlib.h>
24/* Definitions for Windows/Unix exporting */
25#if defined(__WIN32__)
26# if defined(_MSC_VER)
27# define SWIGEXPORT(a) __declspec(dllexport) a
28# else
29# if defined(__BORLANDC__)
9ae9011b 30# define SWIGEXPORT(a) a _export
e91a9dfc 31# else
9ae9011b 32# define SWIGEXPORT(a) a
e91a9dfc
RD
33# endif
34# endif
35#else
9ae9011b 36# define SWIGEXPORT(a) a
e91a9dfc
RD
37#endif
38
9ae9011b
RD
39#include "Python.h"
40
e91a9dfc
RD
41#ifdef __cplusplus
42extern "C" {
43#endif
9ae9011b 44
e91a9dfc
RD
45extern void SWIG_MakePtr(char *, void *, char *);
46extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47extern char *SWIG_GetPtr(char *, void **, char *);
48extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
49extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
50extern PyObject *SWIG_newvarlink(void);
51#ifdef __cplusplus
52}
53#endif
54#define SWIG_init initoglshapesc
55
56#define SWIG_name "oglshapesc"
57
1e7ecb7b 58#include "export.h"
e91a9dfc
RD
59#include "oglhelpers.h"
60
e91a9dfc
RD
61
62static PyObject* t_output_helper(PyObject* target, PyObject* o) {
63 PyObject* o2;
64 PyObject* o3;
65
d74525f7 66 if (!target) {
e91a9dfc 67 target = o;
d74525f7 68 } else if (target == Py_None) {
e91a9dfc
RD
69 Py_DECREF(Py_None);
70 target = o;
d74525f7 71 } else {
e91a9dfc
RD
72 if (!PyTuple_Check(target)) {
73 o2 = target;
74 target = PyTuple_New(1);
75 PyTuple_SetItem(target, 0, o2);
76 }
d74525f7
RD
77 o3 = PyTuple_New(1);
78 PyTuple_SetItem(o3, 0, o);
e91a9dfc
RD
79
80 o2 = target;
d74525f7
RD
81 target = PySequence_Concat(o2, o3);
82 Py_DECREF(o2);
e91a9dfc
RD
83 Py_DECREF(o3);
84 }
85 return target;
86}
87
7a446686
RD
88#if PYTHON_API_VERSION >= 1009
89 static char* wxStringErrorMsg = "String or Unicode type required";
90#else
0122b7e3 91 static char* wxStringErrorMsg = "String type required";
7a446686 92#endif
e91a9dfc
RD
93
94 WXSHAPE_IMP_CALLBACKS(wxPyRectangleShape, wxRectangleShape);
95
2348eaee
RD
96 WXSHAPE_IMP_CALLBACKS(wxPyControlPoint, wxControlPoint);
97
e91a9dfc
RD
98 WXSHAPE_IMP_CALLBACKS(wxPyBitmapShape, wxBitmapShape);
99
100 WXSHAPE_IMP_CALLBACKS(wxPyDrawnShape, wxDrawnShape);
101
102 WXSHAPE_IMP_CALLBACKS(wxPyCompositeShape, wxCompositeShape);
103
104 WXSHAPE_IMP_CALLBACKS(wxPyDividedShape, wxDividedShape);
105
106 WXSHAPE_IMP_CALLBACKS(wxPyDivisionShape, wxDivisionShape);
107#ifdef __cplusplus
108extern "C" {
109#endif
9416aa89
RD
110static void *SwigwxPseudoMetaFileTowxObject(void *ptr) {
111 wxPseudoMetaFile *src;
112 wxObject *dest;
113 src = (wxPseudoMetaFile *) ptr;
114 dest = (wxObject *) src;
115 return (void *) dest;
116}
117
e91a9dfc
RD
118#define new_wxPseudoMetaFile() (new wxPseudoMetaFile())
119static PyObject *_wrap_new_wxPseudoMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
120 PyObject * _resultobj;
121 wxPseudoMetaFile * _result;
122 char *_kwnames[] = { NULL };
123 char _ptemp[128];
124
125 self = self;
126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPseudoMetaFile",_kwnames))
127 return NULL;
128{
4268f798 129 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
130 _result = (wxPseudoMetaFile *)new_wxPseudoMetaFile();
131
4268f798
RD
132 wxPyEndAllowThreads(__tstate);
133 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
134} if (_result) {
135 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPseudoMetaFile_p");
136 _resultobj = Py_BuildValue("s",_ptemp);
137 } else {
138 Py_INCREF(Py_None);
139 _resultobj = Py_None;
140 }
141 return _resultobj;
142}
143
144#define delete_wxPseudoMetaFile(_swigobj) (delete _swigobj)
145static PyObject *_wrap_delete_wxPseudoMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
146 PyObject * _resultobj;
147 wxPseudoMetaFile * _arg0;
148 PyObject * _argo0 = 0;
149 char *_kwnames[] = { "self", NULL };
150
151 self = self;
152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPseudoMetaFile",_kwnames,&_argo0))
153 return NULL;
154 if (_argo0) {
155 if (_argo0 == Py_None) { _arg0 = NULL; }
156 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
157 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPseudoMetaFile. Expected _wxPseudoMetaFile_p.");
158 return NULL;
159 }
160 }
161{
4268f798 162 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
163 delete_wxPseudoMetaFile(_arg0);
164
4268f798
RD
165 wxPyEndAllowThreads(__tstate);
166 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
167} Py_INCREF(Py_None);
168 _resultobj = Py_None;
169 return _resultobj;
170}
171
172#define wxPseudoMetaFile_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2))
173static PyObject *_wrap_wxPseudoMetaFile_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
174 PyObject * _resultobj;
175 wxPseudoMetaFile * _arg0;
176 wxDC * _arg1;
177 double _arg2;
178 double _arg3;
179 PyObject * _argo0 = 0;
180 PyObject * _argo1 = 0;
181 char *_kwnames[] = { "self","dc","xoffset","yoffset", NULL };
182
183 self = self;
184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd:wxPseudoMetaFile_Draw",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
185 return NULL;
186 if (_argo0) {
187 if (_argo0 == Py_None) { _arg0 = NULL; }
188 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
189 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_Draw. Expected _wxPseudoMetaFile_p.");
190 return NULL;
191 }
192 }
193 if (_argo1) {
194 if (_argo1 == Py_None) { _arg1 = NULL; }
195 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
196 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_Draw. Expected _wxDC_p.");
197 return NULL;
198 }
199 }
200{
4268f798 201 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
202 wxPseudoMetaFile_Draw(_arg0,*_arg1,_arg2,_arg3);
203
4268f798
RD
204 wxPyEndAllowThreads(__tstate);
205 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
206} Py_INCREF(Py_None);
207 _resultobj = Py_None;
208 return _resultobj;
209}
210
211#define wxPseudoMetaFile_WriteAttributes(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteAttributes(_swigarg0,_swigarg1))
212static PyObject *_wrap_wxPseudoMetaFile_WriteAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
213 PyObject * _resultobj;
214 wxPseudoMetaFile * _arg0;
215 wxExpr * _arg1;
216 int _arg2;
217 PyObject * _argo0 = 0;
218 PyObject * _argo1 = 0;
219 char *_kwnames[] = { "self","clause","whichAngle", NULL };
220
221 self = self;
222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPseudoMetaFile_WriteAttributes",_kwnames,&_argo0,&_argo1,&_arg2))
223 return NULL;
224 if (_argo0) {
225 if (_argo0 == Py_None) { _arg0 = NULL; }
226 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
227 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_WriteAttributes. Expected _wxPseudoMetaFile_p.");
228 return NULL;
229 }
230 }
231 if (_argo1) {
232 if (_argo1 == Py_None) { _arg1 = NULL; }
233 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxExpr_p")) {
234 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_WriteAttributes. Expected _wxExpr_p.");
235 return NULL;
236 }
237 }
238{
4268f798 239 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
240 wxPseudoMetaFile_WriteAttributes(_arg0,_arg1,_arg2);
241
4268f798
RD
242 wxPyEndAllowThreads(__tstate);
243 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
244} Py_INCREF(Py_None);
245 _resultobj = Py_None;
246 return _resultobj;
247}
248
249#define wxPseudoMetaFile_ReadAttributes(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadAttributes(_swigarg0,_swigarg1))
250static PyObject *_wrap_wxPseudoMetaFile_ReadAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
251 PyObject * _resultobj;
252 wxPseudoMetaFile * _arg0;
253 wxExpr * _arg1;
254 int _arg2;
255 PyObject * _argo0 = 0;
256 PyObject * _argo1 = 0;
257 char *_kwnames[] = { "self","clause","whichAngle", NULL };
258
259 self = self;
260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPseudoMetaFile_ReadAttributes",_kwnames,&_argo0,&_argo1,&_arg2))
261 return NULL;
262 if (_argo0) {
263 if (_argo0 == Py_None) { _arg0 = NULL; }
264 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
265 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_ReadAttributes. Expected _wxPseudoMetaFile_p.");
266 return NULL;
267 }
268 }
269 if (_argo1) {
270 if (_argo1 == Py_None) { _arg1 = NULL; }
271 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxExpr_p")) {
272 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_ReadAttributes. Expected _wxExpr_p.");
273 return NULL;
274 }
275 }
276{
4268f798 277 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
278 wxPseudoMetaFile_ReadAttributes(_arg0,_arg1,_arg2);
279
4268f798
RD
280 wxPyEndAllowThreads(__tstate);
281 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
282} Py_INCREF(Py_None);
283 _resultobj = Py_None;
284 return _resultobj;
285}
286
287#define wxPseudoMetaFile_Clear(_swigobj) (_swigobj->Clear())
288static PyObject *_wrap_wxPseudoMetaFile_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
289 PyObject * _resultobj;
290 wxPseudoMetaFile * _arg0;
291 PyObject * _argo0 = 0;
292 char *_kwnames[] = { "self", NULL };
293
294 self = self;
295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_Clear",_kwnames,&_argo0))
296 return NULL;
297 if (_argo0) {
298 if (_argo0 == Py_None) { _arg0 = NULL; }
299 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
300 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_Clear. Expected _wxPseudoMetaFile_p.");
301 return NULL;
302 }
303 }
304{
4268f798 305 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
306 wxPseudoMetaFile_Clear(_arg0);
307
4268f798
RD
308 wxPyEndAllowThreads(__tstate);
309 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
310} Py_INCREF(Py_None);
311 _resultobj = Py_None;
312 return _resultobj;
313}
314
315#define wxPseudoMetaFile_Copy(_swigobj,_swigarg0) (_swigobj->Copy(_swigarg0))
316static PyObject *_wrap_wxPseudoMetaFile_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
317 PyObject * _resultobj;
318 wxPseudoMetaFile * _arg0;
319 wxPseudoMetaFile * _arg1;
320 PyObject * _argo0 = 0;
321 PyObject * _argo1 = 0;
322 char *_kwnames[] = { "self","copy", NULL };
323
324 self = self;
325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_Copy",_kwnames,&_argo0,&_argo1))
326 return NULL;
327 if (_argo0) {
328 if (_argo0 == Py_None) { _arg0 = NULL; }
329 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
330 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_Copy. Expected _wxPseudoMetaFile_p.");
331 return NULL;
332 }
333 }
334 if (_argo1) {
335 if (_argo1 == Py_None) { _arg1 = NULL; }
336 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPseudoMetaFile_p")) {
337 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_Copy. Expected _wxPseudoMetaFile_p.");
338 return NULL;
339 }
340 }
341{
4268f798 342 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
343 wxPseudoMetaFile_Copy(_arg0,*_arg1);
344
4268f798
RD
345 wxPyEndAllowThreads(__tstate);
346 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
347} Py_INCREF(Py_None);
348 _resultobj = Py_None;
349 return _resultobj;
350}
351
352#define wxPseudoMetaFile_Scale(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scale(_swigarg0,_swigarg1))
353static PyObject *_wrap_wxPseudoMetaFile_Scale(PyObject *self, PyObject *args, PyObject *kwargs) {
354 PyObject * _resultobj;
355 wxPseudoMetaFile * _arg0;
356 double _arg1;
357 double _arg2;
358 PyObject * _argo0 = 0;
359 char *_kwnames[] = { "self","sx","sy", NULL };
360
361 self = self;
362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPseudoMetaFile_Scale",_kwnames,&_argo0,&_arg1,&_arg2))
363 return NULL;
364 if (_argo0) {
365 if (_argo0 == Py_None) { _arg0 = NULL; }
366 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
367 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_Scale. Expected _wxPseudoMetaFile_p.");
368 return NULL;
369 }
370 }
371{
4268f798 372 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
373 wxPseudoMetaFile_Scale(_arg0,_arg1,_arg2);
374
4268f798
RD
375 wxPyEndAllowThreads(__tstate);
376 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
377} Py_INCREF(Py_None);
378 _resultobj = Py_None;
379 return _resultobj;
380}
381
382#define wxPseudoMetaFile_ScaleTo(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScaleTo(_swigarg0,_swigarg1))
383static PyObject *_wrap_wxPseudoMetaFile_ScaleTo(PyObject *self, PyObject *args, PyObject *kwargs) {
384 PyObject * _resultobj;
385 wxPseudoMetaFile * _arg0;
386 double _arg1;
387 double _arg2;
388 PyObject * _argo0 = 0;
389 char *_kwnames[] = { "self","w","h", NULL };
390
391 self = self;
392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPseudoMetaFile_ScaleTo",_kwnames,&_argo0,&_arg1,&_arg2))
393 return NULL;
394 if (_argo0) {
395 if (_argo0 == Py_None) { _arg0 = NULL; }
396 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
397 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_ScaleTo. Expected _wxPseudoMetaFile_p.");
398 return NULL;
399 }
400 }
401{
4268f798 402 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
403 wxPseudoMetaFile_ScaleTo(_arg0,_arg1,_arg2);
404
4268f798
RD
405 wxPyEndAllowThreads(__tstate);
406 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
407} Py_INCREF(Py_None);
408 _resultobj = Py_None;
409 return _resultobj;
410}
411
412#define wxPseudoMetaFile_Translate(_swigobj,_swigarg0,_swigarg1) (_swigobj->Translate(_swigarg0,_swigarg1))
413static PyObject *_wrap_wxPseudoMetaFile_Translate(PyObject *self, PyObject *args, PyObject *kwargs) {
414 PyObject * _resultobj;
415 wxPseudoMetaFile * _arg0;
416 double _arg1;
417 double _arg2;
418 PyObject * _argo0 = 0;
419 char *_kwnames[] = { "self","x","y", NULL };
420
421 self = self;
422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPseudoMetaFile_Translate",_kwnames,&_argo0,&_arg1,&_arg2))
423 return NULL;
424 if (_argo0) {
425 if (_argo0 == Py_None) { _arg0 = NULL; }
426 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
427 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_Translate. Expected _wxPseudoMetaFile_p.");
428 return NULL;
429 }
430 }
431{
4268f798 432 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
433 wxPseudoMetaFile_Translate(_arg0,_arg1,_arg2);
434
4268f798
RD
435 wxPyEndAllowThreads(__tstate);
436 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
437} Py_INCREF(Py_None);
438 _resultobj = Py_None;
439 return _resultobj;
440}
441
442#define wxPseudoMetaFile_Rotate(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Rotate(_swigarg0,_swigarg1,_swigarg2))
443static PyObject *_wrap_wxPseudoMetaFile_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
444 PyObject * _resultobj;
445 wxPseudoMetaFile * _arg0;
446 double _arg1;
447 double _arg2;
448 double _arg3;
449 PyObject * _argo0 = 0;
450 char *_kwnames[] = { "self","x","y","theta", NULL };
451
452 self = self;
453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oddd:wxPseudoMetaFile_Rotate",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
454 return NULL;
455 if (_argo0) {
456 if (_argo0 == Py_None) { _arg0 = NULL; }
457 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
458 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_Rotate. Expected _wxPseudoMetaFile_p.");
459 return NULL;
460 }
461 }
462{
4268f798 463 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
464 wxPseudoMetaFile_Rotate(_arg0,_arg1,_arg2,_arg3);
465
4268f798
RD
466 wxPyEndAllowThreads(__tstate);
467 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
468} Py_INCREF(Py_None);
469 _resultobj = Py_None;
470 return _resultobj;
471}
472
473#define wxPseudoMetaFile_LoadFromMetaFile(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromMetaFile(_swigarg0,_swigarg1,_swigarg2))
474static PyObject *_wrap_wxPseudoMetaFile_LoadFromMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
475 PyObject * _resultobj;
476 bool _result;
477 wxPseudoMetaFile * _arg0;
478 char * _arg1;
479 double * _arg2;
480 double * _arg3;
481 PyObject * _argo0 = 0;
482 PyObject * _argo2 = 0;
483 PyObject * _argo3 = 0;
484 char *_kwnames[] = { "self","filename","width","height", NULL };
485
486 self = self;
487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OsOO:wxPseudoMetaFile_LoadFromMetaFile",_kwnames,&_argo0,&_arg1,&_argo2,&_argo3))
488 return NULL;
489 if (_argo0) {
490 if (_argo0 == Py_None) { _arg0 = NULL; }
491 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
492 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_LoadFromMetaFile. Expected _wxPseudoMetaFile_p.");
493 return NULL;
494 }
495 }
496 if (_argo2) {
497 if (_argo2 == Py_None) { _arg2 = NULL; }
498 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_double_p")) {
499 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPseudoMetaFile_LoadFromMetaFile. Expected _double_p.");
500 return NULL;
501 }
502 }
503 if (_argo3) {
504 if (_argo3 == Py_None) { _arg3 = NULL; }
505 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_double_p")) {
506 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxPseudoMetaFile_LoadFromMetaFile. Expected _double_p.");
507 return NULL;
508 }
509 }
510{
4268f798 511 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
512 _result = (bool )wxPseudoMetaFile_LoadFromMetaFile(_arg0,_arg1,_arg2,_arg3);
513
4268f798
RD
514 wxPyEndAllowThreads(__tstate);
515 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
516} _resultobj = Py_BuildValue("i",_result);
517 return _resultobj;
518}
519
520#define wxPseudoMetaFile_GetBounds(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetBounds(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
521static PyObject *_wrap_wxPseudoMetaFile_GetBounds(PyObject *self, PyObject *args, PyObject *kwargs) {
522 PyObject * _resultobj;
523 wxPseudoMetaFile * _arg0;
524 double * _arg1;
525 double * _arg2;
526 double * _arg3;
527 double * _arg4;
528 PyObject * _argo0 = 0;
529 PyObject * _argo1 = 0;
530 PyObject * _argo2 = 0;
531 PyObject * _argo3 = 0;
532 PyObject * _argo4 = 0;
533 char *_kwnames[] = { "self","minX","minY","maxX","maxY", NULL };
534
535 self = self;
536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOOO:wxPseudoMetaFile_GetBounds",_kwnames,&_argo0,&_argo1,&_argo2,&_argo3,&_argo4))
537 return NULL;
538 if (_argo0) {
539 if (_argo0 == Py_None) { _arg0 = NULL; }
540 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
541 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_GetBounds. Expected _wxPseudoMetaFile_p.");
542 return NULL;
543 }
544 }
545 if (_argo1) {
546 if (_argo1 == Py_None) { _arg1 = NULL; }
547 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_double_p")) {
548 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_GetBounds. Expected _double_p.");
549 return NULL;
550 }
551 }
552 if (_argo2) {
553 if (_argo2 == Py_None) { _arg2 = NULL; }
554 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_double_p")) {
555 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPseudoMetaFile_GetBounds. Expected _double_p.");
556 return NULL;
557 }
558 }
559 if (_argo3) {
560 if (_argo3 == Py_None) { _arg3 = NULL; }
561 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_double_p")) {
562 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxPseudoMetaFile_GetBounds. Expected _double_p.");
563 return NULL;
564 }
565 }
566 if (_argo4) {
567 if (_argo4 == Py_None) { _arg4 = NULL; }
568 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_double_p")) {
569 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxPseudoMetaFile_GetBounds. Expected _double_p.");
570 return NULL;
571 }
572 }
573{
4268f798 574 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
575 wxPseudoMetaFile_GetBounds(_arg0,_arg1,_arg2,_arg3,_arg4);
576
4268f798
RD
577 wxPyEndAllowThreads(__tstate);
578 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
579} Py_INCREF(Py_None);
580 _resultobj = Py_None;
581 return _resultobj;
582}
583
584#define wxPseudoMetaFile_CalculateSize(_swigobj,_swigarg0) (_swigobj->CalculateSize(_swigarg0))
585static PyObject *_wrap_wxPseudoMetaFile_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
586 PyObject * _resultobj;
587 wxPseudoMetaFile * _arg0;
588 wxDrawnShape * _arg1;
589 PyObject * _argo0 = 0;
590 PyObject * _argo1 = 0;
591 char *_kwnames[] = { "self","shape", NULL };
592
593 self = self;
594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_CalculateSize",_kwnames,&_argo0,&_argo1))
595 return NULL;
596 if (_argo0) {
597 if (_argo0 == Py_None) { _arg0 = NULL; }
598 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
599 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_CalculateSize. Expected _wxPseudoMetaFile_p.");
600 return NULL;
601 }
602 }
603 if (_argo1) {
604 if (_argo1 == Py_None) { _arg1 = NULL; }
605 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDrawnShape_p")) {
606 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_CalculateSize. Expected _wxDrawnShape_p.");
607 return NULL;
608 }
609 }
610{
4268f798 611 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
612 wxPseudoMetaFile_CalculateSize(_arg0,_arg1);
613
4268f798
RD
614 wxPyEndAllowThreads(__tstate);
615 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
616} Py_INCREF(Py_None);
617 _resultobj = Py_None;
618 return _resultobj;
619}
620
621#define wxPseudoMetaFile_SetRotateable(_swigobj,_swigarg0) (_swigobj->SetRotateable(_swigarg0))
622static PyObject *_wrap_wxPseudoMetaFile_SetRotateable(PyObject *self, PyObject *args, PyObject *kwargs) {
623 PyObject * _resultobj;
624 wxPseudoMetaFile * _arg0;
625 bool _arg1;
626 PyObject * _argo0 = 0;
627 int tempbool1;
628 char *_kwnames[] = { "self","rot", NULL };
629
630 self = self;
631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPseudoMetaFile_SetRotateable",_kwnames,&_argo0,&tempbool1))
632 return NULL;
633 if (_argo0) {
634 if (_argo0 == Py_None) { _arg0 = NULL; }
635 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
636 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetRotateable. Expected _wxPseudoMetaFile_p.");
637 return NULL;
638 }
639 }
640 _arg1 = (bool ) tempbool1;
641{
4268f798 642 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
643 wxPseudoMetaFile_SetRotateable(_arg0,_arg1);
644
4268f798
RD
645 wxPyEndAllowThreads(__tstate);
646 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
647} Py_INCREF(Py_None);
648 _resultobj = Py_None;
649 return _resultobj;
650}
651
652#define wxPseudoMetaFile_GetRotateable(_swigobj) (_swigobj->GetRotateable())
653static PyObject *_wrap_wxPseudoMetaFile_GetRotateable(PyObject *self, PyObject *args, PyObject *kwargs) {
654 PyObject * _resultobj;
655 bool _result;
656 wxPseudoMetaFile * _arg0;
657 PyObject * _argo0 = 0;
658 char *_kwnames[] = { "self", NULL };
659
660 self = self;
661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_GetRotateable",_kwnames,&_argo0))
662 return NULL;
663 if (_argo0) {
664 if (_argo0 == Py_None) { _arg0 = NULL; }
665 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
666 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_GetRotateable. Expected _wxPseudoMetaFile_p.");
667 return NULL;
668 }
669 }
670{
4268f798 671 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
672 _result = (bool )wxPseudoMetaFile_GetRotateable(_arg0);
673
4268f798
RD
674 wxPyEndAllowThreads(__tstate);
675 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
676} _resultobj = Py_BuildValue("i",_result);
677 return _resultobj;
678}
679
680#define wxPseudoMetaFile_SetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
681static PyObject *_wrap_wxPseudoMetaFile_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
682 PyObject * _resultobj;
683 wxPseudoMetaFile * _arg0;
684 double _arg1;
685 double _arg2;
686 PyObject * _argo0 = 0;
687 char *_kwnames[] = { "self","w","h", NULL };
688
689 self = self;
690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPseudoMetaFile_SetSize",_kwnames,&_argo0,&_arg1,&_arg2))
691 return NULL;
692 if (_argo0) {
693 if (_argo0 == Py_None) { _arg0 = NULL; }
694 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
695 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetSize. Expected _wxPseudoMetaFile_p.");
696 return NULL;
697 }
698 }
699{
4268f798 700 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
701 wxPseudoMetaFile_SetSize(_arg0,_arg1,_arg2);
702
4268f798
RD
703 wxPyEndAllowThreads(__tstate);
704 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
705} Py_INCREF(Py_None);
706 _resultobj = Py_None;
707 return _resultobj;
708}
709
710#define wxPseudoMetaFile_SetFillBrush(_swigobj,_swigarg0) (_swigobj->SetFillBrush(_swigarg0))
711static PyObject *_wrap_wxPseudoMetaFile_SetFillBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
712 PyObject * _resultobj;
713 wxPseudoMetaFile * _arg0;
714 wxBrush * _arg1;
715 PyObject * _argo0 = 0;
d74525f7 716 PyObject * _obj1 = 0;
e91a9dfc
RD
717 char *_kwnames[] = { "self","brush", NULL };
718
719 self = self;
d74525f7 720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_SetFillBrush",_kwnames,&_argo0,&_obj1))
e91a9dfc
RD
721 return NULL;
722 if (_argo0) {
723 if (_argo0 == Py_None) { _arg0 = NULL; }
724 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
725 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetFillBrush. Expected _wxPseudoMetaFile_p.");
726 return NULL;
727 }
728 }
d74525f7
RD
729{
730 wxBrush* temp;
731 if (_obj1) {
732 if (_obj1 == Py_None) { temp = NULL; }
733 else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxBrush_p")) {
734 PyErr_SetString(PyExc_TypeError,"Type error, expected _wxBrush_p.");
e91a9dfc
RD
735 return NULL;
736 }
737 }
d74525f7
RD
738 if (temp)
739 _arg1 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
740 else
741 _arg1 = NULL;
742}
e91a9dfc 743{
4268f798 744 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
745 wxPseudoMetaFile_SetFillBrush(_arg0,_arg1);
746
4268f798
RD
747 wxPyEndAllowThreads(__tstate);
748 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
749} Py_INCREF(Py_None);
750 _resultobj = Py_None;
751 return _resultobj;
752}
753
754#define wxPseudoMetaFile_GetFillBrush(_swigobj) (_swigobj->GetFillBrush())
755static PyObject *_wrap_wxPseudoMetaFile_GetFillBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
756 PyObject * _resultobj;
757 wxBrush * _result;
758 wxPseudoMetaFile * _arg0;
759 PyObject * _argo0 = 0;
760 char *_kwnames[] = { "self", NULL };
761 char _ptemp[128];
762
763 self = self;
764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_GetFillBrush",_kwnames,&_argo0))
765 return NULL;
766 if (_argo0) {
767 if (_argo0 == Py_None) { _arg0 = NULL; }
768 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
769 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_GetFillBrush. Expected _wxPseudoMetaFile_p.");
770 return NULL;
771 }
772 }
773{
4268f798 774 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
775 _result = (wxBrush *)wxPseudoMetaFile_GetFillBrush(_arg0);
776
4268f798
RD
777 wxPyEndAllowThreads(__tstate);
778 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
779} if (_result) {
780 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBrush_p");
781 _resultobj = Py_BuildValue("s",_ptemp);
782 } else {
783 Py_INCREF(Py_None);
784 _resultobj = Py_None;
785 }
786 return _resultobj;
787}
788
789#define wxPseudoMetaFile_SetOutlinePen(_swigobj,_swigarg0) (_swigobj->SetOutlinePen(_swigarg0))
790static PyObject *_wrap_wxPseudoMetaFile_SetOutlinePen(PyObject *self, PyObject *args, PyObject *kwargs) {
791 PyObject * _resultobj;
792 wxPseudoMetaFile * _arg0;
793 wxPen * _arg1;
794 PyObject * _argo0 = 0;
d74525f7 795 PyObject * _obj1 = 0;
e91a9dfc
RD
796 char *_kwnames[] = { "self","pen", NULL };
797
798 self = self;
d74525f7 799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_SetOutlinePen",_kwnames,&_argo0,&_obj1))
e91a9dfc
RD
800 return NULL;
801 if (_argo0) {
802 if (_argo0 == Py_None) { _arg0 = NULL; }
803 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
804 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetOutlinePen. Expected _wxPseudoMetaFile_p.");
805 return NULL;
806 }
807 }
d74525f7
RD
808{
809 wxPen* temp;
810 if (_obj1) {
811 if (_obj1 == Py_None) { temp = NULL; }
812 else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxPen_p")) {
813 PyErr_SetString(PyExc_TypeError,"Type error, expected _wxPen_p.");
e91a9dfc
RD
814 return NULL;
815 }
816 }
d74525f7
RD
817 if (temp)
818 _arg1 = wxThePenList->FindOrCreatePen(temp->GetColour(),
819 temp->GetWidth(),
820 temp->GetStyle());
821 else
822 _arg1 = NULL;
823}
e91a9dfc 824{
4268f798 825 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
826 wxPseudoMetaFile_SetOutlinePen(_arg0,_arg1);
827
4268f798
RD
828 wxPyEndAllowThreads(__tstate);
829 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
830} Py_INCREF(Py_None);
831 _resultobj = Py_None;
832 return _resultobj;
833}
834
835#define wxPseudoMetaFile_GetOutlinePen(_swigobj) (_swigobj->GetOutlinePen())
836static PyObject *_wrap_wxPseudoMetaFile_GetOutlinePen(PyObject *self, PyObject *args, PyObject *kwargs) {
837 PyObject * _resultobj;
838 wxPen * _result;
839 wxPseudoMetaFile * _arg0;
840 PyObject * _argo0 = 0;
841 char *_kwnames[] = { "self", NULL };
842 char _ptemp[128];
843
844 self = self;
845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_GetOutlinePen",_kwnames,&_argo0))
846 return NULL;
847 if (_argo0) {
848 if (_argo0 == Py_None) { _arg0 = NULL; }
849 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
850 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_GetOutlinePen. Expected _wxPseudoMetaFile_p.");
851 return NULL;
852 }
853 }
854{
4268f798 855 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
856 _result = (wxPen *)wxPseudoMetaFile_GetOutlinePen(_arg0);
857
4268f798
RD
858 wxPyEndAllowThreads(__tstate);
859 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
860} if (_result) {
861 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPen_p");
862 _resultobj = Py_BuildValue("s",_ptemp);
863 } else {
864 Py_INCREF(Py_None);
865 _resultobj = Py_None;
866 }
867 return _resultobj;
868}
869
870#define wxPseudoMetaFile_SetOutlineOp(_swigobj,_swigarg0) (_swigobj->SetOutlineOp(_swigarg0))
871static PyObject *_wrap_wxPseudoMetaFile_SetOutlineOp(PyObject *self, PyObject *args, PyObject *kwargs) {
872 PyObject * _resultobj;
873 wxPseudoMetaFile * _arg0;
874 int _arg1;
875 PyObject * _argo0 = 0;
876 char *_kwnames[] = { "self","op", NULL };
877
878 self = self;
879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPseudoMetaFile_SetOutlineOp",_kwnames,&_argo0,&_arg1))
880 return NULL;
881 if (_argo0) {
882 if (_argo0 == Py_None) { _arg0 = NULL; }
883 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
884 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetOutlineOp. Expected _wxPseudoMetaFile_p.");
885 return NULL;
886 }
887 }
888{
4268f798 889 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
890 wxPseudoMetaFile_SetOutlineOp(_arg0,_arg1);
891
4268f798
RD
892 wxPyEndAllowThreads(__tstate);
893 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
894} Py_INCREF(Py_None);
895 _resultobj = Py_None;
896 return _resultobj;
897}
898
899#define wxPseudoMetaFile_GetOutlineOp(_swigobj) (_swigobj->GetOutlineOp())
900static PyObject *_wrap_wxPseudoMetaFile_GetOutlineOp(PyObject *self, PyObject *args, PyObject *kwargs) {
901 PyObject * _resultobj;
902 int _result;
903 wxPseudoMetaFile * _arg0;
904 PyObject * _argo0 = 0;
905 char *_kwnames[] = { "self", NULL };
906
907 self = self;
908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_GetOutlineOp",_kwnames,&_argo0))
909 return NULL;
910 if (_argo0) {
911 if (_argo0 == Py_None) { _arg0 = NULL; }
912 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
913 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_GetOutlineOp. Expected _wxPseudoMetaFile_p.");
914 return NULL;
915 }
916 }
917{
4268f798 918 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
919 _result = (int )wxPseudoMetaFile_GetOutlineOp(_arg0);
920
4268f798
RD
921 wxPyEndAllowThreads(__tstate);
922 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
923} _resultobj = Py_BuildValue("i",_result);
924 return _resultobj;
925}
926
927#define wxPseudoMetaFile_IsValid(_swigobj) (_swigobj->IsValid())
928static PyObject *_wrap_wxPseudoMetaFile_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
929 PyObject * _resultobj;
930 bool _result;
931 wxPseudoMetaFile * _arg0;
932 PyObject * _argo0 = 0;
933 char *_kwnames[] = { "self", NULL };
934
935 self = self;
936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_IsValid",_kwnames,&_argo0))
937 return NULL;
938 if (_argo0) {
939 if (_argo0 == Py_None) { _arg0 = NULL; }
940 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
941 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_IsValid. Expected _wxPseudoMetaFile_p.");
942 return NULL;
943 }
944 }
945{
4268f798 946 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
947 _result = (bool )wxPseudoMetaFile_IsValid(_arg0);
948
4268f798
RD
949 wxPyEndAllowThreads(__tstate);
950 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
951} _resultobj = Py_BuildValue("i",_result);
952 return _resultobj;
953}
954
955#define wxPseudoMetaFile_DrawLine(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawLine(_swigarg0,_swigarg1))
956static PyObject *_wrap_wxPseudoMetaFile_DrawLine(PyObject *self, PyObject *args, PyObject *kwargs) {
957 PyObject * _resultobj;
958 wxPseudoMetaFile * _arg0;
959 wxPoint * _arg1;
960 wxPoint * _arg2;
961 PyObject * _argo0 = 0;
2348eaee
RD
962 wxPoint temp;
963 PyObject * _obj1 = 0;
964 wxPoint temp0;
965 PyObject * _obj2 = 0;
e91a9dfc
RD
966 char *_kwnames[] = { "self","pt1","pt2", NULL };
967
968 self = self;
2348eaee 969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPseudoMetaFile_DrawLine",_kwnames,&_argo0,&_obj1,&_obj2))
e91a9dfc
RD
970 return NULL;
971 if (_argo0) {
972 if (_argo0 == Py_None) { _arg0 = NULL; }
973 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
974 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawLine. Expected _wxPseudoMetaFile_p.");
975 return NULL;
976 }
977 }
2348eaee
RD
978{
979 _arg1 = &temp;
980 if (! wxPoint_helper(_obj1, &_arg1))
e91a9dfc 981 return NULL;
2348eaee
RD
982}
983{
984 _arg2 = &temp0;
985 if (! wxPoint_helper(_obj2, &_arg2))
e91a9dfc 986 return NULL;
2348eaee 987}
e91a9dfc 988{
4268f798 989 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
990 wxPseudoMetaFile_DrawLine(_arg0,*_arg1,*_arg2);
991
4268f798
RD
992 wxPyEndAllowThreads(__tstate);
993 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
994} Py_INCREF(Py_None);
995 _resultobj = Py_None;
996 return _resultobj;
997}
998
999#define wxPseudoMetaFile_DrawRectangle(_swigobj,_swigarg0) (_swigobj->DrawRectangle(_swigarg0))
1000static PyObject *_wrap_wxPseudoMetaFile_DrawRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
1001 PyObject * _resultobj;
1002 wxPseudoMetaFile * _arg0;
1003 wxRect * _arg1;
1004 PyObject * _argo0 = 0;
2348eaee
RD
1005 wxRect temp;
1006 PyObject * _obj1 = 0;
e91a9dfc
RD
1007 char *_kwnames[] = { "self","rect", NULL };
1008
1009 self = self;
2348eaee 1010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_DrawRectangle",_kwnames,&_argo0,&_obj1))
e91a9dfc
RD
1011 return NULL;
1012 if (_argo0) {
1013 if (_argo0 == Py_None) { _arg0 = NULL; }
1014 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1015 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawRectangle. Expected _wxPseudoMetaFile_p.");
1016 return NULL;
1017 }
1018 }
2348eaee
RD
1019{
1020 _arg1 = &temp;
1021 if (! wxRect_helper(_obj1, &_arg1))
e91a9dfc 1022 return NULL;
2348eaee 1023}
e91a9dfc 1024{
4268f798 1025 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
1026 wxPseudoMetaFile_DrawRectangle(_arg0,*_arg1);
1027
4268f798
RD
1028 wxPyEndAllowThreads(__tstate);
1029 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
1030} Py_INCREF(Py_None);
1031 _resultobj = Py_None;
1032 return _resultobj;
1033}
1034
1035#define wxPseudoMetaFile_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1))
1036static PyObject *_wrap_wxPseudoMetaFile_DrawRoundedRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
1037 PyObject * _resultobj;
1038 wxPseudoMetaFile * _arg0;
1039 wxRect * _arg1;
1040 double _arg2;
1041 PyObject * _argo0 = 0;
2348eaee
RD
1042 wxRect temp;
1043 PyObject * _obj1 = 0;
e91a9dfc
RD
1044 char *_kwnames[] = { "self","rect","radius", NULL };
1045
1046 self = self;
2348eaee 1047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOd:wxPseudoMetaFile_DrawRoundedRectangle",_kwnames,&_argo0,&_obj1,&_arg2))
e91a9dfc
RD
1048 return NULL;
1049 if (_argo0) {
1050 if (_argo0 == Py_None) { _arg0 = NULL; }
1051 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1052 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawRoundedRectangle. Expected _wxPseudoMetaFile_p.");
1053 return NULL;
1054 }
1055 }
2348eaee
RD
1056{
1057 _arg1 = &temp;
1058 if (! wxRect_helper(_obj1, &_arg1))
e91a9dfc 1059 return NULL;
2348eaee 1060}
e91a9dfc 1061{
4268f798 1062 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
1063 wxPseudoMetaFile_DrawRoundedRectangle(_arg0,*_arg1,_arg2);
1064
4268f798
RD
1065 wxPyEndAllowThreads(__tstate);
1066 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
1067} Py_INCREF(Py_None);
1068 _resultobj = Py_None;
1069 return _resultobj;
1070}
1071
1072#define wxPseudoMetaFile_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2))
1073static PyObject *_wrap_wxPseudoMetaFile_DrawArc(PyObject *self, PyObject *args, PyObject *kwargs) {
1074 PyObject * _resultobj;
1075 wxPseudoMetaFile * _arg0;
1076 wxPoint * _arg1;
1077 wxPoint * _arg2;
1078 wxPoint * _arg3;
1079 PyObject * _argo0 = 0;
2348eaee
RD
1080 wxPoint temp;
1081 PyObject * _obj1 = 0;
1082 wxPoint temp0;
1083 PyObject * _obj2 = 0;
1084 wxPoint temp1;
1085 PyObject * _obj3 = 0;
e91a9dfc
RD
1086 char *_kwnames[] = { "self","centrePt","startPt","endPt", NULL };
1087
1088 self = self;
2348eaee 1089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxPseudoMetaFile_DrawArc",_kwnames,&_argo0,&_obj1,&_obj2,&_obj3))
e91a9dfc
RD
1090 return NULL;
1091 if (_argo0) {
1092 if (_argo0 == Py_None) { _arg0 = NULL; }
1093 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1094 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawArc. Expected _wxPseudoMetaFile_p.");
1095 return NULL;
1096 }
1097 }
2348eaee
RD
1098{
1099 _arg1 = &temp;
1100 if (! wxPoint_helper(_obj1, &_arg1))
e91a9dfc 1101 return NULL;
2348eaee
RD
1102}
1103{
1104 _arg2 = &temp0;
1105 if (! wxPoint_helper(_obj2, &_arg2))
e91a9dfc 1106 return NULL;
2348eaee
RD
1107}
1108{
1109 _arg3 = &temp1;
1110 if (! wxPoint_helper(_obj3, &_arg3))
e91a9dfc 1111 return NULL;
2348eaee 1112}
e91a9dfc 1113{
4268f798 1114 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
1115 wxPseudoMetaFile_DrawArc(_arg0,*_arg1,*_arg2,*_arg3);
1116
4268f798
RD
1117 wxPyEndAllowThreads(__tstate);
1118 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
1119} Py_INCREF(Py_None);
1120 _resultobj = Py_None;
1121 return _resultobj;
1122}
1123
1124#define wxPseudoMetaFile_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2))
1125static PyObject *_wrap_wxPseudoMetaFile_DrawEllipticArc(PyObject *self, PyObject *args, PyObject *kwargs) {
1126 PyObject * _resultobj;
1127 wxPseudoMetaFile * _arg0;
1128 wxRect * _arg1;
1129 double _arg2;
1130 double _arg3;
1131 PyObject * _argo0 = 0;
2348eaee
RD
1132 wxRect temp;
1133 PyObject * _obj1 = 0;
e91a9dfc
RD
1134 char *_kwnames[] = { "self","rect","startAngle","endAngle", NULL };
1135
1136 self = self;
2348eaee 1137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd:wxPseudoMetaFile_DrawEllipticArc",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3))
e91a9dfc
RD
1138 return NULL;
1139 if (_argo0) {
1140 if (_argo0 == Py_None) { _arg0 = NULL; }
1141 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1142 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawEllipticArc. Expected _wxPseudoMetaFile_p.");
1143 return NULL;
1144 }
1145 }
2348eaee
RD
1146{
1147 _arg1 = &temp;
1148 if (! wxRect_helper(_obj1, &_arg1))
e91a9dfc 1149 return NULL;
2348eaee 1150}
e91a9dfc 1151{
4268f798 1152 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
1153 wxPseudoMetaFile_DrawEllipticArc(_arg0,*_arg1,_arg2,_arg3);
1154
4268f798
RD
1155 wxPyEndAllowThreads(__tstate);
1156 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
1157} Py_INCREF(Py_None);
1158 _resultobj = Py_None;
1159 return _resultobj;
1160}
1161
1162#define wxPseudoMetaFile_DrawEllipse(_swigobj,_swigarg0) (_swigobj->DrawEllipse(_swigarg0))
1163static PyObject *_wrap_wxPseudoMetaFile_DrawEllipse(PyObject *self, PyObject *args, PyObject *kwargs) {
1164 PyObject * _resultobj;
1165 wxPseudoMetaFile * _arg0;
1166 wxRect * _arg1;
1167 PyObject * _argo0 = 0;
2348eaee
RD
1168 wxRect temp;
1169 PyObject * _obj1 = 0;
e91a9dfc
RD
1170 char *_kwnames[] = { "self","rect", NULL };
1171
1172 self = self;
2348eaee 1173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_DrawEllipse",_kwnames,&_argo0,&_obj1))
e91a9dfc
RD
1174 return NULL;
1175 if (_argo0) {
1176 if (_argo0 == Py_None) { _arg0 = NULL; }
1177 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1178 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawEllipse. Expected _wxPseudoMetaFile_p.");
1179 return NULL;
1180 }
1181 }
2348eaee
RD
1182{
1183 _arg1 = &temp;
1184 if (! wxRect_helper(_obj1, &_arg1))
e91a9dfc 1185 return NULL;
2348eaee 1186}
e91a9dfc 1187{
4268f798 1188 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
1189 wxPseudoMetaFile_DrawEllipse(_arg0,*_arg1);
1190
4268f798
RD
1191 wxPyEndAllowThreads(__tstate);
1192 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
1193} Py_INCREF(Py_None);
1194 _resultobj = Py_None;
1195 return _resultobj;
1196}
1197
1198#define wxPseudoMetaFile_DrawPoint(_swigobj,_swigarg0) (_swigobj->DrawPoint(_swigarg0))
1199static PyObject *_wrap_wxPseudoMetaFile_DrawPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
1200 PyObject * _resultobj;
1201 wxPseudoMetaFile * _arg0;
1202 wxPoint * _arg1;
1203 PyObject * _argo0 = 0;
2348eaee
RD
1204 wxPoint temp;
1205 PyObject * _obj1 = 0;
e91a9dfc
RD
1206 char *_kwnames[] = { "self","pt", NULL };
1207
1208 self = self;
2348eaee 1209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_DrawPoint",_kwnames,&_argo0,&_obj1))
e91a9dfc
RD
1210 return NULL;
1211 if (_argo0) {
1212 if (_argo0 == Py_None) { _arg0 = NULL; }
1213 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1214 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawPoint. Expected _wxPseudoMetaFile_p.");
1215 return NULL;
1216 }
1217 }
2348eaee
RD
1218{
1219 _arg1 = &temp;
1220 if (! wxPoint_helper(_obj1, &_arg1))
e91a9dfc 1221 return NULL;
2348eaee 1222}
e91a9dfc 1223{
4268f798 1224 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
1225 wxPseudoMetaFile_DrawPoint(_arg0,*_arg1);
1226
4268f798
RD
1227 wxPyEndAllowThreads(__tstate);
1228 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
1229} Py_INCREF(Py_None);
1230 _resultobj = Py_None;
1231 return _resultobj;
1232}
1233
1234#define wxPseudoMetaFile_DrawText(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawText(_swigarg0,_swigarg1))
1235static PyObject *_wrap_wxPseudoMetaFile_DrawText(PyObject *self, PyObject *args, PyObject *kwargs) {
1236 PyObject * _resultobj;
1237 wxPseudoMetaFile * _arg0;
1238 wxString * _arg1;
1239 wxPoint * _arg2;
1240 PyObject * _argo0 = 0;
1241 PyObject * _obj1 = 0;
2348eaee
RD
1242 wxPoint temp;
1243 PyObject * _obj2 = 0;
e91a9dfc
RD
1244 char *_kwnames[] = { "self","text","pt", NULL };
1245
1246 self = self;
2348eaee 1247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPseudoMetaFile_DrawText",_kwnames,&_argo0,&_obj1,&_obj2))
e91a9dfc
RD
1248 return NULL;
1249 if (_argo0) {
1250 if (_argo0 == Py_None) { _arg0 = NULL; }
1251 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1252 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawText. Expected _wxPseudoMetaFile_p.");
1253 return NULL;
1254 }
1255 }
1256{
185d7c3e
RD
1257#if PYTHON_API_VERSION >= 1009
1258 char* tmpPtr; int tmpSize;
1259 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 1260 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
1261 return NULL;
1262 }
1263 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1264 return NULL;
1265 _arg1 = new wxString(tmpPtr, tmpSize);
1266#else
e91a9dfc
RD
1267 if (!PyString_Check(_obj1)) {
1268 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1269 return NULL;
1270 }
185d7c3e
RD
1271 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1272#endif
e91a9dfc 1273}
2348eaee
RD
1274{
1275 _arg2 = &temp;
1276 if (! wxPoint_helper(_obj2, &_arg2))
e91a9dfc 1277 return NULL;
2348eaee 1278}
e91a9dfc 1279{
4268f798 1280 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
1281 wxPseudoMetaFile_DrawText(_arg0,*_arg1,*_arg2);
1282
4268f798
RD
1283 wxPyEndAllowThreads(__tstate);
1284 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
1285} Py_INCREF(Py_None);
1286 _resultobj = Py_None;
1287{
1288 if (_obj1)
1289 delete _arg1;
1290}
1291 return _resultobj;
1292}
1293
1294#define wxPseudoMetaFile_DrawLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawLines(_swigarg0,_swigarg1))
1295static PyObject *_wrap_wxPseudoMetaFile_DrawLines(PyObject *self, PyObject *args, PyObject *kwargs) {
1296 PyObject * _resultobj;
1297 wxPseudoMetaFile * _arg0;
1298 int _arg1;
1299 wxPoint * _arg2;
1300 PyObject * _argo0 = 0;
e0672e2f 1301 int NPOINTS;
e91a9dfc 1302 PyObject * _obj2 = 0;
eec92d76 1303 char *_kwnames[] = { "self","points", NULL };
e91a9dfc
RD
1304
1305 self = self;
1306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_DrawLines",_kwnames,&_argo0,&_obj2))
1307 return NULL;
1308 if (_argo0) {
1309 if (_argo0 == Py_None) { _arg0 = NULL; }
1310 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1311 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawLines. Expected _wxPseudoMetaFile_p.");
1312 return NULL;
1313 }
1314 }
1315 if (_obj2)
1316{
e0672e2f
RD
1317 _arg2 = wxPoint_LIST_helper(_obj2, &NPOINTS);
1318 if (_arg2 == NULL) {
1319 return NULL;
1320 }
e91a9dfc
RD
1321}
1322{
e0672e2f 1323 _arg1 = NPOINTS;
e91a9dfc
RD
1324}
1325{
4268f798 1326 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
1327 wxPseudoMetaFile_DrawLines(_arg0,_arg1,_arg2);
1328
4268f798
RD
1329 wxPyEndAllowThreads(__tstate);
1330 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
1331} Py_INCREF(Py_None);
1332 _resultobj = Py_None;
1333{
1334 delete [] _arg2;
1335}
1336 return _resultobj;
1337}
1338
1339#define wxPseudoMetaFile_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2))
1340static PyObject *_wrap_wxPseudoMetaFile_DrawPolygon(PyObject *self, PyObject *args, PyObject *kwargs) {
1341 PyObject * _resultobj;
1342 wxPseudoMetaFile * _arg0;
1343 int _arg1;
1344 wxPoint * _arg2;
1345 int _arg3 = (int ) 0;
1346 PyObject * _argo0 = 0;
e0672e2f 1347 int NPOINTS;
e91a9dfc 1348 PyObject * _obj2 = 0;
eec92d76 1349 char *_kwnames[] = { "self","points","flags", NULL };
e91a9dfc
RD
1350
1351 self = self;
1352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPseudoMetaFile_DrawPolygon",_kwnames,&_argo0,&_obj2,&_arg3))
1353 return NULL;
1354 if (_argo0) {
1355 if (_argo0 == Py_None) { _arg0 = NULL; }
1356 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1357 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawPolygon. Expected _wxPseudoMetaFile_p.");
1358 return NULL;
1359 }
1360 }
1361 if (_obj2)
1362{
e0672e2f
RD
1363 _arg2 = wxPoint_LIST_helper(_obj2, &NPOINTS);
1364 if (_arg2 == NULL) {
1365 return NULL;
1366 }
e91a9dfc
RD
1367}
1368{
e0672e2f 1369 _arg1 = NPOINTS;
e91a9dfc
RD
1370}
1371{
4268f798 1372 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
1373 wxPseudoMetaFile_DrawPolygon(_arg0,_arg1,_arg2,_arg3);
1374
4268f798
RD
1375 wxPyEndAllowThreads(__tstate);
1376 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
1377} Py_INCREF(Py_None);
1378 _resultobj = Py_None;
1379{
1380 delete [] _arg2;
1381}
1382 return _resultobj;
1383}
1384
1385#define wxPseudoMetaFile_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1))
1386static PyObject *_wrap_wxPseudoMetaFile_DrawSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
1387 PyObject * _resultobj;
1388 wxPseudoMetaFile * _arg0;
1389 int _arg1;
1390 wxPoint * _arg2;
1391 PyObject * _argo0 = 0;
e0672e2f 1392 int NPOINTS;
e91a9dfc 1393 PyObject * _obj2 = 0;
eec92d76 1394 char *_kwnames[] = { "self","points", NULL };
e91a9dfc
RD
1395
1396 self = self;
1397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_DrawSpline",_kwnames,&_argo0,&_obj2))
1398 return NULL;
1399 if (_argo0) {
1400 if (_argo0 == Py_None) { _arg0 = NULL; }
1401 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1402 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawSpline. Expected _wxPseudoMetaFile_p.");
1403 return NULL;
1404 }
1405 }
1406 if (_obj2)
1407{
e0672e2f
RD
1408 _arg2 = wxPoint_LIST_helper(_obj2, &NPOINTS);
1409 if (_arg2 == NULL) {
1410 return NULL;
1411 }
e91a9dfc
RD
1412}
1413{
e0672e2f 1414 _arg1 = NPOINTS;
e91a9dfc
RD
1415}
1416{
4268f798 1417 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
1418 wxPseudoMetaFile_DrawSpline(_arg0,_arg1,_arg2);
1419
4268f798
RD
1420 wxPyEndAllowThreads(__tstate);
1421 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
1422} Py_INCREF(Py_None);
1423 _resultobj = Py_None;
1424{
1425 delete [] _arg2;
1426}
1427 return _resultobj;
1428}
1429
1430#define wxPseudoMetaFile_SetClippingRect(_swigobj,_swigarg0) (_swigobj->SetClippingRect(_swigarg0))
1431static PyObject *_wrap_wxPseudoMetaFile_SetClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
1432 PyObject * _resultobj;
1433 wxPseudoMetaFile * _arg0;
1434 wxRect * _arg1;
1435 PyObject * _argo0 = 0;
2348eaee
RD
1436 wxRect temp;
1437 PyObject * _obj1 = 0;
e91a9dfc
RD
1438 char *_kwnames[] = { "self","rect", NULL };
1439
1440 self = self;
2348eaee 1441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_SetClippingRect",_kwnames,&_argo0,&_obj1))
e91a9dfc
RD
1442 return NULL;
1443 if (_argo0) {
1444 if (_argo0 == Py_None) { _arg0 = NULL; }
1445 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1446 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetClippingRect. Expected _wxPseudoMetaFile_p.");
1447 return NULL;
1448 }
1449 }
2348eaee
RD
1450{
1451 _arg1 = &temp;
1452 if (! wxRect_helper(_obj1, &_arg1))
e91a9dfc 1453 return NULL;
2348eaee 1454}
e91a9dfc 1455{
4268f798 1456 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
1457 wxPseudoMetaFile_SetClippingRect(_arg0,*_arg1);
1458
4268f798
RD
1459 wxPyEndAllowThreads(__tstate);
1460 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
1461} Py_INCREF(Py_None);
1462 _resultobj = Py_None;
1463 return _resultobj;
1464}
1465
1466#define wxPseudoMetaFile_DestroyClippingRect(_swigobj) (_swigobj->DestroyClippingRect())
1467static PyObject *_wrap_wxPseudoMetaFile_DestroyClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
1468 PyObject * _resultobj;
1469 wxPseudoMetaFile * _arg0;
1470 PyObject * _argo0 = 0;
1471 char *_kwnames[] = { "self", NULL };
1472
1473 self = self;
1474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_DestroyClippingRect",_kwnames,&_argo0))
1475 return NULL;
1476 if (_argo0) {
1477 if (_argo0 == Py_None) { _arg0 = NULL; }
1478 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1479 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DestroyClippingRect. Expected _wxPseudoMetaFile_p.");
1480 return NULL;
1481 }
1482 }
1483{
4268f798 1484 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
1485 wxPseudoMetaFile_DestroyClippingRect(_arg0);
1486
4268f798
RD
1487 wxPyEndAllowThreads(__tstate);
1488 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
1489} Py_INCREF(Py_None);
1490 _resultobj = Py_None;
1491 return _resultobj;
1492}
1493
1494#define wxPseudoMetaFile_SetPen(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPen(_swigarg0,_swigarg1))
1495static PyObject *_wrap_wxPseudoMetaFile_SetPen(PyObject *self, PyObject *args, PyObject *kwargs) {
1496 PyObject * _resultobj;
1497 wxPseudoMetaFile * _arg0;
1498 wxPen * _arg1;
1499 bool _arg2 = (bool ) FALSE;
1500 PyObject * _argo0 = 0;
d74525f7 1501 PyObject * _obj1 = 0;
e91a9dfc
RD
1502 int tempbool2 = (int) FALSE;
1503 char *_kwnames[] = { "self","pen","isOutline", NULL };
1504
1505 self = self;
d74525f7 1506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPseudoMetaFile_SetPen",_kwnames,&_argo0,&_obj1,&tempbool2))
e91a9dfc
RD
1507 return NULL;
1508 if (_argo0) {
1509 if (_argo0 == Py_None) { _arg0 = NULL; }
1510 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1511 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetPen. Expected _wxPseudoMetaFile_p.");
1512 return NULL;
1513 }
1514 }
d74525f7
RD
1515{
1516 wxPen* temp;
1517 if (_obj1) {
1518 if (_obj1 == Py_None) { temp = NULL; }
1519 else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxPen_p")) {
1520 PyErr_SetString(PyExc_TypeError,"Type error, expected _wxPen_p.");
e91a9dfc
RD
1521 return NULL;
1522 }
1523 }
d74525f7
RD
1524 if (temp)
1525 _arg1 = wxThePenList->FindOrCreatePen(temp->GetColour(),
1526 temp->GetWidth(),
1527 temp->GetStyle());
1528 else
1529 _arg1 = NULL;
1530}
e91a9dfc
RD
1531 _arg2 = (bool ) tempbool2;
1532{
4268f798 1533 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
1534 wxPseudoMetaFile_SetPen(_arg0,_arg1,_arg2);
1535
4268f798
RD
1536 wxPyEndAllowThreads(__tstate);
1537 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
1538} Py_INCREF(Py_None);
1539 _resultobj = Py_None;
1540 return _resultobj;
1541}
1542
1543#define wxPseudoMetaFile_SetBrush(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetBrush(_swigarg0,_swigarg1))
1544static PyObject *_wrap_wxPseudoMetaFile_SetBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
1545 PyObject * _resultobj;
1546 wxPseudoMetaFile * _arg0;
1547 wxBrush * _arg1;
1548 bool _arg2 = (bool ) FALSE;
1549 PyObject * _argo0 = 0;
d74525f7 1550 PyObject * _obj1 = 0;
e91a9dfc
RD
1551 int tempbool2 = (int) FALSE;
1552 char *_kwnames[] = { "self","brush","isFill", NULL };
1553
1554 self = self;
d74525f7 1555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPseudoMetaFile_SetBrush",_kwnames,&_argo0,&_obj1,&tempbool2))
e91a9dfc
RD
1556 return NULL;
1557 if (_argo0) {
1558 if (_argo0 == Py_None) { _arg0 = NULL; }
1559 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1560 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetBrush. Expected _wxPseudoMetaFile_p.");
1561 return NULL;
1562 }
1563 }
d74525f7
RD
1564{
1565 wxBrush* temp;
1566 if (_obj1) {
1567 if (_obj1 == Py_None) { temp = NULL; }
1568 else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxBrush_p")) {
1569 PyErr_SetString(PyExc_TypeError,"Type error, expected _wxBrush_p.");
e91a9dfc
RD
1570 return NULL;
1571 }
1572 }
d74525f7
RD
1573 if (temp)
1574 _arg1 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
1575 else
1576 _arg1 = NULL;
1577}
e91a9dfc
RD
1578 _arg2 = (bool ) tempbool2;
1579{
4268f798 1580 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
1581 wxPseudoMetaFile_SetBrush(_arg0,_arg1,_arg2);
1582
4268f798
RD
1583 wxPyEndAllowThreads(__tstate);
1584 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
1585} Py_INCREF(Py_None);
1586 _resultobj = Py_None;
1587 return _resultobj;
1588}
1589
1590#define wxPseudoMetaFile_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
1591static PyObject *_wrap_wxPseudoMetaFile_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1592 PyObject * _resultobj;
1593 wxPseudoMetaFile * _arg0;
1594 wxFont * _arg1;
1595 PyObject * _argo0 = 0;
d74525f7 1596 PyObject * _obj1 = 0;
e91a9dfc
RD
1597 char *_kwnames[] = { "self","font", NULL };
1598
1599 self = self;
d74525f7 1600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_SetFont",_kwnames,&_argo0,&_obj1))
e91a9dfc
RD
1601 return NULL;
1602 if (_argo0) {
1603 if (_argo0 == Py_None) { _arg0 = NULL; }
1604 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1605 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetFont. Expected _wxPseudoMetaFile_p.");
1606 return NULL;
1607 }
1608 }
d74525f7
RD
1609{
1610 wxFont* temp;
1611 if (_obj1) {
1612 if (_obj1 == Py_None) { temp = NULL; }
1613 else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxFont_p")) {
1614 PyErr_SetString(PyExc_TypeError,"Type error, expected _wxFont_p.");
e91a9dfc
RD
1615 return NULL;
1616 }
1617 }
d74525f7
RD
1618 if (temp)
1619 _arg1 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
1620 temp->GetFamily(),
1621 temp->GetStyle(),
1622 temp->GetWeight(),
1623 temp->GetUnderlined(),
1624 temp->GetFaceName(),
1625 temp->GetEncoding());
1626 else
1627 _arg1 = NULL;
1628}
e91a9dfc 1629{
4268f798 1630 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
1631 wxPseudoMetaFile_SetFont(_arg0,_arg1);
1632
4268f798
RD
1633 wxPyEndAllowThreads(__tstate);
1634 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
1635} Py_INCREF(Py_None);
1636 _resultobj = Py_None;
1637 return _resultobj;
1638}
1639
1640#define wxPseudoMetaFile_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
1641static PyObject *_wrap_wxPseudoMetaFile_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1642 PyObject * _resultobj;
1643 wxPseudoMetaFile * _arg0;
1644 wxColour * _arg1;
1645 PyObject * _argo0 = 0;
f6bcfd97
BP
1646 wxColour temp;
1647 PyObject * _obj1 = 0;
e91a9dfc
RD
1648 char *_kwnames[] = { "self","colour", NULL };
1649
1650 self = self;
f6bcfd97 1651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_SetTextColour",_kwnames,&_argo0,&_obj1))
e91a9dfc
RD
1652 return NULL;
1653 if (_argo0) {
1654 if (_argo0 == Py_None) { _arg0 = NULL; }
1655 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1656 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetTextColour. Expected _wxPseudoMetaFile_p.");
1657 return NULL;
1658 }
1659 }
f6bcfd97
BP
1660{
1661 _arg1 = &temp;
1662 if (! wxColour_helper(_obj1, &_arg1))
e91a9dfc 1663 return NULL;
f6bcfd97 1664}
e91a9dfc 1665{
4268f798 1666 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
1667 wxPseudoMetaFile_SetTextColour(_arg0,*_arg1);
1668
4268f798
RD
1669 wxPyEndAllowThreads(__tstate);
1670 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
1671} Py_INCREF(Py_None);
1672 _resultobj = Py_None;
1673 return _resultobj;
1674}
1675
1676#define wxPseudoMetaFile_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
1677static PyObject *_wrap_wxPseudoMetaFile_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1678 PyObject * _resultobj;
1679 wxPseudoMetaFile * _arg0;
1680 wxColour * _arg1;
1681 PyObject * _argo0 = 0;
f6bcfd97
BP
1682 wxColour temp;
1683 PyObject * _obj1 = 0;
e91a9dfc
RD
1684 char *_kwnames[] = { "self","colour", NULL };
1685
1686 self = self;
f6bcfd97 1687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
e91a9dfc
RD
1688 return NULL;
1689 if (_argo0) {
1690 if (_argo0 == Py_None) { _arg0 = NULL; }
1691 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1692 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetBackgroundColour. Expected _wxPseudoMetaFile_p.");
1693 return NULL;
1694 }
1695 }
f6bcfd97
BP
1696{
1697 _arg1 = &temp;
1698 if (! wxColour_helper(_obj1, &_arg1))
e91a9dfc 1699 return NULL;
f6bcfd97 1700}
e91a9dfc 1701{
4268f798 1702 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
1703 wxPseudoMetaFile_SetBackgroundColour(_arg0,*_arg1);
1704
4268f798
RD
1705 wxPyEndAllowThreads(__tstate);
1706 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
1707} Py_INCREF(Py_None);
1708 _resultobj = Py_None;
1709 return _resultobj;
1710}
1711
1712#define wxPseudoMetaFile_SetBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetBackgroundMode(_swigarg0))
1713static PyObject *_wrap_wxPseudoMetaFile_SetBackgroundMode(PyObject *self, PyObject *args, PyObject *kwargs) {
1714 PyObject * _resultobj;
1715 wxPseudoMetaFile * _arg0;
1716 int _arg1;
1717 PyObject * _argo0 = 0;
1718 char *_kwnames[] = { "self","mode", NULL };
1719
1720 self = self;
1721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPseudoMetaFile_SetBackgroundMode",_kwnames,&_argo0,&_arg1))
1722 return NULL;
1723 if (_argo0) {
1724 if (_argo0 == Py_None) { _arg0 = NULL; }
1725 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1726 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetBackgroundMode. Expected _wxPseudoMetaFile_p.");
1727 return NULL;
1728 }
1729 }
1730{
4268f798 1731 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
1732 wxPseudoMetaFile_SetBackgroundMode(_arg0,_arg1);
1733
4268f798
RD
1734 wxPyEndAllowThreads(__tstate);
1735 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
1736} Py_INCREF(Py_None);
1737 _resultobj = Py_None;
1738 return _resultobj;
1739}
1740
1741static void *SwigwxPyRectangleShapeTowxPyShape(void *ptr) {
1742 wxPyRectangleShape *src;
1743 wxPyShape *dest;
1744 src = (wxPyRectangleShape *) ptr;
1745 dest = (wxPyShape *) src;
1746 return (void *) dest;
1747}
1748
1749static void *SwigwxPyRectangleShapeTowxPyShapeEvtHandler(void *ptr) {
1750 wxPyRectangleShape *src;
1751 wxPyShapeEvtHandler *dest;
1752 src = (wxPyRectangleShape *) ptr;
1753 dest = (wxPyShapeEvtHandler *) src;
1754 return (void *) dest;
1755}
1756
9416aa89
RD
1757static void *SwigwxPyRectangleShapeTowxObject(void *ptr) {
1758 wxPyRectangleShape *src;
1759 wxObject *dest;
1760 src = (wxPyRectangleShape *) ptr;
1761 dest = (wxObject *) src;
1762 return (void *) dest;
1763}
1764
e91a9dfc
RD
1765#define new_wxPyRectangleShape(_swigarg0,_swigarg1) (new wxPyRectangleShape(_swigarg0,_swigarg1))
1766static PyObject *_wrap_new_wxPyRectangleShape(PyObject *self, PyObject *args, PyObject *kwargs) {
1767 PyObject * _resultobj;
1768 wxPyRectangleShape * _result;
1769 double _arg0 = (double ) 0.0;
1770 double _arg1 = (double ) 0.0;
1771 char *_kwnames[] = { "width","height", NULL };
1772 char _ptemp[128];
1773
1774 self = self;
1775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|dd:new_wxPyRectangleShape",_kwnames,&_arg0,&_arg1))
1776 return NULL;
1777{
4268f798 1778 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
1779 _result = (wxPyRectangleShape *)new_wxPyRectangleShape(_arg0,_arg1);
1780
4268f798
RD
1781 wxPyEndAllowThreads(__tstate);
1782 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
1783} if (_result) {
1784 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyRectangleShape_p");
1785 _resultobj = Py_BuildValue("s",_ptemp);
1786 } else {
1787 Py_INCREF(Py_None);
1788 _resultobj = Py_None;
1789 }
1790 return _resultobj;
1791}
1792
0122b7e3
RD
1793#define wxPyRectangleShape__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
1794static PyObject *_wrap_wxPyRectangleShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
e91a9dfc
RD
1795 PyObject * _resultobj;
1796 wxPyRectangleShape * _arg0;
1797 PyObject * _arg1;
f6bcfd97 1798 PyObject * _arg2;
e91a9dfc
RD
1799 PyObject * _argo0 = 0;
1800 PyObject * _obj1 = 0;
f6bcfd97
BP
1801 PyObject * _obj2 = 0;
1802 char *_kwnames[] = { "self","self","_class", NULL };
e91a9dfc
RD
1803
1804 self = self;
0122b7e3 1805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyRectangleShape__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
e91a9dfc
RD
1806 return NULL;
1807 if (_argo0) {
1808 if (_argo0 == Py_None) { _arg0 = NULL; }
1809 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
0122b7e3 1810 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape__setCallbackInfo. Expected _wxPyRectangleShape_p.");
e91a9dfc
RD
1811 return NULL;
1812 }
1813 }
1814{
1815 _arg1 = _obj1;
1816}
f6bcfd97
BP
1817{
1818 _arg2 = _obj2;
1819}
e91a9dfc 1820{
4268f798 1821 PyThreadState* __tstate = wxPyBeginAllowThreads();
0122b7e3 1822 wxPyRectangleShape__setCallbackInfo(_arg0,_arg1,_arg2);
e91a9dfc 1823
4268f798
RD
1824 wxPyEndAllowThreads(__tstate);
1825 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
1826} Py_INCREF(Py_None);
1827 _resultobj = Py_None;
1828 return _resultobj;
1829}
1830
1831#define wxPyRectangleShape_SetCornerRadius(_swigobj,_swigarg0) (_swigobj->SetCornerRadius(_swigarg0))
1832static PyObject *_wrap_wxPyRectangleShape_SetCornerRadius(PyObject *self, PyObject *args, PyObject *kwargs) {
1833 PyObject * _resultobj;
1834 wxPyRectangleShape * _arg0;
1835 double _arg1;
1836 PyObject * _argo0 = 0;
1837 char *_kwnames[] = { "self","radius", NULL };
1838
1839 self = self;
1840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Od:wxPyRectangleShape_SetCornerRadius",_kwnames,&_argo0,&_arg1))
1841 return NULL;
1842 if (_argo0) {
1843 if (_argo0 == Py_None) { _arg0 = NULL; }
1844 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
1845 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_SetCornerRadius. Expected _wxPyRectangleShape_p.");
1846 return NULL;
1847 }
1848 }
1849{
4268f798 1850 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
1851 wxPyRectangleShape_SetCornerRadius(_arg0,_arg1);
1852
4268f798
RD
1853 wxPyEndAllowThreads(__tstate);
1854 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
1855} Py_INCREF(Py_None);
1856 _resultobj = Py_None;
1857 return _resultobj;
1858}
1859
1860#define wxPyRectangleShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
1861static PyObject *_wrap_wxPyRectangleShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
1862 PyObject * _resultobj;
1863 wxPyRectangleShape * _arg0;
1864 PyObject * _argo0 = 0;
1865 char *_kwnames[] = { "self", NULL };
1866
1867 self = self;
1868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyRectangleShape_base_OnDelete",_kwnames,&_argo0))
1869 return NULL;
1870 if (_argo0) {
1871 if (_argo0 == Py_None) { _arg0 = NULL; }
1872 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
1873 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDelete. Expected _wxPyRectangleShape_p.");
1874 return NULL;
1875 }
1876 }
1877{
4268f798 1878 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
1879 wxPyRectangleShape_base_OnDelete(_arg0);
1880
4268f798
RD
1881 wxPyEndAllowThreads(__tstate);
1882 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
1883} Py_INCREF(Py_None);
1884 _resultobj = Py_None;
1885 return _resultobj;
1886}
1887
1888#define wxPyRectangleShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
1889static PyObject *_wrap_wxPyRectangleShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
1890 PyObject * _resultobj;
1891 wxPyRectangleShape * _arg0;
1892 wxDC * _arg1;
1893 PyObject * _argo0 = 0;
1894 PyObject * _argo1 = 0;
1895 char *_kwnames[] = { "self","dc", NULL };
1896
1897 self = self;
1898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnDraw",_kwnames,&_argo0,&_argo1))
1899 return NULL;
1900 if (_argo0) {
1901 if (_argo0 == Py_None) { _arg0 = NULL; }
1902 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
1903 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDraw. Expected _wxPyRectangleShape_p.");
1904 return NULL;
1905 }
1906 }
1907 if (_argo1) {
1908 if (_argo1 == Py_None) { _arg1 = NULL; }
1909 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
1910 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnDraw. Expected _wxDC_p.");
1911 return NULL;
1912 }
1913 }
1914{
4268f798 1915 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
1916 wxPyRectangleShape_base_OnDraw(_arg0,*_arg1);
1917
4268f798
RD
1918 wxPyEndAllowThreads(__tstate);
1919 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
1920} Py_INCREF(Py_None);
1921 _resultobj = Py_None;
1922 return _resultobj;
1923}
1924
1925#define wxPyRectangleShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
1926static PyObject *_wrap_wxPyRectangleShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
1927 PyObject * _resultobj;
1928 wxPyRectangleShape * _arg0;
1929 wxDC * _arg1;
1930 PyObject * _argo0 = 0;
1931 PyObject * _argo1 = 0;
1932 char *_kwnames[] = { "self","dc", NULL };
1933
1934 self = self;
1935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1))
1936 return NULL;
1937 if (_argo0) {
1938 if (_argo0 == Py_None) { _arg0 = NULL; }
1939 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
1940 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDrawContents. Expected _wxPyRectangleShape_p.");
1941 return NULL;
1942 }
1943 }
1944 if (_argo1) {
1945 if (_argo1 == Py_None) { _arg1 = NULL; }
1946 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
1947 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnDrawContents. Expected _wxDC_p.");
1948 return NULL;
1949 }
1950 }
1951{
4268f798 1952 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
1953 wxPyRectangleShape_base_OnDrawContents(_arg0,*_arg1);
1954
4268f798
RD
1955 wxPyEndAllowThreads(__tstate);
1956 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
1957} Py_INCREF(Py_None);
1958 _resultobj = Py_None;
1959 return _resultobj;
1960}
1961
1962#define wxPyRectangleShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
1963static PyObject *_wrap_wxPyRectangleShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
1964 PyObject * _resultobj;
1965 wxPyRectangleShape * _arg0;
1966 wxDC * _arg1;
1967 bool _arg2 = (bool ) FALSE;
1968 PyObject * _argo0 = 0;
1969 PyObject * _argo1 = 0;
1970 int tempbool2 = (int) FALSE;
1971 char *_kwnames[] = { "self","dc","erase", NULL };
1972
1973 self = self;
1974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyRectangleShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2))
1975 return NULL;
1976 if (_argo0) {
1977 if (_argo0 == Py_None) { _arg0 = NULL; }
1978 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
1979 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDrawBranches. Expected _wxPyRectangleShape_p.");
1980 return NULL;
1981 }
1982 }
1983 if (_argo1) {
1984 if (_argo1 == Py_None) { _arg1 = NULL; }
1985 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
1986 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnDrawBranches. Expected _wxDC_p.");
1987 return NULL;
1988 }
1989 }
1990 _arg2 = (bool ) tempbool2;
1991{
4268f798 1992 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
1993 wxPyRectangleShape_base_OnDrawBranches(_arg0,*_arg1,_arg2);
1994
4268f798
RD
1995 wxPyEndAllowThreads(__tstate);
1996 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
1997} Py_INCREF(Py_None);
1998 _resultobj = Py_None;
1999 return _resultobj;
2000}
2001
2002#define wxPyRectangleShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
2003static PyObject *_wrap_wxPyRectangleShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
2004 PyObject * _resultobj;
2005 wxPyRectangleShape * _arg0;
2006 wxDC * _arg1;
2007 PyObject * _argo0 = 0;
2008 PyObject * _argo1 = 0;
2009 char *_kwnames[] = { "self","dc", NULL };
2010
2011 self = self;
2012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1))
2013 return NULL;
2014 if (_argo0) {
2015 if (_argo0 == Py_None) { _arg0 = NULL; }
2016 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2017 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnMoveLinks. Expected _wxPyRectangleShape_p.");
2018 return NULL;
2019 }
2020 }
2021 if (_argo1) {
2022 if (_argo1 == Py_None) { _arg1 = NULL; }
2023 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2024 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnMoveLinks. Expected _wxDC_p.");
2025 return NULL;
2026 }
2027 }
2028{
4268f798 2029 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
2030 wxPyRectangleShape_base_OnMoveLinks(_arg0,*_arg1);
2031
4268f798
RD
2032 wxPyEndAllowThreads(__tstate);
2033 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
2034} Py_INCREF(Py_None);
2035 _resultobj = Py_None;
2036 return _resultobj;
2037}
2038
2039#define wxPyRectangleShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
2040static PyObject *_wrap_wxPyRectangleShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
2041 PyObject * _resultobj;
2042 wxPyRectangleShape * _arg0;
2043 wxDC * _arg1;
2044 PyObject * _argo0 = 0;
2045 PyObject * _argo1 = 0;
2046 char *_kwnames[] = { "self","dc", NULL };
2047
2048 self = self;
2049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnErase",_kwnames,&_argo0,&_argo1))
2050 return NULL;
2051 if (_argo0) {
2052 if (_argo0 == Py_None) { _arg0 = NULL; }
2053 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2054 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnErase. Expected _wxPyRectangleShape_p.");
2055 return NULL;
2056 }
2057 }
2058 if (_argo1) {
2059 if (_argo1 == Py_None) { _arg1 = NULL; }
2060 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2061 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnErase. Expected _wxDC_p.");
2062 return NULL;
2063 }
2064 }
2065{
4268f798 2066 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
2067 wxPyRectangleShape_base_OnErase(_arg0,*_arg1);
2068
4268f798
RD
2069 wxPyEndAllowThreads(__tstate);
2070 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
2071} Py_INCREF(Py_None);
2072 _resultobj = Py_None;
2073 return _resultobj;
2074}
2075
2076#define wxPyRectangleShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
2077static PyObject *_wrap_wxPyRectangleShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
2078 PyObject * _resultobj;
2079 wxPyRectangleShape * _arg0;
2080 wxDC * _arg1;
2081 PyObject * _argo0 = 0;
2082 PyObject * _argo1 = 0;
2083 char *_kwnames[] = { "self","dc", NULL };
2084
2085 self = self;
2086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1))
2087 return NULL;
2088 if (_argo0) {
2089 if (_argo0 == Py_None) { _arg0 = NULL; }
2090 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2091 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnEraseContents. Expected _wxPyRectangleShape_p.");
2092 return NULL;
2093 }
2094 }
2095 if (_argo1) {
2096 if (_argo1 == Py_None) { _arg1 = NULL; }
2097 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2098 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnEraseContents. Expected _wxDC_p.");
2099 return NULL;
2100 }
2101 }
2102{
4268f798 2103 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
2104 wxPyRectangleShape_base_OnEraseContents(_arg0,*_arg1);
2105
4268f798
RD
2106 wxPyEndAllowThreads(__tstate);
2107 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
2108} Py_INCREF(Py_None);
2109 _resultobj = Py_None;
2110 return _resultobj;
2111}
2112
2113#define wxPyRectangleShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
2114static PyObject *_wrap_wxPyRectangleShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
2115 PyObject * _resultobj;
2116 wxPyRectangleShape * _arg0;
2117 wxDC * _arg1;
2118 PyObject * _argo0 = 0;
2119 PyObject * _argo1 = 0;
2120 char *_kwnames[] = { "self","dc", NULL };
2121
2122 self = self;
2123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnHighlight",_kwnames,&_argo0,&_argo1))
2124 return NULL;
2125 if (_argo0) {
2126 if (_argo0 == Py_None) { _arg0 = NULL; }
2127 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2128 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnHighlight. Expected _wxPyRectangleShape_p.");
2129 return NULL;
2130 }
2131 }
2132 if (_argo1) {
2133 if (_argo1 == Py_None) { _arg1 = NULL; }
2134 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2135 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnHighlight. Expected _wxDC_p.");
2136 return NULL;
2137 }
2138 }
2139{
4268f798 2140 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
2141 wxPyRectangleShape_base_OnHighlight(_arg0,*_arg1);
2142
4268f798
RD
2143 wxPyEndAllowThreads(__tstate);
2144 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
2145} Py_INCREF(Py_None);
2146 _resultobj = Py_None;
2147 return _resultobj;
2148}
2149
2150#define wxPyRectangleShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2151static PyObject *_wrap_wxPyRectangleShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2152 PyObject * _resultobj;
2153 wxPyRectangleShape * _arg0;
2154 double _arg1;
2155 double _arg2;
2156 int _arg3 = (int ) 0;
2157 int _arg4 = (int ) 0;
2158 PyObject * _argo0 = 0;
2159 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
2160
2161 self = self;
2162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
2163 return NULL;
2164 if (_argo0) {
2165 if (_argo0 == Py_None) { _arg0 = NULL; }
2166 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2167 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnLeftClick. Expected _wxPyRectangleShape_p.");
2168 return NULL;
2169 }
2170 }
2171{
4268f798 2172 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
2173 wxPyRectangleShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4);
2174
4268f798
RD
2175 wxPyEndAllowThreads(__tstate);
2176 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
2177} Py_INCREF(Py_None);
2178 _resultobj = Py_None;
2179 return _resultobj;
2180}
2181
2182#define wxPyRectangleShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2183static PyObject *_wrap_wxPyRectangleShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2184 PyObject * _resultobj;
2185 wxPyRectangleShape * _arg0;
2186 double _arg1;
2187 double _arg2;
2188 int _arg3 = (int ) 0;
2189 int _arg4 = (int ) 0;
2190 PyObject * _argo0 = 0;
2191 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
2192
2193 self = self;
2194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
2195 return NULL;
2196 if (_argo0) {
2197 if (_argo0 == Py_None) { _arg0 = NULL; }
2198 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2199 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnLeftDoubleClick. Expected _wxPyRectangleShape_p.");
2200 return NULL;
2201 }
2202 }
2203{
4268f798 2204 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
2205 wxPyRectangleShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4);
2206
4268f798
RD
2207 wxPyEndAllowThreads(__tstate);
2208 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
2209} Py_INCREF(Py_None);
2210 _resultobj = Py_None;
2211 return _resultobj;
2212}
2213
2214#define wxPyRectangleShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2215static PyObject *_wrap_wxPyRectangleShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2216 PyObject * _resultobj;
2217 wxPyRectangleShape * _arg0;
2218 double _arg1;
2219 double _arg2;
2220 int _arg3 = (int ) 0;
2221 int _arg4 = (int ) 0;
2222 PyObject * _argo0 = 0;
2223 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
2224
2225 self = self;
2226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
2227 return NULL;
2228 if (_argo0) {
2229 if (_argo0 == Py_None) { _arg0 = NULL; }
2230 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2231 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnRightClick. Expected _wxPyRectangleShape_p.");
2232 return NULL;
2233 }
2234 }
2235{
4268f798 2236 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
2237 wxPyRectangleShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4);
2238
4268f798
RD
2239 wxPyEndAllowThreads(__tstate);
2240 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
2241} Py_INCREF(Py_None);
2242 _resultobj = Py_None;
2243 return _resultobj;
2244}
2245
2246#define wxPyRectangleShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
2247static PyObject *_wrap_wxPyRectangleShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2248 PyObject * _resultobj;
2249 wxPyRectangleShape * _arg0;
2250 double _arg1;
2251 double _arg2;
2252 PyObject * _argo0 = 0;
2253 char *_kwnames[] = { "self","x","y", NULL };
2254
2255 self = self;
2256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyRectangleShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2))
2257 return NULL;
2258 if (_argo0) {
2259 if (_argo0 == Py_None) { _arg0 = NULL; }
2260 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2261 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnSize. Expected _wxPyRectangleShape_p.");
2262 return NULL;
2263 }
2264 }
2265{
4268f798 2266 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
2267 wxPyRectangleShape_base_OnSize(_arg0,_arg1,_arg2);
2268
4268f798
RD
2269 wxPyEndAllowThreads(__tstate);
2270 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
2271} Py_INCREF(Py_None);
2272 _resultobj = Py_None;
2273 return _resultobj;
2274}
2275
2276#define wxPyRectangleShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2277static PyObject *_wrap_wxPyRectangleShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
2278 PyObject * _resultobj;
2279 bool _result;
2280 wxPyRectangleShape * _arg0;
2281 wxDC * _arg1;
2282 double _arg2;
2283 double _arg3;
2284 double _arg4;
2285 double _arg5;
2286 bool _arg6 = (bool ) TRUE;
2287 PyObject * _argo0 = 0;
2288 PyObject * _argo1 = 0;
2289 int tempbool6 = (int) TRUE;
2290 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
2291
2292 self = self;
2293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyRectangleShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
2294 return NULL;
2295 if (_argo0) {
2296 if (_argo0 == Py_None) { _arg0 = NULL; }
2297 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2298 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnMovePre. Expected _wxPyRectangleShape_p.");
2299 return NULL;
2300 }
2301 }
2302 if (_argo1) {
2303 if (_argo1 == Py_None) { _arg1 = NULL; }
2304 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2305 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnMovePre. Expected _wxDC_p.");
2306 return NULL;
2307 }
2308 }
2309 _arg6 = (bool ) tempbool6;
2310{
4268f798 2311 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
2312 _result = (bool )wxPyRectangleShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
2313
4268f798
RD
2314 wxPyEndAllowThreads(__tstate);
2315 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
2316} _resultobj = Py_BuildValue("i",_result);
2317 return _resultobj;
2318}
2319
2320#define wxPyRectangleShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2321static PyObject *_wrap_wxPyRectangleShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
2322 PyObject * _resultobj;
2323 wxPyRectangleShape * _arg0;
2324 wxDC * _arg1;
2325 double _arg2;
2326 double _arg3;
2327 double _arg4;
2328 double _arg5;
2329 bool _arg6 = (bool ) TRUE;
2330 PyObject * _argo0 = 0;
2331 PyObject * _argo1 = 0;
2332 int tempbool6 = (int) TRUE;
2333 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
2334
2335 self = self;
2336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyRectangleShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
2337 return NULL;
2338 if (_argo0) {
2339 if (_argo0 == Py_None) { _arg0 = NULL; }
2340 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2341 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnMovePost. Expected _wxPyRectangleShape_p.");
2342 return NULL;
2343 }
2344 }
2345 if (_argo1) {
2346 if (_argo1 == Py_None) { _arg1 = NULL; }
2347 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2348 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnMovePost. Expected _wxDC_p.");
2349 return NULL;
2350 }
2351 }
2352 _arg6 = (bool ) tempbool6;
2353{
4268f798 2354 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
2355 wxPyRectangleShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
2356
4268f798
RD
2357 wxPyEndAllowThreads(__tstate);
2358 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
2359} Py_INCREF(Py_None);
2360 _resultobj = Py_None;
2361 return _resultobj;
2362}
2363
2364#define wxPyRectangleShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2365static PyObject *_wrap_wxPyRectangleShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2366 PyObject * _resultobj;
2367 wxPyRectangleShape * _arg0;
2368 bool _arg1;
2369 double _arg2;
2370 double _arg3;
2371 int _arg4 = (int ) 0;
2372 int _arg5 = (int ) 0;
2373 PyObject * _argo0 = 0;
2374 int tempbool1;
2375 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
2376
2377 self = self;
2378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyRectangleShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
2379 return NULL;
2380 if (_argo0) {
2381 if (_argo0 == Py_None) { _arg0 = NULL; }
2382 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2383 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDragLeft. Expected _wxPyRectangleShape_p.");
2384 return NULL;
2385 }
2386 }
2387 _arg1 = (bool ) tempbool1;
2388{
4268f798 2389 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
2390 wxPyRectangleShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
2391
4268f798
RD
2392 wxPyEndAllowThreads(__tstate);
2393 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
2394} Py_INCREF(Py_None);
2395 _resultobj = Py_None;
2396 return _resultobj;
2397}
2398
2399#define wxPyRectangleShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2400static PyObject *_wrap_wxPyRectangleShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2401 PyObject * _resultobj;
2402 wxPyRectangleShape * _arg0;
2403 double _arg1;
2404 double _arg2;
2405 int _arg3 = (int ) 0;
2406 int _arg4 = (int ) 0;
2407 PyObject * _argo0 = 0;
2408 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
2409
2410 self = self;
2411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
2412 return NULL;
2413 if (_argo0) {
2414 if (_argo0 == Py_None) { _arg0 = NULL; }
2415 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2416 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnBeginDragLeft. Expected _wxPyRectangleShape_p.");
2417 return NULL;
2418 }
2419 }
2420{
4268f798 2421 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
2422 wxPyRectangleShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
2423
4268f798
RD
2424 wxPyEndAllowThreads(__tstate);
2425 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
2426} Py_INCREF(Py_None);
2427 _resultobj = Py_None;
2428 return _resultobj;
2429}
2430
2431#define wxPyRectangleShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2432static PyObject *_wrap_wxPyRectangleShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2433 PyObject * _resultobj;
2434 wxPyRectangleShape * _arg0;
2435 double _arg1;
2436 double _arg2;
2437 int _arg3 = (int ) 0;
2438 int _arg4 = (int ) 0;
2439 PyObject * _argo0 = 0;
2440 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
2441
2442 self = self;
2443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
2444 return NULL;
2445 if (_argo0) {
2446 if (_argo0 == Py_None) { _arg0 = NULL; }
2447 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2448 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnEndDragLeft. Expected _wxPyRectangleShape_p.");
2449 return NULL;
2450 }
2451 }
2452{
4268f798 2453 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
2454 wxPyRectangleShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
2455
4268f798
RD
2456 wxPyEndAllowThreads(__tstate);
2457 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
2458} Py_INCREF(Py_None);
2459 _resultobj = Py_None;
2460 return _resultobj;
2461}
2462
2463#define wxPyRectangleShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2464static PyObject *_wrap_wxPyRectangleShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2465 PyObject * _resultobj;
2466 wxPyRectangleShape * _arg0;
2467 bool _arg1;
2468 double _arg2;
2469 double _arg3;
2470 int _arg4 = (int ) 0;
2471 int _arg5 = (int ) 0;
2472 PyObject * _argo0 = 0;
2473 int tempbool1;
2474 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
2475
2476 self = self;
2477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyRectangleShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
2478 return NULL;
2479 if (_argo0) {
2480 if (_argo0 == Py_None) { _arg0 = NULL; }
2481 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2482 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDragRight. Expected _wxPyRectangleShape_p.");
2483 return NULL;
2484 }
2485 }
2486 _arg1 = (bool ) tempbool1;
2487{
4268f798 2488 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
2489 wxPyRectangleShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
2490
4268f798
RD
2491 wxPyEndAllowThreads(__tstate);
2492 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
2493} Py_INCREF(Py_None);
2494 _resultobj = Py_None;
2495 return _resultobj;
2496}
2497
2498#define wxPyRectangleShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2499static PyObject *_wrap_wxPyRectangleShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2500 PyObject * _resultobj;
2501 wxPyRectangleShape * _arg0;
2502 double _arg1;
2503 double _arg2;
2504 int _arg3 = (int ) 0;
2505 int _arg4 = (int ) 0;
2506 PyObject * _argo0 = 0;
2507 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
2508
2509 self = self;
2510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
2511 return NULL;
2512 if (_argo0) {
2513 if (_argo0 == Py_None) { _arg0 = NULL; }
2514 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2515 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnBeginDragRight. Expected _wxPyRectangleShape_p.");
2516 return NULL;
2517 }
2518 }
2519{
4268f798 2520 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
2521 wxPyRectangleShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
2522
4268f798
RD
2523 wxPyEndAllowThreads(__tstate);
2524 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
2525} Py_INCREF(Py_None);
2526 _resultobj = Py_None;
2527 return _resultobj;
2528}
2529
2530#define wxPyRectangleShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2531static PyObject *_wrap_wxPyRectangleShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2532 PyObject * _resultobj;
2533 wxPyRectangleShape * _arg0;
2534 double _arg1;
2535 double _arg2;
2536 int _arg3 = (int ) 0;
2537 int _arg4 = (int ) 0;
2538 PyObject * _argo0 = 0;
2539 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
2540
2541 self = self;
2542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
2543 return NULL;
2544 if (_argo0) {
2545 if (_argo0 == Py_None) { _arg0 = NULL; }
2546 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2547 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnEndDragRight. Expected _wxPyRectangleShape_p.");
2548 return NULL;
2549 }
2550 }
2551{
4268f798 2552 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
2553 wxPyRectangleShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
2554
4268f798
RD
2555 wxPyEndAllowThreads(__tstate);
2556 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
2557} Py_INCREF(Py_None);
2558 _resultobj = Py_None;
2559 return _resultobj;
2560}
2561
2562#define wxPyRectangleShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2563static PyObject *_wrap_wxPyRectangleShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
2564 PyObject * _resultobj;
2565 wxPyRectangleShape * _arg0;
2566 wxDC * _arg1;
2567 double _arg2;
2568 double _arg3;
2569 double _arg4;
2570 double _arg5;
2571 PyObject * _argo0 = 0;
2572 PyObject * _argo1 = 0;
2573 char *_kwnames[] = { "self","dc","x","y","w","h", NULL };
2574
2575 self = self;
2576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyRectangleShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
2577 return NULL;
2578 if (_argo0) {
2579 if (_argo0 == Py_None) { _arg0 = NULL; }
2580 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2581 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDrawOutline. Expected _wxPyRectangleShape_p.");
2582 return NULL;
2583 }
2584 }
2585 if (_argo1) {
2586 if (_argo1 == Py_None) { _arg1 = NULL; }
2587 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2588 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnDrawOutline. Expected _wxDC_p.");
2589 return NULL;
2590 }
2591 }
2592{
4268f798 2593 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
2594 wxPyRectangleShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5);
2595
4268f798
RD
2596 wxPyEndAllowThreads(__tstate);
2597 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
2598} Py_INCREF(Py_None);
2599 _resultobj = Py_None;
2600 return _resultobj;
2601}
2602
2603#define wxPyRectangleShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
2604static PyObject *_wrap_wxPyRectangleShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
2605 PyObject * _resultobj;
2606 wxPyRectangleShape * _arg0;
2607 wxDC * _arg1;
2608 PyObject * _argo0 = 0;
2609 PyObject * _argo1 = 0;
2610 char *_kwnames[] = { "self","dc", NULL };
2611
2612 self = self;
2613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1))
2614 return NULL;
2615 if (_argo0) {
2616 if (_argo0 == Py_None) { _arg0 = NULL; }
2617 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2618 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDrawControlPoints. Expected _wxPyRectangleShape_p.");
2619 return NULL;
2620 }
2621 }
2622 if (_argo1) {
2623 if (_argo1 == Py_None) { _arg1 = NULL; }
2624 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2625 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnDrawControlPoints. Expected _wxDC_p.");
2626 return NULL;
2627 }
2628 }
2629{
4268f798 2630 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
2631 wxPyRectangleShape_base_OnDrawControlPoints(_arg0,*_arg1);
2632
4268f798
RD
2633 wxPyEndAllowThreads(__tstate);
2634 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
2635} Py_INCREF(Py_None);
2636 _resultobj = Py_None;
2637 return _resultobj;
2638}
2639
2640#define wxPyRectangleShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
2641static PyObject *_wrap_wxPyRectangleShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
2642 PyObject * _resultobj;
2643 wxPyRectangleShape * _arg0;
2644 wxDC * _arg1;
2645 PyObject * _argo0 = 0;
2646 PyObject * _argo1 = 0;
2647 char *_kwnames[] = { "self","dc", NULL };
2648
2649 self = self;
2650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1))
2651 return NULL;
2652 if (_argo0) {
2653 if (_argo0 == Py_None) { _arg0 = NULL; }
2654 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2655 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnEraseControlPoints. Expected _wxPyRectangleShape_p.");
2656 return NULL;
2657 }
2658 }
2659 if (_argo1) {
2660 if (_argo1 == Py_None) { _arg1 = NULL; }
2661 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2662 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnEraseControlPoints. Expected _wxDC_p.");
2663 return NULL;
2664 }
2665 }
2666{
4268f798 2667 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
2668 wxPyRectangleShape_base_OnEraseControlPoints(_arg0,*_arg1);
2669
4268f798
RD
2670 wxPyEndAllowThreads(__tstate);
2671 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
2672} Py_INCREF(Py_None);
2673 _resultobj = Py_None;
2674 return _resultobj;
2675}
2676
2677#define wxPyRectangleShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
2678static PyObject *_wrap_wxPyRectangleShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
2679 PyObject * _resultobj;
2680 wxPyRectangleShape * _arg0;
2681 wxDC * _arg1;
2682 bool _arg2 = (bool ) TRUE;
2683 PyObject * _argo0 = 0;
2684 PyObject * _argo1 = 0;
2685 int tempbool2 = (int) TRUE;
2686 char *_kwnames[] = { "self","dc","moveControlPoints", NULL };
2687
2688 self = self;
2689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyRectangleShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2))
2690 return NULL;
2691 if (_argo0) {
2692 if (_argo0 == Py_None) { _arg0 = NULL; }
2693 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2694 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnMoveLink. Expected _wxPyRectangleShape_p.");
2695 return NULL;
2696 }
2697 }
2698 if (_argo1) {
2699 if (_argo1 == Py_None) { _arg1 = NULL; }
2700 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2701 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnMoveLink. Expected _wxDC_p.");
2702 return NULL;
2703 }
2704 }
2705 _arg2 = (bool ) tempbool2;
2706{
4268f798 2707 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
2708 wxPyRectangleShape_base_OnMoveLink(_arg0,*_arg1,_arg2);
2709
4268f798
RD
2710 wxPyEndAllowThreads(__tstate);
2711 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
2712} Py_INCREF(Py_None);
2713 _resultobj = Py_None;
2714 return _resultobj;
2715}
2716
2717#define wxPyRectangleShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2718static PyObject *_wrap_wxPyRectangleShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2719 PyObject * _resultobj;
2720 wxPyRectangleShape * _arg0;
2348eaee 2721 wxPyControlPoint * _arg1;
e91a9dfc
RD
2722 bool _arg2;
2723 double _arg3;
2724 double _arg4;
2725 int _arg5 = (int ) 0;
2726 int _arg6 = (int ) 0;
2727 PyObject * _argo0 = 0;
2728 PyObject * _argo1 = 0;
2729 int tempbool2;
2730 char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL };
2731
2732 self = self;
2733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyRectangleShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6))
2734 return NULL;
2735 if (_argo0) {
2736 if (_argo0 == Py_None) { _arg0 = NULL; }
2737 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2738 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnSizingDragLeft. Expected _wxPyRectangleShape_p.");
2739 return NULL;
2740 }
2741 }
2742 if (_argo1) {
2743 if (_argo1 == Py_None) { _arg1 = NULL; }
2348eaee
RD
2744 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
2745 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
e91a9dfc
RD
2746 return NULL;
2747 }
2748 }
2749 _arg2 = (bool ) tempbool2;
2750{
4268f798 2751 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
2752 wxPyRectangleShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
2753
4268f798
RD
2754 wxPyEndAllowThreads(__tstate);
2755 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
2756} Py_INCREF(Py_None);
2757 _resultobj = Py_None;
2758 return _resultobj;
2759}
2760
2761#define wxPyRectangleShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2762static PyObject *_wrap_wxPyRectangleShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2763 PyObject * _resultobj;
2764 wxPyRectangleShape * _arg0;
2348eaee 2765 wxPyControlPoint * _arg1;
e91a9dfc
RD
2766 double _arg2;
2767 double _arg3;
2768 int _arg4 = (int ) 0;
2769 int _arg5 = (int ) 0;
2770 PyObject * _argo0 = 0;
2771 PyObject * _argo1 = 0;
2772 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
2773
2774 self = self;
2775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyRectangleShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
2776 return NULL;
2777 if (_argo0) {
2778 if (_argo0 == Py_None) { _arg0 = NULL; }
2779 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2780 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnSizingBeginDragLeft. Expected _wxPyRectangleShape_p.");
2781 return NULL;
2782 }
2783 }
2784 if (_argo1) {
2785 if (_argo1 == Py_None) { _arg1 = NULL; }
2348eaee
RD
2786 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
2787 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
e91a9dfc
RD
2788 return NULL;
2789 }
2790 }
2791{
4268f798 2792 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
2793 wxPyRectangleShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
2794
4268f798
RD
2795 wxPyEndAllowThreads(__tstate);
2796 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
2797} Py_INCREF(Py_None);
2798 _resultobj = Py_None;
2799 return _resultobj;
2800}
2801
2802#define wxPyRectangleShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2803static PyObject *_wrap_wxPyRectangleShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2804 PyObject * _resultobj;
2805 wxPyRectangleShape * _arg0;
2348eaee 2806 wxPyControlPoint * _arg1;
e91a9dfc
RD
2807 double _arg2;
2808 double _arg3;
2809 int _arg4 = (int ) 0;
2810 int _arg5 = (int ) 0;
2811 PyObject * _argo0 = 0;
2812 PyObject * _argo1 = 0;
2813 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
2814
2815 self = self;
2816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyRectangleShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
2817 return NULL;
2818 if (_argo0) {
2819 if (_argo0 == Py_None) { _arg0 = NULL; }
2820 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2821 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnSizingEndDragLeft. Expected _wxPyRectangleShape_p.");
2822 return NULL;
2823 }
2824 }
2825 if (_argo1) {
2826 if (_argo1 == Py_None) { _arg1 = NULL; }
2348eaee
RD
2827 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
2828 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
e91a9dfc
RD
2829 return NULL;
2830 }
2831 }
2832{
4268f798 2833 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
2834 wxPyRectangleShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
2835
4268f798
RD
2836 wxPyEndAllowThreads(__tstate);
2837 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
2838} Py_INCREF(Py_None);
2839 _resultobj = Py_None;
2840 return _resultobj;
2841}
2842
2843#define wxPyRectangleShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
2844static PyObject *_wrap_wxPyRectangleShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2845 PyObject * _resultobj;
2846 wxPyRectangleShape * _arg0;
2847 double _arg1;
2848 double _arg2;
2849 PyObject * _argo0 = 0;
2850 char *_kwnames[] = { "self","w","h", NULL };
2851
2852 self = self;
2853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyRectangleShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2))
2854 return NULL;
2855 if (_argo0) {
2856 if (_argo0 == Py_None) { _arg0 = NULL; }
2857 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2858 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnBeginSize. Expected _wxPyRectangleShape_p.");
2859 return NULL;
2860 }
2861 }
2862{
4268f798 2863 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
2864 wxPyRectangleShape_base_OnBeginSize(_arg0,_arg1,_arg2);
2865
4268f798
RD
2866 wxPyEndAllowThreads(__tstate);
2867 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
2868} Py_INCREF(Py_None);
2869 _resultobj = Py_None;
2870 return _resultobj;
2871}
2872
2873#define wxPyRectangleShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
2874static PyObject *_wrap_wxPyRectangleShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2875 PyObject * _resultobj;
2876 wxPyRectangleShape * _arg0;
2877 double _arg1;
2878 double _arg2;
2879 PyObject * _argo0 = 0;
2880 char *_kwnames[] = { "self","w","h", NULL };
2881
2882 self = self;
2883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyRectangleShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2))
2884 return NULL;
2885 if (_argo0) {
2886 if (_argo0 == Py_None) { _arg0 = NULL; }
2887 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2888 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnEndSize. Expected _wxPyRectangleShape_p.");
2889 return NULL;
2890 }
2891 }
2892{
4268f798 2893 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
2894 wxPyRectangleShape_base_OnEndSize(_arg0,_arg1,_arg2);
2895
4268f798
RD
2896 wxPyEndAllowThreads(__tstate);
2897 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
2898} Py_INCREF(Py_None);
2899 _resultobj = Py_None;
2900 return _resultobj;
2901}
2902
2348eaee
RD
2903static void *SwigwxPyControlPointTowxPyRectangleShape(void *ptr) {
2904 wxPyControlPoint *src;
e91a9dfc 2905 wxPyRectangleShape *dest;
2348eaee 2906 src = (wxPyControlPoint *) ptr;
e91a9dfc
RD
2907 dest = (wxPyRectangleShape *) src;
2908 return (void *) dest;
2909}
2910
2348eaee
RD
2911static void *SwigwxPyControlPointTowxPyShape(void *ptr) {
2912 wxPyControlPoint *src;
e91a9dfc 2913 wxPyShape *dest;
2348eaee 2914 src = (wxPyControlPoint *) ptr;
e91a9dfc
RD
2915 dest = (wxPyShape *) src;
2916 return (void *) dest;
2917}
2918
2348eaee
RD
2919static void *SwigwxPyControlPointTowxPyShapeEvtHandler(void *ptr) {
2920 wxPyControlPoint *src;
e91a9dfc 2921 wxPyShapeEvtHandler *dest;
2348eaee 2922 src = (wxPyControlPoint *) ptr;
e91a9dfc
RD
2923 dest = (wxPyShapeEvtHandler *) src;
2924 return (void *) dest;
2925}
2926
9416aa89
RD
2927static void *SwigwxPyControlPointTowxObject(void *ptr) {
2928 wxPyControlPoint *src;
2929 wxObject *dest;
2930 src = (wxPyControlPoint *) ptr;
2931 dest = (wxObject *) src;
2932 return (void *) dest;
2933}
2934
2348eaee
RD
2935#define new_wxPyControlPoint(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyControlPoint(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2936static PyObject *_wrap_new_wxPyControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
e91a9dfc 2937 PyObject * _resultobj;
2348eaee
RD
2938 wxPyControlPoint * _result;
2939 wxPyShapeCanvas * _arg0 = (wxPyShapeCanvas *) NULL;
2940 wxPyShape * _arg1 = (wxPyShape *) NULL;
2941 double _arg2 = (double ) 0.0;
2942 double _arg3 = (double ) 0.0;
2943 double _arg4 = (double ) 0.0;
2944 int _arg5 = (int ) 0;
2945 PyObject * _argo0 = 0;
2946 PyObject * _argo1 = 0;
2947 char *_kwnames[] = { "the_canvas","object","size","the_xoffset","the_yoffset","the_type", NULL };
e91a9dfc
RD
2948 char _ptemp[128];
2949
2950 self = self;
2348eaee
RD
2951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OOdddi:new_wxPyControlPoint",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
2952 return NULL;
2953 if (_argo0) {
2954 if (_argo0 == Py_None) { _arg0 = NULL; }
2955 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeCanvas_p")) {
2956 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPyControlPoint. Expected _wxPyShapeCanvas_p.");
2957 return NULL;
2958 }
2959 }
2960 if (_argo1) {
2961 if (_argo1 == Py_None) { _arg1 = NULL; }
2962 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) {
2963 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxPyControlPoint. Expected _wxPyShape_p.");
e91a9dfc 2964 return NULL;
2348eaee
RD
2965 }
2966 }
e91a9dfc 2967{
4268f798 2968 PyThreadState* __tstate = wxPyBeginAllowThreads();
2348eaee 2969 _result = (wxPyControlPoint *)new_wxPyControlPoint(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
e91a9dfc 2970
4268f798
RD
2971 wxPyEndAllowThreads(__tstate);
2972 if (PyErr_Occurred()) return NULL;
e91a9dfc 2973} if (_result) {
2348eaee 2974 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyControlPoint_p");
e91a9dfc
RD
2975 _resultobj = Py_BuildValue("s",_ptemp);
2976 } else {
2977 Py_INCREF(Py_None);
2978 _resultobj = Py_None;
2979 }
2980 return _resultobj;
2981}
2982
0122b7e3
RD
2983#define wxPyControlPoint__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2984static PyObject *_wrap_wxPyControlPoint__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
e91a9dfc 2985 PyObject * _resultobj;
2348eaee 2986 wxPyControlPoint * _arg0;
e91a9dfc 2987 PyObject * _arg1;
f6bcfd97 2988 PyObject * _arg2;
e91a9dfc
RD
2989 PyObject * _argo0 = 0;
2990 PyObject * _obj1 = 0;
f6bcfd97
BP
2991 PyObject * _obj2 = 0;
2992 char *_kwnames[] = { "self","self","_class", NULL };
e91a9dfc
RD
2993
2994 self = self;
0122b7e3 2995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyControlPoint__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
e91a9dfc
RD
2996 return NULL;
2997 if (_argo0) {
2998 if (_argo0 == Py_None) { _arg0 = NULL; }
2348eaee 2999 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
0122b7e3 3000 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint__setCallbackInfo. Expected _wxPyControlPoint_p.");
e91a9dfc
RD
3001 return NULL;
3002 }
3003 }
3004{
3005 _arg1 = _obj1;
3006}
f6bcfd97
BP
3007{
3008 _arg2 = _obj2;
3009}
e91a9dfc 3010{
4268f798 3011 PyThreadState* __tstate = wxPyBeginAllowThreads();
0122b7e3 3012 wxPyControlPoint__setCallbackInfo(_arg0,_arg1,_arg2);
e91a9dfc 3013
4268f798
RD
3014 wxPyEndAllowThreads(__tstate);
3015 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
3016} Py_INCREF(Py_None);
3017 _resultobj = Py_None;
3018 return _resultobj;
3019}
3020
2348eaee
RD
3021#define wxPyControlPoint_SetCornerRadius(_swigobj,_swigarg0) (_swigobj->SetCornerRadius(_swigarg0))
3022static PyObject *_wrap_wxPyControlPoint_SetCornerRadius(PyObject *self, PyObject *args, PyObject *kwargs) {
e91a9dfc 3023 PyObject * _resultobj;
2348eaee
RD
3024 wxPyControlPoint * _arg0;
3025 double _arg1;
e91a9dfc 3026 PyObject * _argo0 = 0;
2348eaee 3027 char *_kwnames[] = { "self","radius", NULL };
e91a9dfc
RD
3028
3029 self = self;
2348eaee 3030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Od:wxPyControlPoint_SetCornerRadius",_kwnames,&_argo0,&_arg1))
e91a9dfc
RD
3031 return NULL;
3032 if (_argo0) {
3033 if (_argo0 == Py_None) { _arg0 = NULL; }
2348eaee
RD
3034 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3035 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_SetCornerRadius. Expected _wxPyControlPoint_p.");
e91a9dfc
RD
3036 return NULL;
3037 }
3038 }
3039{
4268f798 3040 PyThreadState* __tstate = wxPyBeginAllowThreads();
2348eaee 3041 wxPyControlPoint_SetCornerRadius(_arg0,_arg1);
e91a9dfc 3042
4268f798
RD
3043 wxPyEndAllowThreads(__tstate);
3044 if (PyErr_Occurred()) return NULL;
2348eaee
RD
3045} Py_INCREF(Py_None);
3046 _resultobj = Py_None;
e91a9dfc
RD
3047 return _resultobj;
3048}
3049
2348eaee
RD
3050#define wxPyControlPoint_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
3051static PyObject *_wrap_wxPyControlPoint_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
e91a9dfc 3052 PyObject * _resultobj;
2348eaee 3053 wxPyControlPoint * _arg0;
e91a9dfc
RD
3054 PyObject * _argo0 = 0;
3055 char *_kwnames[] = { "self", NULL };
3056
3057 self = self;
2348eaee 3058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControlPoint_base_OnDelete",_kwnames,&_argo0))
e91a9dfc
RD
3059 return NULL;
3060 if (_argo0) {
3061 if (_argo0 == Py_None) { _arg0 = NULL; }
2348eaee
RD
3062 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3063 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDelete. Expected _wxPyControlPoint_p.");
e91a9dfc
RD
3064 return NULL;
3065 }
3066 }
3067{
4268f798 3068 PyThreadState* __tstate = wxPyBeginAllowThreads();
2348eaee 3069 wxPyControlPoint_base_OnDelete(_arg0);
e91a9dfc 3070
4268f798
RD
3071 wxPyEndAllowThreads(__tstate);
3072 if (PyErr_Occurred()) return NULL;
2348eaee
RD
3073} Py_INCREF(Py_None);
3074 _resultobj = Py_None;
e91a9dfc
RD
3075 return _resultobj;
3076}
3077
2348eaee
RD
3078#define wxPyControlPoint_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
3079static PyObject *_wrap_wxPyControlPoint_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
e91a9dfc 3080 PyObject * _resultobj;
2348eaee
RD
3081 wxPyControlPoint * _arg0;
3082 wxDC * _arg1;
e91a9dfc
RD
3083 PyObject * _argo0 = 0;
3084 PyObject * _argo1 = 0;
2348eaee 3085 char *_kwnames[] = { "self","dc", NULL };
e91a9dfc
RD
3086
3087 self = self;
2348eaee 3088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnDraw",_kwnames,&_argo0,&_argo1))
e91a9dfc
RD
3089 return NULL;
3090 if (_argo0) {
3091 if (_argo0 == Py_None) { _arg0 = NULL; }
2348eaee
RD
3092 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3093 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDraw. Expected _wxPyControlPoint_p.");
e91a9dfc
RD
3094 return NULL;
3095 }
3096 }
3097 if (_argo1) {
3098 if (_argo1 == Py_None) { _arg1 = NULL; }
2348eaee
RD
3099 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3100 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnDraw. Expected _wxDC_p.");
e91a9dfc
RD
3101 return NULL;
3102 }
3103 }
3104{
4268f798 3105 PyThreadState* __tstate = wxPyBeginAllowThreads();
2348eaee 3106 wxPyControlPoint_base_OnDraw(_arg0,*_arg1);
e91a9dfc 3107
4268f798
RD
3108 wxPyEndAllowThreads(__tstate);
3109 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
3110} Py_INCREF(Py_None);
3111 _resultobj = Py_None;
3112 return _resultobj;
3113}
3114
2348eaee
RD
3115#define wxPyControlPoint_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
3116static PyObject *_wrap_wxPyControlPoint_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
e91a9dfc 3117 PyObject * _resultobj;
2348eaee
RD
3118 wxPyControlPoint * _arg0;
3119 wxDC * _arg1;
e91a9dfc 3120 PyObject * _argo0 = 0;
2348eaee
RD
3121 PyObject * _argo1 = 0;
3122 char *_kwnames[] = { "self","dc", NULL };
e91a9dfc
RD
3123
3124 self = self;
2348eaee 3125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnDrawContents",_kwnames,&_argo0,&_argo1))
e91a9dfc
RD
3126 return NULL;
3127 if (_argo0) {
3128 if (_argo0 == Py_None) { _arg0 = NULL; }
2348eaee
RD
3129 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3130 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDrawContents. Expected _wxPyControlPoint_p.");
e91a9dfc
RD
3131 return NULL;
3132 }
3133 }
2348eaee
RD
3134 if (_argo1) {
3135 if (_argo1 == Py_None) { _arg1 = NULL; }
3136 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3137 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnDrawContents. Expected _wxDC_p.");
e91a9dfc 3138 return NULL;
2348eaee 3139 }
e91a9dfc 3140 }
e91a9dfc 3141{
4268f798 3142 PyThreadState* __tstate = wxPyBeginAllowThreads();
2348eaee 3143 wxPyControlPoint_base_OnDrawContents(_arg0,*_arg1);
e91a9dfc 3144
4268f798
RD
3145 wxPyEndAllowThreads(__tstate);
3146 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
3147} Py_INCREF(Py_None);
3148 _resultobj = Py_None;
e91a9dfc
RD
3149 return _resultobj;
3150}
3151
2348eaee
RD
3152#define wxPyControlPoint_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
3153static PyObject *_wrap_wxPyControlPoint_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
e91a9dfc 3154 PyObject * _resultobj;
2348eaee
RD
3155 wxPyControlPoint * _arg0;
3156 wxDC * _arg1;
3157 bool _arg2 = (bool ) FALSE;
e91a9dfc 3158 PyObject * _argo0 = 0;
2348eaee
RD
3159 PyObject * _argo1 = 0;
3160 int tempbool2 = (int) FALSE;
3161 char *_kwnames[] = { "self","dc","erase", NULL };
e91a9dfc
RD
3162
3163 self = self;
2348eaee 3164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyControlPoint_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2))
e91a9dfc
RD
3165 return NULL;
3166 if (_argo0) {
3167 if (_argo0 == Py_None) { _arg0 = NULL; }
2348eaee
RD
3168 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3169 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDrawBranches. Expected _wxPyControlPoint_p.");
3170 return NULL;
3171 }
3172 }
3173 if (_argo1) {
3174 if (_argo1 == Py_None) { _arg1 = NULL; }
3175 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3176 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnDrawBranches. Expected _wxDC_p.");
e91a9dfc
RD
3177 return NULL;
3178 }
3179 }
2348eaee 3180 _arg2 = (bool ) tempbool2;
e91a9dfc 3181{
4268f798 3182 PyThreadState* __tstate = wxPyBeginAllowThreads();
2348eaee 3183 wxPyControlPoint_base_OnDrawBranches(_arg0,*_arg1,_arg2);
e91a9dfc 3184
4268f798
RD
3185 wxPyEndAllowThreads(__tstate);
3186 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
3187} Py_INCREF(Py_None);
3188 _resultobj = Py_None;
3189 return _resultobj;
3190}
3191
2348eaee
RD
3192#define wxPyControlPoint_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
3193static PyObject *_wrap_wxPyControlPoint_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
e91a9dfc 3194 PyObject * _resultobj;
2348eaee 3195 wxPyControlPoint * _arg0;
e91a9dfc
RD
3196 wxDC * _arg1;
3197 PyObject * _argo0 = 0;
3198 PyObject * _argo1 = 0;
3199 char *_kwnames[] = { "self","dc", NULL };
3200
3201 self = self;
2348eaee 3202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnMoveLinks",_kwnames,&_argo0,&_argo1))
e91a9dfc
RD
3203 return NULL;
3204 if (_argo0) {
3205 if (_argo0 == Py_None) { _arg0 = NULL; }
2348eaee
RD
3206 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3207 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnMoveLinks. Expected _wxPyControlPoint_p.");
e91a9dfc
RD
3208 return NULL;
3209 }
3210 }
3211 if (_argo1) {
3212 if (_argo1 == Py_None) { _arg1 = NULL; }
3213 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2348eaee 3214 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnMoveLinks. Expected _wxDC_p.");
e91a9dfc
RD
3215 return NULL;
3216 }
3217 }
3218{
4268f798 3219 PyThreadState* __tstate = wxPyBeginAllowThreads();
2348eaee 3220 wxPyControlPoint_base_OnMoveLinks(_arg0,*_arg1);
e91a9dfc 3221
4268f798
RD
3222 wxPyEndAllowThreads(__tstate);
3223 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
3224} Py_INCREF(Py_None);
3225 _resultobj = Py_None;
3226 return _resultobj;
3227}
3228
2348eaee
RD
3229#define wxPyControlPoint_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
3230static PyObject *_wrap_wxPyControlPoint_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
e91a9dfc 3231 PyObject * _resultobj;
2348eaee 3232 wxPyControlPoint * _arg0;
e91a9dfc
RD
3233 wxDC * _arg1;
3234 PyObject * _argo0 = 0;
3235 PyObject * _argo1 = 0;
3236 char *_kwnames[] = { "self","dc", NULL };
3237
3238 self = self;
2348eaee 3239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnErase",_kwnames,&_argo0,&_argo1))
e91a9dfc
RD
3240 return NULL;
3241 if (_argo0) {
3242 if (_argo0 == Py_None) { _arg0 = NULL; }
2348eaee
RD
3243 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3244 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnErase. Expected _wxPyControlPoint_p.");
e91a9dfc
RD
3245 return NULL;
3246 }
3247 }
3248 if (_argo1) {
3249 if (_argo1 == Py_None) { _arg1 = NULL; }
3250 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2348eaee 3251 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnErase. Expected _wxDC_p.");
e91a9dfc
RD
3252 return NULL;
3253 }
3254 }
3255{
4268f798 3256 PyThreadState* __tstate = wxPyBeginAllowThreads();
2348eaee 3257 wxPyControlPoint_base_OnErase(_arg0,*_arg1);
e91a9dfc 3258
4268f798
RD
3259 wxPyEndAllowThreads(__tstate);
3260 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
3261} Py_INCREF(Py_None);
3262 _resultobj = Py_None;
3263 return _resultobj;
3264}
3265
2348eaee
RD
3266#define wxPyControlPoint_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
3267static PyObject *_wrap_wxPyControlPoint_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
e91a9dfc 3268 PyObject * _resultobj;
2348eaee 3269 wxPyControlPoint * _arg0;
e91a9dfc 3270 wxDC * _arg1;
e91a9dfc
RD
3271 PyObject * _argo0 = 0;
3272 PyObject * _argo1 = 0;
2348eaee
RD
3273 char *_kwnames[] = { "self","dc", NULL };
3274
3275 self = self;
3276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnEraseContents",_kwnames,&_argo0,&_argo1))
3277 return NULL;
3278 if (_argo0) {
3279 if (_argo0 == Py_None) { _arg0 = NULL; }
3280 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3281 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnEraseContents. Expected _wxPyControlPoint_p.");
3282 return NULL;
3283 }
3284 }
3285 if (_argo1) {
3286 if (_argo1 == Py_None) { _arg1 = NULL; }
3287 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3288 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnEraseContents. Expected _wxDC_p.");
3289 return NULL;
3290 }
3291 }
3292{
4268f798 3293 PyThreadState* __tstate = wxPyBeginAllowThreads();
2348eaee
RD
3294 wxPyControlPoint_base_OnEraseContents(_arg0,*_arg1);
3295
4268f798
RD
3296 wxPyEndAllowThreads(__tstate);
3297 if (PyErr_Occurred()) return NULL;
2348eaee
RD
3298} Py_INCREF(Py_None);
3299 _resultobj = Py_None;
3300 return _resultobj;
3301}
3302
3303#define wxPyControlPoint_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
3304static PyObject *_wrap_wxPyControlPoint_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
3305 PyObject * _resultobj;
3306 wxPyControlPoint * _arg0;
3307 wxDC * _arg1;
3308 PyObject * _argo0 = 0;
3309 PyObject * _argo1 = 0;
3310 char *_kwnames[] = { "self","dc", NULL };
3311
3312 self = self;
3313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnHighlight",_kwnames,&_argo0,&_argo1))
3314 return NULL;
3315 if (_argo0) {
3316 if (_argo0 == Py_None) { _arg0 = NULL; }
3317 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3318 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnHighlight. Expected _wxPyControlPoint_p.");
3319 return NULL;
3320 }
3321 }
3322 if (_argo1) {
3323 if (_argo1 == Py_None) { _arg1 = NULL; }
3324 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3325 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnHighlight. Expected _wxDC_p.");
3326 return NULL;
3327 }
3328 }
3329{
4268f798 3330 PyThreadState* __tstate = wxPyBeginAllowThreads();
2348eaee
RD
3331 wxPyControlPoint_base_OnHighlight(_arg0,*_arg1);
3332
4268f798
RD
3333 wxPyEndAllowThreads(__tstate);
3334 if (PyErr_Occurred()) return NULL;
2348eaee
RD
3335} Py_INCREF(Py_None);
3336 _resultobj = Py_None;
3337 return _resultobj;
3338}
3339
3340#define wxPyControlPoint_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3341static PyObject *_wrap_wxPyControlPoint_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
3342 PyObject * _resultobj;
3343 wxPyControlPoint * _arg0;
3344 double _arg1;
3345 double _arg2;
3346 int _arg3 = (int ) 0;
3347 int _arg4 = (int ) 0;
3348 PyObject * _argo0 = 0;
3349 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
3350
3351 self = self;
3352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
3353 return NULL;
3354 if (_argo0) {
3355 if (_argo0 == Py_None) { _arg0 = NULL; }
3356 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3357 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnLeftClick. Expected _wxPyControlPoint_p.");
3358 return NULL;
3359 }
3360 }
3361{
4268f798 3362 PyThreadState* __tstate = wxPyBeginAllowThreads();
2348eaee
RD
3363 wxPyControlPoint_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4);
3364
4268f798
RD
3365 wxPyEndAllowThreads(__tstate);
3366 if (PyErr_Occurred()) return NULL;
2348eaee
RD
3367} Py_INCREF(Py_None);
3368 _resultobj = Py_None;
3369 return _resultobj;
3370}
3371
3372#define wxPyControlPoint_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3373static PyObject *_wrap_wxPyControlPoint_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
3374 PyObject * _resultobj;
3375 wxPyControlPoint * _arg0;
3376 double _arg1;
3377 double _arg2;
3378 int _arg3 = (int ) 0;
3379 int _arg4 = (int ) 0;
3380 PyObject * _argo0 = 0;
3381 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
3382
3383 self = self;
3384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
3385 return NULL;
3386 if (_argo0) {
3387 if (_argo0 == Py_None) { _arg0 = NULL; }
3388 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3389 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnLeftDoubleClick. Expected _wxPyControlPoint_p.");
3390 return NULL;
3391 }
3392 }
3393{
4268f798 3394 PyThreadState* __tstate = wxPyBeginAllowThreads();
2348eaee
RD
3395 wxPyControlPoint_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4);
3396
4268f798
RD
3397 wxPyEndAllowThreads(__tstate);
3398 if (PyErr_Occurred()) return NULL;
2348eaee
RD
3399} Py_INCREF(Py_None);
3400 _resultobj = Py_None;
3401 return _resultobj;
3402}
3403
3404#define wxPyControlPoint_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3405static PyObject *_wrap_wxPyControlPoint_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
3406 PyObject * _resultobj;
3407 wxPyControlPoint * _arg0;
3408 double _arg1;
3409 double _arg2;
3410 int _arg3 = (int ) 0;
3411 int _arg4 = (int ) 0;
3412 PyObject * _argo0 = 0;
3413 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
3414
3415 self = self;
3416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
3417 return NULL;
3418 if (_argo0) {
3419 if (_argo0 == Py_None) { _arg0 = NULL; }
3420 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3421 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnRightClick. Expected _wxPyControlPoint_p.");
3422 return NULL;
3423 }
3424 }
3425{
4268f798 3426 PyThreadState* __tstate = wxPyBeginAllowThreads();
2348eaee
RD
3427 wxPyControlPoint_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4);
3428
4268f798
RD
3429 wxPyEndAllowThreads(__tstate);
3430 if (PyErr_Occurred()) return NULL;
2348eaee
RD
3431} Py_INCREF(Py_None);
3432 _resultobj = Py_None;
3433 return _resultobj;
3434}
3435
3436#define wxPyControlPoint_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
3437static PyObject *_wrap_wxPyControlPoint_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3438 PyObject * _resultobj;
3439 wxPyControlPoint * _arg0;
3440 double _arg1;
3441 double _arg2;
3442 PyObject * _argo0 = 0;
3443 char *_kwnames[] = { "self","x","y", NULL };
3444
3445 self = self;
3446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyControlPoint_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2))
3447 return NULL;
3448 if (_argo0) {
3449 if (_argo0 == Py_None) { _arg0 = NULL; }
3450 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3451 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnSize. Expected _wxPyControlPoint_p.");
3452 return NULL;
3453 }
3454 }
3455{
4268f798 3456 PyThreadState* __tstate = wxPyBeginAllowThreads();
2348eaee
RD
3457 wxPyControlPoint_base_OnSize(_arg0,_arg1,_arg2);
3458
4268f798
RD
3459 wxPyEndAllowThreads(__tstate);
3460 if (PyErr_Occurred()) return NULL;
2348eaee
RD
3461} Py_INCREF(Py_None);
3462 _resultobj = Py_None;
3463 return _resultobj;
3464}
3465
3466#define wxPyControlPoint_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3467static PyObject *_wrap_wxPyControlPoint_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
3468 PyObject * _resultobj;
3469 bool _result;
3470 wxPyControlPoint * _arg0;
3471 wxDC * _arg1;
3472 double _arg2;
3473 double _arg3;
3474 double _arg4;
3475 double _arg5;
3476 bool _arg6 = (bool ) TRUE;
3477 PyObject * _argo0 = 0;
3478 PyObject * _argo1 = 0;
3479 int tempbool6 = (int) TRUE;
3480 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
3481
3482 self = self;
3483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyControlPoint_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
3484 return NULL;
3485 if (_argo0) {
3486 if (_argo0 == Py_None) { _arg0 = NULL; }
3487 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3488 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnMovePre. Expected _wxPyControlPoint_p.");
3489 return NULL;
3490 }
3491 }
3492 if (_argo1) {
3493 if (_argo1 == Py_None) { _arg1 = NULL; }
3494 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3495 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnMovePre. Expected _wxDC_p.");
3496 return NULL;
3497 }
3498 }
3499 _arg6 = (bool ) tempbool6;
3500{
4268f798 3501 PyThreadState* __tstate = wxPyBeginAllowThreads();
2348eaee
RD
3502 _result = (bool )wxPyControlPoint_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
3503
4268f798
RD
3504 wxPyEndAllowThreads(__tstate);
3505 if (PyErr_Occurred()) return NULL;
2348eaee
RD
3506} _resultobj = Py_BuildValue("i",_result);
3507 return _resultobj;
3508}
3509
3510#define wxPyControlPoint_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3511static PyObject *_wrap_wxPyControlPoint_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
3512 PyObject * _resultobj;
3513 wxPyControlPoint * _arg0;
3514 wxDC * _arg1;
3515 double _arg2;
3516 double _arg3;
3517 double _arg4;
3518 double _arg5;
3519 bool _arg6 = (bool ) TRUE;
3520 PyObject * _argo0 = 0;
3521 PyObject * _argo1 = 0;
3522 int tempbool6 = (int) TRUE;
3523 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
3524
3525 self = self;
3526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyControlPoint_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
3527 return NULL;
3528 if (_argo0) {
3529 if (_argo0 == Py_None) { _arg0 = NULL; }
3530 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3531 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnMovePost. Expected _wxPyControlPoint_p.");
3532 return NULL;
3533 }
3534 }
3535 if (_argo1) {
3536 if (_argo1 == Py_None) { _arg1 = NULL; }
3537 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3538 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnMovePost. Expected _wxDC_p.");
3539 return NULL;
3540 }
3541 }
3542 _arg6 = (bool ) tempbool6;
3543{
4268f798 3544 PyThreadState* __tstate = wxPyBeginAllowThreads();
2348eaee
RD
3545 wxPyControlPoint_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
3546
4268f798
RD
3547 wxPyEndAllowThreads(__tstate);
3548 if (PyErr_Occurred()) return NULL;
2348eaee
RD
3549} Py_INCREF(Py_None);
3550 _resultobj = Py_None;
3551 return _resultobj;
3552}
3553
3554#define wxPyControlPoint_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3555static PyObject *_wrap_wxPyControlPoint_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3556 PyObject * _resultobj;
3557 wxPyControlPoint * _arg0;
3558 bool _arg1;
3559 double _arg2;
3560 double _arg3;
3561 int _arg4 = (int ) 0;
3562 int _arg5 = (int ) 0;
3563 PyObject * _argo0 = 0;
3564 int tempbool1;
3565 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
3566
3567 self = self;
3568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyControlPoint_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
3569 return NULL;
3570 if (_argo0) {
3571 if (_argo0 == Py_None) { _arg0 = NULL; }
3572 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3573 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDragLeft. Expected _wxPyControlPoint_p.");
3574 return NULL;
3575 }
3576 }
3577 _arg1 = (bool ) tempbool1;
3578{
4268f798 3579 PyThreadState* __tstate = wxPyBeginAllowThreads();
2348eaee
RD
3580 wxPyControlPoint_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
3581
4268f798
RD
3582 wxPyEndAllowThreads(__tstate);
3583 if (PyErr_Occurred()) return NULL;
2348eaee
RD
3584} Py_INCREF(Py_None);
3585 _resultobj = Py_None;
3586 return _resultobj;
3587}
3588
3589#define wxPyControlPoint_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3590static PyObject *_wrap_wxPyControlPoint_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3591 PyObject * _resultobj;
3592 wxPyControlPoint * _arg0;
3593 double _arg1;
3594 double _arg2;
3595 int _arg3 = (int ) 0;
3596 int _arg4 = (int ) 0;
3597 PyObject * _argo0 = 0;
3598 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
3599
3600 self = self;
3601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
3602 return NULL;
3603 if (_argo0) {
3604 if (_argo0 == Py_None) { _arg0 = NULL; }
3605 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3606 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnBeginDragLeft. Expected _wxPyControlPoint_p.");
3607 return NULL;
3608 }
3609 }
3610{
4268f798 3611 PyThreadState* __tstate = wxPyBeginAllowThreads();
2348eaee
RD
3612 wxPyControlPoint_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
3613
4268f798
RD
3614 wxPyEndAllowThreads(__tstate);
3615 if (PyErr_Occurred()) return NULL;
2348eaee
RD
3616} Py_INCREF(Py_None);
3617 _resultobj = Py_None;
3618 return _resultobj;
3619}
3620
3621#define wxPyControlPoint_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3622static PyObject *_wrap_wxPyControlPoint_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3623 PyObject * _resultobj;
3624 wxPyControlPoint * _arg0;
3625 double _arg1;
3626 double _arg2;
3627 int _arg3 = (int ) 0;
3628 int _arg4 = (int ) 0;
3629 PyObject * _argo0 = 0;
3630 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
3631
3632 self = self;
3633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
3634 return NULL;
3635 if (_argo0) {
3636 if (_argo0 == Py_None) { _arg0 = NULL; }
3637 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3638 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnEndDragLeft. Expected _wxPyControlPoint_p.");
3639 return NULL;
3640 }
3641 }
3642{
4268f798 3643 PyThreadState* __tstate = wxPyBeginAllowThreads();
2348eaee
RD
3644 wxPyControlPoint_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
3645
4268f798
RD
3646 wxPyEndAllowThreads(__tstate);
3647 if (PyErr_Occurred()) return NULL;
2348eaee
RD
3648} Py_INCREF(Py_None);
3649 _resultobj = Py_None;
3650 return _resultobj;
3651}
3652
3653#define wxPyControlPoint_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3654static PyObject *_wrap_wxPyControlPoint_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3655 PyObject * _resultobj;
3656 wxPyControlPoint * _arg0;
3657 bool _arg1;
3658 double _arg2;
3659 double _arg3;
3660 int _arg4 = (int ) 0;
3661 int _arg5 = (int ) 0;
3662 PyObject * _argo0 = 0;
3663 int tempbool1;
3664 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
3665
3666 self = self;
3667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyControlPoint_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
3668 return NULL;
3669 if (_argo0) {
3670 if (_argo0 == Py_None) { _arg0 = NULL; }
3671 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3672 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDragRight. Expected _wxPyControlPoint_p.");
3673 return NULL;
3674 }
3675 }
3676 _arg1 = (bool ) tempbool1;
3677{
4268f798 3678 PyThreadState* __tstate = wxPyBeginAllowThreads();
2348eaee
RD
3679 wxPyControlPoint_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
3680
4268f798
RD
3681 wxPyEndAllowThreads(__tstate);
3682 if (PyErr_Occurred()) return NULL;
2348eaee
RD
3683} Py_INCREF(Py_None);
3684 _resultobj = Py_None;
3685 return _resultobj;
3686}
3687
3688#define wxPyControlPoint_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3689static PyObject *_wrap_wxPyControlPoint_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3690 PyObject * _resultobj;
3691 wxPyControlPoint * _arg0;
3692 double _arg1;
3693 double _arg2;
3694 int _arg3 = (int ) 0;
3695 int _arg4 = (int ) 0;
3696 PyObject * _argo0 = 0;
3697 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
3698
3699 self = self;
3700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
3701 return NULL;
3702 if (_argo0) {
3703 if (_argo0 == Py_None) { _arg0 = NULL; }
3704 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3705 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnBeginDragRight. Expected _wxPyControlPoint_p.");
3706 return NULL;
3707 }
3708 }
3709{
4268f798 3710 PyThreadState* __tstate = wxPyBeginAllowThreads();
2348eaee
RD
3711 wxPyControlPoint_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
3712
4268f798
RD
3713 wxPyEndAllowThreads(__tstate);
3714 if (PyErr_Occurred()) return NULL;
2348eaee
RD
3715} Py_INCREF(Py_None);
3716 _resultobj = Py_None;
3717 return _resultobj;
3718}
3719
3720#define wxPyControlPoint_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3721static PyObject *_wrap_wxPyControlPoint_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3722 PyObject * _resultobj;
3723 wxPyControlPoint * _arg0;
3724 double _arg1;
3725 double _arg2;
3726 int _arg3 = (int ) 0;
3727 int _arg4 = (int ) 0;
3728 PyObject * _argo0 = 0;
3729 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
3730
3731 self = self;
3732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
3733 return NULL;
3734 if (_argo0) {
3735 if (_argo0 == Py_None) { _arg0 = NULL; }
3736 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3737 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnEndDragRight. Expected _wxPyControlPoint_p.");
3738 return NULL;
3739 }
3740 }
3741{
4268f798 3742 PyThreadState* __tstate = wxPyBeginAllowThreads();
2348eaee
RD
3743 wxPyControlPoint_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
3744
4268f798
RD
3745 wxPyEndAllowThreads(__tstate);
3746 if (PyErr_Occurred()) return NULL;
2348eaee
RD
3747} Py_INCREF(Py_None);
3748 _resultobj = Py_None;
3749 return _resultobj;
3750}
3751
3752#define wxPyControlPoint_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3753static PyObject *_wrap_wxPyControlPoint_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
3754 PyObject * _resultobj;
3755 wxPyControlPoint * _arg0;
3756 wxDC * _arg1;
3757 double _arg2;
3758 double _arg3;
3759 double _arg4;
3760 double _arg5;
3761 PyObject * _argo0 = 0;
3762 PyObject * _argo1 = 0;
3763 char *_kwnames[] = { "self","dc","x","y","w","h", NULL };
3764
3765 self = self;
3766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyControlPoint_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
3767 return NULL;
3768 if (_argo0) {
3769 if (_argo0 == Py_None) { _arg0 = NULL; }
3770 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3771 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDrawOutline. Expected _wxPyControlPoint_p.");
3772 return NULL;
3773 }
3774 }
3775 if (_argo1) {
3776 if (_argo1 == Py_None) { _arg1 = NULL; }
3777 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3778 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnDrawOutline. Expected _wxDC_p.");
3779 return NULL;
3780 }
3781 }
3782{
4268f798 3783 PyThreadState* __tstate = wxPyBeginAllowThreads();
2348eaee
RD
3784 wxPyControlPoint_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5);
3785
4268f798
RD
3786 wxPyEndAllowThreads(__tstate);
3787 if (PyErr_Occurred()) return NULL;
2348eaee
RD
3788} Py_INCREF(Py_None);
3789 _resultobj = Py_None;
3790 return _resultobj;
3791}
3792
3793#define wxPyControlPoint_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
3794static PyObject *_wrap_wxPyControlPoint_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
3795 PyObject * _resultobj;
3796 wxPyControlPoint * _arg0;
3797 wxDC * _arg1;
3798 PyObject * _argo0 = 0;
3799 PyObject * _argo1 = 0;
3800 char *_kwnames[] = { "self","dc", NULL };
3801
3802 self = self;
3803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1))
3804 return NULL;
3805 if (_argo0) {
3806 if (_argo0 == Py_None) { _arg0 = NULL; }
3807 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3808 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDrawControlPoints. Expected _wxPyControlPoint_p.");
3809 return NULL;
3810 }
3811 }
3812 if (_argo1) {
3813 if (_argo1 == Py_None) { _arg1 = NULL; }
3814 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3815 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnDrawControlPoints. Expected _wxDC_p.");
3816 return NULL;
3817 }
3818 }
3819{
4268f798 3820 PyThreadState* __tstate = wxPyBeginAllowThreads();
2348eaee
RD
3821 wxPyControlPoint_base_OnDrawControlPoints(_arg0,*_arg1);
3822
4268f798
RD
3823 wxPyEndAllowThreads(__tstate);
3824 if (PyErr_Occurred()) return NULL;
2348eaee
RD
3825} Py_INCREF(Py_None);
3826 _resultobj = Py_None;
3827 return _resultobj;
3828}
3829
3830#define wxPyControlPoint_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
3831static PyObject *_wrap_wxPyControlPoint_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
3832 PyObject * _resultobj;
3833 wxPyControlPoint * _arg0;
3834 wxDC * _arg1;
3835 PyObject * _argo0 = 0;
3836 PyObject * _argo1 = 0;
3837 char *_kwnames[] = { "self","dc", NULL };
3838
3839 self = self;
3840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1))
3841 return NULL;
3842 if (_argo0) {
3843 if (_argo0 == Py_None) { _arg0 = NULL; }
3844 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3845 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnEraseControlPoints. Expected _wxPyControlPoint_p.");
3846 return NULL;
3847 }
3848 }
3849 if (_argo1) {
3850 if (_argo1 == Py_None) { _arg1 = NULL; }
3851 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3852 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnEraseControlPoints. Expected _wxDC_p.");
3853 return NULL;
3854 }
3855 }
3856{
4268f798 3857 PyThreadState* __tstate = wxPyBeginAllowThreads();
2348eaee
RD
3858 wxPyControlPoint_base_OnEraseControlPoints(_arg0,*_arg1);
3859
4268f798
RD
3860 wxPyEndAllowThreads(__tstate);
3861 if (PyErr_Occurred()) return NULL;
2348eaee
RD
3862} Py_INCREF(Py_None);
3863 _resultobj = Py_None;
3864 return _resultobj;
3865}
3866
3867#define wxPyControlPoint_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
3868static PyObject *_wrap_wxPyControlPoint_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
3869 PyObject * _resultobj;
3870 wxPyControlPoint * _arg0;
3871 wxDC * _arg1;
3872 bool _arg2 = (bool ) TRUE;
3873 PyObject * _argo0 = 0;
3874 PyObject * _argo1 = 0;
3875 int tempbool2 = (int) TRUE;
3876 char *_kwnames[] = { "self","dc","moveControlPoints", NULL };
3877
3878 self = self;
3879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyControlPoint_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2))
3880 return NULL;
3881 if (_argo0) {
3882 if (_argo0 == Py_None) { _arg0 = NULL; }
3883 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3884 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnMoveLink. Expected _wxPyControlPoint_p.");
3885 return NULL;
3886 }
3887 }
3888 if (_argo1) {
3889 if (_argo1 == Py_None) { _arg1 = NULL; }
3890 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3891 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnMoveLink. Expected _wxDC_p.");
3892 return NULL;
3893 }
3894 }
3895 _arg2 = (bool ) tempbool2;
3896{
4268f798 3897 PyThreadState* __tstate = wxPyBeginAllowThreads();
2348eaee
RD
3898 wxPyControlPoint_base_OnMoveLink(_arg0,*_arg1,_arg2);
3899
4268f798
RD
3900 wxPyEndAllowThreads(__tstate);
3901 if (PyErr_Occurred()) return NULL;
2348eaee
RD
3902} Py_INCREF(Py_None);
3903 _resultobj = Py_None;
3904 return _resultobj;
3905}
3906
3907#define wxPyControlPoint_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3908static PyObject *_wrap_wxPyControlPoint_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3909 PyObject * _resultobj;
3910 wxPyControlPoint * _arg0;
3911 wxPyControlPoint * _arg1;
3912 bool _arg2;
3913 double _arg3;
3914 double _arg4;
3915 int _arg5 = (int ) 0;
3916 int _arg6 = (int ) 0;
3917 PyObject * _argo0 = 0;
3918 PyObject * _argo1 = 0;
3919 int tempbool2;
3920 char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL };
3921
3922 self = self;
3923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyControlPoint_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6))
3924 return NULL;
3925 if (_argo0) {
3926 if (_argo0 == Py_None) { _arg0 = NULL; }
3927 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3928 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
3929 return NULL;
3930 }
3931 }
3932 if (_argo1) {
3933 if (_argo1 == Py_None) { _arg1 = NULL; }
3934 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
3935 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
3936 return NULL;
3937 }
3938 }
3939 _arg2 = (bool ) tempbool2;
3940{
4268f798 3941 PyThreadState* __tstate = wxPyBeginAllowThreads();
2348eaee
RD
3942 wxPyControlPoint_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
3943
4268f798
RD
3944 wxPyEndAllowThreads(__tstate);
3945 if (PyErr_Occurred()) return NULL;
2348eaee
RD
3946} Py_INCREF(Py_None);
3947 _resultobj = Py_None;
3948 return _resultobj;
3949}
3950
3951#define wxPyControlPoint_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3952static PyObject *_wrap_wxPyControlPoint_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3953 PyObject * _resultobj;
3954 wxPyControlPoint * _arg0;
3955 wxPyControlPoint * _arg1;
3956 double _arg2;
3957 double _arg3;
3958 int _arg4 = (int ) 0;
3959 int _arg5 = (int ) 0;
3960 PyObject * _argo0 = 0;
3961 PyObject * _argo1 = 0;
3962 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
3963
3964 self = self;
3965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyControlPoint_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
3966 return NULL;
3967 if (_argo0) {
3968 if (_argo0 == Py_None) { _arg0 = NULL; }
3969 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3970 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
3971 return NULL;
3972 }
3973 }
3974 if (_argo1) {
3975 if (_argo1 == Py_None) { _arg1 = NULL; }
3976 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
3977 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
3978 return NULL;
3979 }
3980 }
3981{
4268f798 3982 PyThreadState* __tstate = wxPyBeginAllowThreads();
2348eaee
RD
3983 wxPyControlPoint_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
3984
4268f798
RD
3985 wxPyEndAllowThreads(__tstate);
3986 if (PyErr_Occurred()) return NULL;
2348eaee
RD
3987} Py_INCREF(Py_None);
3988 _resultobj = Py_None;
3989 return _resultobj;
3990}
3991
3992#define wxPyControlPoint_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3993static PyObject *_wrap_wxPyControlPoint_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3994 PyObject * _resultobj;
3995 wxPyControlPoint * _arg0;
3996 wxPyControlPoint * _arg1;
3997 double _arg2;
3998 double _arg3;
3999 int _arg4 = (int ) 0;
4000 int _arg5 = (int ) 0;
4001 PyObject * _argo0 = 0;
4002 PyObject * _argo1 = 0;
4003 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
4004
4005 self = self;
4006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyControlPoint_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
4007 return NULL;
4008 if (_argo0) {
4009 if (_argo0 == Py_None) { _arg0 = NULL; }
4010 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
4011 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
4012 return NULL;
4013 }
4014 }
4015 if (_argo1) {
4016 if (_argo1 == Py_None) { _arg1 = NULL; }
4017 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
4018 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
4019 return NULL;
4020 }
4021 }
4022{
4268f798 4023 PyThreadState* __tstate = wxPyBeginAllowThreads();
2348eaee
RD
4024 wxPyControlPoint_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
4025
4268f798
RD
4026 wxPyEndAllowThreads(__tstate);
4027 if (PyErr_Occurred()) return NULL;
2348eaee
RD
4028} Py_INCREF(Py_None);
4029 _resultobj = Py_None;
4030 return _resultobj;
4031}
4032
4033#define wxPyControlPoint_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
4034static PyObject *_wrap_wxPyControlPoint_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4035 PyObject * _resultobj;
4036 wxPyControlPoint * _arg0;
4037 double _arg1;
4038 double _arg2;
4039 PyObject * _argo0 = 0;
4040 char *_kwnames[] = { "self","w","h", NULL };
4041
4042 self = self;
4043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyControlPoint_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2))
4044 return NULL;
4045 if (_argo0) {
4046 if (_argo0 == Py_None) { _arg0 = NULL; }
4047 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
4048 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnBeginSize. Expected _wxPyControlPoint_p.");
4049 return NULL;
4050 }
4051 }
4052{
4268f798 4053 PyThreadState* __tstate = wxPyBeginAllowThreads();
2348eaee
RD
4054 wxPyControlPoint_base_OnBeginSize(_arg0,_arg1,_arg2);
4055
4268f798
RD
4056 wxPyEndAllowThreads(__tstate);
4057 if (PyErr_Occurred()) return NULL;
2348eaee
RD
4058} Py_INCREF(Py_None);
4059 _resultobj = Py_None;
4060 return _resultobj;
4061}
4062
4063#define wxPyControlPoint_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
4064static PyObject *_wrap_wxPyControlPoint_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4065 PyObject * _resultobj;
4066 wxPyControlPoint * _arg0;
4067 double _arg1;
4068 double _arg2;
4069 PyObject * _argo0 = 0;
4070 char *_kwnames[] = { "self","w","h", NULL };
4071
4072 self = self;
4073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyControlPoint_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2))
4074 return NULL;
4075 if (_argo0) {
4076 if (_argo0 == Py_None) { _arg0 = NULL; }
4077 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
4078 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnEndSize. Expected _wxPyControlPoint_p.");
4079 return NULL;
4080 }
4081 }
4082{
4268f798 4083 PyThreadState* __tstate = wxPyBeginAllowThreads();
2348eaee
RD
4084 wxPyControlPoint_base_OnEndSize(_arg0,_arg1,_arg2);
4085
4268f798
RD
4086 wxPyEndAllowThreads(__tstate);
4087 if (PyErr_Occurred()) return NULL;
2348eaee
RD
4088} Py_INCREF(Py_None);
4089 _resultobj = Py_None;
4090 return _resultobj;
4091}
4092
4093static void *SwigwxPyBitmapShapeTowxPyRectangleShape(void *ptr) {
4094 wxPyBitmapShape *src;
4095 wxPyRectangleShape *dest;
4096 src = (wxPyBitmapShape *) ptr;
4097 dest = (wxPyRectangleShape *) src;
4098 return (void *) dest;
4099}
4100
4101static void *SwigwxPyBitmapShapeTowxPyShape(void *ptr) {
4102 wxPyBitmapShape *src;
4103 wxPyShape *dest;
4104 src = (wxPyBitmapShape *) ptr;
4105 dest = (wxPyShape *) src;
4106 return (void *) dest;
4107}
4108
4109static void *SwigwxPyBitmapShapeTowxPyShapeEvtHandler(void *ptr) {
4110 wxPyBitmapShape *src;
4111 wxPyShapeEvtHandler *dest;
4112 src = (wxPyBitmapShape *) ptr;
4113 dest = (wxPyShapeEvtHandler *) src;
4114 return (void *) dest;
4115}
4116
9416aa89
RD
4117static void *SwigwxPyBitmapShapeTowxObject(void *ptr) {
4118 wxPyBitmapShape *src;
4119 wxObject *dest;
4120 src = (wxPyBitmapShape *) ptr;
4121 dest = (wxObject *) src;
4122 return (void *) dest;
4123}
4124
2348eaee
RD
4125#define new_wxPyBitmapShape() (new wxPyBitmapShape())
4126static PyObject *_wrap_new_wxPyBitmapShape(PyObject *self, PyObject *args, PyObject *kwargs) {
4127 PyObject * _resultobj;
4128 wxPyBitmapShape * _result;
4129 char *_kwnames[] = { NULL };
4130 char _ptemp[128];
4131
4132 self = self;
4133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyBitmapShape",_kwnames))
4134 return NULL;
4135{
4268f798 4136 PyThreadState* __tstate = wxPyBeginAllowThreads();
2348eaee
RD
4137 _result = (wxPyBitmapShape *)new_wxPyBitmapShape();
4138
4268f798
RD
4139 wxPyEndAllowThreads(__tstate);
4140 if (PyErr_Occurred()) return NULL;
2348eaee
RD
4141} if (_result) {
4142 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyBitmapShape_p");
4143 _resultobj = Py_BuildValue("s",_ptemp);
4144 } else {
4145 Py_INCREF(Py_None);
4146 _resultobj = Py_None;
4147 }
4148 return _resultobj;
4149}
4150
0122b7e3
RD
4151#define wxPyBitmapShape__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4152static PyObject *_wrap_wxPyBitmapShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2348eaee
RD
4153 PyObject * _resultobj;
4154 wxPyBitmapShape * _arg0;
4155 PyObject * _arg1;
f6bcfd97 4156 PyObject * _arg2;
2348eaee
RD
4157 PyObject * _argo0 = 0;
4158 PyObject * _obj1 = 0;
f6bcfd97
BP
4159 PyObject * _obj2 = 0;
4160 char *_kwnames[] = { "self","self","_class", NULL };
2348eaee
RD
4161
4162 self = self;
0122b7e3 4163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyBitmapShape__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
2348eaee
RD
4164 return NULL;
4165 if (_argo0) {
4166 if (_argo0 == Py_None) { _arg0 = NULL; }
4167 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
0122b7e3 4168 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape__setCallbackInfo. Expected _wxPyBitmapShape_p.");
2348eaee
RD
4169 return NULL;
4170 }
4171 }
4172{
4173 _arg1 = _obj1;
4174}
f6bcfd97
BP
4175{
4176 _arg2 = _obj2;
4177}
2348eaee 4178{
4268f798 4179 PyThreadState* __tstate = wxPyBeginAllowThreads();
0122b7e3 4180 wxPyBitmapShape__setCallbackInfo(_arg0,_arg1,_arg2);
2348eaee 4181
4268f798
RD
4182 wxPyEndAllowThreads(__tstate);
4183 if (PyErr_Occurred()) return NULL;
2348eaee
RD
4184} Py_INCREF(Py_None);
4185 _resultobj = Py_None;
4186 return _resultobj;
4187}
4188
4189#define wxPyBitmapShape_GetBitmap(_swigobj) (_swigobj->GetBitmap())
4190static PyObject *_wrap_wxPyBitmapShape_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4191 PyObject * _resultobj;
4192 wxBitmap * _result;
4193 wxPyBitmapShape * _arg0;
4194 PyObject * _argo0 = 0;
4195 char *_kwnames[] = { "self", NULL };
4196 char _ptemp[128];
4197
4198 self = self;
4199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyBitmapShape_GetBitmap",_kwnames,&_argo0))
4200 return NULL;
4201 if (_argo0) {
4202 if (_argo0 == Py_None) { _arg0 = NULL; }
4203 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4204 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_GetBitmap. Expected _wxPyBitmapShape_p.");
4205 return NULL;
4206 }
4207 }
4208{
4268f798 4209 PyThreadState* __tstate = wxPyBeginAllowThreads();
2348eaee
RD
4210 wxBitmap & _result_ref = wxPyBitmapShape_GetBitmap(_arg0);
4211 _result = (wxBitmap *) &_result_ref;
4212
4268f798
RD
4213 wxPyEndAllowThreads(__tstate);
4214 if (PyErr_Occurred()) return NULL;
2348eaee
RD
4215} if (_result) {
4216 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
4217 _resultobj = Py_BuildValue("s",_ptemp);
4218 } else {
4219 Py_INCREF(Py_None);
4220 _resultobj = Py_None;
4221 }
4222 return _resultobj;
4223}
4224
4225#define wxPyBitmapShape_GetFilename(_swigobj) (_swigobj->GetFilename())
4226static PyObject *_wrap_wxPyBitmapShape_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
4227 PyObject * _resultobj;
4228 wxString * _result;
4229 wxPyBitmapShape * _arg0;
4230 PyObject * _argo0 = 0;
4231 char *_kwnames[] = { "self", NULL };
4232
4233 self = self;
4234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyBitmapShape_GetFilename",_kwnames,&_argo0))
4235 return NULL;
4236 if (_argo0) {
4237 if (_argo0 == Py_None) { _arg0 = NULL; }
4238 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4239 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_GetFilename. Expected _wxPyBitmapShape_p.");
4240 return NULL;
4241 }
4242 }
4243{
4268f798 4244 PyThreadState* __tstate = wxPyBeginAllowThreads();
2348eaee
RD
4245 _result = new wxString (wxPyBitmapShape_GetFilename(_arg0));
4246
4268f798
RD
4247 wxPyEndAllowThreads(__tstate);
4248 if (PyErr_Occurred()) return NULL;
2348eaee 4249}{
eec92d76 4250 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
2348eaee
RD
4251}
4252{
4253 delete _result;
4254}
4255 return _resultobj;
4256}
4257
4258#define wxPyBitmapShape_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
4259static PyObject *_wrap_wxPyBitmapShape_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4260 PyObject * _resultobj;
4261 wxPyBitmapShape * _arg0;
4262 wxBitmap * _arg1;
4263 PyObject * _argo0 = 0;
4264 PyObject * _argo1 = 0;
4265 char *_kwnames[] = { "self","bitmap", NULL };
4266
4267 self = self;
4268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_SetBitmap",_kwnames,&_argo0,&_argo1))
4269 return NULL;
4270 if (_argo0) {
4271 if (_argo0 == Py_None) { _arg0 = NULL; }
4272 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4273 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_SetBitmap. Expected _wxPyBitmapShape_p.");
4274 return NULL;
4275 }
4276 }
4277 if (_argo1) {
4278 if (_argo1 == Py_None) { _arg1 = NULL; }
4279 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
4280 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_SetBitmap. Expected _wxBitmap_p.");
4281 return NULL;
4282 }
4283 }
4284{
4268f798 4285 PyThreadState* __tstate = wxPyBeginAllowThreads();
2348eaee
RD
4286 wxPyBitmapShape_SetBitmap(_arg0,*_arg1);
4287
4268f798
RD
4288 wxPyEndAllowThreads(__tstate);
4289 if (PyErr_Occurred()) return NULL;
2348eaee
RD
4290} Py_INCREF(Py_None);
4291 _resultobj = Py_None;
4292 return _resultobj;
4293}
4294
4295#define wxPyBitmapShape_SetFilename(_swigobj,_swigarg0) (_swigobj->SetFilename(_swigarg0))
4296static PyObject *_wrap_wxPyBitmapShape_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
4297 PyObject * _resultobj;
4298 wxPyBitmapShape * _arg0;
4299 wxString * _arg1;
4300 PyObject * _argo0 = 0;
4301 PyObject * _obj1 = 0;
4302 char *_kwnames[] = { "self","filename", NULL };
4303
4304 self = self;
4305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_SetFilename",_kwnames,&_argo0,&_obj1))
4306 return NULL;
4307 if (_argo0) {
4308 if (_argo0 == Py_None) { _arg0 = NULL; }
4309 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4310 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_SetFilename. Expected _wxPyBitmapShape_p.");
4311 return NULL;
4312 }
4313 }
4314{
185d7c3e
RD
4315#if PYTHON_API_VERSION >= 1009
4316 char* tmpPtr; int tmpSize;
4317 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 4318 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
4319 return NULL;
4320 }
4321 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
4322 return NULL;
4323 _arg1 = new wxString(tmpPtr, tmpSize);
4324#else
2348eaee
RD
4325 if (!PyString_Check(_obj1)) {
4326 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4327 return NULL;
4328 }
185d7c3e
RD
4329 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
4330#endif
2348eaee
RD
4331}
4332{
4268f798 4333 PyThreadState* __tstate = wxPyBeginAllowThreads();
2348eaee
RD
4334 wxPyBitmapShape_SetFilename(_arg0,*_arg1);
4335
4268f798
RD
4336 wxPyEndAllowThreads(__tstate);
4337 if (PyErr_Occurred()) return NULL;
2348eaee
RD
4338} Py_INCREF(Py_None);
4339 _resultobj = Py_None;
4340{
4341 if (_obj1)
4342 delete _arg1;
4343}
4344 return _resultobj;
4345}
4346
4347#define wxPyBitmapShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
4348static PyObject *_wrap_wxPyBitmapShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
4349 PyObject * _resultobj;
4350 wxPyBitmapShape * _arg0;
4351 PyObject * _argo0 = 0;
4352 char *_kwnames[] = { "self", NULL };
4353
4354 self = self;
4355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyBitmapShape_base_OnDelete",_kwnames,&_argo0))
4356 return NULL;
4357 if (_argo0) {
4358 if (_argo0 == Py_None) { _arg0 = NULL; }
4359 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4360 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDelete. Expected _wxPyBitmapShape_p.");
4361 return NULL;
4362 }
4363 }
4364{
4268f798 4365 PyThreadState* __tstate = wxPyBeginAllowThreads();
2348eaee
RD
4366 wxPyBitmapShape_base_OnDelete(_arg0);
4367
4268f798
RD
4368 wxPyEndAllowThreads(__tstate);
4369 if (PyErr_Occurred()) return NULL;
2348eaee
RD
4370} Py_INCREF(Py_None);
4371 _resultobj = Py_None;
4372 return _resultobj;
4373}
4374
4375#define wxPyBitmapShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
4376static PyObject *_wrap_wxPyBitmapShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
4377 PyObject * _resultobj;
4378 wxPyBitmapShape * _arg0;
4379 wxDC * _arg1;
4380 PyObject * _argo0 = 0;
4381 PyObject * _argo1 = 0;
4382 char *_kwnames[] = { "self","dc", NULL };
4383
4384 self = self;
4385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnDraw",_kwnames,&_argo0,&_argo1))
4386 return NULL;
4387 if (_argo0) {
4388 if (_argo0 == Py_None) { _arg0 = NULL; }
4389 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4390 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDraw. Expected _wxPyBitmapShape_p.");
4391 return NULL;
4392 }
4393 }
4394 if (_argo1) {
4395 if (_argo1 == Py_None) { _arg1 = NULL; }
4396 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4397 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnDraw. Expected _wxDC_p.");
4398 return NULL;
4399 }
4400 }
4401{
4268f798 4402 PyThreadState* __tstate = wxPyBeginAllowThreads();
2348eaee
RD
4403 wxPyBitmapShape_base_OnDraw(_arg0,*_arg1);
4404
4268f798
RD
4405 wxPyEndAllowThreads(__tstate);
4406 if (PyErr_Occurred()) return NULL;
2348eaee
RD
4407} Py_INCREF(Py_None);
4408 _resultobj = Py_None;
4409 return _resultobj;
4410}
4411
4412#define wxPyBitmapShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
4413static PyObject *_wrap_wxPyBitmapShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
4414 PyObject * _resultobj;
4415 wxPyBitmapShape * _arg0;
4416 wxDC * _arg1;
4417 PyObject * _argo0 = 0;
4418 PyObject * _argo1 = 0;
4419 char *_kwnames[] = { "self","dc", NULL };
4420
4421 self = self;
4422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1))
4423 return NULL;
4424 if (_argo0) {
4425 if (_argo0 == Py_None) { _arg0 = NULL; }
4426 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4427 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDrawContents. Expected _wxPyBitmapShape_p.");
4428 return NULL;
4429 }
4430 }
4431 if (_argo1) {
4432 if (_argo1 == Py_None) { _arg1 = NULL; }
4433 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4434 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnDrawContents. Expected _wxDC_p.");
4435 return NULL;
4436 }
4437 }
4438{
4268f798 4439 PyThreadState* __tstate = wxPyBeginAllowThreads();
2348eaee
RD
4440 wxPyBitmapShape_base_OnDrawContents(_arg0,*_arg1);
4441
4268f798
RD
4442 wxPyEndAllowThreads(__tstate);
4443 if (PyErr_Occurred()) return NULL;
2348eaee
RD
4444} Py_INCREF(Py_None);
4445 _resultobj = Py_None;
4446 return _resultobj;
4447}
4448
4449#define wxPyBitmapShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
4450static PyObject *_wrap_wxPyBitmapShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
4451 PyObject * _resultobj;
4452 wxPyBitmapShape * _arg0;
4453 wxDC * _arg1;
4454 bool _arg2 = (bool ) FALSE;
4455 PyObject * _argo0 = 0;
4456 PyObject * _argo1 = 0;
4457 int tempbool2 = (int) FALSE;
4458 char *_kwnames[] = { "self","dc","erase", NULL };
e91a9dfc
RD
4459
4460 self = self;
4461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyBitmapShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2))
4462 return NULL;
4463 if (_argo0) {
4464 if (_argo0 == Py_None) { _arg0 = NULL; }
4465 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4466 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDrawBranches. Expected _wxPyBitmapShape_p.");
4467 return NULL;
4468 }
4469 }
4470 if (_argo1) {
4471 if (_argo1 == Py_None) { _arg1 = NULL; }
4472 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4473 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnDrawBranches. Expected _wxDC_p.");
4474 return NULL;
4475 }
4476 }
4477 _arg2 = (bool ) tempbool2;
4478{
4268f798 4479 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
4480 wxPyBitmapShape_base_OnDrawBranches(_arg0,*_arg1,_arg2);
4481
4268f798
RD
4482 wxPyEndAllowThreads(__tstate);
4483 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
4484} Py_INCREF(Py_None);
4485 _resultobj = Py_None;
4486 return _resultobj;
4487}
4488
4489#define wxPyBitmapShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
4490static PyObject *_wrap_wxPyBitmapShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
4491 PyObject * _resultobj;
4492 wxPyBitmapShape * _arg0;
4493 wxDC * _arg1;
4494 PyObject * _argo0 = 0;
4495 PyObject * _argo1 = 0;
4496 char *_kwnames[] = { "self","dc", NULL };
4497
4498 self = self;
4499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1))
4500 return NULL;
4501 if (_argo0) {
4502 if (_argo0 == Py_None) { _arg0 = NULL; }
4503 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4504 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnMoveLinks. Expected _wxPyBitmapShape_p.");
4505 return NULL;
4506 }
4507 }
4508 if (_argo1) {
4509 if (_argo1 == Py_None) { _arg1 = NULL; }
4510 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4511 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnMoveLinks. Expected _wxDC_p.");
4512 return NULL;
4513 }
4514 }
4515{
4268f798 4516 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
4517 wxPyBitmapShape_base_OnMoveLinks(_arg0,*_arg1);
4518
4268f798
RD
4519 wxPyEndAllowThreads(__tstate);
4520 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
4521} Py_INCREF(Py_None);
4522 _resultobj = Py_None;
4523 return _resultobj;
4524}
4525
4526#define wxPyBitmapShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
4527static PyObject *_wrap_wxPyBitmapShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
4528 PyObject * _resultobj;
4529 wxPyBitmapShape * _arg0;
4530 wxDC * _arg1;
4531 PyObject * _argo0 = 0;
4532 PyObject * _argo1 = 0;
4533 char *_kwnames[] = { "self","dc", NULL };
4534
4535 self = self;
4536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnErase",_kwnames,&_argo0,&_argo1))
4537 return NULL;
4538 if (_argo0) {
4539 if (_argo0 == Py_None) { _arg0 = NULL; }
4540 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4541 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnErase. Expected _wxPyBitmapShape_p.");
4542 return NULL;
4543 }
4544 }
4545 if (_argo1) {
4546 if (_argo1 == Py_None) { _arg1 = NULL; }
4547 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4548 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnErase. Expected _wxDC_p.");
4549 return NULL;
4550 }
4551 }
4552{
4268f798 4553 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
4554 wxPyBitmapShape_base_OnErase(_arg0,*_arg1);
4555
4268f798
RD
4556 wxPyEndAllowThreads(__tstate);
4557 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
4558} Py_INCREF(Py_None);
4559 _resultobj = Py_None;
4560 return _resultobj;
4561}
4562
4563#define wxPyBitmapShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
4564static PyObject *_wrap_wxPyBitmapShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
4565 PyObject * _resultobj;
4566 wxPyBitmapShape * _arg0;
4567 wxDC * _arg1;
4568 PyObject * _argo0 = 0;
4569 PyObject * _argo1 = 0;
4570 char *_kwnames[] = { "self","dc", NULL };
4571
4572 self = self;
4573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1))
4574 return NULL;
4575 if (_argo0) {
4576 if (_argo0 == Py_None) { _arg0 = NULL; }
4577 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4578 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnEraseContents. Expected _wxPyBitmapShape_p.");
4579 return NULL;
4580 }
4581 }
4582 if (_argo1) {
4583 if (_argo1 == Py_None) { _arg1 = NULL; }
4584 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4585 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnEraseContents. Expected _wxDC_p.");
4586 return NULL;
4587 }
4588 }
4589{
4268f798 4590 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
4591 wxPyBitmapShape_base_OnEraseContents(_arg0,*_arg1);
4592
4268f798
RD
4593 wxPyEndAllowThreads(__tstate);
4594 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
4595} Py_INCREF(Py_None);
4596 _resultobj = Py_None;
4597 return _resultobj;
4598}
4599
4600#define wxPyBitmapShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
4601static PyObject *_wrap_wxPyBitmapShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
4602 PyObject * _resultobj;
4603 wxPyBitmapShape * _arg0;
4604 wxDC * _arg1;
4605 PyObject * _argo0 = 0;
4606 PyObject * _argo1 = 0;
4607 char *_kwnames[] = { "self","dc", NULL };
4608
4609 self = self;
4610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnHighlight",_kwnames,&_argo0,&_argo1))
4611 return NULL;
4612 if (_argo0) {
4613 if (_argo0 == Py_None) { _arg0 = NULL; }
4614 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4615 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnHighlight. Expected _wxPyBitmapShape_p.");
4616 return NULL;
4617 }
4618 }
4619 if (_argo1) {
4620 if (_argo1 == Py_None) { _arg1 = NULL; }
4621 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4622 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnHighlight. Expected _wxDC_p.");
4623 return NULL;
4624 }
4625 }
4626{
4268f798 4627 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
4628 wxPyBitmapShape_base_OnHighlight(_arg0,*_arg1);
4629
4268f798
RD
4630 wxPyEndAllowThreads(__tstate);
4631 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
4632} Py_INCREF(Py_None);
4633 _resultobj = Py_None;
4634 return _resultobj;
4635}
4636
4637#define wxPyBitmapShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4638static PyObject *_wrap_wxPyBitmapShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
4639 PyObject * _resultobj;
4640 wxPyBitmapShape * _arg0;
4641 double _arg1;
4642 double _arg2;
4643 int _arg3 = (int ) 0;
4644 int _arg4 = (int ) 0;
4645 PyObject * _argo0 = 0;
4646 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
4647
4648 self = self;
4649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
4650 return NULL;
4651 if (_argo0) {
4652 if (_argo0 == Py_None) { _arg0 = NULL; }
4653 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4654 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnLeftClick. Expected _wxPyBitmapShape_p.");
4655 return NULL;
4656 }
4657 }
4658{
4268f798 4659 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
4660 wxPyBitmapShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4);
4661
4268f798
RD
4662 wxPyEndAllowThreads(__tstate);
4663 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
4664} Py_INCREF(Py_None);
4665 _resultobj = Py_None;
4666 return _resultobj;
4667}
4668
4669#define wxPyBitmapShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4670static PyObject *_wrap_wxPyBitmapShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
4671 PyObject * _resultobj;
4672 wxPyBitmapShape * _arg0;
4673 double _arg1;
4674 double _arg2;
4675 int _arg3 = (int ) 0;
4676 int _arg4 = (int ) 0;
4677 PyObject * _argo0 = 0;
4678 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
4679
4680 self = self;
4681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
4682 return NULL;
4683 if (_argo0) {
4684 if (_argo0 == Py_None) { _arg0 = NULL; }
4685 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4686 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnLeftDoubleClick. Expected _wxPyBitmapShape_p.");
4687 return NULL;
4688 }
4689 }
4690{
4268f798 4691 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
4692 wxPyBitmapShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4);
4693
4268f798
RD
4694 wxPyEndAllowThreads(__tstate);
4695 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
4696} Py_INCREF(Py_None);
4697 _resultobj = Py_None;
4698 return _resultobj;
4699}
4700
4701#define wxPyBitmapShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4702static PyObject *_wrap_wxPyBitmapShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
4703 PyObject * _resultobj;
4704 wxPyBitmapShape * _arg0;
4705 double _arg1;
4706 double _arg2;
4707 int _arg3 = (int ) 0;
4708 int _arg4 = (int ) 0;
4709 PyObject * _argo0 = 0;
4710 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
4711
4712 self = self;
4713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
4714 return NULL;
4715 if (_argo0) {
4716 if (_argo0 == Py_None) { _arg0 = NULL; }
4717 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4718 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnRightClick. Expected _wxPyBitmapShape_p.");
4719 return NULL;
4720 }
4721 }
4722{
4268f798 4723 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
4724 wxPyBitmapShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4);
4725
4268f798
RD
4726 wxPyEndAllowThreads(__tstate);
4727 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
4728} Py_INCREF(Py_None);
4729 _resultobj = Py_None;
4730 return _resultobj;
4731}
4732
4733#define wxPyBitmapShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
4734static PyObject *_wrap_wxPyBitmapShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4735 PyObject * _resultobj;
4736 wxPyBitmapShape * _arg0;
4737 double _arg1;
4738 double _arg2;
4739 PyObject * _argo0 = 0;
4740 char *_kwnames[] = { "self","x","y", NULL };
4741
4742 self = self;
4743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyBitmapShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2))
4744 return NULL;
4745 if (_argo0) {
4746 if (_argo0 == Py_None) { _arg0 = NULL; }
4747 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4748 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnSize. Expected _wxPyBitmapShape_p.");
4749 return NULL;
4750 }
4751 }
4752{
4268f798 4753 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
4754 wxPyBitmapShape_base_OnSize(_arg0,_arg1,_arg2);
4755
4268f798
RD
4756 wxPyEndAllowThreads(__tstate);
4757 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
4758} Py_INCREF(Py_None);
4759 _resultobj = Py_None;
4760 return _resultobj;
4761}
4762
4763#define wxPyBitmapShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4764static PyObject *_wrap_wxPyBitmapShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
4765 PyObject * _resultobj;
4766 bool _result;
4767 wxPyBitmapShape * _arg0;
4768 wxDC * _arg1;
4769 double _arg2;
4770 double _arg3;
4771 double _arg4;
4772 double _arg5;
4773 bool _arg6 = (bool ) TRUE;
4774 PyObject * _argo0 = 0;
4775 PyObject * _argo1 = 0;
4776 int tempbool6 = (int) TRUE;
4777 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
4778
4779 self = self;
4780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyBitmapShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
4781 return NULL;
4782 if (_argo0) {
4783 if (_argo0 == Py_None) { _arg0 = NULL; }
4784 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4785 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnMovePre. Expected _wxPyBitmapShape_p.");
4786 return NULL;
4787 }
4788 }
4789 if (_argo1) {
4790 if (_argo1 == Py_None) { _arg1 = NULL; }
4791 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4792 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnMovePre. Expected _wxDC_p.");
4793 return NULL;
4794 }
4795 }
4796 _arg6 = (bool ) tempbool6;
4797{
4268f798 4798 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
4799 _result = (bool )wxPyBitmapShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
4800
4268f798
RD
4801 wxPyEndAllowThreads(__tstate);
4802 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
4803} _resultobj = Py_BuildValue("i",_result);
4804 return _resultobj;
4805}
4806
4807#define wxPyBitmapShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4808static PyObject *_wrap_wxPyBitmapShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
4809 PyObject * _resultobj;
4810 wxPyBitmapShape * _arg0;
4811 wxDC * _arg1;
4812 double _arg2;
4813 double _arg3;
4814 double _arg4;
4815 double _arg5;
4816 bool _arg6 = (bool ) TRUE;
4817 PyObject * _argo0 = 0;
4818 PyObject * _argo1 = 0;
4819 int tempbool6 = (int) TRUE;
4820 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
4821
4822 self = self;
4823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyBitmapShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
4824 return NULL;
4825 if (_argo0) {
4826 if (_argo0 == Py_None) { _arg0 = NULL; }
4827 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4828 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnMovePost. Expected _wxPyBitmapShape_p.");
4829 return NULL;
4830 }
4831 }
4832 if (_argo1) {
4833 if (_argo1 == Py_None) { _arg1 = NULL; }
4834 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4835 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnMovePost. Expected _wxDC_p.");
4836 return NULL;
4837 }
4838 }
4839 _arg6 = (bool ) tempbool6;
4840{
4268f798 4841 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
4842 wxPyBitmapShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
4843
4268f798
RD
4844 wxPyEndAllowThreads(__tstate);
4845 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
4846} Py_INCREF(Py_None);
4847 _resultobj = Py_None;
4848 return _resultobj;
4849}
4850
4851#define wxPyBitmapShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4852static PyObject *_wrap_wxPyBitmapShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
4853 PyObject * _resultobj;
4854 wxPyBitmapShape * _arg0;
4855 bool _arg1;
4856 double _arg2;
4857 double _arg3;
4858 int _arg4 = (int ) 0;
4859 int _arg5 = (int ) 0;
4860 PyObject * _argo0 = 0;
4861 int tempbool1;
4862 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
4863
4864 self = self;
4865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyBitmapShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
4866 return NULL;
4867 if (_argo0) {
4868 if (_argo0 == Py_None) { _arg0 = NULL; }
4869 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4870 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDragLeft. Expected _wxPyBitmapShape_p.");
4871 return NULL;
4872 }
4873 }
4874 _arg1 = (bool ) tempbool1;
4875{
4268f798 4876 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
4877 wxPyBitmapShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
4878
4268f798
RD
4879 wxPyEndAllowThreads(__tstate);
4880 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
4881} Py_INCREF(Py_None);
4882 _resultobj = Py_None;
4883 return _resultobj;
4884}
4885
4886#define wxPyBitmapShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4887static PyObject *_wrap_wxPyBitmapShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
4888 PyObject * _resultobj;
4889 wxPyBitmapShape * _arg0;
4890 double _arg1;
4891 double _arg2;
4892 int _arg3 = (int ) 0;
4893 int _arg4 = (int ) 0;
4894 PyObject * _argo0 = 0;
4895 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
4896
4897 self = self;
4898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
4899 return NULL;
4900 if (_argo0) {
4901 if (_argo0 == Py_None) { _arg0 = NULL; }
4902 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4903 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnBeginDragLeft. Expected _wxPyBitmapShape_p.");
4904 return NULL;
4905 }
4906 }
4907{
4268f798 4908 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
4909 wxPyBitmapShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
4910
4268f798
RD
4911 wxPyEndAllowThreads(__tstate);
4912 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
4913} Py_INCREF(Py_None);
4914 _resultobj = Py_None;
4915 return _resultobj;
4916}
4917
4918#define wxPyBitmapShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4919static PyObject *_wrap_wxPyBitmapShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
4920 PyObject * _resultobj;
4921 wxPyBitmapShape * _arg0;
4922 double _arg1;
4923 double _arg2;
4924 int _arg3 = (int ) 0;
4925 int _arg4 = (int ) 0;
4926 PyObject * _argo0 = 0;
4927 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
4928
4929 self = self;
4930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
4931 return NULL;
4932 if (_argo0) {
4933 if (_argo0 == Py_None) { _arg0 = NULL; }
4934 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4935 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnEndDragLeft. Expected _wxPyBitmapShape_p.");
4936 return NULL;
4937 }
4938 }
4939{
4268f798 4940 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
4941 wxPyBitmapShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
4942
4268f798
RD
4943 wxPyEndAllowThreads(__tstate);
4944 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
4945} Py_INCREF(Py_None);
4946 _resultobj = Py_None;
4947 return _resultobj;
4948}
4949
4950#define wxPyBitmapShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4951static PyObject *_wrap_wxPyBitmapShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
4952 PyObject * _resultobj;
4953 wxPyBitmapShape * _arg0;
4954 bool _arg1;
4955 double _arg2;
4956 double _arg3;
4957 int _arg4 = (int ) 0;
4958 int _arg5 = (int ) 0;
4959 PyObject * _argo0 = 0;
4960 int tempbool1;
4961 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
4962
4963 self = self;
4964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyBitmapShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
4965 return NULL;
4966 if (_argo0) {
4967 if (_argo0 == Py_None) { _arg0 = NULL; }
4968 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4969 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDragRight. Expected _wxPyBitmapShape_p.");
4970 return NULL;
4971 }
4972 }
4973 _arg1 = (bool ) tempbool1;
4974{
4268f798 4975 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
4976 wxPyBitmapShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
4977
4268f798
RD
4978 wxPyEndAllowThreads(__tstate);
4979 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
4980} Py_INCREF(Py_None);
4981 _resultobj = Py_None;
4982 return _resultobj;
4983}
4984
4985#define wxPyBitmapShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4986static PyObject *_wrap_wxPyBitmapShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
4987 PyObject * _resultobj;
4988 wxPyBitmapShape * _arg0;
4989 double _arg1;
4990 double _arg2;
4991 int _arg3 = (int ) 0;
4992 int _arg4 = (int ) 0;
4993 PyObject * _argo0 = 0;
4994 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
4995
4996 self = self;
4997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
4998 return NULL;
4999 if (_argo0) {
5000 if (_argo0 == Py_None) { _arg0 = NULL; }
5001 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
5002 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnBeginDragRight. Expected _wxPyBitmapShape_p.");
5003 return NULL;
5004 }
5005 }
5006{
4268f798 5007 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
5008 wxPyBitmapShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
5009
4268f798
RD
5010 wxPyEndAllowThreads(__tstate);
5011 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
5012} Py_INCREF(Py_None);
5013 _resultobj = Py_None;
5014 return _resultobj;
5015}
5016
5017#define wxPyBitmapShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5018static PyObject *_wrap_wxPyBitmapShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
5019 PyObject * _resultobj;
5020 wxPyBitmapShape * _arg0;
5021 double _arg1;
5022 double _arg2;
5023 int _arg3 = (int ) 0;
5024 int _arg4 = (int ) 0;
5025 PyObject * _argo0 = 0;
5026 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
5027
5028 self = self;
5029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
5030 return NULL;
5031 if (_argo0) {
5032 if (_argo0 == Py_None) { _arg0 = NULL; }
5033 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
5034 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnEndDragRight. Expected _wxPyBitmapShape_p.");
5035 return NULL;
5036 }
5037 }
5038{
4268f798 5039 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
5040 wxPyBitmapShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
5041
4268f798
RD
5042 wxPyEndAllowThreads(__tstate);
5043 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
5044} Py_INCREF(Py_None);
5045 _resultobj = Py_None;
5046 return _resultobj;
5047}
5048
5049#define wxPyBitmapShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5050static PyObject *_wrap_wxPyBitmapShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
5051 PyObject * _resultobj;
5052 wxPyBitmapShape * _arg0;
5053 wxDC * _arg1;
5054 double _arg2;
5055 double _arg3;
5056 double _arg4;
5057 double _arg5;
5058 PyObject * _argo0 = 0;
5059 PyObject * _argo1 = 0;
5060 char *_kwnames[] = { "self","dc","x","y","w","h", NULL };
5061
5062 self = self;
5063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyBitmapShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
5064 return NULL;
5065 if (_argo0) {
5066 if (_argo0 == Py_None) { _arg0 = NULL; }
5067 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
5068 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDrawOutline. Expected _wxPyBitmapShape_p.");
5069 return NULL;
5070 }
5071 }
5072 if (_argo1) {
5073 if (_argo1 == Py_None) { _arg1 = NULL; }
5074 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
5075 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnDrawOutline. Expected _wxDC_p.");
5076 return NULL;
5077 }
5078 }
5079{
4268f798 5080 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
5081 wxPyBitmapShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5);
5082
4268f798
RD
5083 wxPyEndAllowThreads(__tstate);
5084 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
5085} Py_INCREF(Py_None);
5086 _resultobj = Py_None;
5087 return _resultobj;
5088}
5089
5090#define wxPyBitmapShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
5091static PyObject *_wrap_wxPyBitmapShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
5092 PyObject * _resultobj;
5093 wxPyBitmapShape * _arg0;
5094 wxDC * _arg1;
5095 PyObject * _argo0 = 0;
5096 PyObject * _argo1 = 0;
5097 char *_kwnames[] = { "self","dc", NULL };
5098
5099 self = self;
5100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1))
5101 return NULL;
5102 if (_argo0) {
5103 if (_argo0 == Py_None) { _arg0 = NULL; }
5104 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
5105 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDrawControlPoints. Expected _wxPyBitmapShape_p.");
5106 return NULL;
5107 }
5108 }
5109 if (_argo1) {
5110 if (_argo1 == Py_None) { _arg1 = NULL; }
5111 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
5112 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnDrawControlPoints. Expected _wxDC_p.");
5113 return NULL;
5114 }
5115 }
5116{
4268f798 5117 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
5118 wxPyBitmapShape_base_OnDrawControlPoints(_arg0,*_arg1);
5119
4268f798
RD
5120 wxPyEndAllowThreads(__tstate);
5121 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
5122} Py_INCREF(Py_None);
5123 _resultobj = Py_None;
5124 return _resultobj;
5125}
5126
5127#define wxPyBitmapShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
5128static PyObject *_wrap_wxPyBitmapShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
5129 PyObject * _resultobj;
5130 wxPyBitmapShape * _arg0;
5131 wxDC * _arg1;
5132 PyObject * _argo0 = 0;
5133 PyObject * _argo1 = 0;
5134 char *_kwnames[] = { "self","dc", NULL };
5135
5136 self = self;
5137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1))
5138 return NULL;
5139 if (_argo0) {
5140 if (_argo0 == Py_None) { _arg0 = NULL; }
5141 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
5142 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnEraseControlPoints. Expected _wxPyBitmapShape_p.");
5143 return NULL;
5144 }
5145 }
5146 if (_argo1) {
5147 if (_argo1 == Py_None) { _arg1 = NULL; }
5148 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
5149 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnEraseControlPoints. Expected _wxDC_p.");
5150 return NULL;
5151 }
5152 }
5153{
4268f798 5154 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
5155 wxPyBitmapShape_base_OnEraseControlPoints(_arg0,*_arg1);
5156
4268f798
RD
5157 wxPyEndAllowThreads(__tstate);
5158 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
5159} Py_INCREF(Py_None);
5160 _resultobj = Py_None;
5161 return _resultobj;
5162}
5163
5164#define wxPyBitmapShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
5165static PyObject *_wrap_wxPyBitmapShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
5166 PyObject * _resultobj;
5167 wxPyBitmapShape * _arg0;
5168 wxDC * _arg1;
5169 bool _arg2 = (bool ) TRUE;
5170 PyObject * _argo0 = 0;
5171 PyObject * _argo1 = 0;
5172 int tempbool2 = (int) TRUE;
5173 char *_kwnames[] = { "self","dc","moveControlPoints", NULL };
5174
5175 self = self;
5176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyBitmapShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2))
5177 return NULL;
5178 if (_argo0) {
5179 if (_argo0 == Py_None) { _arg0 = NULL; }
5180 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
5181 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnMoveLink. Expected _wxPyBitmapShape_p.");
5182 return NULL;
5183 }
5184 }
5185 if (_argo1) {
5186 if (_argo1 == Py_None) { _arg1 = NULL; }
5187 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
5188 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnMoveLink. Expected _wxDC_p.");
5189 return NULL;
5190 }
5191 }
5192 _arg2 = (bool ) tempbool2;
5193{
4268f798 5194 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
5195 wxPyBitmapShape_base_OnMoveLink(_arg0,*_arg1,_arg2);
5196
4268f798
RD
5197 wxPyEndAllowThreads(__tstate);
5198 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
5199} Py_INCREF(Py_None);
5200 _resultobj = Py_None;
5201 return _resultobj;
5202}
5203
5204#define wxPyBitmapShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5205static PyObject *_wrap_wxPyBitmapShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
5206 PyObject * _resultobj;
5207 wxPyBitmapShape * _arg0;
2348eaee 5208 wxPyControlPoint * _arg1;
e91a9dfc
RD
5209 bool _arg2;
5210 double _arg3;
5211 double _arg4;
5212 int _arg5 = (int ) 0;
5213 int _arg6 = (int ) 0;
5214 PyObject * _argo0 = 0;
5215 PyObject * _argo1 = 0;
5216 int tempbool2;
5217 char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL };
5218
5219 self = self;
5220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyBitmapShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6))
5221 return NULL;
5222 if (_argo0) {
5223 if (_argo0 == Py_None) { _arg0 = NULL; }
5224 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
5225 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnSizingDragLeft. Expected _wxPyBitmapShape_p.");
5226 return NULL;
5227 }
5228 }
5229 if (_argo1) {
5230 if (_argo1 == Py_None) { _arg1 = NULL; }
2348eaee
RD
5231 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
5232 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
e91a9dfc
RD
5233 return NULL;
5234 }
5235 }
5236 _arg2 = (bool ) tempbool2;
5237{
4268f798 5238 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
5239 wxPyBitmapShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
5240
4268f798
RD
5241 wxPyEndAllowThreads(__tstate);
5242 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
5243} Py_INCREF(Py_None);
5244 _resultobj = Py_None;
5245 return _resultobj;
5246}
5247
5248#define wxPyBitmapShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5249static PyObject *_wrap_wxPyBitmapShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
5250 PyObject * _resultobj;
5251 wxPyBitmapShape * _arg0;
2348eaee 5252 wxPyControlPoint * _arg1;
e91a9dfc
RD
5253 double _arg2;
5254 double _arg3;
5255 int _arg4 = (int ) 0;
5256 int _arg5 = (int ) 0;
5257 PyObject * _argo0 = 0;
5258 PyObject * _argo1 = 0;
5259 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
5260
5261 self = self;
5262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyBitmapShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
5263 return NULL;
5264 if (_argo0) {
5265 if (_argo0 == Py_None) { _arg0 = NULL; }
5266 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
5267 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnSizingBeginDragLeft. Expected _wxPyBitmapShape_p.");
5268 return NULL;
5269 }
5270 }
5271 if (_argo1) {
5272 if (_argo1 == Py_None) { _arg1 = NULL; }
2348eaee
RD
5273 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
5274 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
e91a9dfc
RD
5275 return NULL;
5276 }
5277 }
5278{
4268f798 5279 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
5280 wxPyBitmapShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
5281
4268f798
RD
5282 wxPyEndAllowThreads(__tstate);
5283 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
5284} Py_INCREF(Py_None);
5285 _resultobj = Py_None;
5286 return _resultobj;
5287}
5288
5289#define wxPyBitmapShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5290static PyObject *_wrap_wxPyBitmapShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
5291 PyObject * _resultobj;
5292 wxPyBitmapShape * _arg0;
2348eaee 5293 wxPyControlPoint * _arg1;
e91a9dfc
RD
5294 double _arg2;
5295 double _arg3;
5296 int _arg4 = (int ) 0;
5297 int _arg5 = (int ) 0;
5298 PyObject * _argo0 = 0;
5299 PyObject * _argo1 = 0;
5300 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
5301
5302 self = self;
5303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyBitmapShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
5304 return NULL;
5305 if (_argo0) {
5306 if (_argo0 == Py_None) { _arg0 = NULL; }
5307 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
5308 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnSizingEndDragLeft. Expected _wxPyBitmapShape_p.");
5309 return NULL;
5310 }
5311 }
5312 if (_argo1) {
5313 if (_argo1 == Py_None) { _arg1 = NULL; }
2348eaee
RD
5314 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
5315 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
e91a9dfc
RD
5316 return NULL;
5317 }
5318 }
5319{
4268f798 5320 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
5321 wxPyBitmapShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
5322
4268f798
RD
5323 wxPyEndAllowThreads(__tstate);
5324 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
5325} Py_INCREF(Py_None);
5326 _resultobj = Py_None;
5327 return _resultobj;
5328}
5329
5330#define wxPyBitmapShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
5331static PyObject *_wrap_wxPyBitmapShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5332 PyObject * _resultobj;
5333 wxPyBitmapShape * _arg0;
5334 double _arg1;
5335 double _arg2;
5336 PyObject * _argo0 = 0;
5337 char *_kwnames[] = { "self","w","h", NULL };
5338
5339 self = self;
5340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyBitmapShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2))
5341 return NULL;
5342 if (_argo0) {
5343 if (_argo0 == Py_None) { _arg0 = NULL; }
5344 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
5345 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnBeginSize. Expected _wxPyBitmapShape_p.");
5346 return NULL;
5347 }
5348 }
5349{
4268f798 5350 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
5351 wxPyBitmapShape_base_OnBeginSize(_arg0,_arg1,_arg2);
5352
4268f798
RD
5353 wxPyEndAllowThreads(__tstate);
5354 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
5355} Py_INCREF(Py_None);
5356 _resultobj = Py_None;
5357 return _resultobj;
5358}
5359
5360#define wxPyBitmapShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
5361static PyObject *_wrap_wxPyBitmapShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5362 PyObject * _resultobj;
5363 wxPyBitmapShape * _arg0;
5364 double _arg1;
5365 double _arg2;
5366 PyObject * _argo0 = 0;
5367 char *_kwnames[] = { "self","w","h", NULL };
5368
5369 self = self;
5370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyBitmapShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2))
5371 return NULL;
5372 if (_argo0) {
5373 if (_argo0 == Py_None) { _arg0 = NULL; }
5374 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
5375 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnEndSize. Expected _wxPyBitmapShape_p.");
5376 return NULL;
5377 }
5378 }
5379{
4268f798 5380 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
5381 wxPyBitmapShape_base_OnEndSize(_arg0,_arg1,_arg2);
5382
4268f798
RD
5383 wxPyEndAllowThreads(__tstate);
5384 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
5385} Py_INCREF(Py_None);
5386 _resultobj = Py_None;
5387 return _resultobj;
5388}
5389
5390static void *SwigwxPyDrawnShapeTowxPyRectangleShape(void *ptr) {
5391 wxPyDrawnShape *src;
5392 wxPyRectangleShape *dest;
5393 src = (wxPyDrawnShape *) ptr;
5394 dest = (wxPyRectangleShape *) src;
5395 return (void *) dest;
5396}
5397
5398static void *SwigwxPyDrawnShapeTowxPyShape(void *ptr) {
5399 wxPyDrawnShape *src;
5400 wxPyShape *dest;
5401 src = (wxPyDrawnShape *) ptr;
5402 dest = (wxPyShape *) src;
5403 return (void *) dest;
5404}
5405
5406static void *SwigwxPyDrawnShapeTowxPyShapeEvtHandler(void *ptr) {
5407 wxPyDrawnShape *src;
5408 wxPyShapeEvtHandler *dest;
5409 src = (wxPyDrawnShape *) ptr;
5410 dest = (wxPyShapeEvtHandler *) src;
5411 return (void *) dest;
5412}
5413
9416aa89
RD
5414static void *SwigwxPyDrawnShapeTowxObject(void *ptr) {
5415 wxPyDrawnShape *src;
5416 wxObject *dest;
5417 src = (wxPyDrawnShape *) ptr;
5418 dest = (wxObject *) src;
5419 return (void *) dest;
5420}
5421
e91a9dfc
RD
5422#define new_wxPyDrawnShape() (new wxPyDrawnShape())
5423static PyObject *_wrap_new_wxPyDrawnShape(PyObject *self, PyObject *args, PyObject *kwargs) {
5424 PyObject * _resultobj;
5425 wxPyDrawnShape * _result;
5426 char *_kwnames[] = { NULL };
5427 char _ptemp[128];
5428
5429 self = self;
5430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyDrawnShape",_kwnames))
5431 return NULL;
5432{
4268f798 5433 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
5434 _result = (wxPyDrawnShape *)new_wxPyDrawnShape();
5435
4268f798
RD
5436 wxPyEndAllowThreads(__tstate);
5437 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
5438} if (_result) {
5439 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyDrawnShape_p");
5440 _resultobj = Py_BuildValue("s",_ptemp);
5441 } else {
5442 Py_INCREF(Py_None);
5443 _resultobj = Py_None;
5444 }
5445 return _resultobj;
5446}
5447
0122b7e3
RD
5448#define wxPyDrawnShape__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5449static PyObject *_wrap_wxPyDrawnShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
e91a9dfc
RD
5450 PyObject * _resultobj;
5451 wxPyDrawnShape * _arg0;
5452 PyObject * _arg1;
f6bcfd97 5453 PyObject * _arg2;
e91a9dfc
RD
5454 PyObject * _argo0 = 0;
5455 PyObject * _obj1 = 0;
f6bcfd97
BP
5456 PyObject * _obj2 = 0;
5457 char *_kwnames[] = { "self","self","_class", NULL };
e91a9dfc
RD
5458
5459 self = self;
0122b7e3 5460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyDrawnShape__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
e91a9dfc
RD
5461 return NULL;
5462 if (_argo0) {
5463 if (_argo0 == Py_None) { _arg0 = NULL; }
5464 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
0122b7e3 5465 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape__setCallbackInfo. Expected _wxPyDrawnShape_p.");
e91a9dfc
RD
5466 return NULL;
5467 }
5468 }
5469{
5470 _arg1 = _obj1;
5471}
f6bcfd97
BP
5472{
5473 _arg2 = _obj2;
5474}
e91a9dfc 5475{
4268f798 5476 PyThreadState* __tstate = wxPyBeginAllowThreads();
0122b7e3 5477 wxPyDrawnShape__setCallbackInfo(_arg0,_arg1,_arg2);
e91a9dfc 5478
4268f798
RD
5479 wxPyEndAllowThreads(__tstate);
5480 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
5481} Py_INCREF(Py_None);
5482 _resultobj = Py_None;
5483 return _resultobj;
5484}
5485
5486#define wxPyDrawnShape_CalculateSize(_swigobj) (_swigobj->CalculateSize())
5487static PyObject *_wrap_wxPyDrawnShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5488 PyObject * _resultobj;
5489 wxPyDrawnShape * _arg0;
5490 PyObject * _argo0 = 0;
5491 char *_kwnames[] = { "self", NULL };
5492
5493 self = self;
5494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_CalculateSize",_kwnames,&_argo0))
5495 return NULL;
5496 if (_argo0) {
5497 if (_argo0 == Py_None) { _arg0 = NULL; }
5498 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5499 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_CalculateSize. Expected _wxPyDrawnShape_p.");
5500 return NULL;
5501 }
5502 }
5503{
4268f798 5504 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
5505 wxPyDrawnShape_CalculateSize(_arg0);
5506
4268f798
RD
5507 wxPyEndAllowThreads(__tstate);
5508 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
5509} Py_INCREF(Py_None);
5510 _resultobj = Py_None;
5511 return _resultobj;
5512}
5513
5514#define wxPyDrawnShape_DestroyClippingRect(_swigobj) (_swigobj->DestroyClippingRect())
5515static PyObject *_wrap_wxPyDrawnShape_DestroyClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
5516 PyObject * _resultobj;
5517 wxPyDrawnShape * _arg0;
5518 PyObject * _argo0 = 0;
5519 char *_kwnames[] = { "self", NULL };
5520
5521 self = self;
5522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_DestroyClippingRect",_kwnames,&_argo0))
5523 return NULL;
5524 if (_argo0) {
5525 if (_argo0 == Py_None) { _arg0 = NULL; }
5526 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5527 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DestroyClippingRect. Expected _wxPyDrawnShape_p.");
5528 return NULL;
5529 }
5530 }
5531{
4268f798 5532 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
5533 wxPyDrawnShape_DestroyClippingRect(_arg0);
5534
4268f798
RD
5535 wxPyEndAllowThreads(__tstate);
5536 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
5537} Py_INCREF(Py_None);
5538 _resultobj = Py_None;
5539 return _resultobj;
5540}
5541
5542#define wxPyDrawnShape_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2))
5543static PyObject *_wrap_wxPyDrawnShape_DrawArc(PyObject *self, PyObject *args, PyObject *kwargs) {
5544 PyObject * _resultobj;
5545 wxPyDrawnShape * _arg0;
5546 wxPoint * _arg1;
5547 wxPoint * _arg2;
5548 wxPoint * _arg3;
5549 PyObject * _argo0 = 0;
2348eaee
RD
5550 wxPoint temp;
5551 PyObject * _obj1 = 0;
5552 wxPoint temp0;
5553 PyObject * _obj2 = 0;
5554 wxPoint temp1;
5555 PyObject * _obj3 = 0;
e91a9dfc
RD
5556 char *_kwnames[] = { "self","centrePoint","startPoint","endPoint", NULL };
5557
5558 self = self;
2348eaee 5559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxPyDrawnShape_DrawArc",_kwnames,&_argo0,&_obj1,&_obj2,&_obj3))
e91a9dfc
RD
5560 return NULL;
5561 if (_argo0) {
5562 if (_argo0 == Py_None) { _arg0 = NULL; }
5563 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5564 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawArc. Expected _wxPyDrawnShape_p.");
5565 return NULL;
5566 }
5567 }
2348eaee
RD
5568{
5569 _arg1 = &temp;
5570 if (! wxPoint_helper(_obj1, &_arg1))
e91a9dfc 5571 return NULL;
2348eaee
RD
5572}
5573{
5574 _arg2 = &temp0;
5575 if (! wxPoint_helper(_obj2, &_arg2))
e91a9dfc 5576 return NULL;
2348eaee
RD
5577}
5578{
5579 _arg3 = &temp1;
5580 if (! wxPoint_helper(_obj3, &_arg3))
e91a9dfc 5581 return NULL;
2348eaee 5582}
e91a9dfc 5583{
4268f798 5584 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
5585 wxPyDrawnShape_DrawArc(_arg0,*_arg1,*_arg2,*_arg3);
5586
4268f798
RD
5587 wxPyEndAllowThreads(__tstate);
5588 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
5589} Py_INCREF(Py_None);
5590 _resultobj = Py_None;
5591 return _resultobj;
5592}
5593
5594#define wxPyDrawnShape_DrawAtAngle(_swigobj,_swigarg0) (_swigobj->DrawAtAngle(_swigarg0))
5595static PyObject *_wrap_wxPyDrawnShape_DrawAtAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
5596 PyObject * _resultobj;
5597 wxPyDrawnShape * _arg0;
5598 int _arg1;
5599 PyObject * _argo0 = 0;
5600 char *_kwnames[] = { "self","angle", NULL };
5601
5602 self = self;
5603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDrawnShape_DrawAtAngle",_kwnames,&_argo0,&_arg1))
5604 return NULL;
5605 if (_argo0) {
5606 if (_argo0 == Py_None) { _arg0 = NULL; }
5607 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5608 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawAtAngle. Expected _wxPyDrawnShape_p.");
5609 return NULL;
5610 }
5611 }
5612{
4268f798 5613 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
5614 wxPyDrawnShape_DrawAtAngle(_arg0,_arg1);
5615
4268f798
RD
5616 wxPyEndAllowThreads(__tstate);
5617 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
5618} Py_INCREF(Py_None);
5619 _resultobj = Py_None;
5620 return _resultobj;
5621}
5622
5623#define wxPyDrawnShape_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2))
5624static PyObject *_wrap_wxPyDrawnShape_DrawEllipticArc(PyObject *self, PyObject *args, PyObject *kwargs) {
5625 PyObject * _resultobj;
5626 wxPyDrawnShape * _arg0;
5627 wxRect * _arg1;
5628 double _arg2;
5629 double _arg3;
5630 PyObject * _argo0 = 0;
2348eaee
RD
5631 wxRect temp;
5632 PyObject * _obj1 = 0;
e91a9dfc
RD
5633 char *_kwnames[] = { "self","rect","startAngle","endAngle", NULL };
5634
5635 self = self;
2348eaee 5636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd:wxPyDrawnShape_DrawEllipticArc",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3))
e91a9dfc
RD
5637 return NULL;
5638 if (_argo0) {
5639 if (_argo0 == Py_None) { _arg0 = NULL; }
5640 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5641 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawEllipticArc. Expected _wxPyDrawnShape_p.");
5642 return NULL;
5643 }
5644 }
2348eaee
RD
5645{
5646 _arg1 = &temp;
5647 if (! wxRect_helper(_obj1, &_arg1))
e91a9dfc 5648 return NULL;
2348eaee 5649}
e91a9dfc 5650{
4268f798 5651 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
5652 wxPyDrawnShape_DrawEllipticArc(_arg0,*_arg1,_arg2,_arg3);
5653
4268f798
RD
5654 wxPyEndAllowThreads(__tstate);
5655 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
5656} Py_INCREF(Py_None);
5657 _resultobj = Py_None;
5658 return _resultobj;
5659}
5660
5661#define wxPyDrawnShape_DrawLine(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawLine(_swigarg0,_swigarg1))
5662static PyObject *_wrap_wxPyDrawnShape_DrawLine(PyObject *self, PyObject *args, PyObject *kwargs) {
5663 PyObject * _resultobj;
5664 wxPyDrawnShape * _arg0;
5665 wxPoint * _arg1;
5666 wxPoint * _arg2;
5667 PyObject * _argo0 = 0;
2348eaee
RD
5668 wxPoint temp;
5669 PyObject * _obj1 = 0;
5670 wxPoint temp0;
5671 PyObject * _obj2 = 0;
e91a9dfc
RD
5672 char *_kwnames[] = { "self","point1","point2", NULL };
5673
5674 self = self;
2348eaee 5675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyDrawnShape_DrawLine",_kwnames,&_argo0,&_obj1,&_obj2))
e91a9dfc
RD
5676 return NULL;
5677 if (_argo0) {
5678 if (_argo0 == Py_None) { _arg0 = NULL; }
5679 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5680 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawLine. Expected _wxPyDrawnShape_p.");
5681 return NULL;
5682 }
5683 }
2348eaee
RD
5684{
5685 _arg1 = &temp;
5686 if (! wxPoint_helper(_obj1, &_arg1))
e91a9dfc 5687 return NULL;
2348eaee
RD
5688}
5689{
5690 _arg2 = &temp0;
5691 if (! wxPoint_helper(_obj2, &_arg2))
e91a9dfc 5692 return NULL;
2348eaee 5693}
e91a9dfc 5694{
4268f798 5695 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
5696 wxPyDrawnShape_DrawLine(_arg0,*_arg1,*_arg2);
5697
4268f798
RD
5698 wxPyEndAllowThreads(__tstate);
5699 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
5700} Py_INCREF(Py_None);
5701 _resultobj = Py_None;
5702 return _resultobj;
5703}
5704
5705#define wxPyDrawnShape_DrawLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawLines(_swigarg0,_swigarg1))
5706static PyObject *_wrap_wxPyDrawnShape_DrawLines(PyObject *self, PyObject *args, PyObject *kwargs) {
5707 PyObject * _resultobj;
5708 wxPyDrawnShape * _arg0;
5709 int _arg1;
5710 wxPoint * _arg2;
5711 PyObject * _argo0 = 0;
e0672e2f 5712 int NPOINTS;
e91a9dfc 5713 PyObject * _obj2 = 0;
eec92d76 5714 char *_kwnames[] = { "self","points", NULL };
e91a9dfc
RD
5715
5716 self = self;
5717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_DrawLines",_kwnames,&_argo0,&_obj2))
5718 return NULL;
5719 if (_argo0) {
5720 if (_argo0 == Py_None) { _arg0 = NULL; }
5721 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5722 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawLines. Expected _wxPyDrawnShape_p.");
5723 return NULL;
5724 }
5725 }
5726 if (_obj2)
5727{
e0672e2f
RD
5728 _arg2 = wxPoint_LIST_helper(_obj2, &NPOINTS);
5729 if (_arg2 == NULL) {
5730 return NULL;
5731 }
e91a9dfc
RD
5732}
5733{
e0672e2f 5734 _arg1 = NPOINTS;
e91a9dfc
RD
5735}
5736{
4268f798 5737 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
5738 wxPyDrawnShape_DrawLines(_arg0,_arg1,_arg2);
5739
4268f798
RD
5740 wxPyEndAllowThreads(__tstate);
5741 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
5742} Py_INCREF(Py_None);
5743 _resultobj = Py_None;
5744{
5745 delete [] _arg2;
5746}
5747 return _resultobj;
5748}
5749
5750#define wxPyDrawnShape_DrawPoint(_swigobj,_swigarg0) (_swigobj->DrawPoint(_swigarg0))
5751static PyObject *_wrap_wxPyDrawnShape_DrawPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
5752 PyObject * _resultobj;
5753 wxPyDrawnShape * _arg0;
5754 wxPoint * _arg1;
5755 PyObject * _argo0 = 0;
2348eaee
RD
5756 wxPoint temp;
5757 PyObject * _obj1 = 0;
e91a9dfc
RD
5758 char *_kwnames[] = { "self","point", NULL };
5759
5760 self = self;
2348eaee 5761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_DrawPoint",_kwnames,&_argo0,&_obj1))
e91a9dfc
RD
5762 return NULL;
5763 if (_argo0) {
5764 if (_argo0 == Py_None) { _arg0 = NULL; }
5765 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5766 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawPoint. Expected _wxPyDrawnShape_p.");
5767 return NULL;
5768 }
5769 }
2348eaee
RD
5770{
5771 _arg1 = &temp;
5772 if (! wxPoint_helper(_obj1, &_arg1))
e91a9dfc 5773 return NULL;
2348eaee 5774}
e91a9dfc 5775{
4268f798 5776 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
5777 wxPyDrawnShape_DrawPoint(_arg0,*_arg1);
5778
4268f798
RD
5779 wxPyEndAllowThreads(__tstate);
5780 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
5781} Py_INCREF(Py_None);
5782 _resultobj = Py_None;
5783 return _resultobj;
5784}
5785
5786#define wxPyDrawnShape_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2))
5787static PyObject *_wrap_wxPyDrawnShape_DrawPolygon(PyObject *self, PyObject *args, PyObject *kwargs) {
5788 PyObject * _resultobj;
5789 wxPyDrawnShape * _arg0;
5790 int _arg1;
5791 wxPoint * _arg2;
5792 int _arg3 = (int ) 0;
5793 PyObject * _argo0 = 0;
e0672e2f 5794 int NPOINTS;
e91a9dfc 5795 PyObject * _obj2 = 0;
eec92d76 5796 char *_kwnames[] = { "self","points","flags", NULL };
e91a9dfc
RD
5797
5798 self = self;
5799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDrawnShape_DrawPolygon",_kwnames,&_argo0,&_obj2,&_arg3))
5800 return NULL;
5801 if (_argo0) {
5802 if (_argo0 == Py_None) { _arg0 = NULL; }
5803 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5804 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawPolygon. Expected _wxPyDrawnShape_p.");
5805 return NULL;
5806 }
5807 }
5808 if (_obj2)
5809{
e0672e2f
RD
5810 _arg2 = wxPoint_LIST_helper(_obj2, &NPOINTS);
5811 if (_arg2 == NULL) {
5812 return NULL;
5813 }
e91a9dfc
RD
5814}
5815{
e0672e2f 5816 _arg1 = NPOINTS;
e91a9dfc
RD
5817}
5818{
4268f798 5819 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
5820 wxPyDrawnShape_DrawPolygon(_arg0,_arg1,_arg2,_arg3);
5821
4268f798
RD
5822 wxPyEndAllowThreads(__tstate);
5823 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
5824} Py_INCREF(Py_None);
5825 _resultobj = Py_None;
5826{
5827 delete [] _arg2;
5828}
5829 return _resultobj;
5830}
5831
5832#define wxPyDrawnShape_DrawRectangle(_swigobj,_swigarg0) (_swigobj->DrawRectangle(_swigarg0))
5833static PyObject *_wrap_wxPyDrawnShape_DrawRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
5834 PyObject * _resultobj;
5835 wxPyDrawnShape * _arg0;
5836 wxRect * _arg1;
5837 PyObject * _argo0 = 0;
2348eaee
RD
5838 wxRect temp;
5839 PyObject * _obj1 = 0;
e91a9dfc
RD
5840 char *_kwnames[] = { "self","rect", NULL };
5841
5842 self = self;
2348eaee 5843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_DrawRectangle",_kwnames,&_argo0,&_obj1))
e91a9dfc
RD
5844 return NULL;
5845 if (_argo0) {
5846 if (_argo0 == Py_None) { _arg0 = NULL; }
5847 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5848 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawRectangle. Expected _wxPyDrawnShape_p.");
5849 return NULL;
5850 }
5851 }
2348eaee
RD
5852{
5853 _arg1 = &temp;
5854 if (! wxRect_helper(_obj1, &_arg1))
e91a9dfc 5855 return NULL;
2348eaee 5856}
e91a9dfc 5857{
4268f798 5858 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
5859 wxPyDrawnShape_DrawRectangle(_arg0,*_arg1);
5860
4268f798
RD
5861 wxPyEndAllowThreads(__tstate);
5862 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
5863} Py_INCREF(Py_None);
5864 _resultobj = Py_None;
5865 return _resultobj;
5866}
5867
5868#define wxPyDrawnShape_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1))
5869static PyObject *_wrap_wxPyDrawnShape_DrawRoundedRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
5870 PyObject * _resultobj;
5871 wxPyDrawnShape * _arg0;
5872 wxRect * _arg1;
5873 double _arg2;
5874 PyObject * _argo0 = 0;
2348eaee
RD
5875 wxRect temp;
5876 PyObject * _obj1 = 0;
e91a9dfc
RD
5877 char *_kwnames[] = { "self","rect","radius", NULL };
5878
5879 self = self;
2348eaee 5880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOd:wxPyDrawnShape_DrawRoundedRectangle",_kwnames,&_argo0,&_obj1,&_arg2))
e91a9dfc
RD
5881 return NULL;
5882 if (_argo0) {
5883 if (_argo0 == Py_None) { _arg0 = NULL; }
5884 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5885 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawRoundedRectangle. Expected _wxPyDrawnShape_p.");
5886 return NULL;
5887 }
5888 }
2348eaee
RD
5889{
5890 _arg1 = &temp;
5891 if (! wxRect_helper(_obj1, &_arg1))
e91a9dfc 5892 return NULL;
2348eaee 5893}
e91a9dfc 5894{
4268f798 5895 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
5896 wxPyDrawnShape_DrawRoundedRectangle(_arg0,*_arg1,_arg2);
5897
4268f798
RD
5898 wxPyEndAllowThreads(__tstate);
5899 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
5900} Py_INCREF(Py_None);
5901 _resultobj = Py_None;
5902 return _resultobj;
5903}
5904
5905#define wxPyDrawnShape_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1))
5906static PyObject *_wrap_wxPyDrawnShape_DrawSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
5907 PyObject * _resultobj;
5908 wxPyDrawnShape * _arg0;
5909 int _arg1;
5910 wxPoint * _arg2;
5911 PyObject * _argo0 = 0;
e0672e2f 5912 int NPOINTS;
e91a9dfc 5913 PyObject * _obj2 = 0;
eec92d76 5914 char *_kwnames[] = { "self","points", NULL };
e91a9dfc
RD
5915
5916 self = self;
5917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_DrawSpline",_kwnames,&_argo0,&_obj2))
5918 return NULL;
5919 if (_argo0) {
5920 if (_argo0 == Py_None) { _arg0 = NULL; }
5921 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5922 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawSpline. Expected _wxPyDrawnShape_p.");
5923 return NULL;
5924 }
5925 }
5926 if (_obj2)
5927{
e0672e2f
RD
5928 _arg2 = wxPoint_LIST_helper(_obj2, &NPOINTS);
5929 if (_arg2 == NULL) {
5930 return NULL;
5931 }
e91a9dfc
RD
5932}
5933{
e0672e2f 5934 _arg1 = NPOINTS;
e91a9dfc
RD
5935}
5936{
4268f798 5937 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
5938 wxPyDrawnShape_DrawSpline(_arg0,_arg1,_arg2);
5939
4268f798
RD
5940 wxPyEndAllowThreads(__tstate);
5941 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
5942} Py_INCREF(Py_None);
5943 _resultobj = Py_None;
5944{
5945 delete [] _arg2;
5946}
5947 return _resultobj;
5948}
5949
5950#define wxPyDrawnShape_DrawText(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawText(_swigarg0,_swigarg1))
5951static PyObject *_wrap_wxPyDrawnShape_DrawText(PyObject *self, PyObject *args, PyObject *kwargs) {
5952 PyObject * _resultobj;
5953 wxPyDrawnShape * _arg0;
5954 wxString * _arg1;
5955 wxPoint * _arg2;
5956 PyObject * _argo0 = 0;
5957 PyObject * _obj1 = 0;
2348eaee
RD
5958 wxPoint temp;
5959 PyObject * _obj2 = 0;
e91a9dfc
RD
5960 char *_kwnames[] = { "self","text","point", NULL };
5961
5962 self = self;
2348eaee 5963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyDrawnShape_DrawText",_kwnames,&_argo0,&_obj1,&_obj2))
e91a9dfc
RD
5964 return NULL;
5965 if (_argo0) {
5966 if (_argo0 == Py_None) { _arg0 = NULL; }
5967 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5968 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawText. Expected _wxPyDrawnShape_p.");
5969 return NULL;
5970 }
5971 }
5972{
185d7c3e
RD
5973#if PYTHON_API_VERSION >= 1009
5974 char* tmpPtr; int tmpSize;
5975 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 5976 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
5977 return NULL;
5978 }
5979 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
5980 return NULL;
5981 _arg1 = new wxString(tmpPtr, tmpSize);
5982#else
e91a9dfc
RD
5983 if (!PyString_Check(_obj1)) {
5984 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5985 return NULL;
5986 }
185d7c3e
RD
5987 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
5988#endif
e91a9dfc 5989}
2348eaee
RD
5990{
5991 _arg2 = &temp;
5992 if (! wxPoint_helper(_obj2, &_arg2))
e91a9dfc 5993 return NULL;
2348eaee 5994}
e91a9dfc 5995{
4268f798 5996 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
5997 wxPyDrawnShape_DrawText(_arg0,*_arg1,*_arg2);
5998
4268f798
RD
5999 wxPyEndAllowThreads(__tstate);
6000 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
6001} Py_INCREF(Py_None);
6002 _resultobj = Py_None;
6003{
6004 if (_obj1)
6005 delete _arg1;
6006}
6007 return _resultobj;
6008}
6009
6010#define wxPyDrawnShape_GetAngle(_swigobj) (_swigobj->GetAngle())
6011static PyObject *_wrap_wxPyDrawnShape_GetAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
6012 PyObject * _resultobj;
6013 int _result;
6014 wxPyDrawnShape * _arg0;
6015 PyObject * _argo0 = 0;
6016 char *_kwnames[] = { "self", NULL };
6017
6018 self = self;
6019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_GetAngle",_kwnames,&_argo0))
6020 return NULL;
6021 if (_argo0) {
6022 if (_argo0 == Py_None) { _arg0 = NULL; }
6023 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6024 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_GetAngle. Expected _wxPyDrawnShape_p.");
6025 return NULL;
6026 }
6027 }
6028{
4268f798 6029 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
6030 _result = (int )wxPyDrawnShape_GetAngle(_arg0);
6031
4268f798
RD
6032 wxPyEndAllowThreads(__tstate);
6033 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
6034} _resultobj = Py_BuildValue("i",_result);
6035 return _resultobj;
6036}
6037
6038#define wxPyDrawnShape_GetMetaFile(_swigobj) (_swigobj->GetMetaFile())
6039static PyObject *_wrap_wxPyDrawnShape_GetMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6040 PyObject * _resultobj;
6041 wxPseudoMetaFile * _result;
6042 wxPyDrawnShape * _arg0;
6043 PyObject * _argo0 = 0;
6044 char *_kwnames[] = { "self", NULL };
e91a9dfc
RD
6045
6046 self = self;
6047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_GetMetaFile",_kwnames,&_argo0))
6048 return NULL;
6049 if (_argo0) {
6050 if (_argo0 == Py_None) { _arg0 = NULL; }
6051 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6052 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_GetMetaFile. Expected _wxPyDrawnShape_p.");
6053 return NULL;
6054 }
6055 }
6056{
4268f798 6057 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
6058 wxPseudoMetaFile & _result_ref = wxPyDrawnShape_GetMetaFile(_arg0);
6059 _result = (wxPseudoMetaFile *) &_result_ref;
6060
4268f798
RD
6061 wxPyEndAllowThreads(__tstate);
6062 if (PyErr_Occurred()) return NULL;
9416aa89 6063}{ _resultobj = wxPyMake_wxObject(_result); }
e91a9dfc
RD
6064 return _resultobj;
6065}
6066
6067#define wxPyDrawnShape_GetRotation(_swigobj) (_swigobj->GetRotation())
6068static PyObject *_wrap_wxPyDrawnShape_GetRotation(PyObject *self, PyObject *args, PyObject *kwargs) {
6069 PyObject * _resultobj;
6070 double _result;
6071 wxPyDrawnShape * _arg0;
6072 PyObject * _argo0 = 0;
6073 char *_kwnames[] = { "self", NULL };
6074
6075 self = self;
6076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_GetRotation",_kwnames,&_argo0))
6077 return NULL;
6078 if (_argo0) {
6079 if (_argo0 == Py_None) { _arg0 = NULL; }
6080 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6081 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_GetRotation. Expected _wxPyDrawnShape_p.");
6082 return NULL;
6083 }
6084 }
6085{
4268f798 6086 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
6087 _result = (double )wxPyDrawnShape_GetRotation(_arg0);
6088
4268f798
RD
6089 wxPyEndAllowThreads(__tstate);
6090 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
6091} _resultobj = Py_BuildValue("d",_result);
6092 return _resultobj;
6093}
6094
6095#define wxPyDrawnShape_LoadFromMetaFile(_swigobj,_swigarg0) (_swigobj->LoadFromMetaFile(_swigarg0))
6096static PyObject *_wrap_wxPyDrawnShape_LoadFromMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6097 PyObject * _resultobj;
6098 bool _result;
6099 wxPyDrawnShape * _arg0;
6100 char * _arg1;
6101 PyObject * _argo0 = 0;
6102 char *_kwnames[] = { "self","filename", NULL };
6103
6104 self = self;
6105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os:wxPyDrawnShape_LoadFromMetaFile",_kwnames,&_argo0,&_arg1))
6106 return NULL;
6107 if (_argo0) {
6108 if (_argo0 == Py_None) { _arg0 = NULL; }
6109 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6110 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_LoadFromMetaFile. Expected _wxPyDrawnShape_p.");
6111 return NULL;
6112 }
6113 }
6114{
4268f798 6115 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
6116 _result = (bool )wxPyDrawnShape_LoadFromMetaFile(_arg0,_arg1);
6117
4268f798
RD
6118 wxPyEndAllowThreads(__tstate);
6119 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
6120} _resultobj = Py_BuildValue("i",_result);
6121 return _resultobj;
6122}
6123
6124#define wxPyDrawnShape_Rotate(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Rotate(_swigarg0,_swigarg1,_swigarg2))
6125static PyObject *_wrap_wxPyDrawnShape_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
6126 PyObject * _resultobj;
6127 wxPyDrawnShape * _arg0;
6128 double _arg1;
6129 double _arg2;
6130 double _arg3;
6131 PyObject * _argo0 = 0;
6132 char *_kwnames[] = { "self","x","y","theta", NULL };
6133
6134 self = self;
6135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oddd:wxPyDrawnShape_Rotate",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
6136 return NULL;
6137 if (_argo0) {
6138 if (_argo0 == Py_None) { _arg0 = NULL; }
6139 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6140 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_Rotate. Expected _wxPyDrawnShape_p.");
6141 return NULL;
6142 }
6143 }
6144{
4268f798 6145 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
6146 wxPyDrawnShape_Rotate(_arg0,_arg1,_arg2,_arg3);
6147
4268f798
RD
6148 wxPyEndAllowThreads(__tstate);
6149 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
6150} Py_INCREF(Py_None);
6151 _resultobj = Py_None;
6152 return _resultobj;
6153}
6154
6155#define wxPyDrawnShape_SetClippingRect(_swigobj,_swigarg0) (_swigobj->SetClippingRect(_swigarg0))
6156static PyObject *_wrap_wxPyDrawnShape_SetClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6157 PyObject * _resultobj;
6158 wxPyDrawnShape * _arg0;
6159 wxRect * _arg1;
6160 PyObject * _argo0 = 0;
2348eaee
RD
6161 wxRect temp;
6162 PyObject * _obj1 = 0;
e91a9dfc
RD
6163 char *_kwnames[] = { "self","rect", NULL };
6164
6165 self = self;
2348eaee 6166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_SetClippingRect",_kwnames,&_argo0,&_obj1))
e91a9dfc
RD
6167 return NULL;
6168 if (_argo0) {
6169 if (_argo0 == Py_None) { _arg0 = NULL; }
6170 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6171 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetClippingRect. Expected _wxPyDrawnShape_p.");
6172 return NULL;
6173 }
6174 }
2348eaee
RD
6175{
6176 _arg1 = &temp;
6177 if (! wxRect_helper(_obj1, &_arg1))
e91a9dfc 6178 return NULL;
2348eaee 6179}
e91a9dfc 6180{
4268f798 6181 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
6182 wxPyDrawnShape_SetClippingRect(_arg0,*_arg1);
6183
4268f798
RD
6184 wxPyEndAllowThreads(__tstate);
6185 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
6186} Py_INCREF(Py_None);
6187 _resultobj = Py_None;
6188 return _resultobj;
6189}
6190
6191#define wxPyDrawnShape_SetDrawnBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetDrawnBackgroundColour(_swigarg0))
6192static PyObject *_wrap_wxPyDrawnShape_SetDrawnBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6193 PyObject * _resultobj;
6194 wxPyDrawnShape * _arg0;
6195 wxColour * _arg1;
6196 PyObject * _argo0 = 0;
f6bcfd97
BP
6197 wxColour temp;
6198 PyObject * _obj1 = 0;
e91a9dfc
RD
6199 char *_kwnames[] = { "self","colour", NULL };
6200
6201 self = self;
f6bcfd97 6202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_SetDrawnBackgroundColour",_kwnames,&_argo0,&_obj1))
e91a9dfc
RD
6203 return NULL;
6204 if (_argo0) {
6205 if (_argo0 == Py_None) { _arg0 = NULL; }
6206 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6207 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnBackgroundColour. Expected _wxPyDrawnShape_p.");
6208 return NULL;
6209 }
6210 }
f6bcfd97
BP
6211{
6212 _arg1 = &temp;
6213 if (! wxColour_helper(_obj1, &_arg1))
e91a9dfc 6214 return NULL;
f6bcfd97 6215}
e91a9dfc 6216{
4268f798 6217 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
6218 wxPyDrawnShape_SetDrawnBackgroundColour(_arg0,*_arg1);
6219
4268f798
RD
6220 wxPyEndAllowThreads(__tstate);
6221 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
6222} Py_INCREF(Py_None);
6223 _resultobj = Py_None;
6224 return _resultobj;
6225}
6226
6227#define wxPyDrawnShape_SetDrawnBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetDrawnBackgroundMode(_swigarg0))
6228static PyObject *_wrap_wxPyDrawnShape_SetDrawnBackgroundMode(PyObject *self, PyObject *args, PyObject *kwargs) {
6229 PyObject * _resultobj;
6230 wxPyDrawnShape * _arg0;
6231 int _arg1;
6232 PyObject * _argo0 = 0;
6233 char *_kwnames[] = { "self","mode", NULL };
6234
6235 self = self;
6236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDrawnShape_SetDrawnBackgroundMode",_kwnames,&_argo0,&_arg1))
6237 return NULL;
6238 if (_argo0) {
6239 if (_argo0 == Py_None) { _arg0 = NULL; }
6240 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6241 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnBackgroundMode. Expected _wxPyDrawnShape_p.");
6242 return NULL;
6243 }
6244 }
6245{
4268f798 6246 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
6247 wxPyDrawnShape_SetDrawnBackgroundMode(_arg0,_arg1);
6248
4268f798
RD
6249 wxPyEndAllowThreads(__tstate);
6250 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
6251} Py_INCREF(Py_None);
6252 _resultobj = Py_None;
6253 return _resultobj;
6254}
6255
6256#define wxPyDrawnShape_SetDrawnBrush(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDrawnBrush(_swigarg0,_swigarg1))
6257static PyObject *_wrap_wxPyDrawnShape_SetDrawnBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
6258 PyObject * _resultobj;
6259 wxPyDrawnShape * _arg0;
6260 wxBrush * _arg1;
6261 bool _arg2 = (bool ) FALSE;
6262 PyObject * _argo0 = 0;
d74525f7 6263 PyObject * _obj1 = 0;
e91a9dfc
RD
6264 int tempbool2 = (int) FALSE;
6265 char *_kwnames[] = { "self","pen","isOutline", NULL };
6266
6267 self = self;
d74525f7 6268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDrawnShape_SetDrawnBrush",_kwnames,&_argo0,&_obj1,&tempbool2))
e91a9dfc
RD
6269 return NULL;
6270 if (_argo0) {
6271 if (_argo0 == Py_None) { _arg0 = NULL; }
6272 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6273 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnBrush. Expected _wxPyDrawnShape_p.");
6274 return NULL;
6275 }
6276 }
d74525f7
RD
6277{
6278 wxBrush* temp;
6279 if (_obj1) {
6280 if (_obj1 == Py_None) { temp = NULL; }
6281 else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxBrush_p")) {
6282 PyErr_SetString(PyExc_TypeError,"Type error, expected _wxBrush_p.");
e91a9dfc
RD
6283 return NULL;
6284 }
6285 }
d74525f7
RD
6286 if (temp)
6287 _arg1 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
6288 else
6289 _arg1 = NULL;
6290}
e91a9dfc
RD
6291 _arg2 = (bool ) tempbool2;
6292{
4268f798 6293 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
6294 wxPyDrawnShape_SetDrawnBrush(_arg0,_arg1,_arg2);
6295
4268f798
RD
6296 wxPyEndAllowThreads(__tstate);
6297 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
6298} Py_INCREF(Py_None);
6299 _resultobj = Py_None;
6300 return _resultobj;
6301}
6302
6303#define wxPyDrawnShape_SetDrawnFont(_swigobj,_swigarg0) (_swigobj->SetDrawnFont(_swigarg0))
6304static PyObject *_wrap_wxPyDrawnShape_SetDrawnFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6305 PyObject * _resultobj;
6306 wxPyDrawnShape * _arg0;
6307 wxFont * _arg1;
6308 PyObject * _argo0 = 0;
d74525f7 6309 PyObject * _obj1 = 0;
e91a9dfc
RD
6310 char *_kwnames[] = { "self","font", NULL };
6311
6312 self = self;
d74525f7 6313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_SetDrawnFont",_kwnames,&_argo0,&_obj1))
e91a9dfc
RD
6314 return NULL;
6315 if (_argo0) {
6316 if (_argo0 == Py_None) { _arg0 = NULL; }
6317 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6318 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnFont. Expected _wxPyDrawnShape_p.");
6319 return NULL;
6320 }
6321 }
d74525f7
RD
6322{
6323 wxFont* temp;
6324 if (_obj1) {
6325 if (_obj1 == Py_None) { temp = NULL; }
6326 else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxFont_p")) {
6327 PyErr_SetString(PyExc_TypeError,"Type error, expected _wxFont_p.");
e91a9dfc
RD
6328 return NULL;
6329 }
6330 }
d74525f7
RD
6331 if (temp)
6332 _arg1 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
6333 temp->GetFamily(),
6334 temp->GetStyle(),
6335 temp->GetWeight(),
6336 temp->GetUnderlined(),
6337 temp->GetFaceName(),
6338 temp->GetEncoding());
6339 else
6340 _arg1 = NULL;
6341}
e91a9dfc 6342{
4268f798 6343 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
6344 wxPyDrawnShape_SetDrawnFont(_arg0,_arg1);
6345
4268f798
RD
6346 wxPyEndAllowThreads(__tstate);
6347 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
6348} Py_INCREF(Py_None);
6349 _resultobj = Py_None;
6350 return _resultobj;
6351}
6352
6353#define wxPyDrawnShape_SetDrawnPen(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDrawnPen(_swigarg0,_swigarg1))
6354static PyObject *_wrap_wxPyDrawnShape_SetDrawnPen(PyObject *self, PyObject *args, PyObject *kwargs) {
6355 PyObject * _resultobj;
6356 wxPyDrawnShape * _arg0;
6357 wxPen * _arg1;
6358 bool _arg2 = (bool ) FALSE;
6359 PyObject * _argo0 = 0;
d74525f7 6360 PyObject * _obj1 = 0;
e91a9dfc
RD
6361 int tempbool2 = (int) FALSE;
6362 char *_kwnames[] = { "self","pen","isOutline", NULL };
6363
6364 self = self;
d74525f7 6365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDrawnShape_SetDrawnPen",_kwnames,&_argo0,&_obj1,&tempbool2))
e91a9dfc
RD
6366 return NULL;
6367 if (_argo0) {
6368 if (_argo0 == Py_None) { _arg0 = NULL; }
6369 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6370 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnPen. Expected _wxPyDrawnShape_p.");
6371 return NULL;
6372 }
6373 }
d74525f7
RD
6374{
6375 wxPen* temp;
6376 if (_obj1) {
6377 if (_obj1 == Py_None) { temp = NULL; }
6378 else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxPen_p")) {
6379 PyErr_SetString(PyExc_TypeError,"Type error, expected _wxPen_p.");
e91a9dfc
RD
6380 return NULL;
6381 }
6382 }
d74525f7
RD
6383 if (temp)
6384 _arg1 = wxThePenList->FindOrCreatePen(temp->GetColour(),
6385 temp->GetWidth(),
6386 temp->GetStyle());
6387 else
6388 _arg1 = NULL;
6389}
e91a9dfc
RD
6390 _arg2 = (bool ) tempbool2;
6391{
4268f798 6392 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
6393 wxPyDrawnShape_SetDrawnPen(_arg0,_arg1,_arg2);
6394
4268f798
RD
6395 wxPyEndAllowThreads(__tstate);
6396 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
6397} Py_INCREF(Py_None);
6398 _resultobj = Py_None;
6399 return _resultobj;
6400}
6401
6402#define wxPyDrawnShape_SetDrawnTextColour(_swigobj,_swigarg0) (_swigobj->SetDrawnTextColour(_swigarg0))
6403static PyObject *_wrap_wxPyDrawnShape_SetDrawnTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6404 PyObject * _resultobj;
6405 wxPyDrawnShape * _arg0;
6406 wxColour * _arg1;
6407 PyObject * _argo0 = 0;
f6bcfd97
BP
6408 wxColour temp;
6409 PyObject * _obj1 = 0;
e91a9dfc
RD
6410 char *_kwnames[] = { "self","colour", NULL };
6411
6412 self = self;
f6bcfd97 6413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_SetDrawnTextColour",_kwnames,&_argo0,&_obj1))
e91a9dfc
RD
6414 return NULL;
6415 if (_argo0) {
6416 if (_argo0 == Py_None) { _arg0 = NULL; }
6417 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6418 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnTextColour. Expected _wxPyDrawnShape_p.");
6419 return NULL;
6420 }
6421 }
f6bcfd97
BP
6422{
6423 _arg1 = &temp;
6424 if (! wxColour_helper(_obj1, &_arg1))
e91a9dfc 6425 return NULL;
f6bcfd97 6426}
e91a9dfc 6427{
4268f798 6428 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
6429 wxPyDrawnShape_SetDrawnTextColour(_arg0,*_arg1);
6430
4268f798
RD
6431 wxPyEndAllowThreads(__tstate);
6432 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
6433} Py_INCREF(Py_None);
6434 _resultobj = Py_None;
6435 return _resultobj;
6436}
6437
6438#define wxPyDrawnShape_Scale(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scale(_swigarg0,_swigarg1))
6439static PyObject *_wrap_wxPyDrawnShape_Scale(PyObject *self, PyObject *args, PyObject *kwargs) {
6440 PyObject * _resultobj;
6441 wxPyDrawnShape * _arg0;
6442 double _arg1;
6443 double _arg2;
6444 PyObject * _argo0 = 0;
6445 char *_kwnames[] = { "self","sx","sy", NULL };
6446
6447 self = self;
6448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDrawnShape_Scale",_kwnames,&_argo0,&_arg1,&_arg2))
6449 return NULL;
6450 if (_argo0) {
6451 if (_argo0 == Py_None) { _arg0 = NULL; }
6452 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6453 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_Scale. Expected _wxPyDrawnShape_p.");
6454 return NULL;
6455 }
6456 }
6457{
4268f798 6458 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
6459 wxPyDrawnShape_Scale(_arg0,_arg1,_arg2);
6460
4268f798
RD
6461 wxPyEndAllowThreads(__tstate);
6462 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
6463} Py_INCREF(Py_None);
6464 _resultobj = Py_None;
6465 return _resultobj;
6466}
6467
6468#define wxPyDrawnShape_SetSaveToFile(_swigobj,_swigarg0) (_swigobj->SetSaveToFile(_swigarg0))
6469static PyObject *_wrap_wxPyDrawnShape_SetSaveToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6470 PyObject * _resultobj;
6471 wxPyDrawnShape * _arg0;
6472 bool _arg1;
6473 PyObject * _argo0 = 0;
6474 int tempbool1;
6475 char *_kwnames[] = { "self","save", NULL };
6476
6477 self = self;
6478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDrawnShape_SetSaveToFile",_kwnames,&_argo0,&tempbool1))
6479 return NULL;
6480 if (_argo0) {
6481 if (_argo0 == Py_None) { _arg0 = NULL; }
6482 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6483 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetSaveToFile. Expected _wxPyDrawnShape_p.");
6484 return NULL;
6485 }
6486 }
6487 _arg1 = (bool ) tempbool1;
6488{
4268f798 6489 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
6490 wxPyDrawnShape_SetSaveToFile(_arg0,_arg1);
6491
4268f798
RD
6492 wxPyEndAllowThreads(__tstate);
6493 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
6494} Py_INCREF(Py_None);
6495 _resultobj = Py_None;
6496 return _resultobj;
6497}
6498
6499#define wxPyDrawnShape_Translate(_swigobj,_swigarg0,_swigarg1) (_swigobj->Translate(_swigarg0,_swigarg1))
6500static PyObject *_wrap_wxPyDrawnShape_Translate(PyObject *self, PyObject *args, PyObject *kwargs) {
6501 PyObject * _resultobj;
6502 wxPyDrawnShape * _arg0;
6503 double _arg1;
6504 double _arg2;
6505 PyObject * _argo0 = 0;
6506 char *_kwnames[] = { "self","x","y", NULL };
6507
6508 self = self;
6509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDrawnShape_Translate",_kwnames,&_argo0,&_arg1,&_arg2))
6510 return NULL;
6511 if (_argo0) {
6512 if (_argo0 == Py_None) { _arg0 = NULL; }
6513 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6514 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_Translate. Expected _wxPyDrawnShape_p.");
6515 return NULL;
6516 }
6517 }
6518{
4268f798 6519 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
6520 wxPyDrawnShape_Translate(_arg0,_arg1,_arg2);
6521
4268f798
RD
6522 wxPyEndAllowThreads(__tstate);
6523 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
6524} Py_INCREF(Py_None);
6525 _resultobj = Py_None;
6526 return _resultobj;
6527}
6528
6529#define wxPyDrawnShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
6530static PyObject *_wrap_wxPyDrawnShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
6531 PyObject * _resultobj;
6532 wxPyDrawnShape * _arg0;
6533 PyObject * _argo0 = 0;
6534 char *_kwnames[] = { "self", NULL };
6535
6536 self = self;
6537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_base_OnDelete",_kwnames,&_argo0))
6538 return NULL;
6539 if (_argo0) {
6540 if (_argo0 == Py_None) { _arg0 = NULL; }
6541 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6542 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDelete. Expected _wxPyDrawnShape_p.");
6543 return NULL;
6544 }
6545 }
6546{
4268f798 6547 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
6548 wxPyDrawnShape_base_OnDelete(_arg0);
6549
4268f798
RD
6550 wxPyEndAllowThreads(__tstate);
6551 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
6552} Py_INCREF(Py_None);
6553 _resultobj = Py_None;
6554 return _resultobj;
6555}
6556
6557#define wxPyDrawnShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
6558static PyObject *_wrap_wxPyDrawnShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
6559 PyObject * _resultobj;
6560 wxPyDrawnShape * _arg0;
6561 wxDC * _arg1;
6562 PyObject * _argo0 = 0;
6563 PyObject * _argo1 = 0;
6564 char *_kwnames[] = { "self","dc", NULL };
6565
6566 self = self;
6567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnDraw",_kwnames,&_argo0,&_argo1))
6568 return NULL;
6569 if (_argo0) {
6570 if (_argo0 == Py_None) { _arg0 = NULL; }
6571 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6572 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDraw. Expected _wxPyDrawnShape_p.");
6573 return NULL;
6574 }
6575 }
6576 if (_argo1) {
6577 if (_argo1 == Py_None) { _arg1 = NULL; }
6578 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
6579 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnDraw. Expected _wxDC_p.");
6580 return NULL;
6581 }
6582 }
6583{
4268f798 6584 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
6585 wxPyDrawnShape_base_OnDraw(_arg0,*_arg1);
6586
4268f798
RD
6587 wxPyEndAllowThreads(__tstate);
6588 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
6589} Py_INCREF(Py_None);
6590 _resultobj = Py_None;
6591 return _resultobj;
6592}
6593
6594#define wxPyDrawnShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
6595static PyObject *_wrap_wxPyDrawnShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
6596 PyObject * _resultobj;
6597 wxPyDrawnShape * _arg0;
6598 wxDC * _arg1;
6599 PyObject * _argo0 = 0;
6600 PyObject * _argo1 = 0;
6601 char *_kwnames[] = { "self","dc", NULL };
6602
6603 self = self;
6604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1))
6605 return NULL;
6606 if (_argo0) {
6607 if (_argo0 == Py_None) { _arg0 = NULL; }
6608 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6609 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDrawContents. Expected _wxPyDrawnShape_p.");
6610 return NULL;
6611 }
6612 }
6613 if (_argo1) {
6614 if (_argo1 == Py_None) { _arg1 = NULL; }
6615 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
6616 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnDrawContents. Expected _wxDC_p.");
6617 return NULL;
6618 }
6619 }
6620{
4268f798 6621 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
6622 wxPyDrawnShape_base_OnDrawContents(_arg0,*_arg1);
6623
4268f798
RD
6624 wxPyEndAllowThreads(__tstate);
6625 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
6626} Py_INCREF(Py_None);
6627 _resultobj = Py_None;
6628 return _resultobj;
6629}
6630
6631#define wxPyDrawnShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
6632static PyObject *_wrap_wxPyDrawnShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
6633 PyObject * _resultobj;
6634 wxPyDrawnShape * _arg0;
6635 wxDC * _arg1;
6636 bool _arg2 = (bool ) FALSE;
6637 PyObject * _argo0 = 0;
6638 PyObject * _argo1 = 0;
6639 int tempbool2 = (int) FALSE;
6640 char *_kwnames[] = { "self","dc","erase", NULL };
6641
6642 self = self;
6643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDrawnShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2))
6644 return NULL;
6645 if (_argo0) {
6646 if (_argo0 == Py_None) { _arg0 = NULL; }
6647 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6648 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDrawBranches. Expected _wxPyDrawnShape_p.");
6649 return NULL;
6650 }
6651 }
6652 if (_argo1) {
6653 if (_argo1 == Py_None) { _arg1 = NULL; }
6654 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
6655 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnDrawBranches. Expected _wxDC_p.");
6656 return NULL;
6657 }
6658 }
6659 _arg2 = (bool ) tempbool2;
6660{
4268f798 6661 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
6662 wxPyDrawnShape_base_OnDrawBranches(_arg0,*_arg1,_arg2);
6663
4268f798
RD
6664 wxPyEndAllowThreads(__tstate);
6665 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
6666} Py_INCREF(Py_None);
6667 _resultobj = Py_None;
6668 return _resultobj;
6669}
6670
6671#define wxPyDrawnShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
6672static PyObject *_wrap_wxPyDrawnShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
6673 PyObject * _resultobj;
6674 wxPyDrawnShape * _arg0;
6675 wxDC * _arg1;
6676 PyObject * _argo0 = 0;
6677 PyObject * _argo1 = 0;
6678 char *_kwnames[] = { "self","dc", NULL };
6679
6680 self = self;
6681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1))
6682 return NULL;
6683 if (_argo0) {
6684 if (_argo0 == Py_None) { _arg0 = NULL; }
6685 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6686 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnMoveLinks. Expected _wxPyDrawnShape_p.");
6687 return NULL;
6688 }
6689 }
6690 if (_argo1) {
6691 if (_argo1 == Py_None) { _arg1 = NULL; }
6692 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
6693 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnMoveLinks. Expected _wxDC_p.");
6694 return NULL;
6695 }
6696 }
6697{
4268f798 6698 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
6699 wxPyDrawnShape_base_OnMoveLinks(_arg0,*_arg1);
6700
4268f798
RD
6701 wxPyEndAllowThreads(__tstate);
6702 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
6703} Py_INCREF(Py_None);
6704 _resultobj = Py_None;
6705 return _resultobj;
6706}
6707
6708#define wxPyDrawnShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
6709static PyObject *_wrap_wxPyDrawnShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
6710 PyObject * _resultobj;
6711 wxPyDrawnShape * _arg0;
6712 wxDC * _arg1;
6713 PyObject * _argo0 = 0;
6714 PyObject * _argo1 = 0;
6715 char *_kwnames[] = { "self","dc", NULL };
6716
6717 self = self;
6718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnErase",_kwnames,&_argo0,&_argo1))
6719 return NULL;
6720 if (_argo0) {
6721 if (_argo0 == Py_None) { _arg0 = NULL; }
6722 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6723 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnErase. Expected _wxPyDrawnShape_p.");
6724 return NULL;
6725 }
6726 }
6727 if (_argo1) {
6728 if (_argo1 == Py_None) { _arg1 = NULL; }
6729 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
6730 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnErase. Expected _wxDC_p.");
6731 return NULL;
6732 }
6733 }
6734{
4268f798 6735 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
6736 wxPyDrawnShape_base_OnErase(_arg0,*_arg1);
6737
4268f798
RD
6738 wxPyEndAllowThreads(__tstate);
6739 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
6740} Py_INCREF(Py_None);
6741 _resultobj = Py_None;
6742 return _resultobj;
6743}
6744
6745#define wxPyDrawnShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
6746static PyObject *_wrap_wxPyDrawnShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
6747 PyObject * _resultobj;
6748 wxPyDrawnShape * _arg0;
6749 wxDC * _arg1;
6750 PyObject * _argo0 = 0;
6751 PyObject * _argo1 = 0;
6752 char *_kwnames[] = { "self","dc", NULL };
6753
6754 self = self;
6755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1))
6756 return NULL;
6757 if (_argo0) {
6758 if (_argo0 == Py_None) { _arg0 = NULL; }
6759 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6760 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnEraseContents. Expected _wxPyDrawnShape_p.");
6761 return NULL;
6762 }
6763 }
6764 if (_argo1) {
6765 if (_argo1 == Py_None) { _arg1 = NULL; }
6766 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
6767 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnEraseContents. Expected _wxDC_p.");
6768 return NULL;
6769 }
6770 }
6771{
4268f798 6772 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
6773 wxPyDrawnShape_base_OnEraseContents(_arg0,*_arg1);
6774
4268f798
RD
6775 wxPyEndAllowThreads(__tstate);
6776 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
6777} Py_INCREF(Py_None);
6778 _resultobj = Py_None;
6779 return _resultobj;
6780}
6781
6782#define wxPyDrawnShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
6783static PyObject *_wrap_wxPyDrawnShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
6784 PyObject * _resultobj;
6785 wxPyDrawnShape * _arg0;
6786 wxDC * _arg1;
6787 PyObject * _argo0 = 0;
6788 PyObject * _argo1 = 0;
6789 char *_kwnames[] = { "self","dc", NULL };
6790
6791 self = self;
6792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnHighlight",_kwnames,&_argo0,&_argo1))
6793 return NULL;
6794 if (_argo0) {
6795 if (_argo0 == Py_None) { _arg0 = NULL; }
6796 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6797 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnHighlight. Expected _wxPyDrawnShape_p.");
6798 return NULL;
6799 }
6800 }
6801 if (_argo1) {
6802 if (_argo1 == Py_None) { _arg1 = NULL; }
6803 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
6804 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnHighlight. Expected _wxDC_p.");
6805 return NULL;
6806 }
6807 }
6808{
4268f798 6809 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
6810 wxPyDrawnShape_base_OnHighlight(_arg0,*_arg1);
6811
4268f798
RD
6812 wxPyEndAllowThreads(__tstate);
6813 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
6814} Py_INCREF(Py_None);
6815 _resultobj = Py_None;
6816 return _resultobj;
6817}
6818
6819#define wxPyDrawnShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6820static PyObject *_wrap_wxPyDrawnShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
6821 PyObject * _resultobj;
6822 wxPyDrawnShape * _arg0;
6823 double _arg1;
6824 double _arg2;
6825 int _arg3 = (int ) 0;
6826 int _arg4 = (int ) 0;
6827 PyObject * _argo0 = 0;
6828 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
6829
6830 self = self;
6831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
6832 return NULL;
6833 if (_argo0) {
6834 if (_argo0 == Py_None) { _arg0 = NULL; }
6835 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6836 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnLeftClick. Expected _wxPyDrawnShape_p.");
6837 return NULL;
6838 }
6839 }
6840{
4268f798 6841 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
6842 wxPyDrawnShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4);
6843
4268f798
RD
6844 wxPyEndAllowThreads(__tstate);
6845 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
6846} Py_INCREF(Py_None);
6847 _resultobj = Py_None;
6848 return _resultobj;
6849}
6850
6851#define wxPyDrawnShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6852static PyObject *_wrap_wxPyDrawnShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
6853 PyObject * _resultobj;
6854 wxPyDrawnShape * _arg0;
6855 double _arg1;
6856 double _arg2;
6857 int _arg3 = (int ) 0;
6858 int _arg4 = (int ) 0;
6859 PyObject * _argo0 = 0;
6860 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
6861
6862 self = self;
6863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
6864 return NULL;
6865 if (_argo0) {
6866 if (_argo0 == Py_None) { _arg0 = NULL; }
6867 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6868 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnLeftDoubleClick. Expected _wxPyDrawnShape_p.");
6869 return NULL;
6870 }
6871 }
6872{
4268f798 6873 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
6874 wxPyDrawnShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4);
6875
4268f798
RD
6876 wxPyEndAllowThreads(__tstate);
6877 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
6878} Py_INCREF(Py_None);
6879 _resultobj = Py_None;
6880 return _resultobj;
6881}
6882
6883#define wxPyDrawnShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6884static PyObject *_wrap_wxPyDrawnShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
6885 PyObject * _resultobj;
6886 wxPyDrawnShape * _arg0;
6887 double _arg1;
6888 double _arg2;
6889 int _arg3 = (int ) 0;
6890 int _arg4 = (int ) 0;
6891 PyObject * _argo0 = 0;
6892 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
6893
6894 self = self;
6895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
6896 return NULL;
6897 if (_argo0) {
6898 if (_argo0 == Py_None) { _arg0 = NULL; }
6899 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6900 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnRightClick. Expected _wxPyDrawnShape_p.");
6901 return NULL;
6902 }
6903 }
6904{
4268f798 6905 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
6906 wxPyDrawnShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4);
6907
4268f798
RD
6908 wxPyEndAllowThreads(__tstate);
6909 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
6910} Py_INCREF(Py_None);
6911 _resultobj = Py_None;
6912 return _resultobj;
6913}
6914
6915#define wxPyDrawnShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
6916static PyObject *_wrap_wxPyDrawnShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6917 PyObject * _resultobj;
6918 wxPyDrawnShape * _arg0;
6919 double _arg1;
6920 double _arg2;
6921 PyObject * _argo0 = 0;
6922 char *_kwnames[] = { "self","x","y", NULL };
6923
6924 self = self;
6925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDrawnShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2))
6926 return NULL;
6927 if (_argo0) {
6928 if (_argo0 == Py_None) { _arg0 = NULL; }
6929 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6930 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnSize. Expected _wxPyDrawnShape_p.");
6931 return NULL;
6932 }
6933 }
6934{
4268f798 6935 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
6936 wxPyDrawnShape_base_OnSize(_arg0,_arg1,_arg2);
6937
4268f798
RD
6938 wxPyEndAllowThreads(__tstate);
6939 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
6940} Py_INCREF(Py_None);
6941 _resultobj = Py_None;
6942 return _resultobj;
6943}
6944
6945#define wxPyDrawnShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6946static PyObject *_wrap_wxPyDrawnShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
6947 PyObject * _resultobj;
6948 bool _result;
6949 wxPyDrawnShape * _arg0;
6950 wxDC * _arg1;
6951 double _arg2;
6952 double _arg3;
6953 double _arg4;
6954 double _arg5;
6955 bool _arg6 = (bool ) TRUE;
6956 PyObject * _argo0 = 0;
6957 PyObject * _argo1 = 0;
6958 int tempbool6 = (int) TRUE;
6959 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
6960
6961 self = self;
6962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDrawnShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
6963 return NULL;
6964 if (_argo0) {
6965 if (_argo0 == Py_None) { _arg0 = NULL; }
6966 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6967 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnMovePre. Expected _wxPyDrawnShape_p.");
6968 return NULL;
6969 }
6970 }
6971 if (_argo1) {
6972 if (_argo1 == Py_None) { _arg1 = NULL; }
6973 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
6974 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnMovePre. Expected _wxDC_p.");
6975 return NULL;
6976 }
6977 }
6978 _arg6 = (bool ) tempbool6;
6979{
4268f798 6980 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
6981 _result = (bool )wxPyDrawnShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
6982
4268f798
RD
6983 wxPyEndAllowThreads(__tstate);
6984 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
6985} _resultobj = Py_BuildValue("i",_result);
6986 return _resultobj;
6987}
6988
6989#define wxPyDrawnShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6990static PyObject *_wrap_wxPyDrawnShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
6991 PyObject * _resultobj;
6992 wxPyDrawnShape * _arg0;
6993 wxDC * _arg1;
6994 double _arg2;
6995 double _arg3;
6996 double _arg4;
6997 double _arg5;
6998 bool _arg6 = (bool ) TRUE;
6999 PyObject * _argo0 = 0;
7000 PyObject * _argo1 = 0;
7001 int tempbool6 = (int) TRUE;
7002 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
7003
7004 self = self;
7005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDrawnShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
7006 return NULL;
7007 if (_argo0) {
7008 if (_argo0 == Py_None) { _arg0 = NULL; }
7009 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7010 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnMovePost. Expected _wxPyDrawnShape_p.");
7011 return NULL;
7012 }
7013 }
7014 if (_argo1) {
7015 if (_argo1 == Py_None) { _arg1 = NULL; }
7016 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7017 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnMovePost. Expected _wxDC_p.");
7018 return NULL;
7019 }
7020 }
7021 _arg6 = (bool ) tempbool6;
7022{
4268f798 7023 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
7024 wxPyDrawnShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
7025
4268f798
RD
7026 wxPyEndAllowThreads(__tstate);
7027 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
7028} Py_INCREF(Py_None);
7029 _resultobj = Py_None;
7030 return _resultobj;
7031}
7032
7033#define wxPyDrawnShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7034static PyObject *_wrap_wxPyDrawnShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7035 PyObject * _resultobj;
7036 wxPyDrawnShape * _arg0;
7037 bool _arg1;
7038 double _arg2;
7039 double _arg3;
7040 int _arg4 = (int ) 0;
7041 int _arg5 = (int ) 0;
7042 PyObject * _argo0 = 0;
7043 int tempbool1;
7044 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
7045
7046 self = self;
7047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDrawnShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
7048 return NULL;
7049 if (_argo0) {
7050 if (_argo0 == Py_None) { _arg0 = NULL; }
7051 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7052 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDragLeft. Expected _wxPyDrawnShape_p.");
7053 return NULL;
7054 }
7055 }
7056 _arg1 = (bool ) tempbool1;
7057{
4268f798 7058 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
7059 wxPyDrawnShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
7060
4268f798
RD
7061 wxPyEndAllowThreads(__tstate);
7062 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
7063} Py_INCREF(Py_None);
7064 _resultobj = Py_None;
7065 return _resultobj;
7066}
7067
7068#define wxPyDrawnShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7069static PyObject *_wrap_wxPyDrawnShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7070 PyObject * _resultobj;
7071 wxPyDrawnShape * _arg0;
7072 double _arg1;
7073 double _arg2;
7074 int _arg3 = (int ) 0;
7075 int _arg4 = (int ) 0;
7076 PyObject * _argo0 = 0;
7077 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
7078
7079 self = self;
7080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
7081 return NULL;
7082 if (_argo0) {
7083 if (_argo0 == Py_None) { _arg0 = NULL; }
7084 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7085 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnBeginDragLeft. Expected _wxPyDrawnShape_p.");
7086 return NULL;
7087 }
7088 }
7089{
4268f798 7090 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
7091 wxPyDrawnShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
7092
4268f798
RD
7093 wxPyEndAllowThreads(__tstate);
7094 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
7095} Py_INCREF(Py_None);
7096 _resultobj = Py_None;
7097 return _resultobj;
7098}
7099
7100#define wxPyDrawnShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7101static PyObject *_wrap_wxPyDrawnShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7102 PyObject * _resultobj;
7103 wxPyDrawnShape * _arg0;
7104 double _arg1;
7105 double _arg2;
7106 int _arg3 = (int ) 0;
7107 int _arg4 = (int ) 0;
7108 PyObject * _argo0 = 0;
7109 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
7110
7111 self = self;
7112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
7113 return NULL;
7114 if (_argo0) {
7115 if (_argo0 == Py_None) { _arg0 = NULL; }
7116 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7117 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnEndDragLeft. Expected _wxPyDrawnShape_p.");
7118 return NULL;
7119 }
7120 }
7121{
4268f798 7122 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
7123 wxPyDrawnShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
7124
4268f798
RD
7125 wxPyEndAllowThreads(__tstate);
7126 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
7127} Py_INCREF(Py_None);
7128 _resultobj = Py_None;
7129 return _resultobj;
7130}
7131
7132#define wxPyDrawnShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7133static PyObject *_wrap_wxPyDrawnShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
7134 PyObject * _resultobj;
7135 wxPyDrawnShape * _arg0;
7136 bool _arg1;
7137 double _arg2;
7138 double _arg3;
7139 int _arg4 = (int ) 0;
7140 int _arg5 = (int ) 0;
7141 PyObject * _argo0 = 0;
7142 int tempbool1;
7143 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
7144
7145 self = self;
7146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDrawnShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
7147 return NULL;
7148 if (_argo0) {
7149 if (_argo0 == Py_None) { _arg0 = NULL; }
7150 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7151 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDragRight. Expected _wxPyDrawnShape_p.");
7152 return NULL;
7153 }
7154 }
7155 _arg1 = (bool ) tempbool1;
7156{
4268f798 7157 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
7158 wxPyDrawnShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
7159
4268f798
RD
7160 wxPyEndAllowThreads(__tstate);
7161 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
7162} Py_INCREF(Py_None);
7163 _resultobj = Py_None;
7164 return _resultobj;
7165}
7166
7167#define wxPyDrawnShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7168static PyObject *_wrap_wxPyDrawnShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
7169 PyObject * _resultobj;
7170 wxPyDrawnShape * _arg0;
7171 double _arg1;
7172 double _arg2;
7173 int _arg3 = (int ) 0;
7174 int _arg4 = (int ) 0;
7175 PyObject * _argo0 = 0;
7176 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
7177
7178 self = self;
7179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
7180 return NULL;
7181 if (_argo0) {
7182 if (_argo0 == Py_None) { _arg0 = NULL; }
7183 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7184 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnBeginDragRight. Expected _wxPyDrawnShape_p.");
7185 return NULL;
7186 }
7187 }
7188{
4268f798 7189 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
7190 wxPyDrawnShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
7191
4268f798
RD
7192 wxPyEndAllowThreads(__tstate);
7193 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
7194} Py_INCREF(Py_None);
7195 _resultobj = Py_None;
7196 return _resultobj;
7197}
7198
7199#define wxPyDrawnShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7200static PyObject *_wrap_wxPyDrawnShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
7201 PyObject * _resultobj;
7202 wxPyDrawnShape * _arg0;
7203 double _arg1;
7204 double _arg2;
7205 int _arg3 = (int ) 0;
7206 int _arg4 = (int ) 0;
7207 PyObject * _argo0 = 0;
7208 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
7209
7210 self = self;
7211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
7212 return NULL;
7213 if (_argo0) {
7214 if (_argo0 == Py_None) { _arg0 = NULL; }
7215 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7216 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnEndDragRight. Expected _wxPyDrawnShape_p.");
7217 return NULL;
7218 }
7219 }
7220{
4268f798 7221 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
7222 wxPyDrawnShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
7223
4268f798
RD
7224 wxPyEndAllowThreads(__tstate);
7225 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
7226} Py_INCREF(Py_None);
7227 _resultobj = Py_None;
7228 return _resultobj;
7229}
7230
7231#define wxPyDrawnShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7232static PyObject *_wrap_wxPyDrawnShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
7233 PyObject * _resultobj;
7234 wxPyDrawnShape * _arg0;
7235 wxDC * _arg1;
7236 double _arg2;
7237 double _arg3;
7238 double _arg4;
7239 double _arg5;
7240 PyObject * _argo0 = 0;
7241 PyObject * _argo1 = 0;
7242 char *_kwnames[] = { "self","dc","x","y","w","h", NULL };
7243
7244 self = self;
7245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyDrawnShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
7246 return NULL;
7247 if (_argo0) {
7248 if (_argo0 == Py_None) { _arg0 = NULL; }
7249 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7250 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDrawOutline. Expected _wxPyDrawnShape_p.");
7251 return NULL;
7252 }
7253 }
7254 if (_argo1) {
7255 if (_argo1 == Py_None) { _arg1 = NULL; }
7256 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7257 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnDrawOutline. Expected _wxDC_p.");
7258 return NULL;
7259 }
7260 }
7261{
4268f798 7262 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
7263 wxPyDrawnShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5);
7264
4268f798
RD
7265 wxPyEndAllowThreads(__tstate);
7266 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
7267} Py_INCREF(Py_None);
7268 _resultobj = Py_None;
7269 return _resultobj;
7270}
7271
7272#define wxPyDrawnShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
7273static PyObject *_wrap_wxPyDrawnShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
7274 PyObject * _resultobj;
7275 wxPyDrawnShape * _arg0;
7276 wxDC * _arg1;
7277 PyObject * _argo0 = 0;
7278 PyObject * _argo1 = 0;
7279 char *_kwnames[] = { "self","dc", NULL };
7280
7281 self = self;
7282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1))
7283 return NULL;
7284 if (_argo0) {
7285 if (_argo0 == Py_None) { _arg0 = NULL; }
7286 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7287 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDrawControlPoints. Expected _wxPyDrawnShape_p.");
7288 return NULL;
7289 }
7290 }
7291 if (_argo1) {
7292 if (_argo1 == Py_None) { _arg1 = NULL; }
7293 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7294 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnDrawControlPoints. Expected _wxDC_p.");
7295 return NULL;
7296 }
7297 }
7298{
4268f798 7299 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
7300 wxPyDrawnShape_base_OnDrawControlPoints(_arg0,*_arg1);
7301
4268f798
RD
7302 wxPyEndAllowThreads(__tstate);
7303 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
7304} Py_INCREF(Py_None);
7305 _resultobj = Py_None;
7306 return _resultobj;
7307}
7308
7309#define wxPyDrawnShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
7310static PyObject *_wrap_wxPyDrawnShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
7311 PyObject * _resultobj;
7312 wxPyDrawnShape * _arg0;
7313 wxDC * _arg1;
7314 PyObject * _argo0 = 0;
7315 PyObject * _argo1 = 0;
7316 char *_kwnames[] = { "self","dc", NULL };
7317
7318 self = self;
7319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1))
7320 return NULL;
7321 if (_argo0) {
7322 if (_argo0 == Py_None) { _arg0 = NULL; }
7323 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7324 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnEraseControlPoints. Expected _wxPyDrawnShape_p.");
7325 return NULL;
7326 }
7327 }
7328 if (_argo1) {
7329 if (_argo1 == Py_None) { _arg1 = NULL; }
7330 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7331 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnEraseControlPoints. Expected _wxDC_p.");
7332 return NULL;
7333 }
7334 }
7335{
4268f798 7336 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
7337 wxPyDrawnShape_base_OnEraseControlPoints(_arg0,*_arg1);
7338
4268f798
RD
7339 wxPyEndAllowThreads(__tstate);
7340 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
7341} Py_INCREF(Py_None);
7342 _resultobj = Py_None;
7343 return _resultobj;
7344}
7345
7346#define wxPyDrawnShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
7347static PyObject *_wrap_wxPyDrawnShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
7348 PyObject * _resultobj;
7349 wxPyDrawnShape * _arg0;
7350 wxDC * _arg1;
7351 bool _arg2 = (bool ) TRUE;
7352 PyObject * _argo0 = 0;
7353 PyObject * _argo1 = 0;
7354 int tempbool2 = (int) TRUE;
7355 char *_kwnames[] = { "self","dc","moveControlPoints", NULL };
7356
7357 self = self;
7358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDrawnShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2))
7359 return NULL;
7360 if (_argo0) {
7361 if (_argo0 == Py_None) { _arg0 = NULL; }
7362 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7363 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnMoveLink. Expected _wxPyDrawnShape_p.");
7364 return NULL;
7365 }
7366 }
7367 if (_argo1) {
7368 if (_argo1 == Py_None) { _arg1 = NULL; }
7369 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7370 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnMoveLink. Expected _wxDC_p.");
7371 return NULL;
7372 }
7373 }
7374 _arg2 = (bool ) tempbool2;
7375{
4268f798 7376 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
7377 wxPyDrawnShape_base_OnMoveLink(_arg0,*_arg1,_arg2);
7378
4268f798
RD
7379 wxPyEndAllowThreads(__tstate);
7380 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
7381} Py_INCREF(Py_None);
7382 _resultobj = Py_None;
7383 return _resultobj;
7384}
7385
7386#define wxPyDrawnShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7387static PyObject *_wrap_wxPyDrawnShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7388 PyObject * _resultobj;
7389 wxPyDrawnShape * _arg0;
2348eaee 7390 wxPyControlPoint * _arg1;
e91a9dfc
RD
7391 bool _arg2;
7392 double _arg3;
7393 double _arg4;
7394 int _arg5 = (int ) 0;
7395 int _arg6 = (int ) 0;
7396 PyObject * _argo0 = 0;
7397 PyObject * _argo1 = 0;
7398 int tempbool2;
7399 char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL };
7400
7401 self = self;
7402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyDrawnShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6))
7403 return NULL;
7404 if (_argo0) {
7405 if (_argo0 == Py_None) { _arg0 = NULL; }
7406 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7407 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnSizingDragLeft. Expected _wxPyDrawnShape_p.");
7408 return NULL;
7409 }
7410 }
7411 if (_argo1) {
7412 if (_argo1 == Py_None) { _arg1 = NULL; }
2348eaee
RD
7413 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
7414 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
e91a9dfc
RD
7415 return NULL;
7416 }
7417 }
7418 _arg2 = (bool ) tempbool2;
7419{
4268f798 7420 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
7421 wxPyDrawnShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
7422
4268f798
RD
7423 wxPyEndAllowThreads(__tstate);
7424 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
7425} Py_INCREF(Py_None);
7426 _resultobj = Py_None;
7427 return _resultobj;
7428}
7429
7430#define wxPyDrawnShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7431static PyObject *_wrap_wxPyDrawnShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7432 PyObject * _resultobj;
7433 wxPyDrawnShape * _arg0;
2348eaee 7434 wxPyControlPoint * _arg1;
e91a9dfc
RD
7435 double _arg2;
7436 double _arg3;
7437 int _arg4 = (int ) 0;
7438 int _arg5 = (int ) 0;
7439 PyObject * _argo0 = 0;
7440 PyObject * _argo1 = 0;
7441 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
7442
7443 self = self;
7444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDrawnShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
7445 return NULL;
7446 if (_argo0) {
7447 if (_argo0 == Py_None) { _arg0 = NULL; }
7448 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7449 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnSizingBeginDragLeft. Expected _wxPyDrawnShape_p.");
7450 return NULL;
7451 }
7452 }
7453 if (_argo1) {
7454 if (_argo1 == Py_None) { _arg1 = NULL; }
2348eaee
RD
7455 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
7456 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
e91a9dfc
RD
7457 return NULL;
7458 }
7459 }
7460{
4268f798 7461 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
7462 wxPyDrawnShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
7463
4268f798
RD
7464 wxPyEndAllowThreads(__tstate);
7465 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
7466} Py_INCREF(Py_None);
7467 _resultobj = Py_None;
7468 return _resultobj;
7469}
7470
7471#define wxPyDrawnShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7472static PyObject *_wrap_wxPyDrawnShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7473 PyObject * _resultobj;
7474 wxPyDrawnShape * _arg0;
2348eaee 7475 wxPyControlPoint * _arg1;
e91a9dfc
RD
7476 double _arg2;
7477 double _arg3;
7478 int _arg4 = (int ) 0;
7479 int _arg5 = (int ) 0;
7480 PyObject * _argo0 = 0;
7481 PyObject * _argo1 = 0;
7482 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
7483
7484 self = self;
7485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDrawnShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
7486 return NULL;
7487 if (_argo0) {
7488 if (_argo0 == Py_None) { _arg0 = NULL; }
7489 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7490 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnSizingEndDragLeft. Expected _wxPyDrawnShape_p.");
7491 return NULL;
7492 }
7493 }
7494 if (_argo1) {
7495 if (_argo1 == Py_None) { _arg1 = NULL; }
2348eaee
RD
7496 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
7497 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
e91a9dfc
RD
7498 return NULL;
7499 }
7500 }
7501{
4268f798 7502 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
7503 wxPyDrawnShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
7504
4268f798
RD
7505 wxPyEndAllowThreads(__tstate);
7506 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
7507} Py_INCREF(Py_None);
7508 _resultobj = Py_None;
7509 return _resultobj;
7510}
7511
7512#define wxPyDrawnShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
7513static PyObject *_wrap_wxPyDrawnShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7514 PyObject * _resultobj;
7515 wxPyDrawnShape * _arg0;
7516 double _arg1;
7517 double _arg2;
7518 PyObject * _argo0 = 0;
7519 char *_kwnames[] = { "self","w","h", NULL };
7520
7521 self = self;
7522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDrawnShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2))
7523 return NULL;
7524 if (_argo0) {
7525 if (_argo0 == Py_None) { _arg0 = NULL; }
7526 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7527 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnBeginSize. Expected _wxPyDrawnShape_p.");
7528 return NULL;
7529 }
7530 }
7531{
4268f798 7532 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
7533 wxPyDrawnShape_base_OnBeginSize(_arg0,_arg1,_arg2);
7534
4268f798
RD
7535 wxPyEndAllowThreads(__tstate);
7536 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
7537} Py_INCREF(Py_None);
7538 _resultobj = Py_None;
7539 return _resultobj;
7540}
7541
7542#define wxPyDrawnShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
7543static PyObject *_wrap_wxPyDrawnShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7544 PyObject * _resultobj;
7545 wxPyDrawnShape * _arg0;
7546 double _arg1;
7547 double _arg2;
7548 PyObject * _argo0 = 0;
7549 char *_kwnames[] = { "self","w","h", NULL };
7550
7551 self = self;
7552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDrawnShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2))
7553 return NULL;
7554 if (_argo0) {
7555 if (_argo0 == Py_None) { _arg0 = NULL; }
7556 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7557 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnEndSize. Expected _wxPyDrawnShape_p.");
7558 return NULL;
7559 }
7560 }
7561{
4268f798 7562 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
7563 wxPyDrawnShape_base_OnEndSize(_arg0,_arg1,_arg2);
7564
4268f798
RD
7565 wxPyEndAllowThreads(__tstate);
7566 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
7567} Py_INCREF(Py_None);
7568 _resultobj = Py_None;
7569 return _resultobj;
7570}
7571
9416aa89
RD
7572static void *SwigwxOGLConstraintTowxObject(void *ptr) {
7573 wxOGLConstraint *src;
7574 wxObject *dest;
7575 src = (wxOGLConstraint *) ptr;
7576 dest = (wxObject *) src;
7577 return (void *) dest;
7578}
7579
e91a9dfc 7580static wxOGLConstraint *new_wxOGLConstraint(int type,wxPyShape *constraining,PyObject *constrained) {
99ab9f3b 7581 wxList* list = wxPy_wxListHelper(constrained, "_wxPyShape_p");
e91a9dfc
RD
7582 wxOGLConstraint* rv = new wxOGLConstraint(type, constraining, *list);
7583 delete list;
7584 return rv;
7585 }
7586
7587static PyObject *_wrap_new_wxOGLConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
7588 PyObject * _resultobj;
7589 wxOGLConstraint * _result;
7590 int _arg0;
7591 wxPyShape * _arg1;
7592 PyObject * _arg2;
7593 PyObject * _argo1 = 0;
7594 PyObject * _obj2 = 0;
7595 char *_kwnames[] = { "type","constraining","constrained", NULL };
7596 char _ptemp[128];
7597
7598 self = self;
7599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iOO:new_wxOGLConstraint",_kwnames,&_arg0,&_argo1,&_obj2))
7600 return NULL;
7601 if (_argo1) {
7602 if (_argo1 == Py_None) { _arg1 = NULL; }
7603 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) {
7604 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxOGLConstraint. Expected _wxPyShape_p.");
7605 return NULL;
7606 }
7607 }
7608{
7609 _arg2 = _obj2;
7610}
7611{
4268f798 7612 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
7613 _result = (wxOGLConstraint *)new_wxOGLConstraint(_arg0,_arg1,_arg2);
7614
4268f798
RD
7615 wxPyEndAllowThreads(__tstate);
7616 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
7617} if (_result) {
7618 SWIG_MakePtr(_ptemp, (char *) _result,"_wxOGLConstraint_p");
7619 _resultobj = Py_BuildValue("s",_ptemp);
7620 } else {
7621 Py_INCREF(Py_None);
7622 _resultobj = Py_None;
7623 }
7624 return _resultobj;
7625}
7626
e91a9dfc
RD
7627#define wxOGLConstraint_Evaluate(_swigobj) (_swigobj->Evaluate())
7628static PyObject *_wrap_wxOGLConstraint_Evaluate(PyObject *self, PyObject *args, PyObject *kwargs) {
7629 PyObject * _resultobj;
7630 bool _result;
7631 wxOGLConstraint * _arg0;
7632 PyObject * _argo0 = 0;
7633 char *_kwnames[] = { "self", NULL };
7634
7635 self = self;
7636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxOGLConstraint_Evaluate",_kwnames,&_argo0))
7637 return NULL;
7638 if (_argo0) {
7639 if (_argo0 == Py_None) { _arg0 = NULL; }
7640 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxOGLConstraint_p")) {
7641 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxOGLConstraint_Evaluate. Expected _wxOGLConstraint_p.");
7642 return NULL;
7643 }
7644 }
7645{
4268f798 7646 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
7647 _result = (bool )wxOGLConstraint_Evaluate(_arg0);
7648
4268f798
RD
7649 wxPyEndAllowThreads(__tstate);
7650 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
7651} _resultobj = Py_BuildValue("i",_result);
7652 return _resultobj;
7653}
7654
7655#define wxOGLConstraint_SetSpacing(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSpacing(_swigarg0,_swigarg1))
7656static PyObject *_wrap_wxOGLConstraint_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
7657 PyObject * _resultobj;
7658 wxOGLConstraint * _arg0;
7659 double _arg1;
7660 double _arg2;
7661 PyObject * _argo0 = 0;
7662 char *_kwnames[] = { "self","x","y", NULL };
7663
7664 self = self;
7665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxOGLConstraint_SetSpacing",_kwnames,&_argo0,&_arg1,&_arg2))
7666 return NULL;
7667 if (_argo0) {
7668 if (_argo0 == Py_None) { _arg0 = NULL; }
7669 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxOGLConstraint_p")) {
7670 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxOGLConstraint_SetSpacing. Expected _wxOGLConstraint_p.");
7671 return NULL;
7672 }
7673 }
7674{
4268f798 7675 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
7676 wxOGLConstraint_SetSpacing(_arg0,_arg1,_arg2);
7677
4268f798
RD
7678 wxPyEndAllowThreads(__tstate);
7679 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
7680} Py_INCREF(Py_None);
7681 _resultobj = Py_None;
7682 return _resultobj;
7683}
7684
7685#define wxOGLConstraint_Equals(_swigobj,_swigarg0,_swigarg1) (_swigobj->Equals(_swigarg0,_swigarg1))
7686static PyObject *_wrap_wxOGLConstraint_Equals(PyObject *self, PyObject *args, PyObject *kwargs) {
7687 PyObject * _resultobj;
7688 bool _result;
7689 wxOGLConstraint * _arg0;
7690 double _arg1;
7691 double _arg2;
7692 PyObject * _argo0 = 0;
7693 char *_kwnames[] = { "self","a","b", NULL };
7694
7695 self = self;
7696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxOGLConstraint_Equals",_kwnames,&_argo0,&_arg1,&_arg2))
7697 return NULL;
7698 if (_argo0) {
7699 if (_argo0 == Py_None) { _arg0 = NULL; }
7700 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxOGLConstraint_p")) {
7701 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxOGLConstraint_Equals. Expected _wxOGLConstraint_p.");
7702 return NULL;
7703 }
7704 }
7705{
4268f798 7706 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
7707 _result = (bool )wxOGLConstraint_Equals(_arg0,_arg1,_arg2);
7708
4268f798
RD
7709 wxPyEndAllowThreads(__tstate);
7710 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
7711} _resultobj = Py_BuildValue("i",_result);
7712 return _resultobj;
7713}
7714
7715static void *SwigwxPyCompositeShapeTowxPyRectangleShape(void *ptr) {
7716 wxPyCompositeShape *src;
7717 wxPyRectangleShape *dest;
7718 src = (wxPyCompositeShape *) ptr;
7719 dest = (wxPyRectangleShape *) src;
7720 return (void *) dest;
7721}
7722
7723static void *SwigwxPyCompositeShapeTowxPyShape(void *ptr) {
7724 wxPyCompositeShape *src;
7725 wxPyShape *dest;
7726 src = (wxPyCompositeShape *) ptr;
7727 dest = (wxPyShape *) src;
7728 return (void *) dest;
7729}
7730
7731static void *SwigwxPyCompositeShapeTowxPyShapeEvtHandler(void *ptr) {
7732 wxPyCompositeShape *src;
7733 wxPyShapeEvtHandler *dest;
7734 src = (wxPyCompositeShape *) ptr;
7735 dest = (wxPyShapeEvtHandler *) src;
7736 return (void *) dest;
7737}
7738
9416aa89
RD
7739static void *SwigwxPyCompositeShapeTowxObject(void *ptr) {
7740 wxPyCompositeShape *src;
7741 wxObject *dest;
7742 src = (wxPyCompositeShape *) ptr;
7743 dest = (wxObject *) src;
7744 return (void *) dest;
7745}
7746
e91a9dfc
RD
7747#define new_wxPyCompositeShape() (new wxPyCompositeShape())
7748static PyObject *_wrap_new_wxPyCompositeShape(PyObject *self, PyObject *args, PyObject *kwargs) {
7749 PyObject * _resultobj;
7750 wxPyCompositeShape * _result;
7751 char *_kwnames[] = { NULL };
7752 char _ptemp[128];
7753
7754 self = self;
7755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyCompositeShape",_kwnames))
7756 return NULL;
7757{
4268f798 7758 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
7759 _result = (wxPyCompositeShape *)new_wxPyCompositeShape();
7760
4268f798
RD
7761 wxPyEndAllowThreads(__tstate);
7762 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
7763} if (_result) {
7764 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyCompositeShape_p");
7765 _resultobj = Py_BuildValue("s",_ptemp);
7766 } else {
7767 Py_INCREF(Py_None);
7768 _resultobj = Py_None;
7769 }
7770 return _resultobj;
7771}
7772
0122b7e3
RD
7773#define wxPyCompositeShape__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
7774static PyObject *_wrap_wxPyCompositeShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
e91a9dfc
RD
7775 PyObject * _resultobj;
7776 wxPyCompositeShape * _arg0;
7777 PyObject * _arg1;
f6bcfd97 7778 PyObject * _arg2;
e91a9dfc
RD
7779 PyObject * _argo0 = 0;
7780 PyObject * _obj1 = 0;
f6bcfd97
BP
7781 PyObject * _obj2 = 0;
7782 char *_kwnames[] = { "self","self","_class", NULL };
e91a9dfc
RD
7783
7784 self = self;
0122b7e3 7785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyCompositeShape__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
e91a9dfc
RD
7786 return NULL;
7787 if (_argo0) {
7788 if (_argo0 == Py_None) { _arg0 = NULL; }
7789 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
0122b7e3 7790 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape__setCallbackInfo. Expected _wxPyCompositeShape_p.");
e91a9dfc
RD
7791 return NULL;
7792 }
7793 }
7794{
7795 _arg1 = _obj1;
7796}
f6bcfd97
BP
7797{
7798 _arg2 = _obj2;
7799}
e91a9dfc 7800{
4268f798 7801 PyThreadState* __tstate = wxPyBeginAllowThreads();
0122b7e3 7802 wxPyCompositeShape__setCallbackInfo(_arg0,_arg1,_arg2);
e91a9dfc 7803
4268f798
RD
7804 wxPyEndAllowThreads(__tstate);
7805 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
7806} Py_INCREF(Py_None);
7807 _resultobj = Py_None;
7808 return _resultobj;
7809}
7810
7811#define wxPyCompositeShape_AddChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddChild(_swigarg0,_swigarg1))
7812static PyObject *_wrap_wxPyCompositeShape_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
7813 PyObject * _resultobj;
7814 wxPyCompositeShape * _arg0;
7815 wxPyShape * _arg1;
7816 wxPyShape * _arg2 = (wxPyShape *) NULL;
7817 PyObject * _argo0 = 0;
7818 PyObject * _argo1 = 0;
7819 PyObject * _argo2 = 0;
7820 char *_kwnames[] = { "self","child","addAfter", NULL };
7821
7822 self = self;
7823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxPyCompositeShape_AddChild",_kwnames,&_argo0,&_argo1,&_argo2))
7824 return NULL;
7825 if (_argo0) {
7826 if (_argo0 == Py_None) { _arg0 = NULL; }
7827 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7828 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_AddChild. Expected _wxPyCompositeShape_p.");
7829 return NULL;
7830 }
7831 }
7832 if (_argo1) {
7833 if (_argo1 == Py_None) { _arg1 = NULL; }
7834 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) {
7835 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_AddChild. Expected _wxPyShape_p.");
7836 return NULL;
7837 }
7838 }
7839 if (_argo2) {
7840 if (_argo2 == Py_None) { _arg2 = NULL; }
7841 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyShape_p")) {
7842 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyCompositeShape_AddChild. Expected _wxPyShape_p.");
7843 return NULL;
7844 }
7845 }
7846{
4268f798 7847 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
7848 wxPyCompositeShape_AddChild(_arg0,_arg1,_arg2);
7849
4268f798
RD
7850 wxPyEndAllowThreads(__tstate);
7851 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
7852} Py_INCREF(Py_None);
7853 _resultobj = Py_None;
7854 return _resultobj;
7855}
7856
7857#define wxPyCompositeShape_AddConstraint(_swigobj,_swigarg0) (_swigobj->AddConstraint(_swigarg0))
7858static PyObject *_wrap_wxPyCompositeShape_AddConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
7859 PyObject * _resultobj;
7860 wxOGLConstraint * _result;
7861 wxPyCompositeShape * _arg0;
7862 wxOGLConstraint * _arg1;
7863 PyObject * _argo0 = 0;
7864 PyObject * _argo1 = 0;
7865 char *_kwnames[] = { "self","constraint", NULL };
e91a9dfc
RD
7866
7867 self = self;
7868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_AddConstraint",_kwnames,&_argo0,&_argo1))
7869 return NULL;
7870 if (_argo0) {
7871 if (_argo0 == Py_None) { _arg0 = NULL; }
7872 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7873 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_AddConstraint. Expected _wxPyCompositeShape_p.");
7874 return NULL;
7875 }
7876 }
7877 if (_argo1) {
7878 if (_argo1 == Py_None) { _arg1 = NULL; }
7879 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxOGLConstraint_p")) {
7880 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_AddConstraint. Expected _wxOGLConstraint_p.");
7881 return NULL;
7882 }
7883 }
7884{
4268f798 7885 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
7886 _result = (wxOGLConstraint *)wxPyCompositeShape_AddConstraint(_arg0,_arg1);
7887
4268f798
RD
7888 wxPyEndAllowThreads(__tstate);
7889 if (PyErr_Occurred()) return NULL;
9416aa89 7890}{ _resultobj = wxPyMake_wxObject(_result); }
e91a9dfc
RD
7891 return _resultobj;
7892}
7893
714d23b4 7894static wxOGLConstraint * wxPyCompositeShape_AddConstrainedShapes(wxPyCompositeShape *self,int type,wxPyShape * constraining,PyObject * constrained) {
99ab9f3b 7895 wxList* list = wxPy_wxListHelper(constrained, "_wxPyShape_p");
714d23b4
RD
7896 wxOGLConstraint* rv = self->AddConstraint(type, constraining, *list);
7897 delete list;
7898 return rv;
7899 }
7900static PyObject *_wrap_wxPyCompositeShape_AddConstrainedShapes(PyObject *self, PyObject *args, PyObject *kwargs) {
7901 PyObject * _resultobj;
7902 wxOGLConstraint * _result;
7903 wxPyCompositeShape * _arg0;
7904 int _arg1;
7905 wxPyShape * _arg2;
7906 PyObject * _arg3;
7907 PyObject * _argo0 = 0;
7908 PyObject * _argo2 = 0;
7909 PyObject * _obj3 = 0;
7910 char *_kwnames[] = { "self","type","constraining","constrained", NULL };
714d23b4
RD
7911
7912 self = self;
7913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO:wxPyCompositeShape_AddConstrainedShapes",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3))
7914 return NULL;
7915 if (_argo0) {
7916 if (_argo0 == Py_None) { _arg0 = NULL; }
7917 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7918 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_AddConstrainedShapes. Expected _wxPyCompositeShape_p.");
7919 return NULL;
7920 }
7921 }
7922 if (_argo2) {
7923 if (_argo2 == Py_None) { _arg2 = NULL; }
7924 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyShape_p")) {
7925 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyCompositeShape_AddConstrainedShapes. Expected _wxPyShape_p.");
7926 return NULL;
7927 }
7928 }
7929{
7930 _arg3 = _obj3;
7931}
7932{
4268f798 7933 PyThreadState* __tstate = wxPyBeginAllowThreads();
714d23b4
RD
7934 _result = (wxOGLConstraint *)wxPyCompositeShape_AddConstrainedShapes(_arg0,_arg1,_arg2,_arg3);
7935
4268f798
RD
7936 wxPyEndAllowThreads(__tstate);
7937 if (PyErr_Occurred()) return NULL;
9416aa89 7938}{ _resultobj = wxPyMake_wxObject(_result); }
714d23b4
RD
7939 return _resultobj;
7940}
7941
e91a9dfc
RD
7942#define wxPyCompositeShape_AddSimpleConstraint(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AddConstraint(_swigarg0,_swigarg1,_swigarg2))
7943static PyObject *_wrap_wxPyCompositeShape_AddSimpleConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
7944 PyObject * _resultobj;
7945 wxOGLConstraint * _result;
7946 wxPyCompositeShape * _arg0;
7947 int _arg1;
7948 wxPyShape * _arg2;
7949 wxPyShape * _arg3;
7950 PyObject * _argo0 = 0;
7951 PyObject * _argo2 = 0;
7952 PyObject * _argo3 = 0;
7953 char *_kwnames[] = { "self","type","constraining","constrained", NULL };
e91a9dfc
RD
7954
7955 self = self;
7956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO:wxPyCompositeShape_AddSimpleConstraint",_kwnames,&_argo0,&_arg1,&_argo2,&_argo3))
7957 return NULL;
7958 if (_argo0) {
7959 if (_argo0 == Py_None) { _arg0 = NULL; }
7960 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7961 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_AddSimpleConstraint. Expected _wxPyCompositeShape_p.");
7962 return NULL;
7963 }
7964 }
7965 if (_argo2) {
7966 if (_argo2 == Py_None) { _arg2 = NULL; }
7967 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyShape_p")) {
7968 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyCompositeShape_AddSimpleConstraint. Expected _wxPyShape_p.");
7969 return NULL;
7970 }
7971 }
7972 if (_argo3) {
7973 if (_argo3 == Py_None) { _arg3 = NULL; }
7974 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxPyShape_p")) {
7975 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxPyCompositeShape_AddSimpleConstraint. Expected _wxPyShape_p.");
7976 return NULL;
7977 }
7978 }
7979{
4268f798 7980 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
7981 _result = (wxOGLConstraint *)wxPyCompositeShape_AddSimpleConstraint(_arg0,_arg1,_arg2,_arg3);
7982
4268f798
RD
7983 wxPyEndAllowThreads(__tstate);
7984 if (PyErr_Occurred()) return NULL;
9416aa89 7985}{ _resultobj = wxPyMake_wxObject(_result); }
e91a9dfc
RD
7986 return _resultobj;
7987}
7988
7989#define wxPyCompositeShape_CalculateSize(_swigobj) (_swigobj->CalculateSize())
7990static PyObject *_wrap_wxPyCompositeShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7991 PyObject * _resultobj;
7992 wxPyCompositeShape * _arg0;
7993 PyObject * _argo0 = 0;
7994 char *_kwnames[] = { "self", NULL };
7995
7996 self = self;
7997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_CalculateSize",_kwnames,&_argo0))
7998 return NULL;
7999 if (_argo0) {
8000 if (_argo0 == Py_None) { _arg0 = NULL; }
8001 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8002 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_CalculateSize. Expected _wxPyCompositeShape_p.");
8003 return NULL;
8004 }
8005 }
8006{
4268f798 8007 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
8008 wxPyCompositeShape_CalculateSize(_arg0);
8009
4268f798
RD
8010 wxPyEndAllowThreads(__tstate);
8011 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
8012} Py_INCREF(Py_None);
8013 _resultobj = Py_None;
8014 return _resultobj;
8015}
8016
8017#define wxPyCompositeShape_ContainsDivision(_swigobj,_swigarg0) (_swigobj->ContainsDivision(_swigarg0))
8018static PyObject *_wrap_wxPyCompositeShape_ContainsDivision(PyObject *self, PyObject *args, PyObject *kwargs) {
8019 PyObject * _resultobj;
8020 bool _result;
8021 wxPyCompositeShape * _arg0;
8022 wxPyDivisionShape * _arg1;
8023 PyObject * _argo0 = 0;
8024 PyObject * _argo1 = 0;
8025 char *_kwnames[] = { "self","division", NULL };
8026
8027 self = self;
8028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_ContainsDivision",_kwnames,&_argo0,&_argo1))
8029 return NULL;
8030 if (_argo0) {
8031 if (_argo0 == Py_None) { _arg0 = NULL; }
8032 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8033 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_ContainsDivision. Expected _wxPyCompositeShape_p.");
8034 return NULL;
8035 }
8036 }
8037 if (_argo1) {
8038 if (_argo1 == Py_None) { _arg1 = NULL; }
8039 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyDivisionShape_p")) {
8040 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_ContainsDivision. Expected _wxPyDivisionShape_p.");
8041 return NULL;
8042 }
8043 }
8044{
4268f798 8045 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
8046 _result = (bool )wxPyCompositeShape_ContainsDivision(_arg0,_arg1);
8047
4268f798
RD
8048 wxPyEndAllowThreads(__tstate);
8049 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
8050} _resultobj = Py_BuildValue("i",_result);
8051 return _resultobj;
8052}
8053
8054#define wxPyCompositeShape_DeleteConstraint(_swigobj,_swigarg0) (_swigobj->DeleteConstraint(_swigarg0))
8055static PyObject *_wrap_wxPyCompositeShape_DeleteConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
8056 PyObject * _resultobj;
8057 wxPyCompositeShape * _arg0;
8058 wxOGLConstraint * _arg1;
8059 PyObject * _argo0 = 0;
8060 PyObject * _argo1 = 0;
8061 char *_kwnames[] = { "self","constraint", NULL };
8062
8063 self = self;
8064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_DeleteConstraint",_kwnames,&_argo0,&_argo1))
8065 return NULL;
8066 if (_argo0) {
8067 if (_argo0 == Py_None) { _arg0 = NULL; }
8068 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8069 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_DeleteConstraint. Expected _wxPyCompositeShape_p.");
8070 return NULL;
8071 }
8072 }
8073 if (_argo1) {
8074 if (_argo1 == Py_None) { _arg1 = NULL; }
8075 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxOGLConstraint_p")) {
8076 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_DeleteConstraint. Expected _wxOGLConstraint_p.");
8077 return NULL;
8078 }
8079 }
8080{
4268f798 8081 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
8082 wxPyCompositeShape_DeleteConstraint(_arg0,_arg1);
8083
4268f798
RD
8084 wxPyEndAllowThreads(__tstate);
8085 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
8086} Py_INCREF(Py_None);
8087 _resultobj = Py_None;
8088 return _resultobj;
8089}
8090
8091#define wxPyCompositeShape_DeleteConstraintsInvolvingChild(_swigobj,_swigarg0) (_swigobj->DeleteConstraintsInvolvingChild(_swigarg0))
8092static PyObject *_wrap_wxPyCompositeShape_DeleteConstraintsInvolvingChild(PyObject *self, PyObject *args, PyObject *kwargs) {
8093 PyObject * _resultobj;
8094 wxPyCompositeShape * _arg0;
8095 wxPyShape * _arg1;
8096 PyObject * _argo0 = 0;
8097 PyObject * _argo1 = 0;
8098 char *_kwnames[] = { "self","child", NULL };
8099
8100 self = self;
8101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_DeleteConstraintsInvolvingChild",_kwnames,&_argo0,&_argo1))
8102 return NULL;
8103 if (_argo0) {
8104 if (_argo0 == Py_None) { _arg0 = NULL; }
8105 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8106 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_DeleteConstraintsInvolvingChild. Expected _wxPyCompositeShape_p.");
8107 return NULL;
8108 }
8109 }
8110 if (_argo1) {
8111 if (_argo1 == Py_None) { _arg1 = NULL; }
8112 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) {
8113 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_DeleteConstraintsInvolvingChild. Expected _wxPyShape_p.");
8114 return NULL;
8115 }
8116 }
8117{
4268f798 8118 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
8119 wxPyCompositeShape_DeleteConstraintsInvolvingChild(_arg0,_arg1);
8120
4268f798
RD
8121 wxPyEndAllowThreads(__tstate);
8122 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
8123} Py_INCREF(Py_None);
8124 _resultobj = Py_None;
8125 return _resultobj;
8126}
8127
8128#define wxPyCompositeShape_FindContainerImage(_swigobj) (_swigobj->FindContainerImage())
8129static PyObject *_wrap_wxPyCompositeShape_FindContainerImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8130 PyObject * _resultobj;
8131 wxPyShape * _result;
8132 wxPyCompositeShape * _arg0;
8133 PyObject * _argo0 = 0;
8134 char *_kwnames[] = { "self", NULL };
e91a9dfc
RD
8135
8136 self = self;
8137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_FindContainerImage",_kwnames,&_argo0))
8138 return NULL;
8139 if (_argo0) {
8140 if (_argo0 == Py_None) { _arg0 = NULL; }
8141 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8142 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_FindContainerImage. Expected _wxPyCompositeShape_p.");
8143 return NULL;
8144 }
8145 }
8146{
4268f798 8147 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
8148 _result = (wxPyShape *)wxPyCompositeShape_FindContainerImage(_arg0);
8149
4268f798
RD
8150 wxPyEndAllowThreads(__tstate);
8151 if (PyErr_Occurred()) return NULL;
2f4e9287 8152}{ _resultobj = wxPyMake_wxShapeEvtHandler(_result); }
e91a9dfc
RD
8153 return _resultobj;
8154}
8155
8156static PyObject * wxPyCompositeShape_GetConstraints(wxPyCompositeShape *self) {
8157 wxList& list = self->GetConstraints();
8158 return wxPy_ConvertList(&list, "wxOGLConstraint");
8159 }
8160static PyObject *_wrap_wxPyCompositeShape_GetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
8161 PyObject * _resultobj;
8162 PyObject * _result;
8163 wxPyCompositeShape * _arg0;
8164 PyObject * _argo0 = 0;
8165 char *_kwnames[] = { "self", NULL };
8166
8167 self = self;
8168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_GetConstraints",_kwnames,&_argo0))
8169 return NULL;
8170 if (_argo0) {
8171 if (_argo0 == Py_None) { _arg0 = NULL; }
8172 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8173 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_GetConstraints. Expected _wxPyCompositeShape_p.");
8174 return NULL;
8175 }
8176 }
8177{
4268f798 8178 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
8179 _result = (PyObject *)wxPyCompositeShape_GetConstraints(_arg0);
8180
4268f798
RD
8181 wxPyEndAllowThreads(__tstate);
8182 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
8183}{
8184 _resultobj = _result;
8185}
8186 return _resultobj;
8187}
8188
8189static PyObject * wxPyCompositeShape_GetDivisions(wxPyCompositeShape *self) {
8190 wxList& list = self->GetDivisions();
8191 return wxPy_ConvertList(&list, "wxPyDivisionShape");
8192 }
8193static PyObject *_wrap_wxPyCompositeShape_GetDivisions(PyObject *self, PyObject *args, PyObject *kwargs) {
8194 PyObject * _resultobj;
8195 PyObject * _result;
8196 wxPyCompositeShape * _arg0;
8197 PyObject * _argo0 = 0;
8198 char *_kwnames[] = { "self", NULL };
8199
8200 self = self;
8201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_GetDivisions",_kwnames,&_argo0))
8202 return NULL;
8203 if (_argo0) {
8204 if (_argo0 == Py_None) { _arg0 = NULL; }
8205 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8206 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_GetDivisions. Expected _wxPyCompositeShape_p.");
8207 return NULL;
8208 }
8209 }
8210{
4268f798 8211 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
8212 _result = (PyObject *)wxPyCompositeShape_GetDivisions(_arg0);
8213
4268f798
RD
8214 wxPyEndAllowThreads(__tstate);
8215 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
8216}{
8217 _resultobj = _result;
8218}
8219 return _resultobj;
8220}
8221
8222#define wxPyCompositeShape_MakeContainer(_swigobj) (_swigobj->MakeContainer())
8223static PyObject *_wrap_wxPyCompositeShape_MakeContainer(PyObject *self, PyObject *args, PyObject *kwargs) {
8224 PyObject * _resultobj;
8225 wxPyCompositeShape * _arg0;
8226 PyObject * _argo0 = 0;
8227 char *_kwnames[] = { "self", NULL };
8228
8229 self = self;
8230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_MakeContainer",_kwnames,&_argo0))
8231 return NULL;
8232 if (_argo0) {
8233 if (_argo0 == Py_None) { _arg0 = NULL; }
8234 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8235 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_MakeContainer. Expected _wxPyCompositeShape_p.");
8236 return NULL;
8237 }
8238 }
8239{
4268f798 8240 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
8241 wxPyCompositeShape_MakeContainer(_arg0);
8242
4268f798
RD
8243 wxPyEndAllowThreads(__tstate);
8244 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
8245} Py_INCREF(Py_None);
8246 _resultobj = Py_None;
8247 return _resultobj;
8248}
8249
8250#define wxPyCompositeShape_Recompute(_swigobj) (_swigobj->Recompute())
8251static PyObject *_wrap_wxPyCompositeShape_Recompute(PyObject *self, PyObject *args, PyObject *kwargs) {
8252 PyObject * _resultobj;
8253 bool _result;
8254 wxPyCompositeShape * _arg0;
8255 PyObject * _argo0 = 0;
8256 char *_kwnames[] = { "self", NULL };
8257
8258 self = self;
8259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_Recompute",_kwnames,&_argo0))
8260 return NULL;
8261 if (_argo0) {
8262 if (_argo0 == Py_None) { _arg0 = NULL; }
8263 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8264 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_Recompute. Expected _wxPyCompositeShape_p.");
8265 return NULL;
8266 }
8267 }
8268{
4268f798 8269 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
8270 _result = (bool )wxPyCompositeShape_Recompute(_arg0);
8271
4268f798
RD
8272 wxPyEndAllowThreads(__tstate);
8273 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
8274} _resultobj = Py_BuildValue("i",_result);
8275 return _resultobj;
8276}
8277
8278#define wxPyCompositeShape_RemoveChild(_swigobj,_swigarg0) (_swigobj->RemoveChild(_swigarg0))
8279static PyObject *_wrap_wxPyCompositeShape_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
8280 PyObject * _resultobj;
8281 wxPyCompositeShape * _arg0;
8282 wxPyShape * _arg1;
8283 PyObject * _argo0 = 0;
8284 PyObject * _argo1 = 0;
8285 char *_kwnames[] = { "self","child", NULL };
8286
8287 self = self;
8288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_RemoveChild",_kwnames,&_argo0,&_argo1))
8289 return NULL;
8290 if (_argo0) {
8291 if (_argo0 == Py_None) { _arg0 = NULL; }
8292 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8293 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_RemoveChild. Expected _wxPyCompositeShape_p.");
8294 return NULL;
8295 }
8296 }
8297 if (_argo1) {
8298 if (_argo1 == Py_None) { _arg1 = NULL; }
8299 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) {
8300 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_RemoveChild. Expected _wxPyShape_p.");
8301 return NULL;
8302 }
8303 }
8304{
4268f798 8305 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
8306 wxPyCompositeShape_RemoveChild(_arg0,_arg1);
8307
4268f798
RD
8308 wxPyEndAllowThreads(__tstate);
8309 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
8310} Py_INCREF(Py_None);
8311 _resultobj = Py_None;
8312 return _resultobj;
8313}
8314
8315#define wxPyCompositeShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
8316static PyObject *_wrap_wxPyCompositeShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
8317 PyObject * _resultobj;
8318 wxPyCompositeShape * _arg0;
8319 PyObject * _argo0 = 0;
8320 char *_kwnames[] = { "self", NULL };
8321
8322 self = self;
8323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_base_OnDelete",_kwnames,&_argo0))
8324 return NULL;
8325 if (_argo0) {
8326 if (_argo0 == Py_None) { _arg0 = NULL; }
8327 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8328 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDelete. Expected _wxPyCompositeShape_p.");
8329 return NULL;
8330 }
8331 }
8332{
4268f798 8333 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
8334 wxPyCompositeShape_base_OnDelete(_arg0);
8335
4268f798
RD
8336 wxPyEndAllowThreads(__tstate);
8337 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
8338} Py_INCREF(Py_None);
8339 _resultobj = Py_None;
8340 return _resultobj;
8341}
8342
8343#define wxPyCompositeShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
8344static PyObject *_wrap_wxPyCompositeShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
8345 PyObject * _resultobj;
8346 wxPyCompositeShape * _arg0;
8347 wxDC * _arg1;
8348 PyObject * _argo0 = 0;
8349 PyObject * _argo1 = 0;
8350 char *_kwnames[] = { "self","dc", NULL };
8351
8352 self = self;
8353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnDraw",_kwnames,&_argo0,&_argo1))
8354 return NULL;
8355 if (_argo0) {
8356 if (_argo0 == Py_None) { _arg0 = NULL; }
8357 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8358 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDraw. Expected _wxPyCompositeShape_p.");
8359 return NULL;
8360 }
8361 }
8362 if (_argo1) {
8363 if (_argo1 == Py_None) { _arg1 = NULL; }
8364 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8365 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnDraw. Expected _wxDC_p.");
8366 return NULL;
8367 }
8368 }
8369{
4268f798 8370 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
8371 wxPyCompositeShape_base_OnDraw(_arg0,*_arg1);
8372
4268f798
RD
8373 wxPyEndAllowThreads(__tstate);
8374 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
8375} Py_INCREF(Py_None);
8376 _resultobj = Py_None;
8377 return _resultobj;
8378}
8379
8380#define wxPyCompositeShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
8381static PyObject *_wrap_wxPyCompositeShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
8382 PyObject * _resultobj;
8383 wxPyCompositeShape * _arg0;
8384 wxDC * _arg1;
8385 PyObject * _argo0 = 0;
8386 PyObject * _argo1 = 0;
8387 char *_kwnames[] = { "self","dc", NULL };
8388
8389 self = self;
8390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1))
8391 return NULL;
8392 if (_argo0) {
8393 if (_argo0 == Py_None) { _arg0 = NULL; }
8394 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8395 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDrawContents. Expected _wxPyCompositeShape_p.");
8396 return NULL;
8397 }
8398 }
8399 if (_argo1) {
8400 if (_argo1 == Py_None) { _arg1 = NULL; }
8401 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8402 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnDrawContents. Expected _wxDC_p.");
8403 return NULL;
8404 }
8405 }
8406{
4268f798 8407 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
8408 wxPyCompositeShape_base_OnDrawContents(_arg0,*_arg1);
8409
4268f798
RD
8410 wxPyEndAllowThreads(__tstate);
8411 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
8412} Py_INCREF(Py_None);
8413 _resultobj = Py_None;
8414 return _resultobj;
8415}
8416
8417#define wxPyCompositeShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
8418static PyObject *_wrap_wxPyCompositeShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
8419 PyObject * _resultobj;
8420 wxPyCompositeShape * _arg0;
8421 wxDC * _arg1;
8422 bool _arg2 = (bool ) FALSE;
8423 PyObject * _argo0 = 0;
8424 PyObject * _argo1 = 0;
8425 int tempbool2 = (int) FALSE;
8426 char *_kwnames[] = { "self","dc","erase", NULL };
8427
8428 self = self;
8429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyCompositeShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2))
8430 return NULL;
8431 if (_argo0) {
8432 if (_argo0 == Py_None) { _arg0 = NULL; }
8433 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8434 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDrawBranches. Expected _wxPyCompositeShape_p.");
8435 return NULL;
8436 }
8437 }
8438 if (_argo1) {
8439 if (_argo1 == Py_None) { _arg1 = NULL; }
8440 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8441 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnDrawBranches. Expected _wxDC_p.");
8442 return NULL;
8443 }
8444 }
8445 _arg2 = (bool ) tempbool2;
8446{
4268f798 8447 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
8448 wxPyCompositeShape_base_OnDrawBranches(_arg0,*_arg1,_arg2);
8449
4268f798
RD
8450 wxPyEndAllowThreads(__tstate);
8451 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
8452} Py_INCREF(Py_None);
8453 _resultobj = Py_None;
8454 return _resultobj;
8455}
8456
8457#define wxPyCompositeShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
8458static PyObject *_wrap_wxPyCompositeShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
8459 PyObject * _resultobj;
8460 wxPyCompositeShape * _arg0;
8461 wxDC * _arg1;
8462 PyObject * _argo0 = 0;
8463 PyObject * _argo1 = 0;
8464 char *_kwnames[] = { "self","dc", NULL };
8465
8466 self = self;
8467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1))
8468 return NULL;
8469 if (_argo0) {
8470 if (_argo0 == Py_None) { _arg0 = NULL; }
8471 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8472 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnMoveLinks. Expected _wxPyCompositeShape_p.");
8473 return NULL;
8474 }
8475 }
8476 if (_argo1) {
8477 if (_argo1 == Py_None) { _arg1 = NULL; }
8478 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8479 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnMoveLinks. Expected _wxDC_p.");
8480 return NULL;
8481 }
8482 }
8483{
4268f798 8484 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
8485 wxPyCompositeShape_base_OnMoveLinks(_arg0,*_arg1);
8486
4268f798
RD
8487 wxPyEndAllowThreads(__tstate);
8488 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
8489} Py_INCREF(Py_None);
8490 _resultobj = Py_None;
8491 return _resultobj;
8492}
8493
8494#define wxPyCompositeShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
8495static PyObject *_wrap_wxPyCompositeShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
8496 PyObject * _resultobj;
8497 wxPyCompositeShape * _arg0;
8498 wxDC * _arg1;
8499 PyObject * _argo0 = 0;
8500 PyObject * _argo1 = 0;
8501 char *_kwnames[] = { "self","dc", NULL };
8502
8503 self = self;
8504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnErase",_kwnames,&_argo0,&_argo1))
8505 return NULL;
8506 if (_argo0) {
8507 if (_argo0 == Py_None) { _arg0 = NULL; }
8508 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8509 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnErase. Expected _wxPyCompositeShape_p.");
8510 return NULL;
8511 }
8512 }
8513 if (_argo1) {
8514 if (_argo1 == Py_None) { _arg1 = NULL; }
8515 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8516 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnErase. Expected _wxDC_p.");
8517 return NULL;
8518 }
8519 }
8520{
4268f798 8521 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
8522 wxPyCompositeShape_base_OnErase(_arg0,*_arg1);
8523
4268f798
RD
8524 wxPyEndAllowThreads(__tstate);
8525 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
8526} Py_INCREF(Py_None);
8527 _resultobj = Py_None;
8528 return _resultobj;
8529}
8530
8531#define wxPyCompositeShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
8532static PyObject *_wrap_wxPyCompositeShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
8533 PyObject * _resultobj;
8534 wxPyCompositeShape * _arg0;
8535 wxDC * _arg1;
8536 PyObject * _argo0 = 0;
8537 PyObject * _argo1 = 0;
8538 char *_kwnames[] = { "self","dc", NULL };
8539
8540 self = self;
8541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1))
8542 return NULL;
8543 if (_argo0) {
8544 if (_argo0 == Py_None) { _arg0 = NULL; }
8545 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8546 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnEraseContents. Expected _wxPyCompositeShape_p.");
8547 return NULL;
8548 }
8549 }
8550 if (_argo1) {
8551 if (_argo1 == Py_None) { _arg1 = NULL; }
8552 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8553 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnEraseContents. Expected _wxDC_p.");
8554 return NULL;
8555 }
8556 }
8557{
4268f798 8558 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
8559 wxPyCompositeShape_base_OnEraseContents(_arg0,*_arg1);
8560
4268f798
RD
8561 wxPyEndAllowThreads(__tstate);
8562 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
8563} Py_INCREF(Py_None);
8564 _resultobj = Py_None;
8565 return _resultobj;
8566}
8567
8568#define wxPyCompositeShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
8569static PyObject *_wrap_wxPyCompositeShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
8570 PyObject * _resultobj;
8571 wxPyCompositeShape * _arg0;
8572 wxDC * _arg1;
8573 PyObject * _argo0 = 0;
8574 PyObject * _argo1 = 0;
8575 char *_kwnames[] = { "self","dc", NULL };
8576
8577 self = self;
8578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnHighlight",_kwnames,&_argo0,&_argo1))
8579 return NULL;
8580 if (_argo0) {
8581 if (_argo0 == Py_None) { _arg0 = NULL; }
8582 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8583 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnHighlight. Expected _wxPyCompositeShape_p.");
8584 return NULL;
8585 }
8586 }
8587 if (_argo1) {
8588 if (_argo1 == Py_None) { _arg1 = NULL; }
8589 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8590 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnHighlight. Expected _wxDC_p.");
8591 return NULL;
8592 }
8593 }
8594{
4268f798 8595 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
8596 wxPyCompositeShape_base_OnHighlight(_arg0,*_arg1);
8597
4268f798
RD
8598 wxPyEndAllowThreads(__tstate);
8599 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
8600} Py_INCREF(Py_None);
8601 _resultobj = Py_None;
8602 return _resultobj;
8603}
8604
8605#define wxPyCompositeShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8606static PyObject *_wrap_wxPyCompositeShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
8607 PyObject * _resultobj;
8608 wxPyCompositeShape * _arg0;
8609 double _arg1;
8610 double _arg2;
8611 int _arg3 = (int ) 0;
8612 int _arg4 = (int ) 0;
8613 PyObject * _argo0 = 0;
8614 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
8615
8616 self = self;
8617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8618 return NULL;
8619 if (_argo0) {
8620 if (_argo0 == Py_None) { _arg0 = NULL; }
8621 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8622 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnLeftClick. Expected _wxPyCompositeShape_p.");
8623 return NULL;
8624 }
8625 }
8626{
4268f798 8627 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
8628 wxPyCompositeShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4);
8629
4268f798
RD
8630 wxPyEndAllowThreads(__tstate);
8631 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
8632} Py_INCREF(Py_None);
8633 _resultobj = Py_None;
8634 return _resultobj;
8635}
8636
8637#define wxPyCompositeShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8638static PyObject *_wrap_wxPyCompositeShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
8639 PyObject * _resultobj;
8640 wxPyCompositeShape * _arg0;
8641 double _arg1;
8642 double _arg2;
8643 int _arg3 = (int ) 0;
8644 int _arg4 = (int ) 0;
8645 PyObject * _argo0 = 0;
8646 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
8647
8648 self = self;
8649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8650 return NULL;
8651 if (_argo0) {
8652 if (_argo0 == Py_None) { _arg0 = NULL; }
8653 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8654 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnLeftDoubleClick. Expected _wxPyCompositeShape_p.");
8655 return NULL;
8656 }
8657 }
8658{
4268f798 8659 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
8660 wxPyCompositeShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4);
8661
4268f798
RD
8662 wxPyEndAllowThreads(__tstate);
8663 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
8664} Py_INCREF(Py_None);
8665 _resultobj = Py_None;
8666 return _resultobj;
8667}
8668
8669#define wxPyCompositeShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8670static PyObject *_wrap_wxPyCompositeShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
8671 PyObject * _resultobj;
8672 wxPyCompositeShape * _arg0;
8673 double _arg1;
8674 double _arg2;
8675 int _arg3 = (int ) 0;
8676 int _arg4 = (int ) 0;
8677 PyObject * _argo0 = 0;
8678 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
8679
8680 self = self;
8681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8682 return NULL;
8683 if (_argo0) {
8684 if (_argo0 == Py_None) { _arg0 = NULL; }
8685 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8686 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnRightClick. Expected _wxPyCompositeShape_p.");
8687 return NULL;
8688 }
8689 }
8690{
4268f798 8691 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
8692 wxPyCompositeShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4);
8693
4268f798
RD
8694 wxPyEndAllowThreads(__tstate);
8695 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
8696} Py_INCREF(Py_None);
8697 _resultobj = Py_None;
8698 return _resultobj;
8699}
8700
8701#define wxPyCompositeShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
8702static PyObject *_wrap_wxPyCompositeShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8703 PyObject * _resultobj;
8704 wxPyCompositeShape * _arg0;
8705 double _arg1;
8706 double _arg2;
8707 PyObject * _argo0 = 0;
8708 char *_kwnames[] = { "self","x","y", NULL };
8709
8710 self = self;
8711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyCompositeShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2))
8712 return NULL;
8713 if (_argo0) {
8714 if (_argo0 == Py_None) { _arg0 = NULL; }
8715 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8716 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnSize. Expected _wxPyCompositeShape_p.");
8717 return NULL;
8718 }
8719 }
8720{
4268f798 8721 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
8722 wxPyCompositeShape_base_OnSize(_arg0,_arg1,_arg2);
8723
4268f798
RD
8724 wxPyEndAllowThreads(__tstate);
8725 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
8726} Py_INCREF(Py_None);
8727 _resultobj = Py_None;
8728 return _resultobj;
8729}
8730
8731#define wxPyCompositeShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8732static PyObject *_wrap_wxPyCompositeShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
8733 PyObject * _resultobj;
8734 bool _result;
8735 wxPyCompositeShape * _arg0;
8736 wxDC * _arg1;
8737 double _arg2;
8738 double _arg3;
8739 double _arg4;
8740 double _arg5;
8741 bool _arg6 = (bool ) TRUE;
8742 PyObject * _argo0 = 0;
8743 PyObject * _argo1 = 0;
8744 int tempbool6 = (int) TRUE;
8745 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
8746
8747 self = self;
8748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyCompositeShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
8749 return NULL;
8750 if (_argo0) {
8751 if (_argo0 == Py_None) { _arg0 = NULL; }
8752 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8753 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnMovePre. Expected _wxPyCompositeShape_p.");
8754 return NULL;
8755 }
8756 }
8757 if (_argo1) {
8758 if (_argo1 == Py_None) { _arg1 = NULL; }
8759 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8760 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnMovePre. Expected _wxDC_p.");
8761 return NULL;
8762 }
8763 }
8764 _arg6 = (bool ) tempbool6;
8765{
4268f798 8766 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
8767 _result = (bool )wxPyCompositeShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
8768
4268f798
RD
8769 wxPyEndAllowThreads(__tstate);
8770 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
8771} _resultobj = Py_BuildValue("i",_result);
8772 return _resultobj;
8773}
8774
8775#define wxPyCompositeShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8776static PyObject *_wrap_wxPyCompositeShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
8777 PyObject * _resultobj;
8778 wxPyCompositeShape * _arg0;
8779 wxDC * _arg1;
8780 double _arg2;
8781 double _arg3;
8782 double _arg4;
8783 double _arg5;
8784 bool _arg6 = (bool ) TRUE;
8785 PyObject * _argo0 = 0;
8786 PyObject * _argo1 = 0;
8787 int tempbool6 = (int) TRUE;
8788 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
8789
8790 self = self;
8791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyCompositeShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
8792 return NULL;
8793 if (_argo0) {
8794 if (_argo0 == Py_None) { _arg0 = NULL; }
8795 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8796 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnMovePost. Expected _wxPyCompositeShape_p.");
8797 return NULL;
8798 }
8799 }
8800 if (_argo1) {
8801 if (_argo1 == Py_None) { _arg1 = NULL; }
8802 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8803 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnMovePost. Expected _wxDC_p.");
8804 return NULL;
8805 }
8806 }
8807 _arg6 = (bool ) tempbool6;
8808{
4268f798 8809 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
8810 wxPyCompositeShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
8811
4268f798
RD
8812 wxPyEndAllowThreads(__tstate);
8813 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
8814} Py_INCREF(Py_None);
8815 _resultobj = Py_None;
8816 return _resultobj;
8817}
8818
8819#define wxPyCompositeShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8820static PyObject *_wrap_wxPyCompositeShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8821 PyObject * _resultobj;
8822 wxPyCompositeShape * _arg0;
8823 bool _arg1;
8824 double _arg2;
8825 double _arg3;
8826 int _arg4 = (int ) 0;
8827 int _arg5 = (int ) 0;
8828 PyObject * _argo0 = 0;
8829 int tempbool1;
8830 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
8831
8832 self = self;
8833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyCompositeShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
8834 return NULL;
8835 if (_argo0) {
8836 if (_argo0 == Py_None) { _arg0 = NULL; }
8837 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8838 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDragLeft. Expected _wxPyCompositeShape_p.");
8839 return NULL;
8840 }
8841 }
8842 _arg1 = (bool ) tempbool1;
8843{
4268f798 8844 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
8845 wxPyCompositeShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
8846
4268f798
RD
8847 wxPyEndAllowThreads(__tstate);
8848 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
8849} Py_INCREF(Py_None);
8850 _resultobj = Py_None;
8851 return _resultobj;
8852}
8853
8854#define wxPyCompositeShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8855static PyObject *_wrap_wxPyCompositeShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8856 PyObject * _resultobj;
8857 wxPyCompositeShape * _arg0;
8858 double _arg1;
8859 double _arg2;
8860 int _arg3 = (int ) 0;
8861 int _arg4 = (int ) 0;
8862 PyObject * _argo0 = 0;
8863 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
8864
8865 self = self;
8866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8867 return NULL;
8868 if (_argo0) {
8869 if (_argo0 == Py_None) { _arg0 = NULL; }
8870 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8871 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnBeginDragLeft. Expected _wxPyCompositeShape_p.");
8872 return NULL;
8873 }
8874 }
8875{
4268f798 8876 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
8877 wxPyCompositeShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
8878
4268f798
RD
8879 wxPyEndAllowThreads(__tstate);
8880 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
8881} Py_INCREF(Py_None);
8882 _resultobj = Py_None;
8883 return _resultobj;
8884}
8885
8886#define wxPyCompositeShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8887static PyObject *_wrap_wxPyCompositeShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8888 PyObject * _resultobj;
8889 wxPyCompositeShape * _arg0;
8890 double _arg1;
8891 double _arg2;
8892 int _arg3 = (int ) 0;
8893 int _arg4 = (int ) 0;
8894 PyObject * _argo0 = 0;
8895 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
8896
8897 self = self;
8898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8899 return NULL;
8900 if (_argo0) {
8901 if (_argo0 == Py_None) { _arg0 = NULL; }
8902 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8903 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnEndDragLeft. Expected _wxPyCompositeShape_p.");
8904 return NULL;
8905 }
8906 }
8907{
4268f798 8908 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
8909 wxPyCompositeShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
8910
4268f798
RD
8911 wxPyEndAllowThreads(__tstate);
8912 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
8913} Py_INCREF(Py_None);
8914 _resultobj = Py_None;
8915 return _resultobj;
8916}
8917
8918#define wxPyCompositeShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8919static PyObject *_wrap_wxPyCompositeShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8920 PyObject * _resultobj;
8921 wxPyCompositeShape * _arg0;
8922 bool _arg1;
8923 double _arg2;
8924 double _arg3;
8925 int _arg4 = (int ) 0;
8926 int _arg5 = (int ) 0;
8927 PyObject * _argo0 = 0;
8928 int tempbool1;
8929 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
8930
8931 self = self;
8932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyCompositeShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
8933 return NULL;
8934 if (_argo0) {
8935 if (_argo0 == Py_None) { _arg0 = NULL; }
8936 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8937 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDragRight. Expected _wxPyCompositeShape_p.");
8938 return NULL;
8939 }
8940 }
8941 _arg1 = (bool ) tempbool1;
8942{
4268f798 8943 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
8944 wxPyCompositeShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
8945
4268f798
RD
8946 wxPyEndAllowThreads(__tstate);
8947 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
8948} Py_INCREF(Py_None);
8949 _resultobj = Py_None;
8950 return _resultobj;
8951}
8952
8953#define wxPyCompositeShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8954static PyObject *_wrap_wxPyCompositeShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8955 PyObject * _resultobj;
8956 wxPyCompositeShape * _arg0;
8957 double _arg1;
8958 double _arg2;
8959 int _arg3 = (int ) 0;
8960 int _arg4 = (int ) 0;
8961 PyObject * _argo0 = 0;
8962 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
8963
8964 self = self;
8965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8966 return NULL;
8967 if (_argo0) {
8968 if (_argo0 == Py_None) { _arg0 = NULL; }
8969 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8970 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnBeginDragRight. Expected _wxPyCompositeShape_p.");
8971 return NULL;
8972 }
8973 }
8974{
4268f798 8975 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
8976 wxPyCompositeShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
8977
4268f798
RD
8978 wxPyEndAllowThreads(__tstate);
8979 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
8980} Py_INCREF(Py_None);
8981 _resultobj = Py_None;
8982 return _resultobj;
8983}
8984
8985#define wxPyCompositeShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8986static PyObject *_wrap_wxPyCompositeShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8987 PyObject * _resultobj;
8988 wxPyCompositeShape * _arg0;
8989 double _arg1;
8990 double _arg2;
8991 int _arg3 = (int ) 0;
8992 int _arg4 = (int ) 0;
8993 PyObject * _argo0 = 0;
8994 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
8995
8996 self = self;
8997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8998 return NULL;
8999 if (_argo0) {
9000 if (_argo0 == Py_None) { _arg0 = NULL; }
9001 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
9002 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnEndDragRight. Expected _wxPyCompositeShape_p.");
9003 return NULL;
9004 }
9005 }
9006{
4268f798 9007 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
9008 wxPyCompositeShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
9009
4268f798
RD
9010 wxPyEndAllowThreads(__tstate);
9011 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
9012} Py_INCREF(Py_None);
9013 _resultobj = Py_None;
9014 return _resultobj;
9015}
9016
9017#define wxPyCompositeShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
9018static PyObject *_wrap_wxPyCompositeShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
9019 PyObject * _resultobj;
9020 wxPyCompositeShape * _arg0;
9021 wxDC * _arg1;
9022 double _arg2;
9023 double _arg3;
9024 double _arg4;
9025 double _arg5;
9026 PyObject * _argo0 = 0;
9027 PyObject * _argo1 = 0;
9028 char *_kwnames[] = { "self","dc","x","y","w","h", NULL };
9029
9030 self = self;
9031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyCompositeShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
9032 return NULL;
9033 if (_argo0) {
9034 if (_argo0 == Py_None) { _arg0 = NULL; }
9035 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
9036 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDrawOutline. Expected _wxPyCompositeShape_p.");
9037 return NULL;
9038 }
9039 }
9040 if (_argo1) {
9041 if (_argo1 == Py_None) { _arg1 = NULL; }
9042 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
9043 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnDrawOutline. Expected _wxDC_p.");
9044 return NULL;
9045 }
9046 }
9047{
4268f798 9048 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
9049 wxPyCompositeShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5);
9050
4268f798
RD
9051 wxPyEndAllowThreads(__tstate);
9052 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
9053} Py_INCREF(Py_None);
9054 _resultobj = Py_None;
9055 return _resultobj;
9056}
9057
9058#define wxPyCompositeShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
9059static PyObject *_wrap_wxPyCompositeShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
9060 PyObject * _resultobj;
9061 wxPyCompositeShape * _arg0;
9062 wxDC * _arg1;
9063 PyObject * _argo0 = 0;
9064 PyObject * _argo1 = 0;
9065 char *_kwnames[] = { "self","dc", NULL };
9066
9067 self = self;
9068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1))
9069 return NULL;
9070 if (_argo0) {
9071 if (_argo0 == Py_None) { _arg0 = NULL; }
9072 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
9073 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDrawControlPoints. Expected _wxPyCompositeShape_p.");
9074 return NULL;
9075 }
9076 }
9077 if (_argo1) {
9078 if (_argo1 == Py_None) { _arg1 = NULL; }
9079 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
9080 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnDrawControlPoints. Expected _wxDC_p.");
9081 return NULL;
9082 }
9083 }
9084{
4268f798 9085 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
9086 wxPyCompositeShape_base_OnDrawControlPoints(_arg0,*_arg1);
9087
4268f798
RD
9088 wxPyEndAllowThreads(__tstate);
9089 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
9090} Py_INCREF(Py_None);
9091 _resultobj = Py_None;
9092 return _resultobj;
9093}
9094
9095#define wxPyCompositeShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
9096static PyObject *_wrap_wxPyCompositeShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
9097 PyObject * _resultobj;
9098 wxPyCompositeShape * _arg0;
9099 wxDC * _arg1;
9100 PyObject * _argo0 = 0;
9101 PyObject * _argo1 = 0;
9102 char *_kwnames[] = { "self","dc", NULL };
9103
9104 self = self;
9105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1))
9106 return NULL;
9107 if (_argo0) {
9108 if (_argo0 == Py_None) { _arg0 = NULL; }
9109 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
9110 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnEraseControlPoints. Expected _wxPyCompositeShape_p.");
9111 return NULL;
9112 }
9113 }
9114 if (_argo1) {
9115 if (_argo1 == Py_None) { _arg1 = NULL; }
9116 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
9117 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnEraseControlPoints. Expected _wxDC_p.");
9118 return NULL;
9119 }
9120 }
9121{
4268f798 9122 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
9123 wxPyCompositeShape_base_OnEraseControlPoints(_arg0,*_arg1);
9124
4268f798
RD
9125 wxPyEndAllowThreads(__tstate);
9126 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
9127} Py_INCREF(Py_None);
9128 _resultobj = Py_None;
9129 return _resultobj;
9130}
9131
9132#define wxPyCompositeShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
9133static PyObject *_wrap_wxPyCompositeShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
9134 PyObject * _resultobj;
9135 wxPyCompositeShape * _arg0;
9136 wxDC * _arg1;
9137 bool _arg2 = (bool ) TRUE;
9138 PyObject * _argo0 = 0;
9139 PyObject * _argo1 = 0;
9140 int tempbool2 = (int) TRUE;
9141 char *_kwnames[] = { "self","dc","moveControlPoints", NULL };
9142
9143 self = self;
9144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyCompositeShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2))
9145 return NULL;
9146 if (_argo0) {
9147 if (_argo0 == Py_None) { _arg0 = NULL; }
9148 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
9149 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnMoveLink. Expected _wxPyCompositeShape_p.");
9150 return NULL;
9151 }
9152 }
9153 if (_argo1) {
9154 if (_argo1 == Py_None) { _arg1 = NULL; }
9155 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
9156 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnMoveLink. Expected _wxDC_p.");
9157 return NULL;
9158 }
9159 }
9160 _arg2 = (bool ) tempbool2;
9161{
4268f798 9162 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
9163 wxPyCompositeShape_base_OnMoveLink(_arg0,*_arg1,_arg2);
9164
4268f798
RD
9165 wxPyEndAllowThreads(__tstate);
9166 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
9167} Py_INCREF(Py_None);
9168 _resultobj = Py_None;
9169 return _resultobj;
9170}
9171
9172#define wxPyCompositeShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
9173static PyObject *_wrap_wxPyCompositeShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9174 PyObject * _resultobj;
9175 wxPyCompositeShape * _arg0;
2348eaee 9176 wxPyControlPoint * _arg1;
e91a9dfc
RD
9177 bool _arg2;
9178 double _arg3;
9179 double _arg4;
9180 int _arg5 = (int ) 0;
9181 int _arg6 = (int ) 0;
9182 PyObject * _argo0 = 0;
9183 PyObject * _argo1 = 0;
9184 int tempbool2;
9185 char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL };
9186
9187 self = self;
9188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyCompositeShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6))
9189 return NULL;
9190 if (_argo0) {
9191 if (_argo0 == Py_None) { _arg0 = NULL; }
9192 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
9193 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnSizingDragLeft. Expected _wxPyCompositeShape_p.");
9194 return NULL;
9195 }
9196 }
9197 if (_argo1) {
9198 if (_argo1 == Py_None) { _arg1 = NULL; }
2348eaee
RD
9199 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
9200 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
e91a9dfc
RD
9201 return NULL;
9202 }
9203 }
9204 _arg2 = (bool ) tempbool2;
9205{
4268f798 9206 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
9207 wxPyCompositeShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
9208
4268f798
RD
9209 wxPyEndAllowThreads(__tstate);
9210 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
9211} Py_INCREF(Py_None);
9212 _resultobj = Py_None;
9213 return _resultobj;
9214}
9215
9216#define wxPyCompositeShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
9217static PyObject *_wrap_wxPyCompositeShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9218 PyObject * _resultobj;
9219 wxPyCompositeShape * _arg0;
2348eaee 9220 wxPyControlPoint * _arg1;
e91a9dfc
RD
9221 double _arg2;
9222 double _arg3;
9223 int _arg4 = (int ) 0;
9224 int _arg5 = (int ) 0;
9225 PyObject * _argo0 = 0;
9226 PyObject * _argo1 = 0;
9227 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
9228
9229 self = self;
9230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyCompositeShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
9231 return NULL;
9232 if (_argo0) {
9233 if (_argo0 == Py_None) { _arg0 = NULL; }
9234 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
9235 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnSizingBeginDragLeft. Expected _wxPyCompositeShape_p.");
9236 return NULL;
9237 }
9238 }
9239 if (_argo1) {
9240 if (_argo1 == Py_None) { _arg1 = NULL; }
2348eaee
RD
9241 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
9242 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
e91a9dfc
RD
9243 return NULL;
9244 }
9245 }
9246{
4268f798 9247 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
9248 wxPyCompositeShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
9249
4268f798
RD
9250 wxPyEndAllowThreads(__tstate);
9251 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
9252} Py_INCREF(Py_None);
9253 _resultobj = Py_None;
9254 return _resultobj;
9255}
9256
9257#define wxPyCompositeShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
9258static PyObject *_wrap_wxPyCompositeShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9259 PyObject * _resultobj;
9260 wxPyCompositeShape * _arg0;
2348eaee 9261 wxPyControlPoint * _arg1;
e91a9dfc
RD
9262 double _arg2;
9263 double _arg3;
9264 int _arg4 = (int ) 0;
9265 int _arg5 = (int ) 0;
9266 PyObject * _argo0 = 0;
9267 PyObject * _argo1 = 0;
9268 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
9269
9270 self = self;
9271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyCompositeShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
9272 return NULL;
9273 if (_argo0) {
9274 if (_argo0 == Py_None) { _arg0 = NULL; }
9275 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
9276 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnSizingEndDragLeft. Expected _wxPyCompositeShape_p.");
9277 return NULL;
9278 }
9279 }
9280 if (_argo1) {
9281 if (_argo1 == Py_None) { _arg1 = NULL; }
2348eaee
RD
9282 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
9283 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
e91a9dfc
RD
9284 return NULL;
9285 }
9286 }
9287{
4268f798 9288 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
9289 wxPyCompositeShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
9290
4268f798
RD
9291 wxPyEndAllowThreads(__tstate);
9292 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
9293} Py_INCREF(Py_None);
9294 _resultobj = Py_None;
9295 return _resultobj;
9296}
9297
9298#define wxPyCompositeShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
9299static PyObject *_wrap_wxPyCompositeShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9300 PyObject * _resultobj;
9301 wxPyCompositeShape * _arg0;
9302 double _arg1;
9303 double _arg2;
9304 PyObject * _argo0 = 0;
9305 char *_kwnames[] = { "self","w","h", NULL };
9306
9307 self = self;
9308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyCompositeShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2))
9309 return NULL;
9310 if (_argo0) {
9311 if (_argo0 == Py_None) { _arg0 = NULL; }
9312 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
9313 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnBeginSize. Expected _wxPyCompositeShape_p.");
9314 return NULL;
9315 }
9316 }
9317{
4268f798 9318 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
9319 wxPyCompositeShape_base_OnBeginSize(_arg0,_arg1,_arg2);
9320
4268f798
RD
9321 wxPyEndAllowThreads(__tstate);
9322 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
9323} Py_INCREF(Py_None);
9324 _resultobj = Py_None;
9325 return _resultobj;
9326}
9327
9328#define wxPyCompositeShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
9329static PyObject *_wrap_wxPyCompositeShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9330 PyObject * _resultobj;
9331 wxPyCompositeShape * _arg0;
9332 double _arg1;
9333 double _arg2;
9334 PyObject * _argo0 = 0;
9335 char *_kwnames[] = { "self","w","h", NULL };
9336
9337 self = self;
9338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyCompositeShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2))
9339 return NULL;
9340 if (_argo0) {
9341 if (_argo0 == Py_None) { _arg0 = NULL; }
9342 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
9343 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnEndSize. Expected _wxPyCompositeShape_p.");
9344 return NULL;
9345 }
9346 }
9347{
4268f798 9348 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
9349 wxPyCompositeShape_base_OnEndSize(_arg0,_arg1,_arg2);
9350
4268f798
RD
9351 wxPyEndAllowThreads(__tstate);
9352 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
9353} Py_INCREF(Py_None);
9354 _resultobj = Py_None;
9355 return _resultobj;
9356}
9357
9358static void *SwigwxPyDividedShapeTowxPyRectangleShape(void *ptr) {
9359 wxPyDividedShape *src;
9360 wxPyRectangleShape *dest;
9361 src = (wxPyDividedShape *) ptr;
9362 dest = (wxPyRectangleShape *) src;
9363 return (void *) dest;
9364}
9365
9366static void *SwigwxPyDividedShapeTowxPyShape(void *ptr) {
9367 wxPyDividedShape *src;
9368 wxPyShape *dest;
9369 src = (wxPyDividedShape *) ptr;
9370 dest = (wxPyShape *) src;
9371 return (void *) dest;
9372}
9373
9374static void *SwigwxPyDividedShapeTowxPyShapeEvtHandler(void *ptr) {
9375 wxPyDividedShape *src;
9376 wxPyShapeEvtHandler *dest;
9377 src = (wxPyDividedShape *) ptr;
9378 dest = (wxPyShapeEvtHandler *) src;
9379 return (void *) dest;
9380}
9381
9416aa89
RD
9382static void *SwigwxPyDividedShapeTowxObject(void *ptr) {
9383 wxPyDividedShape *src;
9384 wxObject *dest;
9385 src = (wxPyDividedShape *) ptr;
9386 dest = (wxObject *) src;
9387 return (void *) dest;
9388}
9389
e91a9dfc
RD
9390#define new_wxPyDividedShape(_swigarg0,_swigarg1) (new wxPyDividedShape(_swigarg0,_swigarg1))
9391static PyObject *_wrap_new_wxPyDividedShape(PyObject *self, PyObject *args, PyObject *kwargs) {
9392 PyObject * _resultobj;
9393 wxPyDividedShape * _result;
9394 double _arg0 = (double ) 0.0;
9395 double _arg1 = (double ) 0.0;
9396 char *_kwnames[] = { "width","height", NULL };
9397 char _ptemp[128];
9398
9399 self = self;
9400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|dd:new_wxPyDividedShape",_kwnames,&_arg0,&_arg1))
9401 return NULL;
9402{
4268f798 9403 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
9404 _result = (wxPyDividedShape *)new_wxPyDividedShape(_arg0,_arg1);
9405
4268f798
RD
9406 wxPyEndAllowThreads(__tstate);
9407 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
9408} if (_result) {
9409 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyDividedShape_p");
9410 _resultobj = Py_BuildValue("s",_ptemp);
9411 } else {
9412 Py_INCREF(Py_None);
9413 _resultobj = Py_None;
9414 }
9415 return _resultobj;
9416}
9417
0122b7e3
RD
9418#define wxPyDividedShape__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
9419static PyObject *_wrap_wxPyDividedShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
e91a9dfc
RD
9420 PyObject * _resultobj;
9421 wxPyDividedShape * _arg0;
9422 PyObject * _arg1;
f6bcfd97 9423 PyObject * _arg2;
e91a9dfc
RD
9424 PyObject * _argo0 = 0;
9425 PyObject * _obj1 = 0;
f6bcfd97
BP
9426 PyObject * _obj2 = 0;
9427 char *_kwnames[] = { "self","self","_class", NULL };
e91a9dfc
RD
9428
9429 self = self;
0122b7e3 9430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyDividedShape__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
e91a9dfc
RD
9431 return NULL;
9432 if (_argo0) {
9433 if (_argo0 == Py_None) { _arg0 = NULL; }
9434 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
0122b7e3 9435 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape__setCallbackInfo. Expected _wxPyDividedShape_p.");
e91a9dfc
RD
9436 return NULL;
9437 }
9438 }
9439{
9440 _arg1 = _obj1;
9441}
f6bcfd97
BP
9442{
9443 _arg2 = _obj2;
9444}
e91a9dfc 9445{
4268f798 9446 PyThreadState* __tstate = wxPyBeginAllowThreads();
0122b7e3 9447 wxPyDividedShape__setCallbackInfo(_arg0,_arg1,_arg2);
e91a9dfc 9448
4268f798
RD
9449 wxPyEndAllowThreads(__tstate);
9450 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
9451} Py_INCREF(Py_None);
9452 _resultobj = Py_None;
9453 return _resultobj;
9454}
9455
9456#define wxPyDividedShape_EditRegions(_swigobj) (_swigobj->EditRegions())
9457static PyObject *_wrap_wxPyDividedShape_EditRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
9458 PyObject * _resultobj;
9459 wxPyDividedShape * _arg0;
9460 PyObject * _argo0 = 0;
9461 char *_kwnames[] = { "self", NULL };
9462
9463 self = self;
9464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDividedShape_EditRegions",_kwnames,&_argo0))
9465 return NULL;
9466 if (_argo0) {
9467 if (_argo0 == Py_None) { _arg0 = NULL; }
9468 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9469 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_EditRegions. Expected _wxPyDividedShape_p.");
9470 return NULL;
9471 }
9472 }
9473{
4268f798 9474 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
9475 wxPyDividedShape_EditRegions(_arg0);
9476
4268f798
RD
9477 wxPyEndAllowThreads(__tstate);
9478 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
9479} Py_INCREF(Py_None);
9480 _resultobj = Py_None;
9481 return _resultobj;
9482}
9483
9484#define wxPyDividedShape_SetRegionSizes(_swigobj) (_swigobj->SetRegionSizes())
9485static PyObject *_wrap_wxPyDividedShape_SetRegionSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
9486 PyObject * _resultobj;
9487 wxPyDividedShape * _arg0;
9488 PyObject * _argo0 = 0;
9489 char *_kwnames[] = { "self", NULL };
9490
9491 self = self;
9492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDividedShape_SetRegionSizes",_kwnames,&_argo0))
9493 return NULL;
9494 if (_argo0) {
9495 if (_argo0 == Py_None) { _arg0 = NULL; }
9496 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9497 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_SetRegionSizes. Expected _wxPyDividedShape_p.");
9498 return NULL;
9499 }
9500 }
9501{
4268f798 9502 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
9503 wxPyDividedShape_SetRegionSizes(_arg0);
9504
4268f798
RD
9505 wxPyEndAllowThreads(__tstate);
9506 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
9507} Py_INCREF(Py_None);
9508 _resultobj = Py_None;
9509 return _resultobj;
9510}
9511
9512#define wxPyDividedShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
9513static PyObject *_wrap_wxPyDividedShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
9514 PyObject * _resultobj;
9515 wxPyDividedShape * _arg0;
9516 PyObject * _argo0 = 0;
9517 char *_kwnames[] = { "self", NULL };
9518
9519 self = self;
9520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDividedShape_base_OnDelete",_kwnames,&_argo0))
9521 return NULL;
9522 if (_argo0) {
9523 if (_argo0 == Py_None) { _arg0 = NULL; }
9524 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9525 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDelete. Expected _wxPyDividedShape_p.");
9526 return NULL;
9527 }
9528 }
9529{
4268f798 9530 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
9531 wxPyDividedShape_base_OnDelete(_arg0);
9532
4268f798
RD
9533 wxPyEndAllowThreads(__tstate);
9534 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
9535} Py_INCREF(Py_None);
9536 _resultobj = Py_None;
9537 return _resultobj;
9538}
9539
9540#define wxPyDividedShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
9541static PyObject *_wrap_wxPyDividedShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
9542 PyObject * _resultobj;
9543 wxPyDividedShape * _arg0;
9544 wxDC * _arg1;
9545 PyObject * _argo0 = 0;
9546 PyObject * _argo1 = 0;
9547 char *_kwnames[] = { "self","dc", NULL };
9548
9549 self = self;
9550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnDraw",_kwnames,&_argo0,&_argo1))
9551 return NULL;
9552 if (_argo0) {
9553 if (_argo0 == Py_None) { _arg0 = NULL; }
9554 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9555 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDraw. Expected _wxPyDividedShape_p.");
9556 return NULL;
9557 }
9558 }
9559 if (_argo1) {
9560 if (_argo1 == Py_None) { _arg1 = NULL; }
9561 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
9562 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnDraw. Expected _wxDC_p.");
9563 return NULL;
9564 }
9565 }
9566{
4268f798 9567 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
9568 wxPyDividedShape_base_OnDraw(_arg0,*_arg1);
9569
4268f798
RD
9570 wxPyEndAllowThreads(__tstate);
9571 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
9572} Py_INCREF(Py_None);
9573 _resultobj = Py_None;
9574 return _resultobj;
9575}
9576
9577#define wxPyDividedShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
9578static PyObject *_wrap_wxPyDividedShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
9579 PyObject * _resultobj;
9580 wxPyDividedShape * _arg0;
9581 wxDC * _arg1;
9582 PyObject * _argo0 = 0;
9583 PyObject * _argo1 = 0;
9584 char *_kwnames[] = { "self","dc", NULL };
9585
9586 self = self;
9587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1))
9588 return NULL;
9589 if (_argo0) {
9590 if (_argo0 == Py_None) { _arg0 = NULL; }
9591 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9592 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDrawContents. Expected _wxPyDividedShape_p.");
9593 return NULL;
9594 }
9595 }
9596 if (_argo1) {
9597 if (_argo1 == Py_None) { _arg1 = NULL; }
9598 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
9599 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnDrawContents. Expected _wxDC_p.");
9600 return NULL;
9601 }
9602 }
9603{
4268f798 9604 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
9605 wxPyDividedShape_base_OnDrawContents(_arg0,*_arg1);
9606
4268f798
RD
9607 wxPyEndAllowThreads(__tstate);
9608 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
9609} Py_INCREF(Py_None);
9610 _resultobj = Py_None;
9611 return _resultobj;
9612}
9613
9614#define wxPyDividedShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
9615static PyObject *_wrap_wxPyDividedShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
9616 PyObject * _resultobj;
9617 wxPyDividedShape * _arg0;
9618 wxDC * _arg1;
9619 bool _arg2 = (bool ) FALSE;
9620 PyObject * _argo0 = 0;
9621 PyObject * _argo1 = 0;
9622 int tempbool2 = (int) FALSE;
9623 char *_kwnames[] = { "self","dc","erase", NULL };
9624
9625 self = self;
9626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDividedShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2))
9627 return NULL;
9628 if (_argo0) {
9629 if (_argo0 == Py_None) { _arg0 = NULL; }
9630 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9631 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDrawBranches. Expected _wxPyDividedShape_p.");
9632 return NULL;
9633 }
9634 }
9635 if (_argo1) {
9636 if (_argo1 == Py_None) { _arg1 = NULL; }
9637 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
9638 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnDrawBranches. Expected _wxDC_p.");
9639 return NULL;
9640 }
9641 }
9642 _arg2 = (bool ) tempbool2;
9643{
4268f798 9644 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
9645 wxPyDividedShape_base_OnDrawBranches(_arg0,*_arg1,_arg2);
9646
4268f798
RD
9647 wxPyEndAllowThreads(__tstate);
9648 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
9649} Py_INCREF(Py_None);
9650 _resultobj = Py_None;
9651 return _resultobj;
9652}
9653
9654#define wxPyDividedShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
9655static PyObject *_wrap_wxPyDividedShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
9656 PyObject * _resultobj;
9657 wxPyDividedShape * _arg0;
9658 wxDC * _arg1;
9659 PyObject * _argo0 = 0;
9660 PyObject * _argo1 = 0;
9661 char *_kwnames[] = { "self","dc", NULL };
9662
9663 self = self;
9664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1))
9665 return NULL;
9666 if (_argo0) {
9667 if (_argo0 == Py_None) { _arg0 = NULL; }
9668 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9669 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnMoveLinks. Expected _wxPyDividedShape_p.");
9670 return NULL;
9671 }
9672 }
9673 if (_argo1) {
9674 if (_argo1 == Py_None) { _arg1 = NULL; }
9675 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
9676 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnMoveLinks. Expected _wxDC_p.");
9677 return NULL;
9678 }
9679 }
9680{
4268f798 9681 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
9682 wxPyDividedShape_base_OnMoveLinks(_arg0,*_arg1);
9683
4268f798
RD
9684 wxPyEndAllowThreads(__tstate);
9685 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
9686} Py_INCREF(Py_None);
9687 _resultobj = Py_None;
9688 return _resultobj;
9689}
9690
9691#define wxPyDividedShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
9692static PyObject *_wrap_wxPyDividedShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
9693 PyObject * _resultobj;
9694 wxPyDividedShape * _arg0;
9695 wxDC * _arg1;
9696 PyObject * _argo0 = 0;
9697 PyObject * _argo1 = 0;
9698 char *_kwnames[] = { "self","dc", NULL };
9699
9700 self = self;
9701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnErase",_kwnames,&_argo0,&_argo1))
9702 return NULL;
9703 if (_argo0) {
9704 if (_argo0 == Py_None) { _arg0 = NULL; }
9705 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9706 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnErase. Expected _wxPyDividedShape_p.");
9707 return NULL;
9708 }
9709 }
9710 if (_argo1) {
9711 if (_argo1 == Py_None) { _arg1 = NULL; }
9712 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
9713 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnErase. Expected _wxDC_p.");
9714 return NULL;
9715 }
9716 }
9717{
4268f798 9718 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
9719 wxPyDividedShape_base_OnErase(_arg0,*_arg1);
9720
4268f798
RD
9721 wxPyEndAllowThreads(__tstate);
9722 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
9723} Py_INCREF(Py_None);
9724 _resultobj = Py_None;
9725 return _resultobj;
9726}
9727
9728#define wxPyDividedShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
9729static PyObject *_wrap_wxPyDividedShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
9730 PyObject * _resultobj;
9731 wxPyDividedShape * _arg0;
9732 wxDC * _arg1;
9733 PyObject * _argo0 = 0;
9734 PyObject * _argo1 = 0;
9735 char *_kwnames[] = { "self","dc", NULL };
9736
9737 self = self;
9738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1))
9739 return NULL;
9740 if (_argo0) {
9741 if (_argo0 == Py_None) { _arg0 = NULL; }
9742 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9743 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnEraseContents. Expected _wxPyDividedShape_p.");
9744 return NULL;
9745 }
9746 }
9747 if (_argo1) {
9748 if (_argo1 == Py_None) { _arg1 = NULL; }
9749 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
9750 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnEraseContents. Expected _wxDC_p.");
9751 return NULL;
9752 }
9753 }
9754{
4268f798 9755 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
9756 wxPyDividedShape_base_OnEraseContents(_arg0,*_arg1);
9757
4268f798
RD
9758 wxPyEndAllowThreads(__tstate);
9759 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
9760} Py_INCREF(Py_None);
9761 _resultobj = Py_None;
9762 return _resultobj;
9763}
9764
9765#define wxPyDividedShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
9766static PyObject *_wrap_wxPyDividedShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
9767 PyObject * _resultobj;
9768 wxPyDividedShape * _arg0;
9769 wxDC * _arg1;
9770 PyObject * _argo0 = 0;
9771 PyObject * _argo1 = 0;
9772 char *_kwnames[] = { "self","dc", NULL };
9773
9774 self = self;
9775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnHighlight",_kwnames,&_argo0,&_argo1))
9776 return NULL;
9777 if (_argo0) {
9778 if (_argo0 == Py_None) { _arg0 = NULL; }
9779 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9780 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnHighlight. Expected _wxPyDividedShape_p.");
9781 return NULL;
9782 }
9783 }
9784 if (_argo1) {
9785 if (_argo1 == Py_None) { _arg1 = NULL; }
9786 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
9787 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnHighlight. Expected _wxDC_p.");
9788 return NULL;
9789 }
9790 }
9791{
4268f798 9792 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
9793 wxPyDividedShape_base_OnHighlight(_arg0,*_arg1);
9794
4268f798
RD
9795 wxPyEndAllowThreads(__tstate);
9796 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
9797} Py_INCREF(Py_None);
9798 _resultobj = Py_None;
9799 return _resultobj;
9800}
9801
9802#define wxPyDividedShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9803static PyObject *_wrap_wxPyDividedShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
9804 PyObject * _resultobj;
9805 wxPyDividedShape * _arg0;
9806 double _arg1;
9807 double _arg2;
9808 int _arg3 = (int ) 0;
9809 int _arg4 = (int ) 0;
9810 PyObject * _argo0 = 0;
9811 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
9812
9813 self = self;
9814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
9815 return NULL;
9816 if (_argo0) {
9817 if (_argo0 == Py_None) { _arg0 = NULL; }
9818 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9819 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnLeftClick. Expected _wxPyDividedShape_p.");
9820 return NULL;
9821 }
9822 }
9823{
4268f798 9824 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
9825 wxPyDividedShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4);
9826
4268f798
RD
9827 wxPyEndAllowThreads(__tstate);
9828 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
9829} Py_INCREF(Py_None);
9830 _resultobj = Py_None;
9831 return _resultobj;
9832}
9833
9834#define wxPyDividedShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9835static PyObject *_wrap_wxPyDividedShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
9836 PyObject * _resultobj;
9837 wxPyDividedShape * _arg0;
9838 double _arg1;
9839 double _arg2;
9840 int _arg3 = (int ) 0;
9841 int _arg4 = (int ) 0;
9842 PyObject * _argo0 = 0;
9843 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
9844
9845 self = self;
9846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
9847 return NULL;
9848 if (_argo0) {
9849 if (_argo0 == Py_None) { _arg0 = NULL; }
9850 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9851 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnLeftDoubleClick. Expected _wxPyDividedShape_p.");
9852 return NULL;
9853 }
9854 }
9855{
4268f798 9856 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
9857 wxPyDividedShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4);
9858
4268f798
RD
9859 wxPyEndAllowThreads(__tstate);
9860 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
9861} Py_INCREF(Py_None);
9862 _resultobj = Py_None;
9863 return _resultobj;
9864}
9865
9866#define wxPyDividedShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9867static PyObject *_wrap_wxPyDividedShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
9868 PyObject * _resultobj;
9869 wxPyDividedShape * _arg0;
9870 double _arg1;
9871 double _arg2;
9872 int _arg3 = (int ) 0;
9873 int _arg4 = (int ) 0;
9874 PyObject * _argo0 = 0;
9875 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
9876
9877 self = self;
9878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
9879 return NULL;
9880 if (_argo0) {
9881 if (_argo0 == Py_None) { _arg0 = NULL; }
9882 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9883 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnRightClick. Expected _wxPyDividedShape_p.");
9884 return NULL;
9885 }
9886 }
9887{
4268f798 9888 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
9889 wxPyDividedShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4);
9890
4268f798
RD
9891 wxPyEndAllowThreads(__tstate);
9892 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
9893} Py_INCREF(Py_None);
9894 _resultobj = Py_None;
9895 return _resultobj;
9896}
9897
9898#define wxPyDividedShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
9899static PyObject *_wrap_wxPyDividedShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9900 PyObject * _resultobj;
9901 wxPyDividedShape * _arg0;
9902 double _arg1;
9903 double _arg2;
9904 PyObject * _argo0 = 0;
9905 char *_kwnames[] = { "self","x","y", NULL };
9906
9907 self = self;
9908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDividedShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2))
9909 return NULL;
9910 if (_argo0) {
9911 if (_argo0 == Py_None) { _arg0 = NULL; }
9912 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9913 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnSize. Expected _wxPyDividedShape_p.");
9914 return NULL;
9915 }
9916 }
9917{
4268f798 9918 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
9919 wxPyDividedShape_base_OnSize(_arg0,_arg1,_arg2);
9920
4268f798
RD
9921 wxPyEndAllowThreads(__tstate);
9922 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
9923} Py_INCREF(Py_None);
9924 _resultobj = Py_None;
9925 return _resultobj;
9926}
9927
9928#define wxPyDividedShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
9929static PyObject *_wrap_wxPyDividedShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
9930 PyObject * _resultobj;
9931 bool _result;
9932 wxPyDividedShape * _arg0;
9933 wxDC * _arg1;
9934 double _arg2;
9935 double _arg3;
9936 double _arg4;
9937 double _arg5;
9938 bool _arg6 = (bool ) TRUE;
9939 PyObject * _argo0 = 0;
9940 PyObject * _argo1 = 0;
9941 int tempbool6 = (int) TRUE;
9942 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
9943
9944 self = self;
9945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDividedShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
9946 return NULL;
9947 if (_argo0) {
9948 if (_argo0 == Py_None) { _arg0 = NULL; }
9949 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9950 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnMovePre. Expected _wxPyDividedShape_p.");
9951 return NULL;
9952 }
9953 }
9954 if (_argo1) {
9955 if (_argo1 == Py_None) { _arg1 = NULL; }
9956 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
9957 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnMovePre. Expected _wxDC_p.");
9958 return NULL;
9959 }
9960 }
9961 _arg6 = (bool ) tempbool6;
9962{
4268f798 9963 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
9964 _result = (bool )wxPyDividedShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
9965
4268f798
RD
9966 wxPyEndAllowThreads(__tstate);
9967 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
9968} _resultobj = Py_BuildValue("i",_result);
9969 return _resultobj;
9970}
9971
9972#define wxPyDividedShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
9973static PyObject *_wrap_wxPyDividedShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
9974 PyObject * _resultobj;
9975 wxPyDividedShape * _arg0;
9976 wxDC * _arg1;
9977 double _arg2;
9978 double _arg3;
9979 double _arg4;
9980 double _arg5;
9981 bool _arg6 = (bool ) TRUE;
9982 PyObject * _argo0 = 0;
9983 PyObject * _argo1 = 0;
9984 int tempbool6 = (int) TRUE;
9985 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
9986
9987 self = self;
9988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDividedShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
9989 return NULL;
9990 if (_argo0) {
9991 if (_argo0 == Py_None) { _arg0 = NULL; }
9992 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9993 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnMovePost. Expected _wxPyDividedShape_p.");
9994 return NULL;
9995 }
9996 }
9997 if (_argo1) {
9998 if (_argo1 == Py_None) { _arg1 = NULL; }
9999 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
10000 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnMovePost. Expected _wxDC_p.");
10001 return NULL;
10002 }
10003 }
10004 _arg6 = (bool ) tempbool6;
10005{
4268f798 10006 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
10007 wxPyDividedShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
10008
4268f798
RD
10009 wxPyEndAllowThreads(__tstate);
10010 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
10011} Py_INCREF(Py_None);
10012 _resultobj = Py_None;
10013 return _resultobj;
10014}
10015
10016#define wxPyDividedShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10017static PyObject *_wrap_wxPyDividedShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10018 PyObject * _resultobj;
10019 wxPyDividedShape * _arg0;
10020 bool _arg1;
10021 double _arg2;
10022 double _arg3;
10023 int _arg4 = (int ) 0;
10024 int _arg5 = (int ) 0;
10025 PyObject * _argo0 = 0;
10026 int tempbool1;
10027 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
10028
10029 self = self;
10030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDividedShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
10031 return NULL;
10032 if (_argo0) {
10033 if (_argo0 == Py_None) { _arg0 = NULL; }
10034 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
10035 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDragLeft. Expected _wxPyDividedShape_p.");
10036 return NULL;
10037 }
10038 }
10039 _arg1 = (bool ) tempbool1;
10040{
4268f798 10041 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
10042 wxPyDividedShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
10043
4268f798
RD
10044 wxPyEndAllowThreads(__tstate);
10045 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
10046} Py_INCREF(Py_None);
10047 _resultobj = Py_None;
10048 return _resultobj;
10049}
10050
10051#define wxPyDividedShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10052static PyObject *_wrap_wxPyDividedShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10053 PyObject * _resultobj;
10054 wxPyDividedShape * _arg0;
10055 double _arg1;
10056 double _arg2;
10057 int _arg3 = (int ) 0;
10058 int _arg4 = (int ) 0;
10059 PyObject * _argo0 = 0;
10060 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
10061
10062 self = self;
10063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
10064 return NULL;
10065 if (_argo0) {
10066 if (_argo0 == Py_None) { _arg0 = NULL; }
10067 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
10068 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnBeginDragLeft. Expected _wxPyDividedShape_p.");
10069 return NULL;
10070 }
10071 }
10072{
4268f798 10073 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
10074 wxPyDividedShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
10075
4268f798
RD
10076 wxPyEndAllowThreads(__tstate);
10077 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
10078} Py_INCREF(Py_None);
10079 _resultobj = Py_None;
10080 return _resultobj;
10081}
10082
10083#define wxPyDividedShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10084static PyObject *_wrap_wxPyDividedShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10085 PyObject * _resultobj;
10086 wxPyDividedShape * _arg0;
10087 double _arg1;
10088 double _arg2;
10089 int _arg3 = (int ) 0;
10090 int _arg4 = (int ) 0;
10091 PyObject * _argo0 = 0;
10092 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
10093
10094 self = self;
10095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
10096 return NULL;
10097 if (_argo0) {
10098 if (_argo0 == Py_None) { _arg0 = NULL; }
10099 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
10100 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnEndDragLeft. Expected _wxPyDividedShape_p.");
10101 return NULL;
10102 }
10103 }
10104{
4268f798 10105 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
10106 wxPyDividedShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
10107
4268f798
RD
10108 wxPyEndAllowThreads(__tstate);
10109 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
10110} Py_INCREF(Py_None);
10111 _resultobj = Py_None;
10112 return _resultobj;
10113}
10114
10115#define wxPyDividedShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10116static PyObject *_wrap_wxPyDividedShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
10117 PyObject * _resultobj;
10118 wxPyDividedShape * _arg0;
10119 bool _arg1;
10120 double _arg2;
10121 double _arg3;
10122 int _arg4 = (int ) 0;
10123 int _arg5 = (int ) 0;
10124 PyObject * _argo0 = 0;
10125 int tempbool1;
10126 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
10127
10128 self = self;
10129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDividedShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
10130 return NULL;
10131 if (_argo0) {
10132 if (_argo0 == Py_None) { _arg0 = NULL; }
10133 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
10134 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDragRight. Expected _wxPyDividedShape_p.");
10135 return NULL;
10136 }
10137 }
10138 _arg1 = (bool ) tempbool1;
10139{
4268f798 10140 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
10141 wxPyDividedShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
10142
4268f798
RD
10143 wxPyEndAllowThreads(__tstate);
10144 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
10145} Py_INCREF(Py_None);
10146 _resultobj = Py_None;
10147 return _resultobj;
10148}
10149
10150#define wxPyDividedShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10151static PyObject *_wrap_wxPyDividedShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
10152 PyObject * _resultobj;
10153 wxPyDividedShape * _arg0;
10154 double _arg1;
10155 double _arg2;
10156 int _arg3 = (int ) 0;
10157 int _arg4 = (int ) 0;
10158 PyObject * _argo0 = 0;
10159 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
10160
10161 self = self;
10162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
10163 return NULL;
10164 if (_argo0) {
10165 if (_argo0 == Py_None) { _arg0 = NULL; }
10166 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
10167 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnBeginDragRight. Expected _wxPyDividedShape_p.");
10168 return NULL;
10169 }
10170 }
10171{
4268f798 10172 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
10173 wxPyDividedShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
10174
4268f798
RD
10175 wxPyEndAllowThreads(__tstate);
10176 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
10177} Py_INCREF(Py_None);
10178 _resultobj = Py_None;
10179 return _resultobj;
10180}
10181
10182#define wxPyDividedShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10183static PyObject *_wrap_wxPyDividedShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
10184 PyObject * _resultobj;
10185 wxPyDividedShape * _arg0;
10186 double _arg1;
10187 double _arg2;
10188 int _arg3 = (int ) 0;
10189 int _arg4 = (int ) 0;
10190 PyObject * _argo0 = 0;
10191 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
10192
10193 self = self;
10194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
10195 return NULL;
10196 if (_argo0) {
10197 if (_argo0 == Py_None) { _arg0 = NULL; }
10198 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
10199 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnEndDragRight. Expected _wxPyDividedShape_p.");
10200 return NULL;
10201 }
10202 }
10203{
4268f798 10204 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
10205 wxPyDividedShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
10206
4268f798
RD
10207 wxPyEndAllowThreads(__tstate);
10208 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
10209} Py_INCREF(Py_None);
10210 _resultobj = Py_None;
10211 return _resultobj;
10212}
10213
10214#define wxPyDividedShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10215static PyObject *_wrap_wxPyDividedShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
10216 PyObject * _resultobj;
10217 wxPyDividedShape * _arg0;
10218 wxDC * _arg1;
10219 double _arg2;
10220 double _arg3;
10221 double _arg4;
10222 double _arg5;
10223 PyObject * _argo0 = 0;
10224 PyObject * _argo1 = 0;
10225 char *_kwnames[] = { "self","dc","x","y","w","h", NULL };
10226
10227 self = self;
10228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyDividedShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
10229 return NULL;
10230 if (_argo0) {
10231 if (_argo0 == Py_None) { _arg0 = NULL; }
10232 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
10233 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDrawOutline. Expected _wxPyDividedShape_p.");
10234 return NULL;
10235 }
10236 }
10237 if (_argo1) {
10238 if (_argo1 == Py_None) { _arg1 = NULL; }
10239 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
10240 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnDrawOutline. Expected _wxDC_p.");
10241 return NULL;
10242 }
10243 }
10244{
4268f798 10245 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
10246 wxPyDividedShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5);
10247
4268f798
RD
10248 wxPyEndAllowThreads(__tstate);
10249 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
10250} Py_INCREF(Py_None);
10251 _resultobj = Py_None;
10252 return _resultobj;
10253}
10254
10255#define wxPyDividedShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
10256static PyObject *_wrap_wxPyDividedShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
10257 PyObject * _resultobj;
10258 wxPyDividedShape * _arg0;
10259 wxDC * _arg1;
10260 PyObject * _argo0 = 0;
10261 PyObject * _argo1 = 0;
10262 char *_kwnames[] = { "self","dc", NULL };
10263
10264 self = self;
10265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1))
10266 return NULL;
10267 if (_argo0) {
10268 if (_argo0 == Py_None) { _arg0 = NULL; }
10269 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
10270 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDrawControlPoints. Expected _wxPyDividedShape_p.");
10271 return NULL;
10272 }
10273 }
10274 if (_argo1) {
10275 if (_argo1 == Py_None) { _arg1 = NULL; }
10276 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
10277 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnDrawControlPoints. Expected _wxDC_p.");
10278 return NULL;
10279 }
10280 }
10281{
4268f798 10282 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
10283 wxPyDividedShape_base_OnDrawControlPoints(_arg0,*_arg1);
10284
4268f798
RD
10285 wxPyEndAllowThreads(__tstate);
10286 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
10287} Py_INCREF(Py_None);
10288 _resultobj = Py_None;
10289 return _resultobj;
10290}
10291
10292#define wxPyDividedShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
10293static PyObject *_wrap_wxPyDividedShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
10294 PyObject * _resultobj;
10295 wxPyDividedShape * _arg0;
10296 wxDC * _arg1;
10297 PyObject * _argo0 = 0;
10298 PyObject * _argo1 = 0;
10299 char *_kwnames[] = { "self","dc", NULL };
10300
10301 self = self;
10302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1))
10303 return NULL;
10304 if (_argo0) {
10305 if (_argo0 == Py_None) { _arg0 = NULL; }
10306 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
10307 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnEraseControlPoints. Expected _wxPyDividedShape_p.");
10308 return NULL;
10309 }
10310 }
10311 if (_argo1) {
10312 if (_argo1 == Py_None) { _arg1 = NULL; }
10313 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
10314 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnEraseControlPoints. Expected _wxDC_p.");
10315 return NULL;
10316 }
10317 }
10318{
4268f798 10319 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
10320 wxPyDividedShape_base_OnEraseControlPoints(_arg0,*_arg1);
10321
4268f798
RD
10322 wxPyEndAllowThreads(__tstate);
10323 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
10324} Py_INCREF(Py_None);
10325 _resultobj = Py_None;
10326 return _resultobj;
10327}
10328
10329#define wxPyDividedShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
10330static PyObject *_wrap_wxPyDividedShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
10331 PyObject * _resultobj;
10332 wxPyDividedShape * _arg0;
10333 wxDC * _arg1;
10334 bool _arg2 = (bool ) TRUE;
10335 PyObject * _argo0 = 0;
10336 PyObject * _argo1 = 0;
10337 int tempbool2 = (int) TRUE;
10338 char *_kwnames[] = { "self","dc","moveControlPoints", NULL };
10339
10340 self = self;
10341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDividedShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2))
10342 return NULL;
10343 if (_argo0) {
10344 if (_argo0 == Py_None) { _arg0 = NULL; }
10345 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
10346 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnMoveLink. Expected _wxPyDividedShape_p.");
10347 return NULL;
10348 }
10349 }
10350 if (_argo1) {
10351 if (_argo1 == Py_None) { _arg1 = NULL; }
10352 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
10353 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnMoveLink. Expected _wxDC_p.");
10354 return NULL;
10355 }
10356 }
10357 _arg2 = (bool ) tempbool2;
10358{
4268f798 10359 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
10360 wxPyDividedShape_base_OnMoveLink(_arg0,*_arg1,_arg2);
10361
4268f798
RD
10362 wxPyEndAllowThreads(__tstate);
10363 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
10364} Py_INCREF(Py_None);
10365 _resultobj = Py_None;
10366 return _resultobj;
10367}
10368
10369#define wxPyDividedShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
10370static PyObject *_wrap_wxPyDividedShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10371 PyObject * _resultobj;
10372 wxPyDividedShape * _arg0;
2348eaee 10373 wxPyControlPoint * _arg1;
e91a9dfc
RD
10374 bool _arg2;
10375 double _arg3;
10376 double _arg4;
10377 int _arg5 = (int ) 0;
10378 int _arg6 = (int ) 0;
10379 PyObject * _argo0 = 0;
10380 PyObject * _argo1 = 0;
10381 int tempbool2;
10382 char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL };
10383
10384 self = self;
10385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyDividedShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6))
10386 return NULL;
10387 if (_argo0) {
10388 if (_argo0 == Py_None) { _arg0 = NULL; }
10389 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
10390 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnSizingDragLeft. Expected _wxPyDividedShape_p.");
10391 return NULL;
10392 }
10393 }
10394 if (_argo1) {
10395 if (_argo1 == Py_None) { _arg1 = NULL; }
2348eaee
RD
10396 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
10397 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
e91a9dfc
RD
10398 return NULL;
10399 }
10400 }
10401 _arg2 = (bool ) tempbool2;
10402{
4268f798 10403 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
10404 wxPyDividedShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
10405
4268f798
RD
10406 wxPyEndAllowThreads(__tstate);
10407 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
10408} Py_INCREF(Py_None);
10409 _resultobj = Py_None;
10410 return _resultobj;
10411}
10412
10413#define wxPyDividedShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10414static PyObject *_wrap_wxPyDividedShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10415 PyObject * _resultobj;
10416 wxPyDividedShape * _arg0;
2348eaee 10417 wxPyControlPoint * _arg1;
e91a9dfc
RD
10418 double _arg2;
10419 double _arg3;
10420 int _arg4 = (int ) 0;
10421 int _arg5 = (int ) 0;
10422 PyObject * _argo0 = 0;
10423 PyObject * _argo1 = 0;
10424 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
10425
10426 self = self;
10427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDividedShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
10428 return NULL;
10429 if (_argo0) {
10430 if (_argo0 == Py_None) { _arg0 = NULL; }
10431 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
10432 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnSizingBeginDragLeft. Expected _wxPyDividedShape_p.");
10433 return NULL;
10434 }
10435 }
10436 if (_argo1) {
10437 if (_argo1 == Py_None) { _arg1 = NULL; }
2348eaee
RD
10438 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
10439 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
e91a9dfc
RD
10440 return NULL;
10441 }
10442 }
10443{
4268f798 10444 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
10445 wxPyDividedShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
10446
4268f798
RD
10447 wxPyEndAllowThreads(__tstate);
10448 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
10449} Py_INCREF(Py_None);
10450 _resultobj = Py_None;
10451 return _resultobj;
10452}
10453
10454#define wxPyDividedShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10455static PyObject *_wrap_wxPyDividedShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10456 PyObject * _resultobj;
10457 wxPyDividedShape * _arg0;
2348eaee 10458 wxPyControlPoint * _arg1;
e91a9dfc
RD
10459 double _arg2;
10460 double _arg3;
10461 int _arg4 = (int ) 0;
10462 int _arg5 = (int ) 0;
10463 PyObject * _argo0 = 0;
10464 PyObject * _argo1 = 0;
10465 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
10466
10467 self = self;
10468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDividedShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
10469 return NULL;
10470 if (_argo0) {
10471 if (_argo0 == Py_None) { _arg0 = NULL; }
10472 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
10473 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnSizingEndDragLeft. Expected _wxPyDividedShape_p.");
10474 return NULL;
10475 }
10476 }
10477 if (_argo1) {
10478 if (_argo1 == Py_None) { _arg1 = NULL; }
2348eaee
RD
10479 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
10480 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
e91a9dfc
RD
10481 return NULL;
10482 }
10483 }
10484{
4268f798 10485 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
10486 wxPyDividedShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
10487
4268f798
RD
10488 wxPyEndAllowThreads(__tstate);
10489 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
10490} Py_INCREF(Py_None);
10491 _resultobj = Py_None;
10492 return _resultobj;
10493}
10494
10495#define wxPyDividedShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
10496static PyObject *_wrap_wxPyDividedShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10497 PyObject * _resultobj;
10498 wxPyDividedShape * _arg0;
10499 double _arg1;
10500 double _arg2;
10501 PyObject * _argo0 = 0;
10502 char *_kwnames[] = { "self","w","h", NULL };
10503
10504 self = self;
10505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDividedShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2))
10506 return NULL;
10507 if (_argo0) {
10508 if (_argo0 == Py_None) { _arg0 = NULL; }
10509 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
10510 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnBeginSize. Expected _wxPyDividedShape_p.");
10511 return NULL;
10512 }
10513 }
10514{
4268f798 10515 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
10516 wxPyDividedShape_base_OnBeginSize(_arg0,_arg1,_arg2);
10517
4268f798
RD
10518 wxPyEndAllowThreads(__tstate);
10519 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
10520} Py_INCREF(Py_None);
10521 _resultobj = Py_None;
10522 return _resultobj;
10523}
10524
10525#define wxPyDividedShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
10526static PyObject *_wrap_wxPyDividedShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10527 PyObject * _resultobj;
10528 wxPyDividedShape * _arg0;
10529 double _arg1;
10530 double _arg2;
10531 PyObject * _argo0 = 0;
10532 char *_kwnames[] = { "self","w","h", NULL };
10533
10534 self = self;
10535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDividedShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2))
10536 return NULL;
10537 if (_argo0) {
10538 if (_argo0 == Py_None) { _arg0 = NULL; }
10539 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
10540 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnEndSize. Expected _wxPyDividedShape_p.");
10541 return NULL;
10542 }
10543 }
10544{
4268f798 10545 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
10546 wxPyDividedShape_base_OnEndSize(_arg0,_arg1,_arg2);
10547
4268f798
RD
10548 wxPyEndAllowThreads(__tstate);
10549 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
10550} Py_INCREF(Py_None);
10551 _resultobj = Py_None;
10552 return _resultobj;
10553}
10554
10555static void *SwigwxPyDivisionShapeTowxPyCompositeShape(void *ptr) {
10556 wxPyDivisionShape *src;
10557 wxPyCompositeShape *dest;
10558 src = (wxPyDivisionShape *) ptr;
10559 dest = (wxPyCompositeShape *) src;
10560 return (void *) dest;
10561}
10562
10563static void *SwigwxPyDivisionShapeTowxPyRectangleShape(void *ptr) {
10564 wxPyDivisionShape *src;
10565 wxPyRectangleShape *dest;
10566 src = (wxPyDivisionShape *) ptr;
10567 dest = (wxPyRectangleShape *) src;
10568 return (void *) dest;
10569}
10570
10571static void *SwigwxPyDivisionShapeTowxPyShape(void *ptr) {
10572 wxPyDivisionShape *src;
10573 wxPyShape *dest;
10574 src = (wxPyDivisionShape *) ptr;
10575 dest = (wxPyShape *) src;
10576 return (void *) dest;
10577}
10578
10579static void *SwigwxPyDivisionShapeTowxPyShapeEvtHandler(void *ptr) {
10580 wxPyDivisionShape *src;
10581 wxPyShapeEvtHandler *dest;
10582 src = (wxPyDivisionShape *) ptr;
10583 dest = (wxPyShapeEvtHandler *) src;
10584 return (void *) dest;
10585}
10586
9416aa89
RD
10587static void *SwigwxPyDivisionShapeTowxObject(void *ptr) {
10588 wxPyDivisionShape *src;
10589 wxObject *dest;
10590 src = (wxPyDivisionShape *) ptr;
10591 dest = (wxObject *) src;
10592 return (void *) dest;
10593}
10594
e91a9dfc
RD
10595#define new_wxPyDivisionShape() (new wxPyDivisionShape())
10596static PyObject *_wrap_new_wxPyDivisionShape(PyObject *self, PyObject *args, PyObject *kwargs) {
10597 PyObject * _resultobj;
10598 wxPyDivisionShape * _result;
10599 char *_kwnames[] = { NULL };
10600 char _ptemp[128];
10601
10602 self = self;
10603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyDivisionShape",_kwnames))
10604 return NULL;
10605{
4268f798 10606 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
10607 _result = (wxPyDivisionShape *)new_wxPyDivisionShape();
10608
4268f798
RD
10609 wxPyEndAllowThreads(__tstate);
10610 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
10611} if (_result) {
10612 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyDivisionShape_p");
10613 _resultobj = Py_BuildValue("s",_ptemp);
10614 } else {
10615 Py_INCREF(Py_None);
10616 _resultobj = Py_None;
10617 }
10618 return _resultobj;
10619}
10620
0122b7e3
RD
10621#define wxPyDivisionShape__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
10622static PyObject *_wrap_wxPyDivisionShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
e91a9dfc
RD
10623 PyObject * _resultobj;
10624 wxPyDivisionShape * _arg0;
10625 PyObject * _arg1;
f6bcfd97 10626 PyObject * _arg2;
e91a9dfc
RD
10627 PyObject * _argo0 = 0;
10628 PyObject * _obj1 = 0;
f6bcfd97
BP
10629 PyObject * _obj2 = 0;
10630 char *_kwnames[] = { "self","self","_class", NULL };
e91a9dfc
RD
10631
10632 self = self;
0122b7e3 10633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyDivisionShape__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
e91a9dfc
RD
10634 return NULL;
10635 if (_argo0) {
10636 if (_argo0 == Py_None) { _arg0 = NULL; }
10637 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
0122b7e3 10638 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape__setCallbackInfo. Expected _wxPyDivisionShape_p.");
e91a9dfc
RD
10639 return NULL;
10640 }
10641 }
10642{
10643 _arg1 = _obj1;
10644}
f6bcfd97
BP
10645{
10646 _arg2 = _obj2;
10647}
e91a9dfc 10648{
4268f798 10649 PyThreadState* __tstate = wxPyBeginAllowThreads();
0122b7e3 10650 wxPyDivisionShape__setCallbackInfo(_arg0,_arg1,_arg2);
e91a9dfc 10651
4268f798
RD
10652 wxPyEndAllowThreads(__tstate);
10653 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
10654} Py_INCREF(Py_None);
10655 _resultobj = Py_None;
10656 return _resultobj;
10657}
10658
10659#define wxPyDivisionShape_AdjustBottom(_swigobj,_swigarg0,_swigarg1) (_swigobj->AdjustBottom(_swigarg0,_swigarg1))
10660static PyObject *_wrap_wxPyDivisionShape_AdjustBottom(PyObject *self, PyObject *args, PyObject *kwargs) {
10661 PyObject * _resultobj;
10662 wxPyDivisionShape * _arg0;
10663 double _arg1;
10664 bool _arg2;
10665 PyObject * _argo0 = 0;
10666 int tempbool2;
10667 char *_kwnames[] = { "self","bottom","test", NULL };
10668
10669 self = self;
10670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odi:wxPyDivisionShape_AdjustBottom",_kwnames,&_argo0,&_arg1,&tempbool2))
10671 return NULL;
10672 if (_argo0) {
10673 if (_argo0 == Py_None) { _arg0 = NULL; }
10674 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10675 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_AdjustBottom. Expected _wxPyDivisionShape_p.");
10676 return NULL;
10677 }
10678 }
10679 _arg2 = (bool ) tempbool2;
10680{
4268f798 10681 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
10682 wxPyDivisionShape_AdjustBottom(_arg0,_arg1,_arg2);
10683
4268f798
RD
10684 wxPyEndAllowThreads(__tstate);
10685 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
10686} Py_INCREF(Py_None);
10687 _resultobj = Py_None;
10688 return _resultobj;
10689}
10690
10691#define wxPyDivisionShape_AdjustLeft(_swigobj,_swigarg0,_swigarg1) (_swigobj->AdjustLeft(_swigarg0,_swigarg1))
10692static PyObject *_wrap_wxPyDivisionShape_AdjustLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10693 PyObject * _resultobj;
10694 wxPyDivisionShape * _arg0;
10695 double _arg1;
10696 bool _arg2;
10697 PyObject * _argo0 = 0;
10698 int tempbool2;
10699 char *_kwnames[] = { "self","left","test", NULL };
10700
10701 self = self;
10702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odi:wxPyDivisionShape_AdjustLeft",_kwnames,&_argo0,&_arg1,&tempbool2))
10703 return NULL;
10704 if (_argo0) {
10705 if (_argo0 == Py_None) { _arg0 = NULL; }
10706 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10707 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_AdjustLeft. Expected _wxPyDivisionShape_p.");
10708 return NULL;
10709 }
10710 }
10711 _arg2 = (bool ) tempbool2;
10712{
4268f798 10713 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
10714 wxPyDivisionShape_AdjustLeft(_arg0,_arg1,_arg2);
10715
4268f798
RD
10716 wxPyEndAllowThreads(__tstate);
10717 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
10718} Py_INCREF(Py_None);
10719 _resultobj = Py_None;
10720 return _resultobj;
10721}
10722
10723#define wxPyDivisionShape_AdjustRight(_swigobj,_swigarg0,_swigarg1) (_swigobj->AdjustRight(_swigarg0,_swigarg1))
10724static PyObject *_wrap_wxPyDivisionShape_AdjustRight(PyObject *self, PyObject *args, PyObject *kwargs) {
10725 PyObject * _resultobj;
10726 wxPyDivisionShape * _arg0;
10727 double _arg1;
10728 bool _arg2;
10729 PyObject * _argo0 = 0;
10730 int tempbool2;
10731 char *_kwnames[] = { "self","right","test", NULL };
10732
10733 self = self;
10734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odi:wxPyDivisionShape_AdjustRight",_kwnames,&_argo0,&_arg1,&tempbool2))
10735 return NULL;
10736 if (_argo0) {
10737 if (_argo0 == Py_None) { _arg0 = NULL; }
10738 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10739 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_AdjustRight. Expected _wxPyDivisionShape_p.");
10740 return NULL;
10741 }
10742 }
10743 _arg2 = (bool ) tempbool2;
10744{
4268f798 10745 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
10746 wxPyDivisionShape_AdjustRight(_arg0,_arg1,_arg2);
10747
4268f798
RD
10748 wxPyEndAllowThreads(__tstate);
10749 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
10750} Py_INCREF(Py_None);
10751 _resultobj = Py_None;
10752 return _resultobj;
10753}
10754
10755#define wxPyDivisionShape_AdjustTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->AdjustTop(_swigarg0,_swigarg1))
10756static PyObject *_wrap_wxPyDivisionShape_AdjustTop(PyObject *self, PyObject *args, PyObject *kwargs) {
10757 PyObject * _resultobj;
10758 wxPyDivisionShape * _arg0;
10759 double _arg1;
10760 bool _arg2;
10761 PyObject * _argo0 = 0;
10762 int tempbool2;
10763 char *_kwnames[] = { "self","top","test", NULL };
10764
10765 self = self;
10766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odi:wxPyDivisionShape_AdjustTop",_kwnames,&_argo0,&_arg1,&tempbool2))
10767 return NULL;
10768 if (_argo0) {
10769 if (_argo0 == Py_None) { _arg0 = NULL; }
10770 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10771 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_AdjustTop. Expected _wxPyDivisionShape_p.");
10772 return NULL;
10773 }
10774 }
10775 _arg2 = (bool ) tempbool2;
10776{
4268f798 10777 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
10778 wxPyDivisionShape_AdjustTop(_arg0,_arg1,_arg2);
10779
4268f798
RD
10780 wxPyEndAllowThreads(__tstate);
10781 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
10782} Py_INCREF(Py_None);
10783 _resultobj = Py_None;
10784 return _resultobj;
10785}
10786
10787#define wxPyDivisionShape_Divide(_swigobj,_swigarg0) (_swigobj->Divide(_swigarg0))
10788static PyObject *_wrap_wxPyDivisionShape_Divide(PyObject *self, PyObject *args, PyObject *kwargs) {
10789 PyObject * _resultobj;
10790 wxPyDivisionShape * _arg0;
10791 int _arg1;
10792 PyObject * _argo0 = 0;
10793 char *_kwnames[] = { "self","direction", NULL };
10794
10795 self = self;
10796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDivisionShape_Divide",_kwnames,&_argo0,&_arg1))
10797 return NULL;
10798 if (_argo0) {
10799 if (_argo0 == Py_None) { _arg0 = NULL; }
10800 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10801 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_Divide. Expected _wxPyDivisionShape_p.");
10802 return NULL;
10803 }
10804 }
10805{
4268f798 10806 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
10807 wxPyDivisionShape_Divide(_arg0,_arg1);
10808
4268f798
RD
10809 wxPyEndAllowThreads(__tstate);
10810 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
10811} Py_INCREF(Py_None);
10812 _resultobj = Py_None;
10813 return _resultobj;
10814}
10815
10816#define wxPyDivisionShape_EditEdge(_swigobj,_swigarg0) (_swigobj->EditEdge(_swigarg0))
10817static PyObject *_wrap_wxPyDivisionShape_EditEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
10818 PyObject * _resultobj;
10819 wxPyDivisionShape * _arg0;
10820 int _arg1;
10821 PyObject * _argo0 = 0;
10822 char *_kwnames[] = { "self","side", NULL };
10823
10824 self = self;
10825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDivisionShape_EditEdge",_kwnames,&_argo0,&_arg1))
10826 return NULL;
10827 if (_argo0) {
10828 if (_argo0 == Py_None) { _arg0 = NULL; }
10829 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10830 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_EditEdge. Expected _wxPyDivisionShape_p.");
10831 return NULL;
10832 }
10833 }
10834{
4268f798 10835 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
10836 wxPyDivisionShape_EditEdge(_arg0,_arg1);
10837
4268f798
RD
10838 wxPyEndAllowThreads(__tstate);
10839 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
10840} Py_INCREF(Py_None);
10841 _resultobj = Py_None;
10842 return _resultobj;
10843}
10844
10845#define wxPyDivisionShape_GetBottomSide(_swigobj) (_swigobj->GetBottomSide())
10846static PyObject *_wrap_wxPyDivisionShape_GetBottomSide(PyObject *self, PyObject *args, PyObject *kwargs) {
10847 PyObject * _resultobj;
10848 wxPyDivisionShape * _result;
10849 wxPyDivisionShape * _arg0;
10850 PyObject * _argo0 = 0;
10851 char *_kwnames[] = { "self", NULL };
e91a9dfc
RD
10852
10853 self = self;
10854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetBottomSide",_kwnames,&_argo0))
10855 return NULL;
10856 if (_argo0) {
10857 if (_argo0 == Py_None) { _arg0 = NULL; }
10858 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10859 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetBottomSide. Expected _wxPyDivisionShape_p.");
10860 return NULL;
10861 }
10862 }
10863{
4268f798 10864 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
10865 _result = (wxPyDivisionShape *)wxPyDivisionShape_GetBottomSide(_arg0);
10866
4268f798
RD
10867 wxPyEndAllowThreads(__tstate);
10868 if (PyErr_Occurred()) return NULL;
2f4e9287 10869}{ _resultobj = wxPyMake_wxShapeEvtHandler(_result); }
e91a9dfc
RD
10870 return _resultobj;
10871}
10872
10873#define wxPyDivisionShape_GetHandleSide(_swigobj) (_swigobj->GetHandleSide())
10874static PyObject *_wrap_wxPyDivisionShape_GetHandleSide(PyObject *self, PyObject *args, PyObject *kwargs) {
10875 PyObject * _resultobj;
10876 int _result;
10877 wxPyDivisionShape * _arg0;
10878 PyObject * _argo0 = 0;
10879 char *_kwnames[] = { "self", NULL };
10880
10881 self = self;
10882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetHandleSide",_kwnames,&_argo0))
10883 return NULL;
10884 if (_argo0) {
10885 if (_argo0 == Py_None) { _arg0 = NULL; }
10886 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10887 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetHandleSide. Expected _wxPyDivisionShape_p.");
10888 return NULL;
10889 }
10890 }
10891{
4268f798 10892 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
10893 _result = (int )wxPyDivisionShape_GetHandleSide(_arg0);
10894
4268f798
RD
10895 wxPyEndAllowThreads(__tstate);
10896 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
10897} _resultobj = Py_BuildValue("i",_result);
10898 return _resultobj;
10899}
10900
10901#define wxPyDivisionShape_GetLeftSide(_swigobj) (_swigobj->GetLeftSide())
10902static PyObject *_wrap_wxPyDivisionShape_GetLeftSide(PyObject *self, PyObject *args, PyObject *kwargs) {
10903 PyObject * _resultobj;
10904 wxPyDivisionShape * _result;
10905 wxPyDivisionShape * _arg0;
10906 PyObject * _argo0 = 0;
10907 char *_kwnames[] = { "self", NULL };
e91a9dfc
RD
10908
10909 self = self;
10910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetLeftSide",_kwnames,&_argo0))
10911 return NULL;
10912 if (_argo0) {
10913 if (_argo0 == Py_None) { _arg0 = NULL; }
10914 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10915 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetLeftSide. Expected _wxPyDivisionShape_p.");
10916 return NULL;
10917 }
10918 }
10919{
4268f798 10920 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
10921 _result = (wxPyDivisionShape *)wxPyDivisionShape_GetLeftSide(_arg0);
10922
4268f798
RD
10923 wxPyEndAllowThreads(__tstate);
10924 if (PyErr_Occurred()) return NULL;
2f4e9287 10925}{ _resultobj = wxPyMake_wxShapeEvtHandler(_result); }
e91a9dfc
RD
10926 return _resultobj;
10927}
10928
10929#define wxPyDivisionShape_GetLeftSideColour(_swigobj) (_swigobj->GetLeftSideColour())
10930static PyObject *_wrap_wxPyDivisionShape_GetLeftSideColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10931 PyObject * _resultobj;
10932 wxString * _result;
10933 wxPyDivisionShape * _arg0;
10934 PyObject * _argo0 = 0;
10935 char *_kwnames[] = { "self", NULL };
10936
10937 self = self;
10938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetLeftSideColour",_kwnames,&_argo0))
10939 return NULL;
10940 if (_argo0) {
10941 if (_argo0 == Py_None) { _arg0 = NULL; }
10942 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10943 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetLeftSideColour. Expected _wxPyDivisionShape_p.");
10944 return NULL;
10945 }
10946 }
10947{
4268f798 10948 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
10949 _result = new wxString (wxPyDivisionShape_GetLeftSideColour(_arg0));
10950
4268f798
RD
10951 wxPyEndAllowThreads(__tstate);
10952 if (PyErr_Occurred()) return NULL;
e91a9dfc 10953}{
eec92d76 10954 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
e91a9dfc
RD
10955}
10956{
10957 delete _result;
10958}
10959 return _resultobj;
10960}
10961
10962#define wxPyDivisionShape_GetLeftSidePen(_swigobj) (_swigobj->GetLeftSidePen())
10963static PyObject *_wrap_wxPyDivisionShape_GetLeftSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
10964 PyObject * _resultobj;
10965 wxPen * _result;
10966 wxPyDivisionShape * _arg0;
10967 PyObject * _argo0 = 0;
10968 char *_kwnames[] = { "self", NULL };
10969 char _ptemp[128];
10970
10971 self = self;
10972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetLeftSidePen",_kwnames,&_argo0))
10973 return NULL;
10974 if (_argo0) {
10975 if (_argo0 == Py_None) { _arg0 = NULL; }
10976 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10977 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetLeftSidePen. Expected _wxPyDivisionShape_p.");
10978 return NULL;
10979 }
10980 }
10981{
4268f798 10982 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
10983 _result = (wxPen *)wxPyDivisionShape_GetLeftSidePen(_arg0);
10984
4268f798
RD
10985 wxPyEndAllowThreads(__tstate);
10986 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
10987} if (_result) {
10988 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPen_p");
10989 _resultobj = Py_BuildValue("s",_ptemp);
10990 } else {
10991 Py_INCREF(Py_None);
10992 _resultobj = Py_None;
10993 }
10994 return _resultobj;
10995}
10996
10997#define wxPyDivisionShape_GetRightSide(_swigobj) (_swigobj->GetRightSide())
10998static PyObject *_wrap_wxPyDivisionShape_GetRightSide(PyObject *self, PyObject *args, PyObject *kwargs) {
10999 PyObject * _resultobj;
11000 wxPyDivisionShape * _result;
11001 wxPyDivisionShape * _arg0;
11002 PyObject * _argo0 = 0;
11003 char *_kwnames[] = { "self", NULL };
e91a9dfc
RD
11004
11005 self = self;
11006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetRightSide",_kwnames,&_argo0))
11007 return NULL;
11008 if (_argo0) {
11009 if (_argo0 == Py_None) { _arg0 = NULL; }
11010 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11011 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetRightSide. Expected _wxPyDivisionShape_p.");
11012 return NULL;
11013 }
11014 }
11015{
4268f798 11016 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
11017 _result = (wxPyDivisionShape *)wxPyDivisionShape_GetRightSide(_arg0);
11018
4268f798
RD
11019 wxPyEndAllowThreads(__tstate);
11020 if (PyErr_Occurred()) return NULL;
2f4e9287 11021}{ _resultobj = wxPyMake_wxShapeEvtHandler(_result); }
e91a9dfc
RD
11022 return _resultobj;
11023}
11024
11025#define wxPyDivisionShape_GetTopSide(_swigobj) (_swigobj->GetTopSide())
11026static PyObject *_wrap_wxPyDivisionShape_GetTopSide(PyObject *self, PyObject *args, PyObject *kwargs) {
11027 PyObject * _resultobj;
11028 wxPyDivisionShape * _result;
11029 wxPyDivisionShape * _arg0;
11030 PyObject * _argo0 = 0;
11031 char *_kwnames[] = { "self", NULL };
e91a9dfc
RD
11032
11033 self = self;
11034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetTopSide",_kwnames,&_argo0))
11035 return NULL;
11036 if (_argo0) {
11037 if (_argo0 == Py_None) { _arg0 = NULL; }
11038 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11039 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetTopSide. Expected _wxPyDivisionShape_p.");
11040 return NULL;
11041 }
11042 }
11043{
4268f798 11044 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
11045 _result = (wxPyDivisionShape *)wxPyDivisionShape_GetTopSide(_arg0);
11046
4268f798
RD
11047 wxPyEndAllowThreads(__tstate);
11048 if (PyErr_Occurred()) return NULL;
2f4e9287 11049}{ _resultobj = wxPyMake_wxShapeEvtHandler(_result); }
e91a9dfc
RD
11050 return _resultobj;
11051}
11052
11053#define wxPyDivisionShape_GetTopSidePen(_swigobj) (_swigobj->GetTopSidePen())
11054static PyObject *_wrap_wxPyDivisionShape_GetTopSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
11055 PyObject * _resultobj;
11056 wxPen * _result;
11057 wxPyDivisionShape * _arg0;
11058 PyObject * _argo0 = 0;
11059 char *_kwnames[] = { "self", NULL };
11060 char _ptemp[128];
11061
11062 self = self;
11063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetTopSidePen",_kwnames,&_argo0))
11064 return NULL;
11065 if (_argo0) {
11066 if (_argo0 == Py_None) { _arg0 = NULL; }
11067 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11068 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetTopSidePen. Expected _wxPyDivisionShape_p.");
11069 return NULL;
11070 }
11071 }
11072{
4268f798 11073 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
11074 _result = (wxPen *)wxPyDivisionShape_GetTopSidePen(_arg0);
11075
4268f798
RD
11076 wxPyEndAllowThreads(__tstate);
11077 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
11078} if (_result) {
11079 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPen_p");
11080 _resultobj = Py_BuildValue("s",_ptemp);
11081 } else {
11082 Py_INCREF(Py_None);
11083 _resultobj = Py_None;
11084 }
11085 return _resultobj;
11086}
11087
11088#define wxPyDivisionShape_ResizeAdjoining(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ResizeAdjoining(_swigarg0,_swigarg1,_swigarg2))
11089static PyObject *_wrap_wxPyDivisionShape_ResizeAdjoining(PyObject *self, PyObject *args, PyObject *kwargs) {
11090 PyObject * _resultobj;
11091 wxPyDivisionShape * _arg0;
11092 int _arg1;
11093 double _arg2;
11094 bool _arg3;
11095 PyObject * _argo0 = 0;
11096 int tempbool3;
11097 char *_kwnames[] = { "self","side","newPos","test", NULL };
11098
11099 self = self;
11100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidi:wxPyDivisionShape_ResizeAdjoining",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
11101 return NULL;
11102 if (_argo0) {
11103 if (_argo0 == Py_None) { _arg0 = NULL; }
11104 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11105 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_ResizeAdjoining. Expected _wxPyDivisionShape_p.");
11106 return NULL;
11107 }
11108 }
11109 _arg3 = (bool ) tempbool3;
11110{
4268f798 11111 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
11112 wxPyDivisionShape_ResizeAdjoining(_arg0,_arg1,_arg2,_arg3);
11113
4268f798
RD
11114 wxPyEndAllowThreads(__tstate);
11115 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
11116} Py_INCREF(Py_None);
11117 _resultobj = Py_None;
11118 return _resultobj;
11119}
11120
11121#define wxPyDivisionShape_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
11122static PyObject *_wrap_wxPyDivisionShape_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
11123 PyObject * _resultobj;
11124 wxPyDivisionShape * _arg0;
11125 double _arg1;
11126 double _arg2;
11127 PyObject * _argo0 = 0;
11128 char *_kwnames[] = { "self","x","y", NULL };
11129
11130 self = self;
11131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDivisionShape_PopupMenu",_kwnames,&_argo0,&_arg1,&_arg2))
11132 return NULL;
11133 if (_argo0) {
11134 if (_argo0 == Py_None) { _arg0 = NULL; }
11135 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11136 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_PopupMenu. Expected _wxPyDivisionShape_p.");
11137 return NULL;
11138 }
11139 }
11140{
4268f798 11141 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
11142 wxPyDivisionShape_PopupMenu(_arg0,_arg1,_arg2);
11143
4268f798
RD
11144 wxPyEndAllowThreads(__tstate);
11145 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
11146} Py_INCREF(Py_None);
11147 _resultobj = Py_None;
11148 return _resultobj;
11149}
11150
11151#define wxPyDivisionShape_SetBottomSide(_swigobj,_swigarg0) (_swigobj->SetBottomSide(_swigarg0))
11152static PyObject *_wrap_wxPyDivisionShape_SetBottomSide(PyObject *self, PyObject *args, PyObject *kwargs) {
11153 PyObject * _resultobj;
11154 wxPyDivisionShape * _arg0;
11155 wxPyDivisionShape * _arg1;
11156 PyObject * _argo0 = 0;
11157 PyObject * _argo1 = 0;
11158 char *_kwnames[] = { "self","shape", NULL };
11159
11160 self = self;
11161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetBottomSide",_kwnames,&_argo0,&_argo1))
11162 return NULL;
11163 if (_argo0) {
11164 if (_argo0 == Py_None) { _arg0 = NULL; }
11165 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11166 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetBottomSide. Expected _wxPyDivisionShape_p.");
11167 return NULL;
11168 }
11169 }
11170 if (_argo1) {
11171 if (_argo1 == Py_None) { _arg1 = NULL; }
11172 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyDivisionShape_p")) {
11173 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_SetBottomSide. Expected _wxPyDivisionShape_p.");
11174 return NULL;
11175 }
11176 }
11177{
4268f798 11178 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
11179 wxPyDivisionShape_SetBottomSide(_arg0,_arg1);
11180
4268f798
RD
11181 wxPyEndAllowThreads(__tstate);
11182 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
11183} Py_INCREF(Py_None);
11184 _resultobj = Py_None;
11185 return _resultobj;
11186}
11187
11188#define wxPyDivisionShape_SetHandleSide(_swigobj,_swigarg0) (_swigobj->SetHandleSide(_swigarg0))
11189static PyObject *_wrap_wxPyDivisionShape_SetHandleSide(PyObject *self, PyObject *args, PyObject *kwargs) {
11190 PyObject * _resultobj;
11191 wxPyDivisionShape * _arg0;
11192 int _arg1;
11193 PyObject * _argo0 = 0;
11194 char *_kwnames[] = { "self","side", NULL };
11195
11196 self = self;
11197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDivisionShape_SetHandleSide",_kwnames,&_argo0,&_arg1))
11198 return NULL;
11199 if (_argo0) {
11200 if (_argo0 == Py_None) { _arg0 = NULL; }
11201 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11202 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetHandleSide. Expected _wxPyDivisionShape_p.");
11203 return NULL;
11204 }
11205 }
11206{
4268f798 11207 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
11208 wxPyDivisionShape_SetHandleSide(_arg0,_arg1);
11209
4268f798
RD
11210 wxPyEndAllowThreads(__tstate);
11211 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
11212} Py_INCREF(Py_None);
11213 _resultobj = Py_None;
11214 return _resultobj;
11215}
11216
11217#define wxPyDivisionShape_SetLeftSide(_swigobj,_swigarg0) (_swigobj->SetLeftSide(_swigarg0))
11218static PyObject *_wrap_wxPyDivisionShape_SetLeftSide(PyObject *self, PyObject *args, PyObject *kwargs) {
11219 PyObject * _resultobj;
11220 wxPyDivisionShape * _arg0;
11221 wxPyDivisionShape * _arg1;
11222 PyObject * _argo0 = 0;
11223 PyObject * _argo1 = 0;
11224 char *_kwnames[] = { "self","shape", NULL };
11225
11226 self = self;
11227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetLeftSide",_kwnames,&_argo0,&_argo1))
11228 return NULL;
11229 if (_argo0) {
11230 if (_argo0 == Py_None) { _arg0 = NULL; }
11231 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11232 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetLeftSide. Expected _wxPyDivisionShape_p.");
11233 return NULL;
11234 }
11235 }
11236 if (_argo1) {
11237 if (_argo1 == Py_None) { _arg1 = NULL; }
11238 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyDivisionShape_p")) {
11239 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_SetLeftSide. Expected _wxPyDivisionShape_p.");
11240 return NULL;
11241 }
11242 }
11243{
4268f798 11244 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
11245 wxPyDivisionShape_SetLeftSide(_arg0,_arg1);
11246
4268f798
RD
11247 wxPyEndAllowThreads(__tstate);
11248 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
11249} Py_INCREF(Py_None);
11250 _resultobj = Py_None;
11251 return _resultobj;
11252}
11253
11254#define wxPyDivisionShape_SetLeftSideColour(_swigobj,_swigarg0) (_swigobj->SetLeftSideColour(_swigarg0))
11255static PyObject *_wrap_wxPyDivisionShape_SetLeftSideColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11256 PyObject * _resultobj;
11257 wxPyDivisionShape * _arg0;
11258 wxString * _arg1;
11259 PyObject * _argo0 = 0;
11260 PyObject * _obj1 = 0;
11261 char *_kwnames[] = { "self","colour", NULL };
11262
11263 self = self;
11264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetLeftSideColour",_kwnames,&_argo0,&_obj1))
11265 return NULL;
11266 if (_argo0) {
11267 if (_argo0 == Py_None) { _arg0 = NULL; }
11268 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11269 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetLeftSideColour. Expected _wxPyDivisionShape_p.");
11270 return NULL;
11271 }
11272 }
11273{
185d7c3e
RD
11274#if PYTHON_API_VERSION >= 1009
11275 char* tmpPtr; int tmpSize;
11276 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 11277 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
11278 return NULL;
11279 }
11280 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
11281 return NULL;
11282 _arg1 = new wxString(tmpPtr, tmpSize);
11283#else
e91a9dfc
RD
11284 if (!PyString_Check(_obj1)) {
11285 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
11286 return NULL;
11287 }
185d7c3e
RD
11288 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
11289#endif
e91a9dfc
RD
11290}
11291{
4268f798 11292 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
11293 wxPyDivisionShape_SetLeftSideColour(_arg0,*_arg1);
11294
4268f798
RD
11295 wxPyEndAllowThreads(__tstate);
11296 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
11297} Py_INCREF(Py_None);
11298 _resultobj = Py_None;
11299{
11300 if (_obj1)
11301 delete _arg1;
11302}
11303 return _resultobj;
11304}
11305
11306#define wxPyDivisionShape_SetLeftSidePen(_swigobj,_swigarg0) (_swigobj->SetLeftSidePen(_swigarg0))
11307static PyObject *_wrap_wxPyDivisionShape_SetLeftSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
11308 PyObject * _resultobj;
11309 wxPyDivisionShape * _arg0;
11310 wxPen * _arg1;
11311 PyObject * _argo0 = 0;
d74525f7 11312 PyObject * _obj1 = 0;
e91a9dfc
RD
11313 char *_kwnames[] = { "self","pen", NULL };
11314
11315 self = self;
d74525f7 11316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetLeftSidePen",_kwnames,&_argo0,&_obj1))
e91a9dfc
RD
11317 return NULL;
11318 if (_argo0) {
11319 if (_argo0 == Py_None) { _arg0 = NULL; }
11320 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11321 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetLeftSidePen. Expected _wxPyDivisionShape_p.");
11322 return NULL;
11323 }
11324 }
d74525f7
RD
11325{
11326 wxPen* temp;
11327 if (_obj1) {
11328 if (_obj1 == Py_None) { temp = NULL; }
11329 else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxPen_p")) {
11330 PyErr_SetString(PyExc_TypeError,"Type error, expected _wxPen_p.");
e91a9dfc
RD
11331 return NULL;
11332 }
11333 }
d74525f7
RD
11334 if (temp)
11335 _arg1 = wxThePenList->FindOrCreatePen(temp->GetColour(),
11336 temp->GetWidth(),
11337 temp->GetStyle());
11338 else
11339 _arg1 = NULL;
11340}
e91a9dfc 11341{
4268f798 11342 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
11343 wxPyDivisionShape_SetLeftSidePen(_arg0,_arg1);
11344
4268f798
RD
11345 wxPyEndAllowThreads(__tstate);
11346 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
11347} Py_INCREF(Py_None);
11348 _resultobj = Py_None;
11349 return _resultobj;
11350}
11351
11352#define wxPyDivisionShape_SetRightSide(_swigobj,_swigarg0) (_swigobj->SetRightSide(_swigarg0))
11353static PyObject *_wrap_wxPyDivisionShape_SetRightSide(PyObject *self, PyObject *args, PyObject *kwargs) {
11354 PyObject * _resultobj;
11355 wxPyDivisionShape * _arg0;
11356 wxPyDivisionShape * _arg1;
11357 PyObject * _argo0 = 0;
11358 PyObject * _argo1 = 0;
11359 char *_kwnames[] = { "self","shape", NULL };
11360
11361 self = self;
11362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetRightSide",_kwnames,&_argo0,&_argo1))
11363 return NULL;
11364 if (_argo0) {
11365 if (_argo0 == Py_None) { _arg0 = NULL; }
11366 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11367 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetRightSide. Expected _wxPyDivisionShape_p.");
11368 return NULL;
11369 }
11370 }
11371 if (_argo1) {
11372 if (_argo1 == Py_None) { _arg1 = NULL; }
11373 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyDivisionShape_p")) {
11374 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_SetRightSide. Expected _wxPyDivisionShape_p.");
11375 return NULL;
11376 }
11377 }
11378{
4268f798 11379 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
11380 wxPyDivisionShape_SetRightSide(_arg0,_arg1);
11381
4268f798
RD
11382 wxPyEndAllowThreads(__tstate);
11383 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
11384} Py_INCREF(Py_None);
11385 _resultobj = Py_None;
11386 return _resultobj;
11387}
11388
11389#define wxPyDivisionShape_SetTopSide(_swigobj,_swigarg0) (_swigobj->SetTopSide(_swigarg0))
11390static PyObject *_wrap_wxPyDivisionShape_SetTopSide(PyObject *self, PyObject *args, PyObject *kwargs) {
11391 PyObject * _resultobj;
11392 wxPyDivisionShape * _arg0;
11393 wxPyDivisionShape * _arg1;
11394 PyObject * _argo0 = 0;
11395 PyObject * _argo1 = 0;
11396 char *_kwnames[] = { "self","shape", NULL };
11397
11398 self = self;
11399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetTopSide",_kwnames,&_argo0,&_argo1))
11400 return NULL;
11401 if (_argo0) {
11402 if (_argo0 == Py_None) { _arg0 = NULL; }
11403 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11404 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetTopSide. Expected _wxPyDivisionShape_p.");
11405 return NULL;
11406 }
11407 }
11408 if (_argo1) {
11409 if (_argo1 == Py_None) { _arg1 = NULL; }
11410 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyDivisionShape_p")) {
11411 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_SetTopSide. Expected _wxPyDivisionShape_p.");
11412 return NULL;
11413 }
11414 }
11415{
4268f798 11416 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
11417 wxPyDivisionShape_SetTopSide(_arg0,_arg1);
11418
4268f798
RD
11419 wxPyEndAllowThreads(__tstate);
11420 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
11421} Py_INCREF(Py_None);
11422 _resultobj = Py_None;
11423 return _resultobj;
11424}
11425
11426#define wxPyDivisionShape_SetTopSideColour(_swigobj,_swigarg0) (_swigobj->SetTopSideColour(_swigarg0))
11427static PyObject *_wrap_wxPyDivisionShape_SetTopSideColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11428 PyObject * _resultobj;
11429 wxPyDivisionShape * _arg0;
11430 wxString * _arg1;
11431 PyObject * _argo0 = 0;
11432 PyObject * _obj1 = 0;
11433 char *_kwnames[] = { "self","colour", NULL };
11434
11435 self = self;
11436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetTopSideColour",_kwnames,&_argo0,&_obj1))
11437 return NULL;
11438 if (_argo0) {
11439 if (_argo0 == Py_None) { _arg0 = NULL; }
11440 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11441 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetTopSideColour. Expected _wxPyDivisionShape_p.");
11442 return NULL;
11443 }
11444 }
11445{
185d7c3e
RD
11446#if PYTHON_API_VERSION >= 1009
11447 char* tmpPtr; int tmpSize;
11448 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 11449 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
11450 return NULL;
11451 }
11452 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
11453 return NULL;
11454 _arg1 = new wxString(tmpPtr, tmpSize);
11455#else
e91a9dfc
RD
11456 if (!PyString_Check(_obj1)) {
11457 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
11458 return NULL;
11459 }
185d7c3e
RD
11460 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
11461#endif
e91a9dfc
RD
11462}
11463{
4268f798 11464 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
11465 wxPyDivisionShape_SetTopSideColour(_arg0,*_arg1);
11466
4268f798
RD
11467 wxPyEndAllowThreads(__tstate);
11468 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
11469} Py_INCREF(Py_None);
11470 _resultobj = Py_None;
11471{
11472 if (_obj1)
11473 delete _arg1;
11474}
11475 return _resultobj;
11476}
11477
11478#define wxPyDivisionShape_SetTopSidePen(_swigobj,_swigarg0) (_swigobj->SetTopSidePen(_swigarg0))
11479static PyObject *_wrap_wxPyDivisionShape_SetTopSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
11480 PyObject * _resultobj;
11481 wxPyDivisionShape * _arg0;
11482 wxPen * _arg1;
11483 PyObject * _argo0 = 0;
d74525f7 11484 PyObject * _obj1 = 0;
e91a9dfc
RD
11485 char *_kwnames[] = { "self","pen", NULL };
11486
11487 self = self;
d74525f7 11488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetTopSidePen",_kwnames,&_argo0,&_obj1))
e91a9dfc
RD
11489 return NULL;
11490 if (_argo0) {
11491 if (_argo0 == Py_None) { _arg0 = NULL; }
11492 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11493 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetTopSidePen. Expected _wxPyDivisionShape_p.");
11494 return NULL;
11495 }
11496 }
d74525f7
RD
11497{
11498 wxPen* temp;
11499 if (_obj1) {
11500 if (_obj1 == Py_None) { temp = NULL; }
11501 else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxPen_p")) {
11502 PyErr_SetString(PyExc_TypeError,"Type error, expected _wxPen_p.");
e91a9dfc
RD
11503 return NULL;
11504 }
11505 }
d74525f7
RD
11506 if (temp)
11507 _arg1 = wxThePenList->FindOrCreatePen(temp->GetColour(),
11508 temp->GetWidth(),
11509 temp->GetStyle());
11510 else
11511 _arg1 = NULL;
11512}
e91a9dfc 11513{
4268f798 11514 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
11515 wxPyDivisionShape_SetTopSidePen(_arg0,_arg1);
11516
4268f798
RD
11517 wxPyEndAllowThreads(__tstate);
11518 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
11519} Py_INCREF(Py_None);
11520 _resultobj = Py_None;
11521 return _resultobj;
11522}
11523
11524#define wxPyDivisionShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
11525static PyObject *_wrap_wxPyDivisionShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
11526 PyObject * _resultobj;
11527 wxPyDivisionShape * _arg0;
11528 PyObject * _argo0 = 0;
11529 char *_kwnames[] = { "self", NULL };
11530
11531 self = self;
11532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_base_OnDelete",_kwnames,&_argo0))
11533 return NULL;
11534 if (_argo0) {
11535 if (_argo0 == Py_None) { _arg0 = NULL; }
11536 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11537 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDelete. Expected _wxPyDivisionShape_p.");
11538 return NULL;
11539 }
11540 }
11541{
4268f798 11542 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
11543 wxPyDivisionShape_base_OnDelete(_arg0);
11544
4268f798
RD
11545 wxPyEndAllowThreads(__tstate);
11546 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
11547} Py_INCREF(Py_None);
11548 _resultobj = Py_None;
11549 return _resultobj;
11550}
11551
11552#define wxPyDivisionShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
11553static PyObject *_wrap_wxPyDivisionShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
11554 PyObject * _resultobj;
11555 wxPyDivisionShape * _arg0;
11556 wxDC * _arg1;
11557 PyObject * _argo0 = 0;
11558 PyObject * _argo1 = 0;
11559 char *_kwnames[] = { "self","dc", NULL };
11560
11561 self = self;
11562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnDraw",_kwnames,&_argo0,&_argo1))
11563 return NULL;
11564 if (_argo0) {
11565 if (_argo0 == Py_None) { _arg0 = NULL; }
11566 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11567 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDraw. Expected _wxPyDivisionShape_p.");
11568 return NULL;
11569 }
11570 }
11571 if (_argo1) {
11572 if (_argo1 == Py_None) { _arg1 = NULL; }
11573 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
11574 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnDraw. Expected _wxDC_p.");
11575 return NULL;
11576 }
11577 }
11578{
4268f798 11579 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
11580 wxPyDivisionShape_base_OnDraw(_arg0,*_arg1);
11581
4268f798
RD
11582 wxPyEndAllowThreads(__tstate);
11583 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
11584} Py_INCREF(Py_None);
11585 _resultobj = Py_None;
11586 return _resultobj;
11587}
11588
11589#define wxPyDivisionShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
11590static PyObject *_wrap_wxPyDivisionShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
11591 PyObject * _resultobj;
11592 wxPyDivisionShape * _arg0;
11593 wxDC * _arg1;
11594 PyObject * _argo0 = 0;
11595 PyObject * _argo1 = 0;
11596 char *_kwnames[] = { "self","dc", NULL };
11597
11598 self = self;
11599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1))
11600 return NULL;
11601 if (_argo0) {
11602 if (_argo0 == Py_None) { _arg0 = NULL; }
11603 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11604 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDrawContents. Expected _wxPyDivisionShape_p.");
11605 return NULL;
11606 }
11607 }
11608 if (_argo1) {
11609 if (_argo1 == Py_None) { _arg1 = NULL; }
11610 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
11611 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnDrawContents. Expected _wxDC_p.");
11612 return NULL;
11613 }
11614 }
11615{
4268f798 11616 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
11617 wxPyDivisionShape_base_OnDrawContents(_arg0,*_arg1);
11618
4268f798
RD
11619 wxPyEndAllowThreads(__tstate);
11620 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
11621} Py_INCREF(Py_None);
11622 _resultobj = Py_None;
11623 return _resultobj;
11624}
11625
11626#define wxPyDivisionShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
11627static PyObject *_wrap_wxPyDivisionShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
11628 PyObject * _resultobj;
11629 wxPyDivisionShape * _arg0;
11630 wxDC * _arg1;
11631 bool _arg2 = (bool ) FALSE;
11632 PyObject * _argo0 = 0;
11633 PyObject * _argo1 = 0;
11634 int tempbool2 = (int) FALSE;
11635 char *_kwnames[] = { "self","dc","erase", NULL };
11636
11637 self = self;
11638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDivisionShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2))
11639 return NULL;
11640 if (_argo0) {
11641 if (_argo0 == Py_None) { _arg0 = NULL; }
11642 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11643 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDrawBranches. Expected _wxPyDivisionShape_p.");
11644 return NULL;
11645 }
11646 }
11647 if (_argo1) {
11648 if (_argo1 == Py_None) { _arg1 = NULL; }
11649 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
11650 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnDrawBranches. Expected _wxDC_p.");
11651 return NULL;
11652 }
11653 }
11654 _arg2 = (bool ) tempbool2;
11655{
4268f798 11656 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
11657 wxPyDivisionShape_base_OnDrawBranches(_arg0,*_arg1,_arg2);
11658
4268f798
RD
11659 wxPyEndAllowThreads(__tstate);
11660 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
11661} Py_INCREF(Py_None);
11662 _resultobj = Py_None;
11663 return _resultobj;
11664}
11665
11666#define wxPyDivisionShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
11667static PyObject *_wrap_wxPyDivisionShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
11668 PyObject * _resultobj;
11669 wxPyDivisionShape * _arg0;
11670 wxDC * _arg1;
11671 PyObject * _argo0 = 0;
11672 PyObject * _argo1 = 0;
11673 char *_kwnames[] = { "self","dc", NULL };
11674
11675 self = self;
11676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1))
11677 return NULL;
11678 if (_argo0) {
11679 if (_argo0 == Py_None) { _arg0 = NULL; }
11680 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11681 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnMoveLinks. Expected _wxPyDivisionShape_p.");
11682 return NULL;
11683 }
11684 }
11685 if (_argo1) {
11686 if (_argo1 == Py_None) { _arg1 = NULL; }
11687 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
11688 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnMoveLinks. Expected _wxDC_p.");
11689 return NULL;
11690 }
11691 }
11692{
4268f798 11693 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
11694 wxPyDivisionShape_base_OnMoveLinks(_arg0,*_arg1);
11695
4268f798
RD
11696 wxPyEndAllowThreads(__tstate);
11697 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
11698} Py_INCREF(Py_None);
11699 _resultobj = Py_None;
11700 return _resultobj;
11701}
11702
11703#define wxPyDivisionShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
11704static PyObject *_wrap_wxPyDivisionShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
11705 PyObject * _resultobj;
11706 wxPyDivisionShape * _arg0;
11707 wxDC * _arg1;
11708 PyObject * _argo0 = 0;
11709 PyObject * _argo1 = 0;
11710 char *_kwnames[] = { "self","dc", NULL };
11711
11712 self = self;
11713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnErase",_kwnames,&_argo0,&_argo1))
11714 return NULL;
11715 if (_argo0) {
11716 if (_argo0 == Py_None) { _arg0 = NULL; }
11717 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11718 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnErase. Expected _wxPyDivisionShape_p.");
11719 return NULL;
11720 }
11721 }
11722 if (_argo1) {
11723 if (_argo1 == Py_None) { _arg1 = NULL; }
11724 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
11725 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnErase. Expected _wxDC_p.");
11726 return NULL;
11727 }
11728 }
11729{
4268f798 11730 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
11731 wxPyDivisionShape_base_OnErase(_arg0,*_arg1);
11732
4268f798
RD
11733 wxPyEndAllowThreads(__tstate);
11734 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
11735} Py_INCREF(Py_None);
11736 _resultobj = Py_None;
11737 return _resultobj;
11738}
11739
11740#define wxPyDivisionShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
11741static PyObject *_wrap_wxPyDivisionShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
11742 PyObject * _resultobj;
11743 wxPyDivisionShape * _arg0;
11744 wxDC * _arg1;
11745 PyObject * _argo0 = 0;
11746 PyObject * _argo1 = 0;
11747 char *_kwnames[] = { "self","dc", NULL };
11748
11749 self = self;
11750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1))
11751 return NULL;
11752 if (_argo0) {
11753 if (_argo0 == Py_None) { _arg0 = NULL; }
11754 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11755 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnEraseContents. Expected _wxPyDivisionShape_p.");
11756 return NULL;
11757 }
11758 }
11759 if (_argo1) {
11760 if (_argo1 == Py_None) { _arg1 = NULL; }
11761 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
11762 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnEraseContents. Expected _wxDC_p.");
11763 return NULL;
11764 }
11765 }
11766{
4268f798 11767 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
11768 wxPyDivisionShape_base_OnEraseContents(_arg0,*_arg1);
11769
4268f798
RD
11770 wxPyEndAllowThreads(__tstate);
11771 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
11772} Py_INCREF(Py_None);
11773 _resultobj = Py_None;
11774 return _resultobj;
11775}
11776
11777#define wxPyDivisionShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
11778static PyObject *_wrap_wxPyDivisionShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
11779 PyObject * _resultobj;
11780 wxPyDivisionShape * _arg0;
11781 wxDC * _arg1;
11782 PyObject * _argo0 = 0;
11783 PyObject * _argo1 = 0;
11784 char *_kwnames[] = { "self","dc", NULL };
11785
11786 self = self;
11787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnHighlight",_kwnames,&_argo0,&_argo1))
11788 return NULL;
11789 if (_argo0) {
11790 if (_argo0 == Py_None) { _arg0 = NULL; }
11791 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11792 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnHighlight. Expected _wxPyDivisionShape_p.");
11793 return NULL;
11794 }
11795 }
11796 if (_argo1) {
11797 if (_argo1 == Py_None) { _arg1 = NULL; }
11798 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
11799 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnHighlight. Expected _wxDC_p.");
11800 return NULL;
11801 }
11802 }
11803{
4268f798 11804 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
11805 wxPyDivisionShape_base_OnHighlight(_arg0,*_arg1);
11806
4268f798
RD
11807 wxPyEndAllowThreads(__tstate);
11808 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
11809} Py_INCREF(Py_None);
11810 _resultobj = Py_None;
11811 return _resultobj;
11812}
11813
11814#define wxPyDivisionShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11815static PyObject *_wrap_wxPyDivisionShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
11816 PyObject * _resultobj;
11817 wxPyDivisionShape * _arg0;
11818 double _arg1;
11819 double _arg2;
11820 int _arg3 = (int ) 0;
11821 int _arg4 = (int ) 0;
11822 PyObject * _argo0 = 0;
11823 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
11824
11825 self = self;
11826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
11827 return NULL;
11828 if (_argo0) {
11829 if (_argo0 == Py_None) { _arg0 = NULL; }
11830 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11831 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnLeftClick. Expected _wxPyDivisionShape_p.");
11832 return NULL;
11833 }
11834 }
11835{
4268f798 11836 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
11837 wxPyDivisionShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4);
11838
4268f798
RD
11839 wxPyEndAllowThreads(__tstate);
11840 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
11841} Py_INCREF(Py_None);
11842 _resultobj = Py_None;
11843 return _resultobj;
11844}
11845
11846#define wxPyDivisionShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11847static PyObject *_wrap_wxPyDivisionShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
11848 PyObject * _resultobj;
11849 wxPyDivisionShape * _arg0;
11850 double _arg1;
11851 double _arg2;
11852 int _arg3 = (int ) 0;
11853 int _arg4 = (int ) 0;
11854 PyObject * _argo0 = 0;
11855 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
11856
11857 self = self;
11858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
11859 return NULL;
11860 if (_argo0) {
11861 if (_argo0 == Py_None) { _arg0 = NULL; }
11862 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11863 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnLeftDoubleClick. Expected _wxPyDivisionShape_p.");
11864 return NULL;
11865 }
11866 }
11867{
4268f798 11868 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
11869 wxPyDivisionShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4);
11870
4268f798
RD
11871 wxPyEndAllowThreads(__tstate);
11872 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
11873} Py_INCREF(Py_None);
11874 _resultobj = Py_None;
11875 return _resultobj;
11876}
11877
11878#define wxPyDivisionShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11879static PyObject *_wrap_wxPyDivisionShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
11880 PyObject * _resultobj;
11881 wxPyDivisionShape * _arg0;
11882 double _arg1;
11883 double _arg2;
11884 int _arg3 = (int ) 0;
11885 int _arg4 = (int ) 0;
11886 PyObject * _argo0 = 0;
11887 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
11888
11889 self = self;
11890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
11891 return NULL;
11892 if (_argo0) {
11893 if (_argo0 == Py_None) { _arg0 = NULL; }
11894 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11895 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnRightClick. Expected _wxPyDivisionShape_p.");
11896 return NULL;
11897 }
11898 }
11899{
4268f798 11900 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
11901 wxPyDivisionShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4);
11902
4268f798
RD
11903 wxPyEndAllowThreads(__tstate);
11904 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
11905} Py_INCREF(Py_None);
11906 _resultobj = Py_None;
11907 return _resultobj;
11908}
11909
11910#define wxPyDivisionShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
11911static PyObject *_wrap_wxPyDivisionShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11912 PyObject * _resultobj;
11913 wxPyDivisionShape * _arg0;
11914 double _arg1;
11915 double _arg2;
11916 PyObject * _argo0 = 0;
11917 char *_kwnames[] = { "self","x","y", NULL };
11918
11919 self = self;
11920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDivisionShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2))
11921 return NULL;
11922 if (_argo0) {
11923 if (_argo0 == Py_None) { _arg0 = NULL; }
11924 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11925 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnSize. Expected _wxPyDivisionShape_p.");
11926 return NULL;
11927 }
11928 }
11929{
4268f798 11930 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
11931 wxPyDivisionShape_base_OnSize(_arg0,_arg1,_arg2);
11932
4268f798
RD
11933 wxPyEndAllowThreads(__tstate);
11934 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
11935} Py_INCREF(Py_None);
11936 _resultobj = Py_None;
11937 return _resultobj;
11938}
11939
11940#define wxPyDivisionShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
11941static PyObject *_wrap_wxPyDivisionShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
11942 PyObject * _resultobj;
11943 bool _result;
11944 wxPyDivisionShape * _arg0;
11945 wxDC * _arg1;
11946 double _arg2;
11947 double _arg3;
11948 double _arg4;
11949 double _arg5;
11950 bool _arg6 = (bool ) TRUE;
11951 PyObject * _argo0 = 0;
11952 PyObject * _argo1 = 0;
11953 int tempbool6 = (int) TRUE;
11954 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
11955
11956 self = self;
11957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDivisionShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
11958 return NULL;
11959 if (_argo0) {
11960 if (_argo0 == Py_None) { _arg0 = NULL; }
11961 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11962 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnMovePre. Expected _wxPyDivisionShape_p.");
11963 return NULL;
11964 }
11965 }
11966 if (_argo1) {
11967 if (_argo1 == Py_None) { _arg1 = NULL; }
11968 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
11969 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnMovePre. Expected _wxDC_p.");
11970 return NULL;
11971 }
11972 }
11973 _arg6 = (bool ) tempbool6;
11974{
4268f798 11975 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
11976 _result = (bool )wxPyDivisionShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
11977
4268f798
RD
11978 wxPyEndAllowThreads(__tstate);
11979 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
11980} _resultobj = Py_BuildValue("i",_result);
11981 return _resultobj;
11982}
11983
11984#define wxPyDivisionShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
11985static PyObject *_wrap_wxPyDivisionShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
11986 PyObject * _resultobj;
11987 wxPyDivisionShape * _arg0;
11988 wxDC * _arg1;
11989 double _arg2;
11990 double _arg3;
11991 double _arg4;
11992 double _arg5;
11993 bool _arg6 = (bool ) TRUE;
11994 PyObject * _argo0 = 0;
11995 PyObject * _argo1 = 0;
11996 int tempbool6 = (int) TRUE;
11997 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
11998
11999 self = self;
12000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDivisionShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
12001 return NULL;
12002 if (_argo0) {
12003 if (_argo0 == Py_None) { _arg0 = NULL; }
12004 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
12005 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnMovePost. Expected _wxPyDivisionShape_p.");
12006 return NULL;
12007 }
12008 }
12009 if (_argo1) {
12010 if (_argo1 == Py_None) { _arg1 = NULL; }
12011 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
12012 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnMovePost. Expected _wxDC_p.");
12013 return NULL;
12014 }
12015 }
12016 _arg6 = (bool ) tempbool6;
12017{
4268f798 12018 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
12019 wxPyDivisionShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
12020
4268f798
RD
12021 wxPyEndAllowThreads(__tstate);
12022 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
12023} Py_INCREF(Py_None);
12024 _resultobj = Py_None;
12025 return _resultobj;
12026}
12027
12028#define wxPyDivisionShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
12029static PyObject *_wrap_wxPyDivisionShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
12030 PyObject * _resultobj;
12031 wxPyDivisionShape * _arg0;
12032 bool _arg1;
12033 double _arg2;
12034 double _arg3;
12035 int _arg4 = (int ) 0;
12036 int _arg5 = (int ) 0;
12037 PyObject * _argo0 = 0;
12038 int tempbool1;
12039 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
12040
12041 self = self;
12042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDivisionShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
12043 return NULL;
12044 if (_argo0) {
12045 if (_argo0 == Py_None) { _arg0 = NULL; }
12046 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
12047 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDragLeft. Expected _wxPyDivisionShape_p.");
12048 return NULL;
12049 }
12050 }
12051 _arg1 = (bool ) tempbool1;
12052{
4268f798 12053 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
12054 wxPyDivisionShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
12055
4268f798
RD
12056 wxPyEndAllowThreads(__tstate);
12057 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
12058} Py_INCREF(Py_None);
12059 _resultobj = Py_None;
12060 return _resultobj;
12061}
12062
12063#define wxPyDivisionShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
12064static PyObject *_wrap_wxPyDivisionShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
12065 PyObject * _resultobj;
12066 wxPyDivisionShape * _arg0;
12067 double _arg1;
12068 double _arg2;
12069 int _arg3 = (int ) 0;
12070 int _arg4 = (int ) 0;
12071 PyObject * _argo0 = 0;
12072 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
12073
12074 self = self;
12075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
12076 return NULL;
12077 if (_argo0) {
12078 if (_argo0 == Py_None) { _arg0 = NULL; }
12079 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
12080 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnBeginDragLeft. Expected _wxPyDivisionShape_p.");
12081 return NULL;
12082 }
12083 }
12084{
4268f798 12085 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
12086 wxPyDivisionShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
12087
4268f798
RD
12088 wxPyEndAllowThreads(__tstate);
12089 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
12090} Py_INCREF(Py_None);
12091 _resultobj = Py_None;
12092 return _resultobj;
12093}
12094
12095#define wxPyDivisionShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
12096static PyObject *_wrap_wxPyDivisionShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
12097 PyObject * _resultobj;
12098 wxPyDivisionShape * _arg0;
12099 double _arg1;
12100 double _arg2;
12101 int _arg3 = (int ) 0;
12102 int _arg4 = (int ) 0;
12103 PyObject * _argo0 = 0;
12104 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
12105
12106 self = self;
12107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
12108 return NULL;
12109 if (_argo0) {
12110 if (_argo0 == Py_None) { _arg0 = NULL; }
12111 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
12112 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnEndDragLeft. Expected _wxPyDivisionShape_p.");
12113 return NULL;
12114 }
12115 }
12116{
4268f798 12117 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
12118 wxPyDivisionShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
12119
4268f798
RD
12120 wxPyEndAllowThreads(__tstate);
12121 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
12122} Py_INCREF(Py_None);
12123 _resultobj = Py_None;
12124 return _resultobj;
12125}
12126
12127#define wxPyDivisionShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
12128static PyObject *_wrap_wxPyDivisionShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
12129 PyObject * _resultobj;
12130 wxPyDivisionShape * _arg0;
12131 bool _arg1;
12132 double _arg2;
12133 double _arg3;
12134 int _arg4 = (int ) 0;
12135 int _arg5 = (int ) 0;
12136 PyObject * _argo0 = 0;
12137 int tempbool1;
12138 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
12139
12140 self = self;
12141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDivisionShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
12142 return NULL;
12143 if (_argo0) {
12144 if (_argo0 == Py_None) { _arg0 = NULL; }
12145 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
12146 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDragRight. Expected _wxPyDivisionShape_p.");
12147 return NULL;
12148 }
12149 }
12150 _arg1 = (bool ) tempbool1;
12151{
4268f798 12152 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
12153 wxPyDivisionShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
12154
4268f798
RD
12155 wxPyEndAllowThreads(__tstate);
12156 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
12157} Py_INCREF(Py_None);
12158 _resultobj = Py_None;
12159 return _resultobj;
12160}
12161
12162#define wxPyDivisionShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
12163static PyObject *_wrap_wxPyDivisionShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
12164 PyObject * _resultobj;
12165 wxPyDivisionShape * _arg0;
12166 double _arg1;
12167 double _arg2;
12168 int _arg3 = (int ) 0;
12169 int _arg4 = (int ) 0;
12170 PyObject * _argo0 = 0;
12171 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
12172
12173 self = self;
12174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
12175 return NULL;
12176 if (_argo0) {
12177 if (_argo0 == Py_None) { _arg0 = NULL; }
12178 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
12179 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnBeginDragRight. Expected _wxPyDivisionShape_p.");
12180 return NULL;
12181 }
12182 }
12183{
4268f798 12184 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
12185 wxPyDivisionShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
12186
4268f798
RD
12187 wxPyEndAllowThreads(__tstate);
12188 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
12189} Py_INCREF(Py_None);
12190 _resultobj = Py_None;
12191 return _resultobj;
12192}
12193
12194#define wxPyDivisionShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
12195static PyObject *_wrap_wxPyDivisionShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
12196 PyObject * _resultobj;
12197 wxPyDivisionShape * _arg0;
12198 double _arg1;
12199 double _arg2;
12200 int _arg3 = (int ) 0;
12201 int _arg4 = (int ) 0;
12202 PyObject * _argo0 = 0;
12203 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
12204
12205 self = self;
12206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
12207 return NULL;
12208 if (_argo0) {
12209 if (_argo0 == Py_None) { _arg0 = NULL; }
12210 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
12211 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnEndDragRight. Expected _wxPyDivisionShape_p.");
12212 return NULL;
12213 }
12214 }
12215{
4268f798 12216 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
12217 wxPyDivisionShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
12218
4268f798
RD
12219 wxPyEndAllowThreads(__tstate);
12220 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
12221} Py_INCREF(Py_None);
12222 _resultobj = Py_None;
12223 return _resultobj;
12224}
12225
12226#define wxPyDivisionShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
12227static PyObject *_wrap_wxPyDivisionShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
12228 PyObject * _resultobj;
12229 wxPyDivisionShape * _arg0;
12230 wxDC * _arg1;
12231 double _arg2;
12232 double _arg3;
12233 double _arg4;
12234 double _arg5;
12235 PyObject * _argo0 = 0;
12236 PyObject * _argo1 = 0;
12237 char *_kwnames[] = { "self","dc","x","y","w","h", NULL };
12238
12239 self = self;
12240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyDivisionShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
12241 return NULL;
12242 if (_argo0) {
12243 if (_argo0 == Py_None) { _arg0 = NULL; }
12244 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
12245 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDrawOutline. Expected _wxPyDivisionShape_p.");
12246 return NULL;
12247 }
12248 }
12249 if (_argo1) {
12250 if (_argo1 == Py_None) { _arg1 = NULL; }
12251 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
12252 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnDrawOutline. Expected _wxDC_p.");
12253 return NULL;
12254 }
12255 }
12256{
4268f798 12257 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
12258 wxPyDivisionShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5);
12259
4268f798
RD
12260 wxPyEndAllowThreads(__tstate);
12261 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
12262} Py_INCREF(Py_None);
12263 _resultobj = Py_None;
12264 return _resultobj;
12265}
12266
12267#define wxPyDivisionShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
12268static PyObject *_wrap_wxPyDivisionShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
12269 PyObject * _resultobj;
12270 wxPyDivisionShape * _arg0;
12271 wxDC * _arg1;
12272 PyObject * _argo0 = 0;
12273 PyObject * _argo1 = 0;
12274 char *_kwnames[] = { "self","dc", NULL };
12275
12276 self = self;
12277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1))
12278 return NULL;
12279 if (_argo0) {
12280 if (_argo0 == Py_None) { _arg0 = NULL; }
12281 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
12282 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDrawControlPoints. Expected _wxPyDivisionShape_p.");
12283 return NULL;
12284 }
12285 }
12286 if (_argo1) {
12287 if (_argo1 == Py_None) { _arg1 = NULL; }
12288 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
12289 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnDrawControlPoints. Expected _wxDC_p.");
12290 return NULL;
12291 }
12292 }
12293{
4268f798 12294 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
12295 wxPyDivisionShape_base_OnDrawControlPoints(_arg0,*_arg1);
12296
4268f798
RD
12297 wxPyEndAllowThreads(__tstate);
12298 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
12299} Py_INCREF(Py_None);
12300 _resultobj = Py_None;
12301 return _resultobj;
12302}
12303
12304#define wxPyDivisionShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
12305static PyObject *_wrap_wxPyDivisionShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
12306 PyObject * _resultobj;
12307 wxPyDivisionShape * _arg0;
12308 wxDC * _arg1;
12309 PyObject * _argo0 = 0;
12310 PyObject * _argo1 = 0;
12311 char *_kwnames[] = { "self","dc", NULL };
12312
12313 self = self;
12314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1))
12315 return NULL;
12316 if (_argo0) {
12317 if (_argo0 == Py_None) { _arg0 = NULL; }
12318 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
12319 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnEraseControlPoints. Expected _wxPyDivisionShape_p.");
12320 return NULL;
12321 }
12322 }
12323 if (_argo1) {
12324 if (_argo1 == Py_None) { _arg1 = NULL; }
12325 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
12326 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnEraseControlPoints. Expected _wxDC_p.");
12327 return NULL;
12328 }
12329 }
12330{
4268f798 12331 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
12332 wxPyDivisionShape_base_OnEraseControlPoints(_arg0,*_arg1);
12333
4268f798
RD
12334 wxPyEndAllowThreads(__tstate);
12335 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
12336} Py_INCREF(Py_None);
12337 _resultobj = Py_None;
12338 return _resultobj;
12339}
12340
12341#define wxPyDivisionShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
12342static PyObject *_wrap_wxPyDivisionShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
12343 PyObject * _resultobj;
12344 wxPyDivisionShape * _arg0;
12345 wxDC * _arg1;
12346 bool _arg2 = (bool ) TRUE;
12347 PyObject * _argo0 = 0;
12348 PyObject * _argo1 = 0;
12349 int tempbool2 = (int) TRUE;
12350 char *_kwnames[] = { "self","dc","moveControlPoints", NULL };
12351
12352 self = self;
12353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDivisionShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2))
12354 return NULL;
12355 if (_argo0) {
12356 if (_argo0 == Py_None) { _arg0 = NULL; }
12357 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
12358 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnMoveLink. Expected _wxPyDivisionShape_p.");
12359 return NULL;
12360 }
12361 }
12362 if (_argo1) {
12363 if (_argo1 == Py_None) { _arg1 = NULL; }
12364 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
12365 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnMoveLink. Expected _wxDC_p.");
12366 return NULL;
12367 }
12368 }
12369 _arg2 = (bool ) tempbool2;
12370{
4268f798 12371 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
12372 wxPyDivisionShape_base_OnMoveLink(_arg0,*_arg1,_arg2);
12373
4268f798
RD
12374 wxPyEndAllowThreads(__tstate);
12375 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
12376} Py_INCREF(Py_None);
12377 _resultobj = Py_None;
12378 return _resultobj;
12379}
12380
12381#define wxPyDivisionShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
12382static PyObject *_wrap_wxPyDivisionShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
12383 PyObject * _resultobj;
12384 wxPyDivisionShape * _arg0;
2348eaee 12385 wxPyControlPoint * _arg1;
e91a9dfc
RD
12386 bool _arg2;
12387 double _arg3;
12388 double _arg4;
12389 int _arg5 = (int ) 0;
12390 int _arg6 = (int ) 0;
12391 PyObject * _argo0 = 0;
12392 PyObject * _argo1 = 0;
12393 int tempbool2;
12394 char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL };
12395
12396 self = self;
12397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyDivisionShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6))
12398 return NULL;
12399 if (_argo0) {
12400 if (_argo0 == Py_None) { _arg0 = NULL; }
12401 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
12402 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnSizingDragLeft. Expected _wxPyDivisionShape_p.");
12403 return NULL;
12404 }
12405 }
12406 if (_argo1) {
12407 if (_argo1 == Py_None) { _arg1 = NULL; }
2348eaee
RD
12408 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
12409 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
e91a9dfc
RD
12410 return NULL;
12411 }
12412 }
12413 _arg2 = (bool ) tempbool2;
12414{
4268f798 12415 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
12416 wxPyDivisionShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
12417
4268f798
RD
12418 wxPyEndAllowThreads(__tstate);
12419 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
12420} Py_INCREF(Py_None);
12421 _resultobj = Py_None;
12422 return _resultobj;
12423}
12424
12425#define wxPyDivisionShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
12426static PyObject *_wrap_wxPyDivisionShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
12427 PyObject * _resultobj;
12428 wxPyDivisionShape * _arg0;
2348eaee 12429 wxPyControlPoint * _arg1;
e91a9dfc
RD
12430 double _arg2;
12431 double _arg3;
12432 int _arg4 = (int ) 0;
12433 int _arg5 = (int ) 0;
12434 PyObject * _argo0 = 0;
12435 PyObject * _argo1 = 0;
12436 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
12437
12438 self = self;
12439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDivisionShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
12440 return NULL;
12441 if (_argo0) {
12442 if (_argo0 == Py_None) { _arg0 = NULL; }
12443 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
12444 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnSizingBeginDragLeft. Expected _wxPyDivisionShape_p.");
12445 return NULL;
12446 }
12447 }
12448 if (_argo1) {
12449 if (_argo1 == Py_None) { _arg1 = NULL; }
2348eaee
RD
12450 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
12451 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
e91a9dfc
RD
12452 return NULL;
12453 }
12454 }
12455{
4268f798 12456 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
12457 wxPyDivisionShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
12458
4268f798
RD
12459 wxPyEndAllowThreads(__tstate);
12460 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
12461} Py_INCREF(Py_None);
12462 _resultobj = Py_None;
12463 return _resultobj;
12464}
12465
12466#define wxPyDivisionShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
12467static PyObject *_wrap_wxPyDivisionShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
12468 PyObject * _resultobj;
12469 wxPyDivisionShape * _arg0;
2348eaee 12470 wxPyControlPoint * _arg1;
e91a9dfc
RD
12471 double _arg2;
12472 double _arg3;
12473 int _arg4 = (int ) 0;
12474 int _arg5 = (int ) 0;
12475 PyObject * _argo0 = 0;
12476 PyObject * _argo1 = 0;
12477 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
12478
12479 self = self;
12480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDivisionShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
12481 return NULL;
12482 if (_argo0) {
12483 if (_argo0 == Py_None) { _arg0 = NULL; }
12484 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
12485 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnSizingEndDragLeft. Expected _wxPyDivisionShape_p.");
12486 return NULL;
12487 }
12488 }
12489 if (_argo1) {
12490 if (_argo1 == Py_None) { _arg1 = NULL; }
2348eaee
RD
12491 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
12492 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
e91a9dfc
RD
12493 return NULL;
12494 }
12495 }
12496{
4268f798 12497 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
12498 wxPyDivisionShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
12499
4268f798
RD
12500 wxPyEndAllowThreads(__tstate);
12501 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
12502} Py_INCREF(Py_None);
12503 _resultobj = Py_None;
12504 return _resultobj;
12505}
12506
12507#define wxPyDivisionShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
12508static PyObject *_wrap_wxPyDivisionShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12509 PyObject * _resultobj;
12510 wxPyDivisionShape * _arg0;
12511 double _arg1;
12512 double _arg2;
12513 PyObject * _argo0 = 0;
12514 char *_kwnames[] = { "self","w","h", NULL };
12515
12516 self = self;
12517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDivisionShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2))
12518 return NULL;
12519 if (_argo0) {
12520 if (_argo0 == Py_None) { _arg0 = NULL; }
12521 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
12522 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnBeginSize. Expected _wxPyDivisionShape_p.");
12523 return NULL;
12524 }
12525 }
12526{
4268f798 12527 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
12528 wxPyDivisionShape_base_OnBeginSize(_arg0,_arg1,_arg2);
12529
4268f798
RD
12530 wxPyEndAllowThreads(__tstate);
12531 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
12532} Py_INCREF(Py_None);
12533 _resultobj = Py_None;
12534 return _resultobj;
12535}
12536
12537#define wxPyDivisionShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
12538static PyObject *_wrap_wxPyDivisionShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12539 PyObject * _resultobj;
12540 wxPyDivisionShape * _arg0;
12541 double _arg1;
12542 double _arg2;
12543 PyObject * _argo0 = 0;
12544 char *_kwnames[] = { "self","w","h", NULL };
12545
12546 self = self;
12547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDivisionShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2))
12548 return NULL;
12549 if (_argo0) {
12550 if (_argo0 == Py_None) { _arg0 = NULL; }
12551 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
12552 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnEndSize. Expected _wxPyDivisionShape_p.");
12553 return NULL;
12554 }
12555 }
12556{
4268f798 12557 PyThreadState* __tstate = wxPyBeginAllowThreads();
e91a9dfc
RD
12558 wxPyDivisionShape_base_OnEndSize(_arg0,_arg1,_arg2);
12559
4268f798
RD
12560 wxPyEndAllowThreads(__tstate);
12561 if (PyErr_Occurred()) return NULL;
e91a9dfc
RD
12562} Py_INCREF(Py_None);
12563 _resultobj = Py_None;
12564 return _resultobj;
12565}
12566
12567static PyMethodDef oglshapescMethods[] = {
12568 { "wxPyDivisionShape_base_OnEndSize", (PyCFunction) _wrap_wxPyDivisionShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
12569 { "wxPyDivisionShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyDivisionShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
12570 { "wxPyDivisionShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12571 { "wxPyDivisionShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12572 { "wxPyDivisionShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
12573 { "wxPyDivisionShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyDivisionShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
12574 { "wxPyDivisionShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyDivisionShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
12575 { "wxPyDivisionShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
12576 { "wxPyDivisionShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
12577 { "wxPyDivisionShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyDivisionShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
12578 { "wxPyDivisionShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyDivisionShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
12579 { "wxPyDivisionShape_base_OnDragRight", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
12580 { "wxPyDivisionShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12581 { "wxPyDivisionShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12582 { "wxPyDivisionShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
12583 { "wxPyDivisionShape_base_OnMovePost", (PyCFunction) _wrap_wxPyDivisionShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
12584 { "wxPyDivisionShape_base_OnMovePre", (PyCFunction) _wrap_wxPyDivisionShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
12585 { "wxPyDivisionShape_base_OnSize", (PyCFunction) _wrap_wxPyDivisionShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
12586 { "wxPyDivisionShape_base_OnRightClick", (PyCFunction) _wrap_wxPyDivisionShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
12587 { "wxPyDivisionShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyDivisionShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
12588 { "wxPyDivisionShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyDivisionShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
12589 { "wxPyDivisionShape_base_OnHighlight", (PyCFunction) _wrap_wxPyDivisionShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
12590 { "wxPyDivisionShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyDivisionShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
12591 { "wxPyDivisionShape_base_OnErase", (PyCFunction) _wrap_wxPyDivisionShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
12592 { "wxPyDivisionShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyDivisionShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
12593 { "wxPyDivisionShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
12594 { "wxPyDivisionShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
12595 { "wxPyDivisionShape_base_OnDraw", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
12596 { "wxPyDivisionShape_base_OnDelete", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
12597 { "wxPyDivisionShape_SetTopSidePen", (PyCFunction) _wrap_wxPyDivisionShape_SetTopSidePen, METH_VARARGS | METH_KEYWORDS },
12598 { "wxPyDivisionShape_SetTopSideColour", (PyCFunction) _wrap_wxPyDivisionShape_SetTopSideColour, METH_VARARGS | METH_KEYWORDS },
12599 { "wxPyDivisionShape_SetTopSide", (PyCFunction) _wrap_wxPyDivisionShape_SetTopSide, METH_VARARGS | METH_KEYWORDS },
12600 { "wxPyDivisionShape_SetRightSide", (PyCFunction) _wrap_wxPyDivisionShape_SetRightSide, METH_VARARGS | METH_KEYWORDS },
12601 { "wxPyDivisionShape_SetLeftSidePen", (PyCFunction) _wrap_wxPyDivisionShape_SetLeftSidePen, METH_VARARGS | METH_KEYWORDS },
12602 { "wxPyDivisionShape_SetLeftSideColour", (PyCFunction) _wrap_wxPyDivisionShape_SetLeftSideColour, METH_VARARGS | METH_KEYWORDS },
12603 { "wxPyDivisionShape_SetLeftSide", (PyCFunction) _wrap_wxPyDivisionShape_SetLeftSide, METH_VARARGS | METH_KEYWORDS },
12604 { "wxPyDivisionShape_SetHandleSide", (PyCFunction) _wrap_wxPyDivisionShape_SetHandleSide, METH_VARARGS | METH_KEYWORDS },
12605 { "wxPyDivisionShape_SetBottomSide", (PyCFunction) _wrap_wxPyDivisionShape_SetBottomSide, METH_VARARGS | METH_KEYWORDS },
12606 { "wxPyDivisionShape_PopupMenu", (PyCFunction) _wrap_wxPyDivisionShape_PopupMenu, METH_VARARGS | METH_KEYWORDS },
12607 { "wxPyDivisionShape_ResizeAdjoining", (PyCFunction) _wrap_wxPyDivisionShape_ResizeAdjoining, METH_VARARGS | METH_KEYWORDS },
12608 { "wxPyDivisionShape_GetTopSidePen", (PyCFunction) _wrap_wxPyDivisionShape_GetTopSidePen, METH_VARARGS | METH_KEYWORDS },
12609 { "wxPyDivisionShape_GetTopSide", (PyCFunction) _wrap_wxPyDivisionShape_GetTopSide, METH_VARARGS | METH_KEYWORDS },
12610 { "wxPyDivisionShape_GetRightSide", (PyCFunction) _wrap_wxPyDivisionShape_GetRightSide, METH_VARARGS | METH_KEYWORDS },
12611 { "wxPyDivisionShape_GetLeftSidePen", (PyCFunction) _wrap_wxPyDivisionShape_GetLeftSidePen, METH_VARARGS | METH_KEYWORDS },
12612 { "wxPyDivisionShape_GetLeftSideColour", (PyCFunction) _wrap_wxPyDivisionShape_GetLeftSideColour, METH_VARARGS | METH_KEYWORDS },
12613 { "wxPyDivisionShape_GetLeftSide", (PyCFunction) _wrap_wxPyDivisionShape_GetLeftSide, METH_VARARGS | METH_KEYWORDS },
12614 { "wxPyDivisionShape_GetHandleSide", (PyCFunction) _wrap_wxPyDivisionShape_GetHandleSide, METH_VARARGS | METH_KEYWORDS },
12615 { "wxPyDivisionShape_GetBottomSide", (PyCFunction) _wrap_wxPyDivisionShape_GetBottomSide, METH_VARARGS | METH_KEYWORDS },
12616 { "wxPyDivisionShape_EditEdge", (PyCFunction) _wrap_wxPyDivisionShape_EditEdge, METH_VARARGS | METH_KEYWORDS },
12617 { "wxPyDivisionShape_Divide", (PyCFunction) _wrap_wxPyDivisionShape_Divide, METH_VARARGS | METH_KEYWORDS },
12618 { "wxPyDivisionShape_AdjustTop", (PyCFunction) _wrap_wxPyDivisionShape_AdjustTop, METH_VARARGS | METH_KEYWORDS },
12619 { "wxPyDivisionShape_AdjustRight", (PyCFunction) _wrap_wxPyDivisionShape_AdjustRight, METH_VARARGS | METH_KEYWORDS },
12620 { "wxPyDivisionShape_AdjustLeft", (PyCFunction) _wrap_wxPyDivisionShape_AdjustLeft, METH_VARARGS | METH_KEYWORDS },
12621 { "wxPyDivisionShape_AdjustBottom", (PyCFunction) _wrap_wxPyDivisionShape_AdjustBottom, METH_VARARGS | METH_KEYWORDS },
0122b7e3 12622 { "wxPyDivisionShape__setCallbackInfo", (PyCFunction) _wrap_wxPyDivisionShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
e91a9dfc
RD
12623 { "new_wxPyDivisionShape", (PyCFunction) _wrap_new_wxPyDivisionShape, METH_VARARGS | METH_KEYWORDS },
12624 { "wxPyDividedShape_base_OnEndSize", (PyCFunction) _wrap_wxPyDividedShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
12625 { "wxPyDividedShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyDividedShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
12626 { "wxPyDividedShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12627 { "wxPyDividedShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12628 { "wxPyDividedShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
12629 { "wxPyDividedShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyDividedShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
12630 { "wxPyDividedShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyDividedShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
12631 { "wxPyDividedShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyDividedShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
12632 { "wxPyDividedShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyDividedShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
12633 { "wxPyDividedShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyDividedShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
12634 { "wxPyDividedShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyDividedShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
12635 { "wxPyDividedShape_base_OnDragRight", (PyCFunction) _wrap_wxPyDividedShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
12636 { "wxPyDividedShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12637 { "wxPyDividedShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12638 { "wxPyDividedShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
12639 { "wxPyDividedShape_base_OnMovePost", (PyCFunction) _wrap_wxPyDividedShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
12640 { "wxPyDividedShape_base_OnMovePre", (PyCFunction) _wrap_wxPyDividedShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
12641 { "wxPyDividedShape_base_OnSize", (PyCFunction) _wrap_wxPyDividedShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
12642 { "wxPyDividedShape_base_OnRightClick", (PyCFunction) _wrap_wxPyDividedShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
12643 { "wxPyDividedShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyDividedShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
12644 { "wxPyDividedShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyDividedShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
12645 { "wxPyDividedShape_base_OnHighlight", (PyCFunction) _wrap_wxPyDividedShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
12646 { "wxPyDividedShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyDividedShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
12647 { "wxPyDividedShape_base_OnErase", (PyCFunction) _wrap_wxPyDividedShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
12648 { "wxPyDividedShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyDividedShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
12649 { "wxPyDividedShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyDividedShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
12650 { "wxPyDividedShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyDividedShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
12651 { "wxPyDividedShape_base_OnDraw", (PyCFunction) _wrap_wxPyDividedShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
12652 { "wxPyDividedShape_base_OnDelete", (PyCFunction) _wrap_wxPyDividedShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
12653 { "wxPyDividedShape_SetRegionSizes", (PyCFunction) _wrap_wxPyDividedShape_SetRegionSizes, METH_VARARGS | METH_KEYWORDS },
12654 { "wxPyDividedShape_EditRegions", (PyCFunction) _wrap_wxPyDividedShape_EditRegions, METH_VARARGS | METH_KEYWORDS },
0122b7e3 12655 { "wxPyDividedShape__setCallbackInfo", (PyCFunction) _wrap_wxPyDividedShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
e91a9dfc
RD
12656 { "new_wxPyDividedShape", (PyCFunction) _wrap_new_wxPyDividedShape, METH_VARARGS | METH_KEYWORDS },
12657 { "wxPyCompositeShape_base_OnEndSize", (PyCFunction) _wrap_wxPyCompositeShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
12658 { "wxPyCompositeShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyCompositeShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
12659 { "wxPyCompositeShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12660 { "wxPyCompositeShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12661 { "wxPyCompositeShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
12662 { "wxPyCompositeShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyCompositeShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
12663 { "wxPyCompositeShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyCompositeShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
12664 { "wxPyCompositeShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
12665 { "wxPyCompositeShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
12666 { "wxPyCompositeShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyCompositeShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
12667 { "wxPyCompositeShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyCompositeShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
12668 { "wxPyCompositeShape_base_OnDragRight", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
12669 { "wxPyCompositeShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12670 { "wxPyCompositeShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12671 { "wxPyCompositeShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
12672 { "wxPyCompositeShape_base_OnMovePost", (PyCFunction) _wrap_wxPyCompositeShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
12673 { "wxPyCompositeShape_base_OnMovePre", (PyCFunction) _wrap_wxPyCompositeShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
12674 { "wxPyCompositeShape_base_OnSize", (PyCFunction) _wrap_wxPyCompositeShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
12675 { "wxPyCompositeShape_base_OnRightClick", (PyCFunction) _wrap_wxPyCompositeShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
12676 { "wxPyCompositeShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyCompositeShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
12677 { "wxPyCompositeShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyCompositeShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
12678 { "wxPyCompositeShape_base_OnHighlight", (PyCFunction) _wrap_wxPyCompositeShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
12679 { "wxPyCompositeShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyCompositeShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
12680 { "wxPyCompositeShape_base_OnErase", (PyCFunction) _wrap_wxPyCompositeShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
12681 { "wxPyCompositeShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyCompositeShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
12682 { "wxPyCompositeShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
12683 { "wxPyCompositeShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
12684 { "wxPyCompositeShape_base_OnDraw", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
12685 { "wxPyCompositeShape_base_OnDelete", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
12686 { "wxPyCompositeShape_RemoveChild", (PyCFunction) _wrap_wxPyCompositeShape_RemoveChild, METH_VARARGS | METH_KEYWORDS },
12687 { "wxPyCompositeShape_Recompute", (PyCFunction) _wrap_wxPyCompositeShape_Recompute, METH_VARARGS | METH_KEYWORDS },
12688 { "wxPyCompositeShape_MakeContainer", (PyCFunction) _wrap_wxPyCompositeShape_MakeContainer, METH_VARARGS | METH_KEYWORDS },
12689 { "wxPyCompositeShape_GetDivisions", (PyCFunction) _wrap_wxPyCompositeShape_GetDivisions, METH_VARARGS | METH_KEYWORDS },
12690 { "wxPyCompositeShape_GetConstraints", (PyCFunction) _wrap_wxPyCompositeShape_GetConstraints, METH_VARARGS | METH_KEYWORDS },
12691 { "wxPyCompositeShape_FindContainerImage", (PyCFunction) _wrap_wxPyCompositeShape_FindContainerImage, METH_VARARGS | METH_KEYWORDS },
12692 { "wxPyCompositeShape_DeleteConstraintsInvolvingChild", (PyCFunction) _wrap_wxPyCompositeShape_DeleteConstraintsInvolvingChild, METH_VARARGS | METH_KEYWORDS },
12693 { "wxPyCompositeShape_DeleteConstraint", (PyCFunction) _wrap_wxPyCompositeShape_DeleteConstraint, METH_VARARGS | METH_KEYWORDS },
12694 { "wxPyCompositeShape_ContainsDivision", (PyCFunction) _wrap_wxPyCompositeShape_ContainsDivision, METH_VARARGS | METH_KEYWORDS },
12695 { "wxPyCompositeShape_CalculateSize", (PyCFunction) _wrap_wxPyCompositeShape_CalculateSize, METH_VARARGS | METH_KEYWORDS },
12696 { "wxPyCompositeShape_AddSimpleConstraint", (PyCFunction) _wrap_wxPyCompositeShape_AddSimpleConstraint, METH_VARARGS | METH_KEYWORDS },
714d23b4 12697 { "wxPyCompositeShape_AddConstrainedShapes", (PyCFunction) _wrap_wxPyCompositeShape_AddConstrainedShapes, METH_VARARGS | METH_KEYWORDS },
e91a9dfc
RD
12698 { "wxPyCompositeShape_AddConstraint", (PyCFunction) _wrap_wxPyCompositeShape_AddConstraint, METH_VARARGS | METH_KEYWORDS },
12699 { "wxPyCompositeShape_AddChild", (PyCFunction) _wrap_wxPyCompositeShape_AddChild, METH_VARARGS | METH_KEYWORDS },
0122b7e3 12700 { "wxPyCompositeShape__setCallbackInfo", (PyCFunction) _wrap_wxPyCompositeShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
e91a9dfc
RD
12701 { "new_wxPyCompositeShape", (PyCFunction) _wrap_new_wxPyCompositeShape, METH_VARARGS | METH_KEYWORDS },
12702 { "wxOGLConstraint_Equals", (PyCFunction) _wrap_wxOGLConstraint_Equals, METH_VARARGS | METH_KEYWORDS },
12703 { "wxOGLConstraint_SetSpacing", (PyCFunction) _wrap_wxOGLConstraint_SetSpacing, METH_VARARGS | METH_KEYWORDS },
12704 { "wxOGLConstraint_Evaluate", (PyCFunction) _wrap_wxOGLConstraint_Evaluate, METH_VARARGS | METH_KEYWORDS },
e91a9dfc
RD
12705 { "new_wxOGLConstraint", (PyCFunction) _wrap_new_wxOGLConstraint, METH_VARARGS | METH_KEYWORDS },
12706 { "wxPyDrawnShape_base_OnEndSize", (PyCFunction) _wrap_wxPyDrawnShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
12707 { "wxPyDrawnShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyDrawnShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
12708 { "wxPyDrawnShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12709 { "wxPyDrawnShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12710 { "wxPyDrawnShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
12711 { "wxPyDrawnShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyDrawnShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
12712 { "wxPyDrawnShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyDrawnShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
12713 { "wxPyDrawnShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
12714 { "wxPyDrawnShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
12715 { "wxPyDrawnShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyDrawnShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
12716 { "wxPyDrawnShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyDrawnShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
12717 { "wxPyDrawnShape_base_OnDragRight", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
12718 { "wxPyDrawnShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12719 { "wxPyDrawnShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12720 { "wxPyDrawnShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
12721 { "wxPyDrawnShape_base_OnMovePost", (PyCFunction) _wrap_wxPyDrawnShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
12722 { "wxPyDrawnShape_base_OnMovePre", (PyCFunction) _wrap_wxPyDrawnShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
12723 { "wxPyDrawnShape_base_OnSize", (PyCFunction) _wrap_wxPyDrawnShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
12724 { "wxPyDrawnShape_base_OnRightClick", (PyCFunction) _wrap_wxPyDrawnShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
12725 { "wxPyDrawnShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyDrawnShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
12726 { "wxPyDrawnShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyDrawnShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
12727 { "wxPyDrawnShape_base_OnHighlight", (PyCFunction) _wrap_wxPyDrawnShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
12728 { "wxPyDrawnShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyDrawnShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
12729 { "wxPyDrawnShape_base_OnErase", (PyCFunction) _wrap_wxPyDrawnShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
12730 { "wxPyDrawnShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyDrawnShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
12731 { "wxPyDrawnShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
12732 { "wxPyDrawnShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
12733 { "wxPyDrawnShape_base_OnDraw", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
12734 { "wxPyDrawnShape_base_OnDelete", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
12735 { "wxPyDrawnShape_Translate", (PyCFunction) _wrap_wxPyDrawnShape_Translate, METH_VARARGS | METH_KEYWORDS },
12736 { "wxPyDrawnShape_SetSaveToFile", (PyCFunction) _wrap_wxPyDrawnShape_SetSaveToFile, METH_VARARGS | METH_KEYWORDS },
12737 { "wxPyDrawnShape_Scale", (PyCFunction) _wrap_wxPyDrawnShape_Scale, METH_VARARGS | METH_KEYWORDS },
12738 { "wxPyDrawnShape_SetDrawnTextColour", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnTextColour, METH_VARARGS | METH_KEYWORDS },
12739 { "wxPyDrawnShape_SetDrawnPen", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnPen, METH_VARARGS | METH_KEYWORDS },
12740 { "wxPyDrawnShape_SetDrawnFont", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnFont, METH_VARARGS | METH_KEYWORDS },
12741 { "wxPyDrawnShape_SetDrawnBrush", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnBrush, METH_VARARGS | METH_KEYWORDS },
12742 { "wxPyDrawnShape_SetDrawnBackgroundMode", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnBackgroundMode, METH_VARARGS | METH_KEYWORDS },
12743 { "wxPyDrawnShape_SetDrawnBackgroundColour", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12744 { "wxPyDrawnShape_SetClippingRect", (PyCFunction) _wrap_wxPyDrawnShape_SetClippingRect, METH_VARARGS | METH_KEYWORDS },
12745 { "wxPyDrawnShape_Rotate", (PyCFunction) _wrap_wxPyDrawnShape_Rotate, METH_VARARGS | METH_KEYWORDS },
12746 { "wxPyDrawnShape_LoadFromMetaFile", (PyCFunction) _wrap_wxPyDrawnShape_LoadFromMetaFile, METH_VARARGS | METH_KEYWORDS },
12747 { "wxPyDrawnShape_GetRotation", (PyCFunction) _wrap_wxPyDrawnShape_GetRotation, METH_VARARGS | METH_KEYWORDS },
12748 { "wxPyDrawnShape_GetMetaFile", (PyCFunction) _wrap_wxPyDrawnShape_GetMetaFile, METH_VARARGS | METH_KEYWORDS },
12749 { "wxPyDrawnShape_GetAngle", (PyCFunction) _wrap_wxPyDrawnShape_GetAngle, METH_VARARGS | METH_KEYWORDS },
12750 { "wxPyDrawnShape_DrawText", (PyCFunction) _wrap_wxPyDrawnShape_DrawText, METH_VARARGS | METH_KEYWORDS },
12751 { "wxPyDrawnShape_DrawSpline", (PyCFunction) _wrap_wxPyDrawnShape_DrawSpline, METH_VARARGS | METH_KEYWORDS },
12752 { "wxPyDrawnShape_DrawRoundedRectangle", (PyCFunction) _wrap_wxPyDrawnShape_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS },
12753 { "wxPyDrawnShape_DrawRectangle", (PyCFunction) _wrap_wxPyDrawnShape_DrawRectangle, METH_VARARGS | METH_KEYWORDS },
12754 { "wxPyDrawnShape_DrawPolygon", (PyCFunction) _wrap_wxPyDrawnShape_DrawPolygon, METH_VARARGS | METH_KEYWORDS },
12755 { "wxPyDrawnShape_DrawPoint", (PyCFunction) _wrap_wxPyDrawnShape_DrawPoint, METH_VARARGS | METH_KEYWORDS },
12756 { "wxPyDrawnShape_DrawLines", (PyCFunction) _wrap_wxPyDrawnShape_DrawLines, METH_VARARGS | METH_KEYWORDS },
12757 { "wxPyDrawnShape_DrawLine", (PyCFunction) _wrap_wxPyDrawnShape_DrawLine, METH_VARARGS | METH_KEYWORDS },
12758 { "wxPyDrawnShape_DrawEllipticArc", (PyCFunction) _wrap_wxPyDrawnShape_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS },
12759 { "wxPyDrawnShape_DrawAtAngle", (PyCFunction) _wrap_wxPyDrawnShape_DrawAtAngle, METH_VARARGS | METH_KEYWORDS },
12760 { "wxPyDrawnShape_DrawArc", (PyCFunction) _wrap_wxPyDrawnShape_DrawArc, METH_VARARGS | METH_KEYWORDS },
12761 { "wxPyDrawnShape_DestroyClippingRect", (PyCFunction) _wrap_wxPyDrawnShape_DestroyClippingRect, METH_VARARGS | METH_KEYWORDS },
12762 { "wxPyDrawnShape_CalculateSize", (PyCFunction) _wrap_wxPyDrawnShape_CalculateSize, METH_VARARGS | METH_KEYWORDS },
0122b7e3 12763 { "wxPyDrawnShape__setCallbackInfo", (PyCFunction) _wrap_wxPyDrawnShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
e91a9dfc
RD
12764 { "new_wxPyDrawnShape", (PyCFunction) _wrap_new_wxPyDrawnShape, METH_VARARGS | METH_KEYWORDS },
12765 { "wxPyBitmapShape_base_OnEndSize", (PyCFunction) _wrap_wxPyBitmapShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
12766 { "wxPyBitmapShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyBitmapShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
12767 { "wxPyBitmapShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12768 { "wxPyBitmapShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12769 { "wxPyBitmapShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
12770 { "wxPyBitmapShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyBitmapShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
12771 { "wxPyBitmapShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyBitmapShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
12772 { "wxPyBitmapShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
12773 { "wxPyBitmapShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
12774 { "wxPyBitmapShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyBitmapShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
12775 { "wxPyBitmapShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyBitmapShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
12776 { "wxPyBitmapShape_base_OnDragRight", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
12777 { "wxPyBitmapShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12778 { "wxPyBitmapShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12779 { "wxPyBitmapShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
12780 { "wxPyBitmapShape_base_OnMovePost", (PyCFunction) _wrap_wxPyBitmapShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
12781 { "wxPyBitmapShape_base_OnMovePre", (PyCFunction) _wrap_wxPyBitmapShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
12782 { "wxPyBitmapShape_base_OnSize", (PyCFunction) _wrap_wxPyBitmapShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
12783 { "wxPyBitmapShape_base_OnRightClick", (PyCFunction) _wrap_wxPyBitmapShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
12784 { "wxPyBitmapShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyBitmapShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
12785 { "wxPyBitmapShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyBitmapShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
12786 { "wxPyBitmapShape_base_OnHighlight", (PyCFunction) _wrap_wxPyBitmapShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
12787 { "wxPyBitmapShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyBitmapShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
12788 { "wxPyBitmapShape_base_OnErase", (PyCFunction) _wrap_wxPyBitmapShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
12789 { "wxPyBitmapShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyBitmapShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
12790 { "wxPyBitmapShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
12791 { "wxPyBitmapShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
12792 { "wxPyBitmapShape_base_OnDraw", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
12793 { "wxPyBitmapShape_base_OnDelete", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
12794 { "wxPyBitmapShape_SetFilename", (PyCFunction) _wrap_wxPyBitmapShape_SetFilename, METH_VARARGS | METH_KEYWORDS },
12795 { "wxPyBitmapShape_SetBitmap", (PyCFunction) _wrap_wxPyBitmapShape_SetBitmap, METH_VARARGS | METH_KEYWORDS },
12796 { "wxPyBitmapShape_GetFilename", (PyCFunction) _wrap_wxPyBitmapShape_GetFilename, METH_VARARGS | METH_KEYWORDS },
12797 { "wxPyBitmapShape_GetBitmap", (PyCFunction) _wrap_wxPyBitmapShape_GetBitmap, METH_VARARGS | METH_KEYWORDS },
0122b7e3 12798 { "wxPyBitmapShape__setCallbackInfo", (PyCFunction) _wrap_wxPyBitmapShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
e91a9dfc 12799 { "new_wxPyBitmapShape", (PyCFunction) _wrap_new_wxPyBitmapShape, METH_VARARGS | METH_KEYWORDS },
2348eaee
RD
12800 { "wxPyControlPoint_base_OnEndSize", (PyCFunction) _wrap_wxPyControlPoint_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
12801 { "wxPyControlPoint_base_OnBeginSize", (PyCFunction) _wrap_wxPyControlPoint_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
12802 { "wxPyControlPoint_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyControlPoint_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12803 { "wxPyControlPoint_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyControlPoint_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12804 { "wxPyControlPoint_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyControlPoint_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
12805 { "wxPyControlPoint_base_OnMoveLink", (PyCFunction) _wrap_wxPyControlPoint_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
12806 { "wxPyControlPoint_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyControlPoint_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
12807 { "wxPyControlPoint_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyControlPoint_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
12808 { "wxPyControlPoint_base_OnDrawOutline", (PyCFunction) _wrap_wxPyControlPoint_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
12809 { "wxPyControlPoint_base_OnEndDragRight", (PyCFunction) _wrap_wxPyControlPoint_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
12810 { "wxPyControlPoint_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyControlPoint_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
12811 { "wxPyControlPoint_base_OnDragRight", (PyCFunction) _wrap_wxPyControlPoint_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
12812 { "wxPyControlPoint_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyControlPoint_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12813 { "wxPyControlPoint_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyControlPoint_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12814 { "wxPyControlPoint_base_OnDragLeft", (PyCFunction) _wrap_wxPyControlPoint_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
12815 { "wxPyControlPoint_base_OnMovePost", (PyCFunction) _wrap_wxPyControlPoint_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
12816 { "wxPyControlPoint_base_OnMovePre", (PyCFunction) _wrap_wxPyControlPoint_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
12817 { "wxPyControlPoint_base_OnSize", (PyCFunction) _wrap_wxPyControlPoint_base_OnSize, METH_VARARGS | METH_KEYWORDS },
12818 { "wxPyControlPoint_base_OnRightClick", (PyCFunction) _wrap_wxPyControlPoint_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
12819 { "wxPyControlPoint_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyControlPoint_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
12820 { "wxPyControlPoint_base_OnLeftClick", (PyCFunction) _wrap_wxPyControlPoint_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
12821 { "wxPyControlPoint_base_OnHighlight", (PyCFunction) _wrap_wxPyControlPoint_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
12822 { "wxPyControlPoint_base_OnEraseContents", (PyCFunction) _wrap_wxPyControlPoint_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
12823 { "wxPyControlPoint_base_OnErase", (PyCFunction) _wrap_wxPyControlPoint_base_OnErase, METH_VARARGS | METH_KEYWORDS },
12824 { "wxPyControlPoint_base_OnMoveLinks", (PyCFunction) _wrap_wxPyControlPoint_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
12825 { "wxPyControlPoint_base_OnDrawBranches", (PyCFunction) _wrap_wxPyControlPoint_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
12826 { "wxPyControlPoint_base_OnDrawContents", (PyCFunction) _wrap_wxPyControlPoint_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
12827 { "wxPyControlPoint_base_OnDraw", (PyCFunction) _wrap_wxPyControlPoint_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
12828 { "wxPyControlPoint_base_OnDelete", (PyCFunction) _wrap_wxPyControlPoint_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
12829 { "wxPyControlPoint_SetCornerRadius", (PyCFunction) _wrap_wxPyControlPoint_SetCornerRadius, METH_VARARGS | METH_KEYWORDS },
0122b7e3 12830 { "wxPyControlPoint__setCallbackInfo", (PyCFunction) _wrap_wxPyControlPoint__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
2348eaee 12831 { "new_wxPyControlPoint", (PyCFunction) _wrap_new_wxPyControlPoint, METH_VARARGS | METH_KEYWORDS },
e91a9dfc
RD
12832 { "wxPyRectangleShape_base_OnEndSize", (PyCFunction) _wrap_wxPyRectangleShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
12833 { "wxPyRectangleShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyRectangleShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
12834 { "wxPyRectangleShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12835 { "wxPyRectangleShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12836 { "wxPyRectangleShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
12837 { "wxPyRectangleShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyRectangleShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
12838 { "wxPyRectangleShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyRectangleShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
12839 { "wxPyRectangleShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
12840 { "wxPyRectangleShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
12841 { "wxPyRectangleShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyRectangleShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
12842 { "wxPyRectangleShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyRectangleShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
12843 { "wxPyRectangleShape_base_OnDragRight", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
12844 { "wxPyRectangleShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12845 { "wxPyRectangleShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12846 { "wxPyRectangleShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
12847 { "wxPyRectangleShape_base_OnMovePost", (PyCFunction) _wrap_wxPyRectangleShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
12848 { "wxPyRectangleShape_base_OnMovePre", (PyCFunction) _wrap_wxPyRectangleShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
12849 { "wxPyRectangleShape_base_OnSize", (PyCFunction) _wrap_wxPyRectangleShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
12850 { "wxPyRectangleShape_base_OnRightClick", (PyCFunction) _wrap_wxPyRectangleShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
12851 { "wxPyRectangleShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyRectangleShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
12852 { "wxPyRectangleShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyRectangleShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
12853 { "wxPyRectangleShape_base_OnHighlight", (PyCFunction) _wrap_wxPyRectangleShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
12854 { "wxPyRectangleShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyRectangleShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
12855 { "wxPyRectangleShape_base_OnErase", (PyCFunction) _wrap_wxPyRectangleShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
12856 { "wxPyRectangleShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyRectangleShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
12857 { "wxPyRectangleShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
12858 { "wxPyRectangleShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
12859 { "wxPyRectangleShape_base_OnDraw", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
12860 { "wxPyRectangleShape_base_OnDelete", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
12861 { "wxPyRectangleShape_SetCornerRadius", (PyCFunction) _wrap_wxPyRectangleShape_SetCornerRadius, METH_VARARGS | METH_KEYWORDS },
0122b7e3 12862 { "wxPyRectangleShape__setCallbackInfo", (PyCFunction) _wrap_wxPyRectangleShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
e91a9dfc
RD
12863 { "new_wxPyRectangleShape", (PyCFunction) _wrap_new_wxPyRectangleShape, METH_VARARGS | METH_KEYWORDS },
12864 { "wxPseudoMetaFile_SetBackgroundMode", (PyCFunction) _wrap_wxPseudoMetaFile_SetBackgroundMode, METH_VARARGS | METH_KEYWORDS },
12865 { "wxPseudoMetaFile_SetBackgroundColour", (PyCFunction) _wrap_wxPseudoMetaFile_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12866 { "wxPseudoMetaFile_SetTextColour", (PyCFunction) _wrap_wxPseudoMetaFile_SetTextColour, METH_VARARGS | METH_KEYWORDS },
12867 { "wxPseudoMetaFile_SetFont", (PyCFunction) _wrap_wxPseudoMetaFile_SetFont, METH_VARARGS | METH_KEYWORDS },
12868 { "wxPseudoMetaFile_SetBrush", (PyCFunction) _wrap_wxPseudoMetaFile_SetBrush, METH_VARARGS | METH_KEYWORDS },
12869 { "wxPseudoMetaFile_SetPen", (PyCFunction) _wrap_wxPseudoMetaFile_SetPen, METH_VARARGS | METH_KEYWORDS },
12870 { "wxPseudoMetaFile_DestroyClippingRect", (PyCFunction) _wrap_wxPseudoMetaFile_DestroyClippingRect, METH_VARARGS | METH_KEYWORDS },
12871 { "wxPseudoMetaFile_SetClippingRect", (PyCFunction) _wrap_wxPseudoMetaFile_SetClippingRect, METH_VARARGS | METH_KEYWORDS },
12872 { "wxPseudoMetaFile_DrawSpline", (PyCFunction) _wrap_wxPseudoMetaFile_DrawSpline, METH_VARARGS | METH_KEYWORDS },
12873 { "wxPseudoMetaFile_DrawPolygon", (PyCFunction) _wrap_wxPseudoMetaFile_DrawPolygon, METH_VARARGS | METH_KEYWORDS },
12874 { "wxPseudoMetaFile_DrawLines", (PyCFunction) _wrap_wxPseudoMetaFile_DrawLines, METH_VARARGS | METH_KEYWORDS },
12875 { "wxPseudoMetaFile_DrawText", (PyCFunction) _wrap_wxPseudoMetaFile_DrawText, METH_VARARGS | METH_KEYWORDS },
12876 { "wxPseudoMetaFile_DrawPoint", (PyCFunction) _wrap_wxPseudoMetaFile_DrawPoint, METH_VARARGS | METH_KEYWORDS },
12877 { "wxPseudoMetaFile_DrawEllipse", (PyCFunction) _wrap_wxPseudoMetaFile_DrawEllipse, METH_VARARGS | METH_KEYWORDS },
12878 { "wxPseudoMetaFile_DrawEllipticArc", (PyCFunction) _wrap_wxPseudoMetaFile_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS },
12879 { "wxPseudoMetaFile_DrawArc", (PyCFunction) _wrap_wxPseudoMetaFile_DrawArc, METH_VARARGS | METH_KEYWORDS },
12880 { "wxPseudoMetaFile_DrawRoundedRectangle", (PyCFunction) _wrap_wxPseudoMetaFile_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS },
12881 { "wxPseudoMetaFile_DrawRectangle", (PyCFunction) _wrap_wxPseudoMetaFile_DrawRectangle, METH_VARARGS | METH_KEYWORDS },
12882 { "wxPseudoMetaFile_DrawLine", (PyCFunction) _wrap_wxPseudoMetaFile_DrawLine, METH_VARARGS | METH_KEYWORDS },
12883 { "wxPseudoMetaFile_IsValid", (PyCFunction) _wrap_wxPseudoMetaFile_IsValid, METH_VARARGS | METH_KEYWORDS },
12884 { "wxPseudoMetaFile_GetOutlineOp", (PyCFunction) _wrap_wxPseudoMetaFile_GetOutlineOp, METH_VARARGS | METH_KEYWORDS },
12885 { "wxPseudoMetaFile_SetOutlineOp", (PyCFunction) _wrap_wxPseudoMetaFile_SetOutlineOp, METH_VARARGS | METH_KEYWORDS },
12886 { "wxPseudoMetaFile_GetOutlinePen", (PyCFunction) _wrap_wxPseudoMetaFile_GetOutlinePen, METH_VARARGS | METH_KEYWORDS },
12887 { "wxPseudoMetaFile_SetOutlinePen", (PyCFunction) _wrap_wxPseudoMetaFile_SetOutlinePen, METH_VARARGS | METH_KEYWORDS },
12888 { "wxPseudoMetaFile_GetFillBrush", (PyCFunction) _wrap_wxPseudoMetaFile_GetFillBrush, METH_VARARGS | METH_KEYWORDS },
12889 { "wxPseudoMetaFile_SetFillBrush", (PyCFunction) _wrap_wxPseudoMetaFile_SetFillBrush, METH_VARARGS | METH_KEYWORDS },
12890 { "wxPseudoMetaFile_SetSize", (PyCFunction) _wrap_wxPseudoMetaFile_SetSize, METH_VARARGS | METH_KEYWORDS },
12891 { "wxPseudoMetaFile_GetRotateable", (PyCFunction) _wrap_wxPseudoMetaFile_GetRotateable, METH_VARARGS | METH_KEYWORDS },
12892 { "wxPseudoMetaFile_SetRotateable", (PyCFunction) _wrap_wxPseudoMetaFile_SetRotateable, METH_VARARGS | METH_KEYWORDS },
12893 { "wxPseudoMetaFile_CalculateSize", (PyCFunction) _wrap_wxPseudoMetaFile_CalculateSize, METH_VARARGS | METH_KEYWORDS },
12894 { "wxPseudoMetaFile_GetBounds", (PyCFunction) _wrap_wxPseudoMetaFile_GetBounds, METH_VARARGS | METH_KEYWORDS },
12895 { "wxPseudoMetaFile_LoadFromMetaFile", (PyCFunction) _wrap_wxPseudoMetaFile_LoadFromMetaFile, METH_VARARGS | METH_KEYWORDS },
12896 { "wxPseudoMetaFile_Rotate", (PyCFunction) _wrap_wxPseudoMetaFile_Rotate, METH_VARARGS | METH_KEYWORDS },
12897 { "wxPseudoMetaFile_Translate", (PyCFunction) _wrap_wxPseudoMetaFile_Translate, METH_VARARGS | METH_KEYWORDS },
12898 { "wxPseudoMetaFile_ScaleTo", (PyCFunction) _wrap_wxPseudoMetaFile_ScaleTo, METH_VARARGS | METH_KEYWORDS },
12899 { "wxPseudoMetaFile_Scale", (PyCFunction) _wrap_wxPseudoMetaFile_Scale, METH_VARARGS | METH_KEYWORDS },
12900 { "wxPseudoMetaFile_Copy", (PyCFunction) _wrap_wxPseudoMetaFile_Copy, METH_VARARGS | METH_KEYWORDS },
12901 { "wxPseudoMetaFile_Clear", (PyCFunction) _wrap_wxPseudoMetaFile_Clear, METH_VARARGS | METH_KEYWORDS },
12902 { "wxPseudoMetaFile_ReadAttributes", (PyCFunction) _wrap_wxPseudoMetaFile_ReadAttributes, METH_VARARGS | METH_KEYWORDS },
12903 { "wxPseudoMetaFile_WriteAttributes", (PyCFunction) _wrap_wxPseudoMetaFile_WriteAttributes, METH_VARARGS | METH_KEYWORDS },
12904 { "wxPseudoMetaFile_Draw", (PyCFunction) _wrap_wxPseudoMetaFile_Draw, METH_VARARGS | METH_KEYWORDS },
12905 { "delete_wxPseudoMetaFile", (PyCFunction) _wrap_delete_wxPseudoMetaFile, METH_VARARGS | METH_KEYWORDS },
12906 { "new_wxPseudoMetaFile", (PyCFunction) _wrap_new_wxPseudoMetaFile, METH_VARARGS | METH_KEYWORDS },
12907 { NULL, NULL }
12908};
12909#ifdef __cplusplus
12910}
12911#endif
12912/*
12913 * This table is used by the pointer type-checker
12914 */
12915static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
e91a9dfc 12916 { "_signed_long","_long",0},
eec92d76 12917 { "_wxPrintQuality","_wxCoord",0},
e91a9dfc
RD
12918 { "_wxPrintQuality","_int",0},
12919 { "_wxPrintQuality","_signed_int",0},
12920 { "_wxPrintQuality","_unsigned_int",0},
12921 { "_wxPrintQuality","_wxWindowID",0},
12922 { "_wxPrintQuality","_uint",0},
12923 { "_wxPrintQuality","_EBool",0},
12924 { "_wxPrintQuality","_size_t",0},
c368d904 12925 { "_wxPrintQuality","_time_t",0},
e91a9dfc 12926 { "_wxPyCompositeShape","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyCompositeShape},
e91a9dfc 12927 { "_byte","_unsigned_char",0},
e91a9dfc
RD
12928 { "_long","_unsigned_long",0},
12929 { "_long","_signed_long",0},
eec92d76 12930 { "_size_t","_wxCoord",0},
e91a9dfc 12931 { "_size_t","_wxPrintQuality",0},
c368d904 12932 { "_size_t","_time_t",0},
e91a9dfc
RD
12933 { "_size_t","_unsigned_int",0},
12934 { "_size_t","_int",0},
12935 { "_size_t","_wxWindowID",0},
12936 { "_size_t","_uint",0},
eec92d76 12937 { "_uint","_wxCoord",0},
e91a9dfc 12938 { "_uint","_wxPrintQuality",0},
c368d904 12939 { "_uint","_time_t",0},
e91a9dfc
RD
12940 { "_uint","_size_t",0},
12941 { "_uint","_unsigned_int",0},
12942 { "_uint","_int",0},
12943 { "_uint","_wxWindowID",0},
c368d904 12944 { "_wxChar","_char",0},
c368d904 12945 { "_char","_wxChar",0},
19a97bd6 12946 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
eec92d76 12947 { "_EBool","_wxCoord",0},
e91a9dfc
RD
12948 { "_EBool","_wxPrintQuality",0},
12949 { "_EBool","_signed_int",0},
12950 { "_EBool","_int",0},
12951 { "_EBool","_wxWindowID",0},
e91a9dfc 12952 { "_unsigned_long","_long",0},
19a97bd6 12953 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
eec92d76 12954 { "_signed_int","_wxCoord",0},
e91a9dfc
RD
12955 { "_signed_int","_wxPrintQuality",0},
12956 { "_signed_int","_EBool",0},
12957 { "_signed_int","_wxWindowID",0},
12958 { "_signed_int","_int",0},
c368d904 12959 { "_WXTYPE","_wxDateTime_t",0},
e91a9dfc
RD
12960 { "_WXTYPE","_short",0},
12961 { "_WXTYPE","_signed_short",0},
12962 { "_WXTYPE","_unsigned_short",0},
c368d904 12963 { "_unsigned_short","_wxDateTime_t",0},
e91a9dfc
RD
12964 { "_unsigned_short","_WXTYPE",0},
12965 { "_unsigned_short","_short",0},
9416aa89 12966 { "_wxObject","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxObject},
9416aa89 12967 { "_wxObject","_wxPyDividedShape",SwigwxPyDividedShapeTowxObject},
9416aa89 12968 { "_wxObject","_wxPyCompositeShape",SwigwxPyCompositeShapeTowxObject},
9416aa89 12969 { "_wxObject","_wxOGLConstraint",SwigwxOGLConstraintTowxObject},
9416aa89 12970 { "_wxObject","_wxPyDrawnShape",SwigwxPyDrawnShapeTowxObject},
9416aa89 12971 { "_wxObject","_wxPyBitmapShape",SwigwxPyBitmapShapeTowxObject},
9416aa89 12972 { "_wxObject","_wxPyControlPoint",SwigwxPyControlPointTowxObject},
9416aa89 12973 { "_wxObject","_wxPyRectangleShape",SwigwxPyRectangleShapeTowxObject},
9416aa89 12974 { "_wxObject","_wxPseudoMetaFile",SwigwxPseudoMetaFileTowxObject},
e91a9dfc
RD
12975 { "_signed_short","_WXTYPE",0},
12976 { "_signed_short","_short",0},
e91a9dfc 12977 { "_wxPyShape","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyShape},
e91a9dfc 12978 { "_wxPyShape","_wxPyDividedShape",SwigwxPyDividedShapeTowxPyShape},
e91a9dfc 12979 { "_wxPyShape","_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyShape},
e91a9dfc 12980 { "_wxPyShape","_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyShape},
e91a9dfc 12981 { "_wxPyShape","_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyShape},
2348eaee 12982 { "_wxPyShape","_wxPyControlPoint",SwigwxPyControlPointTowxPyShape},
e91a9dfc 12983 { "_wxPyShape","_wxPyRectangleShape",SwigwxPyRectangleShapeTowxPyShape},
e91a9dfc 12984 { "_unsigned_char","_byte",0},
eec92d76 12985 { "_unsigned_int","_wxCoord",0},
e91a9dfc 12986 { "_unsigned_int","_wxPrintQuality",0},
c368d904 12987 { "_unsigned_int","_time_t",0},
e91a9dfc
RD
12988 { "_unsigned_int","_size_t",0},
12989 { "_unsigned_int","_uint",0},
12990 { "_unsigned_int","_wxWindowID",0},
12991 { "_unsigned_int","_int",0},
c368d904 12992 { "_short","_wxDateTime_t",0},
e91a9dfc
RD
12993 { "_short","_WXTYPE",0},
12994 { "_short","_unsigned_short",0},
12995 { "_short","_signed_short",0},
eec92d76 12996 { "_wxWindowID","_wxCoord",0},
e91a9dfc 12997 { "_wxWindowID","_wxPrintQuality",0},
c368d904 12998 { "_wxWindowID","_time_t",0},
e91a9dfc
RD
12999 { "_wxWindowID","_size_t",0},
13000 { "_wxWindowID","_EBool",0},
13001 { "_wxWindowID","_uint",0},
13002 { "_wxWindowID","_int",0},
13003 { "_wxWindowID","_signed_int",0},
13004 { "_wxWindowID","_unsigned_int",0},
eec92d76 13005 { "_int","_wxCoord",0},
e91a9dfc 13006 { "_int","_wxPrintQuality",0},
c368d904 13007 { "_int","_time_t",0},
e91a9dfc
RD
13008 { "_int","_size_t",0},
13009 { "_int","_EBool",0},
13010 { "_int","_uint",0},
13011 { "_int","_wxWindowID",0},
13012 { "_int","_unsigned_int",0},
13013 { "_int","_signed_int",0},
c368d904
RD
13014 { "_wxDateTime_t","_unsigned_short",0},
13015 { "_wxDateTime_t","_short",0},
13016 { "_wxDateTime_t","_WXTYPE",0},
c368d904
RD
13017 { "_time_t","_wxCoord",0},
13018 { "_time_t","_wxPrintQuality",0},
13019 { "_time_t","_unsigned_int",0},
13020 { "_time_t","_int",0},
13021 { "_time_t","_wxWindowID",0},
13022 { "_time_t","_uint",0},
13023 { "_time_t","_size_t",0},
eec92d76
RD
13024 { "_wxCoord","_int",0},
13025 { "_wxCoord","_signed_int",0},
13026 { "_wxCoord","_unsigned_int",0},
13027 { "_wxCoord","_wxWindowID",0},
13028 { "_wxCoord","_uint",0},
13029 { "_wxCoord","_EBool",0},
13030 { "_wxCoord","_size_t",0},
c368d904 13031 { "_wxCoord","_time_t",0},
eec92d76 13032 { "_wxCoord","_wxPrintQuality",0},
e91a9dfc 13033 { "_wxPyShapeEvtHandler","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyShapeEvtHandler},
e91a9dfc 13034 { "_wxPyShapeEvtHandler","_wxPyDividedShape",SwigwxPyDividedShapeTowxPyShapeEvtHandler},
e91a9dfc 13035 { "_wxPyShapeEvtHandler","_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyShapeEvtHandler},
e91a9dfc 13036 { "_wxPyShapeEvtHandler","_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyShapeEvtHandler},
e91a9dfc 13037 { "_wxPyShapeEvtHandler","_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyShapeEvtHandler},
2348eaee 13038 { "_wxPyShapeEvtHandler","_wxPyControlPoint",SwigwxPyControlPointTowxPyShapeEvtHandler},
e91a9dfc 13039 { "_wxPyShapeEvtHandler","_wxPyRectangleShape",SwigwxPyRectangleShapeTowxPyShapeEvtHandler},
e91a9dfc 13040 { "_wxPyRectangleShape","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyRectangleShape},
e91a9dfc 13041 { "_wxPyRectangleShape","_wxPyDividedShape",SwigwxPyDividedShapeTowxPyRectangleShape},
e91a9dfc 13042 { "_wxPyRectangleShape","_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyRectangleShape},
e91a9dfc 13043 { "_wxPyRectangleShape","_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyRectangleShape},
e91a9dfc 13044 { "_wxPyRectangleShape","_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyRectangleShape},
2348eaee 13045 { "_wxPyRectangleShape","_wxPyControlPoint",SwigwxPyControlPointTowxPyRectangleShape},
e91a9dfc
RD
13046{0,0,0}};
13047
13048static PyObject *SWIG_globals;
13049#ifdef __cplusplus
13050extern "C"
13051#endif
13052SWIGEXPORT(void) initoglshapesc() {
13053 PyObject *m, *d;
13054 SWIG_globals = SWIG_newvarlink();
13055 m = Py_InitModule("oglshapesc", oglshapescMethods);
13056 d = PyModule_GetDict(m);
13057{
13058 int i;
13059 for (i = 0; _swig_mapping[i].n1; i++)
13060 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
13061}
13062}