2 * FILE : contrib/ogl/oglshapes2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
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.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initoglshapes2c
56 #define SWIG_name "oglshapes2c"
59 #include "oglhelpers.h"
62 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
68 } else if (target
== Py_None
) {
72 if (!PyTuple_Check(target
)) {
74 target
= PyTuple_New(1);
75 PyTuple_SetItem(target
, 0, o2
);
78 PyTuple_SetItem(o3
, 0, o
);
81 target
= PySequence_Concat(o2
, o3
);
88 #if PYTHON_API_VERSION >= 1009
89 static char* wxStringErrorMsg
= "String or Unicode type required";
91 static char* wxStringErrorMsg
= "String type required";
94 WXSHAPE_IMP_CALLBACKS(wxPyEllipseShape
, wxEllipseShape
);
96 WXSHAPE_IMP_CALLBACKS(wxPyCircleShape
, wxCircleShape
);
98 WXSHAPE_IMP_CALLBACKS(wxPyLineShape
, wxLineShape
);
100 WXSHAPE_IMP_CALLBACKS(wxPyPolygonShape
, wxPolygonShape
);
102 WXSHAPE_IMP_CALLBACKS(wxPyTextShape
, wxTextShape
);
106 static void *SwigwxPyEllipseShapeTowxPyShape(void *ptr
) {
107 wxPyEllipseShape
*src
;
109 src
= (wxPyEllipseShape
*) ptr
;
110 dest
= (wxPyShape
*) src
;
111 return (void *) dest
;
114 static void *SwigwxPyEllipseShapeTowxPyShapeEvtHandler(void *ptr
) {
115 wxPyEllipseShape
*src
;
116 wxPyShapeEvtHandler
*dest
;
117 src
= (wxPyEllipseShape
*) ptr
;
118 dest
= (wxPyShapeEvtHandler
*) src
;
119 return (void *) dest
;
122 static void *SwigwxPyEllipseShapeTowxObject(void *ptr
) {
123 wxPyEllipseShape
*src
;
125 src
= (wxPyEllipseShape
*) ptr
;
126 dest
= (wxObject
*) src
;
127 return (void *) dest
;
130 #define new_wxPyEllipseShape(_swigarg0,_swigarg1) (new wxPyEllipseShape(_swigarg0,_swigarg1))
131 static PyObject
*_wrap_new_wxPyEllipseShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
132 PyObject
* _resultobj
;
133 wxPyEllipseShape
* _result
;
134 double _arg0
= (double ) 0.0;
135 double _arg1
= (double ) 0.0;
136 char *_kwnames
[] = { "width","height", NULL
};
140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|dd:new_wxPyEllipseShape",_kwnames
,&_arg0
,&_arg1
))
143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
144 _result
= (wxPyEllipseShape
*)new_wxPyEllipseShape(_arg0
,_arg1
);
146 wxPyEndAllowThreads(__tstate
);
147 if (PyErr_Occurred()) return NULL
;
149 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyEllipseShape_p");
150 _resultobj
= Py_BuildValue("s",_ptemp
);
153 _resultobj
= Py_None
;
158 #define wxPyEllipseShape__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
159 static PyObject
*_wrap_wxPyEllipseShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
160 PyObject
* _resultobj
;
161 wxPyEllipseShape
* _arg0
;
164 PyObject
* _argo0
= 0;
165 PyObject
* _obj1
= 0;
166 PyObject
* _obj2
= 0;
167 char *_kwnames
[] = { "self","self","_class", NULL
};
170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyEllipseShape__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape__setCallbackInfo. Expected _wxPyEllipseShape_p.");
186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
187 wxPyEllipseShape__setCallbackInfo(_arg0
,_arg1
,_arg2
);
189 wxPyEndAllowThreads(__tstate
);
190 if (PyErr_Occurred()) return NULL
;
191 } Py_INCREF(Py_None
);
192 _resultobj
= Py_None
;
196 #define wxPyEllipseShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
197 static PyObject
*_wrap_wxPyEllipseShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
198 PyObject
* _resultobj
;
199 wxPyEllipseShape
* _arg0
;
201 PyObject
* _argo0
= 0;
202 PyObject
* _argo1
= 0;
203 char *_kwnames
[] = { "self","dc", NULL
};
206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyEllipseShape_base_OnDraw",_kwnames
,&_argo0
,&_argo1
))
209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnDraw. Expected _wxPyEllipseShape_p.");
216 if (_argo1
== Py_None
) { _arg1
= NULL
; }
217 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyEllipseShape_base_OnDraw. Expected _wxDC_p.");
223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
224 wxPyEllipseShape_base_OnDraw(_arg0
,*_arg1
);
226 wxPyEndAllowThreads(__tstate
);
227 if (PyErr_Occurred()) return NULL
;
228 } Py_INCREF(Py_None
);
229 _resultobj
= Py_None
;
233 #define wxPyEllipseShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
234 static PyObject
*_wrap_wxPyEllipseShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
235 PyObject
* _resultobj
;
236 wxPyEllipseShape
* _arg0
;
238 PyObject
* _argo0
= 0;
239 PyObject
* _argo1
= 0;
240 char *_kwnames
[] = { "self","dc", NULL
};
243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyEllipseShape_base_OnDrawContents",_kwnames
,&_argo0
,&_argo1
))
246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnDrawContents. Expected _wxPyEllipseShape_p.");
253 if (_argo1
== Py_None
) { _arg1
= NULL
; }
254 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyEllipseShape_base_OnDrawContents. Expected _wxDC_p.");
260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
261 wxPyEllipseShape_base_OnDrawContents(_arg0
,*_arg1
);
263 wxPyEndAllowThreads(__tstate
);
264 if (PyErr_Occurred()) return NULL
;
265 } Py_INCREF(Py_None
);
266 _resultobj
= Py_None
;
270 #define wxPyEllipseShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
271 static PyObject
*_wrap_wxPyEllipseShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
272 PyObject
* _resultobj
;
273 wxPyEllipseShape
* _arg0
;
275 bool _arg2
= (bool ) FALSE
;
276 PyObject
* _argo0
= 0;
277 PyObject
* _argo1
= 0;
278 int tempbool2
= (int) FALSE
;
279 char *_kwnames
[] = { "self","dc","erase", NULL
};
282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyEllipseShape_base_OnDrawBranches",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnDrawBranches. Expected _wxPyEllipseShape_p.");
292 if (_argo1
== Py_None
) { _arg1
= NULL
; }
293 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyEllipseShape_base_OnDrawBranches. Expected _wxDC_p.");
298 _arg2
= (bool ) tempbool2
;
300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
301 wxPyEllipseShape_base_OnDrawBranches(_arg0
,*_arg1
,_arg2
);
303 wxPyEndAllowThreads(__tstate
);
304 if (PyErr_Occurred()) return NULL
;
305 } Py_INCREF(Py_None
);
306 _resultobj
= Py_None
;
310 #define wxPyEllipseShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
311 static PyObject
*_wrap_wxPyEllipseShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
312 PyObject
* _resultobj
;
313 wxPyEllipseShape
* _arg0
;
315 PyObject
* _argo0
= 0;
316 PyObject
* _argo1
= 0;
317 char *_kwnames
[] = { "self","dc", NULL
};
320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyEllipseShape_base_OnMoveLinks",_kwnames
,&_argo0
,&_argo1
))
323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnMoveLinks. Expected _wxPyEllipseShape_p.");
330 if (_argo1
== Py_None
) { _arg1
= NULL
; }
331 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyEllipseShape_base_OnMoveLinks. Expected _wxDC_p.");
337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
338 wxPyEllipseShape_base_OnMoveLinks(_arg0
,*_arg1
);
340 wxPyEndAllowThreads(__tstate
);
341 if (PyErr_Occurred()) return NULL
;
342 } Py_INCREF(Py_None
);
343 _resultobj
= Py_None
;
347 #define wxPyEllipseShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
348 static PyObject
*_wrap_wxPyEllipseShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
349 PyObject
* _resultobj
;
350 wxPyEllipseShape
* _arg0
;
352 PyObject
* _argo0
= 0;
353 PyObject
* _argo1
= 0;
354 char *_kwnames
[] = { "self","dc", NULL
};
357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyEllipseShape_base_OnErase",_kwnames
,&_argo0
,&_argo1
))
360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnErase. Expected _wxPyEllipseShape_p.");
367 if (_argo1
== Py_None
) { _arg1
= NULL
; }
368 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyEllipseShape_base_OnErase. Expected _wxDC_p.");
374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
375 wxPyEllipseShape_base_OnErase(_arg0
,*_arg1
);
377 wxPyEndAllowThreads(__tstate
);
378 if (PyErr_Occurred()) return NULL
;
379 } Py_INCREF(Py_None
);
380 _resultobj
= Py_None
;
384 #define wxPyEllipseShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
385 static PyObject
*_wrap_wxPyEllipseShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
386 PyObject
* _resultobj
;
387 wxPyEllipseShape
* _arg0
;
389 PyObject
* _argo0
= 0;
390 PyObject
* _argo1
= 0;
391 char *_kwnames
[] = { "self","dc", NULL
};
394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyEllipseShape_base_OnEraseContents",_kwnames
,&_argo0
,&_argo1
))
397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnEraseContents. Expected _wxPyEllipseShape_p.");
404 if (_argo1
== Py_None
) { _arg1
= NULL
; }
405 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyEllipseShape_base_OnEraseContents. Expected _wxDC_p.");
411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
412 wxPyEllipseShape_base_OnEraseContents(_arg0
,*_arg1
);
414 wxPyEndAllowThreads(__tstate
);
415 if (PyErr_Occurred()) return NULL
;
416 } Py_INCREF(Py_None
);
417 _resultobj
= Py_None
;
421 #define wxPyEllipseShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
422 static PyObject
*_wrap_wxPyEllipseShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
423 PyObject
* _resultobj
;
424 wxPyEllipseShape
* _arg0
;
426 PyObject
* _argo0
= 0;
427 PyObject
* _argo1
= 0;
428 char *_kwnames
[] = { "self","dc", NULL
};
431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyEllipseShape_base_OnHighlight",_kwnames
,&_argo0
,&_argo1
))
434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnHighlight. Expected _wxPyEllipseShape_p.");
441 if (_argo1
== Py_None
) { _arg1
= NULL
; }
442 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyEllipseShape_base_OnHighlight. Expected _wxDC_p.");
448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
449 wxPyEllipseShape_base_OnHighlight(_arg0
,*_arg1
);
451 wxPyEndAllowThreads(__tstate
);
452 if (PyErr_Occurred()) return NULL
;
453 } Py_INCREF(Py_None
);
454 _resultobj
= Py_None
;
458 #define wxPyEllipseShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
459 static PyObject
*_wrap_wxPyEllipseShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
460 PyObject
* _resultobj
;
461 wxPyEllipseShape
* _arg0
;
464 int _arg3
= (int ) 0;
465 int _arg4
= (int ) 0;
466 PyObject
* _argo0
= 0;
467 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyEllipseShape_base_OnLeftClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnLeftClick. Expected _wxPyEllipseShape_p.");
480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
481 wxPyEllipseShape_base_OnLeftClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
483 wxPyEndAllowThreads(__tstate
);
484 if (PyErr_Occurred()) return NULL
;
485 } Py_INCREF(Py_None
);
486 _resultobj
= Py_None
;
490 #define wxPyEllipseShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
491 static PyObject
*_wrap_wxPyEllipseShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
492 PyObject
* _resultobj
;
493 wxPyEllipseShape
* _arg0
;
496 int _arg3
= (int ) 0;
497 int _arg4
= (int ) 0;
498 PyObject
* _argo0
= 0;
499 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyEllipseShape_base_OnLeftDoubleClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnLeftDoubleClick. Expected _wxPyEllipseShape_p.");
512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
513 wxPyEllipseShape_base_OnLeftDoubleClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
515 wxPyEndAllowThreads(__tstate
);
516 if (PyErr_Occurred()) return NULL
;
517 } Py_INCREF(Py_None
);
518 _resultobj
= Py_None
;
522 #define wxPyEllipseShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
523 static PyObject
*_wrap_wxPyEllipseShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
524 PyObject
* _resultobj
;
525 wxPyEllipseShape
* _arg0
;
528 int _arg3
= (int ) 0;
529 int _arg4
= (int ) 0;
530 PyObject
* _argo0
= 0;
531 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyEllipseShape_base_OnRightClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
537 if (_argo0
== Py_None
) { _arg0
= NULL
; }
538 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnRightClick. Expected _wxPyEllipseShape_p.");
544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
545 wxPyEllipseShape_base_OnRightClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
547 wxPyEndAllowThreads(__tstate
);
548 if (PyErr_Occurred()) return NULL
;
549 } Py_INCREF(Py_None
);
550 _resultobj
= Py_None
;
554 #define wxPyEllipseShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
555 static PyObject
*_wrap_wxPyEllipseShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
556 PyObject
* _resultobj
;
557 wxPyEllipseShape
* _arg0
;
560 PyObject
* _argo0
= 0;
561 char *_kwnames
[] = { "self","x","y", NULL
};
564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyEllipseShape_base_OnSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnSize. Expected _wxPyEllipseShape_p.");
574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
575 wxPyEllipseShape_base_OnSize(_arg0
,_arg1
,_arg2
);
577 wxPyEndAllowThreads(__tstate
);
578 if (PyErr_Occurred()) return NULL
;
579 } Py_INCREF(Py_None
);
580 _resultobj
= Py_None
;
584 #define wxPyEllipseShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
585 static PyObject
*_wrap_wxPyEllipseShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
586 PyObject
* _resultobj
;
588 wxPyEllipseShape
* _arg0
;
594 bool _arg6
= (bool ) TRUE
;
595 PyObject
* _argo0
= 0;
596 PyObject
* _argo1
= 0;
597 int tempbool6
= (int) TRUE
;
598 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyEllipseShape_base_OnMovePre",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnMovePre. Expected _wxPyEllipseShape_p.");
611 if (_argo1
== Py_None
) { _arg1
= NULL
; }
612 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyEllipseShape_base_OnMovePre. Expected _wxDC_p.");
617 _arg6
= (bool ) tempbool6
;
619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
620 _result
= (bool )wxPyEllipseShape_base_OnMovePre(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
622 wxPyEndAllowThreads(__tstate
);
623 if (PyErr_Occurred()) return NULL
;
624 } _resultobj
= Py_BuildValue("i",_result
);
628 #define wxPyEllipseShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
629 static PyObject
*_wrap_wxPyEllipseShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
630 PyObject
* _resultobj
;
631 wxPyEllipseShape
* _arg0
;
637 bool _arg6
= (bool ) TRUE
;
638 PyObject
* _argo0
= 0;
639 PyObject
* _argo1
= 0;
640 int tempbool6
= (int) TRUE
;
641 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyEllipseShape_base_OnMovePost",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnMovePost. Expected _wxPyEllipseShape_p.");
654 if (_argo1
== Py_None
) { _arg1
= NULL
; }
655 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyEllipseShape_base_OnMovePost. Expected _wxDC_p.");
660 _arg6
= (bool ) tempbool6
;
662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
663 wxPyEllipseShape_base_OnMovePost(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
665 wxPyEndAllowThreads(__tstate
);
666 if (PyErr_Occurred()) return NULL
;
667 } Py_INCREF(Py_None
);
668 _resultobj
= Py_None
;
672 #define wxPyEllipseShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
673 static PyObject
*_wrap_wxPyEllipseShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
674 PyObject
* _resultobj
;
675 wxPyEllipseShape
* _arg0
;
679 int _arg4
= (int ) 0;
680 int _arg5
= (int ) 0;
681 PyObject
* _argo0
= 0;
683 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyEllipseShape_base_OnDragLeft",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnDragLeft. Expected _wxPyEllipseShape_p.");
695 _arg1
= (bool ) tempbool1
;
697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
698 wxPyEllipseShape_base_OnDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
700 wxPyEndAllowThreads(__tstate
);
701 if (PyErr_Occurred()) return NULL
;
702 } Py_INCREF(Py_None
);
703 _resultobj
= Py_None
;
707 #define wxPyEllipseShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
708 static PyObject
*_wrap_wxPyEllipseShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
709 PyObject
* _resultobj
;
710 wxPyEllipseShape
* _arg0
;
713 int _arg3
= (int ) 0;
714 int _arg4
= (int ) 0;
715 PyObject
* _argo0
= 0;
716 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyEllipseShape_base_OnBeginDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnBeginDragLeft. Expected _wxPyEllipseShape_p.");
729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
730 wxPyEllipseShape_base_OnBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
732 wxPyEndAllowThreads(__tstate
);
733 if (PyErr_Occurred()) return NULL
;
734 } Py_INCREF(Py_None
);
735 _resultobj
= Py_None
;
739 #define wxPyEllipseShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
740 static PyObject
*_wrap_wxPyEllipseShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
741 PyObject
* _resultobj
;
742 wxPyEllipseShape
* _arg0
;
745 int _arg3
= (int ) 0;
746 int _arg4
= (int ) 0;
747 PyObject
* _argo0
= 0;
748 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyEllipseShape_base_OnEndDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnEndDragLeft. Expected _wxPyEllipseShape_p.");
761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
762 wxPyEllipseShape_base_OnEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
764 wxPyEndAllowThreads(__tstate
);
765 if (PyErr_Occurred()) return NULL
;
766 } Py_INCREF(Py_None
);
767 _resultobj
= Py_None
;
771 #define wxPyEllipseShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
772 static PyObject
*_wrap_wxPyEllipseShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
773 PyObject
* _resultobj
;
774 wxPyEllipseShape
* _arg0
;
778 int _arg4
= (int ) 0;
779 int _arg5
= (int ) 0;
780 PyObject
* _argo0
= 0;
782 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyEllipseShape_base_OnDragRight",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnDragRight. Expected _wxPyEllipseShape_p.");
794 _arg1
= (bool ) tempbool1
;
796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
797 wxPyEllipseShape_base_OnDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
799 wxPyEndAllowThreads(__tstate
);
800 if (PyErr_Occurred()) return NULL
;
801 } Py_INCREF(Py_None
);
802 _resultobj
= Py_None
;
806 #define wxPyEllipseShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
807 static PyObject
*_wrap_wxPyEllipseShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
808 PyObject
* _resultobj
;
809 wxPyEllipseShape
* _arg0
;
812 int _arg3
= (int ) 0;
813 int _arg4
= (int ) 0;
814 PyObject
* _argo0
= 0;
815 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyEllipseShape_base_OnBeginDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnBeginDragRight. Expected _wxPyEllipseShape_p.");
828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
829 wxPyEllipseShape_base_OnBeginDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
831 wxPyEndAllowThreads(__tstate
);
832 if (PyErr_Occurred()) return NULL
;
833 } Py_INCREF(Py_None
);
834 _resultobj
= Py_None
;
838 #define wxPyEllipseShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
839 static PyObject
*_wrap_wxPyEllipseShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
840 PyObject
* _resultobj
;
841 wxPyEllipseShape
* _arg0
;
844 int _arg3
= (int ) 0;
845 int _arg4
= (int ) 0;
846 PyObject
* _argo0
= 0;
847 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyEllipseShape_base_OnEndDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnEndDragRight. Expected _wxPyEllipseShape_p.");
860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
861 wxPyEllipseShape_base_OnEndDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
863 wxPyEndAllowThreads(__tstate
);
864 if (PyErr_Occurred()) return NULL
;
865 } Py_INCREF(Py_None
);
866 _resultobj
= Py_None
;
870 #define wxPyEllipseShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
871 static PyObject
*_wrap_wxPyEllipseShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
872 PyObject
* _resultobj
;
873 wxPyEllipseShape
* _arg0
;
879 PyObject
* _argo0
= 0;
880 PyObject
* _argo1
= 0;
881 char *_kwnames
[] = { "self","dc","x","y","w","h", NULL
};
884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd:wxPyEllipseShape_base_OnDrawOutline",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnDrawOutline. Expected _wxPyEllipseShape_p.");
894 if (_argo1
== Py_None
) { _arg1
= NULL
; }
895 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyEllipseShape_base_OnDrawOutline. Expected _wxDC_p.");
901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
902 wxPyEllipseShape_base_OnDrawOutline(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
904 wxPyEndAllowThreads(__tstate
);
905 if (PyErr_Occurred()) return NULL
;
906 } Py_INCREF(Py_None
);
907 _resultobj
= Py_None
;
911 #define wxPyEllipseShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
912 static PyObject
*_wrap_wxPyEllipseShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
913 PyObject
* _resultobj
;
914 wxPyEllipseShape
* _arg0
;
916 PyObject
* _argo0
= 0;
917 PyObject
* _argo1
= 0;
918 char *_kwnames
[] = { "self","dc", NULL
};
921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyEllipseShape_base_OnDrawControlPoints",_kwnames
,&_argo0
,&_argo1
))
924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnDrawControlPoints. Expected _wxPyEllipseShape_p.");
931 if (_argo1
== Py_None
) { _arg1
= NULL
; }
932 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyEllipseShape_base_OnDrawControlPoints. Expected _wxDC_p.");
938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
939 wxPyEllipseShape_base_OnDrawControlPoints(_arg0
,*_arg1
);
941 wxPyEndAllowThreads(__tstate
);
942 if (PyErr_Occurred()) return NULL
;
943 } Py_INCREF(Py_None
);
944 _resultobj
= Py_None
;
948 #define wxPyEllipseShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
949 static PyObject
*_wrap_wxPyEllipseShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
950 PyObject
* _resultobj
;
951 wxPyEllipseShape
* _arg0
;
953 PyObject
* _argo0
= 0;
954 PyObject
* _argo1
= 0;
955 char *_kwnames
[] = { "self","dc", NULL
};
958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyEllipseShape_base_OnEraseControlPoints",_kwnames
,&_argo0
,&_argo1
))
961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnEraseControlPoints. Expected _wxPyEllipseShape_p.");
968 if (_argo1
== Py_None
) { _arg1
= NULL
; }
969 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyEllipseShape_base_OnEraseControlPoints. Expected _wxDC_p.");
975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
976 wxPyEllipseShape_base_OnEraseControlPoints(_arg0
,*_arg1
);
978 wxPyEndAllowThreads(__tstate
);
979 if (PyErr_Occurred()) return NULL
;
980 } Py_INCREF(Py_None
);
981 _resultobj
= Py_None
;
985 #define wxPyEllipseShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
986 static PyObject
*_wrap_wxPyEllipseShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
987 PyObject
* _resultobj
;
988 wxPyEllipseShape
* _arg0
;
990 bool _arg2
= (bool ) TRUE
;
991 PyObject
* _argo0
= 0;
992 PyObject
* _argo1
= 0;
993 int tempbool2
= (int) TRUE
;
994 char *_kwnames
[] = { "self","dc","moveControlPoints", NULL
};
997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyEllipseShape_base_OnMoveLink",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
1002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnMoveLink. Expected _wxPyEllipseShape_p.");
1007 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1008 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyEllipseShape_base_OnMoveLink. Expected _wxDC_p.");
1013 _arg2
= (bool ) tempbool2
;
1015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1016 wxPyEllipseShape_base_OnMoveLink(_arg0
,*_arg1
,_arg2
);
1018 wxPyEndAllowThreads(__tstate
);
1019 if (PyErr_Occurred()) return NULL
;
1020 } Py_INCREF(Py_None
);
1021 _resultobj
= Py_None
;
1025 #define wxPyEllipseShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1026 static PyObject
*_wrap_wxPyEllipseShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1027 PyObject
* _resultobj
;
1028 wxPyEllipseShape
* _arg0
;
1029 wxPyControlPoint
* _arg1
;
1033 int _arg5
= (int ) 0;
1034 int _arg6
= (int ) 0;
1035 PyObject
* _argo0
= 0;
1036 PyObject
* _argo1
= 0;
1038 char *_kwnames
[] = { "self","pt","draw","x","y","keys","attachment", NULL
};
1041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOidd|ii:wxPyEllipseShape_base_OnSizingDragLeft",_kwnames
,&_argo0
,&_argo1
,&tempbool2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
1044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
1046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnSizingDragLeft. Expected _wxPyEllipseShape_p.");
1051 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1052 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
1053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyEllipseShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
1057 _arg2
= (bool ) tempbool2
;
1059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1060 wxPyEllipseShape_base_OnSizingDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1062 wxPyEndAllowThreads(__tstate
);
1063 if (PyErr_Occurred()) return NULL
;
1064 } Py_INCREF(Py_None
);
1065 _resultobj
= Py_None
;
1069 #define wxPyEllipseShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1070 static PyObject
*_wrap_wxPyEllipseShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1071 PyObject
* _resultobj
;
1072 wxPyEllipseShape
* _arg0
;
1073 wxPyControlPoint
* _arg1
;
1076 int _arg4
= (int ) 0;
1077 int _arg5
= (int ) 0;
1078 PyObject
* _argo0
= 0;
1079 PyObject
* _argo1
= 0;
1080 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
1083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyEllipseShape_base_OnSizingBeginDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
1086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
1088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnSizingBeginDragLeft. Expected _wxPyEllipseShape_p.");
1093 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1094 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
1095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyEllipseShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
1100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1101 wxPyEllipseShape_base_OnSizingBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1103 wxPyEndAllowThreads(__tstate
);
1104 if (PyErr_Occurred()) return NULL
;
1105 } Py_INCREF(Py_None
);
1106 _resultobj
= Py_None
;
1110 #define wxPyEllipseShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1111 static PyObject
*_wrap_wxPyEllipseShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1112 PyObject
* _resultobj
;
1113 wxPyEllipseShape
* _arg0
;
1114 wxPyControlPoint
* _arg1
;
1117 int _arg4
= (int ) 0;
1118 int _arg5
= (int ) 0;
1119 PyObject
* _argo0
= 0;
1120 PyObject
* _argo1
= 0;
1121 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
1124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyEllipseShape_base_OnSizingEndDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
1127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
1129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnSizingEndDragLeft. Expected _wxPyEllipseShape_p.");
1134 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1135 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
1136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyEllipseShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
1141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1142 wxPyEllipseShape_base_OnSizingEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1144 wxPyEndAllowThreads(__tstate
);
1145 if (PyErr_Occurred()) return NULL
;
1146 } Py_INCREF(Py_None
);
1147 _resultobj
= Py_None
;
1151 #define wxPyEllipseShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
1152 static PyObject
*_wrap_wxPyEllipseShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1153 PyObject
* _resultobj
;
1154 wxPyEllipseShape
* _arg0
;
1157 PyObject
* _argo0
= 0;
1158 char *_kwnames
[] = { "self","w","h", NULL
};
1161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyEllipseShape_base_OnBeginSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
1166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnBeginSize. Expected _wxPyEllipseShape_p.");
1171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1172 wxPyEllipseShape_base_OnBeginSize(_arg0
,_arg1
,_arg2
);
1174 wxPyEndAllowThreads(__tstate
);
1175 if (PyErr_Occurred()) return NULL
;
1176 } Py_INCREF(Py_None
);
1177 _resultobj
= Py_None
;
1181 #define wxPyEllipseShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
1182 static PyObject
*_wrap_wxPyEllipseShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1183 PyObject
* _resultobj
;
1184 wxPyEllipseShape
* _arg0
;
1187 PyObject
* _argo0
= 0;
1188 char *_kwnames
[] = { "self","w","h", NULL
};
1191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyEllipseShape_base_OnEndSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
1196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnEndSize. Expected _wxPyEllipseShape_p.");
1201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1202 wxPyEllipseShape_base_OnEndSize(_arg0
,_arg1
,_arg2
);
1204 wxPyEndAllowThreads(__tstate
);
1205 if (PyErr_Occurred()) return NULL
;
1206 } Py_INCREF(Py_None
);
1207 _resultobj
= Py_None
;
1211 static void *SwigwxPyCircleShapeTowxPyEllipseShape(void *ptr
) {
1212 wxPyCircleShape
*src
;
1213 wxPyEllipseShape
*dest
;
1214 src
= (wxPyCircleShape
*) ptr
;
1215 dest
= (wxPyEllipseShape
*) src
;
1216 return (void *) dest
;
1219 static void *SwigwxPyCircleShapeTowxPyShape(void *ptr
) {
1220 wxPyCircleShape
*src
;
1222 src
= (wxPyCircleShape
*) ptr
;
1223 dest
= (wxPyShape
*) src
;
1224 return (void *) dest
;
1227 static void *SwigwxPyCircleShapeTowxPyShapeEvtHandler(void *ptr
) {
1228 wxPyCircleShape
*src
;
1229 wxPyShapeEvtHandler
*dest
;
1230 src
= (wxPyCircleShape
*) ptr
;
1231 dest
= (wxPyShapeEvtHandler
*) src
;
1232 return (void *) dest
;
1235 static void *SwigwxPyCircleShapeTowxObject(void *ptr
) {
1236 wxPyCircleShape
*src
;
1238 src
= (wxPyCircleShape
*) ptr
;
1239 dest
= (wxObject
*) src
;
1240 return (void *) dest
;
1243 #define new_wxPyCircleShape(_swigarg0) (new wxPyCircleShape(_swigarg0))
1244 static PyObject
*_wrap_new_wxPyCircleShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1245 PyObject
* _resultobj
;
1246 wxPyCircleShape
* _result
;
1247 double _arg0
= (double ) 0.0;
1248 char *_kwnames
[] = { "width", NULL
};
1252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|d:new_wxPyCircleShape",_kwnames
,&_arg0
))
1255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1256 _result
= (wxPyCircleShape
*)new_wxPyCircleShape(_arg0
);
1258 wxPyEndAllowThreads(__tstate
);
1259 if (PyErr_Occurred()) return NULL
;
1261 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyCircleShape_p");
1262 _resultobj
= Py_BuildValue("s",_ptemp
);
1265 _resultobj
= Py_None
;
1270 #define wxPyCircleShape__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
1271 static PyObject
*_wrap_wxPyCircleShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1272 PyObject
* _resultobj
;
1273 wxPyCircleShape
* _arg0
;
1276 PyObject
* _argo0
= 0;
1277 PyObject
* _obj1
= 0;
1278 PyObject
* _obj2
= 0;
1279 char *_kwnames
[] = { "self","self","_class", NULL
};
1282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyCircleShape__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
1287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape__setCallbackInfo. Expected _wxPyCircleShape_p.");
1298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1299 wxPyCircleShape__setCallbackInfo(_arg0
,_arg1
,_arg2
);
1301 wxPyEndAllowThreads(__tstate
);
1302 if (PyErr_Occurred()) return NULL
;
1303 } Py_INCREF(Py_None
);
1304 _resultobj
= Py_None
;
1308 #define wxPyCircleShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
1309 static PyObject
*_wrap_wxPyCircleShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1310 PyObject
* _resultobj
;
1311 wxPyCircleShape
* _arg0
;
1313 PyObject
* _argo0
= 0;
1314 PyObject
* _argo1
= 0;
1315 char *_kwnames
[] = { "self","dc", NULL
};
1318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyCircleShape_base_OnDraw",_kwnames
,&_argo0
,&_argo1
))
1321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
1323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnDraw. Expected _wxPyCircleShape_p.");
1328 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1329 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyCircleShape_base_OnDraw. Expected _wxDC_p.");
1335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1336 wxPyCircleShape_base_OnDraw(_arg0
,*_arg1
);
1338 wxPyEndAllowThreads(__tstate
);
1339 if (PyErr_Occurred()) return NULL
;
1340 } Py_INCREF(Py_None
);
1341 _resultobj
= Py_None
;
1345 #define wxPyCircleShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
1346 static PyObject
*_wrap_wxPyCircleShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1347 PyObject
* _resultobj
;
1348 wxPyCircleShape
* _arg0
;
1350 PyObject
* _argo0
= 0;
1351 PyObject
* _argo1
= 0;
1352 char *_kwnames
[] = { "self","dc", NULL
};
1355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyCircleShape_base_OnDrawContents",_kwnames
,&_argo0
,&_argo1
))
1358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
1360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnDrawContents. Expected _wxPyCircleShape_p.");
1365 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1366 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyCircleShape_base_OnDrawContents. Expected _wxDC_p.");
1372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1373 wxPyCircleShape_base_OnDrawContents(_arg0
,*_arg1
);
1375 wxPyEndAllowThreads(__tstate
);
1376 if (PyErr_Occurred()) return NULL
;
1377 } Py_INCREF(Py_None
);
1378 _resultobj
= Py_None
;
1382 #define wxPyCircleShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
1383 static PyObject
*_wrap_wxPyCircleShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1384 PyObject
* _resultobj
;
1385 wxPyCircleShape
* _arg0
;
1387 bool _arg2
= (bool ) FALSE
;
1388 PyObject
* _argo0
= 0;
1389 PyObject
* _argo1
= 0;
1390 int tempbool2
= (int) FALSE
;
1391 char *_kwnames
[] = { "self","dc","erase", NULL
};
1394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyCircleShape_base_OnDrawBranches",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
1399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnDrawBranches. Expected _wxPyCircleShape_p.");
1404 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1405 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyCircleShape_base_OnDrawBranches. Expected _wxDC_p.");
1410 _arg2
= (bool ) tempbool2
;
1412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1413 wxPyCircleShape_base_OnDrawBranches(_arg0
,*_arg1
,_arg2
);
1415 wxPyEndAllowThreads(__tstate
);
1416 if (PyErr_Occurred()) return NULL
;
1417 } Py_INCREF(Py_None
);
1418 _resultobj
= Py_None
;
1422 #define wxPyCircleShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
1423 static PyObject
*_wrap_wxPyCircleShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1424 PyObject
* _resultobj
;
1425 wxPyCircleShape
* _arg0
;
1427 PyObject
* _argo0
= 0;
1428 PyObject
* _argo1
= 0;
1429 char *_kwnames
[] = { "self","dc", NULL
};
1432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyCircleShape_base_OnMoveLinks",_kwnames
,&_argo0
,&_argo1
))
1435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
1437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnMoveLinks. Expected _wxPyCircleShape_p.");
1442 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1443 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyCircleShape_base_OnMoveLinks. Expected _wxDC_p.");
1449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1450 wxPyCircleShape_base_OnMoveLinks(_arg0
,*_arg1
);
1452 wxPyEndAllowThreads(__tstate
);
1453 if (PyErr_Occurred()) return NULL
;
1454 } Py_INCREF(Py_None
);
1455 _resultobj
= Py_None
;
1459 #define wxPyCircleShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
1460 static PyObject
*_wrap_wxPyCircleShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1461 PyObject
* _resultobj
;
1462 wxPyCircleShape
* _arg0
;
1464 PyObject
* _argo0
= 0;
1465 PyObject
* _argo1
= 0;
1466 char *_kwnames
[] = { "self","dc", NULL
};
1469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyCircleShape_base_OnErase",_kwnames
,&_argo0
,&_argo1
))
1472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
1474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnErase. Expected _wxPyCircleShape_p.");
1479 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1480 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyCircleShape_base_OnErase. Expected _wxDC_p.");
1486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1487 wxPyCircleShape_base_OnErase(_arg0
,*_arg1
);
1489 wxPyEndAllowThreads(__tstate
);
1490 if (PyErr_Occurred()) return NULL
;
1491 } Py_INCREF(Py_None
);
1492 _resultobj
= Py_None
;
1496 #define wxPyCircleShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
1497 static PyObject
*_wrap_wxPyCircleShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1498 PyObject
* _resultobj
;
1499 wxPyCircleShape
* _arg0
;
1501 PyObject
* _argo0
= 0;
1502 PyObject
* _argo1
= 0;
1503 char *_kwnames
[] = { "self","dc", NULL
};
1506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyCircleShape_base_OnEraseContents",_kwnames
,&_argo0
,&_argo1
))
1509 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1510 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
1511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnEraseContents. Expected _wxPyCircleShape_p.");
1516 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1517 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyCircleShape_base_OnEraseContents. Expected _wxDC_p.");
1523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1524 wxPyCircleShape_base_OnEraseContents(_arg0
,*_arg1
);
1526 wxPyEndAllowThreads(__tstate
);
1527 if (PyErr_Occurred()) return NULL
;
1528 } Py_INCREF(Py_None
);
1529 _resultobj
= Py_None
;
1533 #define wxPyCircleShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
1534 static PyObject
*_wrap_wxPyCircleShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1535 PyObject
* _resultobj
;
1536 wxPyCircleShape
* _arg0
;
1538 PyObject
* _argo0
= 0;
1539 PyObject
* _argo1
= 0;
1540 char *_kwnames
[] = { "self","dc", NULL
};
1543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyCircleShape_base_OnHighlight",_kwnames
,&_argo0
,&_argo1
))
1546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
1548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnHighlight. Expected _wxPyCircleShape_p.");
1553 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1554 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyCircleShape_base_OnHighlight. Expected _wxDC_p.");
1560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1561 wxPyCircleShape_base_OnHighlight(_arg0
,*_arg1
);
1563 wxPyEndAllowThreads(__tstate
);
1564 if (PyErr_Occurred()) return NULL
;
1565 } Py_INCREF(Py_None
);
1566 _resultobj
= Py_None
;
1570 #define wxPyCircleShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1571 static PyObject
*_wrap_wxPyCircleShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1572 PyObject
* _resultobj
;
1573 wxPyCircleShape
* _arg0
;
1576 int _arg3
= (int ) 0;
1577 int _arg4
= (int ) 0;
1578 PyObject
* _argo0
= 0;
1579 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
1582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyCircleShape_base_OnLeftClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
1587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnLeftClick. Expected _wxPyCircleShape_p.");
1592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1593 wxPyCircleShape_base_OnLeftClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1595 wxPyEndAllowThreads(__tstate
);
1596 if (PyErr_Occurred()) return NULL
;
1597 } Py_INCREF(Py_None
);
1598 _resultobj
= Py_None
;
1602 #define wxPyCircleShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1603 static PyObject
*_wrap_wxPyCircleShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1604 PyObject
* _resultobj
;
1605 wxPyCircleShape
* _arg0
;
1608 int _arg3
= (int ) 0;
1609 int _arg4
= (int ) 0;
1610 PyObject
* _argo0
= 0;
1611 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
1614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyCircleShape_base_OnLeftDoubleClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
1619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnLeftDoubleClick. Expected _wxPyCircleShape_p.");
1624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1625 wxPyCircleShape_base_OnLeftDoubleClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1627 wxPyEndAllowThreads(__tstate
);
1628 if (PyErr_Occurred()) return NULL
;
1629 } Py_INCREF(Py_None
);
1630 _resultobj
= Py_None
;
1634 #define wxPyCircleShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1635 static PyObject
*_wrap_wxPyCircleShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1636 PyObject
* _resultobj
;
1637 wxPyCircleShape
* _arg0
;
1640 int _arg3
= (int ) 0;
1641 int _arg4
= (int ) 0;
1642 PyObject
* _argo0
= 0;
1643 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
1646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyCircleShape_base_OnRightClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
1651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnRightClick. Expected _wxPyCircleShape_p.");
1656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1657 wxPyCircleShape_base_OnRightClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1659 wxPyEndAllowThreads(__tstate
);
1660 if (PyErr_Occurred()) return NULL
;
1661 } Py_INCREF(Py_None
);
1662 _resultobj
= Py_None
;
1666 #define wxPyCircleShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
1667 static PyObject
*_wrap_wxPyCircleShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1668 PyObject
* _resultobj
;
1669 wxPyCircleShape
* _arg0
;
1672 PyObject
* _argo0
= 0;
1673 char *_kwnames
[] = { "self","x","y", NULL
};
1676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyCircleShape_base_OnSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
1681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnSize. Expected _wxPyCircleShape_p.");
1686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1687 wxPyCircleShape_base_OnSize(_arg0
,_arg1
,_arg2
);
1689 wxPyEndAllowThreads(__tstate
);
1690 if (PyErr_Occurred()) return NULL
;
1691 } Py_INCREF(Py_None
);
1692 _resultobj
= Py_None
;
1696 #define wxPyCircleShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1697 static PyObject
*_wrap_wxPyCircleShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1698 PyObject
* _resultobj
;
1700 wxPyCircleShape
* _arg0
;
1706 bool _arg6
= (bool ) TRUE
;
1707 PyObject
* _argo0
= 0;
1708 PyObject
* _argo1
= 0;
1709 int tempbool6
= (int) TRUE
;
1710 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
1713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyCircleShape_base_OnMovePre",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
1716 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1717 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
1718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnMovePre. Expected _wxPyCircleShape_p.");
1723 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1724 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyCircleShape_base_OnMovePre. Expected _wxDC_p.");
1729 _arg6
= (bool ) tempbool6
;
1731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1732 _result
= (bool )wxPyCircleShape_base_OnMovePre(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1734 wxPyEndAllowThreads(__tstate
);
1735 if (PyErr_Occurred()) return NULL
;
1736 } _resultobj
= Py_BuildValue("i",_result
);
1740 #define wxPyCircleShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1741 static PyObject
*_wrap_wxPyCircleShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1742 PyObject
* _resultobj
;
1743 wxPyCircleShape
* _arg0
;
1749 bool _arg6
= (bool ) TRUE
;
1750 PyObject
* _argo0
= 0;
1751 PyObject
* _argo1
= 0;
1752 int tempbool6
= (int) TRUE
;
1753 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
1756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyCircleShape_base_OnMovePost",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
1759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
1761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnMovePost. Expected _wxPyCircleShape_p.");
1766 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1767 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyCircleShape_base_OnMovePost. Expected _wxDC_p.");
1772 _arg6
= (bool ) tempbool6
;
1774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1775 wxPyCircleShape_base_OnMovePost(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1777 wxPyEndAllowThreads(__tstate
);
1778 if (PyErr_Occurred()) return NULL
;
1779 } Py_INCREF(Py_None
);
1780 _resultobj
= Py_None
;
1784 #define wxPyCircleShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1785 static PyObject
*_wrap_wxPyCircleShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1786 PyObject
* _resultobj
;
1787 wxPyCircleShape
* _arg0
;
1791 int _arg4
= (int ) 0;
1792 int _arg5
= (int ) 0;
1793 PyObject
* _argo0
= 0;
1795 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
1798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyCircleShape_base_OnDragLeft",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
1801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
1803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnDragLeft. Expected _wxPyCircleShape_p.");
1807 _arg1
= (bool ) tempbool1
;
1809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1810 wxPyCircleShape_base_OnDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1812 wxPyEndAllowThreads(__tstate
);
1813 if (PyErr_Occurred()) return NULL
;
1814 } Py_INCREF(Py_None
);
1815 _resultobj
= Py_None
;
1819 #define wxPyCircleShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1820 static PyObject
*_wrap_wxPyCircleShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1821 PyObject
* _resultobj
;
1822 wxPyCircleShape
* _arg0
;
1825 int _arg3
= (int ) 0;
1826 int _arg4
= (int ) 0;
1827 PyObject
* _argo0
= 0;
1828 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
1831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyCircleShape_base_OnBeginDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
1836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnBeginDragLeft. Expected _wxPyCircleShape_p.");
1841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1842 wxPyCircleShape_base_OnBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1844 wxPyEndAllowThreads(__tstate
);
1845 if (PyErr_Occurred()) return NULL
;
1846 } Py_INCREF(Py_None
);
1847 _resultobj
= Py_None
;
1851 #define wxPyCircleShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1852 static PyObject
*_wrap_wxPyCircleShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1853 PyObject
* _resultobj
;
1854 wxPyCircleShape
* _arg0
;
1857 int _arg3
= (int ) 0;
1858 int _arg4
= (int ) 0;
1859 PyObject
* _argo0
= 0;
1860 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
1863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyCircleShape_base_OnEndDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
1868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnEndDragLeft. Expected _wxPyCircleShape_p.");
1873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1874 wxPyCircleShape_base_OnEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1876 wxPyEndAllowThreads(__tstate
);
1877 if (PyErr_Occurred()) return NULL
;
1878 } Py_INCREF(Py_None
);
1879 _resultobj
= Py_None
;
1883 #define wxPyCircleShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1884 static PyObject
*_wrap_wxPyCircleShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1885 PyObject
* _resultobj
;
1886 wxPyCircleShape
* _arg0
;
1890 int _arg4
= (int ) 0;
1891 int _arg5
= (int ) 0;
1892 PyObject
* _argo0
= 0;
1894 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
1897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyCircleShape_base_OnDragRight",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
1900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
1902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnDragRight. Expected _wxPyCircleShape_p.");
1906 _arg1
= (bool ) tempbool1
;
1908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1909 wxPyCircleShape_base_OnDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1911 wxPyEndAllowThreads(__tstate
);
1912 if (PyErr_Occurred()) return NULL
;
1913 } Py_INCREF(Py_None
);
1914 _resultobj
= Py_None
;
1918 #define wxPyCircleShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1919 static PyObject
*_wrap_wxPyCircleShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1920 PyObject
* _resultobj
;
1921 wxPyCircleShape
* _arg0
;
1924 int _arg3
= (int ) 0;
1925 int _arg4
= (int ) 0;
1926 PyObject
* _argo0
= 0;
1927 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
1930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyCircleShape_base_OnBeginDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
1935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnBeginDragRight. Expected _wxPyCircleShape_p.");
1940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1941 wxPyCircleShape_base_OnBeginDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1943 wxPyEndAllowThreads(__tstate
);
1944 if (PyErr_Occurred()) return NULL
;
1945 } Py_INCREF(Py_None
);
1946 _resultobj
= Py_None
;
1950 #define wxPyCircleShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1951 static PyObject
*_wrap_wxPyCircleShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1952 PyObject
* _resultobj
;
1953 wxPyCircleShape
* _arg0
;
1956 int _arg3
= (int ) 0;
1957 int _arg4
= (int ) 0;
1958 PyObject
* _argo0
= 0;
1959 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
1962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyCircleShape_base_OnEndDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
1967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnEndDragRight. Expected _wxPyCircleShape_p.");
1972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1973 wxPyCircleShape_base_OnEndDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1975 wxPyEndAllowThreads(__tstate
);
1976 if (PyErr_Occurred()) return NULL
;
1977 } Py_INCREF(Py_None
);
1978 _resultobj
= Py_None
;
1982 #define wxPyCircleShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1983 static PyObject
*_wrap_wxPyCircleShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1984 PyObject
* _resultobj
;
1985 wxPyCircleShape
* _arg0
;
1991 PyObject
* _argo0
= 0;
1992 PyObject
* _argo1
= 0;
1993 char *_kwnames
[] = { "self","dc","x","y","w","h", NULL
};
1996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd:wxPyCircleShape_base_OnDrawOutline",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
1999 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2000 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
2001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnDrawOutline. Expected _wxPyCircleShape_p.");
2006 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2007 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyCircleShape_base_OnDrawOutline. Expected _wxDC_p.");
2013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2014 wxPyCircleShape_base_OnDrawOutline(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2016 wxPyEndAllowThreads(__tstate
);
2017 if (PyErr_Occurred()) return NULL
;
2018 } Py_INCREF(Py_None
);
2019 _resultobj
= Py_None
;
2023 #define wxPyCircleShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
2024 static PyObject
*_wrap_wxPyCircleShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2025 PyObject
* _resultobj
;
2026 wxPyCircleShape
* _arg0
;
2028 PyObject
* _argo0
= 0;
2029 PyObject
* _argo1
= 0;
2030 char *_kwnames
[] = { "self","dc", NULL
};
2033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyCircleShape_base_OnDrawControlPoints",_kwnames
,&_argo0
,&_argo1
))
2036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
2038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnDrawControlPoints. Expected _wxPyCircleShape_p.");
2043 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2044 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyCircleShape_base_OnDrawControlPoints. Expected _wxDC_p.");
2050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2051 wxPyCircleShape_base_OnDrawControlPoints(_arg0
,*_arg1
);
2053 wxPyEndAllowThreads(__tstate
);
2054 if (PyErr_Occurred()) return NULL
;
2055 } Py_INCREF(Py_None
);
2056 _resultobj
= Py_None
;
2060 #define wxPyCircleShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
2061 static PyObject
*_wrap_wxPyCircleShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2062 PyObject
* _resultobj
;
2063 wxPyCircleShape
* _arg0
;
2065 PyObject
* _argo0
= 0;
2066 PyObject
* _argo1
= 0;
2067 char *_kwnames
[] = { "self","dc", NULL
};
2070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyCircleShape_base_OnEraseControlPoints",_kwnames
,&_argo0
,&_argo1
))
2073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
2075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnEraseControlPoints. Expected _wxPyCircleShape_p.");
2080 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2081 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyCircleShape_base_OnEraseControlPoints. Expected _wxDC_p.");
2087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2088 wxPyCircleShape_base_OnEraseControlPoints(_arg0
,*_arg1
);
2090 wxPyEndAllowThreads(__tstate
);
2091 if (PyErr_Occurred()) return NULL
;
2092 } Py_INCREF(Py_None
);
2093 _resultobj
= Py_None
;
2097 #define wxPyCircleShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
2098 static PyObject
*_wrap_wxPyCircleShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2099 PyObject
* _resultobj
;
2100 wxPyCircleShape
* _arg0
;
2102 bool _arg2
= (bool ) TRUE
;
2103 PyObject
* _argo0
= 0;
2104 PyObject
* _argo1
= 0;
2105 int tempbool2
= (int) TRUE
;
2106 char *_kwnames
[] = { "self","dc","moveControlPoints", NULL
};
2109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyCircleShape_base_OnMoveLink",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
2112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
2114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnMoveLink. Expected _wxPyCircleShape_p.");
2119 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2120 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyCircleShape_base_OnMoveLink. Expected _wxDC_p.");
2125 _arg2
= (bool ) tempbool2
;
2127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2128 wxPyCircleShape_base_OnMoveLink(_arg0
,*_arg1
,_arg2
);
2130 wxPyEndAllowThreads(__tstate
);
2131 if (PyErr_Occurred()) return NULL
;
2132 } Py_INCREF(Py_None
);
2133 _resultobj
= Py_None
;
2137 #define wxPyCircleShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2138 static PyObject
*_wrap_wxPyCircleShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2139 PyObject
* _resultobj
;
2140 wxPyCircleShape
* _arg0
;
2141 wxPyControlPoint
* _arg1
;
2145 int _arg5
= (int ) 0;
2146 int _arg6
= (int ) 0;
2147 PyObject
* _argo0
= 0;
2148 PyObject
* _argo1
= 0;
2150 char *_kwnames
[] = { "self","pt","draw","x","y","keys","attachment", NULL
};
2153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOidd|ii:wxPyCircleShape_base_OnSizingDragLeft",_kwnames
,&_argo0
,&_argo1
,&tempbool2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
2156 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2157 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
2158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnSizingDragLeft. Expected _wxPyCircleShape_p.");
2163 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2164 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
2165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyCircleShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
2169 _arg2
= (bool ) tempbool2
;
2171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2172 wxPyCircleShape_base_OnSizingDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2174 wxPyEndAllowThreads(__tstate
);
2175 if (PyErr_Occurred()) return NULL
;
2176 } Py_INCREF(Py_None
);
2177 _resultobj
= Py_None
;
2181 #define wxPyCircleShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2182 static PyObject
*_wrap_wxPyCircleShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2183 PyObject
* _resultobj
;
2184 wxPyCircleShape
* _arg0
;
2185 wxPyControlPoint
* _arg1
;
2188 int _arg4
= (int ) 0;
2189 int _arg5
= (int ) 0;
2190 PyObject
* _argo0
= 0;
2191 PyObject
* _argo1
= 0;
2192 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
2195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyCircleShape_base_OnSizingBeginDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
2200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnSizingBeginDragLeft. Expected _wxPyCircleShape_p.");
2205 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2206 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
2207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyCircleShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
2212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2213 wxPyCircleShape_base_OnSizingBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2215 wxPyEndAllowThreads(__tstate
);
2216 if (PyErr_Occurred()) return NULL
;
2217 } Py_INCREF(Py_None
);
2218 _resultobj
= Py_None
;
2222 #define wxPyCircleShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2223 static PyObject
*_wrap_wxPyCircleShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2224 PyObject
* _resultobj
;
2225 wxPyCircleShape
* _arg0
;
2226 wxPyControlPoint
* _arg1
;
2229 int _arg4
= (int ) 0;
2230 int _arg5
= (int ) 0;
2231 PyObject
* _argo0
= 0;
2232 PyObject
* _argo1
= 0;
2233 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
2236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyCircleShape_base_OnSizingEndDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
2241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnSizingEndDragLeft. Expected _wxPyCircleShape_p.");
2246 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2247 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
2248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyCircleShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
2253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2254 wxPyCircleShape_base_OnSizingEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2256 wxPyEndAllowThreads(__tstate
);
2257 if (PyErr_Occurred()) return NULL
;
2258 } Py_INCREF(Py_None
);
2259 _resultobj
= Py_None
;
2263 #define wxPyCircleShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
2264 static PyObject
*_wrap_wxPyCircleShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2265 PyObject
* _resultobj
;
2266 wxPyCircleShape
* _arg0
;
2269 PyObject
* _argo0
= 0;
2270 char *_kwnames
[] = { "self","w","h", NULL
};
2273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyCircleShape_base_OnBeginSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
2278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnBeginSize. Expected _wxPyCircleShape_p.");
2283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2284 wxPyCircleShape_base_OnBeginSize(_arg0
,_arg1
,_arg2
);
2286 wxPyEndAllowThreads(__tstate
);
2287 if (PyErr_Occurred()) return NULL
;
2288 } Py_INCREF(Py_None
);
2289 _resultobj
= Py_None
;
2293 #define wxPyCircleShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
2294 static PyObject
*_wrap_wxPyCircleShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2295 PyObject
* _resultobj
;
2296 wxPyCircleShape
* _arg0
;
2299 PyObject
* _argo0
= 0;
2300 char *_kwnames
[] = { "self","w","h", NULL
};
2303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyCircleShape_base_OnEndSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
2308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnEndSize. Expected _wxPyCircleShape_p.");
2313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2314 wxPyCircleShape_base_OnEndSize(_arg0
,_arg1
,_arg2
);
2316 wxPyEndAllowThreads(__tstate
);
2317 if (PyErr_Occurred()) return NULL
;
2318 } Py_INCREF(Py_None
);
2319 _resultobj
= Py_None
;
2323 static void *SwigwxArrowHeadTowxObject(void *ptr
) {
2326 src
= (wxArrowHead
*) ptr
;
2327 dest
= (wxObject
*) src
;
2328 return (void *) dest
;
2331 #define new_wxArrowHead(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxArrowHead(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2332 static PyObject
*_wrap_new_wxArrowHead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2333 PyObject
* _resultobj
;
2334 wxArrowHead
* _result
;
2335 int _arg0
= (int ) 0;
2336 int _arg1
= (int ) 0;
2337 double _arg2
= (double ) 0.0;
2338 double _arg3
= (double ) 0.0;
2339 char * _arg4
= (char *) "";
2340 wxPseudoMetaFile
* _arg5
= (wxPseudoMetaFile
*) NULL
;
2341 long _arg6
= (long ) -1;
2342 PyObject
* _argo5
= 0;
2343 char *_kwnames
[] = { "type","end","size","dist","name","mf","arrowId", NULL
};
2347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiddsOl:new_wxArrowHead",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_argo5
,&_arg6
))
2350 if (_argo5
== Py_None
) { _arg5
= NULL
; }
2351 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPseudoMetaFile_p")) {
2352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxArrowHead. Expected _wxPseudoMetaFile_p.");
2357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2358 _result
= (wxArrowHead
*)new_wxArrowHead(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2360 wxPyEndAllowThreads(__tstate
);
2361 if (PyErr_Occurred()) return NULL
;
2363 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxArrowHead_p");
2364 _resultobj
= Py_BuildValue("s",_ptemp
);
2367 _resultobj
= Py_None
;
2372 #define delete_wxArrowHead(_swigobj) (delete _swigobj)
2373 static PyObject
*_wrap_delete_wxArrowHead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2374 PyObject
* _resultobj
;
2375 wxArrowHead
* _arg0
;
2376 PyObject
* _argo0
= 0;
2377 char *_kwnames
[] = { "self", NULL
};
2380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxArrowHead",_kwnames
,&_argo0
))
2383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxArrowHead_p")) {
2385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxArrowHead. Expected _wxArrowHead_p.");
2390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2391 delete_wxArrowHead(_arg0
);
2393 wxPyEndAllowThreads(__tstate
);
2394 if (PyErr_Occurred()) return NULL
;
2395 } Py_INCREF(Py_None
);
2396 _resultobj
= Py_None
;
2400 #define wxArrowHead__GetType(_swigobj) (_swigobj->_GetType())
2401 static PyObject
*_wrap_wxArrowHead__GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2402 PyObject
* _resultobj
;
2404 wxArrowHead
* _arg0
;
2405 PyObject
* _argo0
= 0;
2406 char *_kwnames
[] = { "self", NULL
};
2409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxArrowHead__GetType",_kwnames
,&_argo0
))
2412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxArrowHead_p")) {
2414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArrowHead__GetType. Expected _wxArrowHead_p.");
2419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2420 _result
= (int )wxArrowHead__GetType(_arg0
);
2422 wxPyEndAllowThreads(__tstate
);
2423 if (PyErr_Occurred()) return NULL
;
2424 } _resultobj
= Py_BuildValue("i",_result
);
2428 #define wxArrowHead_GetPosition(_swigobj) (_swigobj->GetPosition())
2429 static PyObject
*_wrap_wxArrowHead_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2430 PyObject
* _resultobj
;
2432 wxArrowHead
* _arg0
;
2433 PyObject
* _argo0
= 0;
2434 char *_kwnames
[] = { "self", NULL
};
2437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxArrowHead_GetPosition",_kwnames
,&_argo0
))
2440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxArrowHead_p")) {
2442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArrowHead_GetPosition. Expected _wxArrowHead_p.");
2447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2448 _result
= (int )wxArrowHead_GetPosition(_arg0
);
2450 wxPyEndAllowThreads(__tstate
);
2451 if (PyErr_Occurred()) return NULL
;
2452 } _resultobj
= Py_BuildValue("i",_result
);
2456 #define wxArrowHead_SetPosition(_swigobj,_swigarg0) (_swigobj->SetPosition(_swigarg0))
2457 static PyObject
*_wrap_wxArrowHead_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2458 PyObject
* _resultobj
;
2459 wxArrowHead
* _arg0
;
2461 PyObject
* _argo0
= 0;
2462 char *_kwnames
[] = { "self","pos", NULL
};
2465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxArrowHead_SetPosition",_kwnames
,&_argo0
,&_arg1
))
2468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxArrowHead_p")) {
2470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArrowHead_SetPosition. Expected _wxArrowHead_p.");
2475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2476 wxArrowHead_SetPosition(_arg0
,_arg1
);
2478 wxPyEndAllowThreads(__tstate
);
2479 if (PyErr_Occurred()) return NULL
;
2480 } Py_INCREF(Py_None
);
2481 _resultobj
= Py_None
;
2485 #define wxArrowHead_GetXOffset(_swigobj) (_swigobj->GetXOffset())
2486 static PyObject
*_wrap_wxArrowHead_GetXOffset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2487 PyObject
* _resultobj
;
2489 wxArrowHead
* _arg0
;
2490 PyObject
* _argo0
= 0;
2491 char *_kwnames
[] = { "self", NULL
};
2494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxArrowHead_GetXOffset",_kwnames
,&_argo0
))
2497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxArrowHead_p")) {
2499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArrowHead_GetXOffset. Expected _wxArrowHead_p.");
2504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2505 _result
= (double )wxArrowHead_GetXOffset(_arg0
);
2507 wxPyEndAllowThreads(__tstate
);
2508 if (PyErr_Occurred()) return NULL
;
2509 } _resultobj
= Py_BuildValue("d",_result
);
2513 #define wxArrowHead_GetYOffset(_swigobj) (_swigobj->GetYOffset())
2514 static PyObject
*_wrap_wxArrowHead_GetYOffset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2515 PyObject
* _resultobj
;
2517 wxArrowHead
* _arg0
;
2518 PyObject
* _argo0
= 0;
2519 char *_kwnames
[] = { "self", NULL
};
2522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxArrowHead_GetYOffset",_kwnames
,&_argo0
))
2525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxArrowHead_p")) {
2527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArrowHead_GetYOffset. Expected _wxArrowHead_p.");
2532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2533 _result
= (double )wxArrowHead_GetYOffset(_arg0
);
2535 wxPyEndAllowThreads(__tstate
);
2536 if (PyErr_Occurred()) return NULL
;
2537 } _resultobj
= Py_BuildValue("d",_result
);
2541 #define wxArrowHead_GetSpacing(_swigobj) (_swigobj->GetSpacing())
2542 static PyObject
*_wrap_wxArrowHead_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2543 PyObject
* _resultobj
;
2545 wxArrowHead
* _arg0
;
2546 PyObject
* _argo0
= 0;
2547 char *_kwnames
[] = { "self", NULL
};
2550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxArrowHead_GetSpacing",_kwnames
,&_argo0
))
2553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxArrowHead_p")) {
2555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArrowHead_GetSpacing. Expected _wxArrowHead_p.");
2560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2561 _result
= (double )wxArrowHead_GetSpacing(_arg0
);
2563 wxPyEndAllowThreads(__tstate
);
2564 if (PyErr_Occurred()) return NULL
;
2565 } _resultobj
= Py_BuildValue("d",_result
);
2569 #define wxArrowHead_GetSize(_swigobj) (_swigobj->GetSize())
2570 static PyObject
*_wrap_wxArrowHead_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2571 PyObject
* _resultobj
;
2573 wxArrowHead
* _arg0
;
2574 PyObject
* _argo0
= 0;
2575 char *_kwnames
[] = { "self", NULL
};
2578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxArrowHead_GetSize",_kwnames
,&_argo0
))
2581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxArrowHead_p")) {
2583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArrowHead_GetSize. Expected _wxArrowHead_p.");
2588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2589 _result
= (double )wxArrowHead_GetSize(_arg0
);
2591 wxPyEndAllowThreads(__tstate
);
2592 if (PyErr_Occurred()) return NULL
;
2593 } _resultobj
= Py_BuildValue("d",_result
);
2597 #define wxArrowHead_GetName(_swigobj) (_swigobj->GetName())
2598 static PyObject
*_wrap_wxArrowHead_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2599 PyObject
* _resultobj
;
2601 wxArrowHead
* _arg0
;
2602 PyObject
* _argo0
= 0;
2603 char *_kwnames
[] = { "self", NULL
};
2606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxArrowHead_GetName",_kwnames
,&_argo0
))
2609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2610 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxArrowHead_p")) {
2611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArrowHead_GetName. Expected _wxArrowHead_p.");
2616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2617 _result
= new wxString (wxArrowHead_GetName(_arg0
));
2619 wxPyEndAllowThreads(__tstate
);
2620 if (PyErr_Occurred()) return NULL
;
2622 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2630 #define wxArrowHead_SetXOffset(_swigobj,_swigarg0) (_swigobj->SetXOffset(_swigarg0))
2631 static PyObject
*_wrap_wxArrowHead_SetXOffset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2632 PyObject
* _resultobj
;
2633 wxArrowHead
* _arg0
;
2635 PyObject
* _argo0
= 0;
2636 char *_kwnames
[] = { "self","x", NULL
};
2639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxArrowHead_SetXOffset",_kwnames
,&_argo0
,&_arg1
))
2642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxArrowHead_p")) {
2644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArrowHead_SetXOffset. Expected _wxArrowHead_p.");
2649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2650 wxArrowHead_SetXOffset(_arg0
,_arg1
);
2652 wxPyEndAllowThreads(__tstate
);
2653 if (PyErr_Occurred()) return NULL
;
2654 } Py_INCREF(Py_None
);
2655 _resultobj
= Py_None
;
2659 #define wxArrowHead_SetYOffset(_swigobj,_swigarg0) (_swigobj->SetYOffset(_swigarg0))
2660 static PyObject
*_wrap_wxArrowHead_SetYOffset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2661 PyObject
* _resultobj
;
2662 wxArrowHead
* _arg0
;
2664 PyObject
* _argo0
= 0;
2665 char *_kwnames
[] = { "self","y", NULL
};
2668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxArrowHead_SetYOffset",_kwnames
,&_argo0
,&_arg1
))
2671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxArrowHead_p")) {
2673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArrowHead_SetYOffset. Expected _wxArrowHead_p.");
2678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2679 wxArrowHead_SetYOffset(_arg0
,_arg1
);
2681 wxPyEndAllowThreads(__tstate
);
2682 if (PyErr_Occurred()) return NULL
;
2683 } Py_INCREF(Py_None
);
2684 _resultobj
= Py_None
;
2688 #define wxArrowHead_GetMetaFile(_swigobj) (_swigobj->GetMetaFile())
2689 static PyObject
*_wrap_wxArrowHead_GetMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2690 PyObject
* _resultobj
;
2691 wxPseudoMetaFile
* _result
;
2692 wxArrowHead
* _arg0
;
2693 PyObject
* _argo0
= 0;
2694 char *_kwnames
[] = { "self", NULL
};
2697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxArrowHead_GetMetaFile",_kwnames
,&_argo0
))
2700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxArrowHead_p")) {
2702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArrowHead_GetMetaFile. Expected _wxArrowHead_p.");
2707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2708 _result
= (wxPseudoMetaFile
*)wxArrowHead_GetMetaFile(_arg0
);
2710 wxPyEndAllowThreads(__tstate
);
2711 if (PyErr_Occurred()) return NULL
;
2712 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2716 #define wxArrowHead_GetId(_swigobj) (_swigobj->GetId())
2717 static PyObject
*_wrap_wxArrowHead_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2718 PyObject
* _resultobj
;
2720 wxArrowHead
* _arg0
;
2721 PyObject
* _argo0
= 0;
2722 char *_kwnames
[] = { "self", NULL
};
2725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxArrowHead_GetId",_kwnames
,&_argo0
))
2728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxArrowHead_p")) {
2730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArrowHead_GetId. Expected _wxArrowHead_p.");
2735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2736 _result
= (long )wxArrowHead_GetId(_arg0
);
2738 wxPyEndAllowThreads(__tstate
);
2739 if (PyErr_Occurred()) return NULL
;
2740 } _resultobj
= Py_BuildValue("l",_result
);
2744 #define wxArrowHead_GetArrowEnd(_swigobj) (_swigobj->GetArrowEnd())
2745 static PyObject
*_wrap_wxArrowHead_GetArrowEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2746 PyObject
* _resultobj
;
2748 wxArrowHead
* _arg0
;
2749 PyObject
* _argo0
= 0;
2750 char *_kwnames
[] = { "self", NULL
};
2753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxArrowHead_GetArrowEnd",_kwnames
,&_argo0
))
2756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxArrowHead_p")) {
2758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArrowHead_GetArrowEnd. Expected _wxArrowHead_p.");
2763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2764 _result
= (int )wxArrowHead_GetArrowEnd(_arg0
);
2766 wxPyEndAllowThreads(__tstate
);
2767 if (PyErr_Occurred()) return NULL
;
2768 } _resultobj
= Py_BuildValue("i",_result
);
2772 #define wxArrowHead_GetArrowSize(_swigobj) (_swigobj->GetArrowSize())
2773 static PyObject
*_wrap_wxArrowHead_GetArrowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2774 PyObject
* _resultobj
;
2776 wxArrowHead
* _arg0
;
2777 PyObject
* _argo0
= 0;
2778 char *_kwnames
[] = { "self", NULL
};
2781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxArrowHead_GetArrowSize",_kwnames
,&_argo0
))
2784 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2785 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxArrowHead_p")) {
2786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArrowHead_GetArrowSize. Expected _wxArrowHead_p.");
2791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2792 _result
= (double )wxArrowHead_GetArrowSize(_arg0
);
2794 wxPyEndAllowThreads(__tstate
);
2795 if (PyErr_Occurred()) return NULL
;
2796 } _resultobj
= Py_BuildValue("d",_result
);
2800 #define wxArrowHead_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2801 static PyObject
*_wrap_wxArrowHead_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2802 PyObject
* _resultobj
;
2803 wxArrowHead
* _arg0
;
2805 PyObject
* _argo0
= 0;
2806 char *_kwnames
[] = { "self","size", NULL
};
2809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxArrowHead_SetSize",_kwnames
,&_argo0
,&_arg1
))
2812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxArrowHead_p")) {
2814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArrowHead_SetSize. Expected _wxArrowHead_p.");
2819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2820 wxArrowHead_SetSize(_arg0
,_arg1
);
2822 wxPyEndAllowThreads(__tstate
);
2823 if (PyErr_Occurred()) return NULL
;
2824 } Py_INCREF(Py_None
);
2825 _resultobj
= Py_None
;
2829 #define wxArrowHead_SetSpacing(_swigobj,_swigarg0) (_swigobj->SetSpacing(_swigarg0))
2830 static PyObject
*_wrap_wxArrowHead_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2831 PyObject
* _resultobj
;
2832 wxArrowHead
* _arg0
;
2834 PyObject
* _argo0
= 0;
2835 char *_kwnames
[] = { "self","sp", NULL
};
2838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxArrowHead_SetSpacing",_kwnames
,&_argo0
,&_arg1
))
2841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxArrowHead_p")) {
2843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArrowHead_SetSpacing. Expected _wxArrowHead_p.");
2848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2849 wxArrowHead_SetSpacing(_arg0
,_arg1
);
2851 wxPyEndAllowThreads(__tstate
);
2852 if (PyErr_Occurred()) return NULL
;
2853 } Py_INCREF(Py_None
);
2854 _resultobj
= Py_None
;
2858 static void *SwigwxPyLineShapeTowxPyShape(void *ptr
) {
2861 src
= (wxPyLineShape
*) ptr
;
2862 dest
= (wxPyShape
*) src
;
2863 return (void *) dest
;
2866 static void *SwigwxPyLineShapeTowxPyShapeEvtHandler(void *ptr
) {
2868 wxPyShapeEvtHandler
*dest
;
2869 src
= (wxPyLineShape
*) ptr
;
2870 dest
= (wxPyShapeEvtHandler
*) src
;
2871 return (void *) dest
;
2874 static void *SwigwxPyLineShapeTowxObject(void *ptr
) {
2877 src
= (wxPyLineShape
*) ptr
;
2878 dest
= (wxObject
*) src
;
2879 return (void *) dest
;
2882 #define new_wxPyLineShape() (new wxPyLineShape())
2883 static PyObject
*_wrap_new_wxPyLineShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2884 PyObject
* _resultobj
;
2885 wxPyLineShape
* _result
;
2886 char *_kwnames
[] = { NULL
};
2890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyLineShape",_kwnames
))
2893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2894 _result
= (wxPyLineShape
*)new_wxPyLineShape();
2896 wxPyEndAllowThreads(__tstate
);
2897 if (PyErr_Occurred()) return NULL
;
2899 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyLineShape_p");
2900 _resultobj
= Py_BuildValue("s",_ptemp
);
2903 _resultobj
= Py_None
;
2908 #define wxPyLineShape__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2909 static PyObject
*_wrap_wxPyLineShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2910 PyObject
* _resultobj
;
2911 wxPyLineShape
* _arg0
;
2914 PyObject
* _argo0
= 0;
2915 PyObject
* _obj1
= 0;
2916 PyObject
* _obj2
= 0;
2917 char *_kwnames
[] = { "self","self","_class", NULL
};
2920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyLineShape__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
2925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape__setCallbackInfo. Expected _wxPyLineShape_p.");
2936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2937 wxPyLineShape__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2939 wxPyEndAllowThreads(__tstate
);
2940 if (PyErr_Occurred()) return NULL
;
2941 } Py_INCREF(Py_None
);
2942 _resultobj
= Py_None
;
2946 #define wxPyLineShape_AddArrow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->AddArrow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2947 static PyObject
*_wrap_wxPyLineShape_AddArrow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2948 PyObject
* _resultobj
;
2949 wxPyLineShape
* _arg0
;
2951 int _arg2
= (int ) ARROW_POSITION_END
;
2952 double _arg3
= (double ) 10.0;
2953 double _arg4
= (double ) 0.0;
2954 char * _arg5
= (char *) "";
2955 wxPseudoMetaFile
* _arg6
= (wxPseudoMetaFile
*) NULL
;
2956 long _arg7
= (long ) -1;
2957 PyObject
* _argo0
= 0;
2958 PyObject
* _argo6
= 0;
2959 char *_kwnames
[] = { "self","type","end","arrowSize","xOffset","name","mf","arrowId", NULL
};
2962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|iddsOl:wxPyLineShape_AddArrow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_arg7
))
2965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
2967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_AddArrow. Expected _wxPyLineShape_p.");
2972 if (_argo6
== Py_None
) { _arg6
= NULL
; }
2973 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPseudoMetaFile_p")) {
2974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxPyLineShape_AddArrow. Expected _wxPseudoMetaFile_p.");
2979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2980 wxPyLineShape_AddArrow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
);
2982 wxPyEndAllowThreads(__tstate
);
2983 if (PyErr_Occurred()) return NULL
;
2984 } Py_INCREF(Py_None
);
2985 _resultobj
= Py_None
;
2989 static void wxPyLineShape_AddArrowOrdered(wxPyLineShape
*self
,wxArrowHead
* arrow
,PyObject
* referenceList
,int end
) {
2990 wxList
* list
= wxPy_wxListHelper(referenceList
, "_wxArrowHead_p");
2991 self
->AddArrowOrdered(arrow
, *list
, end
);
2994 static PyObject
*_wrap_wxPyLineShape_AddArrowOrdered(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2995 PyObject
* _resultobj
;
2996 wxPyLineShape
* _arg0
;
2997 wxArrowHead
* _arg1
;
3000 PyObject
* _argo0
= 0;
3001 PyObject
* _argo1
= 0;
3002 PyObject
* _obj2
= 0;
3003 char *_kwnames
[] = { "self","arrow","referenceList","end", NULL
};
3006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOi:wxPyLineShape_AddArrowOrdered",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
))
3009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_AddArrowOrdered. Expected _wxPyLineShape_p.");
3016 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3017 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxArrowHead_p")) {
3018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_AddArrowOrdered. Expected _wxArrowHead_p.");
3026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3027 wxPyLineShape_AddArrowOrdered(_arg0
,_arg1
,_arg2
,_arg3
);
3029 wxPyEndAllowThreads(__tstate
);
3030 if (PyErr_Occurred()) return NULL
;
3031 } Py_INCREF(Py_None
);
3032 _resultobj
= Py_None
;
3036 #define wxPyLineShape_ClearArrow(_swigobj,_swigarg0) (_swigobj->ClearArrow(_swigarg0))
3037 static PyObject
*_wrap_wxPyLineShape_ClearArrow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3038 PyObject
* _resultobj
;
3040 wxPyLineShape
* _arg0
;
3042 PyObject
* _argo0
= 0;
3043 PyObject
* _obj1
= 0;
3044 char *_kwnames
[] = { "self","name", NULL
};
3047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyLineShape_ClearArrow",_kwnames
,&_argo0
,&_obj1
))
3050 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3051 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_ClearArrow. Expected _wxPyLineShape_p.");
3057 #if PYTHON_API_VERSION >= 1009
3058 char* tmpPtr
; int tmpSize
;
3059 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3060 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3063 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3065 _arg1
= new wxString(tmpPtr
, tmpSize
);
3067 if (!PyString_Check(_obj1
)) {
3068 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3071 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3076 _result
= (bool )wxPyLineShape_ClearArrow(_arg0
,*_arg1
);
3078 wxPyEndAllowThreads(__tstate
);
3079 if (PyErr_Occurred()) return NULL
;
3080 } _resultobj
= Py_BuildValue("i",_result
);
3088 #define wxPyLineShape_ClearArrowsAtPosition(_swigobj,_swigarg0) (_swigobj->ClearArrowsAtPosition(_swigarg0))
3089 static PyObject
*_wrap_wxPyLineShape_ClearArrowsAtPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3090 PyObject
* _resultobj
;
3091 wxPyLineShape
* _arg0
;
3092 int _arg1
= (int ) -1;
3093 PyObject
* _argo0
= 0;
3094 char *_kwnames
[] = { "self","position", NULL
};
3097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyLineShape_ClearArrowsAtPosition",_kwnames
,&_argo0
,&_arg1
))
3100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_ClearArrowsAtPosition. Expected _wxPyLineShape_p.");
3107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3108 wxPyLineShape_ClearArrowsAtPosition(_arg0
,_arg1
);
3110 wxPyEndAllowThreads(__tstate
);
3111 if (PyErr_Occurred()) return NULL
;
3112 } Py_INCREF(Py_None
);
3113 _resultobj
= Py_None
;
3117 #define wxPyLineShape_DrawArrow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawArrow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3118 static PyObject
*_wrap_wxPyLineShape_DrawArrow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3119 PyObject
* _resultobj
;
3120 wxPyLineShape
* _arg0
;
3122 wxArrowHead
* _arg2
;
3125 PyObject
* _argo0
= 0;
3126 PyObject
* _argo1
= 0;
3127 PyObject
* _argo2
= 0;
3129 char *_kwnames
[] = { "self","dc","arrow","xOffset","proportionalOffset", NULL
};
3132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOdi:wxPyLineShape_DrawArrow",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
,&tempbool4
))
3135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_DrawArrow. Expected _wxPyLineShape_p.");
3142 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3143 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_DrawArrow. Expected _wxDC_p.");
3149 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3150 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxArrowHead_p")) {
3151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyLineShape_DrawArrow. Expected _wxArrowHead_p.");
3155 _arg4
= (bool ) tempbool4
;
3157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3158 wxPyLineShape_DrawArrow(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3160 wxPyEndAllowThreads(__tstate
);
3161 if (PyErr_Occurred()) return NULL
;
3162 } Py_INCREF(Py_None
);
3163 _resultobj
= Py_None
;
3167 #define wxPyLineShape_DeleteArrowHeadId(_swigobj,_swigarg0) (_swigobj->DeleteArrowHead(_swigarg0))
3168 static PyObject
*_wrap_wxPyLineShape_DeleteArrowHeadId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3169 PyObject
* _resultobj
;
3171 wxPyLineShape
* _arg0
;
3173 PyObject
* _argo0
= 0;
3174 char *_kwnames
[] = { "self","arrowId", NULL
};
3177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPyLineShape_DeleteArrowHeadId",_kwnames
,&_argo0
,&_arg1
))
3180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_DeleteArrowHeadId. Expected _wxPyLineShape_p.");
3187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3188 _result
= (bool )wxPyLineShape_DeleteArrowHeadId(_arg0
,_arg1
);
3190 wxPyEndAllowThreads(__tstate
);
3191 if (PyErr_Occurred()) return NULL
;
3192 } _resultobj
= Py_BuildValue("i",_result
);
3196 #define wxPyLineShape_DeleteArrowHead(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteArrowHead(_swigarg0,_swigarg1))
3197 static PyObject
*_wrap_wxPyLineShape_DeleteArrowHead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3198 PyObject
* _resultobj
;
3200 wxPyLineShape
* _arg0
;
3203 PyObject
* _argo0
= 0;
3204 PyObject
* _obj2
= 0;
3205 char *_kwnames
[] = { "self","position","name", NULL
};
3208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxPyLineShape_DeleteArrowHead",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_DeleteArrowHead. Expected _wxPyLineShape_p.");
3218 #if PYTHON_API_VERSION >= 1009
3219 char* tmpPtr
; int tmpSize
;
3220 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
3221 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3224 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
3226 _arg2
= new wxString(tmpPtr
, tmpSize
);
3228 if (!PyString_Check(_obj2
)) {
3229 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3232 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
3236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3237 _result
= (bool )wxPyLineShape_DeleteArrowHead(_arg0
,_arg1
,*_arg2
);
3239 wxPyEndAllowThreads(__tstate
);
3240 if (PyErr_Occurred()) return NULL
;
3241 } _resultobj
= Py_BuildValue("i",_result
);
3249 #define wxPyLineShape_DeleteLineControlPoint(_swigobj) (_swigobj->DeleteLineControlPoint())
3250 static PyObject
*_wrap_wxPyLineShape_DeleteLineControlPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3251 PyObject
* _resultobj
;
3253 wxPyLineShape
* _arg0
;
3254 PyObject
* _argo0
= 0;
3255 char *_kwnames
[] = { "self", NULL
};
3258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLineShape_DeleteLineControlPoint",_kwnames
,&_argo0
))
3261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_DeleteLineControlPoint. Expected _wxPyLineShape_p.");
3268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3269 _result
= (bool )wxPyLineShape_DeleteLineControlPoint(_arg0
);
3271 wxPyEndAllowThreads(__tstate
);
3272 if (PyErr_Occurred()) return NULL
;
3273 } _resultobj
= Py_BuildValue("i",_result
);
3277 #define wxPyLineShape_DrawArrows(_swigobj,_swigarg0) (_swigobj->DrawArrows(_swigarg0))
3278 static PyObject
*_wrap_wxPyLineShape_DrawArrows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3279 PyObject
* _resultobj
;
3280 wxPyLineShape
* _arg0
;
3282 PyObject
* _argo0
= 0;
3283 PyObject
* _argo1
= 0;
3284 char *_kwnames
[] = { "self","dc", NULL
};
3287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyLineShape_DrawArrows",_kwnames
,&_argo0
,&_argo1
))
3290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_DrawArrows. Expected _wxPyLineShape_p.");
3297 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3298 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_DrawArrows. Expected _wxDC_p.");
3304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3305 wxPyLineShape_DrawArrows(_arg0
,*_arg1
);
3307 wxPyEndAllowThreads(__tstate
);
3308 if (PyErr_Occurred()) return NULL
;
3309 } Py_INCREF(Py_None
);
3310 _resultobj
= Py_None
;
3314 #define wxPyLineShape_DrawRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3315 static PyObject
*_wrap_wxPyLineShape_DrawRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3316 PyObject
* _resultobj
;
3317 wxPyLineShape
* _arg0
;
3319 wxShapeRegion
* _arg2
;
3322 PyObject
* _argo0
= 0;
3323 PyObject
* _argo1
= 0;
3324 PyObject
* _argo2
= 0;
3325 char *_kwnames
[] = { "self","dc","region","x","y", NULL
};
3328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOdd:wxPyLineShape_DrawRegion",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
,&_arg4
))
3331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_DrawRegion. Expected _wxPyLineShape_p.");
3338 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3339 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_DrawRegion. Expected _wxDC_p.");
3345 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3346 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxShapeRegion_p")) {
3347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyLineShape_DrawRegion. Expected _wxShapeRegion_p.");
3352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3353 wxPyLineShape_DrawRegion(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3355 wxPyEndAllowThreads(__tstate
);
3356 if (PyErr_Occurred()) return NULL
;
3357 } Py_INCREF(Py_None
);
3358 _resultobj
= Py_None
;
3362 #define wxPyLineShape_EraseRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->EraseRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3363 static PyObject
*_wrap_wxPyLineShape_EraseRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3364 PyObject
* _resultobj
;
3365 wxPyLineShape
* _arg0
;
3367 wxShapeRegion
* _arg2
;
3370 PyObject
* _argo0
= 0;
3371 PyObject
* _argo1
= 0;
3372 PyObject
* _argo2
= 0;
3373 char *_kwnames
[] = { "self","dc","region","x","y", NULL
};
3376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOdd:wxPyLineShape_EraseRegion",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
,&_arg4
))
3379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_EraseRegion. Expected _wxPyLineShape_p.");
3386 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3387 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_EraseRegion. Expected _wxDC_p.");
3393 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3394 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxShapeRegion_p")) {
3395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyLineShape_EraseRegion. Expected _wxShapeRegion_p.");
3400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3401 wxPyLineShape_EraseRegion(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3403 wxPyEndAllowThreads(__tstate
);
3404 if (PyErr_Occurred()) return NULL
;
3405 } Py_INCREF(Py_None
);
3406 _resultobj
= Py_None
;
3410 #define wxPyLineShape_FindArrowHeadId(_swigobj,_swigarg0) (_swigobj->FindArrowHead(_swigarg0))
3411 static PyObject
*_wrap_wxPyLineShape_FindArrowHeadId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3412 PyObject
* _resultobj
;
3413 wxArrowHead
* _result
;
3414 wxPyLineShape
* _arg0
;
3416 PyObject
* _argo0
= 0;
3417 char *_kwnames
[] = { "self","arrowId", NULL
};
3420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPyLineShape_FindArrowHeadId",_kwnames
,&_argo0
,&_arg1
))
3423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_FindArrowHeadId. Expected _wxPyLineShape_p.");
3430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3431 _result
= (wxArrowHead
*)wxPyLineShape_FindArrowHeadId(_arg0
,_arg1
);
3433 wxPyEndAllowThreads(__tstate
);
3434 if (PyErr_Occurred()) return NULL
;
3435 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3439 #define wxPyLineShape_FindArrowHead(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindArrowHead(_swigarg0,_swigarg1))
3440 static PyObject
*_wrap_wxPyLineShape_FindArrowHead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3441 PyObject
* _resultobj
;
3442 wxArrowHead
* _result
;
3443 wxPyLineShape
* _arg0
;
3446 PyObject
* _argo0
= 0;
3447 PyObject
* _obj2
= 0;
3448 char *_kwnames
[] = { "self","position","name", NULL
};
3451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxPyLineShape_FindArrowHead",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_FindArrowHead. Expected _wxPyLineShape_p.");
3461 #if PYTHON_API_VERSION >= 1009
3462 char* tmpPtr
; int tmpSize
;
3463 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
3464 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3467 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
3469 _arg2
= new wxString(tmpPtr
, tmpSize
);
3471 if (!PyString_Check(_obj2
)) {
3472 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3475 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
3479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3480 _result
= (wxArrowHead
*)wxPyLineShape_FindArrowHead(_arg0
,_arg1
,*_arg2
);
3482 wxPyEndAllowThreads(__tstate
);
3483 if (PyErr_Occurred()) return NULL
;
3484 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3492 #define wxPyLineShape_FindLineEndPoints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FindLineEndPoints(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3493 static PyObject
*_wrap_wxPyLineShape_FindLineEndPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3494 PyObject
* _resultobj
;
3495 wxPyLineShape
* _arg0
;
3504 PyObject
* _argo0
= 0;
3505 char *_kwnames
[] = { "self", NULL
};
3520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLineShape_FindLineEndPoints",_kwnames
,&_argo0
))
3523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_FindLineEndPoints. Expected _wxPyLineShape_p.");
3530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3531 wxPyLineShape_FindLineEndPoints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3533 wxPyEndAllowThreads(__tstate
);
3534 if (PyErr_Occurred()) return NULL
;
3535 } Py_INCREF(Py_None
);
3536 _resultobj
= Py_None
;
3539 o
= PyFloat_FromDouble((double) (*_arg1
));
3540 _resultobj
= t_output_helper(_resultobj
, o
);
3544 o
= PyFloat_FromDouble((double) (*_arg2
));
3545 _resultobj
= t_output_helper(_resultobj
, o
);
3549 o
= PyFloat_FromDouble((double) (*_arg3
));
3550 _resultobj
= t_output_helper(_resultobj
, o
);
3554 o
= PyFloat_FromDouble((double) (*_arg4
));
3555 _resultobj
= t_output_helper(_resultobj
, o
);
3560 #define wxPyLineShape_FindLinePosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindLinePosition(_swigarg0,_swigarg1))
3561 static PyObject
*_wrap_wxPyLineShape_FindLinePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3562 PyObject
* _resultobj
;
3564 wxPyLineShape
* _arg0
;
3567 PyObject
* _argo0
= 0;
3568 char *_kwnames
[] = { "self","x","y", NULL
};
3571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyLineShape_FindLinePosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3574 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3575 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_FindLinePosition. Expected _wxPyLineShape_p.");
3581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3582 _result
= (int )wxPyLineShape_FindLinePosition(_arg0
,_arg1
,_arg2
);
3584 wxPyEndAllowThreads(__tstate
);
3585 if (PyErr_Occurred()) return NULL
;
3586 } _resultobj
= Py_BuildValue("i",_result
);
3590 #define wxPyLineShape_FindMinimumWidth(_swigobj) (_swigobj->FindMinimumWidth())
3591 static PyObject
*_wrap_wxPyLineShape_FindMinimumWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3592 PyObject
* _resultobj
;
3594 wxPyLineShape
* _arg0
;
3595 PyObject
* _argo0
= 0;
3596 char *_kwnames
[] = { "self", NULL
};
3599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLineShape_FindMinimumWidth",_kwnames
,&_argo0
))
3602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_FindMinimumWidth. Expected _wxPyLineShape_p.");
3609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3610 _result
= (double )wxPyLineShape_FindMinimumWidth(_arg0
);
3612 wxPyEndAllowThreads(__tstate
);
3613 if (PyErr_Occurred()) return NULL
;
3614 } _resultobj
= Py_BuildValue("d",_result
);
3618 #define wxPyLineShape_FindNth(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FindNth(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3619 static PyObject
*_wrap_wxPyLineShape_FindNth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3620 PyObject
* _resultobj
;
3621 wxPyLineShape
* _arg0
;
3628 PyObject
* _argo0
= 0;
3629 PyObject
* _argo1
= 0;
3631 char *_kwnames
[] = { "self","image","incoming", NULL
};
3640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyLineShape_FindNth",_kwnames
,&_argo0
,&_argo1
,&tempbool4
))
3643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_FindNth. Expected _wxPyLineShape_p.");
3650 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3651 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
3652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_FindNth. Expected _wxPyShape_p.");
3656 _arg4
= (bool ) tempbool4
;
3658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3659 wxPyLineShape_FindNth(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3661 wxPyEndAllowThreads(__tstate
);
3662 if (PyErr_Occurred()) return NULL
;
3663 } Py_INCREF(Py_None
);
3664 _resultobj
= Py_None
;
3667 o
= PyInt_FromLong((long) (*_arg2
));
3668 _resultobj
= t_output_helper(_resultobj
, o
);
3672 o
= PyInt_FromLong((long) (*_arg3
));
3673 _resultobj
= t_output_helper(_resultobj
, o
);
3678 #define wxPyLineShape_GetAttachmentFrom(_swigobj) (_swigobj->GetAttachmentFrom())
3679 static PyObject
*_wrap_wxPyLineShape_GetAttachmentFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3680 PyObject
* _resultobj
;
3682 wxPyLineShape
* _arg0
;
3683 PyObject
* _argo0
= 0;
3684 char *_kwnames
[] = { "self", NULL
};
3687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLineShape_GetAttachmentFrom",_kwnames
,&_argo0
))
3690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_GetAttachmentFrom. Expected _wxPyLineShape_p.");
3697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3698 _result
= (int )wxPyLineShape_GetAttachmentFrom(_arg0
);
3700 wxPyEndAllowThreads(__tstate
);
3701 if (PyErr_Occurred()) return NULL
;
3702 } _resultobj
= Py_BuildValue("i",_result
);
3706 #define wxPyLineShape_GetAttachmentTo(_swigobj) (_swigobj->GetAttachmentTo())
3707 static PyObject
*_wrap_wxPyLineShape_GetAttachmentTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3708 PyObject
* _resultobj
;
3710 wxPyLineShape
* _arg0
;
3711 PyObject
* _argo0
= 0;
3712 char *_kwnames
[] = { "self", NULL
};
3715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLineShape_GetAttachmentTo",_kwnames
,&_argo0
))
3718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_GetAttachmentTo. Expected _wxPyLineShape_p.");
3725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3726 _result
= (int )wxPyLineShape_GetAttachmentTo(_arg0
);
3728 wxPyEndAllowThreads(__tstate
);
3729 if (PyErr_Occurred()) return NULL
;
3730 } _resultobj
= Py_BuildValue("i",_result
);
3734 #define wxPyLineShape_GetEnds(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetEnds(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3735 static PyObject
*_wrap_wxPyLineShape_GetEnds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3736 PyObject
* _resultobj
;
3737 wxPyLineShape
* _arg0
;
3746 PyObject
* _argo0
= 0;
3747 char *_kwnames
[] = { "self", NULL
};
3762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLineShape_GetEnds",_kwnames
,&_argo0
))
3765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_GetEnds. Expected _wxPyLineShape_p.");
3772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3773 wxPyLineShape_GetEnds(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3775 wxPyEndAllowThreads(__tstate
);
3776 if (PyErr_Occurred()) return NULL
;
3777 } Py_INCREF(Py_None
);
3778 _resultobj
= Py_None
;
3781 o
= PyFloat_FromDouble((double) (*_arg1
));
3782 _resultobj
= t_output_helper(_resultobj
, o
);
3786 o
= PyFloat_FromDouble((double) (*_arg2
));
3787 _resultobj
= t_output_helper(_resultobj
, o
);
3791 o
= PyFloat_FromDouble((double) (*_arg3
));
3792 _resultobj
= t_output_helper(_resultobj
, o
);
3796 o
= PyFloat_FromDouble((double) (*_arg4
));
3797 _resultobj
= t_output_helper(_resultobj
, o
);
3802 #define wxPyLineShape_GetFrom(_swigobj) (_swigobj->GetFrom())
3803 static PyObject
*_wrap_wxPyLineShape_GetFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3804 PyObject
* _resultobj
;
3805 wxPyShape
* _result
;
3806 wxPyLineShape
* _arg0
;
3807 PyObject
* _argo0
= 0;
3808 char *_kwnames
[] = { "self", NULL
};
3811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLineShape_GetFrom",_kwnames
,&_argo0
))
3814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_GetFrom. Expected _wxPyLineShape_p.");
3821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3822 _result
= (wxPyShape
*)wxPyLineShape_GetFrom(_arg0
);
3824 wxPyEndAllowThreads(__tstate
);
3825 if (PyErr_Occurred()) return NULL
;
3826 }{ _resultobj
= wxPyMake_wxShapeEvtHandler(_result
); }
3830 #define wxPyLineShape_GetLabelPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetLabelPosition(_swigarg0,_swigarg1,_swigarg2))
3831 static PyObject
*_wrap_wxPyLineShape_GetLabelPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3832 PyObject
* _resultobj
;
3833 wxPyLineShape
* _arg0
;
3839 PyObject
* _argo0
= 0;
3840 char *_kwnames
[] = { "self","position", NULL
};
3849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyLineShape_GetLabelPosition",_kwnames
,&_argo0
,&_arg1
))
3852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_GetLabelPosition. Expected _wxPyLineShape_p.");
3859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3860 wxPyLineShape_GetLabelPosition(_arg0
,_arg1
,_arg2
,_arg3
);
3862 wxPyEndAllowThreads(__tstate
);
3863 if (PyErr_Occurred()) return NULL
;
3864 } Py_INCREF(Py_None
);
3865 _resultobj
= Py_None
;
3868 o
= PyFloat_FromDouble((double) (*_arg2
));
3869 _resultobj
= t_output_helper(_resultobj
, o
);
3873 o
= PyFloat_FromDouble((double) (*_arg3
));
3874 _resultobj
= t_output_helper(_resultobj
, o
);
3879 #define wxPyLineShape_GetNextControlPoint(_swigobj,_swigarg0) (_swigobj->GetNextControlPoint(_swigarg0))
3880 static PyObject
*_wrap_wxPyLineShape_GetNextControlPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3881 PyObject
* _resultobj
;
3883 wxPyLineShape
* _arg0
;
3885 PyObject
* _argo0
= 0;
3886 PyObject
* _argo1
= 0;
3887 char *_kwnames
[] = { "self","shape", NULL
};
3891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyLineShape_GetNextControlPoint",_kwnames
,&_argo0
,&_argo1
))
3894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_GetNextControlPoint. Expected _wxPyLineShape_p.");
3901 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3902 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
3903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_GetNextControlPoint. Expected _wxPyShape_p.");
3908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3909 _result
= (wxPoint
*)wxPyLineShape_GetNextControlPoint(_arg0
,_arg1
);
3911 wxPyEndAllowThreads(__tstate
);
3912 if (PyErr_Occurred()) return NULL
;
3914 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
3915 _resultobj
= Py_BuildValue("s",_ptemp
);
3918 _resultobj
= Py_None
;
3923 #define wxPyLineShape_GetTo(_swigobj) (_swigobj->GetTo())
3924 static PyObject
*_wrap_wxPyLineShape_GetTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3925 PyObject
* _resultobj
;
3926 wxPyShape
* _result
;
3927 wxPyLineShape
* _arg0
;
3928 PyObject
* _argo0
= 0;
3929 char *_kwnames
[] = { "self", NULL
};
3932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLineShape_GetTo",_kwnames
,&_argo0
))
3935 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3936 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_GetTo. Expected _wxPyLineShape_p.");
3942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3943 _result
= (wxPyShape
*)wxPyLineShape_GetTo(_arg0
);
3945 wxPyEndAllowThreads(__tstate
);
3946 if (PyErr_Occurred()) return NULL
;
3947 }{ _resultobj
= wxPyMake_wxShapeEvtHandler(_result
); }
3951 #define wxPyLineShape_Initialise(_swigobj) (_swigobj->Initialise())
3952 static PyObject
*_wrap_wxPyLineShape_Initialise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3953 PyObject
* _resultobj
;
3954 wxPyLineShape
* _arg0
;
3955 PyObject
* _argo0
= 0;
3956 char *_kwnames
[] = { "self", NULL
};
3959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLineShape_Initialise",_kwnames
,&_argo0
))
3962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_Initialise. Expected _wxPyLineShape_p.");
3969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3970 wxPyLineShape_Initialise(_arg0
);
3972 wxPyEndAllowThreads(__tstate
);
3973 if (PyErr_Occurred()) return NULL
;
3974 } Py_INCREF(Py_None
);
3975 _resultobj
= Py_None
;
3979 #define wxPyLineShape_InsertLineControlPoint(_swigobj,_swigarg0) (_swigobj->InsertLineControlPoint(_swigarg0))
3980 static PyObject
*_wrap_wxPyLineShape_InsertLineControlPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3981 PyObject
* _resultobj
;
3982 wxPyLineShape
* _arg0
;
3984 PyObject
* _argo0
= 0;
3985 PyObject
* _argo1
= 0;
3986 char *_kwnames
[] = { "self","dc", NULL
};
3989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyLineShape_InsertLineControlPoint",_kwnames
,&_argo0
,&_argo1
))
3992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_InsertLineControlPoint. Expected _wxPyLineShape_p.");
3999 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4000 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_InsertLineControlPoint. Expected _wxDC_p.");
4006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4007 wxPyLineShape_InsertLineControlPoint(_arg0
,_arg1
);
4009 wxPyEndAllowThreads(__tstate
);
4010 if (PyErr_Occurred()) return NULL
;
4011 } Py_INCREF(Py_None
);
4012 _resultobj
= Py_None
;
4016 #define wxPyLineShape_IsEnd(_swigobj,_swigarg0) (_swigobj->IsEnd(_swigarg0))
4017 static PyObject
*_wrap_wxPyLineShape_IsEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4018 PyObject
* _resultobj
;
4020 wxPyLineShape
* _arg0
;
4022 PyObject
* _argo0
= 0;
4023 PyObject
* _argo1
= 0;
4024 char *_kwnames
[] = { "self","shape", NULL
};
4027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyLineShape_IsEnd",_kwnames
,&_argo0
,&_argo1
))
4030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_IsEnd. Expected _wxPyLineShape_p.");
4037 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4038 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
4039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_IsEnd. Expected _wxPyShape_p.");
4044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4045 _result
= (bool )wxPyLineShape_IsEnd(_arg0
,_arg1
);
4047 wxPyEndAllowThreads(__tstate
);
4048 if (PyErr_Occurred()) return NULL
;
4049 } _resultobj
= Py_BuildValue("i",_result
);
4053 #define wxPyLineShape_IsSpline(_swigobj) (_swigobj->IsSpline())
4054 static PyObject
*_wrap_wxPyLineShape_IsSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4055 PyObject
* _resultobj
;
4057 wxPyLineShape
* _arg0
;
4058 PyObject
* _argo0
= 0;
4059 char *_kwnames
[] = { "self", NULL
};
4062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLineShape_IsSpline",_kwnames
,&_argo0
))
4065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_IsSpline. Expected _wxPyLineShape_p.");
4072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4073 _result
= (bool )wxPyLineShape_IsSpline(_arg0
);
4075 wxPyEndAllowThreads(__tstate
);
4076 if (PyErr_Occurred()) return NULL
;
4077 } _resultobj
= Py_BuildValue("i",_result
);
4081 #define wxPyLineShape_MakeLineControlPoints(_swigobj,_swigarg0) (_swigobj->MakeLineControlPoints(_swigarg0))
4082 static PyObject
*_wrap_wxPyLineShape_MakeLineControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4083 PyObject
* _resultobj
;
4084 wxPyLineShape
* _arg0
;
4086 PyObject
* _argo0
= 0;
4087 char *_kwnames
[] = { "self","n", NULL
};
4090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyLineShape_MakeLineControlPoints",_kwnames
,&_argo0
,&_arg1
))
4093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_MakeLineControlPoints. Expected _wxPyLineShape_p.");
4100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4101 wxPyLineShape_MakeLineControlPoints(_arg0
,_arg1
);
4103 wxPyEndAllowThreads(__tstate
);
4104 if (PyErr_Occurred()) return NULL
;
4105 } Py_INCREF(Py_None
);
4106 _resultobj
= Py_None
;
4110 static PyObject
* wxPyLineShape_GetLineControlPoints(wxPyLineShape
*self
) {
4111 wxList
* list
= self
->GetLineControlPoints();
4112 return wxPy_ConvertList(list
, "wxPyControlPoint");
4114 static PyObject
*_wrap_wxPyLineShape_GetLineControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4115 PyObject
* _resultobj
;
4117 wxPyLineShape
* _arg0
;
4118 PyObject
* _argo0
= 0;
4119 char *_kwnames
[] = { "self", NULL
};
4122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLineShape_GetLineControlPoints",_kwnames
,&_argo0
))
4125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_GetLineControlPoints. Expected _wxPyLineShape_p.");
4132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4133 _result
= (PyObject
*)wxPyLineShape_GetLineControlPoints(_arg0
);
4135 wxPyEndAllowThreads(__tstate
);
4136 if (PyErr_Occurred()) return NULL
;
4138 _resultobj
= _result
;
4143 #define wxPyLineShape_SetAttachmentFrom(_swigobj,_swigarg0) (_swigobj->SetAttachmentFrom(_swigarg0))
4144 static PyObject
*_wrap_wxPyLineShape_SetAttachmentFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4145 PyObject
* _resultobj
;
4146 wxPyLineShape
* _arg0
;
4148 PyObject
* _argo0
= 0;
4149 char *_kwnames
[] = { "self","fromAttach", NULL
};
4152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyLineShape_SetAttachmentFrom",_kwnames
,&_argo0
,&_arg1
))
4155 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4156 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_SetAttachmentFrom. Expected _wxPyLineShape_p.");
4162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4163 wxPyLineShape_SetAttachmentFrom(_arg0
,_arg1
);
4165 wxPyEndAllowThreads(__tstate
);
4166 if (PyErr_Occurred()) return NULL
;
4167 } Py_INCREF(Py_None
);
4168 _resultobj
= Py_None
;
4172 #define wxPyLineShape_SetAttachments(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAttachments(_swigarg0,_swigarg1))
4173 static PyObject
*_wrap_wxPyLineShape_SetAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4174 PyObject
* _resultobj
;
4175 wxPyLineShape
* _arg0
;
4178 PyObject
* _argo0
= 0;
4179 char *_kwnames
[] = { "self","fromAttach","toAttach", NULL
};
4182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyLineShape_SetAttachments",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_SetAttachments. Expected _wxPyLineShape_p.");
4192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4193 wxPyLineShape_SetAttachments(_arg0
,_arg1
,_arg2
);
4195 wxPyEndAllowThreads(__tstate
);
4196 if (PyErr_Occurred()) return NULL
;
4197 } Py_INCREF(Py_None
);
4198 _resultobj
= Py_None
;
4202 #define wxPyLineShape_SetAttachmentTo(_swigobj,_swigarg0) (_swigobj->SetAttachmentTo(_swigarg0))
4203 static PyObject
*_wrap_wxPyLineShape_SetAttachmentTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4204 PyObject
* _resultobj
;
4205 wxPyLineShape
* _arg0
;
4207 PyObject
* _argo0
= 0;
4208 char *_kwnames
[] = { "self","toAttach", NULL
};
4211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyLineShape_SetAttachmentTo",_kwnames
,&_argo0
,&_arg1
))
4214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_SetAttachmentTo. Expected _wxPyLineShape_p.");
4221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4222 wxPyLineShape_SetAttachmentTo(_arg0
,_arg1
);
4224 wxPyEndAllowThreads(__tstate
);
4225 if (PyErr_Occurred()) return NULL
;
4226 } Py_INCREF(Py_None
);
4227 _resultobj
= Py_None
;
4231 #define wxPyLineShape_SetEnds(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetEnds(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4232 static PyObject
*_wrap_wxPyLineShape_SetEnds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4233 PyObject
* _resultobj
;
4234 wxPyLineShape
* _arg0
;
4239 PyObject
* _argo0
= 0;
4240 char *_kwnames
[] = { "self","x1","y1","x2","y2", NULL
};
4243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odddd:wxPyLineShape_SetEnds",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_SetEnds. Expected _wxPyLineShape_p.");
4253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4254 wxPyLineShape_SetEnds(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4256 wxPyEndAllowThreads(__tstate
);
4257 if (PyErr_Occurred()) return NULL
;
4258 } Py_INCREF(Py_None
);
4259 _resultobj
= Py_None
;
4263 #define wxPyLineShape_SetFrom(_swigobj,_swigarg0) (_swigobj->SetFrom(_swigarg0))
4264 static PyObject
*_wrap_wxPyLineShape_SetFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4265 PyObject
* _resultobj
;
4266 wxPyLineShape
* _arg0
;
4268 PyObject
* _argo0
= 0;
4269 PyObject
* _argo1
= 0;
4270 char *_kwnames
[] = { "self","object", NULL
};
4273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyLineShape_SetFrom",_kwnames
,&_argo0
,&_argo1
))
4276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_SetFrom. Expected _wxPyLineShape_p.");
4283 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4284 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
4285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_SetFrom. Expected _wxPyShape_p.");
4290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4291 wxPyLineShape_SetFrom(_arg0
,_arg1
);
4293 wxPyEndAllowThreads(__tstate
);
4294 if (PyErr_Occurred()) return NULL
;
4295 } Py_INCREF(Py_None
);
4296 _resultobj
= Py_None
;
4300 #define wxPyLineShape_SetIgnoreOffsets(_swigobj,_swigarg0) (_swigobj->SetIgnoreOffsets(_swigarg0))
4301 static PyObject
*_wrap_wxPyLineShape_SetIgnoreOffsets(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4302 PyObject
* _resultobj
;
4303 wxPyLineShape
* _arg0
;
4305 PyObject
* _argo0
= 0;
4307 char *_kwnames
[] = { "self","ignore", NULL
};
4310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyLineShape_SetIgnoreOffsets",_kwnames
,&_argo0
,&tempbool1
))
4313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_SetIgnoreOffsets. Expected _wxPyLineShape_p.");
4319 _arg1
= (bool ) tempbool1
;
4321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4322 wxPyLineShape_SetIgnoreOffsets(_arg0
,_arg1
);
4324 wxPyEndAllowThreads(__tstate
);
4325 if (PyErr_Occurred()) return NULL
;
4326 } Py_INCREF(Py_None
);
4327 _resultobj
= Py_None
;
4331 #define wxPyLineShape_SetSpline(_swigobj,_swigarg0) (_swigobj->SetSpline(_swigarg0))
4332 static PyObject
*_wrap_wxPyLineShape_SetSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4333 PyObject
* _resultobj
;
4334 wxPyLineShape
* _arg0
;
4336 PyObject
* _argo0
= 0;
4338 char *_kwnames
[] = { "self","spline", NULL
};
4341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyLineShape_SetSpline",_kwnames
,&_argo0
,&tempbool1
))
4344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_SetSpline. Expected _wxPyLineShape_p.");
4350 _arg1
= (bool ) tempbool1
;
4352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4353 wxPyLineShape_SetSpline(_arg0
,_arg1
);
4355 wxPyEndAllowThreads(__tstate
);
4356 if (PyErr_Occurred()) return NULL
;
4357 } Py_INCREF(Py_None
);
4358 _resultobj
= Py_None
;
4362 #define wxPyLineShape_SetTo(_swigobj,_swigarg0) (_swigobj->SetTo(_swigarg0))
4363 static PyObject
*_wrap_wxPyLineShape_SetTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4364 PyObject
* _resultobj
;
4365 wxPyLineShape
* _arg0
;
4367 PyObject
* _argo0
= 0;
4368 PyObject
* _argo1
= 0;
4369 char *_kwnames
[] = { "self","object", NULL
};
4372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyLineShape_SetTo",_kwnames
,&_argo0
,&_argo1
))
4375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_SetTo. Expected _wxPyLineShape_p.");
4382 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4383 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
4384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_SetTo. Expected _wxPyShape_p.");
4389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4390 wxPyLineShape_SetTo(_arg0
,_arg1
);
4392 wxPyEndAllowThreads(__tstate
);
4393 if (PyErr_Occurred()) return NULL
;
4394 } Py_INCREF(Py_None
);
4395 _resultobj
= Py_None
;
4399 #define wxPyLineShape_Straighten(_swigobj,_swigarg0) (_swigobj->Straighten(_swigarg0))
4400 static PyObject
*_wrap_wxPyLineShape_Straighten(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4401 PyObject
* _resultobj
;
4402 wxPyLineShape
* _arg0
;
4403 wxDC
* _arg1
= (wxDC
*) NULL
;
4404 PyObject
* _argo0
= 0;
4405 PyObject
* _argo1
= 0;
4406 char *_kwnames
[] = { "self","dc", NULL
};
4409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxPyLineShape_Straighten",_kwnames
,&_argo0
,&_argo1
))
4412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_Straighten. Expected _wxPyLineShape_p.");
4419 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4420 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_Straighten. Expected _wxDC_p.");
4426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4427 wxPyLineShape_Straighten(_arg0
,_arg1
);
4429 wxPyEndAllowThreads(__tstate
);
4430 if (PyErr_Occurred()) return NULL
;
4431 } Py_INCREF(Py_None
);
4432 _resultobj
= Py_None
;
4436 #define wxPyLineShape_Unlink(_swigobj) (_swigobj->Unlink())
4437 static PyObject
*_wrap_wxPyLineShape_Unlink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4438 PyObject
* _resultobj
;
4439 wxPyLineShape
* _arg0
;
4440 PyObject
* _argo0
= 0;
4441 char *_kwnames
[] = { "self", NULL
};
4444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLineShape_Unlink",_kwnames
,&_argo0
))
4447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_Unlink. Expected _wxPyLineShape_p.");
4454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4455 wxPyLineShape_Unlink(_arg0
);
4457 wxPyEndAllowThreads(__tstate
);
4458 if (PyErr_Occurred()) return NULL
;
4459 } Py_INCREF(Py_None
);
4460 _resultobj
= Py_None
;
4464 #define wxPyLineShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
4465 static PyObject
*_wrap_wxPyLineShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4466 PyObject
* _resultobj
;
4467 wxPyLineShape
* _arg0
;
4469 PyObject
* _argo0
= 0;
4470 PyObject
* _argo1
= 0;
4471 char *_kwnames
[] = { "self","dc", NULL
};
4474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyLineShape_base_OnDraw",_kwnames
,&_argo0
,&_argo1
))
4477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnDraw. Expected _wxPyLineShape_p.");
4484 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4485 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_base_OnDraw. Expected _wxDC_p.");
4491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4492 wxPyLineShape_base_OnDraw(_arg0
,*_arg1
);
4494 wxPyEndAllowThreads(__tstate
);
4495 if (PyErr_Occurred()) return NULL
;
4496 } Py_INCREF(Py_None
);
4497 _resultobj
= Py_None
;
4501 #define wxPyLineShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
4502 static PyObject
*_wrap_wxPyLineShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4503 PyObject
* _resultobj
;
4504 wxPyLineShape
* _arg0
;
4506 PyObject
* _argo0
= 0;
4507 PyObject
* _argo1
= 0;
4508 char *_kwnames
[] = { "self","dc", NULL
};
4511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyLineShape_base_OnDrawContents",_kwnames
,&_argo0
,&_argo1
))
4514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnDrawContents. Expected _wxPyLineShape_p.");
4521 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4522 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_base_OnDrawContents. Expected _wxDC_p.");
4528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4529 wxPyLineShape_base_OnDrawContents(_arg0
,*_arg1
);
4531 wxPyEndAllowThreads(__tstate
);
4532 if (PyErr_Occurred()) return NULL
;
4533 } Py_INCREF(Py_None
);
4534 _resultobj
= Py_None
;
4538 #define wxPyLineShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
4539 static PyObject
*_wrap_wxPyLineShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4540 PyObject
* _resultobj
;
4541 wxPyLineShape
* _arg0
;
4543 bool _arg2
= (bool ) FALSE
;
4544 PyObject
* _argo0
= 0;
4545 PyObject
* _argo1
= 0;
4546 int tempbool2
= (int) FALSE
;
4547 char *_kwnames
[] = { "self","dc","erase", NULL
};
4550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyLineShape_base_OnDrawBranches",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
4553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnDrawBranches. Expected _wxPyLineShape_p.");
4560 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4561 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_base_OnDrawBranches. Expected _wxDC_p.");
4566 _arg2
= (bool ) tempbool2
;
4568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4569 wxPyLineShape_base_OnDrawBranches(_arg0
,*_arg1
,_arg2
);
4571 wxPyEndAllowThreads(__tstate
);
4572 if (PyErr_Occurred()) return NULL
;
4573 } Py_INCREF(Py_None
);
4574 _resultobj
= Py_None
;
4578 #define wxPyLineShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
4579 static PyObject
*_wrap_wxPyLineShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4580 PyObject
* _resultobj
;
4581 wxPyLineShape
* _arg0
;
4583 PyObject
* _argo0
= 0;
4584 PyObject
* _argo1
= 0;
4585 char *_kwnames
[] = { "self","dc", NULL
};
4588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyLineShape_base_OnMoveLinks",_kwnames
,&_argo0
,&_argo1
))
4591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnMoveLinks. Expected _wxPyLineShape_p.");
4598 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4599 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_base_OnMoveLinks. Expected _wxDC_p.");
4605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4606 wxPyLineShape_base_OnMoveLinks(_arg0
,*_arg1
);
4608 wxPyEndAllowThreads(__tstate
);
4609 if (PyErr_Occurred()) return NULL
;
4610 } Py_INCREF(Py_None
);
4611 _resultobj
= Py_None
;
4615 #define wxPyLineShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
4616 static PyObject
*_wrap_wxPyLineShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4617 PyObject
* _resultobj
;
4618 wxPyLineShape
* _arg0
;
4620 PyObject
* _argo0
= 0;
4621 PyObject
* _argo1
= 0;
4622 char *_kwnames
[] = { "self","dc", NULL
};
4625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyLineShape_base_OnErase",_kwnames
,&_argo0
,&_argo1
))
4628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnErase. Expected _wxPyLineShape_p.");
4635 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4636 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_base_OnErase. Expected _wxDC_p.");
4642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4643 wxPyLineShape_base_OnErase(_arg0
,*_arg1
);
4645 wxPyEndAllowThreads(__tstate
);
4646 if (PyErr_Occurred()) return NULL
;
4647 } Py_INCREF(Py_None
);
4648 _resultobj
= Py_None
;
4652 #define wxPyLineShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
4653 static PyObject
*_wrap_wxPyLineShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4654 PyObject
* _resultobj
;
4655 wxPyLineShape
* _arg0
;
4657 PyObject
* _argo0
= 0;
4658 PyObject
* _argo1
= 0;
4659 char *_kwnames
[] = { "self","dc", NULL
};
4662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyLineShape_base_OnEraseContents",_kwnames
,&_argo0
,&_argo1
))
4665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnEraseContents. Expected _wxPyLineShape_p.");
4672 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4673 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_base_OnEraseContents. Expected _wxDC_p.");
4679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4680 wxPyLineShape_base_OnEraseContents(_arg0
,*_arg1
);
4682 wxPyEndAllowThreads(__tstate
);
4683 if (PyErr_Occurred()) return NULL
;
4684 } Py_INCREF(Py_None
);
4685 _resultobj
= Py_None
;
4689 #define wxPyLineShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
4690 static PyObject
*_wrap_wxPyLineShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4691 PyObject
* _resultobj
;
4692 wxPyLineShape
* _arg0
;
4694 PyObject
* _argo0
= 0;
4695 PyObject
* _argo1
= 0;
4696 char *_kwnames
[] = { "self","dc", NULL
};
4699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyLineShape_base_OnHighlight",_kwnames
,&_argo0
,&_argo1
))
4702 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4703 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnHighlight. Expected _wxPyLineShape_p.");
4709 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4710 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_base_OnHighlight. Expected _wxDC_p.");
4716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4717 wxPyLineShape_base_OnHighlight(_arg0
,*_arg1
);
4719 wxPyEndAllowThreads(__tstate
);
4720 if (PyErr_Occurred()) return NULL
;
4721 } Py_INCREF(Py_None
);
4722 _resultobj
= Py_None
;
4726 #define wxPyLineShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4727 static PyObject
*_wrap_wxPyLineShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4728 PyObject
* _resultobj
;
4729 wxPyLineShape
* _arg0
;
4732 int _arg3
= (int ) 0;
4733 int _arg4
= (int ) 0;
4734 PyObject
* _argo0
= 0;
4735 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
4738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyLineShape_base_OnLeftClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnLeftClick. Expected _wxPyLineShape_p.");
4748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4749 wxPyLineShape_base_OnLeftClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4751 wxPyEndAllowThreads(__tstate
);
4752 if (PyErr_Occurred()) return NULL
;
4753 } Py_INCREF(Py_None
);
4754 _resultobj
= Py_None
;
4758 #define wxPyLineShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4759 static PyObject
*_wrap_wxPyLineShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4760 PyObject
* _resultobj
;
4761 wxPyLineShape
* _arg0
;
4764 int _arg3
= (int ) 0;
4765 int _arg4
= (int ) 0;
4766 PyObject
* _argo0
= 0;
4767 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
4770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyLineShape_base_OnLeftDoubleClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnLeftDoubleClick. Expected _wxPyLineShape_p.");
4780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4781 wxPyLineShape_base_OnLeftDoubleClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4783 wxPyEndAllowThreads(__tstate
);
4784 if (PyErr_Occurred()) return NULL
;
4785 } Py_INCREF(Py_None
);
4786 _resultobj
= Py_None
;
4790 #define wxPyLineShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4791 static PyObject
*_wrap_wxPyLineShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4792 PyObject
* _resultobj
;
4793 wxPyLineShape
* _arg0
;
4796 int _arg3
= (int ) 0;
4797 int _arg4
= (int ) 0;
4798 PyObject
* _argo0
= 0;
4799 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
4802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyLineShape_base_OnRightClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnRightClick. Expected _wxPyLineShape_p.");
4812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4813 wxPyLineShape_base_OnRightClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4815 wxPyEndAllowThreads(__tstate
);
4816 if (PyErr_Occurred()) return NULL
;
4817 } Py_INCREF(Py_None
);
4818 _resultobj
= Py_None
;
4822 #define wxPyLineShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
4823 static PyObject
*_wrap_wxPyLineShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4824 PyObject
* _resultobj
;
4825 wxPyLineShape
* _arg0
;
4828 PyObject
* _argo0
= 0;
4829 char *_kwnames
[] = { "self","x","y", NULL
};
4832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyLineShape_base_OnSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnSize. Expected _wxPyLineShape_p.");
4842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4843 wxPyLineShape_base_OnSize(_arg0
,_arg1
,_arg2
);
4845 wxPyEndAllowThreads(__tstate
);
4846 if (PyErr_Occurred()) return NULL
;
4847 } Py_INCREF(Py_None
);
4848 _resultobj
= Py_None
;
4852 #define wxPyLineShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4853 static PyObject
*_wrap_wxPyLineShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4854 PyObject
* _resultobj
;
4856 wxPyLineShape
* _arg0
;
4862 bool _arg6
= (bool ) TRUE
;
4863 PyObject
* _argo0
= 0;
4864 PyObject
* _argo1
= 0;
4865 int tempbool6
= (int) TRUE
;
4866 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
4869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyLineShape_base_OnMovePre",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
4872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnMovePre. Expected _wxPyLineShape_p.");
4879 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4880 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_base_OnMovePre. Expected _wxDC_p.");
4885 _arg6
= (bool ) tempbool6
;
4887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4888 _result
= (bool )wxPyLineShape_base_OnMovePre(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4890 wxPyEndAllowThreads(__tstate
);
4891 if (PyErr_Occurred()) return NULL
;
4892 } _resultobj
= Py_BuildValue("i",_result
);
4896 #define wxPyLineShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4897 static PyObject
*_wrap_wxPyLineShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4898 PyObject
* _resultobj
;
4899 wxPyLineShape
* _arg0
;
4905 bool _arg6
= (bool ) TRUE
;
4906 PyObject
* _argo0
= 0;
4907 PyObject
* _argo1
= 0;
4908 int tempbool6
= (int) TRUE
;
4909 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
4912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyLineShape_base_OnMovePost",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
4915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnMovePost. Expected _wxPyLineShape_p.");
4922 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4923 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_base_OnMovePost. Expected _wxDC_p.");
4928 _arg6
= (bool ) tempbool6
;
4930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4931 wxPyLineShape_base_OnMovePost(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4933 wxPyEndAllowThreads(__tstate
);
4934 if (PyErr_Occurred()) return NULL
;
4935 } Py_INCREF(Py_None
);
4936 _resultobj
= Py_None
;
4940 #define wxPyLineShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4941 static PyObject
*_wrap_wxPyLineShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4942 PyObject
* _resultobj
;
4943 wxPyLineShape
* _arg0
;
4947 int _arg4
= (int ) 0;
4948 int _arg5
= (int ) 0;
4949 PyObject
* _argo0
= 0;
4951 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
4954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyLineShape_base_OnDragLeft",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnDragLeft. Expected _wxPyLineShape_p.");
4963 _arg1
= (bool ) tempbool1
;
4965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4966 wxPyLineShape_base_OnDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4968 wxPyEndAllowThreads(__tstate
);
4969 if (PyErr_Occurred()) return NULL
;
4970 } Py_INCREF(Py_None
);
4971 _resultobj
= Py_None
;
4975 #define wxPyLineShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4976 static PyObject
*_wrap_wxPyLineShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4977 PyObject
* _resultobj
;
4978 wxPyLineShape
* _arg0
;
4981 int _arg3
= (int ) 0;
4982 int _arg4
= (int ) 0;
4983 PyObject
* _argo0
= 0;
4984 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
4987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyLineShape_base_OnBeginDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnBeginDragLeft. Expected _wxPyLineShape_p.");
4997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4998 wxPyLineShape_base_OnBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5000 wxPyEndAllowThreads(__tstate
);
5001 if (PyErr_Occurred()) return NULL
;
5002 } Py_INCREF(Py_None
);
5003 _resultobj
= Py_None
;
5007 #define wxPyLineShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5008 static PyObject
*_wrap_wxPyLineShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5009 PyObject
* _resultobj
;
5010 wxPyLineShape
* _arg0
;
5013 int _arg3
= (int ) 0;
5014 int _arg4
= (int ) 0;
5015 PyObject
* _argo0
= 0;
5016 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
5019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyLineShape_base_OnEndDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
5022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
5024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnEndDragLeft. Expected _wxPyLineShape_p.");
5029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5030 wxPyLineShape_base_OnEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5032 wxPyEndAllowThreads(__tstate
);
5033 if (PyErr_Occurred()) return NULL
;
5034 } Py_INCREF(Py_None
);
5035 _resultobj
= Py_None
;
5039 #define wxPyLineShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5040 static PyObject
*_wrap_wxPyLineShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5041 PyObject
* _resultobj
;
5042 wxPyLineShape
* _arg0
;
5046 int _arg4
= (int ) 0;
5047 int _arg5
= (int ) 0;
5048 PyObject
* _argo0
= 0;
5050 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
5053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyLineShape_base_OnDragRight",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
5056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
5058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnDragRight. Expected _wxPyLineShape_p.");
5062 _arg1
= (bool ) tempbool1
;
5064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5065 wxPyLineShape_base_OnDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
5067 wxPyEndAllowThreads(__tstate
);
5068 if (PyErr_Occurred()) return NULL
;
5069 } Py_INCREF(Py_None
);
5070 _resultobj
= Py_None
;
5074 #define wxPyLineShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5075 static PyObject
*_wrap_wxPyLineShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5076 PyObject
* _resultobj
;
5077 wxPyLineShape
* _arg0
;
5080 int _arg3
= (int ) 0;
5081 int _arg4
= (int ) 0;
5082 PyObject
* _argo0
= 0;
5083 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
5086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyLineShape_base_OnBeginDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
5089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
5091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnBeginDragRight. Expected _wxPyLineShape_p.");
5096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5097 wxPyLineShape_base_OnBeginDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5099 wxPyEndAllowThreads(__tstate
);
5100 if (PyErr_Occurred()) return NULL
;
5101 } Py_INCREF(Py_None
);
5102 _resultobj
= Py_None
;
5106 #define wxPyLineShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5107 static PyObject
*_wrap_wxPyLineShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5108 PyObject
* _resultobj
;
5109 wxPyLineShape
* _arg0
;
5112 int _arg3
= (int ) 0;
5113 int _arg4
= (int ) 0;
5114 PyObject
* _argo0
= 0;
5115 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
5118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyLineShape_base_OnEndDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
5121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
5123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnEndDragRight. Expected _wxPyLineShape_p.");
5128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5129 wxPyLineShape_base_OnEndDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5131 wxPyEndAllowThreads(__tstate
);
5132 if (PyErr_Occurred()) return NULL
;
5133 } Py_INCREF(Py_None
);
5134 _resultobj
= Py_None
;
5138 #define wxPyLineShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5139 static PyObject
*_wrap_wxPyLineShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5140 PyObject
* _resultobj
;
5141 wxPyLineShape
* _arg0
;
5147 PyObject
* _argo0
= 0;
5148 PyObject
* _argo1
= 0;
5149 char *_kwnames
[] = { "self","dc","x","y","w","h", NULL
};
5152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd:wxPyLineShape_base_OnDrawOutline",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
5155 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5156 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
5157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnDrawOutline. Expected _wxPyLineShape_p.");
5162 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5163 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_base_OnDrawOutline. Expected _wxDC_p.");
5169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5170 wxPyLineShape_base_OnDrawOutline(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
5172 wxPyEndAllowThreads(__tstate
);
5173 if (PyErr_Occurred()) return NULL
;
5174 } Py_INCREF(Py_None
);
5175 _resultobj
= Py_None
;
5179 #define wxPyLineShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
5180 static PyObject
*_wrap_wxPyLineShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5181 PyObject
* _resultobj
;
5182 wxPyLineShape
* _arg0
;
5184 PyObject
* _argo0
= 0;
5185 PyObject
* _argo1
= 0;
5186 char *_kwnames
[] = { "self","dc", NULL
};
5189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyLineShape_base_OnDrawControlPoints",_kwnames
,&_argo0
,&_argo1
))
5192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
5194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnDrawControlPoints. Expected _wxPyLineShape_p.");
5199 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5200 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_base_OnDrawControlPoints. Expected _wxDC_p.");
5206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5207 wxPyLineShape_base_OnDrawControlPoints(_arg0
,*_arg1
);
5209 wxPyEndAllowThreads(__tstate
);
5210 if (PyErr_Occurred()) return NULL
;
5211 } Py_INCREF(Py_None
);
5212 _resultobj
= Py_None
;
5216 #define wxPyLineShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
5217 static PyObject
*_wrap_wxPyLineShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5218 PyObject
* _resultobj
;
5219 wxPyLineShape
* _arg0
;
5221 PyObject
* _argo0
= 0;
5222 PyObject
* _argo1
= 0;
5223 char *_kwnames
[] = { "self","dc", NULL
};
5226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyLineShape_base_OnEraseControlPoints",_kwnames
,&_argo0
,&_argo1
))
5229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
5231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnEraseControlPoints. Expected _wxPyLineShape_p.");
5236 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5237 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_base_OnEraseControlPoints. Expected _wxDC_p.");
5243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5244 wxPyLineShape_base_OnEraseControlPoints(_arg0
,*_arg1
);
5246 wxPyEndAllowThreads(__tstate
);
5247 if (PyErr_Occurred()) return NULL
;
5248 } Py_INCREF(Py_None
);
5249 _resultobj
= Py_None
;
5253 #define wxPyLineShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
5254 static PyObject
*_wrap_wxPyLineShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5255 PyObject
* _resultobj
;
5256 wxPyLineShape
* _arg0
;
5258 bool _arg2
= (bool ) TRUE
;
5259 PyObject
* _argo0
= 0;
5260 PyObject
* _argo1
= 0;
5261 int tempbool2
= (int) TRUE
;
5262 char *_kwnames
[] = { "self","dc","moveControlPoints", NULL
};
5265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyLineShape_base_OnMoveLink",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
5268 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5269 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
5270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnMoveLink. Expected _wxPyLineShape_p.");
5275 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5276 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_base_OnMoveLink. Expected _wxDC_p.");
5281 _arg2
= (bool ) tempbool2
;
5283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5284 wxPyLineShape_base_OnMoveLink(_arg0
,*_arg1
,_arg2
);
5286 wxPyEndAllowThreads(__tstate
);
5287 if (PyErr_Occurred()) return NULL
;
5288 } Py_INCREF(Py_None
);
5289 _resultobj
= Py_None
;
5293 #define wxPyLineShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5294 static PyObject
*_wrap_wxPyLineShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5295 PyObject
* _resultobj
;
5296 wxPyLineShape
* _arg0
;
5297 wxPyControlPoint
* _arg1
;
5301 int _arg5
= (int ) 0;
5302 int _arg6
= (int ) 0;
5303 PyObject
* _argo0
= 0;
5304 PyObject
* _argo1
= 0;
5306 char *_kwnames
[] = { "self","pt","draw","x","y","keys","attachment", NULL
};
5309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOidd|ii:wxPyLineShape_base_OnSizingDragLeft",_kwnames
,&_argo0
,&_argo1
,&tempbool2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
5312 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5313 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
5314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnSizingDragLeft. Expected _wxPyLineShape_p.");
5319 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5320 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
5321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
5325 _arg2
= (bool ) tempbool2
;
5327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5328 wxPyLineShape_base_OnSizingDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
5330 wxPyEndAllowThreads(__tstate
);
5331 if (PyErr_Occurred()) return NULL
;
5332 } Py_INCREF(Py_None
);
5333 _resultobj
= Py_None
;
5337 #define wxPyLineShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5338 static PyObject
*_wrap_wxPyLineShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5339 PyObject
* _resultobj
;
5340 wxPyLineShape
* _arg0
;
5341 wxPyControlPoint
* _arg1
;
5344 int _arg4
= (int ) 0;
5345 int _arg5
= (int ) 0;
5346 PyObject
* _argo0
= 0;
5347 PyObject
* _argo1
= 0;
5348 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
5351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyLineShape_base_OnSizingBeginDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
5354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
5356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnSizingBeginDragLeft. Expected _wxPyLineShape_p.");
5361 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5362 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
5363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
5368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5369 wxPyLineShape_base_OnSizingBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
5371 wxPyEndAllowThreads(__tstate
);
5372 if (PyErr_Occurred()) return NULL
;
5373 } Py_INCREF(Py_None
);
5374 _resultobj
= Py_None
;
5378 #define wxPyLineShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5379 static PyObject
*_wrap_wxPyLineShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5380 PyObject
* _resultobj
;
5381 wxPyLineShape
* _arg0
;
5382 wxPyControlPoint
* _arg1
;
5385 int _arg4
= (int ) 0;
5386 int _arg5
= (int ) 0;
5387 PyObject
* _argo0
= 0;
5388 PyObject
* _argo1
= 0;
5389 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
5392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyLineShape_base_OnSizingEndDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
5395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
5397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnSizingEndDragLeft. Expected _wxPyLineShape_p.");
5402 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5403 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
5404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
5409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5410 wxPyLineShape_base_OnSizingEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
5412 wxPyEndAllowThreads(__tstate
);
5413 if (PyErr_Occurred()) return NULL
;
5414 } Py_INCREF(Py_None
);
5415 _resultobj
= Py_None
;
5419 #define wxPyLineShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
5420 static PyObject
*_wrap_wxPyLineShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5421 PyObject
* _resultobj
;
5422 wxPyLineShape
* _arg0
;
5425 PyObject
* _argo0
= 0;
5426 char *_kwnames
[] = { "self","w","h", NULL
};
5429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyLineShape_base_OnBeginSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
5434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnBeginSize. Expected _wxPyLineShape_p.");
5439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5440 wxPyLineShape_base_OnBeginSize(_arg0
,_arg1
,_arg2
);
5442 wxPyEndAllowThreads(__tstate
);
5443 if (PyErr_Occurred()) return NULL
;
5444 } Py_INCREF(Py_None
);
5445 _resultobj
= Py_None
;
5449 #define wxPyLineShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
5450 static PyObject
*_wrap_wxPyLineShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5451 PyObject
* _resultobj
;
5452 wxPyLineShape
* _arg0
;
5455 PyObject
* _argo0
= 0;
5456 char *_kwnames
[] = { "self","w","h", NULL
};
5459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyLineShape_base_OnEndSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
5464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnEndSize. Expected _wxPyLineShape_p.");
5469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5470 wxPyLineShape_base_OnEndSize(_arg0
,_arg1
,_arg2
);
5472 wxPyEndAllowThreads(__tstate
);
5473 if (PyErr_Occurred()) return NULL
;
5474 } Py_INCREF(Py_None
);
5475 _resultobj
= Py_None
;
5479 static void *SwigwxPyPolygonShapeTowxPyShape(void *ptr
) {
5480 wxPyPolygonShape
*src
;
5482 src
= (wxPyPolygonShape
*) ptr
;
5483 dest
= (wxPyShape
*) src
;
5484 return (void *) dest
;
5487 static void *SwigwxPyPolygonShapeTowxPyShapeEvtHandler(void *ptr
) {
5488 wxPyPolygonShape
*src
;
5489 wxPyShapeEvtHandler
*dest
;
5490 src
= (wxPyPolygonShape
*) ptr
;
5491 dest
= (wxPyShapeEvtHandler
*) src
;
5492 return (void *) dest
;
5495 static void *SwigwxPyPolygonShapeTowxObject(void *ptr
) {
5496 wxPyPolygonShape
*src
;
5498 src
= (wxPyPolygonShape
*) ptr
;
5499 dest
= (wxObject
*) src
;
5500 return (void *) dest
;
5503 #define new_wxPyPolygonShape() (new wxPyPolygonShape())
5504 static PyObject
*_wrap_new_wxPyPolygonShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5505 PyObject
* _resultobj
;
5506 wxPyPolygonShape
* _result
;
5507 char *_kwnames
[] = { NULL
};
5511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyPolygonShape",_kwnames
))
5514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5515 _result
= (wxPyPolygonShape
*)new_wxPyPolygonShape();
5517 wxPyEndAllowThreads(__tstate
);
5518 if (PyErr_Occurred()) return NULL
;
5520 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPolygonShape_p");
5521 _resultobj
= Py_BuildValue("s",_ptemp
);
5524 _resultobj
= Py_None
;
5529 #define wxPyPolygonShape__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5530 static PyObject
*_wrap_wxPyPolygonShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5531 PyObject
* _resultobj
;
5532 wxPyPolygonShape
* _arg0
;
5535 PyObject
* _argo0
= 0;
5536 PyObject
* _obj1
= 0;
5537 PyObject
* _obj2
= 0;
5538 char *_kwnames
[] = { "self","self","_class", NULL
};
5541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyPolygonShape__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
5546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape__setCallbackInfo. Expected _wxPyPolygonShape_p.");
5557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5558 wxPyPolygonShape__setCallbackInfo(_arg0
,_arg1
,_arg2
);
5560 wxPyEndAllowThreads(__tstate
);
5561 if (PyErr_Occurred()) return NULL
;
5562 } Py_INCREF(Py_None
);
5563 _resultobj
= Py_None
;
5567 static PyObject
* wxPyPolygonShape_Create(wxPyPolygonShape
*self
,PyObject
* points
) {
5568 wxList
* list
= wxPy_wxRealPoint_ListHelper(points
);
5576 static PyObject
*_wrap_wxPyPolygonShape_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5577 PyObject
* _resultobj
;
5579 wxPyPolygonShape
* _arg0
;
5581 PyObject
* _argo0
= 0;
5582 PyObject
* _obj1
= 0;
5583 char *_kwnames
[] = { "self","points", NULL
};
5586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPolygonShape_Create",_kwnames
,&_argo0
,&_obj1
))
5589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
5591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_Create. Expected _wxPyPolygonShape_p.");
5599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5600 _result
= (PyObject
*)wxPyPolygonShape_Create(_arg0
,_arg1
);
5602 wxPyEndAllowThreads(__tstate
);
5603 if (PyErr_Occurred()) return NULL
;
5605 _resultobj
= _result
;
5610 #define wxPyPolygonShape_AddPolygonPoint(_swigobj,_swigarg0) (_swigobj->AddPolygonPoint(_swigarg0))
5611 static PyObject
*_wrap_wxPyPolygonShape_AddPolygonPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5612 PyObject
* _resultobj
;
5613 wxPyPolygonShape
* _arg0
;
5614 int _arg1
= (int ) 0;
5615 PyObject
* _argo0
= 0;
5616 char *_kwnames
[] = { "self","pos", NULL
};
5619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyPolygonShape_AddPolygonPoint",_kwnames
,&_argo0
,&_arg1
))
5622 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5623 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
5624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_AddPolygonPoint. Expected _wxPyPolygonShape_p.");
5629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5630 wxPyPolygonShape_AddPolygonPoint(_arg0
,_arg1
);
5632 wxPyEndAllowThreads(__tstate
);
5633 if (PyErr_Occurred()) return NULL
;
5634 } Py_INCREF(Py_None
);
5635 _resultobj
= Py_None
;
5639 #define wxPyPolygonShape_CalculatePolygonCentre(_swigobj) (_swigobj->CalculatePolygonCentre())
5640 static PyObject
*_wrap_wxPyPolygonShape_CalculatePolygonCentre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5641 PyObject
* _resultobj
;
5642 wxPyPolygonShape
* _arg0
;
5643 PyObject
* _argo0
= 0;
5644 char *_kwnames
[] = { "self", NULL
};
5647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPolygonShape_CalculatePolygonCentre",_kwnames
,&_argo0
))
5650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
5652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_CalculatePolygonCentre. Expected _wxPyPolygonShape_p.");
5657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5658 wxPyPolygonShape_CalculatePolygonCentre(_arg0
);
5660 wxPyEndAllowThreads(__tstate
);
5661 if (PyErr_Occurred()) return NULL
;
5662 } Py_INCREF(Py_None
);
5663 _resultobj
= Py_None
;
5667 #define wxPyPolygonShape_DeletePolygonPoint(_swigobj,_swigarg0) (_swigobj->DeletePolygonPoint(_swigarg0))
5668 static PyObject
*_wrap_wxPyPolygonShape_DeletePolygonPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5669 PyObject
* _resultobj
;
5670 wxPyPolygonShape
* _arg0
;
5671 int _arg1
= (int ) 0;
5672 PyObject
* _argo0
= 0;
5673 char *_kwnames
[] = { "self","pos", NULL
};
5676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyPolygonShape_DeletePolygonPoint",_kwnames
,&_argo0
,&_arg1
))
5679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
5681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_DeletePolygonPoint. Expected _wxPyPolygonShape_p.");
5686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5687 wxPyPolygonShape_DeletePolygonPoint(_arg0
,_arg1
);
5689 wxPyEndAllowThreads(__tstate
);
5690 if (PyErr_Occurred()) return NULL
;
5691 } Py_INCREF(Py_None
);
5692 _resultobj
= Py_None
;
5696 static PyObject
* wxPyPolygonShape_GetPoints(wxPyPolygonShape
*self
) {
5697 wxList
* list
= self
->GetPoints();
5698 return wxPy_ConvertList(list
, "wxRealPoint");
5700 static PyObject
*_wrap_wxPyPolygonShape_GetPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5701 PyObject
* _resultobj
;
5703 wxPyPolygonShape
* _arg0
;
5704 PyObject
* _argo0
= 0;
5705 char *_kwnames
[] = { "self", NULL
};
5708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPolygonShape_GetPoints",_kwnames
,&_argo0
))
5711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
5713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_GetPoints. Expected _wxPyPolygonShape_p.");
5718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5719 _result
= (PyObject
*)wxPyPolygonShape_GetPoints(_arg0
);
5721 wxPyEndAllowThreads(__tstate
);
5722 if (PyErr_Occurred()) return NULL
;
5724 _resultobj
= _result
;
5729 #define wxPyPolygonShape_UpdateOriginalPoints(_swigobj) (_swigobj->UpdateOriginalPoints())
5730 static PyObject
*_wrap_wxPyPolygonShape_UpdateOriginalPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5731 PyObject
* _resultobj
;
5732 wxPyPolygonShape
* _arg0
;
5733 PyObject
* _argo0
= 0;
5734 char *_kwnames
[] = { "self", NULL
};
5737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPolygonShape_UpdateOriginalPoints",_kwnames
,&_argo0
))
5740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
5742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_UpdateOriginalPoints. Expected _wxPyPolygonShape_p.");
5747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5748 wxPyPolygonShape_UpdateOriginalPoints(_arg0
);
5750 wxPyEndAllowThreads(__tstate
);
5751 if (PyErr_Occurred()) return NULL
;
5752 } Py_INCREF(Py_None
);
5753 _resultobj
= Py_None
;
5757 #define wxPyPolygonShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
5758 static PyObject
*_wrap_wxPyPolygonShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5759 PyObject
* _resultobj
;
5760 wxPyPolygonShape
* _arg0
;
5762 PyObject
* _argo0
= 0;
5763 PyObject
* _argo1
= 0;
5764 char *_kwnames
[] = { "self","dc", NULL
};
5767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPolygonShape_base_OnDraw",_kwnames
,&_argo0
,&_argo1
))
5770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
5772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnDraw. Expected _wxPyPolygonShape_p.");
5777 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5778 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPolygonShape_base_OnDraw. Expected _wxDC_p.");
5784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5785 wxPyPolygonShape_base_OnDraw(_arg0
,*_arg1
);
5787 wxPyEndAllowThreads(__tstate
);
5788 if (PyErr_Occurred()) return NULL
;
5789 } Py_INCREF(Py_None
);
5790 _resultobj
= Py_None
;
5794 #define wxPyPolygonShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
5795 static PyObject
*_wrap_wxPyPolygonShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5796 PyObject
* _resultobj
;
5797 wxPyPolygonShape
* _arg0
;
5799 PyObject
* _argo0
= 0;
5800 PyObject
* _argo1
= 0;
5801 char *_kwnames
[] = { "self","dc", NULL
};
5804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPolygonShape_base_OnDrawContents",_kwnames
,&_argo0
,&_argo1
))
5807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
5809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnDrawContents. Expected _wxPyPolygonShape_p.");
5814 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5815 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPolygonShape_base_OnDrawContents. Expected _wxDC_p.");
5821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5822 wxPyPolygonShape_base_OnDrawContents(_arg0
,*_arg1
);
5824 wxPyEndAllowThreads(__tstate
);
5825 if (PyErr_Occurred()) return NULL
;
5826 } Py_INCREF(Py_None
);
5827 _resultobj
= Py_None
;
5831 #define wxPyPolygonShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
5832 static PyObject
*_wrap_wxPyPolygonShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5833 PyObject
* _resultobj
;
5834 wxPyPolygonShape
* _arg0
;
5836 bool _arg2
= (bool ) FALSE
;
5837 PyObject
* _argo0
= 0;
5838 PyObject
* _argo1
= 0;
5839 int tempbool2
= (int) FALSE
;
5840 char *_kwnames
[] = { "self","dc","erase", NULL
};
5843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyPolygonShape_base_OnDrawBranches",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
5846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
5848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnDrawBranches. Expected _wxPyPolygonShape_p.");
5853 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5854 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPolygonShape_base_OnDrawBranches. Expected _wxDC_p.");
5859 _arg2
= (bool ) tempbool2
;
5861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5862 wxPyPolygonShape_base_OnDrawBranches(_arg0
,*_arg1
,_arg2
);
5864 wxPyEndAllowThreads(__tstate
);
5865 if (PyErr_Occurred()) return NULL
;
5866 } Py_INCREF(Py_None
);
5867 _resultobj
= Py_None
;
5871 #define wxPyPolygonShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
5872 static PyObject
*_wrap_wxPyPolygonShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5873 PyObject
* _resultobj
;
5874 wxPyPolygonShape
* _arg0
;
5876 PyObject
* _argo0
= 0;
5877 PyObject
* _argo1
= 0;
5878 char *_kwnames
[] = { "self","dc", NULL
};
5881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPolygonShape_base_OnMoveLinks",_kwnames
,&_argo0
,&_argo1
))
5884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
5886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnMoveLinks. Expected _wxPyPolygonShape_p.");
5891 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5892 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPolygonShape_base_OnMoveLinks. Expected _wxDC_p.");
5898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5899 wxPyPolygonShape_base_OnMoveLinks(_arg0
,*_arg1
);
5901 wxPyEndAllowThreads(__tstate
);
5902 if (PyErr_Occurred()) return NULL
;
5903 } Py_INCREF(Py_None
);
5904 _resultobj
= Py_None
;
5908 #define wxPyPolygonShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
5909 static PyObject
*_wrap_wxPyPolygonShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5910 PyObject
* _resultobj
;
5911 wxPyPolygonShape
* _arg0
;
5913 PyObject
* _argo0
= 0;
5914 PyObject
* _argo1
= 0;
5915 char *_kwnames
[] = { "self","dc", NULL
};
5918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPolygonShape_base_OnErase",_kwnames
,&_argo0
,&_argo1
))
5921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
5923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnErase. Expected _wxPyPolygonShape_p.");
5928 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5929 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPolygonShape_base_OnErase. Expected _wxDC_p.");
5935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5936 wxPyPolygonShape_base_OnErase(_arg0
,*_arg1
);
5938 wxPyEndAllowThreads(__tstate
);
5939 if (PyErr_Occurred()) return NULL
;
5940 } Py_INCREF(Py_None
);
5941 _resultobj
= Py_None
;
5945 #define wxPyPolygonShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
5946 static PyObject
*_wrap_wxPyPolygonShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5947 PyObject
* _resultobj
;
5948 wxPyPolygonShape
* _arg0
;
5950 PyObject
* _argo0
= 0;
5951 PyObject
* _argo1
= 0;
5952 char *_kwnames
[] = { "self","dc", NULL
};
5955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPolygonShape_base_OnEraseContents",_kwnames
,&_argo0
,&_argo1
))
5958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
5960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnEraseContents. Expected _wxPyPolygonShape_p.");
5965 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5966 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPolygonShape_base_OnEraseContents. Expected _wxDC_p.");
5972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5973 wxPyPolygonShape_base_OnEraseContents(_arg0
,*_arg1
);
5975 wxPyEndAllowThreads(__tstate
);
5976 if (PyErr_Occurred()) return NULL
;
5977 } Py_INCREF(Py_None
);
5978 _resultobj
= Py_None
;
5982 #define wxPyPolygonShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
5983 static PyObject
*_wrap_wxPyPolygonShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5984 PyObject
* _resultobj
;
5985 wxPyPolygonShape
* _arg0
;
5987 PyObject
* _argo0
= 0;
5988 PyObject
* _argo1
= 0;
5989 char *_kwnames
[] = { "self","dc", NULL
};
5992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPolygonShape_base_OnHighlight",_kwnames
,&_argo0
,&_argo1
))
5995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
5997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnHighlight. Expected _wxPyPolygonShape_p.");
6002 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6003 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPolygonShape_base_OnHighlight. Expected _wxDC_p.");
6009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6010 wxPyPolygonShape_base_OnHighlight(_arg0
,*_arg1
);
6012 wxPyEndAllowThreads(__tstate
);
6013 if (PyErr_Occurred()) return NULL
;
6014 } Py_INCREF(Py_None
);
6015 _resultobj
= Py_None
;
6019 #define wxPyPolygonShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6020 static PyObject
*_wrap_wxPyPolygonShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6021 PyObject
* _resultobj
;
6022 wxPyPolygonShape
* _arg0
;
6025 int _arg3
= (int ) 0;
6026 int _arg4
= (int ) 0;
6027 PyObject
* _argo0
= 0;
6028 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
6031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyPolygonShape_base_OnLeftClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
6034 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6035 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
6036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnLeftClick. Expected _wxPyPolygonShape_p.");
6041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6042 wxPyPolygonShape_base_OnLeftClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6044 wxPyEndAllowThreads(__tstate
);
6045 if (PyErr_Occurred()) return NULL
;
6046 } Py_INCREF(Py_None
);
6047 _resultobj
= Py_None
;
6051 #define wxPyPolygonShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6052 static PyObject
*_wrap_wxPyPolygonShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6053 PyObject
* _resultobj
;
6054 wxPyPolygonShape
* _arg0
;
6057 int _arg3
= (int ) 0;
6058 int _arg4
= (int ) 0;
6059 PyObject
* _argo0
= 0;
6060 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
6063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyPolygonShape_base_OnLeftDoubleClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
6066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
6068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnLeftDoubleClick. Expected _wxPyPolygonShape_p.");
6073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6074 wxPyPolygonShape_base_OnLeftDoubleClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6076 wxPyEndAllowThreads(__tstate
);
6077 if (PyErr_Occurred()) return NULL
;
6078 } Py_INCREF(Py_None
);
6079 _resultobj
= Py_None
;
6083 #define wxPyPolygonShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6084 static PyObject
*_wrap_wxPyPolygonShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6085 PyObject
* _resultobj
;
6086 wxPyPolygonShape
* _arg0
;
6089 int _arg3
= (int ) 0;
6090 int _arg4
= (int ) 0;
6091 PyObject
* _argo0
= 0;
6092 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
6095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyPolygonShape_base_OnRightClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
6098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
6100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnRightClick. Expected _wxPyPolygonShape_p.");
6105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6106 wxPyPolygonShape_base_OnRightClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6108 wxPyEndAllowThreads(__tstate
);
6109 if (PyErr_Occurred()) return NULL
;
6110 } Py_INCREF(Py_None
);
6111 _resultobj
= Py_None
;
6115 #define wxPyPolygonShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
6116 static PyObject
*_wrap_wxPyPolygonShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6117 PyObject
* _resultobj
;
6118 wxPyPolygonShape
* _arg0
;
6121 PyObject
* _argo0
= 0;
6122 char *_kwnames
[] = { "self","x","y", NULL
};
6125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyPolygonShape_base_OnSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
6130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnSize. Expected _wxPyPolygonShape_p.");
6135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6136 wxPyPolygonShape_base_OnSize(_arg0
,_arg1
,_arg2
);
6138 wxPyEndAllowThreads(__tstate
);
6139 if (PyErr_Occurred()) return NULL
;
6140 } Py_INCREF(Py_None
);
6141 _resultobj
= Py_None
;
6145 #define wxPyPolygonShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6146 static PyObject
*_wrap_wxPyPolygonShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6147 PyObject
* _resultobj
;
6149 wxPyPolygonShape
* _arg0
;
6155 bool _arg6
= (bool ) TRUE
;
6156 PyObject
* _argo0
= 0;
6157 PyObject
* _argo1
= 0;
6158 int tempbool6
= (int) TRUE
;
6159 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
6162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyPolygonShape_base_OnMovePre",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
6165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
6167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnMovePre. Expected _wxPyPolygonShape_p.");
6172 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6173 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPolygonShape_base_OnMovePre. Expected _wxDC_p.");
6178 _arg6
= (bool ) tempbool6
;
6180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6181 _result
= (bool )wxPyPolygonShape_base_OnMovePre(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
6183 wxPyEndAllowThreads(__tstate
);
6184 if (PyErr_Occurred()) return NULL
;
6185 } _resultobj
= Py_BuildValue("i",_result
);
6189 #define wxPyPolygonShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6190 static PyObject
*_wrap_wxPyPolygonShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6191 PyObject
* _resultobj
;
6192 wxPyPolygonShape
* _arg0
;
6198 bool _arg6
= (bool ) TRUE
;
6199 PyObject
* _argo0
= 0;
6200 PyObject
* _argo1
= 0;
6201 int tempbool6
= (int) TRUE
;
6202 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
6205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyPolygonShape_base_OnMovePost",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
6208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
6210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnMovePost. Expected _wxPyPolygonShape_p.");
6215 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6216 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPolygonShape_base_OnMovePost. Expected _wxDC_p.");
6221 _arg6
= (bool ) tempbool6
;
6223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6224 wxPyPolygonShape_base_OnMovePost(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
6226 wxPyEndAllowThreads(__tstate
);
6227 if (PyErr_Occurred()) return NULL
;
6228 } Py_INCREF(Py_None
);
6229 _resultobj
= Py_None
;
6233 #define wxPyPolygonShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6234 static PyObject
*_wrap_wxPyPolygonShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6235 PyObject
* _resultobj
;
6236 wxPyPolygonShape
* _arg0
;
6240 int _arg4
= (int ) 0;
6241 int _arg5
= (int ) 0;
6242 PyObject
* _argo0
= 0;
6244 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
6247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyPolygonShape_base_OnDragLeft",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
6250 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6251 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
6252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnDragLeft. Expected _wxPyPolygonShape_p.");
6256 _arg1
= (bool ) tempbool1
;
6258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6259 wxPyPolygonShape_base_OnDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
6261 wxPyEndAllowThreads(__tstate
);
6262 if (PyErr_Occurred()) return NULL
;
6263 } Py_INCREF(Py_None
);
6264 _resultobj
= Py_None
;
6268 #define wxPyPolygonShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6269 static PyObject
*_wrap_wxPyPolygonShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6270 PyObject
* _resultobj
;
6271 wxPyPolygonShape
* _arg0
;
6274 int _arg3
= (int ) 0;
6275 int _arg4
= (int ) 0;
6276 PyObject
* _argo0
= 0;
6277 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
6280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyPolygonShape_base_OnBeginDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
6283 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6284 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
6285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnBeginDragLeft. Expected _wxPyPolygonShape_p.");
6290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6291 wxPyPolygonShape_base_OnBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6293 wxPyEndAllowThreads(__tstate
);
6294 if (PyErr_Occurred()) return NULL
;
6295 } Py_INCREF(Py_None
);
6296 _resultobj
= Py_None
;
6300 #define wxPyPolygonShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6301 static PyObject
*_wrap_wxPyPolygonShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6302 PyObject
* _resultobj
;
6303 wxPyPolygonShape
* _arg0
;
6306 int _arg3
= (int ) 0;
6307 int _arg4
= (int ) 0;
6308 PyObject
* _argo0
= 0;
6309 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
6312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyPolygonShape_base_OnEndDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
6315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
6317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnEndDragLeft. Expected _wxPyPolygonShape_p.");
6322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6323 wxPyPolygonShape_base_OnEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6325 wxPyEndAllowThreads(__tstate
);
6326 if (PyErr_Occurred()) return NULL
;
6327 } Py_INCREF(Py_None
);
6328 _resultobj
= Py_None
;
6332 #define wxPyPolygonShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6333 static PyObject
*_wrap_wxPyPolygonShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6334 PyObject
* _resultobj
;
6335 wxPyPolygonShape
* _arg0
;
6339 int _arg4
= (int ) 0;
6340 int _arg5
= (int ) 0;
6341 PyObject
* _argo0
= 0;
6343 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
6346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyPolygonShape_base_OnDragRight",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
6349 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6350 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
6351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnDragRight. Expected _wxPyPolygonShape_p.");
6355 _arg1
= (bool ) tempbool1
;
6357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6358 wxPyPolygonShape_base_OnDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
6360 wxPyEndAllowThreads(__tstate
);
6361 if (PyErr_Occurred()) return NULL
;
6362 } Py_INCREF(Py_None
);
6363 _resultobj
= Py_None
;
6367 #define wxPyPolygonShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6368 static PyObject
*_wrap_wxPyPolygonShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6369 PyObject
* _resultobj
;
6370 wxPyPolygonShape
* _arg0
;
6373 int _arg3
= (int ) 0;
6374 int _arg4
= (int ) 0;
6375 PyObject
* _argo0
= 0;
6376 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
6379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyPolygonShape_base_OnBeginDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
6382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
6384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnBeginDragRight. Expected _wxPyPolygonShape_p.");
6389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6390 wxPyPolygonShape_base_OnBeginDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6392 wxPyEndAllowThreads(__tstate
);
6393 if (PyErr_Occurred()) return NULL
;
6394 } Py_INCREF(Py_None
);
6395 _resultobj
= Py_None
;
6399 #define wxPyPolygonShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6400 static PyObject
*_wrap_wxPyPolygonShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6401 PyObject
* _resultobj
;
6402 wxPyPolygonShape
* _arg0
;
6405 int _arg3
= (int ) 0;
6406 int _arg4
= (int ) 0;
6407 PyObject
* _argo0
= 0;
6408 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
6411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyPolygonShape_base_OnEndDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
6414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
6416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnEndDragRight. Expected _wxPyPolygonShape_p.");
6421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6422 wxPyPolygonShape_base_OnEndDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6424 wxPyEndAllowThreads(__tstate
);
6425 if (PyErr_Occurred()) return NULL
;
6426 } Py_INCREF(Py_None
);
6427 _resultobj
= Py_None
;
6431 #define wxPyPolygonShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6432 static PyObject
*_wrap_wxPyPolygonShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6433 PyObject
* _resultobj
;
6434 wxPyPolygonShape
* _arg0
;
6440 PyObject
* _argo0
= 0;
6441 PyObject
* _argo1
= 0;
6442 char *_kwnames
[] = { "self","dc","x","y","w","h", NULL
};
6445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd:wxPyPolygonShape_base_OnDrawOutline",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
6448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
6450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnDrawOutline. Expected _wxPyPolygonShape_p.");
6455 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6456 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPolygonShape_base_OnDrawOutline. Expected _wxDC_p.");
6462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6463 wxPyPolygonShape_base_OnDrawOutline(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
6465 wxPyEndAllowThreads(__tstate
);
6466 if (PyErr_Occurred()) return NULL
;
6467 } Py_INCREF(Py_None
);
6468 _resultobj
= Py_None
;
6472 #define wxPyPolygonShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
6473 static PyObject
*_wrap_wxPyPolygonShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6474 PyObject
* _resultobj
;
6475 wxPyPolygonShape
* _arg0
;
6477 PyObject
* _argo0
= 0;
6478 PyObject
* _argo1
= 0;
6479 char *_kwnames
[] = { "self","dc", NULL
};
6482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPolygonShape_base_OnDrawControlPoints",_kwnames
,&_argo0
,&_argo1
))
6485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
6487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnDrawControlPoints. Expected _wxPyPolygonShape_p.");
6492 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6493 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPolygonShape_base_OnDrawControlPoints. Expected _wxDC_p.");
6499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6500 wxPyPolygonShape_base_OnDrawControlPoints(_arg0
,*_arg1
);
6502 wxPyEndAllowThreads(__tstate
);
6503 if (PyErr_Occurred()) return NULL
;
6504 } Py_INCREF(Py_None
);
6505 _resultobj
= Py_None
;
6509 #define wxPyPolygonShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
6510 static PyObject
*_wrap_wxPyPolygonShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6511 PyObject
* _resultobj
;
6512 wxPyPolygonShape
* _arg0
;
6514 PyObject
* _argo0
= 0;
6515 PyObject
* _argo1
= 0;
6516 char *_kwnames
[] = { "self","dc", NULL
};
6519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPolygonShape_base_OnEraseControlPoints",_kwnames
,&_argo0
,&_argo1
))
6522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
6524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnEraseControlPoints. Expected _wxPyPolygonShape_p.");
6529 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6530 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPolygonShape_base_OnEraseControlPoints. Expected _wxDC_p.");
6536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6537 wxPyPolygonShape_base_OnEraseControlPoints(_arg0
,*_arg1
);
6539 wxPyEndAllowThreads(__tstate
);
6540 if (PyErr_Occurred()) return NULL
;
6541 } Py_INCREF(Py_None
);
6542 _resultobj
= Py_None
;
6546 #define wxPyPolygonShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
6547 static PyObject
*_wrap_wxPyPolygonShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6548 PyObject
* _resultobj
;
6549 wxPyPolygonShape
* _arg0
;
6551 bool _arg2
= (bool ) TRUE
;
6552 PyObject
* _argo0
= 0;
6553 PyObject
* _argo1
= 0;
6554 int tempbool2
= (int) TRUE
;
6555 char *_kwnames
[] = { "self","dc","moveControlPoints", NULL
};
6558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyPolygonShape_base_OnMoveLink",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
6561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
6563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnMoveLink. Expected _wxPyPolygonShape_p.");
6568 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6569 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPolygonShape_base_OnMoveLink. Expected _wxDC_p.");
6574 _arg2
= (bool ) tempbool2
;
6576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6577 wxPyPolygonShape_base_OnMoveLink(_arg0
,*_arg1
,_arg2
);
6579 wxPyEndAllowThreads(__tstate
);
6580 if (PyErr_Occurred()) return NULL
;
6581 } Py_INCREF(Py_None
);
6582 _resultobj
= Py_None
;
6586 #define wxPyPolygonShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6587 static PyObject
*_wrap_wxPyPolygonShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6588 PyObject
* _resultobj
;
6589 wxPyPolygonShape
* _arg0
;
6590 wxPyControlPoint
* _arg1
;
6594 int _arg5
= (int ) 0;
6595 int _arg6
= (int ) 0;
6596 PyObject
* _argo0
= 0;
6597 PyObject
* _argo1
= 0;
6599 char *_kwnames
[] = { "self","pt","draw","x","y","keys","attachment", NULL
};
6602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOidd|ii:wxPyPolygonShape_base_OnSizingDragLeft",_kwnames
,&_argo0
,&_argo1
,&tempbool2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
6605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
6607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnSizingDragLeft. Expected _wxPyPolygonShape_p.");
6612 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6613 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
6614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPolygonShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
6618 _arg2
= (bool ) tempbool2
;
6620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6621 wxPyPolygonShape_base_OnSizingDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
6623 wxPyEndAllowThreads(__tstate
);
6624 if (PyErr_Occurred()) return NULL
;
6625 } Py_INCREF(Py_None
);
6626 _resultobj
= Py_None
;
6630 #define wxPyPolygonShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6631 static PyObject
*_wrap_wxPyPolygonShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6632 PyObject
* _resultobj
;
6633 wxPyPolygonShape
* _arg0
;
6634 wxPyControlPoint
* _arg1
;
6637 int _arg4
= (int ) 0;
6638 int _arg5
= (int ) 0;
6639 PyObject
* _argo0
= 0;
6640 PyObject
* _argo1
= 0;
6641 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
6644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyPolygonShape_base_OnSizingBeginDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
6647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
6649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnSizingBeginDragLeft. Expected _wxPyPolygonShape_p.");
6654 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6655 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
6656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPolygonShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
6661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6662 wxPyPolygonShape_base_OnSizingBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
6664 wxPyEndAllowThreads(__tstate
);
6665 if (PyErr_Occurred()) return NULL
;
6666 } Py_INCREF(Py_None
);
6667 _resultobj
= Py_None
;
6671 #define wxPyPolygonShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6672 static PyObject
*_wrap_wxPyPolygonShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6673 PyObject
* _resultobj
;
6674 wxPyPolygonShape
* _arg0
;
6675 wxPyControlPoint
* _arg1
;
6678 int _arg4
= (int ) 0;
6679 int _arg5
= (int ) 0;
6680 PyObject
* _argo0
= 0;
6681 PyObject
* _argo1
= 0;
6682 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
6685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyPolygonShape_base_OnSizingEndDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
6688 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6689 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
6690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnSizingEndDragLeft. Expected _wxPyPolygonShape_p.");
6695 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6696 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
6697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPolygonShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
6702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6703 wxPyPolygonShape_base_OnSizingEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
6705 wxPyEndAllowThreads(__tstate
);
6706 if (PyErr_Occurred()) return NULL
;
6707 } Py_INCREF(Py_None
);
6708 _resultobj
= Py_None
;
6712 #define wxPyPolygonShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
6713 static PyObject
*_wrap_wxPyPolygonShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6714 PyObject
* _resultobj
;
6715 wxPyPolygonShape
* _arg0
;
6718 PyObject
* _argo0
= 0;
6719 char *_kwnames
[] = { "self","w","h", NULL
};
6722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyPolygonShape_base_OnBeginSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6725 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6726 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
6727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnBeginSize. Expected _wxPyPolygonShape_p.");
6732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6733 wxPyPolygonShape_base_OnBeginSize(_arg0
,_arg1
,_arg2
);
6735 wxPyEndAllowThreads(__tstate
);
6736 if (PyErr_Occurred()) return NULL
;
6737 } Py_INCREF(Py_None
);
6738 _resultobj
= Py_None
;
6742 #define wxPyPolygonShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
6743 static PyObject
*_wrap_wxPyPolygonShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6744 PyObject
* _resultobj
;
6745 wxPyPolygonShape
* _arg0
;
6748 PyObject
* _argo0
= 0;
6749 char *_kwnames
[] = { "self","w","h", NULL
};
6752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyPolygonShape_base_OnEndSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
6757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnEndSize. Expected _wxPyPolygonShape_p.");
6762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6763 wxPyPolygonShape_base_OnEndSize(_arg0
,_arg1
,_arg2
);
6765 wxPyEndAllowThreads(__tstate
);
6766 if (PyErr_Occurred()) return NULL
;
6767 } Py_INCREF(Py_None
);
6768 _resultobj
= Py_None
;
6772 static void *SwigwxPyTextShapeTowxPyRectangleShape(void *ptr
) {
6774 wxPyRectangleShape
*dest
;
6775 src
= (wxPyTextShape
*) ptr
;
6776 dest
= (wxPyRectangleShape
*) src
;
6777 return (void *) dest
;
6780 static void *SwigwxPyTextShapeTowxPyShape(void *ptr
) {
6783 src
= (wxPyTextShape
*) ptr
;
6784 dest
= (wxPyShape
*) src
;
6785 return (void *) dest
;
6788 static void *SwigwxPyTextShapeTowxPyShapeEvtHandler(void *ptr
) {
6790 wxPyShapeEvtHandler
*dest
;
6791 src
= (wxPyTextShape
*) ptr
;
6792 dest
= (wxPyShapeEvtHandler
*) src
;
6793 return (void *) dest
;
6796 static void *SwigwxPyTextShapeTowxObject(void *ptr
) {
6799 src
= (wxPyTextShape
*) ptr
;
6800 dest
= (wxObject
*) src
;
6801 return (void *) dest
;
6804 #define new_wxPyTextShape(_swigarg0,_swigarg1) (new wxPyTextShape(_swigarg0,_swigarg1))
6805 static PyObject
*_wrap_new_wxPyTextShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6806 PyObject
* _resultobj
;
6807 wxPyTextShape
* _result
;
6808 double _arg0
= (double ) 0.0;
6809 double _arg1
= (double ) 0.0;
6810 char *_kwnames
[] = { "width","height", NULL
};
6814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|dd:new_wxPyTextShape",_kwnames
,&_arg0
,&_arg1
))
6817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6818 _result
= (wxPyTextShape
*)new_wxPyTextShape(_arg0
,_arg1
);
6820 wxPyEndAllowThreads(__tstate
);
6821 if (PyErr_Occurred()) return NULL
;
6823 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTextShape_p");
6824 _resultobj
= Py_BuildValue("s",_ptemp
);
6827 _resultobj
= Py_None
;
6832 #define wxPyTextShape__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6833 static PyObject
*_wrap_wxPyTextShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6834 PyObject
* _resultobj
;
6835 wxPyTextShape
* _arg0
;
6838 PyObject
* _argo0
= 0;
6839 PyObject
* _obj1
= 0;
6840 PyObject
* _obj2
= 0;
6841 char *_kwnames
[] = { "self","self","_class", NULL
};
6844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyTextShape__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
6849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape__setCallbackInfo. Expected _wxPyTextShape_p.");
6860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6861 wxPyTextShape__setCallbackInfo(_arg0
,_arg1
,_arg2
);
6863 wxPyEndAllowThreads(__tstate
);
6864 if (PyErr_Occurred()) return NULL
;
6865 } Py_INCREF(Py_None
);
6866 _resultobj
= Py_None
;
6870 #define wxPyTextShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
6871 static PyObject
*_wrap_wxPyTextShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6872 PyObject
* _resultobj
;
6873 wxPyTextShape
* _arg0
;
6874 PyObject
* _argo0
= 0;
6875 char *_kwnames
[] = { "self", NULL
};
6878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTextShape_base_OnDelete",_kwnames
,&_argo0
))
6881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
6883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnDelete. Expected _wxPyTextShape_p.");
6888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6889 wxPyTextShape_base_OnDelete(_arg0
);
6891 wxPyEndAllowThreads(__tstate
);
6892 if (PyErr_Occurred()) return NULL
;
6893 } Py_INCREF(Py_None
);
6894 _resultobj
= Py_None
;
6898 #define wxPyTextShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
6899 static PyObject
*_wrap_wxPyTextShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6900 PyObject
* _resultobj
;
6901 wxPyTextShape
* _arg0
;
6903 PyObject
* _argo0
= 0;
6904 PyObject
* _argo1
= 0;
6905 char *_kwnames
[] = { "self","dc", NULL
};
6908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyTextShape_base_OnDraw",_kwnames
,&_argo0
,&_argo1
))
6911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
6913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnDraw. Expected _wxPyTextShape_p.");
6918 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6919 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTextShape_base_OnDraw. Expected _wxDC_p.");
6925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6926 wxPyTextShape_base_OnDraw(_arg0
,*_arg1
);
6928 wxPyEndAllowThreads(__tstate
);
6929 if (PyErr_Occurred()) return NULL
;
6930 } Py_INCREF(Py_None
);
6931 _resultobj
= Py_None
;
6935 #define wxPyTextShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
6936 static PyObject
*_wrap_wxPyTextShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6937 PyObject
* _resultobj
;
6938 wxPyTextShape
* _arg0
;
6940 PyObject
* _argo0
= 0;
6941 PyObject
* _argo1
= 0;
6942 char *_kwnames
[] = { "self","dc", NULL
};
6945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyTextShape_base_OnDrawContents",_kwnames
,&_argo0
,&_argo1
))
6948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
6950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnDrawContents. Expected _wxPyTextShape_p.");
6955 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6956 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTextShape_base_OnDrawContents. Expected _wxDC_p.");
6962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6963 wxPyTextShape_base_OnDrawContents(_arg0
,*_arg1
);
6965 wxPyEndAllowThreads(__tstate
);
6966 if (PyErr_Occurred()) return NULL
;
6967 } Py_INCREF(Py_None
);
6968 _resultobj
= Py_None
;
6972 #define wxPyTextShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
6973 static PyObject
*_wrap_wxPyTextShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6974 PyObject
* _resultobj
;
6975 wxPyTextShape
* _arg0
;
6977 bool _arg2
= (bool ) FALSE
;
6978 PyObject
* _argo0
= 0;
6979 PyObject
* _argo1
= 0;
6980 int tempbool2
= (int) FALSE
;
6981 char *_kwnames
[] = { "self","dc","erase", NULL
};
6984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyTextShape_base_OnDrawBranches",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
6987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
6989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnDrawBranches. Expected _wxPyTextShape_p.");
6994 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6995 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTextShape_base_OnDrawBranches. Expected _wxDC_p.");
7000 _arg2
= (bool ) tempbool2
;
7002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7003 wxPyTextShape_base_OnDrawBranches(_arg0
,*_arg1
,_arg2
);
7005 wxPyEndAllowThreads(__tstate
);
7006 if (PyErr_Occurred()) return NULL
;
7007 } Py_INCREF(Py_None
);
7008 _resultobj
= Py_None
;
7012 #define wxPyTextShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
7013 static PyObject
*_wrap_wxPyTextShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7014 PyObject
* _resultobj
;
7015 wxPyTextShape
* _arg0
;
7017 PyObject
* _argo0
= 0;
7018 PyObject
* _argo1
= 0;
7019 char *_kwnames
[] = { "self","dc", NULL
};
7022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyTextShape_base_OnMoveLinks",_kwnames
,&_argo0
,&_argo1
))
7025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnMoveLinks. Expected _wxPyTextShape_p.");
7032 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7033 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTextShape_base_OnMoveLinks. Expected _wxDC_p.");
7039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7040 wxPyTextShape_base_OnMoveLinks(_arg0
,*_arg1
);
7042 wxPyEndAllowThreads(__tstate
);
7043 if (PyErr_Occurred()) return NULL
;
7044 } Py_INCREF(Py_None
);
7045 _resultobj
= Py_None
;
7049 #define wxPyTextShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
7050 static PyObject
*_wrap_wxPyTextShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7051 PyObject
* _resultobj
;
7052 wxPyTextShape
* _arg0
;
7054 PyObject
* _argo0
= 0;
7055 PyObject
* _argo1
= 0;
7056 char *_kwnames
[] = { "self","dc", NULL
};
7059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyTextShape_base_OnErase",_kwnames
,&_argo0
,&_argo1
))
7062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnErase. Expected _wxPyTextShape_p.");
7069 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7070 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTextShape_base_OnErase. Expected _wxDC_p.");
7076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7077 wxPyTextShape_base_OnErase(_arg0
,*_arg1
);
7079 wxPyEndAllowThreads(__tstate
);
7080 if (PyErr_Occurred()) return NULL
;
7081 } Py_INCREF(Py_None
);
7082 _resultobj
= Py_None
;
7086 #define wxPyTextShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
7087 static PyObject
*_wrap_wxPyTextShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7088 PyObject
* _resultobj
;
7089 wxPyTextShape
* _arg0
;
7091 PyObject
* _argo0
= 0;
7092 PyObject
* _argo1
= 0;
7093 char *_kwnames
[] = { "self","dc", NULL
};
7096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyTextShape_base_OnEraseContents",_kwnames
,&_argo0
,&_argo1
))
7099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnEraseContents. Expected _wxPyTextShape_p.");
7106 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7107 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTextShape_base_OnEraseContents. Expected _wxDC_p.");
7113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7114 wxPyTextShape_base_OnEraseContents(_arg0
,*_arg1
);
7116 wxPyEndAllowThreads(__tstate
);
7117 if (PyErr_Occurred()) return NULL
;
7118 } Py_INCREF(Py_None
);
7119 _resultobj
= Py_None
;
7123 #define wxPyTextShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
7124 static PyObject
*_wrap_wxPyTextShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7125 PyObject
* _resultobj
;
7126 wxPyTextShape
* _arg0
;
7128 PyObject
* _argo0
= 0;
7129 PyObject
* _argo1
= 0;
7130 char *_kwnames
[] = { "self","dc", NULL
};
7133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyTextShape_base_OnHighlight",_kwnames
,&_argo0
,&_argo1
))
7136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnHighlight. Expected _wxPyTextShape_p.");
7143 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7144 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTextShape_base_OnHighlight. Expected _wxDC_p.");
7150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7151 wxPyTextShape_base_OnHighlight(_arg0
,*_arg1
);
7153 wxPyEndAllowThreads(__tstate
);
7154 if (PyErr_Occurred()) return NULL
;
7155 } Py_INCREF(Py_None
);
7156 _resultobj
= Py_None
;
7160 #define wxPyTextShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7161 static PyObject
*_wrap_wxPyTextShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7162 PyObject
* _resultobj
;
7163 wxPyTextShape
* _arg0
;
7166 int _arg3
= (int ) 0;
7167 int _arg4
= (int ) 0;
7168 PyObject
* _argo0
= 0;
7169 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyTextShape_base_OnLeftClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnLeftClick. Expected _wxPyTextShape_p.");
7182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7183 wxPyTextShape_base_OnLeftClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7185 wxPyEndAllowThreads(__tstate
);
7186 if (PyErr_Occurred()) return NULL
;
7187 } Py_INCREF(Py_None
);
7188 _resultobj
= Py_None
;
7192 #define wxPyTextShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7193 static PyObject
*_wrap_wxPyTextShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7194 PyObject
* _resultobj
;
7195 wxPyTextShape
* _arg0
;
7198 int _arg3
= (int ) 0;
7199 int _arg4
= (int ) 0;
7200 PyObject
* _argo0
= 0;
7201 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyTextShape_base_OnLeftDoubleClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnLeftDoubleClick. Expected _wxPyTextShape_p.");
7214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7215 wxPyTextShape_base_OnLeftDoubleClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7217 wxPyEndAllowThreads(__tstate
);
7218 if (PyErr_Occurred()) return NULL
;
7219 } Py_INCREF(Py_None
);
7220 _resultobj
= Py_None
;
7224 #define wxPyTextShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7225 static PyObject
*_wrap_wxPyTextShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7226 PyObject
* _resultobj
;
7227 wxPyTextShape
* _arg0
;
7230 int _arg3
= (int ) 0;
7231 int _arg4
= (int ) 0;
7232 PyObject
* _argo0
= 0;
7233 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyTextShape_base_OnRightClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnRightClick. Expected _wxPyTextShape_p.");
7246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7247 wxPyTextShape_base_OnRightClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7249 wxPyEndAllowThreads(__tstate
);
7250 if (PyErr_Occurred()) return NULL
;
7251 } Py_INCREF(Py_None
);
7252 _resultobj
= Py_None
;
7256 #define wxPyTextShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
7257 static PyObject
*_wrap_wxPyTextShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7258 PyObject
* _resultobj
;
7259 wxPyTextShape
* _arg0
;
7262 PyObject
* _argo0
= 0;
7263 char *_kwnames
[] = { "self","x","y", NULL
};
7266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyTextShape_base_OnSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnSize. Expected _wxPyTextShape_p.");
7276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7277 wxPyTextShape_base_OnSize(_arg0
,_arg1
,_arg2
);
7279 wxPyEndAllowThreads(__tstate
);
7280 if (PyErr_Occurred()) return NULL
;
7281 } Py_INCREF(Py_None
);
7282 _resultobj
= Py_None
;
7286 #define wxPyTextShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7287 static PyObject
*_wrap_wxPyTextShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7288 PyObject
* _resultobj
;
7290 wxPyTextShape
* _arg0
;
7296 bool _arg6
= (bool ) TRUE
;
7297 PyObject
* _argo0
= 0;
7298 PyObject
* _argo1
= 0;
7299 int tempbool6
= (int) TRUE
;
7300 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
7303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyTextShape_base_OnMovePre",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
7306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnMovePre. Expected _wxPyTextShape_p.");
7313 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7314 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTextShape_base_OnMovePre. Expected _wxDC_p.");
7319 _arg6
= (bool ) tempbool6
;
7321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7322 _result
= (bool )wxPyTextShape_base_OnMovePre(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
7324 wxPyEndAllowThreads(__tstate
);
7325 if (PyErr_Occurred()) return NULL
;
7326 } _resultobj
= Py_BuildValue("i",_result
);
7330 #define wxPyTextShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7331 static PyObject
*_wrap_wxPyTextShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7332 PyObject
* _resultobj
;
7333 wxPyTextShape
* _arg0
;
7339 bool _arg6
= (bool ) TRUE
;
7340 PyObject
* _argo0
= 0;
7341 PyObject
* _argo1
= 0;
7342 int tempbool6
= (int) TRUE
;
7343 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
7346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyTextShape_base_OnMovePost",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
7349 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7350 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnMovePost. Expected _wxPyTextShape_p.");
7356 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7357 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTextShape_base_OnMovePost. Expected _wxDC_p.");
7362 _arg6
= (bool ) tempbool6
;
7364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7365 wxPyTextShape_base_OnMovePost(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
7367 wxPyEndAllowThreads(__tstate
);
7368 if (PyErr_Occurred()) return NULL
;
7369 } Py_INCREF(Py_None
);
7370 _resultobj
= Py_None
;
7374 #define wxPyTextShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7375 static PyObject
*_wrap_wxPyTextShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7376 PyObject
* _resultobj
;
7377 wxPyTextShape
* _arg0
;
7381 int _arg4
= (int ) 0;
7382 int _arg5
= (int ) 0;
7383 PyObject
* _argo0
= 0;
7385 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
7388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyTextShape_base_OnDragLeft",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
7391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnDragLeft. Expected _wxPyTextShape_p.");
7397 _arg1
= (bool ) tempbool1
;
7399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7400 wxPyTextShape_base_OnDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7402 wxPyEndAllowThreads(__tstate
);
7403 if (PyErr_Occurred()) return NULL
;
7404 } Py_INCREF(Py_None
);
7405 _resultobj
= Py_None
;
7409 #define wxPyTextShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7410 static PyObject
*_wrap_wxPyTextShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7411 PyObject
* _resultobj
;
7412 wxPyTextShape
* _arg0
;
7415 int _arg3
= (int ) 0;
7416 int _arg4
= (int ) 0;
7417 PyObject
* _argo0
= 0;
7418 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyTextShape_base_OnBeginDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnBeginDragLeft. Expected _wxPyTextShape_p.");
7431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7432 wxPyTextShape_base_OnBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7434 wxPyEndAllowThreads(__tstate
);
7435 if (PyErr_Occurred()) return NULL
;
7436 } Py_INCREF(Py_None
);
7437 _resultobj
= Py_None
;
7441 #define wxPyTextShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7442 static PyObject
*_wrap_wxPyTextShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7443 PyObject
* _resultobj
;
7444 wxPyTextShape
* _arg0
;
7447 int _arg3
= (int ) 0;
7448 int _arg4
= (int ) 0;
7449 PyObject
* _argo0
= 0;
7450 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyTextShape_base_OnEndDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnEndDragLeft. Expected _wxPyTextShape_p.");
7463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7464 wxPyTextShape_base_OnEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7466 wxPyEndAllowThreads(__tstate
);
7467 if (PyErr_Occurred()) return NULL
;
7468 } Py_INCREF(Py_None
);
7469 _resultobj
= Py_None
;
7473 #define wxPyTextShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7474 static PyObject
*_wrap_wxPyTextShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7475 PyObject
* _resultobj
;
7476 wxPyTextShape
* _arg0
;
7480 int _arg4
= (int ) 0;
7481 int _arg5
= (int ) 0;
7482 PyObject
* _argo0
= 0;
7484 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
7487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyTextShape_base_OnDragRight",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
7490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnDragRight. Expected _wxPyTextShape_p.");
7496 _arg1
= (bool ) tempbool1
;
7498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7499 wxPyTextShape_base_OnDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7501 wxPyEndAllowThreads(__tstate
);
7502 if (PyErr_Occurred()) return NULL
;
7503 } Py_INCREF(Py_None
);
7504 _resultobj
= Py_None
;
7508 #define wxPyTextShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7509 static PyObject
*_wrap_wxPyTextShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7510 PyObject
* _resultobj
;
7511 wxPyTextShape
* _arg0
;
7514 int _arg3
= (int ) 0;
7515 int _arg4
= (int ) 0;
7516 PyObject
* _argo0
= 0;
7517 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyTextShape_base_OnBeginDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnBeginDragRight. Expected _wxPyTextShape_p.");
7530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7531 wxPyTextShape_base_OnBeginDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7533 wxPyEndAllowThreads(__tstate
);
7534 if (PyErr_Occurred()) return NULL
;
7535 } Py_INCREF(Py_None
);
7536 _resultobj
= Py_None
;
7540 #define wxPyTextShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7541 static PyObject
*_wrap_wxPyTextShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7542 PyObject
* _resultobj
;
7543 wxPyTextShape
* _arg0
;
7546 int _arg3
= (int ) 0;
7547 int _arg4
= (int ) 0;
7548 PyObject
* _argo0
= 0;
7549 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyTextShape_base_OnEndDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnEndDragRight. Expected _wxPyTextShape_p.");
7562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7563 wxPyTextShape_base_OnEndDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7565 wxPyEndAllowThreads(__tstate
);
7566 if (PyErr_Occurred()) return NULL
;
7567 } Py_INCREF(Py_None
);
7568 _resultobj
= Py_None
;
7572 #define wxPyTextShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7573 static PyObject
*_wrap_wxPyTextShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7574 PyObject
* _resultobj
;
7575 wxPyTextShape
* _arg0
;
7581 PyObject
* _argo0
= 0;
7582 PyObject
* _argo1
= 0;
7583 char *_kwnames
[] = { "self","dc","x","y","w","h", NULL
};
7586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd:wxPyTextShape_base_OnDrawOutline",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
7589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnDrawOutline. Expected _wxPyTextShape_p.");
7596 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7597 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTextShape_base_OnDrawOutline. Expected _wxDC_p.");
7603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7604 wxPyTextShape_base_OnDrawOutline(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7606 wxPyEndAllowThreads(__tstate
);
7607 if (PyErr_Occurred()) return NULL
;
7608 } Py_INCREF(Py_None
);
7609 _resultobj
= Py_None
;
7613 #define wxPyTextShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
7614 static PyObject
*_wrap_wxPyTextShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7615 PyObject
* _resultobj
;
7616 wxPyTextShape
* _arg0
;
7618 PyObject
* _argo0
= 0;
7619 PyObject
* _argo1
= 0;
7620 char *_kwnames
[] = { "self","dc", NULL
};
7623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyTextShape_base_OnDrawControlPoints",_kwnames
,&_argo0
,&_argo1
))
7626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnDrawControlPoints. Expected _wxPyTextShape_p.");
7633 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7634 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTextShape_base_OnDrawControlPoints. Expected _wxDC_p.");
7640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7641 wxPyTextShape_base_OnDrawControlPoints(_arg0
,*_arg1
);
7643 wxPyEndAllowThreads(__tstate
);
7644 if (PyErr_Occurred()) return NULL
;
7645 } Py_INCREF(Py_None
);
7646 _resultobj
= Py_None
;
7650 #define wxPyTextShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
7651 static PyObject
*_wrap_wxPyTextShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7652 PyObject
* _resultobj
;
7653 wxPyTextShape
* _arg0
;
7655 PyObject
* _argo0
= 0;
7656 PyObject
* _argo1
= 0;
7657 char *_kwnames
[] = { "self","dc", NULL
};
7660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyTextShape_base_OnEraseControlPoints",_kwnames
,&_argo0
,&_argo1
))
7663 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7664 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnEraseControlPoints. Expected _wxPyTextShape_p.");
7670 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7671 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTextShape_base_OnEraseControlPoints. Expected _wxDC_p.");
7677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7678 wxPyTextShape_base_OnEraseControlPoints(_arg0
,*_arg1
);
7680 wxPyEndAllowThreads(__tstate
);
7681 if (PyErr_Occurred()) return NULL
;
7682 } Py_INCREF(Py_None
);
7683 _resultobj
= Py_None
;
7687 #define wxPyTextShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
7688 static PyObject
*_wrap_wxPyTextShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7689 PyObject
* _resultobj
;
7690 wxPyTextShape
* _arg0
;
7692 bool _arg2
= (bool ) TRUE
;
7693 PyObject
* _argo0
= 0;
7694 PyObject
* _argo1
= 0;
7695 int tempbool2
= (int) TRUE
;
7696 char *_kwnames
[] = { "self","dc","moveControlPoints", NULL
};
7699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyTextShape_base_OnMoveLink",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
7702 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7703 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnMoveLink. Expected _wxPyTextShape_p.");
7709 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7710 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTextShape_base_OnMoveLink. Expected _wxDC_p.");
7715 _arg2
= (bool ) tempbool2
;
7717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7718 wxPyTextShape_base_OnMoveLink(_arg0
,*_arg1
,_arg2
);
7720 wxPyEndAllowThreads(__tstate
);
7721 if (PyErr_Occurred()) return NULL
;
7722 } Py_INCREF(Py_None
);
7723 _resultobj
= Py_None
;
7727 #define wxPyTextShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7728 static PyObject
*_wrap_wxPyTextShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7729 PyObject
* _resultobj
;
7730 wxPyTextShape
* _arg0
;
7731 wxPyControlPoint
* _arg1
;
7735 int _arg5
= (int ) 0;
7736 int _arg6
= (int ) 0;
7737 PyObject
* _argo0
= 0;
7738 PyObject
* _argo1
= 0;
7740 char *_kwnames
[] = { "self","pt","draw","x","y","keys","attachment", NULL
};
7743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOidd|ii:wxPyTextShape_base_OnSizingDragLeft",_kwnames
,&_argo0
,&_argo1
,&tempbool2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
7746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnSizingDragLeft. Expected _wxPyTextShape_p.");
7753 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7754 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
7755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTextShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
7759 _arg2
= (bool ) tempbool2
;
7761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7762 wxPyTextShape_base_OnSizingDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
7764 wxPyEndAllowThreads(__tstate
);
7765 if (PyErr_Occurred()) return NULL
;
7766 } Py_INCREF(Py_None
);
7767 _resultobj
= Py_None
;
7771 #define wxPyTextShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7772 static PyObject
*_wrap_wxPyTextShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7773 PyObject
* _resultobj
;
7774 wxPyTextShape
* _arg0
;
7775 wxPyControlPoint
* _arg1
;
7778 int _arg4
= (int ) 0;
7779 int _arg5
= (int ) 0;
7780 PyObject
* _argo0
= 0;
7781 PyObject
* _argo1
= 0;
7782 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
7785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyTextShape_base_OnSizingBeginDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
7788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnSizingBeginDragLeft. Expected _wxPyTextShape_p.");
7795 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7796 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
7797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTextShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
7802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7803 wxPyTextShape_base_OnSizingBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7805 wxPyEndAllowThreads(__tstate
);
7806 if (PyErr_Occurred()) return NULL
;
7807 } Py_INCREF(Py_None
);
7808 _resultobj
= Py_None
;
7812 #define wxPyTextShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7813 static PyObject
*_wrap_wxPyTextShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7814 PyObject
* _resultobj
;
7815 wxPyTextShape
* _arg0
;
7816 wxPyControlPoint
* _arg1
;
7819 int _arg4
= (int ) 0;
7820 int _arg5
= (int ) 0;
7821 PyObject
* _argo0
= 0;
7822 PyObject
* _argo1
= 0;
7823 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
7826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyTextShape_base_OnSizingEndDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
7829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnSizingEndDragLeft. Expected _wxPyTextShape_p.");
7836 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7837 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
7838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTextShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
7843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7844 wxPyTextShape_base_OnSizingEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7846 wxPyEndAllowThreads(__tstate
);
7847 if (PyErr_Occurred()) return NULL
;
7848 } Py_INCREF(Py_None
);
7849 _resultobj
= Py_None
;
7853 #define wxPyTextShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
7854 static PyObject
*_wrap_wxPyTextShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7855 PyObject
* _resultobj
;
7856 wxPyTextShape
* _arg0
;
7859 PyObject
* _argo0
= 0;
7860 char *_kwnames
[] = { "self","w","h", NULL
};
7863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyTextShape_base_OnBeginSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnBeginSize. Expected _wxPyTextShape_p.");
7873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7874 wxPyTextShape_base_OnBeginSize(_arg0
,_arg1
,_arg2
);
7876 wxPyEndAllowThreads(__tstate
);
7877 if (PyErr_Occurred()) return NULL
;
7878 } Py_INCREF(Py_None
);
7879 _resultobj
= Py_None
;
7883 #define wxPyTextShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
7884 static PyObject
*_wrap_wxPyTextShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7885 PyObject
* _resultobj
;
7886 wxPyTextShape
* _arg0
;
7889 PyObject
* _argo0
= 0;
7890 char *_kwnames
[] = { "self","w","h", NULL
};
7893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyTextShape_base_OnEndSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7896 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7897 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnEndSize. Expected _wxPyTextShape_p.");
7903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7904 wxPyTextShape_base_OnEndSize(_arg0
,_arg1
,_arg2
);
7906 wxPyEndAllowThreads(__tstate
);
7907 if (PyErr_Occurred()) return NULL
;
7908 } Py_INCREF(Py_None
);
7909 _resultobj
= Py_None
;
7913 static PyMethodDef oglshapes2cMethods
[] = {
7914 { "wxPyTextShape_base_OnEndSize", (PyCFunction
) _wrap_wxPyTextShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
7915 { "wxPyTextShape_base_OnBeginSize", (PyCFunction
) _wrap_wxPyTextShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
7916 { "wxPyTextShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_wxPyTextShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
7917 { "wxPyTextShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_wxPyTextShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
7918 { "wxPyTextShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_wxPyTextShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
7919 { "wxPyTextShape_base_OnMoveLink", (PyCFunction
) _wrap_wxPyTextShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
7920 { "wxPyTextShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_wxPyTextShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
7921 { "wxPyTextShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_wxPyTextShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
7922 { "wxPyTextShape_base_OnDrawOutline", (PyCFunction
) _wrap_wxPyTextShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
7923 { "wxPyTextShape_base_OnEndDragRight", (PyCFunction
) _wrap_wxPyTextShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
7924 { "wxPyTextShape_base_OnBeginDragRight", (PyCFunction
) _wrap_wxPyTextShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
7925 { "wxPyTextShape_base_OnDragRight", (PyCFunction
) _wrap_wxPyTextShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
7926 { "wxPyTextShape_base_OnEndDragLeft", (PyCFunction
) _wrap_wxPyTextShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
7927 { "wxPyTextShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_wxPyTextShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
7928 { "wxPyTextShape_base_OnDragLeft", (PyCFunction
) _wrap_wxPyTextShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
7929 { "wxPyTextShape_base_OnMovePost", (PyCFunction
) _wrap_wxPyTextShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
7930 { "wxPyTextShape_base_OnMovePre", (PyCFunction
) _wrap_wxPyTextShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
7931 { "wxPyTextShape_base_OnSize", (PyCFunction
) _wrap_wxPyTextShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
7932 { "wxPyTextShape_base_OnRightClick", (PyCFunction
) _wrap_wxPyTextShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
7933 { "wxPyTextShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_wxPyTextShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
7934 { "wxPyTextShape_base_OnLeftClick", (PyCFunction
) _wrap_wxPyTextShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
7935 { "wxPyTextShape_base_OnHighlight", (PyCFunction
) _wrap_wxPyTextShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
7936 { "wxPyTextShape_base_OnEraseContents", (PyCFunction
) _wrap_wxPyTextShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
7937 { "wxPyTextShape_base_OnErase", (PyCFunction
) _wrap_wxPyTextShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
7938 { "wxPyTextShape_base_OnMoveLinks", (PyCFunction
) _wrap_wxPyTextShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
7939 { "wxPyTextShape_base_OnDrawBranches", (PyCFunction
) _wrap_wxPyTextShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
7940 { "wxPyTextShape_base_OnDrawContents", (PyCFunction
) _wrap_wxPyTextShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
7941 { "wxPyTextShape_base_OnDraw", (PyCFunction
) _wrap_wxPyTextShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
7942 { "wxPyTextShape_base_OnDelete", (PyCFunction
) _wrap_wxPyTextShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
7943 { "wxPyTextShape__setCallbackInfo", (PyCFunction
) _wrap_wxPyTextShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
7944 { "new_wxPyTextShape", (PyCFunction
) _wrap_new_wxPyTextShape
, METH_VARARGS
| METH_KEYWORDS
},
7945 { "wxPyPolygonShape_base_OnEndSize", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
7946 { "wxPyPolygonShape_base_OnBeginSize", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
7947 { "wxPyPolygonShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
7948 { "wxPyPolygonShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
7949 { "wxPyPolygonShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
7950 { "wxPyPolygonShape_base_OnMoveLink", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
7951 { "wxPyPolygonShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
7952 { "wxPyPolygonShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
7953 { "wxPyPolygonShape_base_OnDrawOutline", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
7954 { "wxPyPolygonShape_base_OnEndDragRight", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
7955 { "wxPyPolygonShape_base_OnBeginDragRight", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
7956 { "wxPyPolygonShape_base_OnDragRight", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
7957 { "wxPyPolygonShape_base_OnEndDragLeft", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
7958 { "wxPyPolygonShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
7959 { "wxPyPolygonShape_base_OnDragLeft", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
7960 { "wxPyPolygonShape_base_OnMovePost", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
7961 { "wxPyPolygonShape_base_OnMovePre", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
7962 { "wxPyPolygonShape_base_OnSize", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
7963 { "wxPyPolygonShape_base_OnRightClick", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
7964 { "wxPyPolygonShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
7965 { "wxPyPolygonShape_base_OnLeftClick", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
7966 { "wxPyPolygonShape_base_OnHighlight", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
7967 { "wxPyPolygonShape_base_OnEraseContents", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
7968 { "wxPyPolygonShape_base_OnErase", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
7969 { "wxPyPolygonShape_base_OnMoveLinks", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
7970 { "wxPyPolygonShape_base_OnDrawBranches", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
7971 { "wxPyPolygonShape_base_OnDrawContents", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
7972 { "wxPyPolygonShape_base_OnDraw", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
7973 { "wxPyPolygonShape_UpdateOriginalPoints", (PyCFunction
) _wrap_wxPyPolygonShape_UpdateOriginalPoints
, METH_VARARGS
| METH_KEYWORDS
},
7974 { "wxPyPolygonShape_GetPoints", (PyCFunction
) _wrap_wxPyPolygonShape_GetPoints
, METH_VARARGS
| METH_KEYWORDS
},
7975 { "wxPyPolygonShape_DeletePolygonPoint", (PyCFunction
) _wrap_wxPyPolygonShape_DeletePolygonPoint
, METH_VARARGS
| METH_KEYWORDS
},
7976 { "wxPyPolygonShape_CalculatePolygonCentre", (PyCFunction
) _wrap_wxPyPolygonShape_CalculatePolygonCentre
, METH_VARARGS
| METH_KEYWORDS
},
7977 { "wxPyPolygonShape_AddPolygonPoint", (PyCFunction
) _wrap_wxPyPolygonShape_AddPolygonPoint
, METH_VARARGS
| METH_KEYWORDS
},
7978 { "wxPyPolygonShape_Create", (PyCFunction
) _wrap_wxPyPolygonShape_Create
, METH_VARARGS
| METH_KEYWORDS
},
7979 { "wxPyPolygonShape__setCallbackInfo", (PyCFunction
) _wrap_wxPyPolygonShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
7980 { "new_wxPyPolygonShape", (PyCFunction
) _wrap_new_wxPyPolygonShape
, METH_VARARGS
| METH_KEYWORDS
},
7981 { "wxPyLineShape_base_OnEndSize", (PyCFunction
) _wrap_wxPyLineShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
7982 { "wxPyLineShape_base_OnBeginSize", (PyCFunction
) _wrap_wxPyLineShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
7983 { "wxPyLineShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_wxPyLineShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
7984 { "wxPyLineShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_wxPyLineShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
7985 { "wxPyLineShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_wxPyLineShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
7986 { "wxPyLineShape_base_OnMoveLink", (PyCFunction
) _wrap_wxPyLineShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
7987 { "wxPyLineShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_wxPyLineShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
7988 { "wxPyLineShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_wxPyLineShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
7989 { "wxPyLineShape_base_OnDrawOutline", (PyCFunction
) _wrap_wxPyLineShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
7990 { "wxPyLineShape_base_OnEndDragRight", (PyCFunction
) _wrap_wxPyLineShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
7991 { "wxPyLineShape_base_OnBeginDragRight", (PyCFunction
) _wrap_wxPyLineShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
7992 { "wxPyLineShape_base_OnDragRight", (PyCFunction
) _wrap_wxPyLineShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
7993 { "wxPyLineShape_base_OnEndDragLeft", (PyCFunction
) _wrap_wxPyLineShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
7994 { "wxPyLineShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_wxPyLineShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
7995 { "wxPyLineShape_base_OnDragLeft", (PyCFunction
) _wrap_wxPyLineShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
7996 { "wxPyLineShape_base_OnMovePost", (PyCFunction
) _wrap_wxPyLineShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
7997 { "wxPyLineShape_base_OnMovePre", (PyCFunction
) _wrap_wxPyLineShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
7998 { "wxPyLineShape_base_OnSize", (PyCFunction
) _wrap_wxPyLineShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
7999 { "wxPyLineShape_base_OnRightClick", (PyCFunction
) _wrap_wxPyLineShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
8000 { "wxPyLineShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_wxPyLineShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
8001 { "wxPyLineShape_base_OnLeftClick", (PyCFunction
) _wrap_wxPyLineShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
8002 { "wxPyLineShape_base_OnHighlight", (PyCFunction
) _wrap_wxPyLineShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
8003 { "wxPyLineShape_base_OnEraseContents", (PyCFunction
) _wrap_wxPyLineShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
8004 { "wxPyLineShape_base_OnErase", (PyCFunction
) _wrap_wxPyLineShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
8005 { "wxPyLineShape_base_OnMoveLinks", (PyCFunction
) _wrap_wxPyLineShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
8006 { "wxPyLineShape_base_OnDrawBranches", (PyCFunction
) _wrap_wxPyLineShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
8007 { "wxPyLineShape_base_OnDrawContents", (PyCFunction
) _wrap_wxPyLineShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
8008 { "wxPyLineShape_base_OnDraw", (PyCFunction
) _wrap_wxPyLineShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
8009 { "wxPyLineShape_Unlink", (PyCFunction
) _wrap_wxPyLineShape_Unlink
, METH_VARARGS
| METH_KEYWORDS
},
8010 { "wxPyLineShape_Straighten", (PyCFunction
) _wrap_wxPyLineShape_Straighten
, METH_VARARGS
| METH_KEYWORDS
},
8011 { "wxPyLineShape_SetTo", (PyCFunction
) _wrap_wxPyLineShape_SetTo
, METH_VARARGS
| METH_KEYWORDS
},
8012 { "wxPyLineShape_SetSpline", (PyCFunction
) _wrap_wxPyLineShape_SetSpline
, METH_VARARGS
| METH_KEYWORDS
},
8013 { "wxPyLineShape_SetIgnoreOffsets", (PyCFunction
) _wrap_wxPyLineShape_SetIgnoreOffsets
, METH_VARARGS
| METH_KEYWORDS
},
8014 { "wxPyLineShape_SetFrom", (PyCFunction
) _wrap_wxPyLineShape_SetFrom
, METH_VARARGS
| METH_KEYWORDS
},
8015 { "wxPyLineShape_SetEnds", (PyCFunction
) _wrap_wxPyLineShape_SetEnds
, METH_VARARGS
| METH_KEYWORDS
},
8016 { "wxPyLineShape_SetAttachmentTo", (PyCFunction
) _wrap_wxPyLineShape_SetAttachmentTo
, METH_VARARGS
| METH_KEYWORDS
},
8017 { "wxPyLineShape_SetAttachments", (PyCFunction
) _wrap_wxPyLineShape_SetAttachments
, METH_VARARGS
| METH_KEYWORDS
},
8018 { "wxPyLineShape_SetAttachmentFrom", (PyCFunction
) _wrap_wxPyLineShape_SetAttachmentFrom
, METH_VARARGS
| METH_KEYWORDS
},
8019 { "wxPyLineShape_GetLineControlPoints", (PyCFunction
) _wrap_wxPyLineShape_GetLineControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8020 { "wxPyLineShape_MakeLineControlPoints", (PyCFunction
) _wrap_wxPyLineShape_MakeLineControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8021 { "wxPyLineShape_IsSpline", (PyCFunction
) _wrap_wxPyLineShape_IsSpline
, METH_VARARGS
| METH_KEYWORDS
},
8022 { "wxPyLineShape_IsEnd", (PyCFunction
) _wrap_wxPyLineShape_IsEnd
, METH_VARARGS
| METH_KEYWORDS
},
8023 { "wxPyLineShape_InsertLineControlPoint", (PyCFunction
) _wrap_wxPyLineShape_InsertLineControlPoint
, METH_VARARGS
| METH_KEYWORDS
},
8024 { "wxPyLineShape_Initialise", (PyCFunction
) _wrap_wxPyLineShape_Initialise
, METH_VARARGS
| METH_KEYWORDS
},
8025 { "wxPyLineShape_GetTo", (PyCFunction
) _wrap_wxPyLineShape_GetTo
, METH_VARARGS
| METH_KEYWORDS
},
8026 { "wxPyLineShape_GetNextControlPoint", (PyCFunction
) _wrap_wxPyLineShape_GetNextControlPoint
, METH_VARARGS
| METH_KEYWORDS
},
8027 { "wxPyLineShape_GetLabelPosition", (PyCFunction
) _wrap_wxPyLineShape_GetLabelPosition
, METH_VARARGS
| METH_KEYWORDS
},
8028 { "wxPyLineShape_GetFrom", (PyCFunction
) _wrap_wxPyLineShape_GetFrom
, METH_VARARGS
| METH_KEYWORDS
},
8029 { "wxPyLineShape_GetEnds", (PyCFunction
) _wrap_wxPyLineShape_GetEnds
, METH_VARARGS
| METH_KEYWORDS
},
8030 { "wxPyLineShape_GetAttachmentTo", (PyCFunction
) _wrap_wxPyLineShape_GetAttachmentTo
, METH_VARARGS
| METH_KEYWORDS
},
8031 { "wxPyLineShape_GetAttachmentFrom", (PyCFunction
) _wrap_wxPyLineShape_GetAttachmentFrom
, METH_VARARGS
| METH_KEYWORDS
},
8032 { "wxPyLineShape_FindNth", (PyCFunction
) _wrap_wxPyLineShape_FindNth
, METH_VARARGS
| METH_KEYWORDS
},
8033 { "wxPyLineShape_FindMinimumWidth", (PyCFunction
) _wrap_wxPyLineShape_FindMinimumWidth
, METH_VARARGS
| METH_KEYWORDS
},
8034 { "wxPyLineShape_FindLinePosition", (PyCFunction
) _wrap_wxPyLineShape_FindLinePosition
, METH_VARARGS
| METH_KEYWORDS
},
8035 { "wxPyLineShape_FindLineEndPoints", (PyCFunction
) _wrap_wxPyLineShape_FindLineEndPoints
, METH_VARARGS
| METH_KEYWORDS
},
8036 { "wxPyLineShape_FindArrowHead", (PyCFunction
) _wrap_wxPyLineShape_FindArrowHead
, METH_VARARGS
| METH_KEYWORDS
},
8037 { "wxPyLineShape_FindArrowHeadId", (PyCFunction
) _wrap_wxPyLineShape_FindArrowHeadId
, METH_VARARGS
| METH_KEYWORDS
},
8038 { "wxPyLineShape_EraseRegion", (PyCFunction
) _wrap_wxPyLineShape_EraseRegion
, METH_VARARGS
| METH_KEYWORDS
},
8039 { "wxPyLineShape_DrawRegion", (PyCFunction
) _wrap_wxPyLineShape_DrawRegion
, METH_VARARGS
| METH_KEYWORDS
},
8040 { "wxPyLineShape_DrawArrows", (PyCFunction
) _wrap_wxPyLineShape_DrawArrows
, METH_VARARGS
| METH_KEYWORDS
},
8041 { "wxPyLineShape_DeleteLineControlPoint", (PyCFunction
) _wrap_wxPyLineShape_DeleteLineControlPoint
, METH_VARARGS
| METH_KEYWORDS
},
8042 { "wxPyLineShape_DeleteArrowHead", (PyCFunction
) _wrap_wxPyLineShape_DeleteArrowHead
, METH_VARARGS
| METH_KEYWORDS
},
8043 { "wxPyLineShape_DeleteArrowHeadId", (PyCFunction
) _wrap_wxPyLineShape_DeleteArrowHeadId
, METH_VARARGS
| METH_KEYWORDS
},
8044 { "wxPyLineShape_DrawArrow", (PyCFunction
) _wrap_wxPyLineShape_DrawArrow
, METH_VARARGS
| METH_KEYWORDS
},
8045 { "wxPyLineShape_ClearArrowsAtPosition", (PyCFunction
) _wrap_wxPyLineShape_ClearArrowsAtPosition
, METH_VARARGS
| METH_KEYWORDS
},
8046 { "wxPyLineShape_ClearArrow", (PyCFunction
) _wrap_wxPyLineShape_ClearArrow
, METH_VARARGS
| METH_KEYWORDS
},
8047 { "wxPyLineShape_AddArrowOrdered", (PyCFunction
) _wrap_wxPyLineShape_AddArrowOrdered
, METH_VARARGS
| METH_KEYWORDS
},
8048 { "wxPyLineShape_AddArrow", (PyCFunction
) _wrap_wxPyLineShape_AddArrow
, METH_VARARGS
| METH_KEYWORDS
},
8049 { "wxPyLineShape__setCallbackInfo", (PyCFunction
) _wrap_wxPyLineShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
8050 { "new_wxPyLineShape", (PyCFunction
) _wrap_new_wxPyLineShape
, METH_VARARGS
| METH_KEYWORDS
},
8051 { "wxArrowHead_SetSpacing", (PyCFunction
) _wrap_wxArrowHead_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
8052 { "wxArrowHead_SetSize", (PyCFunction
) _wrap_wxArrowHead_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
8053 { "wxArrowHead_GetArrowSize", (PyCFunction
) _wrap_wxArrowHead_GetArrowSize
, METH_VARARGS
| METH_KEYWORDS
},
8054 { "wxArrowHead_GetArrowEnd", (PyCFunction
) _wrap_wxArrowHead_GetArrowEnd
, METH_VARARGS
| METH_KEYWORDS
},
8055 { "wxArrowHead_GetId", (PyCFunction
) _wrap_wxArrowHead_GetId
, METH_VARARGS
| METH_KEYWORDS
},
8056 { "wxArrowHead_GetMetaFile", (PyCFunction
) _wrap_wxArrowHead_GetMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
8057 { "wxArrowHead_SetYOffset", (PyCFunction
) _wrap_wxArrowHead_SetYOffset
, METH_VARARGS
| METH_KEYWORDS
},
8058 { "wxArrowHead_SetXOffset", (PyCFunction
) _wrap_wxArrowHead_SetXOffset
, METH_VARARGS
| METH_KEYWORDS
},
8059 { "wxArrowHead_GetName", (PyCFunction
) _wrap_wxArrowHead_GetName
, METH_VARARGS
| METH_KEYWORDS
},
8060 { "wxArrowHead_GetSize", (PyCFunction
) _wrap_wxArrowHead_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
8061 { "wxArrowHead_GetSpacing", (PyCFunction
) _wrap_wxArrowHead_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
8062 { "wxArrowHead_GetYOffset", (PyCFunction
) _wrap_wxArrowHead_GetYOffset
, METH_VARARGS
| METH_KEYWORDS
},
8063 { "wxArrowHead_GetXOffset", (PyCFunction
) _wrap_wxArrowHead_GetXOffset
, METH_VARARGS
| METH_KEYWORDS
},
8064 { "wxArrowHead_SetPosition", (PyCFunction
) _wrap_wxArrowHead_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
8065 { "wxArrowHead_GetPosition", (PyCFunction
) _wrap_wxArrowHead_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
8066 { "wxArrowHead__GetType", (PyCFunction
) _wrap_wxArrowHead__GetType
, METH_VARARGS
| METH_KEYWORDS
},
8067 { "delete_wxArrowHead", (PyCFunction
) _wrap_delete_wxArrowHead
, METH_VARARGS
| METH_KEYWORDS
},
8068 { "new_wxArrowHead", (PyCFunction
) _wrap_new_wxArrowHead
, METH_VARARGS
| METH_KEYWORDS
},
8069 { "wxPyCircleShape_base_OnEndSize", (PyCFunction
) _wrap_wxPyCircleShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
8070 { "wxPyCircleShape_base_OnBeginSize", (PyCFunction
) _wrap_wxPyCircleShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
8071 { "wxPyCircleShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_wxPyCircleShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8072 { "wxPyCircleShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_wxPyCircleShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8073 { "wxPyCircleShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_wxPyCircleShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8074 { "wxPyCircleShape_base_OnMoveLink", (PyCFunction
) _wrap_wxPyCircleShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
8075 { "wxPyCircleShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_wxPyCircleShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8076 { "wxPyCircleShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_wxPyCircleShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8077 { "wxPyCircleShape_base_OnDrawOutline", (PyCFunction
) _wrap_wxPyCircleShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
8078 { "wxPyCircleShape_base_OnEndDragRight", (PyCFunction
) _wrap_wxPyCircleShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8079 { "wxPyCircleShape_base_OnBeginDragRight", (PyCFunction
) _wrap_wxPyCircleShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8080 { "wxPyCircleShape_base_OnDragRight", (PyCFunction
) _wrap_wxPyCircleShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8081 { "wxPyCircleShape_base_OnEndDragLeft", (PyCFunction
) _wrap_wxPyCircleShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8082 { "wxPyCircleShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_wxPyCircleShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8083 { "wxPyCircleShape_base_OnDragLeft", (PyCFunction
) _wrap_wxPyCircleShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8084 { "wxPyCircleShape_base_OnMovePost", (PyCFunction
) _wrap_wxPyCircleShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
8085 { "wxPyCircleShape_base_OnMovePre", (PyCFunction
) _wrap_wxPyCircleShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
8086 { "wxPyCircleShape_base_OnSize", (PyCFunction
) _wrap_wxPyCircleShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
8087 { "wxPyCircleShape_base_OnRightClick", (PyCFunction
) _wrap_wxPyCircleShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
8088 { "wxPyCircleShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_wxPyCircleShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
8089 { "wxPyCircleShape_base_OnLeftClick", (PyCFunction
) _wrap_wxPyCircleShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
8090 { "wxPyCircleShape_base_OnHighlight", (PyCFunction
) _wrap_wxPyCircleShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
8091 { "wxPyCircleShape_base_OnEraseContents", (PyCFunction
) _wrap_wxPyCircleShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
8092 { "wxPyCircleShape_base_OnErase", (PyCFunction
) _wrap_wxPyCircleShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
8093 { "wxPyCircleShape_base_OnMoveLinks", (PyCFunction
) _wrap_wxPyCircleShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
8094 { "wxPyCircleShape_base_OnDrawBranches", (PyCFunction
) _wrap_wxPyCircleShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
8095 { "wxPyCircleShape_base_OnDrawContents", (PyCFunction
) _wrap_wxPyCircleShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
8096 { "wxPyCircleShape_base_OnDraw", (PyCFunction
) _wrap_wxPyCircleShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
8097 { "wxPyCircleShape__setCallbackInfo", (PyCFunction
) _wrap_wxPyCircleShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
8098 { "new_wxPyCircleShape", (PyCFunction
) _wrap_new_wxPyCircleShape
, METH_VARARGS
| METH_KEYWORDS
},
8099 { "wxPyEllipseShape_base_OnEndSize", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
8100 { "wxPyEllipseShape_base_OnBeginSize", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
8101 { "wxPyEllipseShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8102 { "wxPyEllipseShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8103 { "wxPyEllipseShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8104 { "wxPyEllipseShape_base_OnMoveLink", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
8105 { "wxPyEllipseShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8106 { "wxPyEllipseShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8107 { "wxPyEllipseShape_base_OnDrawOutline", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
8108 { "wxPyEllipseShape_base_OnEndDragRight", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8109 { "wxPyEllipseShape_base_OnBeginDragRight", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8110 { "wxPyEllipseShape_base_OnDragRight", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8111 { "wxPyEllipseShape_base_OnEndDragLeft", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8112 { "wxPyEllipseShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8113 { "wxPyEllipseShape_base_OnDragLeft", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8114 { "wxPyEllipseShape_base_OnMovePost", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
8115 { "wxPyEllipseShape_base_OnMovePre", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
8116 { "wxPyEllipseShape_base_OnSize", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
8117 { "wxPyEllipseShape_base_OnRightClick", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
8118 { "wxPyEllipseShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
8119 { "wxPyEllipseShape_base_OnLeftClick", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
8120 { "wxPyEllipseShape_base_OnHighlight", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
8121 { "wxPyEllipseShape_base_OnEraseContents", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
8122 { "wxPyEllipseShape_base_OnErase", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
8123 { "wxPyEllipseShape_base_OnMoveLinks", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
8124 { "wxPyEllipseShape_base_OnDrawBranches", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
8125 { "wxPyEllipseShape_base_OnDrawContents", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
8126 { "wxPyEllipseShape_base_OnDraw", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
8127 { "wxPyEllipseShape__setCallbackInfo", (PyCFunction
) _wrap_wxPyEllipseShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
8128 { "new_wxPyEllipseShape", (PyCFunction
) _wrap_new_wxPyEllipseShape
, METH_VARARGS
| METH_KEYWORDS
},
8135 * This table is used by the pointer type-checker
8137 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
8138 { "_signed_long","_long",0},
8139 { "_wxPrintQuality","_wxCoord",0},
8140 { "_wxPrintQuality","_int",0},
8141 { "_wxPrintQuality","_signed_int",0},
8142 { "_wxPrintQuality","_unsigned_int",0},
8143 { "_wxPrintQuality","_wxWindowID",0},
8144 { "_wxPrintQuality","_uint",0},
8145 { "_wxPrintQuality","_EBool",0},
8146 { "_wxPrintQuality","_size_t",0},
8147 { "_wxPrintQuality","_time_t",0},
8148 { "_byte","_unsigned_char",0},
8149 { "_long","_unsigned_long",0},
8150 { "_long","_signed_long",0},
8151 { "_size_t","_wxCoord",0},
8152 { "_size_t","_wxPrintQuality",0},
8153 { "_size_t","_time_t",0},
8154 { "_size_t","_unsigned_int",0},
8155 { "_size_t","_int",0},
8156 { "_size_t","_wxWindowID",0},
8157 { "_size_t","_uint",0},
8158 { "_uint","_wxCoord",0},
8159 { "_uint","_wxPrintQuality",0},
8160 { "_uint","_time_t",0},
8161 { "_uint","_size_t",0},
8162 { "_uint","_unsigned_int",0},
8163 { "_uint","_int",0},
8164 { "_uint","_wxWindowID",0},
8165 { "_wxChar","_char",0},
8166 { "_char","_wxChar",0},
8167 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
8168 { "_EBool","_wxCoord",0},
8169 { "_EBool","_wxPrintQuality",0},
8170 { "_EBool","_signed_int",0},
8171 { "_EBool","_int",0},
8172 { "_EBool","_wxWindowID",0},
8173 { "_unsigned_long","_long",0},
8174 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
8175 { "_signed_int","_wxCoord",0},
8176 { "_signed_int","_wxPrintQuality",0},
8177 { "_signed_int","_EBool",0},
8178 { "_signed_int","_wxWindowID",0},
8179 { "_signed_int","_int",0},
8180 { "_WXTYPE","_wxDateTime_t",0},
8181 { "_WXTYPE","_short",0},
8182 { "_WXTYPE","_signed_short",0},
8183 { "_WXTYPE","_unsigned_short",0},
8184 { "_unsigned_short","_wxDateTime_t",0},
8185 { "_unsigned_short","_WXTYPE",0},
8186 { "_unsigned_short","_short",0},
8187 { "_wxObject","_wxPyTextShape",SwigwxPyTextShapeTowxObject
},
8188 { "_wxObject","_wxPyPolygonShape",SwigwxPyPolygonShapeTowxObject
},
8189 { "_wxObject","_wxPyLineShape",SwigwxPyLineShapeTowxObject
},
8190 { "_wxObject","_wxArrowHead",SwigwxArrowHeadTowxObject
},
8191 { "_wxObject","_wxPyCircleShape",SwigwxPyCircleShapeTowxObject
},
8192 { "_wxObject","_wxPyEllipseShape",SwigwxPyEllipseShapeTowxObject
},
8193 { "_signed_short","_WXTYPE",0},
8194 { "_signed_short","_short",0},
8195 { "_wxPyShape","_wxPyTextShape",SwigwxPyTextShapeTowxPyShape
},
8196 { "_wxPyShape","_wxPyPolygonShape",SwigwxPyPolygonShapeTowxPyShape
},
8197 { "_wxPyShape","_wxPyLineShape",SwigwxPyLineShapeTowxPyShape
},
8198 { "_wxPyShape","_wxPyCircleShape",SwigwxPyCircleShapeTowxPyShape
},
8199 { "_wxPyShape","_wxPyEllipseShape",SwigwxPyEllipseShapeTowxPyShape
},
8200 { "_unsigned_char","_byte",0},
8201 { "_unsigned_int","_wxCoord",0},
8202 { "_unsigned_int","_wxPrintQuality",0},
8203 { "_unsigned_int","_time_t",0},
8204 { "_unsigned_int","_size_t",0},
8205 { "_unsigned_int","_uint",0},
8206 { "_unsigned_int","_wxWindowID",0},
8207 { "_unsigned_int","_int",0},
8208 { "_short","_wxDateTime_t",0},
8209 { "_short","_WXTYPE",0},
8210 { "_short","_unsigned_short",0},
8211 { "_short","_signed_short",0},
8212 { "_wxWindowID","_wxCoord",0},
8213 { "_wxWindowID","_wxPrintQuality",0},
8214 { "_wxWindowID","_time_t",0},
8215 { "_wxWindowID","_size_t",0},
8216 { "_wxWindowID","_EBool",0},
8217 { "_wxWindowID","_uint",0},
8218 { "_wxWindowID","_int",0},
8219 { "_wxWindowID","_signed_int",0},
8220 { "_wxWindowID","_unsigned_int",0},
8221 { "_int","_wxCoord",0},
8222 { "_int","_wxPrintQuality",0},
8223 { "_int","_time_t",0},
8224 { "_int","_size_t",0},
8225 { "_int","_EBool",0},
8226 { "_int","_uint",0},
8227 { "_int","_wxWindowID",0},
8228 { "_int","_unsigned_int",0},
8229 { "_int","_signed_int",0},
8230 { "_wxDateTime_t","_unsigned_short",0},
8231 { "_wxDateTime_t","_short",0},
8232 { "_wxDateTime_t","_WXTYPE",0},
8233 { "_time_t","_wxCoord",0},
8234 { "_time_t","_wxPrintQuality",0},
8235 { "_time_t","_unsigned_int",0},
8236 { "_time_t","_int",0},
8237 { "_time_t","_wxWindowID",0},
8238 { "_time_t","_uint",0},
8239 { "_time_t","_size_t",0},
8240 { "_wxCoord","_int",0},
8241 { "_wxCoord","_signed_int",0},
8242 { "_wxCoord","_unsigned_int",0},
8243 { "_wxCoord","_wxWindowID",0},
8244 { "_wxCoord","_uint",0},
8245 { "_wxCoord","_EBool",0},
8246 { "_wxCoord","_size_t",0},
8247 { "_wxCoord","_time_t",0},
8248 { "_wxCoord","_wxPrintQuality",0},
8249 { "_wxPyEllipseShape","_wxPyCircleShape",SwigwxPyCircleShapeTowxPyEllipseShape
},
8250 { "_wxPyShapeEvtHandler","_wxPyTextShape",SwigwxPyTextShapeTowxPyShapeEvtHandler
},
8251 { "_wxPyShapeEvtHandler","_wxPyPolygonShape",SwigwxPyPolygonShapeTowxPyShapeEvtHandler
},
8252 { "_wxPyShapeEvtHandler","_wxPyLineShape",SwigwxPyLineShapeTowxPyShapeEvtHandler
},
8253 { "_wxPyShapeEvtHandler","_wxPyCircleShape",SwigwxPyCircleShapeTowxPyShapeEvtHandler
},
8254 { "_wxPyShapeEvtHandler","_wxPyEllipseShape",SwigwxPyEllipseShapeTowxPyShapeEvtHandler
},
8255 { "_wxPyRectangleShape","_wxPyTextShape",SwigwxPyTextShapeTowxPyRectangleShape
},
8258 static PyObject
*SWIG_globals
;
8262 SWIGEXPORT(void) initoglshapes2c() {
8264 SWIG_globals
= SWIG_newvarlink();
8265 m
= Py_InitModule("oglshapes2c", oglshapes2cMethods
);
8266 d
= PyModule_GetDict(m
);
8269 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
8270 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);