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 WXSHAPE_IMP_CALLBACKS(wxPyEllipseShape
, wxEllipseShape
);
90 WXSHAPE_IMP_CALLBACKS(wxPyCircleShape
, wxCircleShape
);
92 WXSHAPE_IMP_CALLBACKS(wxPyLineShape
, wxLineShape
);
94 WXSHAPE_IMP_CALLBACKS(wxPyPolygonShape
, wxPolygonShape
);
96 WXSHAPE_IMP_CALLBACKS(wxPyTextShape
, wxTextShape
);
100 static void *SwigwxPyEllipseShapeTowxPyShape(void *ptr
) {
101 wxPyEllipseShape
*src
;
103 src
= (wxPyEllipseShape
*) ptr
;
104 dest
= (wxPyShape
*) src
;
105 return (void *) dest
;
108 static void *SwigwxPyEllipseShapeTowxPyShapeEvtHandler(void *ptr
) {
109 wxPyEllipseShape
*src
;
110 wxPyShapeEvtHandler
*dest
;
111 src
= (wxPyEllipseShape
*) ptr
;
112 dest
= (wxPyShapeEvtHandler
*) src
;
113 return (void *) dest
;
116 static void *SwigwxPyEllipseShapeTowxObject(void *ptr
) {
117 wxPyEllipseShape
*src
;
119 src
= (wxPyEllipseShape
*) ptr
;
120 dest
= (wxObject
*) src
;
121 return (void *) dest
;
124 #define new_wxPyEllipseShape(_swigarg0,_swigarg1) (new wxPyEllipseShape(_swigarg0,_swigarg1))
125 static PyObject
*_wrap_new_wxPyEllipseShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
126 PyObject
* _resultobj
;
127 wxPyEllipseShape
* _result
;
128 double _arg0
= (double ) 0.0;
129 double _arg1
= (double ) 0.0;
130 char *_kwnames
[] = { "width","height", NULL
};
134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|dd:new_wxPyEllipseShape",_kwnames
,&_arg0
,&_arg1
))
137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
138 _result
= (wxPyEllipseShape
*)new_wxPyEllipseShape(_arg0
,_arg1
);
140 wxPyEndAllowThreads(__tstate
);
141 if (PyErr_Occurred()) return NULL
;
143 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyEllipseShape_p");
144 _resultobj
= Py_BuildValue("s",_ptemp
);
147 _resultobj
= Py_None
;
152 #define wxPyEllipseShape__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
153 static PyObject
*_wrap_wxPyEllipseShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
154 PyObject
* _resultobj
;
155 wxPyEllipseShape
* _arg0
;
158 PyObject
* _argo0
= 0;
159 PyObject
* _obj1
= 0;
160 PyObject
* _obj2
= 0;
161 char *_kwnames
[] = { "self","self","_class", NULL
};
164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyEllipseShape__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
167 if (_argo0
== Py_None
) { _arg0
= NULL
; }
168 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape__setCallbackInfo. Expected _wxPyEllipseShape_p.");
180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
181 wxPyEllipseShape__setCallbackInfo(_arg0
,_arg1
,_arg2
);
183 wxPyEndAllowThreads(__tstate
);
184 if (PyErr_Occurred()) return NULL
;
185 } Py_INCREF(Py_None
);
186 _resultobj
= Py_None
;
190 #define wxPyEllipseShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
191 static PyObject
*_wrap_wxPyEllipseShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
192 PyObject
* _resultobj
;
193 wxPyEllipseShape
* _arg0
;
195 PyObject
* _argo0
= 0;
196 PyObject
* _argo1
= 0;
197 char *_kwnames
[] = { "self","dc", NULL
};
200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyEllipseShape_base_OnDraw",_kwnames
,&_argo0
,&_argo1
))
203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnDraw. Expected _wxPyEllipseShape_p.");
210 if (_argo1
== Py_None
) { _arg1
= NULL
; }
211 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyEllipseShape_base_OnDraw. Expected _wxDC_p.");
217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
218 wxPyEllipseShape_base_OnDraw(_arg0
,*_arg1
);
220 wxPyEndAllowThreads(__tstate
);
221 if (PyErr_Occurred()) return NULL
;
222 } Py_INCREF(Py_None
);
223 _resultobj
= Py_None
;
227 #define wxPyEllipseShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
228 static PyObject
*_wrap_wxPyEllipseShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
229 PyObject
* _resultobj
;
230 wxPyEllipseShape
* _arg0
;
232 PyObject
* _argo0
= 0;
233 PyObject
* _argo1
= 0;
234 char *_kwnames
[] = { "self","dc", NULL
};
237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyEllipseShape_base_OnDrawContents",_kwnames
,&_argo0
,&_argo1
))
240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnDrawContents. Expected _wxPyEllipseShape_p.");
247 if (_argo1
== Py_None
) { _arg1
= NULL
; }
248 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyEllipseShape_base_OnDrawContents. Expected _wxDC_p.");
254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
255 wxPyEllipseShape_base_OnDrawContents(_arg0
,*_arg1
);
257 wxPyEndAllowThreads(__tstate
);
258 if (PyErr_Occurred()) return NULL
;
259 } Py_INCREF(Py_None
);
260 _resultobj
= Py_None
;
264 #define wxPyEllipseShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
265 static PyObject
*_wrap_wxPyEllipseShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
266 PyObject
* _resultobj
;
267 wxPyEllipseShape
* _arg0
;
269 bool _arg2
= (bool ) FALSE
;
270 PyObject
* _argo0
= 0;
271 PyObject
* _argo1
= 0;
272 int tempbool2
= (int) FALSE
;
273 char *_kwnames
[] = { "self","dc","erase", NULL
};
276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyEllipseShape_base_OnDrawBranches",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
279 if (_argo0
== Py_None
) { _arg0
= NULL
; }
280 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnDrawBranches. Expected _wxPyEllipseShape_p.");
286 if (_argo1
== Py_None
) { _arg1
= NULL
; }
287 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyEllipseShape_base_OnDrawBranches. Expected _wxDC_p.");
292 _arg2
= (bool ) tempbool2
;
294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
295 wxPyEllipseShape_base_OnDrawBranches(_arg0
,*_arg1
,_arg2
);
297 wxPyEndAllowThreads(__tstate
);
298 if (PyErr_Occurred()) return NULL
;
299 } Py_INCREF(Py_None
);
300 _resultobj
= Py_None
;
304 #define wxPyEllipseShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
305 static PyObject
*_wrap_wxPyEllipseShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
306 PyObject
* _resultobj
;
307 wxPyEllipseShape
* _arg0
;
309 PyObject
* _argo0
= 0;
310 PyObject
* _argo1
= 0;
311 char *_kwnames
[] = { "self","dc", NULL
};
314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyEllipseShape_base_OnMoveLinks",_kwnames
,&_argo0
,&_argo1
))
317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnMoveLinks. Expected _wxPyEllipseShape_p.");
324 if (_argo1
== Py_None
) { _arg1
= NULL
; }
325 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyEllipseShape_base_OnMoveLinks. Expected _wxDC_p.");
331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
332 wxPyEllipseShape_base_OnMoveLinks(_arg0
,*_arg1
);
334 wxPyEndAllowThreads(__tstate
);
335 if (PyErr_Occurred()) return NULL
;
336 } Py_INCREF(Py_None
);
337 _resultobj
= Py_None
;
341 #define wxPyEllipseShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
342 static PyObject
*_wrap_wxPyEllipseShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
343 PyObject
* _resultobj
;
344 wxPyEllipseShape
* _arg0
;
346 PyObject
* _argo0
= 0;
347 PyObject
* _argo1
= 0;
348 char *_kwnames
[] = { "self","dc", NULL
};
351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyEllipseShape_base_OnErase",_kwnames
,&_argo0
,&_argo1
))
354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnErase. Expected _wxPyEllipseShape_p.");
361 if (_argo1
== Py_None
) { _arg1
= NULL
; }
362 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyEllipseShape_base_OnErase. Expected _wxDC_p.");
368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
369 wxPyEllipseShape_base_OnErase(_arg0
,*_arg1
);
371 wxPyEndAllowThreads(__tstate
);
372 if (PyErr_Occurred()) return NULL
;
373 } Py_INCREF(Py_None
);
374 _resultobj
= Py_None
;
378 #define wxPyEllipseShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
379 static PyObject
*_wrap_wxPyEllipseShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
380 PyObject
* _resultobj
;
381 wxPyEllipseShape
* _arg0
;
383 PyObject
* _argo0
= 0;
384 PyObject
* _argo1
= 0;
385 char *_kwnames
[] = { "self","dc", NULL
};
388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyEllipseShape_base_OnEraseContents",_kwnames
,&_argo0
,&_argo1
))
391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnEraseContents. Expected _wxPyEllipseShape_p.");
398 if (_argo1
== Py_None
) { _arg1
= NULL
; }
399 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyEllipseShape_base_OnEraseContents. Expected _wxDC_p.");
405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
406 wxPyEllipseShape_base_OnEraseContents(_arg0
,*_arg1
);
408 wxPyEndAllowThreads(__tstate
);
409 if (PyErr_Occurred()) return NULL
;
410 } Py_INCREF(Py_None
);
411 _resultobj
= Py_None
;
415 #define wxPyEllipseShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
416 static PyObject
*_wrap_wxPyEllipseShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
417 PyObject
* _resultobj
;
418 wxPyEllipseShape
* _arg0
;
420 PyObject
* _argo0
= 0;
421 PyObject
* _argo1
= 0;
422 char *_kwnames
[] = { "self","dc", NULL
};
425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyEllipseShape_base_OnHighlight",_kwnames
,&_argo0
,&_argo1
))
428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnHighlight. Expected _wxPyEllipseShape_p.");
435 if (_argo1
== Py_None
) { _arg1
= NULL
; }
436 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyEllipseShape_base_OnHighlight. Expected _wxDC_p.");
442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
443 wxPyEllipseShape_base_OnHighlight(_arg0
,*_arg1
);
445 wxPyEndAllowThreads(__tstate
);
446 if (PyErr_Occurred()) return NULL
;
447 } Py_INCREF(Py_None
);
448 _resultobj
= Py_None
;
452 #define wxPyEllipseShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
453 static PyObject
*_wrap_wxPyEllipseShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
454 PyObject
* _resultobj
;
455 wxPyEllipseShape
* _arg0
;
458 int _arg3
= (int ) 0;
459 int _arg4
= (int ) 0;
460 PyObject
* _argo0
= 0;
461 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyEllipseShape_base_OnLeftClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnLeftClick. Expected _wxPyEllipseShape_p.");
474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
475 wxPyEllipseShape_base_OnLeftClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
477 wxPyEndAllowThreads(__tstate
);
478 if (PyErr_Occurred()) return NULL
;
479 } Py_INCREF(Py_None
);
480 _resultobj
= Py_None
;
484 #define wxPyEllipseShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
485 static PyObject
*_wrap_wxPyEllipseShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
486 PyObject
* _resultobj
;
487 wxPyEllipseShape
* _arg0
;
490 int _arg3
= (int ) 0;
491 int _arg4
= (int ) 0;
492 PyObject
* _argo0
= 0;
493 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyEllipseShape_base_OnLeftDoubleClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnLeftDoubleClick. Expected _wxPyEllipseShape_p.");
506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
507 wxPyEllipseShape_base_OnLeftDoubleClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
509 wxPyEndAllowThreads(__tstate
);
510 if (PyErr_Occurred()) return NULL
;
511 } Py_INCREF(Py_None
);
512 _resultobj
= Py_None
;
516 #define wxPyEllipseShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
517 static PyObject
*_wrap_wxPyEllipseShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
518 PyObject
* _resultobj
;
519 wxPyEllipseShape
* _arg0
;
522 int _arg3
= (int ) 0;
523 int _arg4
= (int ) 0;
524 PyObject
* _argo0
= 0;
525 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyEllipseShape_base_OnRightClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnRightClick. Expected _wxPyEllipseShape_p.");
538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
539 wxPyEllipseShape_base_OnRightClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
541 wxPyEndAllowThreads(__tstate
);
542 if (PyErr_Occurred()) return NULL
;
543 } Py_INCREF(Py_None
);
544 _resultobj
= Py_None
;
548 #define wxPyEllipseShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
549 static PyObject
*_wrap_wxPyEllipseShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
550 PyObject
* _resultobj
;
551 wxPyEllipseShape
* _arg0
;
554 PyObject
* _argo0
= 0;
555 char *_kwnames
[] = { "self","x","y", NULL
};
558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyEllipseShape_base_OnSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnSize. Expected _wxPyEllipseShape_p.");
568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
569 wxPyEllipseShape_base_OnSize(_arg0
,_arg1
,_arg2
);
571 wxPyEndAllowThreads(__tstate
);
572 if (PyErr_Occurred()) return NULL
;
573 } Py_INCREF(Py_None
);
574 _resultobj
= Py_None
;
578 #define wxPyEllipseShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
579 static PyObject
*_wrap_wxPyEllipseShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
580 PyObject
* _resultobj
;
582 wxPyEllipseShape
* _arg0
;
588 bool _arg6
= (bool ) TRUE
;
589 PyObject
* _argo0
= 0;
590 PyObject
* _argo1
= 0;
591 int tempbool6
= (int) TRUE
;
592 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyEllipseShape_base_OnMovePre",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnMovePre. Expected _wxPyEllipseShape_p.");
605 if (_argo1
== Py_None
) { _arg1
= NULL
; }
606 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyEllipseShape_base_OnMovePre. Expected _wxDC_p.");
611 _arg6
= (bool ) tempbool6
;
613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
614 _result
= (bool )wxPyEllipseShape_base_OnMovePre(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
616 wxPyEndAllowThreads(__tstate
);
617 if (PyErr_Occurred()) return NULL
;
618 } _resultobj
= Py_BuildValue("i",_result
);
622 #define wxPyEllipseShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
623 static PyObject
*_wrap_wxPyEllipseShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
624 PyObject
* _resultobj
;
625 wxPyEllipseShape
* _arg0
;
631 bool _arg6
= (bool ) TRUE
;
632 PyObject
* _argo0
= 0;
633 PyObject
* _argo1
= 0;
634 int tempbool6
= (int) TRUE
;
635 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyEllipseShape_base_OnMovePost",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnMovePost. Expected _wxPyEllipseShape_p.");
648 if (_argo1
== Py_None
) { _arg1
= NULL
; }
649 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyEllipseShape_base_OnMovePost. Expected _wxDC_p.");
654 _arg6
= (bool ) tempbool6
;
656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
657 wxPyEllipseShape_base_OnMovePost(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
659 wxPyEndAllowThreads(__tstate
);
660 if (PyErr_Occurred()) return NULL
;
661 } Py_INCREF(Py_None
);
662 _resultobj
= Py_None
;
666 #define wxPyEllipseShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
667 static PyObject
*_wrap_wxPyEllipseShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
668 PyObject
* _resultobj
;
669 wxPyEllipseShape
* _arg0
;
673 int _arg4
= (int ) 0;
674 int _arg5
= (int ) 0;
675 PyObject
* _argo0
= 0;
677 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyEllipseShape_base_OnDragLeft",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnDragLeft. Expected _wxPyEllipseShape_p.");
689 _arg1
= (bool ) tempbool1
;
691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
692 wxPyEllipseShape_base_OnDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
694 wxPyEndAllowThreads(__tstate
);
695 if (PyErr_Occurred()) return NULL
;
696 } Py_INCREF(Py_None
);
697 _resultobj
= Py_None
;
701 #define wxPyEllipseShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
702 static PyObject
*_wrap_wxPyEllipseShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
703 PyObject
* _resultobj
;
704 wxPyEllipseShape
* _arg0
;
707 int _arg3
= (int ) 0;
708 int _arg4
= (int ) 0;
709 PyObject
* _argo0
= 0;
710 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyEllipseShape_base_OnBeginDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
716 if (_argo0
== Py_None
) { _arg0
= NULL
; }
717 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnBeginDragLeft. Expected _wxPyEllipseShape_p.");
723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
724 wxPyEllipseShape_base_OnBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
726 wxPyEndAllowThreads(__tstate
);
727 if (PyErr_Occurred()) return NULL
;
728 } Py_INCREF(Py_None
);
729 _resultobj
= Py_None
;
733 #define wxPyEllipseShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
734 static PyObject
*_wrap_wxPyEllipseShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
735 PyObject
* _resultobj
;
736 wxPyEllipseShape
* _arg0
;
739 int _arg3
= (int ) 0;
740 int _arg4
= (int ) 0;
741 PyObject
* _argo0
= 0;
742 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyEllipseShape_base_OnEndDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnEndDragLeft. Expected _wxPyEllipseShape_p.");
755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
756 wxPyEllipseShape_base_OnEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
758 wxPyEndAllowThreads(__tstate
);
759 if (PyErr_Occurred()) return NULL
;
760 } Py_INCREF(Py_None
);
761 _resultobj
= Py_None
;
765 #define wxPyEllipseShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
766 static PyObject
*_wrap_wxPyEllipseShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
767 PyObject
* _resultobj
;
768 wxPyEllipseShape
* _arg0
;
772 int _arg4
= (int ) 0;
773 int _arg5
= (int ) 0;
774 PyObject
* _argo0
= 0;
776 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyEllipseShape_base_OnDragRight",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnDragRight. Expected _wxPyEllipseShape_p.");
788 _arg1
= (bool ) tempbool1
;
790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
791 wxPyEllipseShape_base_OnDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
793 wxPyEndAllowThreads(__tstate
);
794 if (PyErr_Occurred()) return NULL
;
795 } Py_INCREF(Py_None
);
796 _resultobj
= Py_None
;
800 #define wxPyEllipseShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
801 static PyObject
*_wrap_wxPyEllipseShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
802 PyObject
* _resultobj
;
803 wxPyEllipseShape
* _arg0
;
806 int _arg3
= (int ) 0;
807 int _arg4
= (int ) 0;
808 PyObject
* _argo0
= 0;
809 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyEllipseShape_base_OnBeginDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnBeginDragRight. Expected _wxPyEllipseShape_p.");
822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
823 wxPyEllipseShape_base_OnBeginDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
825 wxPyEndAllowThreads(__tstate
);
826 if (PyErr_Occurred()) return NULL
;
827 } Py_INCREF(Py_None
);
828 _resultobj
= Py_None
;
832 #define wxPyEllipseShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
833 static PyObject
*_wrap_wxPyEllipseShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
834 PyObject
* _resultobj
;
835 wxPyEllipseShape
* _arg0
;
838 int _arg3
= (int ) 0;
839 int _arg4
= (int ) 0;
840 PyObject
* _argo0
= 0;
841 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyEllipseShape_base_OnEndDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnEndDragRight. Expected _wxPyEllipseShape_p.");
854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
855 wxPyEllipseShape_base_OnEndDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
857 wxPyEndAllowThreads(__tstate
);
858 if (PyErr_Occurred()) return NULL
;
859 } Py_INCREF(Py_None
);
860 _resultobj
= Py_None
;
864 #define wxPyEllipseShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
865 static PyObject
*_wrap_wxPyEllipseShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
866 PyObject
* _resultobj
;
867 wxPyEllipseShape
* _arg0
;
873 PyObject
* _argo0
= 0;
874 PyObject
* _argo1
= 0;
875 char *_kwnames
[] = { "self","dc","x","y","w","h", NULL
};
878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd:wxPyEllipseShape_base_OnDrawOutline",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnDrawOutline. Expected _wxPyEllipseShape_p.");
888 if (_argo1
== Py_None
) { _arg1
= NULL
; }
889 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyEllipseShape_base_OnDrawOutline. Expected _wxDC_p.");
895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
896 wxPyEllipseShape_base_OnDrawOutline(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
898 wxPyEndAllowThreads(__tstate
);
899 if (PyErr_Occurred()) return NULL
;
900 } Py_INCREF(Py_None
);
901 _resultobj
= Py_None
;
905 #define wxPyEllipseShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
906 static PyObject
*_wrap_wxPyEllipseShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
907 PyObject
* _resultobj
;
908 wxPyEllipseShape
* _arg0
;
910 PyObject
* _argo0
= 0;
911 PyObject
* _argo1
= 0;
912 char *_kwnames
[] = { "self","dc", NULL
};
915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyEllipseShape_base_OnDrawControlPoints",_kwnames
,&_argo0
,&_argo1
))
918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnDrawControlPoints. Expected _wxPyEllipseShape_p.");
925 if (_argo1
== Py_None
) { _arg1
= NULL
; }
926 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyEllipseShape_base_OnDrawControlPoints. Expected _wxDC_p.");
932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
933 wxPyEllipseShape_base_OnDrawControlPoints(_arg0
,*_arg1
);
935 wxPyEndAllowThreads(__tstate
);
936 if (PyErr_Occurred()) return NULL
;
937 } Py_INCREF(Py_None
);
938 _resultobj
= Py_None
;
942 #define wxPyEllipseShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
943 static PyObject
*_wrap_wxPyEllipseShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
944 PyObject
* _resultobj
;
945 wxPyEllipseShape
* _arg0
;
947 PyObject
* _argo0
= 0;
948 PyObject
* _argo1
= 0;
949 char *_kwnames
[] = { "self","dc", NULL
};
952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyEllipseShape_base_OnEraseControlPoints",_kwnames
,&_argo0
,&_argo1
))
955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnEraseControlPoints. Expected _wxPyEllipseShape_p.");
962 if (_argo1
== Py_None
) { _arg1
= NULL
; }
963 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyEllipseShape_base_OnEraseControlPoints. Expected _wxDC_p.");
969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
970 wxPyEllipseShape_base_OnEraseControlPoints(_arg0
,*_arg1
);
972 wxPyEndAllowThreads(__tstate
);
973 if (PyErr_Occurred()) return NULL
;
974 } Py_INCREF(Py_None
);
975 _resultobj
= Py_None
;
979 #define wxPyEllipseShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
980 static PyObject
*_wrap_wxPyEllipseShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
981 PyObject
* _resultobj
;
982 wxPyEllipseShape
* _arg0
;
984 bool _arg2
= (bool ) TRUE
;
985 PyObject
* _argo0
= 0;
986 PyObject
* _argo1
= 0;
987 int tempbool2
= (int) TRUE
;
988 char *_kwnames
[] = { "self","dc","moveControlPoints", NULL
};
991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyEllipseShape_base_OnMoveLink",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnMoveLink. Expected _wxPyEllipseShape_p.");
1001 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1002 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyEllipseShape_base_OnMoveLink. Expected _wxDC_p.");
1007 _arg2
= (bool ) tempbool2
;
1009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1010 wxPyEllipseShape_base_OnMoveLink(_arg0
,*_arg1
,_arg2
);
1012 wxPyEndAllowThreads(__tstate
);
1013 if (PyErr_Occurred()) return NULL
;
1014 } Py_INCREF(Py_None
);
1015 _resultobj
= Py_None
;
1019 #define wxPyEllipseShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1020 static PyObject
*_wrap_wxPyEllipseShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1021 PyObject
* _resultobj
;
1022 wxPyEllipseShape
* _arg0
;
1023 wxPyControlPoint
* _arg1
;
1027 int _arg5
= (int ) 0;
1028 int _arg6
= (int ) 0;
1029 PyObject
* _argo0
= 0;
1030 PyObject
* _argo1
= 0;
1032 char *_kwnames
[] = { "self","pt","draw","x","y","keys","attachment", NULL
};
1035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOidd|ii:wxPyEllipseShape_base_OnSizingDragLeft",_kwnames
,&_argo0
,&_argo1
,&tempbool2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
1038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
1040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnSizingDragLeft. Expected _wxPyEllipseShape_p.");
1045 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1046 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
1047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyEllipseShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
1051 _arg2
= (bool ) tempbool2
;
1053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1054 wxPyEllipseShape_base_OnSizingDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1056 wxPyEndAllowThreads(__tstate
);
1057 if (PyErr_Occurred()) return NULL
;
1058 } Py_INCREF(Py_None
);
1059 _resultobj
= Py_None
;
1063 #define wxPyEllipseShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1064 static PyObject
*_wrap_wxPyEllipseShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1065 PyObject
* _resultobj
;
1066 wxPyEllipseShape
* _arg0
;
1067 wxPyControlPoint
* _arg1
;
1070 int _arg4
= (int ) 0;
1071 int _arg5
= (int ) 0;
1072 PyObject
* _argo0
= 0;
1073 PyObject
* _argo1
= 0;
1074 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
1077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyEllipseShape_base_OnSizingBeginDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
1080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
1082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnSizingBeginDragLeft. Expected _wxPyEllipseShape_p.");
1087 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1088 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
1089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyEllipseShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
1094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1095 wxPyEllipseShape_base_OnSizingBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1097 wxPyEndAllowThreads(__tstate
);
1098 if (PyErr_Occurred()) return NULL
;
1099 } Py_INCREF(Py_None
);
1100 _resultobj
= Py_None
;
1104 #define wxPyEllipseShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1105 static PyObject
*_wrap_wxPyEllipseShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1106 PyObject
* _resultobj
;
1107 wxPyEllipseShape
* _arg0
;
1108 wxPyControlPoint
* _arg1
;
1111 int _arg4
= (int ) 0;
1112 int _arg5
= (int ) 0;
1113 PyObject
* _argo0
= 0;
1114 PyObject
* _argo1
= 0;
1115 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
1118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyEllipseShape_base_OnSizingEndDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
1121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
1123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnSizingEndDragLeft. Expected _wxPyEllipseShape_p.");
1128 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1129 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
1130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyEllipseShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
1135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1136 wxPyEllipseShape_base_OnSizingEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1138 wxPyEndAllowThreads(__tstate
);
1139 if (PyErr_Occurred()) return NULL
;
1140 } Py_INCREF(Py_None
);
1141 _resultobj
= Py_None
;
1145 #define wxPyEllipseShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
1146 static PyObject
*_wrap_wxPyEllipseShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1147 PyObject
* _resultobj
;
1148 wxPyEllipseShape
* _arg0
;
1151 PyObject
* _argo0
= 0;
1152 char *_kwnames
[] = { "self","w","h", NULL
};
1155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyEllipseShape_base_OnBeginSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1158 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1159 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
1160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnBeginSize. Expected _wxPyEllipseShape_p.");
1165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1166 wxPyEllipseShape_base_OnBeginSize(_arg0
,_arg1
,_arg2
);
1168 wxPyEndAllowThreads(__tstate
);
1169 if (PyErr_Occurred()) return NULL
;
1170 } Py_INCREF(Py_None
);
1171 _resultobj
= Py_None
;
1175 #define wxPyEllipseShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
1176 static PyObject
*_wrap_wxPyEllipseShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1177 PyObject
* _resultobj
;
1178 wxPyEllipseShape
* _arg0
;
1181 PyObject
* _argo0
= 0;
1182 char *_kwnames
[] = { "self","w","h", NULL
};
1185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyEllipseShape_base_OnEndSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
1190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnEndSize. Expected _wxPyEllipseShape_p.");
1195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1196 wxPyEllipseShape_base_OnEndSize(_arg0
,_arg1
,_arg2
);
1198 wxPyEndAllowThreads(__tstate
);
1199 if (PyErr_Occurred()) return NULL
;
1200 } Py_INCREF(Py_None
);
1201 _resultobj
= Py_None
;
1205 static void *SwigwxPyCircleShapeTowxPyEllipseShape(void *ptr
) {
1206 wxPyCircleShape
*src
;
1207 wxPyEllipseShape
*dest
;
1208 src
= (wxPyCircleShape
*) ptr
;
1209 dest
= (wxPyEllipseShape
*) src
;
1210 return (void *) dest
;
1213 static void *SwigwxPyCircleShapeTowxPyShape(void *ptr
) {
1214 wxPyCircleShape
*src
;
1216 src
= (wxPyCircleShape
*) ptr
;
1217 dest
= (wxPyShape
*) src
;
1218 return (void *) dest
;
1221 static void *SwigwxPyCircleShapeTowxPyShapeEvtHandler(void *ptr
) {
1222 wxPyCircleShape
*src
;
1223 wxPyShapeEvtHandler
*dest
;
1224 src
= (wxPyCircleShape
*) ptr
;
1225 dest
= (wxPyShapeEvtHandler
*) src
;
1226 return (void *) dest
;
1229 static void *SwigwxPyCircleShapeTowxObject(void *ptr
) {
1230 wxPyCircleShape
*src
;
1232 src
= (wxPyCircleShape
*) ptr
;
1233 dest
= (wxObject
*) src
;
1234 return (void *) dest
;
1237 #define new_wxPyCircleShape(_swigarg0) (new wxPyCircleShape(_swigarg0))
1238 static PyObject
*_wrap_new_wxPyCircleShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1239 PyObject
* _resultobj
;
1240 wxPyCircleShape
* _result
;
1241 double _arg0
= (double ) 0.0;
1242 char *_kwnames
[] = { "width", NULL
};
1246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|d:new_wxPyCircleShape",_kwnames
,&_arg0
))
1249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1250 _result
= (wxPyCircleShape
*)new_wxPyCircleShape(_arg0
);
1252 wxPyEndAllowThreads(__tstate
);
1253 if (PyErr_Occurred()) return NULL
;
1255 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyCircleShape_p");
1256 _resultobj
= Py_BuildValue("s",_ptemp
);
1259 _resultobj
= Py_None
;
1264 #define wxPyCircleShape__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
1265 static PyObject
*_wrap_wxPyCircleShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1266 PyObject
* _resultobj
;
1267 wxPyCircleShape
* _arg0
;
1270 PyObject
* _argo0
= 0;
1271 PyObject
* _obj1
= 0;
1272 PyObject
* _obj2
= 0;
1273 char *_kwnames
[] = { "self","self","_class", NULL
};
1276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyCircleShape__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1279 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1280 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
1281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape__setCallbackInfo. Expected _wxPyCircleShape_p.");
1292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1293 wxPyCircleShape__setCallbackInfo(_arg0
,_arg1
,_arg2
);
1295 wxPyEndAllowThreads(__tstate
);
1296 if (PyErr_Occurred()) return NULL
;
1297 } Py_INCREF(Py_None
);
1298 _resultobj
= Py_None
;
1302 #define wxPyCircleShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
1303 static PyObject
*_wrap_wxPyCircleShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1304 PyObject
* _resultobj
;
1305 wxPyCircleShape
* _arg0
;
1307 PyObject
* _argo0
= 0;
1308 PyObject
* _argo1
= 0;
1309 char *_kwnames
[] = { "self","dc", NULL
};
1312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyCircleShape_base_OnDraw",_kwnames
,&_argo0
,&_argo1
))
1315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
1317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnDraw. Expected _wxPyCircleShape_p.");
1322 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1323 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyCircleShape_base_OnDraw. Expected _wxDC_p.");
1329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1330 wxPyCircleShape_base_OnDraw(_arg0
,*_arg1
);
1332 wxPyEndAllowThreads(__tstate
);
1333 if (PyErr_Occurred()) return NULL
;
1334 } Py_INCREF(Py_None
);
1335 _resultobj
= Py_None
;
1339 #define wxPyCircleShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
1340 static PyObject
*_wrap_wxPyCircleShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1341 PyObject
* _resultobj
;
1342 wxPyCircleShape
* _arg0
;
1344 PyObject
* _argo0
= 0;
1345 PyObject
* _argo1
= 0;
1346 char *_kwnames
[] = { "self","dc", NULL
};
1349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyCircleShape_base_OnDrawContents",_kwnames
,&_argo0
,&_argo1
))
1352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
1354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnDrawContents. Expected _wxPyCircleShape_p.");
1359 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1360 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyCircleShape_base_OnDrawContents. Expected _wxDC_p.");
1366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1367 wxPyCircleShape_base_OnDrawContents(_arg0
,*_arg1
);
1369 wxPyEndAllowThreads(__tstate
);
1370 if (PyErr_Occurred()) return NULL
;
1371 } Py_INCREF(Py_None
);
1372 _resultobj
= Py_None
;
1376 #define wxPyCircleShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
1377 static PyObject
*_wrap_wxPyCircleShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1378 PyObject
* _resultobj
;
1379 wxPyCircleShape
* _arg0
;
1381 bool _arg2
= (bool ) FALSE
;
1382 PyObject
* _argo0
= 0;
1383 PyObject
* _argo1
= 0;
1384 int tempbool2
= (int) FALSE
;
1385 char *_kwnames
[] = { "self","dc","erase", NULL
};
1388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyCircleShape_base_OnDrawBranches",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
1393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnDrawBranches. Expected _wxPyCircleShape_p.");
1398 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1399 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyCircleShape_base_OnDrawBranches. Expected _wxDC_p.");
1404 _arg2
= (bool ) tempbool2
;
1406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1407 wxPyCircleShape_base_OnDrawBranches(_arg0
,*_arg1
,_arg2
);
1409 wxPyEndAllowThreads(__tstate
);
1410 if (PyErr_Occurred()) return NULL
;
1411 } Py_INCREF(Py_None
);
1412 _resultobj
= Py_None
;
1416 #define wxPyCircleShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
1417 static PyObject
*_wrap_wxPyCircleShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1418 PyObject
* _resultobj
;
1419 wxPyCircleShape
* _arg0
;
1421 PyObject
* _argo0
= 0;
1422 PyObject
* _argo1
= 0;
1423 char *_kwnames
[] = { "self","dc", NULL
};
1426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyCircleShape_base_OnMoveLinks",_kwnames
,&_argo0
,&_argo1
))
1429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
1431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnMoveLinks. Expected _wxPyCircleShape_p.");
1436 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1437 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyCircleShape_base_OnMoveLinks. Expected _wxDC_p.");
1443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1444 wxPyCircleShape_base_OnMoveLinks(_arg0
,*_arg1
);
1446 wxPyEndAllowThreads(__tstate
);
1447 if (PyErr_Occurred()) return NULL
;
1448 } Py_INCREF(Py_None
);
1449 _resultobj
= Py_None
;
1453 #define wxPyCircleShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
1454 static PyObject
*_wrap_wxPyCircleShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1455 PyObject
* _resultobj
;
1456 wxPyCircleShape
* _arg0
;
1458 PyObject
* _argo0
= 0;
1459 PyObject
* _argo1
= 0;
1460 char *_kwnames
[] = { "self","dc", NULL
};
1463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyCircleShape_base_OnErase",_kwnames
,&_argo0
,&_argo1
))
1466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
1468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnErase. Expected _wxPyCircleShape_p.");
1473 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1474 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyCircleShape_base_OnErase. Expected _wxDC_p.");
1480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1481 wxPyCircleShape_base_OnErase(_arg0
,*_arg1
);
1483 wxPyEndAllowThreads(__tstate
);
1484 if (PyErr_Occurred()) return NULL
;
1485 } Py_INCREF(Py_None
);
1486 _resultobj
= Py_None
;
1490 #define wxPyCircleShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
1491 static PyObject
*_wrap_wxPyCircleShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1492 PyObject
* _resultobj
;
1493 wxPyCircleShape
* _arg0
;
1495 PyObject
* _argo0
= 0;
1496 PyObject
* _argo1
= 0;
1497 char *_kwnames
[] = { "self","dc", NULL
};
1500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyCircleShape_base_OnEraseContents",_kwnames
,&_argo0
,&_argo1
))
1503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
1505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnEraseContents. Expected _wxPyCircleShape_p.");
1510 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1511 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyCircleShape_base_OnEraseContents. Expected _wxDC_p.");
1517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1518 wxPyCircleShape_base_OnEraseContents(_arg0
,*_arg1
);
1520 wxPyEndAllowThreads(__tstate
);
1521 if (PyErr_Occurred()) return NULL
;
1522 } Py_INCREF(Py_None
);
1523 _resultobj
= Py_None
;
1527 #define wxPyCircleShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
1528 static PyObject
*_wrap_wxPyCircleShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1529 PyObject
* _resultobj
;
1530 wxPyCircleShape
* _arg0
;
1532 PyObject
* _argo0
= 0;
1533 PyObject
* _argo1
= 0;
1534 char *_kwnames
[] = { "self","dc", NULL
};
1537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyCircleShape_base_OnHighlight",_kwnames
,&_argo0
,&_argo1
))
1540 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1541 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
1542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnHighlight. Expected _wxPyCircleShape_p.");
1547 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1548 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyCircleShape_base_OnHighlight. Expected _wxDC_p.");
1554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1555 wxPyCircleShape_base_OnHighlight(_arg0
,*_arg1
);
1557 wxPyEndAllowThreads(__tstate
);
1558 if (PyErr_Occurred()) return NULL
;
1559 } Py_INCREF(Py_None
);
1560 _resultobj
= Py_None
;
1564 #define wxPyCircleShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1565 static PyObject
*_wrap_wxPyCircleShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1566 PyObject
* _resultobj
;
1567 wxPyCircleShape
* _arg0
;
1570 int _arg3
= (int ) 0;
1571 int _arg4
= (int ) 0;
1572 PyObject
* _argo0
= 0;
1573 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
1576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyCircleShape_base_OnLeftClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1579 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1580 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
1581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnLeftClick. Expected _wxPyCircleShape_p.");
1586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1587 wxPyCircleShape_base_OnLeftClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1589 wxPyEndAllowThreads(__tstate
);
1590 if (PyErr_Occurred()) return NULL
;
1591 } Py_INCREF(Py_None
);
1592 _resultobj
= Py_None
;
1596 #define wxPyCircleShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1597 static PyObject
*_wrap_wxPyCircleShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1598 PyObject
* _resultobj
;
1599 wxPyCircleShape
* _arg0
;
1602 int _arg3
= (int ) 0;
1603 int _arg4
= (int ) 0;
1604 PyObject
* _argo0
= 0;
1605 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
1608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyCircleShape_base_OnLeftDoubleClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
1613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnLeftDoubleClick. Expected _wxPyCircleShape_p.");
1618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1619 wxPyCircleShape_base_OnLeftDoubleClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1621 wxPyEndAllowThreads(__tstate
);
1622 if (PyErr_Occurred()) return NULL
;
1623 } Py_INCREF(Py_None
);
1624 _resultobj
= Py_None
;
1628 #define wxPyCircleShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1629 static PyObject
*_wrap_wxPyCircleShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1630 PyObject
* _resultobj
;
1631 wxPyCircleShape
* _arg0
;
1634 int _arg3
= (int ) 0;
1635 int _arg4
= (int ) 0;
1636 PyObject
* _argo0
= 0;
1637 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
1640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyCircleShape_base_OnRightClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
1645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnRightClick. Expected _wxPyCircleShape_p.");
1650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1651 wxPyCircleShape_base_OnRightClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1653 wxPyEndAllowThreads(__tstate
);
1654 if (PyErr_Occurred()) return NULL
;
1655 } Py_INCREF(Py_None
);
1656 _resultobj
= Py_None
;
1660 #define wxPyCircleShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
1661 static PyObject
*_wrap_wxPyCircleShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1662 PyObject
* _resultobj
;
1663 wxPyCircleShape
* _arg0
;
1666 PyObject
* _argo0
= 0;
1667 char *_kwnames
[] = { "self","x","y", NULL
};
1670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyCircleShape_base_OnSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1673 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1674 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
1675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnSize. Expected _wxPyCircleShape_p.");
1680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1681 wxPyCircleShape_base_OnSize(_arg0
,_arg1
,_arg2
);
1683 wxPyEndAllowThreads(__tstate
);
1684 if (PyErr_Occurred()) return NULL
;
1685 } Py_INCREF(Py_None
);
1686 _resultobj
= Py_None
;
1690 #define wxPyCircleShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1691 static PyObject
*_wrap_wxPyCircleShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1692 PyObject
* _resultobj
;
1694 wxPyCircleShape
* _arg0
;
1700 bool _arg6
= (bool ) TRUE
;
1701 PyObject
* _argo0
= 0;
1702 PyObject
* _argo1
= 0;
1703 int tempbool6
= (int) TRUE
;
1704 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
1707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyCircleShape_base_OnMovePre",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
1710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
1712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnMovePre. Expected _wxPyCircleShape_p.");
1717 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1718 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyCircleShape_base_OnMovePre. Expected _wxDC_p.");
1723 _arg6
= (bool ) tempbool6
;
1725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1726 _result
= (bool )wxPyCircleShape_base_OnMovePre(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1728 wxPyEndAllowThreads(__tstate
);
1729 if (PyErr_Occurred()) return NULL
;
1730 } _resultobj
= Py_BuildValue("i",_result
);
1734 #define wxPyCircleShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1735 static PyObject
*_wrap_wxPyCircleShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1736 PyObject
* _resultobj
;
1737 wxPyCircleShape
* _arg0
;
1743 bool _arg6
= (bool ) TRUE
;
1744 PyObject
* _argo0
= 0;
1745 PyObject
* _argo1
= 0;
1746 int tempbool6
= (int) TRUE
;
1747 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
1750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyCircleShape_base_OnMovePost",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
1753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
1755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnMovePost. Expected _wxPyCircleShape_p.");
1760 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1761 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyCircleShape_base_OnMovePost. Expected _wxDC_p.");
1766 _arg6
= (bool ) tempbool6
;
1768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1769 wxPyCircleShape_base_OnMovePost(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1771 wxPyEndAllowThreads(__tstate
);
1772 if (PyErr_Occurred()) return NULL
;
1773 } Py_INCREF(Py_None
);
1774 _resultobj
= Py_None
;
1778 #define wxPyCircleShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1779 static PyObject
*_wrap_wxPyCircleShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1780 PyObject
* _resultobj
;
1781 wxPyCircleShape
* _arg0
;
1785 int _arg4
= (int ) 0;
1786 int _arg5
= (int ) 0;
1787 PyObject
* _argo0
= 0;
1789 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
1792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyCircleShape_base_OnDragLeft",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
1795 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1796 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
1797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnDragLeft. Expected _wxPyCircleShape_p.");
1801 _arg1
= (bool ) tempbool1
;
1803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1804 wxPyCircleShape_base_OnDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1806 wxPyEndAllowThreads(__tstate
);
1807 if (PyErr_Occurred()) return NULL
;
1808 } Py_INCREF(Py_None
);
1809 _resultobj
= Py_None
;
1813 #define wxPyCircleShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1814 static PyObject
*_wrap_wxPyCircleShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1815 PyObject
* _resultobj
;
1816 wxPyCircleShape
* _arg0
;
1819 int _arg3
= (int ) 0;
1820 int _arg4
= (int ) 0;
1821 PyObject
* _argo0
= 0;
1822 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
1825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyCircleShape_base_OnBeginDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1828 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1829 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
1830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnBeginDragLeft. Expected _wxPyCircleShape_p.");
1835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1836 wxPyCircleShape_base_OnBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1838 wxPyEndAllowThreads(__tstate
);
1839 if (PyErr_Occurred()) return NULL
;
1840 } Py_INCREF(Py_None
);
1841 _resultobj
= Py_None
;
1845 #define wxPyCircleShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1846 static PyObject
*_wrap_wxPyCircleShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1847 PyObject
* _resultobj
;
1848 wxPyCircleShape
* _arg0
;
1851 int _arg3
= (int ) 0;
1852 int _arg4
= (int ) 0;
1853 PyObject
* _argo0
= 0;
1854 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
1857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyCircleShape_base_OnEndDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1860 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1861 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
1862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnEndDragLeft. Expected _wxPyCircleShape_p.");
1867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1868 wxPyCircleShape_base_OnEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1870 wxPyEndAllowThreads(__tstate
);
1871 if (PyErr_Occurred()) return NULL
;
1872 } Py_INCREF(Py_None
);
1873 _resultobj
= Py_None
;
1877 #define wxPyCircleShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1878 static PyObject
*_wrap_wxPyCircleShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1879 PyObject
* _resultobj
;
1880 wxPyCircleShape
* _arg0
;
1884 int _arg4
= (int ) 0;
1885 int _arg5
= (int ) 0;
1886 PyObject
* _argo0
= 0;
1888 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
1891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyCircleShape_base_OnDragRight",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
1894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
1896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnDragRight. Expected _wxPyCircleShape_p.");
1900 _arg1
= (bool ) tempbool1
;
1902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1903 wxPyCircleShape_base_OnDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1905 wxPyEndAllowThreads(__tstate
);
1906 if (PyErr_Occurred()) return NULL
;
1907 } Py_INCREF(Py_None
);
1908 _resultobj
= Py_None
;
1912 #define wxPyCircleShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1913 static PyObject
*_wrap_wxPyCircleShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1914 PyObject
* _resultobj
;
1915 wxPyCircleShape
* _arg0
;
1918 int _arg3
= (int ) 0;
1919 int _arg4
= (int ) 0;
1920 PyObject
* _argo0
= 0;
1921 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
1924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyCircleShape_base_OnBeginDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1927 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1928 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
1929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnBeginDragRight. Expected _wxPyCircleShape_p.");
1934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1935 wxPyCircleShape_base_OnBeginDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1937 wxPyEndAllowThreads(__tstate
);
1938 if (PyErr_Occurred()) return NULL
;
1939 } Py_INCREF(Py_None
);
1940 _resultobj
= Py_None
;
1944 #define wxPyCircleShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1945 static PyObject
*_wrap_wxPyCircleShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1946 PyObject
* _resultobj
;
1947 wxPyCircleShape
* _arg0
;
1950 int _arg3
= (int ) 0;
1951 int _arg4
= (int ) 0;
1952 PyObject
* _argo0
= 0;
1953 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
1956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyCircleShape_base_OnEndDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
1961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnEndDragRight. Expected _wxPyCircleShape_p.");
1966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1967 wxPyCircleShape_base_OnEndDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1969 wxPyEndAllowThreads(__tstate
);
1970 if (PyErr_Occurred()) return NULL
;
1971 } Py_INCREF(Py_None
);
1972 _resultobj
= Py_None
;
1976 #define wxPyCircleShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1977 static PyObject
*_wrap_wxPyCircleShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1978 PyObject
* _resultobj
;
1979 wxPyCircleShape
* _arg0
;
1985 PyObject
* _argo0
= 0;
1986 PyObject
* _argo1
= 0;
1987 char *_kwnames
[] = { "self","dc","x","y","w","h", NULL
};
1990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd:wxPyCircleShape_base_OnDrawOutline",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
1993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
1995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnDrawOutline. Expected _wxPyCircleShape_p.");
2000 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2001 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyCircleShape_base_OnDrawOutline. Expected _wxDC_p.");
2007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2008 wxPyCircleShape_base_OnDrawOutline(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2010 wxPyEndAllowThreads(__tstate
);
2011 if (PyErr_Occurred()) return NULL
;
2012 } Py_INCREF(Py_None
);
2013 _resultobj
= Py_None
;
2017 #define wxPyCircleShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
2018 static PyObject
*_wrap_wxPyCircleShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2019 PyObject
* _resultobj
;
2020 wxPyCircleShape
* _arg0
;
2022 PyObject
* _argo0
= 0;
2023 PyObject
* _argo1
= 0;
2024 char *_kwnames
[] = { "self","dc", NULL
};
2027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyCircleShape_base_OnDrawControlPoints",_kwnames
,&_argo0
,&_argo1
))
2030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
2032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnDrawControlPoints. Expected _wxPyCircleShape_p.");
2037 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2038 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyCircleShape_base_OnDrawControlPoints. Expected _wxDC_p.");
2044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2045 wxPyCircleShape_base_OnDrawControlPoints(_arg0
,*_arg1
);
2047 wxPyEndAllowThreads(__tstate
);
2048 if (PyErr_Occurred()) return NULL
;
2049 } Py_INCREF(Py_None
);
2050 _resultobj
= Py_None
;
2054 #define wxPyCircleShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
2055 static PyObject
*_wrap_wxPyCircleShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2056 PyObject
* _resultobj
;
2057 wxPyCircleShape
* _arg0
;
2059 PyObject
* _argo0
= 0;
2060 PyObject
* _argo1
= 0;
2061 char *_kwnames
[] = { "self","dc", NULL
};
2064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyCircleShape_base_OnEraseControlPoints",_kwnames
,&_argo0
,&_argo1
))
2067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
2069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnEraseControlPoints. Expected _wxPyCircleShape_p.");
2074 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2075 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyCircleShape_base_OnEraseControlPoints. Expected _wxDC_p.");
2081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2082 wxPyCircleShape_base_OnEraseControlPoints(_arg0
,*_arg1
);
2084 wxPyEndAllowThreads(__tstate
);
2085 if (PyErr_Occurred()) return NULL
;
2086 } Py_INCREF(Py_None
);
2087 _resultobj
= Py_None
;
2091 #define wxPyCircleShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
2092 static PyObject
*_wrap_wxPyCircleShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2093 PyObject
* _resultobj
;
2094 wxPyCircleShape
* _arg0
;
2096 bool _arg2
= (bool ) TRUE
;
2097 PyObject
* _argo0
= 0;
2098 PyObject
* _argo1
= 0;
2099 int tempbool2
= (int) TRUE
;
2100 char *_kwnames
[] = { "self","dc","moveControlPoints", NULL
};
2103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyCircleShape_base_OnMoveLink",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
2106 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2107 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
2108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnMoveLink. Expected _wxPyCircleShape_p.");
2113 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2114 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyCircleShape_base_OnMoveLink. Expected _wxDC_p.");
2119 _arg2
= (bool ) tempbool2
;
2121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2122 wxPyCircleShape_base_OnMoveLink(_arg0
,*_arg1
,_arg2
);
2124 wxPyEndAllowThreads(__tstate
);
2125 if (PyErr_Occurred()) return NULL
;
2126 } Py_INCREF(Py_None
);
2127 _resultobj
= Py_None
;
2131 #define wxPyCircleShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2132 static PyObject
*_wrap_wxPyCircleShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2133 PyObject
* _resultobj
;
2134 wxPyCircleShape
* _arg0
;
2135 wxPyControlPoint
* _arg1
;
2139 int _arg5
= (int ) 0;
2140 int _arg6
= (int ) 0;
2141 PyObject
* _argo0
= 0;
2142 PyObject
* _argo1
= 0;
2144 char *_kwnames
[] = { "self","pt","draw","x","y","keys","attachment", NULL
};
2147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOidd|ii:wxPyCircleShape_base_OnSizingDragLeft",_kwnames
,&_argo0
,&_argo1
,&tempbool2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
2150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
2152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnSizingDragLeft. Expected _wxPyCircleShape_p.");
2157 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2158 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
2159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyCircleShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
2163 _arg2
= (bool ) tempbool2
;
2165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2166 wxPyCircleShape_base_OnSizingDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2168 wxPyEndAllowThreads(__tstate
);
2169 if (PyErr_Occurred()) return NULL
;
2170 } Py_INCREF(Py_None
);
2171 _resultobj
= Py_None
;
2175 #define wxPyCircleShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2176 static PyObject
*_wrap_wxPyCircleShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2177 PyObject
* _resultobj
;
2178 wxPyCircleShape
* _arg0
;
2179 wxPyControlPoint
* _arg1
;
2182 int _arg4
= (int ) 0;
2183 int _arg5
= (int ) 0;
2184 PyObject
* _argo0
= 0;
2185 PyObject
* _argo1
= 0;
2186 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
2189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyCircleShape_base_OnSizingBeginDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
2194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnSizingBeginDragLeft. Expected _wxPyCircleShape_p.");
2199 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2200 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
2201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyCircleShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
2206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2207 wxPyCircleShape_base_OnSizingBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2209 wxPyEndAllowThreads(__tstate
);
2210 if (PyErr_Occurred()) return NULL
;
2211 } Py_INCREF(Py_None
);
2212 _resultobj
= Py_None
;
2216 #define wxPyCircleShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2217 static PyObject
*_wrap_wxPyCircleShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2218 PyObject
* _resultobj
;
2219 wxPyCircleShape
* _arg0
;
2220 wxPyControlPoint
* _arg1
;
2223 int _arg4
= (int ) 0;
2224 int _arg5
= (int ) 0;
2225 PyObject
* _argo0
= 0;
2226 PyObject
* _argo1
= 0;
2227 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
2230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyCircleShape_base_OnSizingEndDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
2235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnSizingEndDragLeft. Expected _wxPyCircleShape_p.");
2240 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2241 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
2242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyCircleShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
2247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2248 wxPyCircleShape_base_OnSizingEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2250 wxPyEndAllowThreads(__tstate
);
2251 if (PyErr_Occurred()) return NULL
;
2252 } Py_INCREF(Py_None
);
2253 _resultobj
= Py_None
;
2257 #define wxPyCircleShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
2258 static PyObject
*_wrap_wxPyCircleShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2259 PyObject
* _resultobj
;
2260 wxPyCircleShape
* _arg0
;
2263 PyObject
* _argo0
= 0;
2264 char *_kwnames
[] = { "self","w","h", NULL
};
2267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyCircleShape_base_OnBeginSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
2272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnBeginSize. Expected _wxPyCircleShape_p.");
2277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2278 wxPyCircleShape_base_OnBeginSize(_arg0
,_arg1
,_arg2
);
2280 wxPyEndAllowThreads(__tstate
);
2281 if (PyErr_Occurred()) return NULL
;
2282 } Py_INCREF(Py_None
);
2283 _resultobj
= Py_None
;
2287 #define wxPyCircleShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
2288 static PyObject
*_wrap_wxPyCircleShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2289 PyObject
* _resultobj
;
2290 wxPyCircleShape
* _arg0
;
2293 PyObject
* _argo0
= 0;
2294 char *_kwnames
[] = { "self","w","h", NULL
};
2297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyCircleShape_base_OnEndSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2300 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2301 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
2302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnEndSize. Expected _wxPyCircleShape_p.");
2307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2308 wxPyCircleShape_base_OnEndSize(_arg0
,_arg1
,_arg2
);
2310 wxPyEndAllowThreads(__tstate
);
2311 if (PyErr_Occurred()) return NULL
;
2312 } Py_INCREF(Py_None
);
2313 _resultobj
= Py_None
;
2317 static void *SwigwxArrowHeadTowxObject(void *ptr
) {
2320 src
= (wxArrowHead
*) ptr
;
2321 dest
= (wxObject
*) src
;
2322 return (void *) dest
;
2325 #define new_wxArrowHead(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxArrowHead(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2326 static PyObject
*_wrap_new_wxArrowHead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2327 PyObject
* _resultobj
;
2328 wxArrowHead
* _result
;
2329 int _arg0
= (int ) 0;
2330 int _arg1
= (int ) 0;
2331 double _arg2
= (double ) 0.0;
2332 double _arg3
= (double ) 0.0;
2333 char * _arg4
= (char *) "";
2334 wxPseudoMetaFile
* _arg5
= (wxPseudoMetaFile
*) NULL
;
2335 long _arg6
= (long ) -1;
2336 PyObject
* _argo5
= 0;
2337 char *_kwnames
[] = { "type","end","size","dist","name","mf","arrowId", NULL
};
2341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiddsOl:new_wxArrowHead",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_argo5
,&_arg6
))
2344 if (_argo5
== Py_None
) { _arg5
= NULL
; }
2345 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPseudoMetaFile_p")) {
2346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxArrowHead. Expected _wxPseudoMetaFile_p.");
2351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2352 _result
= (wxArrowHead
*)new_wxArrowHead(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2354 wxPyEndAllowThreads(__tstate
);
2355 if (PyErr_Occurred()) return NULL
;
2357 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxArrowHead_p");
2358 _resultobj
= Py_BuildValue("s",_ptemp
);
2361 _resultobj
= Py_None
;
2366 #define delete_wxArrowHead(_swigobj) (delete _swigobj)
2367 static PyObject
*_wrap_delete_wxArrowHead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2368 PyObject
* _resultobj
;
2369 wxArrowHead
* _arg0
;
2370 PyObject
* _argo0
= 0;
2371 char *_kwnames
[] = { "self", NULL
};
2374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxArrowHead",_kwnames
,&_argo0
))
2377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxArrowHead_p")) {
2379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxArrowHead. Expected _wxArrowHead_p.");
2384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2385 delete_wxArrowHead(_arg0
);
2387 wxPyEndAllowThreads(__tstate
);
2388 if (PyErr_Occurred()) return NULL
;
2389 } Py_INCREF(Py_None
);
2390 _resultobj
= Py_None
;
2394 #define wxArrowHead__GetType(_swigobj) (_swigobj->_GetType())
2395 static PyObject
*_wrap_wxArrowHead__GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2396 PyObject
* _resultobj
;
2398 wxArrowHead
* _arg0
;
2399 PyObject
* _argo0
= 0;
2400 char *_kwnames
[] = { "self", NULL
};
2403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxArrowHead__GetType",_kwnames
,&_argo0
))
2406 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2407 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxArrowHead_p")) {
2408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArrowHead__GetType. Expected _wxArrowHead_p.");
2413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2414 _result
= (int )wxArrowHead__GetType(_arg0
);
2416 wxPyEndAllowThreads(__tstate
);
2417 if (PyErr_Occurred()) return NULL
;
2418 } _resultobj
= Py_BuildValue("i",_result
);
2422 #define wxArrowHead_GetPosition(_swigobj) (_swigobj->GetPosition())
2423 static PyObject
*_wrap_wxArrowHead_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2424 PyObject
* _resultobj
;
2426 wxArrowHead
* _arg0
;
2427 PyObject
* _argo0
= 0;
2428 char *_kwnames
[] = { "self", NULL
};
2431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxArrowHead_GetPosition",_kwnames
,&_argo0
))
2434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxArrowHead_p")) {
2436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArrowHead_GetPosition. Expected _wxArrowHead_p.");
2441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2442 _result
= (int )wxArrowHead_GetPosition(_arg0
);
2444 wxPyEndAllowThreads(__tstate
);
2445 if (PyErr_Occurred()) return NULL
;
2446 } _resultobj
= Py_BuildValue("i",_result
);
2450 #define wxArrowHead_SetPosition(_swigobj,_swigarg0) (_swigobj->SetPosition(_swigarg0))
2451 static PyObject
*_wrap_wxArrowHead_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2452 PyObject
* _resultobj
;
2453 wxArrowHead
* _arg0
;
2455 PyObject
* _argo0
= 0;
2456 char *_kwnames
[] = { "self","pos", NULL
};
2459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxArrowHead_SetPosition",_kwnames
,&_argo0
,&_arg1
))
2462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxArrowHead_p")) {
2464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArrowHead_SetPosition. Expected _wxArrowHead_p.");
2469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2470 wxArrowHead_SetPosition(_arg0
,_arg1
);
2472 wxPyEndAllowThreads(__tstate
);
2473 if (PyErr_Occurred()) return NULL
;
2474 } Py_INCREF(Py_None
);
2475 _resultobj
= Py_None
;
2479 #define wxArrowHead_GetXOffset(_swigobj) (_swigobj->GetXOffset())
2480 static PyObject
*_wrap_wxArrowHead_GetXOffset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2481 PyObject
* _resultobj
;
2483 wxArrowHead
* _arg0
;
2484 PyObject
* _argo0
= 0;
2485 char *_kwnames
[] = { "self", NULL
};
2488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxArrowHead_GetXOffset",_kwnames
,&_argo0
))
2491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxArrowHead_p")) {
2493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArrowHead_GetXOffset. Expected _wxArrowHead_p.");
2498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2499 _result
= (double )wxArrowHead_GetXOffset(_arg0
);
2501 wxPyEndAllowThreads(__tstate
);
2502 if (PyErr_Occurred()) return NULL
;
2503 } _resultobj
= Py_BuildValue("d",_result
);
2507 #define wxArrowHead_GetYOffset(_swigobj) (_swigobj->GetYOffset())
2508 static PyObject
*_wrap_wxArrowHead_GetYOffset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2509 PyObject
* _resultobj
;
2511 wxArrowHead
* _arg0
;
2512 PyObject
* _argo0
= 0;
2513 char *_kwnames
[] = { "self", NULL
};
2516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxArrowHead_GetYOffset",_kwnames
,&_argo0
))
2519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxArrowHead_p")) {
2521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArrowHead_GetYOffset. Expected _wxArrowHead_p.");
2526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2527 _result
= (double )wxArrowHead_GetYOffset(_arg0
);
2529 wxPyEndAllowThreads(__tstate
);
2530 if (PyErr_Occurred()) return NULL
;
2531 } _resultobj
= Py_BuildValue("d",_result
);
2535 #define wxArrowHead_GetSpacing(_swigobj) (_swigobj->GetSpacing())
2536 static PyObject
*_wrap_wxArrowHead_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2537 PyObject
* _resultobj
;
2539 wxArrowHead
* _arg0
;
2540 PyObject
* _argo0
= 0;
2541 char *_kwnames
[] = { "self", NULL
};
2544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxArrowHead_GetSpacing",_kwnames
,&_argo0
))
2547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxArrowHead_p")) {
2549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArrowHead_GetSpacing. Expected _wxArrowHead_p.");
2554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2555 _result
= (double )wxArrowHead_GetSpacing(_arg0
);
2557 wxPyEndAllowThreads(__tstate
);
2558 if (PyErr_Occurred()) return NULL
;
2559 } _resultobj
= Py_BuildValue("d",_result
);
2563 #define wxArrowHead_GetSize(_swigobj) (_swigobj->GetSize())
2564 static PyObject
*_wrap_wxArrowHead_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2565 PyObject
* _resultobj
;
2567 wxArrowHead
* _arg0
;
2568 PyObject
* _argo0
= 0;
2569 char *_kwnames
[] = { "self", NULL
};
2572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxArrowHead_GetSize",_kwnames
,&_argo0
))
2575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxArrowHead_p")) {
2577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArrowHead_GetSize. Expected _wxArrowHead_p.");
2582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2583 _result
= (double )wxArrowHead_GetSize(_arg0
);
2585 wxPyEndAllowThreads(__tstate
);
2586 if (PyErr_Occurred()) return NULL
;
2587 } _resultobj
= Py_BuildValue("d",_result
);
2591 #define wxArrowHead_GetName(_swigobj) (_swigobj->GetName())
2592 static PyObject
*_wrap_wxArrowHead_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2593 PyObject
* _resultobj
;
2595 wxArrowHead
* _arg0
;
2596 PyObject
* _argo0
= 0;
2597 char *_kwnames
[] = { "self", NULL
};
2600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxArrowHead_GetName",_kwnames
,&_argo0
))
2603 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2604 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxArrowHead_p")) {
2605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArrowHead_GetName. Expected _wxArrowHead_p.");
2610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2611 _result
= new wxString (wxArrowHead_GetName(_arg0
));
2613 wxPyEndAllowThreads(__tstate
);
2614 if (PyErr_Occurred()) return NULL
;
2617 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2619 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2628 #define wxArrowHead_SetXOffset(_swigobj,_swigarg0) (_swigobj->SetXOffset(_swigarg0))
2629 static PyObject
*_wrap_wxArrowHead_SetXOffset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2630 PyObject
* _resultobj
;
2631 wxArrowHead
* _arg0
;
2633 PyObject
* _argo0
= 0;
2634 char *_kwnames
[] = { "self","x", NULL
};
2637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxArrowHead_SetXOffset",_kwnames
,&_argo0
,&_arg1
))
2640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxArrowHead_p")) {
2642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArrowHead_SetXOffset. Expected _wxArrowHead_p.");
2647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2648 wxArrowHead_SetXOffset(_arg0
,_arg1
);
2650 wxPyEndAllowThreads(__tstate
);
2651 if (PyErr_Occurred()) return NULL
;
2652 } Py_INCREF(Py_None
);
2653 _resultobj
= Py_None
;
2657 #define wxArrowHead_SetYOffset(_swigobj,_swigarg0) (_swigobj->SetYOffset(_swigarg0))
2658 static PyObject
*_wrap_wxArrowHead_SetYOffset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2659 PyObject
* _resultobj
;
2660 wxArrowHead
* _arg0
;
2662 PyObject
* _argo0
= 0;
2663 char *_kwnames
[] = { "self","y", NULL
};
2666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxArrowHead_SetYOffset",_kwnames
,&_argo0
,&_arg1
))
2669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxArrowHead_p")) {
2671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArrowHead_SetYOffset. Expected _wxArrowHead_p.");
2676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2677 wxArrowHead_SetYOffset(_arg0
,_arg1
);
2679 wxPyEndAllowThreads(__tstate
);
2680 if (PyErr_Occurred()) return NULL
;
2681 } Py_INCREF(Py_None
);
2682 _resultobj
= Py_None
;
2686 #define wxArrowHead_GetMetaFile(_swigobj) (_swigobj->GetMetaFile())
2687 static PyObject
*_wrap_wxArrowHead_GetMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2688 PyObject
* _resultobj
;
2689 wxPseudoMetaFile
* _result
;
2690 wxArrowHead
* _arg0
;
2691 PyObject
* _argo0
= 0;
2692 char *_kwnames
[] = { "self", NULL
};
2695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxArrowHead_GetMetaFile",_kwnames
,&_argo0
))
2698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxArrowHead_p")) {
2700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArrowHead_GetMetaFile. Expected _wxArrowHead_p.");
2705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2706 _result
= (wxPseudoMetaFile
*)wxArrowHead_GetMetaFile(_arg0
);
2708 wxPyEndAllowThreads(__tstate
);
2709 if (PyErr_Occurred()) return NULL
;
2710 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2714 #define wxArrowHead_GetId(_swigobj) (_swigobj->GetId())
2715 static PyObject
*_wrap_wxArrowHead_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2716 PyObject
* _resultobj
;
2718 wxArrowHead
* _arg0
;
2719 PyObject
* _argo0
= 0;
2720 char *_kwnames
[] = { "self", NULL
};
2723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxArrowHead_GetId",_kwnames
,&_argo0
))
2726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxArrowHead_p")) {
2728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArrowHead_GetId. Expected _wxArrowHead_p.");
2733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2734 _result
= (long )wxArrowHead_GetId(_arg0
);
2736 wxPyEndAllowThreads(__tstate
);
2737 if (PyErr_Occurred()) return NULL
;
2738 } _resultobj
= Py_BuildValue("l",_result
);
2742 #define wxArrowHead_GetArrowEnd(_swigobj) (_swigobj->GetArrowEnd())
2743 static PyObject
*_wrap_wxArrowHead_GetArrowEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2744 PyObject
* _resultobj
;
2746 wxArrowHead
* _arg0
;
2747 PyObject
* _argo0
= 0;
2748 char *_kwnames
[] = { "self", NULL
};
2751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxArrowHead_GetArrowEnd",_kwnames
,&_argo0
))
2754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxArrowHead_p")) {
2756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArrowHead_GetArrowEnd. Expected _wxArrowHead_p.");
2761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2762 _result
= (int )wxArrowHead_GetArrowEnd(_arg0
);
2764 wxPyEndAllowThreads(__tstate
);
2765 if (PyErr_Occurred()) return NULL
;
2766 } _resultobj
= Py_BuildValue("i",_result
);
2770 #define wxArrowHead_GetArrowSize(_swigobj) (_swigobj->GetArrowSize())
2771 static PyObject
*_wrap_wxArrowHead_GetArrowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2772 PyObject
* _resultobj
;
2774 wxArrowHead
* _arg0
;
2775 PyObject
* _argo0
= 0;
2776 char *_kwnames
[] = { "self", NULL
};
2779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxArrowHead_GetArrowSize",_kwnames
,&_argo0
))
2782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxArrowHead_p")) {
2784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArrowHead_GetArrowSize. Expected _wxArrowHead_p.");
2789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2790 _result
= (double )wxArrowHead_GetArrowSize(_arg0
);
2792 wxPyEndAllowThreads(__tstate
);
2793 if (PyErr_Occurred()) return NULL
;
2794 } _resultobj
= Py_BuildValue("d",_result
);
2798 #define wxArrowHead_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2799 static PyObject
*_wrap_wxArrowHead_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2800 PyObject
* _resultobj
;
2801 wxArrowHead
* _arg0
;
2803 PyObject
* _argo0
= 0;
2804 char *_kwnames
[] = { "self","size", NULL
};
2807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxArrowHead_SetSize",_kwnames
,&_argo0
,&_arg1
))
2810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxArrowHead_p")) {
2812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArrowHead_SetSize. Expected _wxArrowHead_p.");
2817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2818 wxArrowHead_SetSize(_arg0
,_arg1
);
2820 wxPyEndAllowThreads(__tstate
);
2821 if (PyErr_Occurred()) return NULL
;
2822 } Py_INCREF(Py_None
);
2823 _resultobj
= Py_None
;
2827 #define wxArrowHead_SetSpacing(_swigobj,_swigarg0) (_swigobj->SetSpacing(_swigarg0))
2828 static PyObject
*_wrap_wxArrowHead_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2829 PyObject
* _resultobj
;
2830 wxArrowHead
* _arg0
;
2832 PyObject
* _argo0
= 0;
2833 char *_kwnames
[] = { "self","sp", NULL
};
2836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxArrowHead_SetSpacing",_kwnames
,&_argo0
,&_arg1
))
2839 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2840 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxArrowHead_p")) {
2841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArrowHead_SetSpacing. Expected _wxArrowHead_p.");
2846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2847 wxArrowHead_SetSpacing(_arg0
,_arg1
);
2849 wxPyEndAllowThreads(__tstate
);
2850 if (PyErr_Occurred()) return NULL
;
2851 } Py_INCREF(Py_None
);
2852 _resultobj
= Py_None
;
2856 static void *SwigwxPyLineShapeTowxPyShape(void *ptr
) {
2859 src
= (wxPyLineShape
*) ptr
;
2860 dest
= (wxPyShape
*) src
;
2861 return (void *) dest
;
2864 static void *SwigwxPyLineShapeTowxPyShapeEvtHandler(void *ptr
) {
2866 wxPyShapeEvtHandler
*dest
;
2867 src
= (wxPyLineShape
*) ptr
;
2868 dest
= (wxPyShapeEvtHandler
*) src
;
2869 return (void *) dest
;
2872 static void *SwigwxPyLineShapeTowxObject(void *ptr
) {
2875 src
= (wxPyLineShape
*) ptr
;
2876 dest
= (wxObject
*) src
;
2877 return (void *) dest
;
2880 #define new_wxPyLineShape() (new wxPyLineShape())
2881 static PyObject
*_wrap_new_wxPyLineShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2882 PyObject
* _resultobj
;
2883 wxPyLineShape
* _result
;
2884 char *_kwnames
[] = { NULL
};
2888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyLineShape",_kwnames
))
2891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2892 _result
= (wxPyLineShape
*)new_wxPyLineShape();
2894 wxPyEndAllowThreads(__tstate
);
2895 if (PyErr_Occurred()) return NULL
;
2897 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyLineShape_p");
2898 _resultobj
= Py_BuildValue("s",_ptemp
);
2901 _resultobj
= Py_None
;
2906 #define wxPyLineShape__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2907 static PyObject
*_wrap_wxPyLineShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2908 PyObject
* _resultobj
;
2909 wxPyLineShape
* _arg0
;
2912 PyObject
* _argo0
= 0;
2913 PyObject
* _obj1
= 0;
2914 PyObject
* _obj2
= 0;
2915 char *_kwnames
[] = { "self","self","_class", NULL
};
2918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyLineShape__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
2923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape__setCallbackInfo. Expected _wxPyLineShape_p.");
2934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2935 wxPyLineShape__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2937 wxPyEndAllowThreads(__tstate
);
2938 if (PyErr_Occurred()) return NULL
;
2939 } Py_INCREF(Py_None
);
2940 _resultobj
= Py_None
;
2944 #define wxPyLineShape_AddArrow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->AddArrow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2945 static PyObject
*_wrap_wxPyLineShape_AddArrow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2946 PyObject
* _resultobj
;
2947 wxPyLineShape
* _arg0
;
2949 int _arg2
= (int ) ARROW_POSITION_END
;
2950 double _arg3
= (double ) 10.0;
2951 double _arg4
= (double ) 0.0;
2952 char * _arg5
= (char *) "";
2953 wxPseudoMetaFile
* _arg6
= (wxPseudoMetaFile
*) NULL
;
2954 long _arg7
= (long ) -1;
2955 PyObject
* _argo0
= 0;
2956 PyObject
* _argo6
= 0;
2957 char *_kwnames
[] = { "self","type","end","arrowSize","xOffset","name","mf","arrowId", NULL
};
2960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|iddsOl:wxPyLineShape_AddArrow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_arg7
))
2963 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2964 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
2965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_AddArrow. Expected _wxPyLineShape_p.");
2970 if (_argo6
== Py_None
) { _arg6
= NULL
; }
2971 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPseudoMetaFile_p")) {
2972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxPyLineShape_AddArrow. Expected _wxPseudoMetaFile_p.");
2977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2978 wxPyLineShape_AddArrow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
);
2980 wxPyEndAllowThreads(__tstate
);
2981 if (PyErr_Occurred()) return NULL
;
2982 } Py_INCREF(Py_None
);
2983 _resultobj
= Py_None
;
2987 static void wxPyLineShape_AddArrowOrdered(wxPyLineShape
*self
,wxArrowHead
* arrow
,PyObject
* referenceList
,int end
) {
2988 wxList
* list
= wxPy_wxListHelper(referenceList
, "_wxArrowHead_p");
2989 self
->AddArrowOrdered(arrow
, *list
, end
);
2992 static PyObject
*_wrap_wxPyLineShape_AddArrowOrdered(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2993 PyObject
* _resultobj
;
2994 wxPyLineShape
* _arg0
;
2995 wxArrowHead
* _arg1
;
2998 PyObject
* _argo0
= 0;
2999 PyObject
* _argo1
= 0;
3000 PyObject
* _obj2
= 0;
3001 char *_kwnames
[] = { "self","arrow","referenceList","end", NULL
};
3004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOi:wxPyLineShape_AddArrowOrdered",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
))
3007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_AddArrowOrdered. Expected _wxPyLineShape_p.");
3014 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3015 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxArrowHead_p")) {
3016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_AddArrowOrdered. Expected _wxArrowHead_p.");
3024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3025 wxPyLineShape_AddArrowOrdered(_arg0
,_arg1
,_arg2
,_arg3
);
3027 wxPyEndAllowThreads(__tstate
);
3028 if (PyErr_Occurred()) return NULL
;
3029 } Py_INCREF(Py_None
);
3030 _resultobj
= Py_None
;
3034 #define wxPyLineShape_ClearArrow(_swigobj,_swigarg0) (_swigobj->ClearArrow(_swigarg0))
3035 static PyObject
*_wrap_wxPyLineShape_ClearArrow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3036 PyObject
* _resultobj
;
3038 wxPyLineShape
* _arg0
;
3040 PyObject
* _argo0
= 0;
3041 PyObject
* _obj1
= 0;
3042 char *_kwnames
[] = { "self","name", NULL
};
3045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyLineShape_ClearArrow",_kwnames
,&_argo0
,&_obj1
))
3048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_ClearArrow. Expected _wxPyLineShape_p.");
3055 _arg1
= wxString_in_helper(_obj1
);
3060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3061 _result
= (bool )wxPyLineShape_ClearArrow(_arg0
,*_arg1
);
3063 wxPyEndAllowThreads(__tstate
);
3064 if (PyErr_Occurred()) return NULL
;
3065 } _resultobj
= Py_BuildValue("i",_result
);
3073 #define wxPyLineShape_ClearArrowsAtPosition(_swigobj,_swigarg0) (_swigobj->ClearArrowsAtPosition(_swigarg0))
3074 static PyObject
*_wrap_wxPyLineShape_ClearArrowsAtPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3075 PyObject
* _resultobj
;
3076 wxPyLineShape
* _arg0
;
3077 int _arg1
= (int ) -1;
3078 PyObject
* _argo0
= 0;
3079 char *_kwnames
[] = { "self","position", NULL
};
3082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyLineShape_ClearArrowsAtPosition",_kwnames
,&_argo0
,&_arg1
))
3085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_ClearArrowsAtPosition. Expected _wxPyLineShape_p.");
3092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3093 wxPyLineShape_ClearArrowsAtPosition(_arg0
,_arg1
);
3095 wxPyEndAllowThreads(__tstate
);
3096 if (PyErr_Occurred()) return NULL
;
3097 } Py_INCREF(Py_None
);
3098 _resultobj
= Py_None
;
3102 #define wxPyLineShape_DrawArrow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawArrow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3103 static PyObject
*_wrap_wxPyLineShape_DrawArrow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3104 PyObject
* _resultobj
;
3105 wxPyLineShape
* _arg0
;
3107 wxArrowHead
* _arg2
;
3110 PyObject
* _argo0
= 0;
3111 PyObject
* _argo1
= 0;
3112 PyObject
* _argo2
= 0;
3114 char *_kwnames
[] = { "self","dc","arrow","xOffset","proportionalOffset", NULL
};
3117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOdi:wxPyLineShape_DrawArrow",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
,&tempbool4
))
3120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_DrawArrow. Expected _wxPyLineShape_p.");
3127 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3128 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_DrawArrow. Expected _wxDC_p.");
3134 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3135 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxArrowHead_p")) {
3136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyLineShape_DrawArrow. Expected _wxArrowHead_p.");
3140 _arg4
= (bool ) tempbool4
;
3142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3143 wxPyLineShape_DrawArrow(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3145 wxPyEndAllowThreads(__tstate
);
3146 if (PyErr_Occurred()) return NULL
;
3147 } Py_INCREF(Py_None
);
3148 _resultobj
= Py_None
;
3152 #define wxPyLineShape_DeleteArrowHeadId(_swigobj,_swigarg0) (_swigobj->DeleteArrowHead(_swigarg0))
3153 static PyObject
*_wrap_wxPyLineShape_DeleteArrowHeadId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3154 PyObject
* _resultobj
;
3156 wxPyLineShape
* _arg0
;
3158 PyObject
* _argo0
= 0;
3159 char *_kwnames
[] = { "self","arrowId", NULL
};
3162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPyLineShape_DeleteArrowHeadId",_kwnames
,&_argo0
,&_arg1
))
3165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_DeleteArrowHeadId. Expected _wxPyLineShape_p.");
3172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3173 _result
= (bool )wxPyLineShape_DeleteArrowHeadId(_arg0
,_arg1
);
3175 wxPyEndAllowThreads(__tstate
);
3176 if (PyErr_Occurred()) return NULL
;
3177 } _resultobj
= Py_BuildValue("i",_result
);
3181 #define wxPyLineShape_DeleteArrowHead(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteArrowHead(_swigarg0,_swigarg1))
3182 static PyObject
*_wrap_wxPyLineShape_DeleteArrowHead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3183 PyObject
* _resultobj
;
3185 wxPyLineShape
* _arg0
;
3188 PyObject
* _argo0
= 0;
3189 PyObject
* _obj2
= 0;
3190 char *_kwnames
[] = { "self","position","name", NULL
};
3193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxPyLineShape_DeleteArrowHead",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_DeleteArrowHead. Expected _wxPyLineShape_p.");
3203 _arg2
= wxString_in_helper(_obj2
);
3208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3209 _result
= (bool )wxPyLineShape_DeleteArrowHead(_arg0
,_arg1
,*_arg2
);
3211 wxPyEndAllowThreads(__tstate
);
3212 if (PyErr_Occurred()) return NULL
;
3213 } _resultobj
= Py_BuildValue("i",_result
);
3221 #define wxPyLineShape_DeleteLineControlPoint(_swigobj) (_swigobj->DeleteLineControlPoint())
3222 static PyObject
*_wrap_wxPyLineShape_DeleteLineControlPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3223 PyObject
* _resultobj
;
3225 wxPyLineShape
* _arg0
;
3226 PyObject
* _argo0
= 0;
3227 char *_kwnames
[] = { "self", NULL
};
3230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLineShape_DeleteLineControlPoint",_kwnames
,&_argo0
))
3233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_DeleteLineControlPoint. Expected _wxPyLineShape_p.");
3240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3241 _result
= (bool )wxPyLineShape_DeleteLineControlPoint(_arg0
);
3243 wxPyEndAllowThreads(__tstate
);
3244 if (PyErr_Occurred()) return NULL
;
3245 } _resultobj
= Py_BuildValue("i",_result
);
3249 #define wxPyLineShape_DrawArrows(_swigobj,_swigarg0) (_swigobj->DrawArrows(_swigarg0))
3250 static PyObject
*_wrap_wxPyLineShape_DrawArrows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3251 PyObject
* _resultobj
;
3252 wxPyLineShape
* _arg0
;
3254 PyObject
* _argo0
= 0;
3255 PyObject
* _argo1
= 0;
3256 char *_kwnames
[] = { "self","dc", NULL
};
3259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyLineShape_DrawArrows",_kwnames
,&_argo0
,&_argo1
))
3262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_DrawArrows. Expected _wxPyLineShape_p.");
3269 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3270 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_DrawArrows. Expected _wxDC_p.");
3276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3277 wxPyLineShape_DrawArrows(_arg0
,*_arg1
);
3279 wxPyEndAllowThreads(__tstate
);
3280 if (PyErr_Occurred()) return NULL
;
3281 } Py_INCREF(Py_None
);
3282 _resultobj
= Py_None
;
3286 #define wxPyLineShape_DrawRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3287 static PyObject
*_wrap_wxPyLineShape_DrawRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3288 PyObject
* _resultobj
;
3289 wxPyLineShape
* _arg0
;
3291 wxShapeRegion
* _arg2
;
3294 PyObject
* _argo0
= 0;
3295 PyObject
* _argo1
= 0;
3296 PyObject
* _argo2
= 0;
3297 char *_kwnames
[] = { "self","dc","region","x","y", NULL
};
3300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOdd:wxPyLineShape_DrawRegion",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
,&_arg4
))
3303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_DrawRegion. Expected _wxPyLineShape_p.");
3310 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3311 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_DrawRegion. Expected _wxDC_p.");
3317 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3318 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxShapeRegion_p")) {
3319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyLineShape_DrawRegion. Expected _wxShapeRegion_p.");
3324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3325 wxPyLineShape_DrawRegion(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3327 wxPyEndAllowThreads(__tstate
);
3328 if (PyErr_Occurred()) return NULL
;
3329 } Py_INCREF(Py_None
);
3330 _resultobj
= Py_None
;
3334 #define wxPyLineShape_EraseRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->EraseRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3335 static PyObject
*_wrap_wxPyLineShape_EraseRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3336 PyObject
* _resultobj
;
3337 wxPyLineShape
* _arg0
;
3339 wxShapeRegion
* _arg2
;
3342 PyObject
* _argo0
= 0;
3343 PyObject
* _argo1
= 0;
3344 PyObject
* _argo2
= 0;
3345 char *_kwnames
[] = { "self","dc","region","x","y", NULL
};
3348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOdd:wxPyLineShape_EraseRegion",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
,&_arg4
))
3351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_EraseRegion. Expected _wxPyLineShape_p.");
3358 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3359 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_EraseRegion. Expected _wxDC_p.");
3365 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3366 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxShapeRegion_p")) {
3367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyLineShape_EraseRegion. Expected _wxShapeRegion_p.");
3372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3373 wxPyLineShape_EraseRegion(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3375 wxPyEndAllowThreads(__tstate
);
3376 if (PyErr_Occurred()) return NULL
;
3377 } Py_INCREF(Py_None
);
3378 _resultobj
= Py_None
;
3382 #define wxPyLineShape_FindArrowHeadId(_swigobj,_swigarg0) (_swigobj->FindArrowHead(_swigarg0))
3383 static PyObject
*_wrap_wxPyLineShape_FindArrowHeadId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3384 PyObject
* _resultobj
;
3385 wxArrowHead
* _result
;
3386 wxPyLineShape
* _arg0
;
3388 PyObject
* _argo0
= 0;
3389 char *_kwnames
[] = { "self","arrowId", NULL
};
3392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPyLineShape_FindArrowHeadId",_kwnames
,&_argo0
,&_arg1
))
3395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_FindArrowHeadId. Expected _wxPyLineShape_p.");
3402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3403 _result
= (wxArrowHead
*)wxPyLineShape_FindArrowHeadId(_arg0
,_arg1
);
3405 wxPyEndAllowThreads(__tstate
);
3406 if (PyErr_Occurred()) return NULL
;
3407 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3411 #define wxPyLineShape_FindArrowHead(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindArrowHead(_swigarg0,_swigarg1))
3412 static PyObject
*_wrap_wxPyLineShape_FindArrowHead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3413 PyObject
* _resultobj
;
3414 wxArrowHead
* _result
;
3415 wxPyLineShape
* _arg0
;
3418 PyObject
* _argo0
= 0;
3419 PyObject
* _obj2
= 0;
3420 char *_kwnames
[] = { "self","position","name", NULL
};
3423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxPyLineShape_FindArrowHead",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_FindArrowHead. Expected _wxPyLineShape_p.");
3433 _arg2
= wxString_in_helper(_obj2
);
3438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3439 _result
= (wxArrowHead
*)wxPyLineShape_FindArrowHead(_arg0
,_arg1
,*_arg2
);
3441 wxPyEndAllowThreads(__tstate
);
3442 if (PyErr_Occurred()) return NULL
;
3443 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3451 #define wxPyLineShape_FindLineEndPoints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FindLineEndPoints(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3452 static PyObject
*_wrap_wxPyLineShape_FindLineEndPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3453 PyObject
* _resultobj
;
3454 wxPyLineShape
* _arg0
;
3463 PyObject
* _argo0
= 0;
3464 char *_kwnames
[] = { "self", NULL
};
3479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLineShape_FindLineEndPoints",_kwnames
,&_argo0
))
3482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_FindLineEndPoints. Expected _wxPyLineShape_p.");
3489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3490 wxPyLineShape_FindLineEndPoints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3492 wxPyEndAllowThreads(__tstate
);
3493 if (PyErr_Occurred()) return NULL
;
3494 } Py_INCREF(Py_None
);
3495 _resultobj
= Py_None
;
3498 o
= PyFloat_FromDouble((double) (*_arg1
));
3499 _resultobj
= t_output_helper(_resultobj
, o
);
3503 o
= PyFloat_FromDouble((double) (*_arg2
));
3504 _resultobj
= t_output_helper(_resultobj
, o
);
3508 o
= PyFloat_FromDouble((double) (*_arg3
));
3509 _resultobj
= t_output_helper(_resultobj
, o
);
3513 o
= PyFloat_FromDouble((double) (*_arg4
));
3514 _resultobj
= t_output_helper(_resultobj
, o
);
3519 #define wxPyLineShape_FindLinePosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindLinePosition(_swigarg0,_swigarg1))
3520 static PyObject
*_wrap_wxPyLineShape_FindLinePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3521 PyObject
* _resultobj
;
3523 wxPyLineShape
* _arg0
;
3526 PyObject
* _argo0
= 0;
3527 char *_kwnames
[] = { "self","x","y", NULL
};
3530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyLineShape_FindLinePosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_FindLinePosition. Expected _wxPyLineShape_p.");
3540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3541 _result
= (int )wxPyLineShape_FindLinePosition(_arg0
,_arg1
,_arg2
);
3543 wxPyEndAllowThreads(__tstate
);
3544 if (PyErr_Occurred()) return NULL
;
3545 } _resultobj
= Py_BuildValue("i",_result
);
3549 #define wxPyLineShape_FindMinimumWidth(_swigobj) (_swigobj->FindMinimumWidth())
3550 static PyObject
*_wrap_wxPyLineShape_FindMinimumWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3551 PyObject
* _resultobj
;
3553 wxPyLineShape
* _arg0
;
3554 PyObject
* _argo0
= 0;
3555 char *_kwnames
[] = { "self", NULL
};
3558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLineShape_FindMinimumWidth",_kwnames
,&_argo0
))
3561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_FindMinimumWidth. Expected _wxPyLineShape_p.");
3568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3569 _result
= (double )wxPyLineShape_FindMinimumWidth(_arg0
);
3571 wxPyEndAllowThreads(__tstate
);
3572 if (PyErr_Occurred()) return NULL
;
3573 } _resultobj
= Py_BuildValue("d",_result
);
3577 #define wxPyLineShape_FindNth(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FindNth(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3578 static PyObject
*_wrap_wxPyLineShape_FindNth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3579 PyObject
* _resultobj
;
3580 wxPyLineShape
* _arg0
;
3587 PyObject
* _argo0
= 0;
3588 PyObject
* _argo1
= 0;
3590 char *_kwnames
[] = { "self","image","incoming", NULL
};
3599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyLineShape_FindNth",_kwnames
,&_argo0
,&_argo1
,&tempbool4
))
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_FindNth. Expected _wxPyLineShape_p.");
3609 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3610 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
3611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_FindNth. Expected _wxPyShape_p.");
3615 _arg4
= (bool ) tempbool4
;
3617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3618 wxPyLineShape_FindNth(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3620 wxPyEndAllowThreads(__tstate
);
3621 if (PyErr_Occurred()) return NULL
;
3622 } Py_INCREF(Py_None
);
3623 _resultobj
= Py_None
;
3626 o
= PyInt_FromLong((long) (*_arg2
));
3627 _resultobj
= t_output_helper(_resultobj
, o
);
3631 o
= PyInt_FromLong((long) (*_arg3
));
3632 _resultobj
= t_output_helper(_resultobj
, o
);
3637 #define wxPyLineShape_GetAttachmentFrom(_swigobj) (_swigobj->GetAttachmentFrom())
3638 static PyObject
*_wrap_wxPyLineShape_GetAttachmentFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3639 PyObject
* _resultobj
;
3641 wxPyLineShape
* _arg0
;
3642 PyObject
* _argo0
= 0;
3643 char *_kwnames
[] = { "self", NULL
};
3646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLineShape_GetAttachmentFrom",_kwnames
,&_argo0
))
3649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_GetAttachmentFrom. Expected _wxPyLineShape_p.");
3656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3657 _result
= (int )wxPyLineShape_GetAttachmentFrom(_arg0
);
3659 wxPyEndAllowThreads(__tstate
);
3660 if (PyErr_Occurred()) return NULL
;
3661 } _resultobj
= Py_BuildValue("i",_result
);
3665 #define wxPyLineShape_GetAttachmentTo(_swigobj) (_swigobj->GetAttachmentTo())
3666 static PyObject
*_wrap_wxPyLineShape_GetAttachmentTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3667 PyObject
* _resultobj
;
3669 wxPyLineShape
* _arg0
;
3670 PyObject
* _argo0
= 0;
3671 char *_kwnames
[] = { "self", NULL
};
3674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLineShape_GetAttachmentTo",_kwnames
,&_argo0
))
3677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_GetAttachmentTo. Expected _wxPyLineShape_p.");
3684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3685 _result
= (int )wxPyLineShape_GetAttachmentTo(_arg0
);
3687 wxPyEndAllowThreads(__tstate
);
3688 if (PyErr_Occurred()) return NULL
;
3689 } _resultobj
= Py_BuildValue("i",_result
);
3693 #define wxPyLineShape_GetEnds(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetEnds(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3694 static PyObject
*_wrap_wxPyLineShape_GetEnds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3695 PyObject
* _resultobj
;
3696 wxPyLineShape
* _arg0
;
3705 PyObject
* _argo0
= 0;
3706 char *_kwnames
[] = { "self", NULL
};
3721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLineShape_GetEnds",_kwnames
,&_argo0
))
3724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_GetEnds. Expected _wxPyLineShape_p.");
3731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3732 wxPyLineShape_GetEnds(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3734 wxPyEndAllowThreads(__tstate
);
3735 if (PyErr_Occurred()) return NULL
;
3736 } Py_INCREF(Py_None
);
3737 _resultobj
= Py_None
;
3740 o
= PyFloat_FromDouble((double) (*_arg1
));
3741 _resultobj
= t_output_helper(_resultobj
, o
);
3745 o
= PyFloat_FromDouble((double) (*_arg2
));
3746 _resultobj
= t_output_helper(_resultobj
, o
);
3750 o
= PyFloat_FromDouble((double) (*_arg3
));
3751 _resultobj
= t_output_helper(_resultobj
, o
);
3755 o
= PyFloat_FromDouble((double) (*_arg4
));
3756 _resultobj
= t_output_helper(_resultobj
, o
);
3761 #define wxPyLineShape_GetFrom(_swigobj) (_swigobj->GetFrom())
3762 static PyObject
*_wrap_wxPyLineShape_GetFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3763 PyObject
* _resultobj
;
3764 wxPyShape
* _result
;
3765 wxPyLineShape
* _arg0
;
3766 PyObject
* _argo0
= 0;
3767 char *_kwnames
[] = { "self", NULL
};
3770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLineShape_GetFrom",_kwnames
,&_argo0
))
3773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_GetFrom. Expected _wxPyLineShape_p.");
3780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3781 _result
= (wxPyShape
*)wxPyLineShape_GetFrom(_arg0
);
3783 wxPyEndAllowThreads(__tstate
);
3784 if (PyErr_Occurred()) return NULL
;
3785 }{ _resultobj
= wxPyMake_wxShapeEvtHandler(_result
); }
3789 #define wxPyLineShape_GetLabelPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetLabelPosition(_swigarg0,_swigarg1,_swigarg2))
3790 static PyObject
*_wrap_wxPyLineShape_GetLabelPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3791 PyObject
* _resultobj
;
3792 wxPyLineShape
* _arg0
;
3798 PyObject
* _argo0
= 0;
3799 char *_kwnames
[] = { "self","position", NULL
};
3808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyLineShape_GetLabelPosition",_kwnames
,&_argo0
,&_arg1
))
3811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_GetLabelPosition. Expected _wxPyLineShape_p.");
3818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3819 wxPyLineShape_GetLabelPosition(_arg0
,_arg1
,_arg2
,_arg3
);
3821 wxPyEndAllowThreads(__tstate
);
3822 if (PyErr_Occurred()) return NULL
;
3823 } Py_INCREF(Py_None
);
3824 _resultobj
= Py_None
;
3827 o
= PyFloat_FromDouble((double) (*_arg2
));
3828 _resultobj
= t_output_helper(_resultobj
, o
);
3832 o
= PyFloat_FromDouble((double) (*_arg3
));
3833 _resultobj
= t_output_helper(_resultobj
, o
);
3838 #define wxPyLineShape_GetNextControlPoint(_swigobj,_swigarg0) (_swigobj->GetNextControlPoint(_swigarg0))
3839 static PyObject
*_wrap_wxPyLineShape_GetNextControlPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3840 PyObject
* _resultobj
;
3842 wxPyLineShape
* _arg0
;
3844 PyObject
* _argo0
= 0;
3845 PyObject
* _argo1
= 0;
3846 char *_kwnames
[] = { "self","shape", NULL
};
3850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyLineShape_GetNextControlPoint",_kwnames
,&_argo0
,&_argo1
))
3853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_GetNextControlPoint. Expected _wxPyLineShape_p.");
3860 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3861 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
3862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_GetNextControlPoint. Expected _wxPyShape_p.");
3867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3868 _result
= (wxPoint
*)wxPyLineShape_GetNextControlPoint(_arg0
,_arg1
);
3870 wxPyEndAllowThreads(__tstate
);
3871 if (PyErr_Occurred()) return NULL
;
3873 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
3874 _resultobj
= Py_BuildValue("s",_ptemp
);
3877 _resultobj
= Py_None
;
3882 #define wxPyLineShape_GetTo(_swigobj) (_swigobj->GetTo())
3883 static PyObject
*_wrap_wxPyLineShape_GetTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3884 PyObject
* _resultobj
;
3885 wxPyShape
* _result
;
3886 wxPyLineShape
* _arg0
;
3887 PyObject
* _argo0
= 0;
3888 char *_kwnames
[] = { "self", NULL
};
3891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLineShape_GetTo",_kwnames
,&_argo0
))
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_GetTo. Expected _wxPyLineShape_p.");
3901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3902 _result
= (wxPyShape
*)wxPyLineShape_GetTo(_arg0
);
3904 wxPyEndAllowThreads(__tstate
);
3905 if (PyErr_Occurred()) return NULL
;
3906 }{ _resultobj
= wxPyMake_wxShapeEvtHandler(_result
); }
3910 #define wxPyLineShape_Initialise(_swigobj) (_swigobj->Initialise())
3911 static PyObject
*_wrap_wxPyLineShape_Initialise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3912 PyObject
* _resultobj
;
3913 wxPyLineShape
* _arg0
;
3914 PyObject
* _argo0
= 0;
3915 char *_kwnames
[] = { "self", NULL
};
3918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLineShape_Initialise",_kwnames
,&_argo0
))
3921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_Initialise. Expected _wxPyLineShape_p.");
3928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3929 wxPyLineShape_Initialise(_arg0
);
3931 wxPyEndAllowThreads(__tstate
);
3932 if (PyErr_Occurred()) return NULL
;
3933 } Py_INCREF(Py_None
);
3934 _resultobj
= Py_None
;
3938 #define wxPyLineShape_InsertLineControlPoint(_swigobj,_swigarg0) (_swigobj->InsertLineControlPoint(_swigarg0))
3939 static PyObject
*_wrap_wxPyLineShape_InsertLineControlPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3940 PyObject
* _resultobj
;
3941 wxPyLineShape
* _arg0
;
3943 PyObject
* _argo0
= 0;
3944 PyObject
* _argo1
= 0;
3945 char *_kwnames
[] = { "self","dc", NULL
};
3948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyLineShape_InsertLineControlPoint",_kwnames
,&_argo0
,&_argo1
))
3951 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3952 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_InsertLineControlPoint. Expected _wxPyLineShape_p.");
3958 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3959 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_InsertLineControlPoint. Expected _wxDC_p.");
3965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3966 wxPyLineShape_InsertLineControlPoint(_arg0
,_arg1
);
3968 wxPyEndAllowThreads(__tstate
);
3969 if (PyErr_Occurred()) return NULL
;
3970 } Py_INCREF(Py_None
);
3971 _resultobj
= Py_None
;
3975 #define wxPyLineShape_IsEnd(_swigobj,_swigarg0) (_swigobj->IsEnd(_swigarg0))
3976 static PyObject
*_wrap_wxPyLineShape_IsEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3977 PyObject
* _resultobj
;
3979 wxPyLineShape
* _arg0
;
3981 PyObject
* _argo0
= 0;
3982 PyObject
* _argo1
= 0;
3983 char *_kwnames
[] = { "self","shape", NULL
};
3986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyLineShape_IsEnd",_kwnames
,&_argo0
,&_argo1
))
3989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_IsEnd. Expected _wxPyLineShape_p.");
3996 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3997 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
3998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_IsEnd. Expected _wxPyShape_p.");
4003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4004 _result
= (bool )wxPyLineShape_IsEnd(_arg0
,_arg1
);
4006 wxPyEndAllowThreads(__tstate
);
4007 if (PyErr_Occurred()) return NULL
;
4008 } _resultobj
= Py_BuildValue("i",_result
);
4012 #define wxPyLineShape_IsSpline(_swigobj) (_swigobj->IsSpline())
4013 static PyObject
*_wrap_wxPyLineShape_IsSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4014 PyObject
* _resultobj
;
4016 wxPyLineShape
* _arg0
;
4017 PyObject
* _argo0
= 0;
4018 char *_kwnames
[] = { "self", NULL
};
4021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLineShape_IsSpline",_kwnames
,&_argo0
))
4024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_IsSpline. Expected _wxPyLineShape_p.");
4031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4032 _result
= (bool )wxPyLineShape_IsSpline(_arg0
);
4034 wxPyEndAllowThreads(__tstate
);
4035 if (PyErr_Occurred()) return NULL
;
4036 } _resultobj
= Py_BuildValue("i",_result
);
4040 #define wxPyLineShape_MakeLineControlPoints(_swigobj,_swigarg0) (_swigobj->MakeLineControlPoints(_swigarg0))
4041 static PyObject
*_wrap_wxPyLineShape_MakeLineControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4042 PyObject
* _resultobj
;
4043 wxPyLineShape
* _arg0
;
4045 PyObject
* _argo0
= 0;
4046 char *_kwnames
[] = { "self","n", NULL
};
4049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyLineShape_MakeLineControlPoints",_kwnames
,&_argo0
,&_arg1
))
4052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_MakeLineControlPoints. Expected _wxPyLineShape_p.");
4059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4060 wxPyLineShape_MakeLineControlPoints(_arg0
,_arg1
);
4062 wxPyEndAllowThreads(__tstate
);
4063 if (PyErr_Occurred()) return NULL
;
4064 } Py_INCREF(Py_None
);
4065 _resultobj
= Py_None
;
4069 static PyObject
* wxPyLineShape_GetLineControlPoints(wxPyLineShape
*self
) {
4070 wxList
* list
= self
->GetLineControlPoints();
4071 return wxPy_ConvertList(list
, "wxPyControlPoint");
4073 static PyObject
*_wrap_wxPyLineShape_GetLineControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4074 PyObject
* _resultobj
;
4076 wxPyLineShape
* _arg0
;
4077 PyObject
* _argo0
= 0;
4078 char *_kwnames
[] = { "self", NULL
};
4081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLineShape_GetLineControlPoints",_kwnames
,&_argo0
))
4084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_GetLineControlPoints. Expected _wxPyLineShape_p.");
4091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4092 _result
= (PyObject
*)wxPyLineShape_GetLineControlPoints(_arg0
);
4094 wxPyEndAllowThreads(__tstate
);
4095 if (PyErr_Occurred()) return NULL
;
4097 _resultobj
= _result
;
4102 #define wxPyLineShape_SetAttachmentFrom(_swigobj,_swigarg0) (_swigobj->SetAttachmentFrom(_swigarg0))
4103 static PyObject
*_wrap_wxPyLineShape_SetAttachmentFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4104 PyObject
* _resultobj
;
4105 wxPyLineShape
* _arg0
;
4107 PyObject
* _argo0
= 0;
4108 char *_kwnames
[] = { "self","fromAttach", NULL
};
4111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyLineShape_SetAttachmentFrom",_kwnames
,&_argo0
,&_arg1
))
4114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_SetAttachmentFrom. Expected _wxPyLineShape_p.");
4121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4122 wxPyLineShape_SetAttachmentFrom(_arg0
,_arg1
);
4124 wxPyEndAllowThreads(__tstate
);
4125 if (PyErr_Occurred()) return NULL
;
4126 } Py_INCREF(Py_None
);
4127 _resultobj
= Py_None
;
4131 #define wxPyLineShape_SetAttachments(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAttachments(_swigarg0,_swigarg1))
4132 static PyObject
*_wrap_wxPyLineShape_SetAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4133 PyObject
* _resultobj
;
4134 wxPyLineShape
* _arg0
;
4137 PyObject
* _argo0
= 0;
4138 char *_kwnames
[] = { "self","fromAttach","toAttach", NULL
};
4141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyLineShape_SetAttachments",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4144 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4145 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_SetAttachments. Expected _wxPyLineShape_p.");
4151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4152 wxPyLineShape_SetAttachments(_arg0
,_arg1
,_arg2
);
4154 wxPyEndAllowThreads(__tstate
);
4155 if (PyErr_Occurred()) return NULL
;
4156 } Py_INCREF(Py_None
);
4157 _resultobj
= Py_None
;
4161 #define wxPyLineShape_SetAttachmentTo(_swigobj,_swigarg0) (_swigobj->SetAttachmentTo(_swigarg0))
4162 static PyObject
*_wrap_wxPyLineShape_SetAttachmentTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4163 PyObject
* _resultobj
;
4164 wxPyLineShape
* _arg0
;
4166 PyObject
* _argo0
= 0;
4167 char *_kwnames
[] = { "self","toAttach", NULL
};
4170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyLineShape_SetAttachmentTo",_kwnames
,&_argo0
,&_arg1
))
4173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_SetAttachmentTo. Expected _wxPyLineShape_p.");
4180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4181 wxPyLineShape_SetAttachmentTo(_arg0
,_arg1
);
4183 wxPyEndAllowThreads(__tstate
);
4184 if (PyErr_Occurred()) return NULL
;
4185 } Py_INCREF(Py_None
);
4186 _resultobj
= Py_None
;
4190 #define wxPyLineShape_SetEnds(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetEnds(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4191 static PyObject
*_wrap_wxPyLineShape_SetEnds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4192 PyObject
* _resultobj
;
4193 wxPyLineShape
* _arg0
;
4198 PyObject
* _argo0
= 0;
4199 char *_kwnames
[] = { "self","x1","y1","x2","y2", NULL
};
4202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odddd:wxPyLineShape_SetEnds",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_SetEnds. Expected _wxPyLineShape_p.");
4212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4213 wxPyLineShape_SetEnds(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4215 wxPyEndAllowThreads(__tstate
);
4216 if (PyErr_Occurred()) return NULL
;
4217 } Py_INCREF(Py_None
);
4218 _resultobj
= Py_None
;
4222 #define wxPyLineShape_SetFrom(_swigobj,_swigarg0) (_swigobj->SetFrom(_swigarg0))
4223 static PyObject
*_wrap_wxPyLineShape_SetFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4224 PyObject
* _resultobj
;
4225 wxPyLineShape
* _arg0
;
4227 PyObject
* _argo0
= 0;
4228 PyObject
* _argo1
= 0;
4229 char *_kwnames
[] = { "self","object", NULL
};
4232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyLineShape_SetFrom",_kwnames
,&_argo0
,&_argo1
))
4235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_SetFrom. Expected _wxPyLineShape_p.");
4242 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4243 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
4244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_SetFrom. Expected _wxPyShape_p.");
4249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4250 wxPyLineShape_SetFrom(_arg0
,_arg1
);
4252 wxPyEndAllowThreads(__tstate
);
4253 if (PyErr_Occurred()) return NULL
;
4254 } Py_INCREF(Py_None
);
4255 _resultobj
= Py_None
;
4259 #define wxPyLineShape_SetIgnoreOffsets(_swigobj,_swigarg0) (_swigobj->SetIgnoreOffsets(_swigarg0))
4260 static PyObject
*_wrap_wxPyLineShape_SetIgnoreOffsets(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4261 PyObject
* _resultobj
;
4262 wxPyLineShape
* _arg0
;
4264 PyObject
* _argo0
= 0;
4266 char *_kwnames
[] = { "self","ignore", NULL
};
4269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyLineShape_SetIgnoreOffsets",_kwnames
,&_argo0
,&tempbool1
))
4272 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4273 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_SetIgnoreOffsets. Expected _wxPyLineShape_p.");
4278 _arg1
= (bool ) tempbool1
;
4280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4281 wxPyLineShape_SetIgnoreOffsets(_arg0
,_arg1
);
4283 wxPyEndAllowThreads(__tstate
);
4284 if (PyErr_Occurred()) return NULL
;
4285 } Py_INCREF(Py_None
);
4286 _resultobj
= Py_None
;
4290 #define wxPyLineShape_SetSpline(_swigobj,_swigarg0) (_swigobj->SetSpline(_swigarg0))
4291 static PyObject
*_wrap_wxPyLineShape_SetSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4292 PyObject
* _resultobj
;
4293 wxPyLineShape
* _arg0
;
4295 PyObject
* _argo0
= 0;
4297 char *_kwnames
[] = { "self","spline", NULL
};
4300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyLineShape_SetSpline",_kwnames
,&_argo0
,&tempbool1
))
4303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_SetSpline. Expected _wxPyLineShape_p.");
4309 _arg1
= (bool ) tempbool1
;
4311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4312 wxPyLineShape_SetSpline(_arg0
,_arg1
);
4314 wxPyEndAllowThreads(__tstate
);
4315 if (PyErr_Occurred()) return NULL
;
4316 } Py_INCREF(Py_None
);
4317 _resultobj
= Py_None
;
4321 #define wxPyLineShape_SetTo(_swigobj,_swigarg0) (_swigobj->SetTo(_swigarg0))
4322 static PyObject
*_wrap_wxPyLineShape_SetTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4323 PyObject
* _resultobj
;
4324 wxPyLineShape
* _arg0
;
4326 PyObject
* _argo0
= 0;
4327 PyObject
* _argo1
= 0;
4328 char *_kwnames
[] = { "self","object", NULL
};
4331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyLineShape_SetTo",_kwnames
,&_argo0
,&_argo1
))
4334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_SetTo. Expected _wxPyLineShape_p.");
4341 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4342 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
4343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_SetTo. Expected _wxPyShape_p.");
4348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4349 wxPyLineShape_SetTo(_arg0
,_arg1
);
4351 wxPyEndAllowThreads(__tstate
);
4352 if (PyErr_Occurred()) return NULL
;
4353 } Py_INCREF(Py_None
);
4354 _resultobj
= Py_None
;
4358 #define wxPyLineShape_Straighten(_swigobj,_swigarg0) (_swigobj->Straighten(_swigarg0))
4359 static PyObject
*_wrap_wxPyLineShape_Straighten(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4360 PyObject
* _resultobj
;
4361 wxPyLineShape
* _arg0
;
4362 wxDC
* _arg1
= (wxDC
*) NULL
;
4363 PyObject
* _argo0
= 0;
4364 PyObject
* _argo1
= 0;
4365 char *_kwnames
[] = { "self","dc", NULL
};
4368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxPyLineShape_Straighten",_kwnames
,&_argo0
,&_argo1
))
4371 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4372 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_Straighten. Expected _wxPyLineShape_p.");
4378 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4379 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_Straighten. Expected _wxDC_p.");
4385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4386 wxPyLineShape_Straighten(_arg0
,_arg1
);
4388 wxPyEndAllowThreads(__tstate
);
4389 if (PyErr_Occurred()) return NULL
;
4390 } Py_INCREF(Py_None
);
4391 _resultobj
= Py_None
;
4395 #define wxPyLineShape_Unlink(_swigobj) (_swigobj->Unlink())
4396 static PyObject
*_wrap_wxPyLineShape_Unlink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4397 PyObject
* _resultobj
;
4398 wxPyLineShape
* _arg0
;
4399 PyObject
* _argo0
= 0;
4400 char *_kwnames
[] = { "self", NULL
};
4403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLineShape_Unlink",_kwnames
,&_argo0
))
4406 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4407 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_Unlink. Expected _wxPyLineShape_p.");
4413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4414 wxPyLineShape_Unlink(_arg0
);
4416 wxPyEndAllowThreads(__tstate
);
4417 if (PyErr_Occurred()) return NULL
;
4418 } Py_INCREF(Py_None
);
4419 _resultobj
= Py_None
;
4423 #define wxPyLineShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
4424 static PyObject
*_wrap_wxPyLineShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4425 PyObject
* _resultobj
;
4426 wxPyLineShape
* _arg0
;
4428 PyObject
* _argo0
= 0;
4429 PyObject
* _argo1
= 0;
4430 char *_kwnames
[] = { "self","dc", NULL
};
4433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyLineShape_base_OnDraw",_kwnames
,&_argo0
,&_argo1
))
4436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnDraw. Expected _wxPyLineShape_p.");
4443 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4444 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_base_OnDraw. Expected _wxDC_p.");
4450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4451 wxPyLineShape_base_OnDraw(_arg0
,*_arg1
);
4453 wxPyEndAllowThreads(__tstate
);
4454 if (PyErr_Occurred()) return NULL
;
4455 } Py_INCREF(Py_None
);
4456 _resultobj
= Py_None
;
4460 #define wxPyLineShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
4461 static PyObject
*_wrap_wxPyLineShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4462 PyObject
* _resultobj
;
4463 wxPyLineShape
* _arg0
;
4465 PyObject
* _argo0
= 0;
4466 PyObject
* _argo1
= 0;
4467 char *_kwnames
[] = { "self","dc", NULL
};
4470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyLineShape_base_OnDrawContents",_kwnames
,&_argo0
,&_argo1
))
4473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnDrawContents. Expected _wxPyLineShape_p.");
4480 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4481 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_base_OnDrawContents. Expected _wxDC_p.");
4487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4488 wxPyLineShape_base_OnDrawContents(_arg0
,*_arg1
);
4490 wxPyEndAllowThreads(__tstate
);
4491 if (PyErr_Occurred()) return NULL
;
4492 } Py_INCREF(Py_None
);
4493 _resultobj
= Py_None
;
4497 #define wxPyLineShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
4498 static PyObject
*_wrap_wxPyLineShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4499 PyObject
* _resultobj
;
4500 wxPyLineShape
* _arg0
;
4502 bool _arg2
= (bool ) FALSE
;
4503 PyObject
* _argo0
= 0;
4504 PyObject
* _argo1
= 0;
4505 int tempbool2
= (int) FALSE
;
4506 char *_kwnames
[] = { "self","dc","erase", NULL
};
4509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyLineShape_base_OnDrawBranches",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
4512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnDrawBranches. Expected _wxPyLineShape_p.");
4519 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4520 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_base_OnDrawBranches. Expected _wxDC_p.");
4525 _arg2
= (bool ) tempbool2
;
4527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4528 wxPyLineShape_base_OnDrawBranches(_arg0
,*_arg1
,_arg2
);
4530 wxPyEndAllowThreads(__tstate
);
4531 if (PyErr_Occurred()) return NULL
;
4532 } Py_INCREF(Py_None
);
4533 _resultobj
= Py_None
;
4537 #define wxPyLineShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
4538 static PyObject
*_wrap_wxPyLineShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4539 PyObject
* _resultobj
;
4540 wxPyLineShape
* _arg0
;
4542 PyObject
* _argo0
= 0;
4543 PyObject
* _argo1
= 0;
4544 char *_kwnames
[] = { "self","dc", NULL
};
4547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyLineShape_base_OnMoveLinks",_kwnames
,&_argo0
,&_argo1
))
4550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnMoveLinks. Expected _wxPyLineShape_p.");
4557 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4558 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_base_OnMoveLinks. Expected _wxDC_p.");
4564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4565 wxPyLineShape_base_OnMoveLinks(_arg0
,*_arg1
);
4567 wxPyEndAllowThreads(__tstate
);
4568 if (PyErr_Occurred()) return NULL
;
4569 } Py_INCREF(Py_None
);
4570 _resultobj
= Py_None
;
4574 #define wxPyLineShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
4575 static PyObject
*_wrap_wxPyLineShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4576 PyObject
* _resultobj
;
4577 wxPyLineShape
* _arg0
;
4579 PyObject
* _argo0
= 0;
4580 PyObject
* _argo1
= 0;
4581 char *_kwnames
[] = { "self","dc", NULL
};
4584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyLineShape_base_OnErase",_kwnames
,&_argo0
,&_argo1
))
4587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnErase. Expected _wxPyLineShape_p.");
4594 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4595 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_base_OnErase. Expected _wxDC_p.");
4601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4602 wxPyLineShape_base_OnErase(_arg0
,*_arg1
);
4604 wxPyEndAllowThreads(__tstate
);
4605 if (PyErr_Occurred()) return NULL
;
4606 } Py_INCREF(Py_None
);
4607 _resultobj
= Py_None
;
4611 #define wxPyLineShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
4612 static PyObject
*_wrap_wxPyLineShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4613 PyObject
* _resultobj
;
4614 wxPyLineShape
* _arg0
;
4616 PyObject
* _argo0
= 0;
4617 PyObject
* _argo1
= 0;
4618 char *_kwnames
[] = { "self","dc", NULL
};
4621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyLineShape_base_OnEraseContents",_kwnames
,&_argo0
,&_argo1
))
4624 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4625 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnEraseContents. Expected _wxPyLineShape_p.");
4631 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4632 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_base_OnEraseContents. Expected _wxDC_p.");
4638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4639 wxPyLineShape_base_OnEraseContents(_arg0
,*_arg1
);
4641 wxPyEndAllowThreads(__tstate
);
4642 if (PyErr_Occurred()) return NULL
;
4643 } Py_INCREF(Py_None
);
4644 _resultobj
= Py_None
;
4648 #define wxPyLineShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
4649 static PyObject
*_wrap_wxPyLineShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4650 PyObject
* _resultobj
;
4651 wxPyLineShape
* _arg0
;
4653 PyObject
* _argo0
= 0;
4654 PyObject
* _argo1
= 0;
4655 char *_kwnames
[] = { "self","dc", NULL
};
4658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyLineShape_base_OnHighlight",_kwnames
,&_argo0
,&_argo1
))
4661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnHighlight. Expected _wxPyLineShape_p.");
4668 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4669 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_base_OnHighlight. Expected _wxDC_p.");
4675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4676 wxPyLineShape_base_OnHighlight(_arg0
,*_arg1
);
4678 wxPyEndAllowThreads(__tstate
);
4679 if (PyErr_Occurred()) return NULL
;
4680 } Py_INCREF(Py_None
);
4681 _resultobj
= Py_None
;
4685 #define wxPyLineShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4686 static PyObject
*_wrap_wxPyLineShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4687 PyObject
* _resultobj
;
4688 wxPyLineShape
* _arg0
;
4691 int _arg3
= (int ) 0;
4692 int _arg4
= (int ) 0;
4693 PyObject
* _argo0
= 0;
4694 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
4697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyLineShape_base_OnLeftClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnLeftClick. Expected _wxPyLineShape_p.");
4707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4708 wxPyLineShape_base_OnLeftClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4710 wxPyEndAllowThreads(__tstate
);
4711 if (PyErr_Occurred()) return NULL
;
4712 } Py_INCREF(Py_None
);
4713 _resultobj
= Py_None
;
4717 #define wxPyLineShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4718 static PyObject
*_wrap_wxPyLineShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4719 PyObject
* _resultobj
;
4720 wxPyLineShape
* _arg0
;
4723 int _arg3
= (int ) 0;
4724 int _arg4
= (int ) 0;
4725 PyObject
* _argo0
= 0;
4726 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
4729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyLineShape_base_OnLeftDoubleClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4732 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4733 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnLeftDoubleClick. Expected _wxPyLineShape_p.");
4739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4740 wxPyLineShape_base_OnLeftDoubleClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4742 wxPyEndAllowThreads(__tstate
);
4743 if (PyErr_Occurred()) return NULL
;
4744 } Py_INCREF(Py_None
);
4745 _resultobj
= Py_None
;
4749 #define wxPyLineShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4750 static PyObject
*_wrap_wxPyLineShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4751 PyObject
* _resultobj
;
4752 wxPyLineShape
* _arg0
;
4755 int _arg3
= (int ) 0;
4756 int _arg4
= (int ) 0;
4757 PyObject
* _argo0
= 0;
4758 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
4761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyLineShape_base_OnRightClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnRightClick. Expected _wxPyLineShape_p.");
4771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4772 wxPyLineShape_base_OnRightClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4774 wxPyEndAllowThreads(__tstate
);
4775 if (PyErr_Occurred()) return NULL
;
4776 } Py_INCREF(Py_None
);
4777 _resultobj
= Py_None
;
4781 #define wxPyLineShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
4782 static PyObject
*_wrap_wxPyLineShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4783 PyObject
* _resultobj
;
4784 wxPyLineShape
* _arg0
;
4787 PyObject
* _argo0
= 0;
4788 char *_kwnames
[] = { "self","x","y", NULL
};
4791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyLineShape_base_OnSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnSize. Expected _wxPyLineShape_p.");
4801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4802 wxPyLineShape_base_OnSize(_arg0
,_arg1
,_arg2
);
4804 wxPyEndAllowThreads(__tstate
);
4805 if (PyErr_Occurred()) return NULL
;
4806 } Py_INCREF(Py_None
);
4807 _resultobj
= Py_None
;
4811 #define wxPyLineShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4812 static PyObject
*_wrap_wxPyLineShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4813 PyObject
* _resultobj
;
4815 wxPyLineShape
* _arg0
;
4821 bool _arg6
= (bool ) TRUE
;
4822 PyObject
* _argo0
= 0;
4823 PyObject
* _argo1
= 0;
4824 int tempbool6
= (int) TRUE
;
4825 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
4828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyLineShape_base_OnMovePre",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
4831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnMovePre. Expected _wxPyLineShape_p.");
4838 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4839 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_base_OnMovePre. Expected _wxDC_p.");
4844 _arg6
= (bool ) tempbool6
;
4846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4847 _result
= (bool )wxPyLineShape_base_OnMovePre(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4849 wxPyEndAllowThreads(__tstate
);
4850 if (PyErr_Occurred()) return NULL
;
4851 } _resultobj
= Py_BuildValue("i",_result
);
4855 #define wxPyLineShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4856 static PyObject
*_wrap_wxPyLineShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4857 PyObject
* _resultobj
;
4858 wxPyLineShape
* _arg0
;
4864 bool _arg6
= (bool ) TRUE
;
4865 PyObject
* _argo0
= 0;
4866 PyObject
* _argo1
= 0;
4867 int tempbool6
= (int) TRUE
;
4868 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
4871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyLineShape_base_OnMovePost",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
4874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnMovePost. Expected _wxPyLineShape_p.");
4881 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4882 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_base_OnMovePost. Expected _wxDC_p.");
4887 _arg6
= (bool ) tempbool6
;
4889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4890 wxPyLineShape_base_OnMovePost(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4892 wxPyEndAllowThreads(__tstate
);
4893 if (PyErr_Occurred()) return NULL
;
4894 } Py_INCREF(Py_None
);
4895 _resultobj
= Py_None
;
4899 #define wxPyLineShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4900 static PyObject
*_wrap_wxPyLineShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4901 PyObject
* _resultobj
;
4902 wxPyLineShape
* _arg0
;
4906 int _arg4
= (int ) 0;
4907 int _arg5
= (int ) 0;
4908 PyObject
* _argo0
= 0;
4910 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
4913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyLineShape_base_OnDragLeft",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnDragLeft. Expected _wxPyLineShape_p.");
4922 _arg1
= (bool ) tempbool1
;
4924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4925 wxPyLineShape_base_OnDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4927 wxPyEndAllowThreads(__tstate
);
4928 if (PyErr_Occurred()) return NULL
;
4929 } Py_INCREF(Py_None
);
4930 _resultobj
= Py_None
;
4934 #define wxPyLineShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4935 static PyObject
*_wrap_wxPyLineShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4936 PyObject
* _resultobj
;
4937 wxPyLineShape
* _arg0
;
4940 int _arg3
= (int ) 0;
4941 int _arg4
= (int ) 0;
4942 PyObject
* _argo0
= 0;
4943 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
4946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyLineShape_base_OnBeginDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnBeginDragLeft. Expected _wxPyLineShape_p.");
4956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4957 wxPyLineShape_base_OnBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4959 wxPyEndAllowThreads(__tstate
);
4960 if (PyErr_Occurred()) return NULL
;
4961 } Py_INCREF(Py_None
);
4962 _resultobj
= Py_None
;
4966 #define wxPyLineShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4967 static PyObject
*_wrap_wxPyLineShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4968 PyObject
* _resultobj
;
4969 wxPyLineShape
* _arg0
;
4972 int _arg3
= (int ) 0;
4973 int _arg4
= (int ) 0;
4974 PyObject
* _argo0
= 0;
4975 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
4978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyLineShape_base_OnEndDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnEndDragLeft. Expected _wxPyLineShape_p.");
4988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4989 wxPyLineShape_base_OnEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4991 wxPyEndAllowThreads(__tstate
);
4992 if (PyErr_Occurred()) return NULL
;
4993 } Py_INCREF(Py_None
);
4994 _resultobj
= Py_None
;
4998 #define wxPyLineShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4999 static PyObject
*_wrap_wxPyLineShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5000 PyObject
* _resultobj
;
5001 wxPyLineShape
* _arg0
;
5005 int _arg4
= (int ) 0;
5006 int _arg5
= (int ) 0;
5007 PyObject
* _argo0
= 0;
5009 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
5012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyLineShape_base_OnDragRight",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
5015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
5017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnDragRight. Expected _wxPyLineShape_p.");
5021 _arg1
= (bool ) tempbool1
;
5023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5024 wxPyLineShape_base_OnDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
5026 wxPyEndAllowThreads(__tstate
);
5027 if (PyErr_Occurred()) return NULL
;
5028 } Py_INCREF(Py_None
);
5029 _resultobj
= Py_None
;
5033 #define wxPyLineShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5034 static PyObject
*_wrap_wxPyLineShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5035 PyObject
* _resultobj
;
5036 wxPyLineShape
* _arg0
;
5039 int _arg3
= (int ) 0;
5040 int _arg4
= (int ) 0;
5041 PyObject
* _argo0
= 0;
5042 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
5045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyLineShape_base_OnBeginDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
5048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
5050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnBeginDragRight. Expected _wxPyLineShape_p.");
5055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5056 wxPyLineShape_base_OnBeginDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5058 wxPyEndAllowThreads(__tstate
);
5059 if (PyErr_Occurred()) return NULL
;
5060 } Py_INCREF(Py_None
);
5061 _resultobj
= Py_None
;
5065 #define wxPyLineShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5066 static PyObject
*_wrap_wxPyLineShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5067 PyObject
* _resultobj
;
5068 wxPyLineShape
* _arg0
;
5071 int _arg3
= (int ) 0;
5072 int _arg4
= (int ) 0;
5073 PyObject
* _argo0
= 0;
5074 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
5077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyLineShape_base_OnEndDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
5080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
5082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnEndDragRight. Expected _wxPyLineShape_p.");
5087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5088 wxPyLineShape_base_OnEndDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5090 wxPyEndAllowThreads(__tstate
);
5091 if (PyErr_Occurred()) return NULL
;
5092 } Py_INCREF(Py_None
);
5093 _resultobj
= Py_None
;
5097 #define wxPyLineShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5098 static PyObject
*_wrap_wxPyLineShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5099 PyObject
* _resultobj
;
5100 wxPyLineShape
* _arg0
;
5106 PyObject
* _argo0
= 0;
5107 PyObject
* _argo1
= 0;
5108 char *_kwnames
[] = { "self","dc","x","y","w","h", NULL
};
5111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd:wxPyLineShape_base_OnDrawOutline",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
5114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
5116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnDrawOutline. Expected _wxPyLineShape_p.");
5121 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5122 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_base_OnDrawOutline. Expected _wxDC_p.");
5128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5129 wxPyLineShape_base_OnDrawOutline(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
5131 wxPyEndAllowThreads(__tstate
);
5132 if (PyErr_Occurred()) return NULL
;
5133 } Py_INCREF(Py_None
);
5134 _resultobj
= Py_None
;
5138 #define wxPyLineShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
5139 static PyObject
*_wrap_wxPyLineShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5140 PyObject
* _resultobj
;
5141 wxPyLineShape
* _arg0
;
5143 PyObject
* _argo0
= 0;
5144 PyObject
* _argo1
= 0;
5145 char *_kwnames
[] = { "self","dc", NULL
};
5148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyLineShape_base_OnDrawControlPoints",_kwnames
,&_argo0
,&_argo1
))
5151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
5153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnDrawControlPoints. Expected _wxPyLineShape_p.");
5158 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5159 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_base_OnDrawControlPoints. Expected _wxDC_p.");
5165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5166 wxPyLineShape_base_OnDrawControlPoints(_arg0
,*_arg1
);
5168 wxPyEndAllowThreads(__tstate
);
5169 if (PyErr_Occurred()) return NULL
;
5170 } Py_INCREF(Py_None
);
5171 _resultobj
= Py_None
;
5175 #define wxPyLineShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
5176 static PyObject
*_wrap_wxPyLineShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5177 PyObject
* _resultobj
;
5178 wxPyLineShape
* _arg0
;
5180 PyObject
* _argo0
= 0;
5181 PyObject
* _argo1
= 0;
5182 char *_kwnames
[] = { "self","dc", NULL
};
5185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyLineShape_base_OnEraseControlPoints",_kwnames
,&_argo0
,&_argo1
))
5188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
5190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnEraseControlPoints. Expected _wxPyLineShape_p.");
5195 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5196 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_base_OnEraseControlPoints. Expected _wxDC_p.");
5202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5203 wxPyLineShape_base_OnEraseControlPoints(_arg0
,*_arg1
);
5205 wxPyEndAllowThreads(__tstate
);
5206 if (PyErr_Occurred()) return NULL
;
5207 } Py_INCREF(Py_None
);
5208 _resultobj
= Py_None
;
5212 #define wxPyLineShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
5213 static PyObject
*_wrap_wxPyLineShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5214 PyObject
* _resultobj
;
5215 wxPyLineShape
* _arg0
;
5217 bool _arg2
= (bool ) TRUE
;
5218 PyObject
* _argo0
= 0;
5219 PyObject
* _argo1
= 0;
5220 int tempbool2
= (int) TRUE
;
5221 char *_kwnames
[] = { "self","dc","moveControlPoints", NULL
};
5224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyLineShape_base_OnMoveLink",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
5227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
5229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnMoveLink. Expected _wxPyLineShape_p.");
5234 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5235 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_base_OnMoveLink. Expected _wxDC_p.");
5240 _arg2
= (bool ) tempbool2
;
5242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5243 wxPyLineShape_base_OnMoveLink(_arg0
,*_arg1
,_arg2
);
5245 wxPyEndAllowThreads(__tstate
);
5246 if (PyErr_Occurred()) return NULL
;
5247 } Py_INCREF(Py_None
);
5248 _resultobj
= Py_None
;
5252 #define wxPyLineShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5253 static PyObject
*_wrap_wxPyLineShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5254 PyObject
* _resultobj
;
5255 wxPyLineShape
* _arg0
;
5256 wxPyControlPoint
* _arg1
;
5260 int _arg5
= (int ) 0;
5261 int _arg6
= (int ) 0;
5262 PyObject
* _argo0
= 0;
5263 PyObject
* _argo1
= 0;
5265 char *_kwnames
[] = { "self","pt","draw","x","y","keys","attachment", NULL
};
5268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOidd|ii:wxPyLineShape_base_OnSizingDragLeft",_kwnames
,&_argo0
,&_argo1
,&tempbool2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
5271 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5272 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
5273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnSizingDragLeft. Expected _wxPyLineShape_p.");
5278 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5279 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
5280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
5284 _arg2
= (bool ) tempbool2
;
5286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5287 wxPyLineShape_base_OnSizingDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
5289 wxPyEndAllowThreads(__tstate
);
5290 if (PyErr_Occurred()) return NULL
;
5291 } Py_INCREF(Py_None
);
5292 _resultobj
= Py_None
;
5296 #define wxPyLineShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5297 static PyObject
*_wrap_wxPyLineShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5298 PyObject
* _resultobj
;
5299 wxPyLineShape
* _arg0
;
5300 wxPyControlPoint
* _arg1
;
5303 int _arg4
= (int ) 0;
5304 int _arg5
= (int ) 0;
5305 PyObject
* _argo0
= 0;
5306 PyObject
* _argo1
= 0;
5307 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
5310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyLineShape_base_OnSizingBeginDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
5313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
5315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnSizingBeginDragLeft. Expected _wxPyLineShape_p.");
5320 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5321 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
5322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
5327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5328 wxPyLineShape_base_OnSizingBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
5330 wxPyEndAllowThreads(__tstate
);
5331 if (PyErr_Occurred()) return NULL
;
5332 } Py_INCREF(Py_None
);
5333 _resultobj
= Py_None
;
5337 #define wxPyLineShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5338 static PyObject
*_wrap_wxPyLineShape_base_OnSizingEndDragLeft(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_OnSizingEndDragLeft",_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_OnSizingEndDragLeft. 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_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
5368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5369 wxPyLineShape_base_OnSizingEndDragLeft(_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_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
5379 static PyObject
*_wrap_wxPyLineShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5380 PyObject
* _resultobj
;
5381 wxPyLineShape
* _arg0
;
5384 PyObject
* _argo0
= 0;
5385 char *_kwnames
[] = { "self","w","h", NULL
};
5388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyLineShape_base_OnBeginSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
5393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnBeginSize. Expected _wxPyLineShape_p.");
5398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5399 wxPyLineShape_base_OnBeginSize(_arg0
,_arg1
,_arg2
);
5401 wxPyEndAllowThreads(__tstate
);
5402 if (PyErr_Occurred()) return NULL
;
5403 } Py_INCREF(Py_None
);
5404 _resultobj
= Py_None
;
5408 #define wxPyLineShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
5409 static PyObject
*_wrap_wxPyLineShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5410 PyObject
* _resultobj
;
5411 wxPyLineShape
* _arg0
;
5414 PyObject
* _argo0
= 0;
5415 char *_kwnames
[] = { "self","w","h", NULL
};
5418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyLineShape_base_OnEndSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
5423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnEndSize. Expected _wxPyLineShape_p.");
5428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5429 wxPyLineShape_base_OnEndSize(_arg0
,_arg1
,_arg2
);
5431 wxPyEndAllowThreads(__tstate
);
5432 if (PyErr_Occurred()) return NULL
;
5433 } Py_INCREF(Py_None
);
5434 _resultobj
= Py_None
;
5438 static void *SwigwxPyPolygonShapeTowxPyShape(void *ptr
) {
5439 wxPyPolygonShape
*src
;
5441 src
= (wxPyPolygonShape
*) ptr
;
5442 dest
= (wxPyShape
*) src
;
5443 return (void *) dest
;
5446 static void *SwigwxPyPolygonShapeTowxPyShapeEvtHandler(void *ptr
) {
5447 wxPyPolygonShape
*src
;
5448 wxPyShapeEvtHandler
*dest
;
5449 src
= (wxPyPolygonShape
*) ptr
;
5450 dest
= (wxPyShapeEvtHandler
*) src
;
5451 return (void *) dest
;
5454 static void *SwigwxPyPolygonShapeTowxObject(void *ptr
) {
5455 wxPyPolygonShape
*src
;
5457 src
= (wxPyPolygonShape
*) ptr
;
5458 dest
= (wxObject
*) src
;
5459 return (void *) dest
;
5462 #define new_wxPyPolygonShape() (new wxPyPolygonShape())
5463 static PyObject
*_wrap_new_wxPyPolygonShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5464 PyObject
* _resultobj
;
5465 wxPyPolygonShape
* _result
;
5466 char *_kwnames
[] = { NULL
};
5470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyPolygonShape",_kwnames
))
5473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5474 _result
= (wxPyPolygonShape
*)new_wxPyPolygonShape();
5476 wxPyEndAllowThreads(__tstate
);
5477 if (PyErr_Occurred()) return NULL
;
5479 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPolygonShape_p");
5480 _resultobj
= Py_BuildValue("s",_ptemp
);
5483 _resultobj
= Py_None
;
5488 #define wxPyPolygonShape__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5489 static PyObject
*_wrap_wxPyPolygonShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5490 PyObject
* _resultobj
;
5491 wxPyPolygonShape
* _arg0
;
5494 PyObject
* _argo0
= 0;
5495 PyObject
* _obj1
= 0;
5496 PyObject
* _obj2
= 0;
5497 char *_kwnames
[] = { "self","self","_class", NULL
};
5500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyPolygonShape__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
5505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape__setCallbackInfo. Expected _wxPyPolygonShape_p.");
5516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5517 wxPyPolygonShape__setCallbackInfo(_arg0
,_arg1
,_arg2
);
5519 wxPyEndAllowThreads(__tstate
);
5520 if (PyErr_Occurred()) return NULL
;
5521 } Py_INCREF(Py_None
);
5522 _resultobj
= Py_None
;
5526 static PyObject
* wxPyPolygonShape_Create(wxPyPolygonShape
*self
,PyObject
* points
) {
5527 wxList
* list
= wxPy_wxRealPoint_ListHelper(points
);
5535 static PyObject
*_wrap_wxPyPolygonShape_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5536 PyObject
* _resultobj
;
5538 wxPyPolygonShape
* _arg0
;
5540 PyObject
* _argo0
= 0;
5541 PyObject
* _obj1
= 0;
5542 char *_kwnames
[] = { "self","points", NULL
};
5545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPolygonShape_Create",_kwnames
,&_argo0
,&_obj1
))
5548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
5550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_Create. Expected _wxPyPolygonShape_p.");
5558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5559 _result
= (PyObject
*)wxPyPolygonShape_Create(_arg0
,_arg1
);
5561 wxPyEndAllowThreads(__tstate
);
5562 if (PyErr_Occurred()) return NULL
;
5564 _resultobj
= _result
;
5569 #define wxPyPolygonShape_AddPolygonPoint(_swigobj,_swigarg0) (_swigobj->AddPolygonPoint(_swigarg0))
5570 static PyObject
*_wrap_wxPyPolygonShape_AddPolygonPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5571 PyObject
* _resultobj
;
5572 wxPyPolygonShape
* _arg0
;
5573 int _arg1
= (int ) 0;
5574 PyObject
* _argo0
= 0;
5575 char *_kwnames
[] = { "self","pos", NULL
};
5578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyPolygonShape_AddPolygonPoint",_kwnames
,&_argo0
,&_arg1
))
5581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
5583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_AddPolygonPoint. Expected _wxPyPolygonShape_p.");
5588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5589 wxPyPolygonShape_AddPolygonPoint(_arg0
,_arg1
);
5591 wxPyEndAllowThreads(__tstate
);
5592 if (PyErr_Occurred()) return NULL
;
5593 } Py_INCREF(Py_None
);
5594 _resultobj
= Py_None
;
5598 #define wxPyPolygonShape_CalculatePolygonCentre(_swigobj) (_swigobj->CalculatePolygonCentre())
5599 static PyObject
*_wrap_wxPyPolygonShape_CalculatePolygonCentre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5600 PyObject
* _resultobj
;
5601 wxPyPolygonShape
* _arg0
;
5602 PyObject
* _argo0
= 0;
5603 char *_kwnames
[] = { "self", NULL
};
5606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPolygonShape_CalculatePolygonCentre",_kwnames
,&_argo0
))
5609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5610 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
5611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_CalculatePolygonCentre. Expected _wxPyPolygonShape_p.");
5616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5617 wxPyPolygonShape_CalculatePolygonCentre(_arg0
);
5619 wxPyEndAllowThreads(__tstate
);
5620 if (PyErr_Occurred()) return NULL
;
5621 } Py_INCREF(Py_None
);
5622 _resultobj
= Py_None
;
5626 #define wxPyPolygonShape_DeletePolygonPoint(_swigobj,_swigarg0) (_swigobj->DeletePolygonPoint(_swigarg0))
5627 static PyObject
*_wrap_wxPyPolygonShape_DeletePolygonPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5628 PyObject
* _resultobj
;
5629 wxPyPolygonShape
* _arg0
;
5630 int _arg1
= (int ) 0;
5631 PyObject
* _argo0
= 0;
5632 char *_kwnames
[] = { "self","pos", NULL
};
5635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyPolygonShape_DeletePolygonPoint",_kwnames
,&_argo0
,&_arg1
))
5638 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5639 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
5640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_DeletePolygonPoint. Expected _wxPyPolygonShape_p.");
5645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5646 wxPyPolygonShape_DeletePolygonPoint(_arg0
,_arg1
);
5648 wxPyEndAllowThreads(__tstate
);
5649 if (PyErr_Occurred()) return NULL
;
5650 } Py_INCREF(Py_None
);
5651 _resultobj
= Py_None
;
5655 static PyObject
* wxPyPolygonShape_GetPoints(wxPyPolygonShape
*self
) {
5656 wxList
* list
= self
->GetPoints();
5657 return wxPy_ConvertList(list
, "wxRealPoint");
5659 static PyObject
*_wrap_wxPyPolygonShape_GetPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5660 PyObject
* _resultobj
;
5662 wxPyPolygonShape
* _arg0
;
5663 PyObject
* _argo0
= 0;
5664 char *_kwnames
[] = { "self", NULL
};
5667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPolygonShape_GetPoints",_kwnames
,&_argo0
))
5670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
5672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_GetPoints. Expected _wxPyPolygonShape_p.");
5677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5678 _result
= (PyObject
*)wxPyPolygonShape_GetPoints(_arg0
);
5680 wxPyEndAllowThreads(__tstate
);
5681 if (PyErr_Occurred()) return NULL
;
5683 _resultobj
= _result
;
5688 #define wxPyPolygonShape_UpdateOriginalPoints(_swigobj) (_swigobj->UpdateOriginalPoints())
5689 static PyObject
*_wrap_wxPyPolygonShape_UpdateOriginalPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5690 PyObject
* _resultobj
;
5691 wxPyPolygonShape
* _arg0
;
5692 PyObject
* _argo0
= 0;
5693 char *_kwnames
[] = { "self", NULL
};
5696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPolygonShape_UpdateOriginalPoints",_kwnames
,&_argo0
))
5699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
5701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_UpdateOriginalPoints. Expected _wxPyPolygonShape_p.");
5706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5707 wxPyPolygonShape_UpdateOriginalPoints(_arg0
);
5709 wxPyEndAllowThreads(__tstate
);
5710 if (PyErr_Occurred()) return NULL
;
5711 } Py_INCREF(Py_None
);
5712 _resultobj
= Py_None
;
5716 #define wxPyPolygonShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
5717 static PyObject
*_wrap_wxPyPolygonShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5718 PyObject
* _resultobj
;
5719 wxPyPolygonShape
* _arg0
;
5721 PyObject
* _argo0
= 0;
5722 PyObject
* _argo1
= 0;
5723 char *_kwnames
[] = { "self","dc", NULL
};
5726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPolygonShape_base_OnDraw",_kwnames
,&_argo0
,&_argo1
))
5729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
5731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnDraw. Expected _wxPyPolygonShape_p.");
5736 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5737 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPolygonShape_base_OnDraw. Expected _wxDC_p.");
5743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5744 wxPyPolygonShape_base_OnDraw(_arg0
,*_arg1
);
5746 wxPyEndAllowThreads(__tstate
);
5747 if (PyErr_Occurred()) return NULL
;
5748 } Py_INCREF(Py_None
);
5749 _resultobj
= Py_None
;
5753 #define wxPyPolygonShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
5754 static PyObject
*_wrap_wxPyPolygonShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5755 PyObject
* _resultobj
;
5756 wxPyPolygonShape
* _arg0
;
5758 PyObject
* _argo0
= 0;
5759 PyObject
* _argo1
= 0;
5760 char *_kwnames
[] = { "self","dc", NULL
};
5763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPolygonShape_base_OnDrawContents",_kwnames
,&_argo0
,&_argo1
))
5766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
5768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnDrawContents. Expected _wxPyPolygonShape_p.");
5773 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5774 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPolygonShape_base_OnDrawContents. Expected _wxDC_p.");
5780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5781 wxPyPolygonShape_base_OnDrawContents(_arg0
,*_arg1
);
5783 wxPyEndAllowThreads(__tstate
);
5784 if (PyErr_Occurred()) return NULL
;
5785 } Py_INCREF(Py_None
);
5786 _resultobj
= Py_None
;
5790 #define wxPyPolygonShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
5791 static PyObject
*_wrap_wxPyPolygonShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5792 PyObject
* _resultobj
;
5793 wxPyPolygonShape
* _arg0
;
5795 bool _arg2
= (bool ) FALSE
;
5796 PyObject
* _argo0
= 0;
5797 PyObject
* _argo1
= 0;
5798 int tempbool2
= (int) FALSE
;
5799 char *_kwnames
[] = { "self","dc","erase", NULL
};
5802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyPolygonShape_base_OnDrawBranches",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
5805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
5807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnDrawBranches. Expected _wxPyPolygonShape_p.");
5812 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5813 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPolygonShape_base_OnDrawBranches. Expected _wxDC_p.");
5818 _arg2
= (bool ) tempbool2
;
5820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5821 wxPyPolygonShape_base_OnDrawBranches(_arg0
,*_arg1
,_arg2
);
5823 wxPyEndAllowThreads(__tstate
);
5824 if (PyErr_Occurred()) return NULL
;
5825 } Py_INCREF(Py_None
);
5826 _resultobj
= Py_None
;
5830 #define wxPyPolygonShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
5831 static PyObject
*_wrap_wxPyPolygonShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5832 PyObject
* _resultobj
;
5833 wxPyPolygonShape
* _arg0
;
5835 PyObject
* _argo0
= 0;
5836 PyObject
* _argo1
= 0;
5837 char *_kwnames
[] = { "self","dc", NULL
};
5840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPolygonShape_base_OnMoveLinks",_kwnames
,&_argo0
,&_argo1
))
5843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
5845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnMoveLinks. Expected _wxPyPolygonShape_p.");
5850 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5851 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPolygonShape_base_OnMoveLinks. Expected _wxDC_p.");
5857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5858 wxPyPolygonShape_base_OnMoveLinks(_arg0
,*_arg1
);
5860 wxPyEndAllowThreads(__tstate
);
5861 if (PyErr_Occurred()) return NULL
;
5862 } Py_INCREF(Py_None
);
5863 _resultobj
= Py_None
;
5867 #define wxPyPolygonShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
5868 static PyObject
*_wrap_wxPyPolygonShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5869 PyObject
* _resultobj
;
5870 wxPyPolygonShape
* _arg0
;
5872 PyObject
* _argo0
= 0;
5873 PyObject
* _argo1
= 0;
5874 char *_kwnames
[] = { "self","dc", NULL
};
5877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPolygonShape_base_OnErase",_kwnames
,&_argo0
,&_argo1
))
5880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
5882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnErase. Expected _wxPyPolygonShape_p.");
5887 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5888 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPolygonShape_base_OnErase. Expected _wxDC_p.");
5894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5895 wxPyPolygonShape_base_OnErase(_arg0
,*_arg1
);
5897 wxPyEndAllowThreads(__tstate
);
5898 if (PyErr_Occurred()) return NULL
;
5899 } Py_INCREF(Py_None
);
5900 _resultobj
= Py_None
;
5904 #define wxPyPolygonShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
5905 static PyObject
*_wrap_wxPyPolygonShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5906 PyObject
* _resultobj
;
5907 wxPyPolygonShape
* _arg0
;
5909 PyObject
* _argo0
= 0;
5910 PyObject
* _argo1
= 0;
5911 char *_kwnames
[] = { "self","dc", NULL
};
5914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPolygonShape_base_OnEraseContents",_kwnames
,&_argo0
,&_argo1
))
5917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
5919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnEraseContents. Expected _wxPyPolygonShape_p.");
5924 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5925 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPolygonShape_base_OnEraseContents. Expected _wxDC_p.");
5931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5932 wxPyPolygonShape_base_OnEraseContents(_arg0
,*_arg1
);
5934 wxPyEndAllowThreads(__tstate
);
5935 if (PyErr_Occurred()) return NULL
;
5936 } Py_INCREF(Py_None
);
5937 _resultobj
= Py_None
;
5941 #define wxPyPolygonShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
5942 static PyObject
*_wrap_wxPyPolygonShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5943 PyObject
* _resultobj
;
5944 wxPyPolygonShape
* _arg0
;
5946 PyObject
* _argo0
= 0;
5947 PyObject
* _argo1
= 0;
5948 char *_kwnames
[] = { "self","dc", NULL
};
5951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPolygonShape_base_OnHighlight",_kwnames
,&_argo0
,&_argo1
))
5954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
5956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnHighlight. Expected _wxPyPolygonShape_p.");
5961 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5962 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPolygonShape_base_OnHighlight. Expected _wxDC_p.");
5968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5969 wxPyPolygonShape_base_OnHighlight(_arg0
,*_arg1
);
5971 wxPyEndAllowThreads(__tstate
);
5972 if (PyErr_Occurred()) return NULL
;
5973 } Py_INCREF(Py_None
);
5974 _resultobj
= Py_None
;
5978 #define wxPyPolygonShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5979 static PyObject
*_wrap_wxPyPolygonShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5980 PyObject
* _resultobj
;
5981 wxPyPolygonShape
* _arg0
;
5984 int _arg3
= (int ) 0;
5985 int _arg4
= (int ) 0;
5986 PyObject
* _argo0
= 0;
5987 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
5990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyPolygonShape_base_OnLeftClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
5993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
5995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnLeftClick. Expected _wxPyPolygonShape_p.");
6000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6001 wxPyPolygonShape_base_OnLeftClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6003 wxPyEndAllowThreads(__tstate
);
6004 if (PyErr_Occurred()) return NULL
;
6005 } Py_INCREF(Py_None
);
6006 _resultobj
= Py_None
;
6010 #define wxPyPolygonShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6011 static PyObject
*_wrap_wxPyPolygonShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6012 PyObject
* _resultobj
;
6013 wxPyPolygonShape
* _arg0
;
6016 int _arg3
= (int ) 0;
6017 int _arg4
= (int ) 0;
6018 PyObject
* _argo0
= 0;
6019 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
6022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyPolygonShape_base_OnLeftDoubleClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
6025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
6027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnLeftDoubleClick. Expected _wxPyPolygonShape_p.");
6032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6033 wxPyPolygonShape_base_OnLeftDoubleClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6035 wxPyEndAllowThreads(__tstate
);
6036 if (PyErr_Occurred()) return NULL
;
6037 } Py_INCREF(Py_None
);
6038 _resultobj
= Py_None
;
6042 #define wxPyPolygonShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6043 static PyObject
*_wrap_wxPyPolygonShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6044 PyObject
* _resultobj
;
6045 wxPyPolygonShape
* _arg0
;
6048 int _arg3
= (int ) 0;
6049 int _arg4
= (int ) 0;
6050 PyObject
* _argo0
= 0;
6051 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
6054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyPolygonShape_base_OnRightClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
6057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
6059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnRightClick. Expected _wxPyPolygonShape_p.");
6064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6065 wxPyPolygonShape_base_OnRightClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6067 wxPyEndAllowThreads(__tstate
);
6068 if (PyErr_Occurred()) return NULL
;
6069 } Py_INCREF(Py_None
);
6070 _resultobj
= Py_None
;
6074 #define wxPyPolygonShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
6075 static PyObject
*_wrap_wxPyPolygonShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6076 PyObject
* _resultobj
;
6077 wxPyPolygonShape
* _arg0
;
6080 PyObject
* _argo0
= 0;
6081 char *_kwnames
[] = { "self","x","y", NULL
};
6084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyPolygonShape_base_OnSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
6089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnSize. Expected _wxPyPolygonShape_p.");
6094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6095 wxPyPolygonShape_base_OnSize(_arg0
,_arg1
,_arg2
);
6097 wxPyEndAllowThreads(__tstate
);
6098 if (PyErr_Occurred()) return NULL
;
6099 } Py_INCREF(Py_None
);
6100 _resultobj
= Py_None
;
6104 #define wxPyPolygonShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6105 static PyObject
*_wrap_wxPyPolygonShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6106 PyObject
* _resultobj
;
6108 wxPyPolygonShape
* _arg0
;
6114 bool _arg6
= (bool ) TRUE
;
6115 PyObject
* _argo0
= 0;
6116 PyObject
* _argo1
= 0;
6117 int tempbool6
= (int) TRUE
;
6118 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
6121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyPolygonShape_base_OnMovePre",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
6124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
6126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnMovePre. Expected _wxPyPolygonShape_p.");
6131 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6132 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPolygonShape_base_OnMovePre. Expected _wxDC_p.");
6137 _arg6
= (bool ) tempbool6
;
6139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6140 _result
= (bool )wxPyPolygonShape_base_OnMovePre(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
6142 wxPyEndAllowThreads(__tstate
);
6143 if (PyErr_Occurred()) return NULL
;
6144 } _resultobj
= Py_BuildValue("i",_result
);
6148 #define wxPyPolygonShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6149 static PyObject
*_wrap_wxPyPolygonShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6150 PyObject
* _resultobj
;
6151 wxPyPolygonShape
* _arg0
;
6157 bool _arg6
= (bool ) TRUE
;
6158 PyObject
* _argo0
= 0;
6159 PyObject
* _argo1
= 0;
6160 int tempbool6
= (int) TRUE
;
6161 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
6164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyPolygonShape_base_OnMovePost",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
6167 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6168 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
6169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnMovePost. Expected _wxPyPolygonShape_p.");
6174 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6175 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPolygonShape_base_OnMovePost. Expected _wxDC_p.");
6180 _arg6
= (bool ) tempbool6
;
6182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6183 wxPyPolygonShape_base_OnMovePost(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
6185 wxPyEndAllowThreads(__tstate
);
6186 if (PyErr_Occurred()) return NULL
;
6187 } Py_INCREF(Py_None
);
6188 _resultobj
= Py_None
;
6192 #define wxPyPolygonShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6193 static PyObject
*_wrap_wxPyPolygonShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6194 PyObject
* _resultobj
;
6195 wxPyPolygonShape
* _arg0
;
6199 int _arg4
= (int ) 0;
6200 int _arg5
= (int ) 0;
6201 PyObject
* _argo0
= 0;
6203 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
6206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyPolygonShape_base_OnDragLeft",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
6209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
6211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnDragLeft. Expected _wxPyPolygonShape_p.");
6215 _arg1
= (bool ) tempbool1
;
6217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6218 wxPyPolygonShape_base_OnDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
6220 wxPyEndAllowThreads(__tstate
);
6221 if (PyErr_Occurred()) return NULL
;
6222 } Py_INCREF(Py_None
);
6223 _resultobj
= Py_None
;
6227 #define wxPyPolygonShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6228 static PyObject
*_wrap_wxPyPolygonShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6229 PyObject
* _resultobj
;
6230 wxPyPolygonShape
* _arg0
;
6233 int _arg3
= (int ) 0;
6234 int _arg4
= (int ) 0;
6235 PyObject
* _argo0
= 0;
6236 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
6239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyPolygonShape_base_OnBeginDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
6242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
6244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnBeginDragLeft. Expected _wxPyPolygonShape_p.");
6249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6250 wxPyPolygonShape_base_OnBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6252 wxPyEndAllowThreads(__tstate
);
6253 if (PyErr_Occurred()) return NULL
;
6254 } Py_INCREF(Py_None
);
6255 _resultobj
= Py_None
;
6259 #define wxPyPolygonShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6260 static PyObject
*_wrap_wxPyPolygonShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6261 PyObject
* _resultobj
;
6262 wxPyPolygonShape
* _arg0
;
6265 int _arg3
= (int ) 0;
6266 int _arg4
= (int ) 0;
6267 PyObject
* _argo0
= 0;
6268 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
6271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyPolygonShape_base_OnEndDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
6274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
6276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnEndDragLeft. Expected _wxPyPolygonShape_p.");
6281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6282 wxPyPolygonShape_base_OnEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6284 wxPyEndAllowThreads(__tstate
);
6285 if (PyErr_Occurred()) return NULL
;
6286 } Py_INCREF(Py_None
);
6287 _resultobj
= Py_None
;
6291 #define wxPyPolygonShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6292 static PyObject
*_wrap_wxPyPolygonShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6293 PyObject
* _resultobj
;
6294 wxPyPolygonShape
* _arg0
;
6298 int _arg4
= (int ) 0;
6299 int _arg5
= (int ) 0;
6300 PyObject
* _argo0
= 0;
6302 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
6305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyPolygonShape_base_OnDragRight",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
6308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
6310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnDragRight. Expected _wxPyPolygonShape_p.");
6314 _arg1
= (bool ) tempbool1
;
6316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6317 wxPyPolygonShape_base_OnDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
6319 wxPyEndAllowThreads(__tstate
);
6320 if (PyErr_Occurred()) return NULL
;
6321 } Py_INCREF(Py_None
);
6322 _resultobj
= Py_None
;
6326 #define wxPyPolygonShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6327 static PyObject
*_wrap_wxPyPolygonShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6328 PyObject
* _resultobj
;
6329 wxPyPolygonShape
* _arg0
;
6332 int _arg3
= (int ) 0;
6333 int _arg4
= (int ) 0;
6334 PyObject
* _argo0
= 0;
6335 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
6338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyPolygonShape_base_OnBeginDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
6341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
6343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnBeginDragRight. Expected _wxPyPolygonShape_p.");
6348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6349 wxPyPolygonShape_base_OnBeginDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6351 wxPyEndAllowThreads(__tstate
);
6352 if (PyErr_Occurred()) return NULL
;
6353 } Py_INCREF(Py_None
);
6354 _resultobj
= Py_None
;
6358 #define wxPyPolygonShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6359 static PyObject
*_wrap_wxPyPolygonShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6360 PyObject
* _resultobj
;
6361 wxPyPolygonShape
* _arg0
;
6364 int _arg3
= (int ) 0;
6365 int _arg4
= (int ) 0;
6366 PyObject
* _argo0
= 0;
6367 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
6370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyPolygonShape_base_OnEndDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
6373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
6375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnEndDragRight. Expected _wxPyPolygonShape_p.");
6380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6381 wxPyPolygonShape_base_OnEndDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6383 wxPyEndAllowThreads(__tstate
);
6384 if (PyErr_Occurred()) return NULL
;
6385 } Py_INCREF(Py_None
);
6386 _resultobj
= Py_None
;
6390 #define wxPyPolygonShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6391 static PyObject
*_wrap_wxPyPolygonShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6392 PyObject
* _resultobj
;
6393 wxPyPolygonShape
* _arg0
;
6399 PyObject
* _argo0
= 0;
6400 PyObject
* _argo1
= 0;
6401 char *_kwnames
[] = { "self","dc","x","y","w","h", NULL
};
6404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd:wxPyPolygonShape_base_OnDrawOutline",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
6407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
6409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnDrawOutline. Expected _wxPyPolygonShape_p.");
6414 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6415 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPolygonShape_base_OnDrawOutline. Expected _wxDC_p.");
6421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6422 wxPyPolygonShape_base_OnDrawOutline(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
6424 wxPyEndAllowThreads(__tstate
);
6425 if (PyErr_Occurred()) return NULL
;
6426 } Py_INCREF(Py_None
);
6427 _resultobj
= Py_None
;
6431 #define wxPyPolygonShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
6432 static PyObject
*_wrap_wxPyPolygonShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6433 PyObject
* _resultobj
;
6434 wxPyPolygonShape
* _arg0
;
6436 PyObject
* _argo0
= 0;
6437 PyObject
* _argo1
= 0;
6438 char *_kwnames
[] = { "self","dc", NULL
};
6441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPolygonShape_base_OnDrawControlPoints",_kwnames
,&_argo0
,&_argo1
))
6444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
6446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnDrawControlPoints. Expected _wxPyPolygonShape_p.");
6451 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6452 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPolygonShape_base_OnDrawControlPoints. Expected _wxDC_p.");
6458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6459 wxPyPolygonShape_base_OnDrawControlPoints(_arg0
,*_arg1
);
6461 wxPyEndAllowThreads(__tstate
);
6462 if (PyErr_Occurred()) return NULL
;
6463 } Py_INCREF(Py_None
);
6464 _resultobj
= Py_None
;
6468 #define wxPyPolygonShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
6469 static PyObject
*_wrap_wxPyPolygonShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6470 PyObject
* _resultobj
;
6471 wxPyPolygonShape
* _arg0
;
6473 PyObject
* _argo0
= 0;
6474 PyObject
* _argo1
= 0;
6475 char *_kwnames
[] = { "self","dc", NULL
};
6478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPolygonShape_base_OnEraseControlPoints",_kwnames
,&_argo0
,&_argo1
))
6481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
6483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnEraseControlPoints. Expected _wxPyPolygonShape_p.");
6488 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6489 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPolygonShape_base_OnEraseControlPoints. Expected _wxDC_p.");
6495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6496 wxPyPolygonShape_base_OnEraseControlPoints(_arg0
,*_arg1
);
6498 wxPyEndAllowThreads(__tstate
);
6499 if (PyErr_Occurred()) return NULL
;
6500 } Py_INCREF(Py_None
);
6501 _resultobj
= Py_None
;
6505 #define wxPyPolygonShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
6506 static PyObject
*_wrap_wxPyPolygonShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6507 PyObject
* _resultobj
;
6508 wxPyPolygonShape
* _arg0
;
6510 bool _arg2
= (bool ) TRUE
;
6511 PyObject
* _argo0
= 0;
6512 PyObject
* _argo1
= 0;
6513 int tempbool2
= (int) TRUE
;
6514 char *_kwnames
[] = { "self","dc","moveControlPoints", NULL
};
6517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyPolygonShape_base_OnMoveLink",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
6520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
6522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnMoveLink. Expected _wxPyPolygonShape_p.");
6527 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6528 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPolygonShape_base_OnMoveLink. Expected _wxDC_p.");
6533 _arg2
= (bool ) tempbool2
;
6535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6536 wxPyPolygonShape_base_OnMoveLink(_arg0
,*_arg1
,_arg2
);
6538 wxPyEndAllowThreads(__tstate
);
6539 if (PyErr_Occurred()) return NULL
;
6540 } Py_INCREF(Py_None
);
6541 _resultobj
= Py_None
;
6545 #define wxPyPolygonShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6546 static PyObject
*_wrap_wxPyPolygonShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6547 PyObject
* _resultobj
;
6548 wxPyPolygonShape
* _arg0
;
6549 wxPyControlPoint
* _arg1
;
6553 int _arg5
= (int ) 0;
6554 int _arg6
= (int ) 0;
6555 PyObject
* _argo0
= 0;
6556 PyObject
* _argo1
= 0;
6558 char *_kwnames
[] = { "self","pt","draw","x","y","keys","attachment", NULL
};
6561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOidd|ii:wxPyPolygonShape_base_OnSizingDragLeft",_kwnames
,&_argo0
,&_argo1
,&tempbool2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
6564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
6566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnSizingDragLeft. Expected _wxPyPolygonShape_p.");
6571 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6572 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
6573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPolygonShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
6577 _arg2
= (bool ) tempbool2
;
6579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6580 wxPyPolygonShape_base_OnSizingDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
6582 wxPyEndAllowThreads(__tstate
);
6583 if (PyErr_Occurred()) return NULL
;
6584 } Py_INCREF(Py_None
);
6585 _resultobj
= Py_None
;
6589 #define wxPyPolygonShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6590 static PyObject
*_wrap_wxPyPolygonShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6591 PyObject
* _resultobj
;
6592 wxPyPolygonShape
* _arg0
;
6593 wxPyControlPoint
* _arg1
;
6596 int _arg4
= (int ) 0;
6597 int _arg5
= (int ) 0;
6598 PyObject
* _argo0
= 0;
6599 PyObject
* _argo1
= 0;
6600 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
6603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyPolygonShape_base_OnSizingBeginDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
6606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
6608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnSizingBeginDragLeft. Expected _wxPyPolygonShape_p.");
6613 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6614 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
6615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPolygonShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
6620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6621 wxPyPolygonShape_base_OnSizingBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
6623 wxPyEndAllowThreads(__tstate
);
6624 if (PyErr_Occurred()) return NULL
;
6625 } Py_INCREF(Py_None
);
6626 _resultobj
= Py_None
;
6630 #define wxPyPolygonShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6631 static PyObject
*_wrap_wxPyPolygonShape_base_OnSizingEndDragLeft(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_OnSizingEndDragLeft",_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_OnSizingEndDragLeft. 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_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
6661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6662 wxPyPolygonShape_base_OnSizingEndDragLeft(_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_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
6672 static PyObject
*_wrap_wxPyPolygonShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6673 PyObject
* _resultobj
;
6674 wxPyPolygonShape
* _arg0
;
6677 PyObject
* _argo0
= 0;
6678 char *_kwnames
[] = { "self","w","h", NULL
};
6681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyPolygonShape_base_OnBeginSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
6686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnBeginSize. Expected _wxPyPolygonShape_p.");
6691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6692 wxPyPolygonShape_base_OnBeginSize(_arg0
,_arg1
,_arg2
);
6694 wxPyEndAllowThreads(__tstate
);
6695 if (PyErr_Occurred()) return NULL
;
6696 } Py_INCREF(Py_None
);
6697 _resultobj
= Py_None
;
6701 #define wxPyPolygonShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
6702 static PyObject
*_wrap_wxPyPolygonShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6703 PyObject
* _resultobj
;
6704 wxPyPolygonShape
* _arg0
;
6707 PyObject
* _argo0
= 0;
6708 char *_kwnames
[] = { "self","w","h", NULL
};
6711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyPolygonShape_base_OnEndSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
6716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnEndSize. Expected _wxPyPolygonShape_p.");
6721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6722 wxPyPolygonShape_base_OnEndSize(_arg0
,_arg1
,_arg2
);
6724 wxPyEndAllowThreads(__tstate
);
6725 if (PyErr_Occurred()) return NULL
;
6726 } Py_INCREF(Py_None
);
6727 _resultobj
= Py_None
;
6731 static void *SwigwxPyTextShapeTowxPyRectangleShape(void *ptr
) {
6733 wxPyRectangleShape
*dest
;
6734 src
= (wxPyTextShape
*) ptr
;
6735 dest
= (wxPyRectangleShape
*) src
;
6736 return (void *) dest
;
6739 static void *SwigwxPyTextShapeTowxPyShape(void *ptr
) {
6742 src
= (wxPyTextShape
*) ptr
;
6743 dest
= (wxPyShape
*) src
;
6744 return (void *) dest
;
6747 static void *SwigwxPyTextShapeTowxPyShapeEvtHandler(void *ptr
) {
6749 wxPyShapeEvtHandler
*dest
;
6750 src
= (wxPyTextShape
*) ptr
;
6751 dest
= (wxPyShapeEvtHandler
*) src
;
6752 return (void *) dest
;
6755 static void *SwigwxPyTextShapeTowxObject(void *ptr
) {
6758 src
= (wxPyTextShape
*) ptr
;
6759 dest
= (wxObject
*) src
;
6760 return (void *) dest
;
6763 #define new_wxPyTextShape(_swigarg0,_swigarg1) (new wxPyTextShape(_swigarg0,_swigarg1))
6764 static PyObject
*_wrap_new_wxPyTextShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6765 PyObject
* _resultobj
;
6766 wxPyTextShape
* _result
;
6767 double _arg0
= (double ) 0.0;
6768 double _arg1
= (double ) 0.0;
6769 char *_kwnames
[] = { "width","height", NULL
};
6773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|dd:new_wxPyTextShape",_kwnames
,&_arg0
,&_arg1
))
6776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6777 _result
= (wxPyTextShape
*)new_wxPyTextShape(_arg0
,_arg1
);
6779 wxPyEndAllowThreads(__tstate
);
6780 if (PyErr_Occurred()) return NULL
;
6782 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTextShape_p");
6783 _resultobj
= Py_BuildValue("s",_ptemp
);
6786 _resultobj
= Py_None
;
6791 #define wxPyTextShape__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6792 static PyObject
*_wrap_wxPyTextShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6793 PyObject
* _resultobj
;
6794 wxPyTextShape
* _arg0
;
6797 PyObject
* _argo0
= 0;
6798 PyObject
* _obj1
= 0;
6799 PyObject
* _obj2
= 0;
6800 char *_kwnames
[] = { "self","self","_class", NULL
};
6803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyTextShape__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
6808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape__setCallbackInfo. Expected _wxPyTextShape_p.");
6819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6820 wxPyTextShape__setCallbackInfo(_arg0
,_arg1
,_arg2
);
6822 wxPyEndAllowThreads(__tstate
);
6823 if (PyErr_Occurred()) return NULL
;
6824 } Py_INCREF(Py_None
);
6825 _resultobj
= Py_None
;
6829 #define wxPyTextShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
6830 static PyObject
*_wrap_wxPyTextShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6831 PyObject
* _resultobj
;
6832 wxPyTextShape
* _arg0
;
6833 PyObject
* _argo0
= 0;
6834 char *_kwnames
[] = { "self", NULL
};
6837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTextShape_base_OnDelete",_kwnames
,&_argo0
))
6840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
6842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnDelete. Expected _wxPyTextShape_p.");
6847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6848 wxPyTextShape_base_OnDelete(_arg0
);
6850 wxPyEndAllowThreads(__tstate
);
6851 if (PyErr_Occurred()) return NULL
;
6852 } Py_INCREF(Py_None
);
6853 _resultobj
= Py_None
;
6857 #define wxPyTextShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
6858 static PyObject
*_wrap_wxPyTextShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6859 PyObject
* _resultobj
;
6860 wxPyTextShape
* _arg0
;
6862 PyObject
* _argo0
= 0;
6863 PyObject
* _argo1
= 0;
6864 char *_kwnames
[] = { "self","dc", NULL
};
6867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyTextShape_base_OnDraw",_kwnames
,&_argo0
,&_argo1
))
6870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
6872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnDraw. Expected _wxPyTextShape_p.");
6877 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6878 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTextShape_base_OnDraw. Expected _wxDC_p.");
6884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6885 wxPyTextShape_base_OnDraw(_arg0
,*_arg1
);
6887 wxPyEndAllowThreads(__tstate
);
6888 if (PyErr_Occurred()) return NULL
;
6889 } Py_INCREF(Py_None
);
6890 _resultobj
= Py_None
;
6894 #define wxPyTextShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
6895 static PyObject
*_wrap_wxPyTextShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6896 PyObject
* _resultobj
;
6897 wxPyTextShape
* _arg0
;
6899 PyObject
* _argo0
= 0;
6900 PyObject
* _argo1
= 0;
6901 char *_kwnames
[] = { "self","dc", NULL
};
6904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyTextShape_base_OnDrawContents",_kwnames
,&_argo0
,&_argo1
))
6907 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6908 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
6909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnDrawContents. Expected _wxPyTextShape_p.");
6914 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6915 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTextShape_base_OnDrawContents. Expected _wxDC_p.");
6921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6922 wxPyTextShape_base_OnDrawContents(_arg0
,*_arg1
);
6924 wxPyEndAllowThreads(__tstate
);
6925 if (PyErr_Occurred()) return NULL
;
6926 } Py_INCREF(Py_None
);
6927 _resultobj
= Py_None
;
6931 #define wxPyTextShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
6932 static PyObject
*_wrap_wxPyTextShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6933 PyObject
* _resultobj
;
6934 wxPyTextShape
* _arg0
;
6936 bool _arg2
= (bool ) FALSE
;
6937 PyObject
* _argo0
= 0;
6938 PyObject
* _argo1
= 0;
6939 int tempbool2
= (int) FALSE
;
6940 char *_kwnames
[] = { "self","dc","erase", NULL
};
6943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyTextShape_base_OnDrawBranches",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
6946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
6948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnDrawBranches. Expected _wxPyTextShape_p.");
6953 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6954 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTextShape_base_OnDrawBranches. Expected _wxDC_p.");
6959 _arg2
= (bool ) tempbool2
;
6961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6962 wxPyTextShape_base_OnDrawBranches(_arg0
,*_arg1
,_arg2
);
6964 wxPyEndAllowThreads(__tstate
);
6965 if (PyErr_Occurred()) return NULL
;
6966 } Py_INCREF(Py_None
);
6967 _resultobj
= Py_None
;
6971 #define wxPyTextShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
6972 static PyObject
*_wrap_wxPyTextShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6973 PyObject
* _resultobj
;
6974 wxPyTextShape
* _arg0
;
6976 PyObject
* _argo0
= 0;
6977 PyObject
* _argo1
= 0;
6978 char *_kwnames
[] = { "self","dc", NULL
};
6981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyTextShape_base_OnMoveLinks",_kwnames
,&_argo0
,&_argo1
))
6984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
6986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnMoveLinks. Expected _wxPyTextShape_p.");
6991 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6992 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTextShape_base_OnMoveLinks. Expected _wxDC_p.");
6998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6999 wxPyTextShape_base_OnMoveLinks(_arg0
,*_arg1
);
7001 wxPyEndAllowThreads(__tstate
);
7002 if (PyErr_Occurred()) return NULL
;
7003 } Py_INCREF(Py_None
);
7004 _resultobj
= Py_None
;
7008 #define wxPyTextShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
7009 static PyObject
*_wrap_wxPyTextShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7010 PyObject
* _resultobj
;
7011 wxPyTextShape
* _arg0
;
7013 PyObject
* _argo0
= 0;
7014 PyObject
* _argo1
= 0;
7015 char *_kwnames
[] = { "self","dc", NULL
};
7018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyTextShape_base_OnErase",_kwnames
,&_argo0
,&_argo1
))
7021 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7022 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnErase. Expected _wxPyTextShape_p.");
7028 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7029 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTextShape_base_OnErase. Expected _wxDC_p.");
7035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7036 wxPyTextShape_base_OnErase(_arg0
,*_arg1
);
7038 wxPyEndAllowThreads(__tstate
);
7039 if (PyErr_Occurred()) return NULL
;
7040 } Py_INCREF(Py_None
);
7041 _resultobj
= Py_None
;
7045 #define wxPyTextShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
7046 static PyObject
*_wrap_wxPyTextShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7047 PyObject
* _resultobj
;
7048 wxPyTextShape
* _arg0
;
7050 PyObject
* _argo0
= 0;
7051 PyObject
* _argo1
= 0;
7052 char *_kwnames
[] = { "self","dc", NULL
};
7055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyTextShape_base_OnEraseContents",_kwnames
,&_argo0
,&_argo1
))
7058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnEraseContents. Expected _wxPyTextShape_p.");
7065 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7066 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTextShape_base_OnEraseContents. Expected _wxDC_p.");
7072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7073 wxPyTextShape_base_OnEraseContents(_arg0
,*_arg1
);
7075 wxPyEndAllowThreads(__tstate
);
7076 if (PyErr_Occurred()) return NULL
;
7077 } Py_INCREF(Py_None
);
7078 _resultobj
= Py_None
;
7082 #define wxPyTextShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
7083 static PyObject
*_wrap_wxPyTextShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7084 PyObject
* _resultobj
;
7085 wxPyTextShape
* _arg0
;
7087 PyObject
* _argo0
= 0;
7088 PyObject
* _argo1
= 0;
7089 char *_kwnames
[] = { "self","dc", NULL
};
7092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyTextShape_base_OnHighlight",_kwnames
,&_argo0
,&_argo1
))
7095 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7096 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnHighlight. Expected _wxPyTextShape_p.");
7102 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7103 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTextShape_base_OnHighlight. Expected _wxDC_p.");
7109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7110 wxPyTextShape_base_OnHighlight(_arg0
,*_arg1
);
7112 wxPyEndAllowThreads(__tstate
);
7113 if (PyErr_Occurred()) return NULL
;
7114 } Py_INCREF(Py_None
);
7115 _resultobj
= Py_None
;
7119 #define wxPyTextShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7120 static PyObject
*_wrap_wxPyTextShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7121 PyObject
* _resultobj
;
7122 wxPyTextShape
* _arg0
;
7125 int _arg3
= (int ) 0;
7126 int _arg4
= (int ) 0;
7127 PyObject
* _argo0
= 0;
7128 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyTextShape_base_OnLeftClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnLeftClick. Expected _wxPyTextShape_p.");
7141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7142 wxPyTextShape_base_OnLeftClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7144 wxPyEndAllowThreads(__tstate
);
7145 if (PyErr_Occurred()) return NULL
;
7146 } Py_INCREF(Py_None
);
7147 _resultobj
= Py_None
;
7151 #define wxPyTextShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7152 static PyObject
*_wrap_wxPyTextShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7153 PyObject
* _resultobj
;
7154 wxPyTextShape
* _arg0
;
7157 int _arg3
= (int ) 0;
7158 int _arg4
= (int ) 0;
7159 PyObject
* _argo0
= 0;
7160 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyTextShape_base_OnLeftDoubleClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnLeftDoubleClick. Expected _wxPyTextShape_p.");
7173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7174 wxPyTextShape_base_OnLeftDoubleClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7176 wxPyEndAllowThreads(__tstate
);
7177 if (PyErr_Occurred()) return NULL
;
7178 } Py_INCREF(Py_None
);
7179 _resultobj
= Py_None
;
7183 #define wxPyTextShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7184 static PyObject
*_wrap_wxPyTextShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7185 PyObject
* _resultobj
;
7186 wxPyTextShape
* _arg0
;
7189 int _arg3
= (int ) 0;
7190 int _arg4
= (int ) 0;
7191 PyObject
* _argo0
= 0;
7192 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyTextShape_base_OnRightClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnRightClick. Expected _wxPyTextShape_p.");
7205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7206 wxPyTextShape_base_OnRightClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7208 wxPyEndAllowThreads(__tstate
);
7209 if (PyErr_Occurred()) return NULL
;
7210 } Py_INCREF(Py_None
);
7211 _resultobj
= Py_None
;
7215 #define wxPyTextShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
7216 static PyObject
*_wrap_wxPyTextShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7217 PyObject
* _resultobj
;
7218 wxPyTextShape
* _arg0
;
7221 PyObject
* _argo0
= 0;
7222 char *_kwnames
[] = { "self","x","y", NULL
};
7225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyTextShape_base_OnSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnSize. Expected _wxPyTextShape_p.");
7235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7236 wxPyTextShape_base_OnSize(_arg0
,_arg1
,_arg2
);
7238 wxPyEndAllowThreads(__tstate
);
7239 if (PyErr_Occurred()) return NULL
;
7240 } Py_INCREF(Py_None
);
7241 _resultobj
= Py_None
;
7245 #define wxPyTextShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7246 static PyObject
*_wrap_wxPyTextShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7247 PyObject
* _resultobj
;
7249 wxPyTextShape
* _arg0
;
7255 bool _arg6
= (bool ) TRUE
;
7256 PyObject
* _argo0
= 0;
7257 PyObject
* _argo1
= 0;
7258 int tempbool6
= (int) TRUE
;
7259 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
7262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyTextShape_base_OnMovePre",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
7265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnMovePre. Expected _wxPyTextShape_p.");
7272 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7273 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTextShape_base_OnMovePre. Expected _wxDC_p.");
7278 _arg6
= (bool ) tempbool6
;
7280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7281 _result
= (bool )wxPyTextShape_base_OnMovePre(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
7283 wxPyEndAllowThreads(__tstate
);
7284 if (PyErr_Occurred()) return NULL
;
7285 } _resultobj
= Py_BuildValue("i",_result
);
7289 #define wxPyTextShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7290 static PyObject
*_wrap_wxPyTextShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7291 PyObject
* _resultobj
;
7292 wxPyTextShape
* _arg0
;
7298 bool _arg6
= (bool ) TRUE
;
7299 PyObject
* _argo0
= 0;
7300 PyObject
* _argo1
= 0;
7301 int tempbool6
= (int) TRUE
;
7302 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
7305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyTextShape_base_OnMovePost",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
7308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnMovePost. Expected _wxPyTextShape_p.");
7315 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7316 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTextShape_base_OnMovePost. Expected _wxDC_p.");
7321 _arg6
= (bool ) tempbool6
;
7323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7324 wxPyTextShape_base_OnMovePost(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
7326 wxPyEndAllowThreads(__tstate
);
7327 if (PyErr_Occurred()) return NULL
;
7328 } Py_INCREF(Py_None
);
7329 _resultobj
= Py_None
;
7333 #define wxPyTextShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7334 static PyObject
*_wrap_wxPyTextShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7335 PyObject
* _resultobj
;
7336 wxPyTextShape
* _arg0
;
7340 int _arg4
= (int ) 0;
7341 int _arg5
= (int ) 0;
7342 PyObject
* _argo0
= 0;
7344 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
7347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyTextShape_base_OnDragLeft",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
7350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnDragLeft. Expected _wxPyTextShape_p.");
7356 _arg1
= (bool ) tempbool1
;
7358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7359 wxPyTextShape_base_OnDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7361 wxPyEndAllowThreads(__tstate
);
7362 if (PyErr_Occurred()) return NULL
;
7363 } Py_INCREF(Py_None
);
7364 _resultobj
= Py_None
;
7368 #define wxPyTextShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7369 static PyObject
*_wrap_wxPyTextShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7370 PyObject
* _resultobj
;
7371 wxPyTextShape
* _arg0
;
7374 int _arg3
= (int ) 0;
7375 int _arg4
= (int ) 0;
7376 PyObject
* _argo0
= 0;
7377 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyTextShape_base_OnBeginDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnBeginDragLeft. Expected _wxPyTextShape_p.");
7390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7391 wxPyTextShape_base_OnBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7393 wxPyEndAllowThreads(__tstate
);
7394 if (PyErr_Occurred()) return NULL
;
7395 } Py_INCREF(Py_None
);
7396 _resultobj
= Py_None
;
7400 #define wxPyTextShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7401 static PyObject
*_wrap_wxPyTextShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7402 PyObject
* _resultobj
;
7403 wxPyTextShape
* _arg0
;
7406 int _arg3
= (int ) 0;
7407 int _arg4
= (int ) 0;
7408 PyObject
* _argo0
= 0;
7409 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyTextShape_base_OnEndDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnEndDragLeft. Expected _wxPyTextShape_p.");
7422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7423 wxPyTextShape_base_OnEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7425 wxPyEndAllowThreads(__tstate
);
7426 if (PyErr_Occurred()) return NULL
;
7427 } Py_INCREF(Py_None
);
7428 _resultobj
= Py_None
;
7432 #define wxPyTextShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7433 static PyObject
*_wrap_wxPyTextShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7434 PyObject
* _resultobj
;
7435 wxPyTextShape
* _arg0
;
7439 int _arg4
= (int ) 0;
7440 int _arg5
= (int ) 0;
7441 PyObject
* _argo0
= 0;
7443 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
7446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyTextShape_base_OnDragRight",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
7449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnDragRight. Expected _wxPyTextShape_p.");
7455 _arg1
= (bool ) tempbool1
;
7457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7458 wxPyTextShape_base_OnDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7460 wxPyEndAllowThreads(__tstate
);
7461 if (PyErr_Occurred()) return NULL
;
7462 } Py_INCREF(Py_None
);
7463 _resultobj
= Py_None
;
7467 #define wxPyTextShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7468 static PyObject
*_wrap_wxPyTextShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7469 PyObject
* _resultobj
;
7470 wxPyTextShape
* _arg0
;
7473 int _arg3
= (int ) 0;
7474 int _arg4
= (int ) 0;
7475 PyObject
* _argo0
= 0;
7476 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyTextShape_base_OnBeginDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnBeginDragRight. Expected _wxPyTextShape_p.");
7489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7490 wxPyTextShape_base_OnBeginDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7492 wxPyEndAllowThreads(__tstate
);
7493 if (PyErr_Occurred()) return NULL
;
7494 } Py_INCREF(Py_None
);
7495 _resultobj
= Py_None
;
7499 #define wxPyTextShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7500 static PyObject
*_wrap_wxPyTextShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7501 PyObject
* _resultobj
;
7502 wxPyTextShape
* _arg0
;
7505 int _arg3
= (int ) 0;
7506 int _arg4
= (int ) 0;
7507 PyObject
* _argo0
= 0;
7508 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyTextShape_base_OnEndDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnEndDragRight. Expected _wxPyTextShape_p.");
7521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7522 wxPyTextShape_base_OnEndDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7524 wxPyEndAllowThreads(__tstate
);
7525 if (PyErr_Occurred()) return NULL
;
7526 } Py_INCREF(Py_None
);
7527 _resultobj
= Py_None
;
7531 #define wxPyTextShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7532 static PyObject
*_wrap_wxPyTextShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7533 PyObject
* _resultobj
;
7534 wxPyTextShape
* _arg0
;
7540 PyObject
* _argo0
= 0;
7541 PyObject
* _argo1
= 0;
7542 char *_kwnames
[] = { "self","dc","x","y","w","h", NULL
};
7545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd:wxPyTextShape_base_OnDrawOutline",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
7548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnDrawOutline. Expected _wxPyTextShape_p.");
7555 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7556 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTextShape_base_OnDrawOutline. Expected _wxDC_p.");
7562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7563 wxPyTextShape_base_OnDrawOutline(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7565 wxPyEndAllowThreads(__tstate
);
7566 if (PyErr_Occurred()) return NULL
;
7567 } Py_INCREF(Py_None
);
7568 _resultobj
= Py_None
;
7572 #define wxPyTextShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
7573 static PyObject
*_wrap_wxPyTextShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7574 PyObject
* _resultobj
;
7575 wxPyTextShape
* _arg0
;
7577 PyObject
* _argo0
= 0;
7578 PyObject
* _argo1
= 0;
7579 char *_kwnames
[] = { "self","dc", NULL
};
7582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyTextShape_base_OnDrawControlPoints",_kwnames
,&_argo0
,&_argo1
))
7585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnDrawControlPoints. Expected _wxPyTextShape_p.");
7592 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7593 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTextShape_base_OnDrawControlPoints. Expected _wxDC_p.");
7599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7600 wxPyTextShape_base_OnDrawControlPoints(_arg0
,*_arg1
);
7602 wxPyEndAllowThreads(__tstate
);
7603 if (PyErr_Occurred()) return NULL
;
7604 } Py_INCREF(Py_None
);
7605 _resultobj
= Py_None
;
7609 #define wxPyTextShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
7610 static PyObject
*_wrap_wxPyTextShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7611 PyObject
* _resultobj
;
7612 wxPyTextShape
* _arg0
;
7614 PyObject
* _argo0
= 0;
7615 PyObject
* _argo1
= 0;
7616 char *_kwnames
[] = { "self","dc", NULL
};
7619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyTextShape_base_OnEraseControlPoints",_kwnames
,&_argo0
,&_argo1
))
7622 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7623 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnEraseControlPoints. Expected _wxPyTextShape_p.");
7629 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7630 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTextShape_base_OnEraseControlPoints. Expected _wxDC_p.");
7636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7637 wxPyTextShape_base_OnEraseControlPoints(_arg0
,*_arg1
);
7639 wxPyEndAllowThreads(__tstate
);
7640 if (PyErr_Occurred()) return NULL
;
7641 } Py_INCREF(Py_None
);
7642 _resultobj
= Py_None
;
7646 #define wxPyTextShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
7647 static PyObject
*_wrap_wxPyTextShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7648 PyObject
* _resultobj
;
7649 wxPyTextShape
* _arg0
;
7651 bool _arg2
= (bool ) TRUE
;
7652 PyObject
* _argo0
= 0;
7653 PyObject
* _argo1
= 0;
7654 int tempbool2
= (int) TRUE
;
7655 char *_kwnames
[] = { "self","dc","moveControlPoints", NULL
};
7658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyTextShape_base_OnMoveLink",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
7661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnMoveLink. Expected _wxPyTextShape_p.");
7668 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7669 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTextShape_base_OnMoveLink. Expected _wxDC_p.");
7674 _arg2
= (bool ) tempbool2
;
7676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7677 wxPyTextShape_base_OnMoveLink(_arg0
,*_arg1
,_arg2
);
7679 wxPyEndAllowThreads(__tstate
);
7680 if (PyErr_Occurred()) return NULL
;
7681 } Py_INCREF(Py_None
);
7682 _resultobj
= Py_None
;
7686 #define wxPyTextShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7687 static PyObject
*_wrap_wxPyTextShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7688 PyObject
* _resultobj
;
7689 wxPyTextShape
* _arg0
;
7690 wxPyControlPoint
* _arg1
;
7694 int _arg5
= (int ) 0;
7695 int _arg6
= (int ) 0;
7696 PyObject
* _argo0
= 0;
7697 PyObject
* _argo1
= 0;
7699 char *_kwnames
[] = { "self","pt","draw","x","y","keys","attachment", NULL
};
7702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOidd|ii:wxPyTextShape_base_OnSizingDragLeft",_kwnames
,&_argo0
,&_argo1
,&tempbool2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
7705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnSizingDragLeft. Expected _wxPyTextShape_p.");
7712 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7713 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
7714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTextShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
7718 _arg2
= (bool ) tempbool2
;
7720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7721 wxPyTextShape_base_OnSizingDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
7723 wxPyEndAllowThreads(__tstate
);
7724 if (PyErr_Occurred()) return NULL
;
7725 } Py_INCREF(Py_None
);
7726 _resultobj
= Py_None
;
7730 #define wxPyTextShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7731 static PyObject
*_wrap_wxPyTextShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7732 PyObject
* _resultobj
;
7733 wxPyTextShape
* _arg0
;
7734 wxPyControlPoint
* _arg1
;
7737 int _arg4
= (int ) 0;
7738 int _arg5
= (int ) 0;
7739 PyObject
* _argo0
= 0;
7740 PyObject
* _argo1
= 0;
7741 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
7744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyTextShape_base_OnSizingBeginDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
7747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnSizingBeginDragLeft. Expected _wxPyTextShape_p.");
7754 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7755 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
7756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTextShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
7761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7762 wxPyTextShape_base_OnSizingBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7764 wxPyEndAllowThreads(__tstate
);
7765 if (PyErr_Occurred()) return NULL
;
7766 } Py_INCREF(Py_None
);
7767 _resultobj
= Py_None
;
7771 #define wxPyTextShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7772 static PyObject
*_wrap_wxPyTextShape_base_OnSizingEndDragLeft(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_OnSizingEndDragLeft",_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_OnSizingEndDragLeft. 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_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
7802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7803 wxPyTextShape_base_OnSizingEndDragLeft(_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_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
7813 static PyObject
*_wrap_wxPyTextShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7814 PyObject
* _resultobj
;
7815 wxPyTextShape
* _arg0
;
7818 PyObject
* _argo0
= 0;
7819 char *_kwnames
[] = { "self","w","h", NULL
};
7822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyTextShape_base_OnBeginSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7825 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7826 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnBeginSize. Expected _wxPyTextShape_p.");
7832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7833 wxPyTextShape_base_OnBeginSize(_arg0
,_arg1
,_arg2
);
7835 wxPyEndAllowThreads(__tstate
);
7836 if (PyErr_Occurred()) return NULL
;
7837 } Py_INCREF(Py_None
);
7838 _resultobj
= Py_None
;
7842 #define wxPyTextShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
7843 static PyObject
*_wrap_wxPyTextShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7844 PyObject
* _resultobj
;
7845 wxPyTextShape
* _arg0
;
7848 PyObject
* _argo0
= 0;
7849 char *_kwnames
[] = { "self","w","h", NULL
};
7852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyTextShape_base_OnEndSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnEndSize. Expected _wxPyTextShape_p.");
7862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7863 wxPyTextShape_base_OnEndSize(_arg0
,_arg1
,_arg2
);
7865 wxPyEndAllowThreads(__tstate
);
7866 if (PyErr_Occurred()) return NULL
;
7867 } Py_INCREF(Py_None
);
7868 _resultobj
= Py_None
;
7872 static PyMethodDef oglshapes2cMethods
[] = {
7873 { "wxPyTextShape_base_OnEndSize", (PyCFunction
) _wrap_wxPyTextShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
7874 { "wxPyTextShape_base_OnBeginSize", (PyCFunction
) _wrap_wxPyTextShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
7875 { "wxPyTextShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_wxPyTextShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
7876 { "wxPyTextShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_wxPyTextShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
7877 { "wxPyTextShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_wxPyTextShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
7878 { "wxPyTextShape_base_OnMoveLink", (PyCFunction
) _wrap_wxPyTextShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
7879 { "wxPyTextShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_wxPyTextShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
7880 { "wxPyTextShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_wxPyTextShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
7881 { "wxPyTextShape_base_OnDrawOutline", (PyCFunction
) _wrap_wxPyTextShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
7882 { "wxPyTextShape_base_OnEndDragRight", (PyCFunction
) _wrap_wxPyTextShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
7883 { "wxPyTextShape_base_OnBeginDragRight", (PyCFunction
) _wrap_wxPyTextShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
7884 { "wxPyTextShape_base_OnDragRight", (PyCFunction
) _wrap_wxPyTextShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
7885 { "wxPyTextShape_base_OnEndDragLeft", (PyCFunction
) _wrap_wxPyTextShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
7886 { "wxPyTextShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_wxPyTextShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
7887 { "wxPyTextShape_base_OnDragLeft", (PyCFunction
) _wrap_wxPyTextShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
7888 { "wxPyTextShape_base_OnMovePost", (PyCFunction
) _wrap_wxPyTextShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
7889 { "wxPyTextShape_base_OnMovePre", (PyCFunction
) _wrap_wxPyTextShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
7890 { "wxPyTextShape_base_OnSize", (PyCFunction
) _wrap_wxPyTextShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
7891 { "wxPyTextShape_base_OnRightClick", (PyCFunction
) _wrap_wxPyTextShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
7892 { "wxPyTextShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_wxPyTextShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
7893 { "wxPyTextShape_base_OnLeftClick", (PyCFunction
) _wrap_wxPyTextShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
7894 { "wxPyTextShape_base_OnHighlight", (PyCFunction
) _wrap_wxPyTextShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
7895 { "wxPyTextShape_base_OnEraseContents", (PyCFunction
) _wrap_wxPyTextShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
7896 { "wxPyTextShape_base_OnErase", (PyCFunction
) _wrap_wxPyTextShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
7897 { "wxPyTextShape_base_OnMoveLinks", (PyCFunction
) _wrap_wxPyTextShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
7898 { "wxPyTextShape_base_OnDrawBranches", (PyCFunction
) _wrap_wxPyTextShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
7899 { "wxPyTextShape_base_OnDrawContents", (PyCFunction
) _wrap_wxPyTextShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
7900 { "wxPyTextShape_base_OnDraw", (PyCFunction
) _wrap_wxPyTextShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
7901 { "wxPyTextShape_base_OnDelete", (PyCFunction
) _wrap_wxPyTextShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
7902 { "wxPyTextShape__setCallbackInfo", (PyCFunction
) _wrap_wxPyTextShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
7903 { "new_wxPyTextShape", (PyCFunction
) _wrap_new_wxPyTextShape
, METH_VARARGS
| METH_KEYWORDS
},
7904 { "wxPyPolygonShape_base_OnEndSize", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
7905 { "wxPyPolygonShape_base_OnBeginSize", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
7906 { "wxPyPolygonShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
7907 { "wxPyPolygonShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
7908 { "wxPyPolygonShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
7909 { "wxPyPolygonShape_base_OnMoveLink", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
7910 { "wxPyPolygonShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
7911 { "wxPyPolygonShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
7912 { "wxPyPolygonShape_base_OnDrawOutline", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
7913 { "wxPyPolygonShape_base_OnEndDragRight", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
7914 { "wxPyPolygonShape_base_OnBeginDragRight", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
7915 { "wxPyPolygonShape_base_OnDragRight", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
7916 { "wxPyPolygonShape_base_OnEndDragLeft", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
7917 { "wxPyPolygonShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
7918 { "wxPyPolygonShape_base_OnDragLeft", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
7919 { "wxPyPolygonShape_base_OnMovePost", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
7920 { "wxPyPolygonShape_base_OnMovePre", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
7921 { "wxPyPolygonShape_base_OnSize", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
7922 { "wxPyPolygonShape_base_OnRightClick", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
7923 { "wxPyPolygonShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
7924 { "wxPyPolygonShape_base_OnLeftClick", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
7925 { "wxPyPolygonShape_base_OnHighlight", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
7926 { "wxPyPolygonShape_base_OnEraseContents", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
7927 { "wxPyPolygonShape_base_OnErase", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
7928 { "wxPyPolygonShape_base_OnMoveLinks", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
7929 { "wxPyPolygonShape_base_OnDrawBranches", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
7930 { "wxPyPolygonShape_base_OnDrawContents", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
7931 { "wxPyPolygonShape_base_OnDraw", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
7932 { "wxPyPolygonShape_UpdateOriginalPoints", (PyCFunction
) _wrap_wxPyPolygonShape_UpdateOriginalPoints
, METH_VARARGS
| METH_KEYWORDS
},
7933 { "wxPyPolygonShape_GetPoints", (PyCFunction
) _wrap_wxPyPolygonShape_GetPoints
, METH_VARARGS
| METH_KEYWORDS
},
7934 { "wxPyPolygonShape_DeletePolygonPoint", (PyCFunction
) _wrap_wxPyPolygonShape_DeletePolygonPoint
, METH_VARARGS
| METH_KEYWORDS
},
7935 { "wxPyPolygonShape_CalculatePolygonCentre", (PyCFunction
) _wrap_wxPyPolygonShape_CalculatePolygonCentre
, METH_VARARGS
| METH_KEYWORDS
},
7936 { "wxPyPolygonShape_AddPolygonPoint", (PyCFunction
) _wrap_wxPyPolygonShape_AddPolygonPoint
, METH_VARARGS
| METH_KEYWORDS
},
7937 { "wxPyPolygonShape_Create", (PyCFunction
) _wrap_wxPyPolygonShape_Create
, METH_VARARGS
| METH_KEYWORDS
},
7938 { "wxPyPolygonShape__setCallbackInfo", (PyCFunction
) _wrap_wxPyPolygonShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
7939 { "new_wxPyPolygonShape", (PyCFunction
) _wrap_new_wxPyPolygonShape
, METH_VARARGS
| METH_KEYWORDS
},
7940 { "wxPyLineShape_base_OnEndSize", (PyCFunction
) _wrap_wxPyLineShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
7941 { "wxPyLineShape_base_OnBeginSize", (PyCFunction
) _wrap_wxPyLineShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
7942 { "wxPyLineShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_wxPyLineShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
7943 { "wxPyLineShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_wxPyLineShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
7944 { "wxPyLineShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_wxPyLineShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
7945 { "wxPyLineShape_base_OnMoveLink", (PyCFunction
) _wrap_wxPyLineShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
7946 { "wxPyLineShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_wxPyLineShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
7947 { "wxPyLineShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_wxPyLineShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
7948 { "wxPyLineShape_base_OnDrawOutline", (PyCFunction
) _wrap_wxPyLineShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
7949 { "wxPyLineShape_base_OnEndDragRight", (PyCFunction
) _wrap_wxPyLineShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
7950 { "wxPyLineShape_base_OnBeginDragRight", (PyCFunction
) _wrap_wxPyLineShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
7951 { "wxPyLineShape_base_OnDragRight", (PyCFunction
) _wrap_wxPyLineShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
7952 { "wxPyLineShape_base_OnEndDragLeft", (PyCFunction
) _wrap_wxPyLineShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
7953 { "wxPyLineShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_wxPyLineShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
7954 { "wxPyLineShape_base_OnDragLeft", (PyCFunction
) _wrap_wxPyLineShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
7955 { "wxPyLineShape_base_OnMovePost", (PyCFunction
) _wrap_wxPyLineShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
7956 { "wxPyLineShape_base_OnMovePre", (PyCFunction
) _wrap_wxPyLineShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
7957 { "wxPyLineShape_base_OnSize", (PyCFunction
) _wrap_wxPyLineShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
7958 { "wxPyLineShape_base_OnRightClick", (PyCFunction
) _wrap_wxPyLineShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
7959 { "wxPyLineShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_wxPyLineShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
7960 { "wxPyLineShape_base_OnLeftClick", (PyCFunction
) _wrap_wxPyLineShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
7961 { "wxPyLineShape_base_OnHighlight", (PyCFunction
) _wrap_wxPyLineShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
7962 { "wxPyLineShape_base_OnEraseContents", (PyCFunction
) _wrap_wxPyLineShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
7963 { "wxPyLineShape_base_OnErase", (PyCFunction
) _wrap_wxPyLineShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
7964 { "wxPyLineShape_base_OnMoveLinks", (PyCFunction
) _wrap_wxPyLineShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
7965 { "wxPyLineShape_base_OnDrawBranches", (PyCFunction
) _wrap_wxPyLineShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
7966 { "wxPyLineShape_base_OnDrawContents", (PyCFunction
) _wrap_wxPyLineShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
7967 { "wxPyLineShape_base_OnDraw", (PyCFunction
) _wrap_wxPyLineShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
7968 { "wxPyLineShape_Unlink", (PyCFunction
) _wrap_wxPyLineShape_Unlink
, METH_VARARGS
| METH_KEYWORDS
},
7969 { "wxPyLineShape_Straighten", (PyCFunction
) _wrap_wxPyLineShape_Straighten
, METH_VARARGS
| METH_KEYWORDS
},
7970 { "wxPyLineShape_SetTo", (PyCFunction
) _wrap_wxPyLineShape_SetTo
, METH_VARARGS
| METH_KEYWORDS
},
7971 { "wxPyLineShape_SetSpline", (PyCFunction
) _wrap_wxPyLineShape_SetSpline
, METH_VARARGS
| METH_KEYWORDS
},
7972 { "wxPyLineShape_SetIgnoreOffsets", (PyCFunction
) _wrap_wxPyLineShape_SetIgnoreOffsets
, METH_VARARGS
| METH_KEYWORDS
},
7973 { "wxPyLineShape_SetFrom", (PyCFunction
) _wrap_wxPyLineShape_SetFrom
, METH_VARARGS
| METH_KEYWORDS
},
7974 { "wxPyLineShape_SetEnds", (PyCFunction
) _wrap_wxPyLineShape_SetEnds
, METH_VARARGS
| METH_KEYWORDS
},
7975 { "wxPyLineShape_SetAttachmentTo", (PyCFunction
) _wrap_wxPyLineShape_SetAttachmentTo
, METH_VARARGS
| METH_KEYWORDS
},
7976 { "wxPyLineShape_SetAttachments", (PyCFunction
) _wrap_wxPyLineShape_SetAttachments
, METH_VARARGS
| METH_KEYWORDS
},
7977 { "wxPyLineShape_SetAttachmentFrom", (PyCFunction
) _wrap_wxPyLineShape_SetAttachmentFrom
, METH_VARARGS
| METH_KEYWORDS
},
7978 { "wxPyLineShape_GetLineControlPoints", (PyCFunction
) _wrap_wxPyLineShape_GetLineControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
7979 { "wxPyLineShape_MakeLineControlPoints", (PyCFunction
) _wrap_wxPyLineShape_MakeLineControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
7980 { "wxPyLineShape_IsSpline", (PyCFunction
) _wrap_wxPyLineShape_IsSpline
, METH_VARARGS
| METH_KEYWORDS
},
7981 { "wxPyLineShape_IsEnd", (PyCFunction
) _wrap_wxPyLineShape_IsEnd
, METH_VARARGS
| METH_KEYWORDS
},
7982 { "wxPyLineShape_InsertLineControlPoint", (PyCFunction
) _wrap_wxPyLineShape_InsertLineControlPoint
, METH_VARARGS
| METH_KEYWORDS
},
7983 { "wxPyLineShape_Initialise", (PyCFunction
) _wrap_wxPyLineShape_Initialise
, METH_VARARGS
| METH_KEYWORDS
},
7984 { "wxPyLineShape_GetTo", (PyCFunction
) _wrap_wxPyLineShape_GetTo
, METH_VARARGS
| METH_KEYWORDS
},
7985 { "wxPyLineShape_GetNextControlPoint", (PyCFunction
) _wrap_wxPyLineShape_GetNextControlPoint
, METH_VARARGS
| METH_KEYWORDS
},
7986 { "wxPyLineShape_GetLabelPosition", (PyCFunction
) _wrap_wxPyLineShape_GetLabelPosition
, METH_VARARGS
| METH_KEYWORDS
},
7987 { "wxPyLineShape_GetFrom", (PyCFunction
) _wrap_wxPyLineShape_GetFrom
, METH_VARARGS
| METH_KEYWORDS
},
7988 { "wxPyLineShape_GetEnds", (PyCFunction
) _wrap_wxPyLineShape_GetEnds
, METH_VARARGS
| METH_KEYWORDS
},
7989 { "wxPyLineShape_GetAttachmentTo", (PyCFunction
) _wrap_wxPyLineShape_GetAttachmentTo
, METH_VARARGS
| METH_KEYWORDS
},
7990 { "wxPyLineShape_GetAttachmentFrom", (PyCFunction
) _wrap_wxPyLineShape_GetAttachmentFrom
, METH_VARARGS
| METH_KEYWORDS
},
7991 { "wxPyLineShape_FindNth", (PyCFunction
) _wrap_wxPyLineShape_FindNth
, METH_VARARGS
| METH_KEYWORDS
},
7992 { "wxPyLineShape_FindMinimumWidth", (PyCFunction
) _wrap_wxPyLineShape_FindMinimumWidth
, METH_VARARGS
| METH_KEYWORDS
},
7993 { "wxPyLineShape_FindLinePosition", (PyCFunction
) _wrap_wxPyLineShape_FindLinePosition
, METH_VARARGS
| METH_KEYWORDS
},
7994 { "wxPyLineShape_FindLineEndPoints", (PyCFunction
) _wrap_wxPyLineShape_FindLineEndPoints
, METH_VARARGS
| METH_KEYWORDS
},
7995 { "wxPyLineShape_FindArrowHead", (PyCFunction
) _wrap_wxPyLineShape_FindArrowHead
, METH_VARARGS
| METH_KEYWORDS
},
7996 { "wxPyLineShape_FindArrowHeadId", (PyCFunction
) _wrap_wxPyLineShape_FindArrowHeadId
, METH_VARARGS
| METH_KEYWORDS
},
7997 { "wxPyLineShape_EraseRegion", (PyCFunction
) _wrap_wxPyLineShape_EraseRegion
, METH_VARARGS
| METH_KEYWORDS
},
7998 { "wxPyLineShape_DrawRegion", (PyCFunction
) _wrap_wxPyLineShape_DrawRegion
, METH_VARARGS
| METH_KEYWORDS
},
7999 { "wxPyLineShape_DrawArrows", (PyCFunction
) _wrap_wxPyLineShape_DrawArrows
, METH_VARARGS
| METH_KEYWORDS
},
8000 { "wxPyLineShape_DeleteLineControlPoint", (PyCFunction
) _wrap_wxPyLineShape_DeleteLineControlPoint
, METH_VARARGS
| METH_KEYWORDS
},
8001 { "wxPyLineShape_DeleteArrowHead", (PyCFunction
) _wrap_wxPyLineShape_DeleteArrowHead
, METH_VARARGS
| METH_KEYWORDS
},
8002 { "wxPyLineShape_DeleteArrowHeadId", (PyCFunction
) _wrap_wxPyLineShape_DeleteArrowHeadId
, METH_VARARGS
| METH_KEYWORDS
},
8003 { "wxPyLineShape_DrawArrow", (PyCFunction
) _wrap_wxPyLineShape_DrawArrow
, METH_VARARGS
| METH_KEYWORDS
},
8004 { "wxPyLineShape_ClearArrowsAtPosition", (PyCFunction
) _wrap_wxPyLineShape_ClearArrowsAtPosition
, METH_VARARGS
| METH_KEYWORDS
},
8005 { "wxPyLineShape_ClearArrow", (PyCFunction
) _wrap_wxPyLineShape_ClearArrow
, METH_VARARGS
| METH_KEYWORDS
},
8006 { "wxPyLineShape_AddArrowOrdered", (PyCFunction
) _wrap_wxPyLineShape_AddArrowOrdered
, METH_VARARGS
| METH_KEYWORDS
},
8007 { "wxPyLineShape_AddArrow", (PyCFunction
) _wrap_wxPyLineShape_AddArrow
, METH_VARARGS
| METH_KEYWORDS
},
8008 { "wxPyLineShape__setCallbackInfo", (PyCFunction
) _wrap_wxPyLineShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
8009 { "new_wxPyLineShape", (PyCFunction
) _wrap_new_wxPyLineShape
, METH_VARARGS
| METH_KEYWORDS
},
8010 { "wxArrowHead_SetSpacing", (PyCFunction
) _wrap_wxArrowHead_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
8011 { "wxArrowHead_SetSize", (PyCFunction
) _wrap_wxArrowHead_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
8012 { "wxArrowHead_GetArrowSize", (PyCFunction
) _wrap_wxArrowHead_GetArrowSize
, METH_VARARGS
| METH_KEYWORDS
},
8013 { "wxArrowHead_GetArrowEnd", (PyCFunction
) _wrap_wxArrowHead_GetArrowEnd
, METH_VARARGS
| METH_KEYWORDS
},
8014 { "wxArrowHead_GetId", (PyCFunction
) _wrap_wxArrowHead_GetId
, METH_VARARGS
| METH_KEYWORDS
},
8015 { "wxArrowHead_GetMetaFile", (PyCFunction
) _wrap_wxArrowHead_GetMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
8016 { "wxArrowHead_SetYOffset", (PyCFunction
) _wrap_wxArrowHead_SetYOffset
, METH_VARARGS
| METH_KEYWORDS
},
8017 { "wxArrowHead_SetXOffset", (PyCFunction
) _wrap_wxArrowHead_SetXOffset
, METH_VARARGS
| METH_KEYWORDS
},
8018 { "wxArrowHead_GetName", (PyCFunction
) _wrap_wxArrowHead_GetName
, METH_VARARGS
| METH_KEYWORDS
},
8019 { "wxArrowHead_GetSize", (PyCFunction
) _wrap_wxArrowHead_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
8020 { "wxArrowHead_GetSpacing", (PyCFunction
) _wrap_wxArrowHead_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
8021 { "wxArrowHead_GetYOffset", (PyCFunction
) _wrap_wxArrowHead_GetYOffset
, METH_VARARGS
| METH_KEYWORDS
},
8022 { "wxArrowHead_GetXOffset", (PyCFunction
) _wrap_wxArrowHead_GetXOffset
, METH_VARARGS
| METH_KEYWORDS
},
8023 { "wxArrowHead_SetPosition", (PyCFunction
) _wrap_wxArrowHead_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
8024 { "wxArrowHead_GetPosition", (PyCFunction
) _wrap_wxArrowHead_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
8025 { "wxArrowHead__GetType", (PyCFunction
) _wrap_wxArrowHead__GetType
, METH_VARARGS
| METH_KEYWORDS
},
8026 { "delete_wxArrowHead", (PyCFunction
) _wrap_delete_wxArrowHead
, METH_VARARGS
| METH_KEYWORDS
},
8027 { "new_wxArrowHead", (PyCFunction
) _wrap_new_wxArrowHead
, METH_VARARGS
| METH_KEYWORDS
},
8028 { "wxPyCircleShape_base_OnEndSize", (PyCFunction
) _wrap_wxPyCircleShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
8029 { "wxPyCircleShape_base_OnBeginSize", (PyCFunction
) _wrap_wxPyCircleShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
8030 { "wxPyCircleShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_wxPyCircleShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8031 { "wxPyCircleShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_wxPyCircleShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8032 { "wxPyCircleShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_wxPyCircleShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8033 { "wxPyCircleShape_base_OnMoveLink", (PyCFunction
) _wrap_wxPyCircleShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
8034 { "wxPyCircleShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_wxPyCircleShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8035 { "wxPyCircleShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_wxPyCircleShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8036 { "wxPyCircleShape_base_OnDrawOutline", (PyCFunction
) _wrap_wxPyCircleShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
8037 { "wxPyCircleShape_base_OnEndDragRight", (PyCFunction
) _wrap_wxPyCircleShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8038 { "wxPyCircleShape_base_OnBeginDragRight", (PyCFunction
) _wrap_wxPyCircleShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8039 { "wxPyCircleShape_base_OnDragRight", (PyCFunction
) _wrap_wxPyCircleShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8040 { "wxPyCircleShape_base_OnEndDragLeft", (PyCFunction
) _wrap_wxPyCircleShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8041 { "wxPyCircleShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_wxPyCircleShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8042 { "wxPyCircleShape_base_OnDragLeft", (PyCFunction
) _wrap_wxPyCircleShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8043 { "wxPyCircleShape_base_OnMovePost", (PyCFunction
) _wrap_wxPyCircleShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
8044 { "wxPyCircleShape_base_OnMovePre", (PyCFunction
) _wrap_wxPyCircleShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
8045 { "wxPyCircleShape_base_OnSize", (PyCFunction
) _wrap_wxPyCircleShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
8046 { "wxPyCircleShape_base_OnRightClick", (PyCFunction
) _wrap_wxPyCircleShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
8047 { "wxPyCircleShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_wxPyCircleShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
8048 { "wxPyCircleShape_base_OnLeftClick", (PyCFunction
) _wrap_wxPyCircleShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
8049 { "wxPyCircleShape_base_OnHighlight", (PyCFunction
) _wrap_wxPyCircleShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
8050 { "wxPyCircleShape_base_OnEraseContents", (PyCFunction
) _wrap_wxPyCircleShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
8051 { "wxPyCircleShape_base_OnErase", (PyCFunction
) _wrap_wxPyCircleShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
8052 { "wxPyCircleShape_base_OnMoveLinks", (PyCFunction
) _wrap_wxPyCircleShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
8053 { "wxPyCircleShape_base_OnDrawBranches", (PyCFunction
) _wrap_wxPyCircleShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
8054 { "wxPyCircleShape_base_OnDrawContents", (PyCFunction
) _wrap_wxPyCircleShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
8055 { "wxPyCircleShape_base_OnDraw", (PyCFunction
) _wrap_wxPyCircleShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
8056 { "wxPyCircleShape__setCallbackInfo", (PyCFunction
) _wrap_wxPyCircleShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
8057 { "new_wxPyCircleShape", (PyCFunction
) _wrap_new_wxPyCircleShape
, METH_VARARGS
| METH_KEYWORDS
},
8058 { "wxPyEllipseShape_base_OnEndSize", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
8059 { "wxPyEllipseShape_base_OnBeginSize", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
8060 { "wxPyEllipseShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8061 { "wxPyEllipseShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8062 { "wxPyEllipseShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8063 { "wxPyEllipseShape_base_OnMoveLink", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
8064 { "wxPyEllipseShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8065 { "wxPyEllipseShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8066 { "wxPyEllipseShape_base_OnDrawOutline", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
8067 { "wxPyEllipseShape_base_OnEndDragRight", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8068 { "wxPyEllipseShape_base_OnBeginDragRight", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8069 { "wxPyEllipseShape_base_OnDragRight", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8070 { "wxPyEllipseShape_base_OnEndDragLeft", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8071 { "wxPyEllipseShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8072 { "wxPyEllipseShape_base_OnDragLeft", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8073 { "wxPyEllipseShape_base_OnMovePost", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
8074 { "wxPyEllipseShape_base_OnMovePre", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
8075 { "wxPyEllipseShape_base_OnSize", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
8076 { "wxPyEllipseShape_base_OnRightClick", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
8077 { "wxPyEllipseShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
8078 { "wxPyEllipseShape_base_OnLeftClick", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
8079 { "wxPyEllipseShape_base_OnHighlight", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
8080 { "wxPyEllipseShape_base_OnEraseContents", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
8081 { "wxPyEllipseShape_base_OnErase", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
8082 { "wxPyEllipseShape_base_OnMoveLinks", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
8083 { "wxPyEllipseShape_base_OnDrawBranches", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
8084 { "wxPyEllipseShape_base_OnDrawContents", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
8085 { "wxPyEllipseShape_base_OnDraw", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
8086 { "wxPyEllipseShape__setCallbackInfo", (PyCFunction
) _wrap_wxPyEllipseShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
8087 { "new_wxPyEllipseShape", (PyCFunction
) _wrap_new_wxPyEllipseShape
, METH_VARARGS
| METH_KEYWORDS
},
8094 * This table is used by the pointer type-checker
8096 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
8097 { "_signed_long","_long",0},
8098 { "_wxPrintQuality","_wxCoord",0},
8099 { "_wxPrintQuality","_int",0},
8100 { "_wxPrintQuality","_signed_int",0},
8101 { "_wxPrintQuality","_unsigned_int",0},
8102 { "_wxPrintQuality","_wxWindowID",0},
8103 { "_wxPrintQuality","_uint",0},
8104 { "_wxPrintQuality","_EBool",0},
8105 { "_wxPrintQuality","_size_t",0},
8106 { "_wxPrintQuality","_time_t",0},
8107 { "_byte","_unsigned_char",0},
8108 { "_long","_unsigned_long",0},
8109 { "_long","_signed_long",0},
8110 { "_size_t","_wxCoord",0},
8111 { "_size_t","_wxPrintQuality",0},
8112 { "_size_t","_time_t",0},
8113 { "_size_t","_unsigned_int",0},
8114 { "_size_t","_int",0},
8115 { "_size_t","_wxWindowID",0},
8116 { "_size_t","_uint",0},
8117 { "_uint","_wxCoord",0},
8118 { "_uint","_wxPrintQuality",0},
8119 { "_uint","_time_t",0},
8120 { "_uint","_size_t",0},
8121 { "_uint","_unsigned_int",0},
8122 { "_uint","_int",0},
8123 { "_uint","_wxWindowID",0},
8124 { "_wxChar","_char",0},
8125 { "_char","_wxChar",0},
8126 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
8127 { "_EBool","_wxCoord",0},
8128 { "_EBool","_wxPrintQuality",0},
8129 { "_EBool","_signed_int",0},
8130 { "_EBool","_int",0},
8131 { "_EBool","_wxWindowID",0},
8132 { "_unsigned_long","_long",0},
8133 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
8134 { "_signed_int","_wxCoord",0},
8135 { "_signed_int","_wxPrintQuality",0},
8136 { "_signed_int","_EBool",0},
8137 { "_signed_int","_wxWindowID",0},
8138 { "_signed_int","_int",0},
8139 { "_WXTYPE","_wxDateTime_t",0},
8140 { "_WXTYPE","_short",0},
8141 { "_WXTYPE","_signed_short",0},
8142 { "_WXTYPE","_unsigned_short",0},
8143 { "_unsigned_short","_wxDateTime_t",0},
8144 { "_unsigned_short","_WXTYPE",0},
8145 { "_unsigned_short","_short",0},
8146 { "_wxObject","_wxPyTextShape",SwigwxPyTextShapeTowxObject
},
8147 { "_wxObject","_wxPyPolygonShape",SwigwxPyPolygonShapeTowxObject
},
8148 { "_wxObject","_wxPyLineShape",SwigwxPyLineShapeTowxObject
},
8149 { "_wxObject","_wxArrowHead",SwigwxArrowHeadTowxObject
},
8150 { "_wxObject","_wxPyCircleShape",SwigwxPyCircleShapeTowxObject
},
8151 { "_wxObject","_wxPyEllipseShape",SwigwxPyEllipseShapeTowxObject
},
8152 { "_signed_short","_WXTYPE",0},
8153 { "_signed_short","_short",0},
8154 { "_wxPyShape","_wxPyTextShape",SwigwxPyTextShapeTowxPyShape
},
8155 { "_wxPyShape","_wxPyPolygonShape",SwigwxPyPolygonShapeTowxPyShape
},
8156 { "_wxPyShape","_wxPyLineShape",SwigwxPyLineShapeTowxPyShape
},
8157 { "_wxPyShape","_wxPyCircleShape",SwigwxPyCircleShapeTowxPyShape
},
8158 { "_wxPyShape","_wxPyEllipseShape",SwigwxPyEllipseShapeTowxPyShape
},
8159 { "_unsigned_char","_byte",0},
8160 { "_unsigned_int","_wxCoord",0},
8161 { "_unsigned_int","_wxPrintQuality",0},
8162 { "_unsigned_int","_time_t",0},
8163 { "_unsigned_int","_size_t",0},
8164 { "_unsigned_int","_uint",0},
8165 { "_unsigned_int","_wxWindowID",0},
8166 { "_unsigned_int","_int",0},
8167 { "_short","_wxDateTime_t",0},
8168 { "_short","_WXTYPE",0},
8169 { "_short","_unsigned_short",0},
8170 { "_short","_signed_short",0},
8171 { "_wxWindowID","_wxCoord",0},
8172 { "_wxWindowID","_wxPrintQuality",0},
8173 { "_wxWindowID","_time_t",0},
8174 { "_wxWindowID","_size_t",0},
8175 { "_wxWindowID","_EBool",0},
8176 { "_wxWindowID","_uint",0},
8177 { "_wxWindowID","_int",0},
8178 { "_wxWindowID","_signed_int",0},
8179 { "_wxWindowID","_unsigned_int",0},
8180 { "_int","_wxCoord",0},
8181 { "_int","_wxPrintQuality",0},
8182 { "_int","_time_t",0},
8183 { "_int","_size_t",0},
8184 { "_int","_EBool",0},
8185 { "_int","_uint",0},
8186 { "_int","_wxWindowID",0},
8187 { "_int","_unsigned_int",0},
8188 { "_int","_signed_int",0},
8189 { "_wxDateTime_t","_unsigned_short",0},
8190 { "_wxDateTime_t","_short",0},
8191 { "_wxDateTime_t","_WXTYPE",0},
8192 { "_time_t","_wxCoord",0},
8193 { "_time_t","_wxPrintQuality",0},
8194 { "_time_t","_unsigned_int",0},
8195 { "_time_t","_int",0},
8196 { "_time_t","_wxWindowID",0},
8197 { "_time_t","_uint",0},
8198 { "_time_t","_size_t",0},
8199 { "_wxCoord","_int",0},
8200 { "_wxCoord","_signed_int",0},
8201 { "_wxCoord","_unsigned_int",0},
8202 { "_wxCoord","_wxWindowID",0},
8203 { "_wxCoord","_uint",0},
8204 { "_wxCoord","_EBool",0},
8205 { "_wxCoord","_size_t",0},
8206 { "_wxCoord","_time_t",0},
8207 { "_wxCoord","_wxPrintQuality",0},
8208 { "_wxPyEllipseShape","_wxPyCircleShape",SwigwxPyCircleShapeTowxPyEllipseShape
},
8209 { "_wxPyShapeEvtHandler","_wxPyTextShape",SwigwxPyTextShapeTowxPyShapeEvtHandler
},
8210 { "_wxPyShapeEvtHandler","_wxPyPolygonShape",SwigwxPyPolygonShapeTowxPyShapeEvtHandler
},
8211 { "_wxPyShapeEvtHandler","_wxPyLineShape",SwigwxPyLineShapeTowxPyShapeEvtHandler
},
8212 { "_wxPyShapeEvtHandler","_wxPyCircleShape",SwigwxPyCircleShapeTowxPyShapeEvtHandler
},
8213 { "_wxPyShapeEvtHandler","_wxPyEllipseShape",SwigwxPyEllipseShapeTowxPyShapeEvtHandler
},
8214 { "_wxPyRectangleShape","_wxPyTextShape",SwigwxPyTextShapeTowxPyRectangleShape
},
8217 static PyObject
*SWIG_globals
;
8221 SWIGEXPORT(void) initoglshapes2c() {
8223 SWIG_globals
= SWIG_newvarlink();
8224 m
= Py_InitModule("oglshapes2c", oglshapes2cMethods
);
8225 d
= PyModule_GetDict(m
);
8228 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
8229 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);