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 // Put some wx default wxChar* values into wxStrings.
89 static const wxString
wxPyEmptyString(wxT(""));
91 WXSHAPE_IMP_CALLBACKS(wxPyEllipseShape
, wxEllipseShape
);
93 WXSHAPE_IMP_CALLBACKS(wxPyCircleShape
, wxCircleShape
);
95 WXSHAPE_IMP_CALLBACKS(wxPyLineShape
, wxLineShape
);
97 WXSHAPE_IMP_CALLBACKS(wxPyPolygonShape
, wxPolygonShape
);
99 WXSHAPE_IMP_CALLBACKS(wxPyTextShape
, wxTextShape
);
103 static void *SwigwxPyEllipseShapeTowxPyShape(void *ptr
) {
104 wxPyEllipseShape
*src
;
106 src
= (wxPyEllipseShape
*) ptr
;
107 dest
= (wxPyShape
*) src
;
108 return (void *) dest
;
111 static void *SwigwxPyEllipseShapeTowxPyShapeEvtHandler(void *ptr
) {
112 wxPyEllipseShape
*src
;
113 wxPyShapeEvtHandler
*dest
;
114 src
= (wxPyEllipseShape
*) ptr
;
115 dest
= (wxPyShapeEvtHandler
*) src
;
116 return (void *) dest
;
119 static void *SwigwxPyEllipseShapeTowxObject(void *ptr
) {
120 wxPyEllipseShape
*src
;
122 src
= (wxPyEllipseShape
*) ptr
;
123 dest
= (wxObject
*) src
;
124 return (void *) dest
;
127 #define new_wxPyEllipseShape(_swigarg0,_swigarg1) (new wxPyEllipseShape(_swigarg0,_swigarg1))
128 static PyObject
*_wrap_new_wxPyEllipseShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
129 PyObject
* _resultobj
;
130 wxPyEllipseShape
* _result
;
131 double _arg0
= (double ) 0.0;
132 double _arg1
= (double ) 0.0;
133 char *_kwnames
[] = { "width","height", NULL
};
137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|dd:new_wxPyEllipseShape",_kwnames
,&_arg0
,&_arg1
))
140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
141 _result
= (wxPyEllipseShape
*)new_wxPyEllipseShape(_arg0
,_arg1
);
143 wxPyEndAllowThreads(__tstate
);
144 if (PyErr_Occurred()) return NULL
;
146 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyEllipseShape_p");
147 _resultobj
= Py_BuildValue("s",_ptemp
);
150 _resultobj
= Py_None
;
155 #define wxPyEllipseShape__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
156 static PyObject
*_wrap_wxPyEllipseShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
157 PyObject
* _resultobj
;
158 wxPyEllipseShape
* _arg0
;
161 PyObject
* _argo0
= 0;
162 PyObject
* _obj1
= 0;
163 PyObject
* _obj2
= 0;
164 char *_kwnames
[] = { "self","self","_class", NULL
};
167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyEllipseShape__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape__setCallbackInfo. Expected _wxPyEllipseShape_p.");
183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
184 wxPyEllipseShape__setCallbackInfo(_arg0
,_arg1
,_arg2
);
186 wxPyEndAllowThreads(__tstate
);
187 if (PyErr_Occurred()) return NULL
;
188 } Py_INCREF(Py_None
);
189 _resultobj
= Py_None
;
193 #define wxPyEllipseShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
194 static PyObject
*_wrap_wxPyEllipseShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
195 PyObject
* _resultobj
;
196 wxPyEllipseShape
* _arg0
;
198 PyObject
* _argo0
= 0;
199 PyObject
* _argo1
= 0;
200 char *_kwnames
[] = { "self","dc", NULL
};
203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyEllipseShape_base_OnDraw",_kwnames
,&_argo0
,&_argo1
))
206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnDraw. Expected _wxPyEllipseShape_p.");
213 if (_argo1
== Py_None
) { _arg1
= NULL
; }
214 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyEllipseShape_base_OnDraw. Expected _wxDC_p.");
220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
221 wxPyEllipseShape_base_OnDraw(_arg0
,*_arg1
);
223 wxPyEndAllowThreads(__tstate
);
224 if (PyErr_Occurred()) return NULL
;
225 } Py_INCREF(Py_None
);
226 _resultobj
= Py_None
;
230 #define wxPyEllipseShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
231 static PyObject
*_wrap_wxPyEllipseShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
232 PyObject
* _resultobj
;
233 wxPyEllipseShape
* _arg0
;
235 PyObject
* _argo0
= 0;
236 PyObject
* _argo1
= 0;
237 char *_kwnames
[] = { "self","dc", NULL
};
240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyEllipseShape_base_OnDrawContents",_kwnames
,&_argo0
,&_argo1
))
243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnDrawContents. Expected _wxPyEllipseShape_p.");
250 if (_argo1
== Py_None
) { _arg1
= NULL
; }
251 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyEllipseShape_base_OnDrawContents. Expected _wxDC_p.");
257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
258 wxPyEllipseShape_base_OnDrawContents(_arg0
,*_arg1
);
260 wxPyEndAllowThreads(__tstate
);
261 if (PyErr_Occurred()) return NULL
;
262 } Py_INCREF(Py_None
);
263 _resultobj
= Py_None
;
267 #define wxPyEllipseShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
268 static PyObject
*_wrap_wxPyEllipseShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
269 PyObject
* _resultobj
;
270 wxPyEllipseShape
* _arg0
;
272 bool _arg2
= (bool ) FALSE
;
273 PyObject
* _argo0
= 0;
274 PyObject
* _argo1
= 0;
275 int tempbool2
= (int) FALSE
;
276 char *_kwnames
[] = { "self","dc","erase", NULL
};
279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyEllipseShape_base_OnDrawBranches",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnDrawBranches. Expected _wxPyEllipseShape_p.");
289 if (_argo1
== Py_None
) { _arg1
= NULL
; }
290 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyEllipseShape_base_OnDrawBranches. Expected _wxDC_p.");
295 _arg2
= (bool ) tempbool2
;
297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
298 wxPyEllipseShape_base_OnDrawBranches(_arg0
,*_arg1
,_arg2
);
300 wxPyEndAllowThreads(__tstate
);
301 if (PyErr_Occurred()) return NULL
;
302 } Py_INCREF(Py_None
);
303 _resultobj
= Py_None
;
307 #define wxPyEllipseShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
308 static PyObject
*_wrap_wxPyEllipseShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
309 PyObject
* _resultobj
;
310 wxPyEllipseShape
* _arg0
;
312 PyObject
* _argo0
= 0;
313 PyObject
* _argo1
= 0;
314 char *_kwnames
[] = { "self","dc", NULL
};
317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyEllipseShape_base_OnMoveLinks",_kwnames
,&_argo0
,&_argo1
))
320 if (_argo0
== Py_None
) { _arg0
= NULL
; }
321 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnMoveLinks. Expected _wxPyEllipseShape_p.");
327 if (_argo1
== Py_None
) { _arg1
= NULL
; }
328 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyEllipseShape_base_OnMoveLinks. Expected _wxDC_p.");
334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
335 wxPyEllipseShape_base_OnMoveLinks(_arg0
,*_arg1
);
337 wxPyEndAllowThreads(__tstate
);
338 if (PyErr_Occurred()) return NULL
;
339 } Py_INCREF(Py_None
);
340 _resultobj
= Py_None
;
344 #define wxPyEllipseShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
345 static PyObject
*_wrap_wxPyEllipseShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
346 PyObject
* _resultobj
;
347 wxPyEllipseShape
* _arg0
;
349 PyObject
* _argo0
= 0;
350 PyObject
* _argo1
= 0;
351 char *_kwnames
[] = { "self","dc", NULL
};
354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyEllipseShape_base_OnErase",_kwnames
,&_argo0
,&_argo1
))
357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnErase. Expected _wxPyEllipseShape_p.");
364 if (_argo1
== Py_None
) { _arg1
= NULL
; }
365 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyEllipseShape_base_OnErase. Expected _wxDC_p.");
371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
372 wxPyEllipseShape_base_OnErase(_arg0
,*_arg1
);
374 wxPyEndAllowThreads(__tstate
);
375 if (PyErr_Occurred()) return NULL
;
376 } Py_INCREF(Py_None
);
377 _resultobj
= Py_None
;
381 #define wxPyEllipseShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
382 static PyObject
*_wrap_wxPyEllipseShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
383 PyObject
* _resultobj
;
384 wxPyEllipseShape
* _arg0
;
386 PyObject
* _argo0
= 0;
387 PyObject
* _argo1
= 0;
388 char *_kwnames
[] = { "self","dc", NULL
};
391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyEllipseShape_base_OnEraseContents",_kwnames
,&_argo0
,&_argo1
))
394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnEraseContents. Expected _wxPyEllipseShape_p.");
401 if (_argo1
== Py_None
) { _arg1
= NULL
; }
402 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyEllipseShape_base_OnEraseContents. Expected _wxDC_p.");
408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
409 wxPyEllipseShape_base_OnEraseContents(_arg0
,*_arg1
);
411 wxPyEndAllowThreads(__tstate
);
412 if (PyErr_Occurred()) return NULL
;
413 } Py_INCREF(Py_None
);
414 _resultobj
= Py_None
;
418 #define wxPyEllipseShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
419 static PyObject
*_wrap_wxPyEllipseShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
420 PyObject
* _resultobj
;
421 wxPyEllipseShape
* _arg0
;
423 PyObject
* _argo0
= 0;
424 PyObject
* _argo1
= 0;
425 char *_kwnames
[] = { "self","dc", NULL
};
428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyEllipseShape_base_OnHighlight",_kwnames
,&_argo0
,&_argo1
))
431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnHighlight. Expected _wxPyEllipseShape_p.");
438 if (_argo1
== Py_None
) { _arg1
= NULL
; }
439 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyEllipseShape_base_OnHighlight. Expected _wxDC_p.");
445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
446 wxPyEllipseShape_base_OnHighlight(_arg0
,*_arg1
);
448 wxPyEndAllowThreads(__tstate
);
449 if (PyErr_Occurred()) return NULL
;
450 } Py_INCREF(Py_None
);
451 _resultobj
= Py_None
;
455 #define wxPyEllipseShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
456 static PyObject
*_wrap_wxPyEllipseShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
457 PyObject
* _resultobj
;
458 wxPyEllipseShape
* _arg0
;
461 int _arg3
= (int ) 0;
462 int _arg4
= (int ) 0;
463 PyObject
* _argo0
= 0;
464 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyEllipseShape_base_OnLeftClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnLeftClick. Expected _wxPyEllipseShape_p.");
477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
478 wxPyEllipseShape_base_OnLeftClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
480 wxPyEndAllowThreads(__tstate
);
481 if (PyErr_Occurred()) return NULL
;
482 } Py_INCREF(Py_None
);
483 _resultobj
= Py_None
;
487 #define wxPyEllipseShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
488 static PyObject
*_wrap_wxPyEllipseShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
489 PyObject
* _resultobj
;
490 wxPyEllipseShape
* _arg0
;
493 int _arg3
= (int ) 0;
494 int _arg4
= (int ) 0;
495 PyObject
* _argo0
= 0;
496 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyEllipseShape_base_OnLeftDoubleClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnLeftDoubleClick. Expected _wxPyEllipseShape_p.");
509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
510 wxPyEllipseShape_base_OnLeftDoubleClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
512 wxPyEndAllowThreads(__tstate
);
513 if (PyErr_Occurred()) return NULL
;
514 } Py_INCREF(Py_None
);
515 _resultobj
= Py_None
;
519 #define wxPyEllipseShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
520 static PyObject
*_wrap_wxPyEllipseShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
521 PyObject
* _resultobj
;
522 wxPyEllipseShape
* _arg0
;
525 int _arg3
= (int ) 0;
526 int _arg4
= (int ) 0;
527 PyObject
* _argo0
= 0;
528 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyEllipseShape_base_OnRightClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnRightClick. Expected _wxPyEllipseShape_p.");
541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
542 wxPyEllipseShape_base_OnRightClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
544 wxPyEndAllowThreads(__tstate
);
545 if (PyErr_Occurred()) return NULL
;
546 } Py_INCREF(Py_None
);
547 _resultobj
= Py_None
;
551 #define wxPyEllipseShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
552 static PyObject
*_wrap_wxPyEllipseShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
553 PyObject
* _resultobj
;
554 wxPyEllipseShape
* _arg0
;
557 PyObject
* _argo0
= 0;
558 char *_kwnames
[] = { "self","x","y", NULL
};
561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyEllipseShape_base_OnSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnSize. Expected _wxPyEllipseShape_p.");
571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
572 wxPyEllipseShape_base_OnSize(_arg0
,_arg1
,_arg2
);
574 wxPyEndAllowThreads(__tstate
);
575 if (PyErr_Occurred()) return NULL
;
576 } Py_INCREF(Py_None
);
577 _resultobj
= Py_None
;
581 #define wxPyEllipseShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
582 static PyObject
*_wrap_wxPyEllipseShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
583 PyObject
* _resultobj
;
585 wxPyEllipseShape
* _arg0
;
591 bool _arg6
= (bool ) TRUE
;
592 PyObject
* _argo0
= 0;
593 PyObject
* _argo1
= 0;
594 int tempbool6
= (int) TRUE
;
595 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyEllipseShape_base_OnMovePre",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnMovePre. Expected _wxPyEllipseShape_p.");
608 if (_argo1
== Py_None
) { _arg1
= NULL
; }
609 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyEllipseShape_base_OnMovePre. Expected _wxDC_p.");
614 _arg6
= (bool ) tempbool6
;
616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
617 _result
= (bool )wxPyEllipseShape_base_OnMovePre(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
619 wxPyEndAllowThreads(__tstate
);
620 if (PyErr_Occurred()) return NULL
;
621 } _resultobj
= Py_BuildValue("i",_result
);
625 #define wxPyEllipseShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
626 static PyObject
*_wrap_wxPyEllipseShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
627 PyObject
* _resultobj
;
628 wxPyEllipseShape
* _arg0
;
634 bool _arg6
= (bool ) TRUE
;
635 PyObject
* _argo0
= 0;
636 PyObject
* _argo1
= 0;
637 int tempbool6
= (int) TRUE
;
638 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyEllipseShape_base_OnMovePost",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnMovePost. Expected _wxPyEllipseShape_p.");
651 if (_argo1
== Py_None
) { _arg1
= NULL
; }
652 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyEllipseShape_base_OnMovePost. Expected _wxDC_p.");
657 _arg6
= (bool ) tempbool6
;
659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
660 wxPyEllipseShape_base_OnMovePost(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
662 wxPyEndAllowThreads(__tstate
);
663 if (PyErr_Occurred()) return NULL
;
664 } Py_INCREF(Py_None
);
665 _resultobj
= Py_None
;
669 #define wxPyEllipseShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
670 static PyObject
*_wrap_wxPyEllipseShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
671 PyObject
* _resultobj
;
672 wxPyEllipseShape
* _arg0
;
676 int _arg4
= (int ) 0;
677 int _arg5
= (int ) 0;
678 PyObject
* _argo0
= 0;
680 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyEllipseShape_base_OnDragLeft",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
686 if (_argo0
== Py_None
) { _arg0
= NULL
; }
687 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnDragLeft. Expected _wxPyEllipseShape_p.");
692 _arg1
= (bool ) tempbool1
;
694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
695 wxPyEllipseShape_base_OnDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
697 wxPyEndAllowThreads(__tstate
);
698 if (PyErr_Occurred()) return NULL
;
699 } Py_INCREF(Py_None
);
700 _resultobj
= Py_None
;
704 #define wxPyEllipseShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
705 static PyObject
*_wrap_wxPyEllipseShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
706 PyObject
* _resultobj
;
707 wxPyEllipseShape
* _arg0
;
710 int _arg3
= (int ) 0;
711 int _arg4
= (int ) 0;
712 PyObject
* _argo0
= 0;
713 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyEllipseShape_base_OnBeginDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnBeginDragLeft. Expected _wxPyEllipseShape_p.");
726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
727 wxPyEllipseShape_base_OnBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
729 wxPyEndAllowThreads(__tstate
);
730 if (PyErr_Occurred()) return NULL
;
731 } Py_INCREF(Py_None
);
732 _resultobj
= Py_None
;
736 #define wxPyEllipseShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
737 static PyObject
*_wrap_wxPyEllipseShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
738 PyObject
* _resultobj
;
739 wxPyEllipseShape
* _arg0
;
742 int _arg3
= (int ) 0;
743 int _arg4
= (int ) 0;
744 PyObject
* _argo0
= 0;
745 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyEllipseShape_base_OnEndDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnEndDragLeft. Expected _wxPyEllipseShape_p.");
758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
759 wxPyEllipseShape_base_OnEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
761 wxPyEndAllowThreads(__tstate
);
762 if (PyErr_Occurred()) return NULL
;
763 } Py_INCREF(Py_None
);
764 _resultobj
= Py_None
;
768 #define wxPyEllipseShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
769 static PyObject
*_wrap_wxPyEllipseShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
770 PyObject
* _resultobj
;
771 wxPyEllipseShape
* _arg0
;
775 int _arg4
= (int ) 0;
776 int _arg5
= (int ) 0;
777 PyObject
* _argo0
= 0;
779 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyEllipseShape_base_OnDragRight",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnDragRight. Expected _wxPyEllipseShape_p.");
791 _arg1
= (bool ) tempbool1
;
793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
794 wxPyEllipseShape_base_OnDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
796 wxPyEndAllowThreads(__tstate
);
797 if (PyErr_Occurred()) return NULL
;
798 } Py_INCREF(Py_None
);
799 _resultobj
= Py_None
;
803 #define wxPyEllipseShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
804 static PyObject
*_wrap_wxPyEllipseShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
805 PyObject
* _resultobj
;
806 wxPyEllipseShape
* _arg0
;
809 int _arg3
= (int ) 0;
810 int _arg4
= (int ) 0;
811 PyObject
* _argo0
= 0;
812 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyEllipseShape_base_OnBeginDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnBeginDragRight. Expected _wxPyEllipseShape_p.");
825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
826 wxPyEllipseShape_base_OnBeginDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
828 wxPyEndAllowThreads(__tstate
);
829 if (PyErr_Occurred()) return NULL
;
830 } Py_INCREF(Py_None
);
831 _resultobj
= Py_None
;
835 #define wxPyEllipseShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
836 static PyObject
*_wrap_wxPyEllipseShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
837 PyObject
* _resultobj
;
838 wxPyEllipseShape
* _arg0
;
841 int _arg3
= (int ) 0;
842 int _arg4
= (int ) 0;
843 PyObject
* _argo0
= 0;
844 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyEllipseShape_base_OnEndDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnEndDragRight. Expected _wxPyEllipseShape_p.");
857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
858 wxPyEllipseShape_base_OnEndDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
860 wxPyEndAllowThreads(__tstate
);
861 if (PyErr_Occurred()) return NULL
;
862 } Py_INCREF(Py_None
);
863 _resultobj
= Py_None
;
867 #define wxPyEllipseShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
868 static PyObject
*_wrap_wxPyEllipseShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
869 PyObject
* _resultobj
;
870 wxPyEllipseShape
* _arg0
;
876 PyObject
* _argo0
= 0;
877 PyObject
* _argo1
= 0;
878 char *_kwnames
[] = { "self","dc","x","y","w","h", NULL
};
881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd:wxPyEllipseShape_base_OnDrawOutline",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnDrawOutline. Expected _wxPyEllipseShape_p.");
891 if (_argo1
== Py_None
) { _arg1
= NULL
; }
892 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyEllipseShape_base_OnDrawOutline. Expected _wxDC_p.");
898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
899 wxPyEllipseShape_base_OnDrawOutline(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
901 wxPyEndAllowThreads(__tstate
);
902 if (PyErr_Occurred()) return NULL
;
903 } Py_INCREF(Py_None
);
904 _resultobj
= Py_None
;
908 #define wxPyEllipseShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
909 static PyObject
*_wrap_wxPyEllipseShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
910 PyObject
* _resultobj
;
911 wxPyEllipseShape
* _arg0
;
913 PyObject
* _argo0
= 0;
914 PyObject
* _argo1
= 0;
915 char *_kwnames
[] = { "self","dc", NULL
};
918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyEllipseShape_base_OnDrawControlPoints",_kwnames
,&_argo0
,&_argo1
))
921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnDrawControlPoints. Expected _wxPyEllipseShape_p.");
928 if (_argo1
== Py_None
) { _arg1
= NULL
; }
929 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyEllipseShape_base_OnDrawControlPoints. Expected _wxDC_p.");
935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
936 wxPyEllipseShape_base_OnDrawControlPoints(_arg0
,*_arg1
);
938 wxPyEndAllowThreads(__tstate
);
939 if (PyErr_Occurred()) return NULL
;
940 } Py_INCREF(Py_None
);
941 _resultobj
= Py_None
;
945 #define wxPyEllipseShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
946 static PyObject
*_wrap_wxPyEllipseShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
947 PyObject
* _resultobj
;
948 wxPyEllipseShape
* _arg0
;
950 PyObject
* _argo0
= 0;
951 PyObject
* _argo1
= 0;
952 char *_kwnames
[] = { "self","dc", NULL
};
955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyEllipseShape_base_OnEraseControlPoints",_kwnames
,&_argo0
,&_argo1
))
958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnEraseControlPoints. Expected _wxPyEllipseShape_p.");
965 if (_argo1
== Py_None
) { _arg1
= NULL
; }
966 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyEllipseShape_base_OnEraseControlPoints. Expected _wxDC_p.");
972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
973 wxPyEllipseShape_base_OnEraseControlPoints(_arg0
,*_arg1
);
975 wxPyEndAllowThreads(__tstate
);
976 if (PyErr_Occurred()) return NULL
;
977 } Py_INCREF(Py_None
);
978 _resultobj
= Py_None
;
982 #define wxPyEllipseShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
983 static PyObject
*_wrap_wxPyEllipseShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
984 PyObject
* _resultobj
;
985 wxPyEllipseShape
* _arg0
;
987 bool _arg2
= (bool ) TRUE
;
988 PyObject
* _argo0
= 0;
989 PyObject
* _argo1
= 0;
990 int tempbool2
= (int) TRUE
;
991 char *_kwnames
[] = { "self","dc","moveControlPoints", NULL
};
994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyEllipseShape_base_OnMoveLink",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnMoveLink. Expected _wxPyEllipseShape_p.");
1004 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1005 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyEllipseShape_base_OnMoveLink. Expected _wxDC_p.");
1010 _arg2
= (bool ) tempbool2
;
1012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1013 wxPyEllipseShape_base_OnMoveLink(_arg0
,*_arg1
,_arg2
);
1015 wxPyEndAllowThreads(__tstate
);
1016 if (PyErr_Occurred()) return NULL
;
1017 } Py_INCREF(Py_None
);
1018 _resultobj
= Py_None
;
1022 #define wxPyEllipseShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1023 static PyObject
*_wrap_wxPyEllipseShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1024 PyObject
* _resultobj
;
1025 wxPyEllipseShape
* _arg0
;
1026 wxPyControlPoint
* _arg1
;
1030 int _arg5
= (int ) 0;
1031 int _arg6
= (int ) 0;
1032 PyObject
* _argo0
= 0;
1033 PyObject
* _argo1
= 0;
1035 char *_kwnames
[] = { "self","pt","draw","x","y","keys","attachment", NULL
};
1038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOidd|ii:wxPyEllipseShape_base_OnSizingDragLeft",_kwnames
,&_argo0
,&_argo1
,&tempbool2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
1041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
1043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnSizingDragLeft. Expected _wxPyEllipseShape_p.");
1048 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1049 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
1050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyEllipseShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
1054 _arg2
= (bool ) tempbool2
;
1056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1057 wxPyEllipseShape_base_OnSizingDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1059 wxPyEndAllowThreads(__tstate
);
1060 if (PyErr_Occurred()) return NULL
;
1061 } Py_INCREF(Py_None
);
1062 _resultobj
= Py_None
;
1066 #define wxPyEllipseShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1067 static PyObject
*_wrap_wxPyEllipseShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1068 PyObject
* _resultobj
;
1069 wxPyEllipseShape
* _arg0
;
1070 wxPyControlPoint
* _arg1
;
1073 int _arg4
= (int ) 0;
1074 int _arg5
= (int ) 0;
1075 PyObject
* _argo0
= 0;
1076 PyObject
* _argo1
= 0;
1077 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
1080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyEllipseShape_base_OnSizingBeginDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
1083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
1085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnSizingBeginDragLeft. Expected _wxPyEllipseShape_p.");
1090 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1091 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
1092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyEllipseShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
1097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1098 wxPyEllipseShape_base_OnSizingBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1100 wxPyEndAllowThreads(__tstate
);
1101 if (PyErr_Occurred()) return NULL
;
1102 } Py_INCREF(Py_None
);
1103 _resultobj
= Py_None
;
1107 #define wxPyEllipseShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1108 static PyObject
*_wrap_wxPyEllipseShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1109 PyObject
* _resultobj
;
1110 wxPyEllipseShape
* _arg0
;
1111 wxPyControlPoint
* _arg1
;
1114 int _arg4
= (int ) 0;
1115 int _arg5
= (int ) 0;
1116 PyObject
* _argo0
= 0;
1117 PyObject
* _argo1
= 0;
1118 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
1121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyEllipseShape_base_OnSizingEndDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
1124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
1126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnSizingEndDragLeft. Expected _wxPyEllipseShape_p.");
1131 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1132 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
1133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyEllipseShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
1138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1139 wxPyEllipseShape_base_OnSizingEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1141 wxPyEndAllowThreads(__tstate
);
1142 if (PyErr_Occurred()) return NULL
;
1143 } Py_INCREF(Py_None
);
1144 _resultobj
= Py_None
;
1148 #define wxPyEllipseShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
1149 static PyObject
*_wrap_wxPyEllipseShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1150 PyObject
* _resultobj
;
1151 wxPyEllipseShape
* _arg0
;
1154 PyObject
* _argo0
= 0;
1155 char *_kwnames
[] = { "self","w","h", NULL
};
1158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyEllipseShape_base_OnBeginSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1161 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1162 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
1163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnBeginSize. Expected _wxPyEllipseShape_p.");
1168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1169 wxPyEllipseShape_base_OnBeginSize(_arg0
,_arg1
,_arg2
);
1171 wxPyEndAllowThreads(__tstate
);
1172 if (PyErr_Occurred()) return NULL
;
1173 } Py_INCREF(Py_None
);
1174 _resultobj
= Py_None
;
1178 #define wxPyEllipseShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
1179 static PyObject
*_wrap_wxPyEllipseShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1180 PyObject
* _resultobj
;
1181 wxPyEllipseShape
* _arg0
;
1184 PyObject
* _argo0
= 0;
1185 char *_kwnames
[] = { "self","w","h", NULL
};
1188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyEllipseShape_base_OnEndSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyEllipseShape_p")) {
1193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyEllipseShape_base_OnEndSize. Expected _wxPyEllipseShape_p.");
1198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1199 wxPyEllipseShape_base_OnEndSize(_arg0
,_arg1
,_arg2
);
1201 wxPyEndAllowThreads(__tstate
);
1202 if (PyErr_Occurred()) return NULL
;
1203 } Py_INCREF(Py_None
);
1204 _resultobj
= Py_None
;
1208 static void *SwigwxPyCircleShapeTowxPyEllipseShape(void *ptr
) {
1209 wxPyCircleShape
*src
;
1210 wxPyEllipseShape
*dest
;
1211 src
= (wxPyCircleShape
*) ptr
;
1212 dest
= (wxPyEllipseShape
*) src
;
1213 return (void *) dest
;
1216 static void *SwigwxPyCircleShapeTowxPyShape(void *ptr
) {
1217 wxPyCircleShape
*src
;
1219 src
= (wxPyCircleShape
*) ptr
;
1220 dest
= (wxPyShape
*) src
;
1221 return (void *) dest
;
1224 static void *SwigwxPyCircleShapeTowxPyShapeEvtHandler(void *ptr
) {
1225 wxPyCircleShape
*src
;
1226 wxPyShapeEvtHandler
*dest
;
1227 src
= (wxPyCircleShape
*) ptr
;
1228 dest
= (wxPyShapeEvtHandler
*) src
;
1229 return (void *) dest
;
1232 static void *SwigwxPyCircleShapeTowxObject(void *ptr
) {
1233 wxPyCircleShape
*src
;
1235 src
= (wxPyCircleShape
*) ptr
;
1236 dest
= (wxObject
*) src
;
1237 return (void *) dest
;
1240 #define new_wxPyCircleShape(_swigarg0) (new wxPyCircleShape(_swigarg0))
1241 static PyObject
*_wrap_new_wxPyCircleShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1242 PyObject
* _resultobj
;
1243 wxPyCircleShape
* _result
;
1244 double _arg0
= (double ) 0.0;
1245 char *_kwnames
[] = { "width", NULL
};
1249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|d:new_wxPyCircleShape",_kwnames
,&_arg0
))
1252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1253 _result
= (wxPyCircleShape
*)new_wxPyCircleShape(_arg0
);
1255 wxPyEndAllowThreads(__tstate
);
1256 if (PyErr_Occurred()) return NULL
;
1258 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyCircleShape_p");
1259 _resultobj
= Py_BuildValue("s",_ptemp
);
1262 _resultobj
= Py_None
;
1267 #define wxPyCircleShape__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
1268 static PyObject
*_wrap_wxPyCircleShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1269 PyObject
* _resultobj
;
1270 wxPyCircleShape
* _arg0
;
1273 PyObject
* _argo0
= 0;
1274 PyObject
* _obj1
= 0;
1275 PyObject
* _obj2
= 0;
1276 char *_kwnames
[] = { "self","self","_class", NULL
};
1279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyCircleShape__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
1284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape__setCallbackInfo. Expected _wxPyCircleShape_p.");
1295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1296 wxPyCircleShape__setCallbackInfo(_arg0
,_arg1
,_arg2
);
1298 wxPyEndAllowThreads(__tstate
);
1299 if (PyErr_Occurred()) return NULL
;
1300 } Py_INCREF(Py_None
);
1301 _resultobj
= Py_None
;
1305 #define wxPyCircleShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
1306 static PyObject
*_wrap_wxPyCircleShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1307 PyObject
* _resultobj
;
1308 wxPyCircleShape
* _arg0
;
1310 PyObject
* _argo0
= 0;
1311 PyObject
* _argo1
= 0;
1312 char *_kwnames
[] = { "self","dc", NULL
};
1315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyCircleShape_base_OnDraw",_kwnames
,&_argo0
,&_argo1
))
1318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
1320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnDraw. Expected _wxPyCircleShape_p.");
1325 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1326 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyCircleShape_base_OnDraw. Expected _wxDC_p.");
1332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1333 wxPyCircleShape_base_OnDraw(_arg0
,*_arg1
);
1335 wxPyEndAllowThreads(__tstate
);
1336 if (PyErr_Occurred()) return NULL
;
1337 } Py_INCREF(Py_None
);
1338 _resultobj
= Py_None
;
1342 #define wxPyCircleShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
1343 static PyObject
*_wrap_wxPyCircleShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1344 PyObject
* _resultobj
;
1345 wxPyCircleShape
* _arg0
;
1347 PyObject
* _argo0
= 0;
1348 PyObject
* _argo1
= 0;
1349 char *_kwnames
[] = { "self","dc", NULL
};
1352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyCircleShape_base_OnDrawContents",_kwnames
,&_argo0
,&_argo1
))
1355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
1357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnDrawContents. Expected _wxPyCircleShape_p.");
1362 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1363 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyCircleShape_base_OnDrawContents. Expected _wxDC_p.");
1369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1370 wxPyCircleShape_base_OnDrawContents(_arg0
,*_arg1
);
1372 wxPyEndAllowThreads(__tstate
);
1373 if (PyErr_Occurred()) return NULL
;
1374 } Py_INCREF(Py_None
);
1375 _resultobj
= Py_None
;
1379 #define wxPyCircleShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
1380 static PyObject
*_wrap_wxPyCircleShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1381 PyObject
* _resultobj
;
1382 wxPyCircleShape
* _arg0
;
1384 bool _arg2
= (bool ) FALSE
;
1385 PyObject
* _argo0
= 0;
1386 PyObject
* _argo1
= 0;
1387 int tempbool2
= (int) FALSE
;
1388 char *_kwnames
[] = { "self","dc","erase", NULL
};
1391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyCircleShape_base_OnDrawBranches",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
1396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnDrawBranches. Expected _wxPyCircleShape_p.");
1401 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1402 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyCircleShape_base_OnDrawBranches. Expected _wxDC_p.");
1407 _arg2
= (bool ) tempbool2
;
1409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1410 wxPyCircleShape_base_OnDrawBranches(_arg0
,*_arg1
,_arg2
);
1412 wxPyEndAllowThreads(__tstate
);
1413 if (PyErr_Occurred()) return NULL
;
1414 } Py_INCREF(Py_None
);
1415 _resultobj
= Py_None
;
1419 #define wxPyCircleShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
1420 static PyObject
*_wrap_wxPyCircleShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1421 PyObject
* _resultobj
;
1422 wxPyCircleShape
* _arg0
;
1424 PyObject
* _argo0
= 0;
1425 PyObject
* _argo1
= 0;
1426 char *_kwnames
[] = { "self","dc", NULL
};
1429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyCircleShape_base_OnMoveLinks",_kwnames
,&_argo0
,&_argo1
))
1432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
1434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnMoveLinks. Expected _wxPyCircleShape_p.");
1439 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1440 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyCircleShape_base_OnMoveLinks. Expected _wxDC_p.");
1446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1447 wxPyCircleShape_base_OnMoveLinks(_arg0
,*_arg1
);
1449 wxPyEndAllowThreads(__tstate
);
1450 if (PyErr_Occurred()) return NULL
;
1451 } Py_INCREF(Py_None
);
1452 _resultobj
= Py_None
;
1456 #define wxPyCircleShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
1457 static PyObject
*_wrap_wxPyCircleShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1458 PyObject
* _resultobj
;
1459 wxPyCircleShape
* _arg0
;
1461 PyObject
* _argo0
= 0;
1462 PyObject
* _argo1
= 0;
1463 char *_kwnames
[] = { "self","dc", NULL
};
1466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyCircleShape_base_OnErase",_kwnames
,&_argo0
,&_argo1
))
1469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
1471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnErase. Expected _wxPyCircleShape_p.");
1476 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1477 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyCircleShape_base_OnErase. Expected _wxDC_p.");
1483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1484 wxPyCircleShape_base_OnErase(_arg0
,*_arg1
);
1486 wxPyEndAllowThreads(__tstate
);
1487 if (PyErr_Occurred()) return NULL
;
1488 } Py_INCREF(Py_None
);
1489 _resultobj
= Py_None
;
1493 #define wxPyCircleShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
1494 static PyObject
*_wrap_wxPyCircleShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1495 PyObject
* _resultobj
;
1496 wxPyCircleShape
* _arg0
;
1498 PyObject
* _argo0
= 0;
1499 PyObject
* _argo1
= 0;
1500 char *_kwnames
[] = { "self","dc", NULL
};
1503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyCircleShape_base_OnEraseContents",_kwnames
,&_argo0
,&_argo1
))
1506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
1508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnEraseContents. Expected _wxPyCircleShape_p.");
1513 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1514 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyCircleShape_base_OnEraseContents. Expected _wxDC_p.");
1520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1521 wxPyCircleShape_base_OnEraseContents(_arg0
,*_arg1
);
1523 wxPyEndAllowThreads(__tstate
);
1524 if (PyErr_Occurred()) return NULL
;
1525 } Py_INCREF(Py_None
);
1526 _resultobj
= Py_None
;
1530 #define wxPyCircleShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
1531 static PyObject
*_wrap_wxPyCircleShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1532 PyObject
* _resultobj
;
1533 wxPyCircleShape
* _arg0
;
1535 PyObject
* _argo0
= 0;
1536 PyObject
* _argo1
= 0;
1537 char *_kwnames
[] = { "self","dc", NULL
};
1540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyCircleShape_base_OnHighlight",_kwnames
,&_argo0
,&_argo1
))
1543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
1545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnHighlight. Expected _wxPyCircleShape_p.");
1550 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1551 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyCircleShape_base_OnHighlight. Expected _wxDC_p.");
1557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1558 wxPyCircleShape_base_OnHighlight(_arg0
,*_arg1
);
1560 wxPyEndAllowThreads(__tstate
);
1561 if (PyErr_Occurred()) return NULL
;
1562 } Py_INCREF(Py_None
);
1563 _resultobj
= Py_None
;
1567 #define wxPyCircleShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1568 static PyObject
*_wrap_wxPyCircleShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1569 PyObject
* _resultobj
;
1570 wxPyCircleShape
* _arg0
;
1573 int _arg3
= (int ) 0;
1574 int _arg4
= (int ) 0;
1575 PyObject
* _argo0
= 0;
1576 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
1579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyCircleShape_base_OnLeftClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
1584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnLeftClick. Expected _wxPyCircleShape_p.");
1589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1590 wxPyCircleShape_base_OnLeftClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1592 wxPyEndAllowThreads(__tstate
);
1593 if (PyErr_Occurred()) return NULL
;
1594 } Py_INCREF(Py_None
);
1595 _resultobj
= Py_None
;
1599 #define wxPyCircleShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1600 static PyObject
*_wrap_wxPyCircleShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1601 PyObject
* _resultobj
;
1602 wxPyCircleShape
* _arg0
;
1605 int _arg3
= (int ) 0;
1606 int _arg4
= (int ) 0;
1607 PyObject
* _argo0
= 0;
1608 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
1611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyCircleShape_base_OnLeftDoubleClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
1616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnLeftDoubleClick. Expected _wxPyCircleShape_p.");
1621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1622 wxPyCircleShape_base_OnLeftDoubleClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1624 wxPyEndAllowThreads(__tstate
);
1625 if (PyErr_Occurred()) return NULL
;
1626 } Py_INCREF(Py_None
);
1627 _resultobj
= Py_None
;
1631 #define wxPyCircleShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1632 static PyObject
*_wrap_wxPyCircleShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1633 PyObject
* _resultobj
;
1634 wxPyCircleShape
* _arg0
;
1637 int _arg3
= (int ) 0;
1638 int _arg4
= (int ) 0;
1639 PyObject
* _argo0
= 0;
1640 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
1643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyCircleShape_base_OnRightClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
1648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnRightClick. Expected _wxPyCircleShape_p.");
1653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1654 wxPyCircleShape_base_OnRightClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1656 wxPyEndAllowThreads(__tstate
);
1657 if (PyErr_Occurred()) return NULL
;
1658 } Py_INCREF(Py_None
);
1659 _resultobj
= Py_None
;
1663 #define wxPyCircleShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
1664 static PyObject
*_wrap_wxPyCircleShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1665 PyObject
* _resultobj
;
1666 wxPyCircleShape
* _arg0
;
1669 PyObject
* _argo0
= 0;
1670 char *_kwnames
[] = { "self","x","y", NULL
};
1673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyCircleShape_base_OnSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
1678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnSize. Expected _wxPyCircleShape_p.");
1683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1684 wxPyCircleShape_base_OnSize(_arg0
,_arg1
,_arg2
);
1686 wxPyEndAllowThreads(__tstate
);
1687 if (PyErr_Occurred()) return NULL
;
1688 } Py_INCREF(Py_None
);
1689 _resultobj
= Py_None
;
1693 #define wxPyCircleShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1694 static PyObject
*_wrap_wxPyCircleShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1695 PyObject
* _resultobj
;
1697 wxPyCircleShape
* _arg0
;
1703 bool _arg6
= (bool ) TRUE
;
1704 PyObject
* _argo0
= 0;
1705 PyObject
* _argo1
= 0;
1706 int tempbool6
= (int) TRUE
;
1707 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
1710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyCircleShape_base_OnMovePre",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
1713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
1715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnMovePre. Expected _wxPyCircleShape_p.");
1720 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1721 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyCircleShape_base_OnMovePre. Expected _wxDC_p.");
1726 _arg6
= (bool ) tempbool6
;
1728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1729 _result
= (bool )wxPyCircleShape_base_OnMovePre(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1731 wxPyEndAllowThreads(__tstate
);
1732 if (PyErr_Occurred()) return NULL
;
1733 } _resultobj
= Py_BuildValue("i",_result
);
1737 #define wxPyCircleShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1738 static PyObject
*_wrap_wxPyCircleShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1739 PyObject
* _resultobj
;
1740 wxPyCircleShape
* _arg0
;
1746 bool _arg6
= (bool ) TRUE
;
1747 PyObject
* _argo0
= 0;
1748 PyObject
* _argo1
= 0;
1749 int tempbool6
= (int) TRUE
;
1750 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
1753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyCircleShape_base_OnMovePost",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
1756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
1758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnMovePost. Expected _wxPyCircleShape_p.");
1763 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1764 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
1765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyCircleShape_base_OnMovePost. Expected _wxDC_p.");
1769 _arg6
= (bool ) tempbool6
;
1771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1772 wxPyCircleShape_base_OnMovePost(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
1774 wxPyEndAllowThreads(__tstate
);
1775 if (PyErr_Occurred()) return NULL
;
1776 } Py_INCREF(Py_None
);
1777 _resultobj
= Py_None
;
1781 #define wxPyCircleShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1782 static PyObject
*_wrap_wxPyCircleShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1783 PyObject
* _resultobj
;
1784 wxPyCircleShape
* _arg0
;
1788 int _arg4
= (int ) 0;
1789 int _arg5
= (int ) 0;
1790 PyObject
* _argo0
= 0;
1792 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
1795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyCircleShape_base_OnDragLeft",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
1798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
1800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnDragLeft. Expected _wxPyCircleShape_p.");
1804 _arg1
= (bool ) tempbool1
;
1806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1807 wxPyCircleShape_base_OnDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1809 wxPyEndAllowThreads(__tstate
);
1810 if (PyErr_Occurred()) return NULL
;
1811 } Py_INCREF(Py_None
);
1812 _resultobj
= Py_None
;
1816 #define wxPyCircleShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1817 static PyObject
*_wrap_wxPyCircleShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1818 PyObject
* _resultobj
;
1819 wxPyCircleShape
* _arg0
;
1822 int _arg3
= (int ) 0;
1823 int _arg4
= (int ) 0;
1824 PyObject
* _argo0
= 0;
1825 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
1828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyCircleShape_base_OnBeginDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
1833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnBeginDragLeft. Expected _wxPyCircleShape_p.");
1838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1839 wxPyCircleShape_base_OnBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1841 wxPyEndAllowThreads(__tstate
);
1842 if (PyErr_Occurred()) return NULL
;
1843 } Py_INCREF(Py_None
);
1844 _resultobj
= Py_None
;
1848 #define wxPyCircleShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1849 static PyObject
*_wrap_wxPyCircleShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1850 PyObject
* _resultobj
;
1851 wxPyCircleShape
* _arg0
;
1854 int _arg3
= (int ) 0;
1855 int _arg4
= (int ) 0;
1856 PyObject
* _argo0
= 0;
1857 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
1860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyCircleShape_base_OnEndDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
1865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnEndDragLeft. Expected _wxPyCircleShape_p.");
1870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1871 wxPyCircleShape_base_OnEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1873 wxPyEndAllowThreads(__tstate
);
1874 if (PyErr_Occurred()) return NULL
;
1875 } Py_INCREF(Py_None
);
1876 _resultobj
= Py_None
;
1880 #define wxPyCircleShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1881 static PyObject
*_wrap_wxPyCircleShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1882 PyObject
* _resultobj
;
1883 wxPyCircleShape
* _arg0
;
1887 int _arg4
= (int ) 0;
1888 int _arg5
= (int ) 0;
1889 PyObject
* _argo0
= 0;
1891 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
1894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyCircleShape_base_OnDragRight",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
1897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
1899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnDragRight. Expected _wxPyCircleShape_p.");
1903 _arg1
= (bool ) tempbool1
;
1905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1906 wxPyCircleShape_base_OnDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1908 wxPyEndAllowThreads(__tstate
);
1909 if (PyErr_Occurred()) return NULL
;
1910 } Py_INCREF(Py_None
);
1911 _resultobj
= Py_None
;
1915 #define wxPyCircleShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1916 static PyObject
*_wrap_wxPyCircleShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1917 PyObject
* _resultobj
;
1918 wxPyCircleShape
* _arg0
;
1921 int _arg3
= (int ) 0;
1922 int _arg4
= (int ) 0;
1923 PyObject
* _argo0
= 0;
1924 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
1927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyCircleShape_base_OnBeginDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
1932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnBeginDragRight. Expected _wxPyCircleShape_p.");
1937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1938 wxPyCircleShape_base_OnBeginDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1940 wxPyEndAllowThreads(__tstate
);
1941 if (PyErr_Occurred()) return NULL
;
1942 } Py_INCREF(Py_None
);
1943 _resultobj
= Py_None
;
1947 #define wxPyCircleShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1948 static PyObject
*_wrap_wxPyCircleShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1949 PyObject
* _resultobj
;
1950 wxPyCircleShape
* _arg0
;
1953 int _arg3
= (int ) 0;
1954 int _arg4
= (int ) 0;
1955 PyObject
* _argo0
= 0;
1956 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
1959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyCircleShape_base_OnEndDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
1962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
1964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnEndDragRight. Expected _wxPyCircleShape_p.");
1969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1970 wxPyCircleShape_base_OnEndDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1972 wxPyEndAllowThreads(__tstate
);
1973 if (PyErr_Occurred()) return NULL
;
1974 } Py_INCREF(Py_None
);
1975 _resultobj
= Py_None
;
1979 #define wxPyCircleShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1980 static PyObject
*_wrap_wxPyCircleShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1981 PyObject
* _resultobj
;
1982 wxPyCircleShape
* _arg0
;
1988 PyObject
* _argo0
= 0;
1989 PyObject
* _argo1
= 0;
1990 char *_kwnames
[] = { "self","dc","x","y","w","h", NULL
};
1993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd:wxPyCircleShape_base_OnDrawOutline",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
1996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
1998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnDrawOutline. Expected _wxPyCircleShape_p.");
2003 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2004 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyCircleShape_base_OnDrawOutline. Expected _wxDC_p.");
2010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2011 wxPyCircleShape_base_OnDrawOutline(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2013 wxPyEndAllowThreads(__tstate
);
2014 if (PyErr_Occurred()) return NULL
;
2015 } Py_INCREF(Py_None
);
2016 _resultobj
= Py_None
;
2020 #define wxPyCircleShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
2021 static PyObject
*_wrap_wxPyCircleShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2022 PyObject
* _resultobj
;
2023 wxPyCircleShape
* _arg0
;
2025 PyObject
* _argo0
= 0;
2026 PyObject
* _argo1
= 0;
2027 char *_kwnames
[] = { "self","dc", NULL
};
2030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyCircleShape_base_OnDrawControlPoints",_kwnames
,&_argo0
,&_argo1
))
2033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
2035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnDrawControlPoints. Expected _wxPyCircleShape_p.");
2040 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2041 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyCircleShape_base_OnDrawControlPoints. Expected _wxDC_p.");
2047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2048 wxPyCircleShape_base_OnDrawControlPoints(_arg0
,*_arg1
);
2050 wxPyEndAllowThreads(__tstate
);
2051 if (PyErr_Occurred()) return NULL
;
2052 } Py_INCREF(Py_None
);
2053 _resultobj
= Py_None
;
2057 #define wxPyCircleShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
2058 static PyObject
*_wrap_wxPyCircleShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2059 PyObject
* _resultobj
;
2060 wxPyCircleShape
* _arg0
;
2062 PyObject
* _argo0
= 0;
2063 PyObject
* _argo1
= 0;
2064 char *_kwnames
[] = { "self","dc", NULL
};
2067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyCircleShape_base_OnEraseControlPoints",_kwnames
,&_argo0
,&_argo1
))
2070 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2071 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
2072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnEraseControlPoints. Expected _wxPyCircleShape_p.");
2077 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2078 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyCircleShape_base_OnEraseControlPoints. Expected _wxDC_p.");
2084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2085 wxPyCircleShape_base_OnEraseControlPoints(_arg0
,*_arg1
);
2087 wxPyEndAllowThreads(__tstate
);
2088 if (PyErr_Occurred()) return NULL
;
2089 } Py_INCREF(Py_None
);
2090 _resultobj
= Py_None
;
2094 #define wxPyCircleShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
2095 static PyObject
*_wrap_wxPyCircleShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2096 PyObject
* _resultobj
;
2097 wxPyCircleShape
* _arg0
;
2099 bool _arg2
= (bool ) TRUE
;
2100 PyObject
* _argo0
= 0;
2101 PyObject
* _argo1
= 0;
2102 int tempbool2
= (int) TRUE
;
2103 char *_kwnames
[] = { "self","dc","moveControlPoints", NULL
};
2106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyCircleShape_base_OnMoveLink",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
2109 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2110 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
2111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnMoveLink. Expected _wxPyCircleShape_p.");
2116 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2117 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
2118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyCircleShape_base_OnMoveLink. Expected _wxDC_p.");
2122 _arg2
= (bool ) tempbool2
;
2124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2125 wxPyCircleShape_base_OnMoveLink(_arg0
,*_arg1
,_arg2
);
2127 wxPyEndAllowThreads(__tstate
);
2128 if (PyErr_Occurred()) return NULL
;
2129 } Py_INCREF(Py_None
);
2130 _resultobj
= Py_None
;
2134 #define wxPyCircleShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2135 static PyObject
*_wrap_wxPyCircleShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2136 PyObject
* _resultobj
;
2137 wxPyCircleShape
* _arg0
;
2138 wxPyControlPoint
* _arg1
;
2142 int _arg5
= (int ) 0;
2143 int _arg6
= (int ) 0;
2144 PyObject
* _argo0
= 0;
2145 PyObject
* _argo1
= 0;
2147 char *_kwnames
[] = { "self","pt","draw","x","y","keys","attachment", NULL
};
2150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOidd|ii:wxPyCircleShape_base_OnSizingDragLeft",_kwnames
,&_argo0
,&_argo1
,&tempbool2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
2153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
2155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnSizingDragLeft. Expected _wxPyCircleShape_p.");
2160 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2161 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
2162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyCircleShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
2166 _arg2
= (bool ) tempbool2
;
2168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2169 wxPyCircleShape_base_OnSizingDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2171 wxPyEndAllowThreads(__tstate
);
2172 if (PyErr_Occurred()) return NULL
;
2173 } Py_INCREF(Py_None
);
2174 _resultobj
= Py_None
;
2178 #define wxPyCircleShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2179 static PyObject
*_wrap_wxPyCircleShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2180 PyObject
* _resultobj
;
2181 wxPyCircleShape
* _arg0
;
2182 wxPyControlPoint
* _arg1
;
2185 int _arg4
= (int ) 0;
2186 int _arg5
= (int ) 0;
2187 PyObject
* _argo0
= 0;
2188 PyObject
* _argo1
= 0;
2189 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
2192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyCircleShape_base_OnSizingBeginDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
2197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnSizingBeginDragLeft. Expected _wxPyCircleShape_p.");
2202 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2203 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
2204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyCircleShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
2209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2210 wxPyCircleShape_base_OnSizingBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2212 wxPyEndAllowThreads(__tstate
);
2213 if (PyErr_Occurred()) return NULL
;
2214 } Py_INCREF(Py_None
);
2215 _resultobj
= Py_None
;
2219 #define wxPyCircleShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2220 static PyObject
*_wrap_wxPyCircleShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2221 PyObject
* _resultobj
;
2222 wxPyCircleShape
* _arg0
;
2223 wxPyControlPoint
* _arg1
;
2226 int _arg4
= (int ) 0;
2227 int _arg5
= (int ) 0;
2228 PyObject
* _argo0
= 0;
2229 PyObject
* _argo1
= 0;
2230 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
2233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyCircleShape_base_OnSizingEndDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
2236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
2238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnSizingEndDragLeft. Expected _wxPyCircleShape_p.");
2243 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2244 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
2245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyCircleShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
2250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2251 wxPyCircleShape_base_OnSizingEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2253 wxPyEndAllowThreads(__tstate
);
2254 if (PyErr_Occurred()) return NULL
;
2255 } Py_INCREF(Py_None
);
2256 _resultobj
= Py_None
;
2260 #define wxPyCircleShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
2261 static PyObject
*_wrap_wxPyCircleShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2262 PyObject
* _resultobj
;
2263 wxPyCircleShape
* _arg0
;
2266 PyObject
* _argo0
= 0;
2267 char *_kwnames
[] = { "self","w","h", NULL
};
2270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyCircleShape_base_OnBeginSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
2275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnBeginSize. Expected _wxPyCircleShape_p.");
2280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2281 wxPyCircleShape_base_OnBeginSize(_arg0
,_arg1
,_arg2
);
2283 wxPyEndAllowThreads(__tstate
);
2284 if (PyErr_Occurred()) return NULL
;
2285 } Py_INCREF(Py_None
);
2286 _resultobj
= Py_None
;
2290 #define wxPyCircleShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
2291 static PyObject
*_wrap_wxPyCircleShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2292 PyObject
* _resultobj
;
2293 wxPyCircleShape
* _arg0
;
2296 PyObject
* _argo0
= 0;
2297 char *_kwnames
[] = { "self","w","h", NULL
};
2300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyCircleShape_base_OnEndSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyCircleShape_p")) {
2305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyCircleShape_base_OnEndSize. Expected _wxPyCircleShape_p.");
2310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2311 wxPyCircleShape_base_OnEndSize(_arg0
,_arg1
,_arg2
);
2313 wxPyEndAllowThreads(__tstate
);
2314 if (PyErr_Occurred()) return NULL
;
2315 } Py_INCREF(Py_None
);
2316 _resultobj
= Py_None
;
2320 static void *SwigwxArrowHeadTowxObject(void *ptr
) {
2323 src
= (wxArrowHead
*) ptr
;
2324 dest
= (wxObject
*) src
;
2325 return (void *) dest
;
2328 #define new_wxArrowHead(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxArrowHead(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2329 static PyObject
*_wrap_new_wxArrowHead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2330 PyObject
* _resultobj
;
2331 wxArrowHead
* _result
;
2332 int _arg0
= (int ) 0;
2333 int _arg1
= (int ) 0;
2334 double _arg2
= (double ) 0.0;
2335 double _arg3
= (double ) 0.0;
2336 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
2337 wxPseudoMetaFile
* _arg5
= (wxPseudoMetaFile
*) NULL
;
2338 long _arg6
= (long ) -1;
2339 PyObject
* _obj4
= 0;
2340 PyObject
* _argo5
= 0;
2341 char *_kwnames
[] = { "type","end","size","dist","name","mf","arrowId", NULL
};
2345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiddOOl:new_wxArrowHead",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
,&_argo5
,&_arg6
))
2349 _arg4
= wxString_in_helper(_obj4
);
2354 if (_argo5
== Py_None
) { _arg5
= NULL
; }
2355 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPseudoMetaFile_p")) {
2356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxArrowHead. Expected _wxPseudoMetaFile_p.");
2361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2362 _result
= (wxArrowHead
*)new_wxArrowHead(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,_arg5
,_arg6
);
2364 wxPyEndAllowThreads(__tstate
);
2365 if (PyErr_Occurred()) return NULL
;
2367 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxArrowHead_p");
2368 _resultobj
= Py_BuildValue("s",_ptemp
);
2371 _resultobj
= Py_None
;
2380 #define delete_wxArrowHead(_swigobj) (delete _swigobj)
2381 static PyObject
*_wrap_delete_wxArrowHead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2382 PyObject
* _resultobj
;
2383 wxArrowHead
* _arg0
;
2384 PyObject
* _argo0
= 0;
2385 char *_kwnames
[] = { "self", NULL
};
2388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxArrowHead",_kwnames
,&_argo0
))
2391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxArrowHead_p")) {
2393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxArrowHead. Expected _wxArrowHead_p.");
2398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2399 delete_wxArrowHead(_arg0
);
2401 wxPyEndAllowThreads(__tstate
);
2402 if (PyErr_Occurred()) return NULL
;
2403 } Py_INCREF(Py_None
);
2404 _resultobj
= Py_None
;
2408 #define wxArrowHead__GetType(_swigobj) (_swigobj->_GetType())
2409 static PyObject
*_wrap_wxArrowHead__GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2410 PyObject
* _resultobj
;
2412 wxArrowHead
* _arg0
;
2413 PyObject
* _argo0
= 0;
2414 char *_kwnames
[] = { "self", NULL
};
2417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxArrowHead__GetType",_kwnames
,&_argo0
))
2420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxArrowHead_p")) {
2422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArrowHead__GetType. Expected _wxArrowHead_p.");
2427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2428 _result
= (int )wxArrowHead__GetType(_arg0
);
2430 wxPyEndAllowThreads(__tstate
);
2431 if (PyErr_Occurred()) return NULL
;
2432 } _resultobj
= Py_BuildValue("i",_result
);
2436 #define wxArrowHead_GetPosition(_swigobj) (_swigobj->GetPosition())
2437 static PyObject
*_wrap_wxArrowHead_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2438 PyObject
* _resultobj
;
2440 wxArrowHead
* _arg0
;
2441 PyObject
* _argo0
= 0;
2442 char *_kwnames
[] = { "self", NULL
};
2445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxArrowHead_GetPosition",_kwnames
,&_argo0
))
2448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxArrowHead_p")) {
2450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArrowHead_GetPosition. Expected _wxArrowHead_p.");
2455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2456 _result
= (int )wxArrowHead_GetPosition(_arg0
);
2458 wxPyEndAllowThreads(__tstate
);
2459 if (PyErr_Occurred()) return NULL
;
2460 } _resultobj
= Py_BuildValue("i",_result
);
2464 #define wxArrowHead_SetPosition(_swigobj,_swigarg0) (_swigobj->SetPosition(_swigarg0))
2465 static PyObject
*_wrap_wxArrowHead_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2466 PyObject
* _resultobj
;
2467 wxArrowHead
* _arg0
;
2469 PyObject
* _argo0
= 0;
2470 char *_kwnames
[] = { "self","pos", NULL
};
2473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxArrowHead_SetPosition",_kwnames
,&_argo0
,&_arg1
))
2476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxArrowHead_p")) {
2478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArrowHead_SetPosition. Expected _wxArrowHead_p.");
2483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2484 wxArrowHead_SetPosition(_arg0
,_arg1
);
2486 wxPyEndAllowThreads(__tstate
);
2487 if (PyErr_Occurred()) return NULL
;
2488 } Py_INCREF(Py_None
);
2489 _resultobj
= Py_None
;
2493 #define wxArrowHead_GetXOffset(_swigobj) (_swigobj->GetXOffset())
2494 static PyObject
*_wrap_wxArrowHead_GetXOffset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2495 PyObject
* _resultobj
;
2497 wxArrowHead
* _arg0
;
2498 PyObject
* _argo0
= 0;
2499 char *_kwnames
[] = { "self", NULL
};
2502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxArrowHead_GetXOffset",_kwnames
,&_argo0
))
2505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxArrowHead_p")) {
2507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArrowHead_GetXOffset. Expected _wxArrowHead_p.");
2512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2513 _result
= (double )wxArrowHead_GetXOffset(_arg0
);
2515 wxPyEndAllowThreads(__tstate
);
2516 if (PyErr_Occurred()) return NULL
;
2517 } _resultobj
= Py_BuildValue("d",_result
);
2521 #define wxArrowHead_GetYOffset(_swigobj) (_swigobj->GetYOffset())
2522 static PyObject
*_wrap_wxArrowHead_GetYOffset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2523 PyObject
* _resultobj
;
2525 wxArrowHead
* _arg0
;
2526 PyObject
* _argo0
= 0;
2527 char *_kwnames
[] = { "self", NULL
};
2530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxArrowHead_GetYOffset",_kwnames
,&_argo0
))
2533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxArrowHead_p")) {
2535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArrowHead_GetYOffset. Expected _wxArrowHead_p.");
2540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2541 _result
= (double )wxArrowHead_GetYOffset(_arg0
);
2543 wxPyEndAllowThreads(__tstate
);
2544 if (PyErr_Occurred()) return NULL
;
2545 } _resultobj
= Py_BuildValue("d",_result
);
2549 #define wxArrowHead_GetSpacing(_swigobj) (_swigobj->GetSpacing())
2550 static PyObject
*_wrap_wxArrowHead_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2551 PyObject
* _resultobj
;
2553 wxArrowHead
* _arg0
;
2554 PyObject
* _argo0
= 0;
2555 char *_kwnames
[] = { "self", NULL
};
2558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxArrowHead_GetSpacing",_kwnames
,&_argo0
))
2561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxArrowHead_p")) {
2563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArrowHead_GetSpacing. Expected _wxArrowHead_p.");
2568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2569 _result
= (double )wxArrowHead_GetSpacing(_arg0
);
2571 wxPyEndAllowThreads(__tstate
);
2572 if (PyErr_Occurred()) return NULL
;
2573 } _resultobj
= Py_BuildValue("d",_result
);
2577 #define wxArrowHead_GetSize(_swigobj) (_swigobj->GetSize())
2578 static PyObject
*_wrap_wxArrowHead_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2579 PyObject
* _resultobj
;
2581 wxArrowHead
* _arg0
;
2582 PyObject
* _argo0
= 0;
2583 char *_kwnames
[] = { "self", NULL
};
2586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxArrowHead_GetSize",_kwnames
,&_argo0
))
2589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxArrowHead_p")) {
2591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArrowHead_GetSize. Expected _wxArrowHead_p.");
2596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2597 _result
= (double )wxArrowHead_GetSize(_arg0
);
2599 wxPyEndAllowThreads(__tstate
);
2600 if (PyErr_Occurred()) return NULL
;
2601 } _resultobj
= Py_BuildValue("d",_result
);
2605 #define wxArrowHead_GetName(_swigobj) (_swigobj->GetName())
2606 static PyObject
*_wrap_wxArrowHead_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2607 PyObject
* _resultobj
;
2609 wxArrowHead
* _arg0
;
2610 PyObject
* _argo0
= 0;
2611 char *_kwnames
[] = { "self", NULL
};
2614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxArrowHead_GetName",_kwnames
,&_argo0
))
2617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxArrowHead_p")) {
2619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArrowHead_GetName. Expected _wxArrowHead_p.");
2624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2625 _result
= new wxString (wxArrowHead_GetName(_arg0
));
2627 wxPyEndAllowThreads(__tstate
);
2628 if (PyErr_Occurred()) return NULL
;
2631 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2633 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2642 #define wxArrowHead_SetXOffset(_swigobj,_swigarg0) (_swigobj->SetXOffset(_swigarg0))
2643 static PyObject
*_wrap_wxArrowHead_SetXOffset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2644 PyObject
* _resultobj
;
2645 wxArrowHead
* _arg0
;
2647 PyObject
* _argo0
= 0;
2648 char *_kwnames
[] = { "self","x", NULL
};
2651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxArrowHead_SetXOffset",_kwnames
,&_argo0
,&_arg1
))
2654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxArrowHead_p")) {
2656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArrowHead_SetXOffset. Expected _wxArrowHead_p.");
2661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2662 wxArrowHead_SetXOffset(_arg0
,_arg1
);
2664 wxPyEndAllowThreads(__tstate
);
2665 if (PyErr_Occurred()) return NULL
;
2666 } Py_INCREF(Py_None
);
2667 _resultobj
= Py_None
;
2671 #define wxArrowHead_SetYOffset(_swigobj,_swigarg0) (_swigobj->SetYOffset(_swigarg0))
2672 static PyObject
*_wrap_wxArrowHead_SetYOffset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2673 PyObject
* _resultobj
;
2674 wxArrowHead
* _arg0
;
2676 PyObject
* _argo0
= 0;
2677 char *_kwnames
[] = { "self","y", NULL
};
2680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxArrowHead_SetYOffset",_kwnames
,&_argo0
,&_arg1
))
2683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxArrowHead_p")) {
2685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArrowHead_SetYOffset. Expected _wxArrowHead_p.");
2690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2691 wxArrowHead_SetYOffset(_arg0
,_arg1
);
2693 wxPyEndAllowThreads(__tstate
);
2694 if (PyErr_Occurred()) return NULL
;
2695 } Py_INCREF(Py_None
);
2696 _resultobj
= Py_None
;
2700 #define wxArrowHead_GetMetaFile(_swigobj) (_swigobj->GetMetaFile())
2701 static PyObject
*_wrap_wxArrowHead_GetMetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2702 PyObject
* _resultobj
;
2703 wxPseudoMetaFile
* _result
;
2704 wxArrowHead
* _arg0
;
2705 PyObject
* _argo0
= 0;
2706 char *_kwnames
[] = { "self", NULL
};
2709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxArrowHead_GetMetaFile",_kwnames
,&_argo0
))
2712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxArrowHead_p")) {
2714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArrowHead_GetMetaFile. Expected _wxArrowHead_p.");
2719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2720 _result
= (wxPseudoMetaFile
*)wxArrowHead_GetMetaFile(_arg0
);
2722 wxPyEndAllowThreads(__tstate
);
2723 if (PyErr_Occurred()) return NULL
;
2724 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2728 #define wxArrowHead_GetId(_swigobj) (_swigobj->GetId())
2729 static PyObject
*_wrap_wxArrowHead_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2730 PyObject
* _resultobj
;
2732 wxArrowHead
* _arg0
;
2733 PyObject
* _argo0
= 0;
2734 char *_kwnames
[] = { "self", NULL
};
2737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxArrowHead_GetId",_kwnames
,&_argo0
))
2740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxArrowHead_p")) {
2742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArrowHead_GetId. Expected _wxArrowHead_p.");
2747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2748 _result
= (long )wxArrowHead_GetId(_arg0
);
2750 wxPyEndAllowThreads(__tstate
);
2751 if (PyErr_Occurred()) return NULL
;
2752 } _resultobj
= Py_BuildValue("l",_result
);
2756 #define wxArrowHead_GetArrowEnd(_swigobj) (_swigobj->GetArrowEnd())
2757 static PyObject
*_wrap_wxArrowHead_GetArrowEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2758 PyObject
* _resultobj
;
2760 wxArrowHead
* _arg0
;
2761 PyObject
* _argo0
= 0;
2762 char *_kwnames
[] = { "self", NULL
};
2765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxArrowHead_GetArrowEnd",_kwnames
,&_argo0
))
2768 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2769 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxArrowHead_p")) {
2770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArrowHead_GetArrowEnd. Expected _wxArrowHead_p.");
2775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2776 _result
= (int )wxArrowHead_GetArrowEnd(_arg0
);
2778 wxPyEndAllowThreads(__tstate
);
2779 if (PyErr_Occurred()) return NULL
;
2780 } _resultobj
= Py_BuildValue("i",_result
);
2784 #define wxArrowHead_GetArrowSize(_swigobj) (_swigobj->GetArrowSize())
2785 static PyObject
*_wrap_wxArrowHead_GetArrowSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2786 PyObject
* _resultobj
;
2788 wxArrowHead
* _arg0
;
2789 PyObject
* _argo0
= 0;
2790 char *_kwnames
[] = { "self", NULL
};
2793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxArrowHead_GetArrowSize",_kwnames
,&_argo0
))
2796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxArrowHead_p")) {
2798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArrowHead_GetArrowSize. Expected _wxArrowHead_p.");
2803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2804 _result
= (double )wxArrowHead_GetArrowSize(_arg0
);
2806 wxPyEndAllowThreads(__tstate
);
2807 if (PyErr_Occurred()) return NULL
;
2808 } _resultobj
= Py_BuildValue("d",_result
);
2812 #define wxArrowHead_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2813 static PyObject
*_wrap_wxArrowHead_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2814 PyObject
* _resultobj
;
2815 wxArrowHead
* _arg0
;
2817 PyObject
* _argo0
= 0;
2818 char *_kwnames
[] = { "self","size", NULL
};
2821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxArrowHead_SetSize",_kwnames
,&_argo0
,&_arg1
))
2824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxArrowHead_p")) {
2826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArrowHead_SetSize. Expected _wxArrowHead_p.");
2831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2832 wxArrowHead_SetSize(_arg0
,_arg1
);
2834 wxPyEndAllowThreads(__tstate
);
2835 if (PyErr_Occurred()) return NULL
;
2836 } Py_INCREF(Py_None
);
2837 _resultobj
= Py_None
;
2841 #define wxArrowHead_SetSpacing(_swigobj,_swigarg0) (_swigobj->SetSpacing(_swigarg0))
2842 static PyObject
*_wrap_wxArrowHead_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2843 PyObject
* _resultobj
;
2844 wxArrowHead
* _arg0
;
2846 PyObject
* _argo0
= 0;
2847 char *_kwnames
[] = { "self","sp", NULL
};
2850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxArrowHead_SetSpacing",_kwnames
,&_argo0
,&_arg1
))
2853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxArrowHead_p")) {
2855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArrowHead_SetSpacing. Expected _wxArrowHead_p.");
2860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2861 wxArrowHead_SetSpacing(_arg0
,_arg1
);
2863 wxPyEndAllowThreads(__tstate
);
2864 if (PyErr_Occurred()) return NULL
;
2865 } Py_INCREF(Py_None
);
2866 _resultobj
= Py_None
;
2870 static void *SwigwxPyLineShapeTowxPyShape(void *ptr
) {
2873 src
= (wxPyLineShape
*) ptr
;
2874 dest
= (wxPyShape
*) src
;
2875 return (void *) dest
;
2878 static void *SwigwxPyLineShapeTowxPyShapeEvtHandler(void *ptr
) {
2880 wxPyShapeEvtHandler
*dest
;
2881 src
= (wxPyLineShape
*) ptr
;
2882 dest
= (wxPyShapeEvtHandler
*) src
;
2883 return (void *) dest
;
2886 static void *SwigwxPyLineShapeTowxObject(void *ptr
) {
2889 src
= (wxPyLineShape
*) ptr
;
2890 dest
= (wxObject
*) src
;
2891 return (void *) dest
;
2894 #define new_wxPyLineShape() (new wxPyLineShape())
2895 static PyObject
*_wrap_new_wxPyLineShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2896 PyObject
* _resultobj
;
2897 wxPyLineShape
* _result
;
2898 char *_kwnames
[] = { NULL
};
2902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyLineShape",_kwnames
))
2905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2906 _result
= (wxPyLineShape
*)new_wxPyLineShape();
2908 wxPyEndAllowThreads(__tstate
);
2909 if (PyErr_Occurred()) return NULL
;
2911 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyLineShape_p");
2912 _resultobj
= Py_BuildValue("s",_ptemp
);
2915 _resultobj
= Py_None
;
2920 #define wxPyLineShape__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2921 static PyObject
*_wrap_wxPyLineShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2922 PyObject
* _resultobj
;
2923 wxPyLineShape
* _arg0
;
2926 PyObject
* _argo0
= 0;
2927 PyObject
* _obj1
= 0;
2928 PyObject
* _obj2
= 0;
2929 char *_kwnames
[] = { "self","self","_class", NULL
};
2932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyLineShape__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2935 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2936 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
2937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape__setCallbackInfo. Expected _wxPyLineShape_p.");
2948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2949 wxPyLineShape__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2951 wxPyEndAllowThreads(__tstate
);
2952 if (PyErr_Occurred()) return NULL
;
2953 } Py_INCREF(Py_None
);
2954 _resultobj
= Py_None
;
2958 #define wxPyLineShape_AddArrow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->AddArrow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2959 static PyObject
*_wrap_wxPyLineShape_AddArrow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2960 PyObject
* _resultobj
;
2961 wxPyLineShape
* _arg0
;
2963 int _arg2
= (int ) ARROW_POSITION_END
;
2964 double _arg3
= (double ) 10.0;
2965 double _arg4
= (double ) 0.0;
2966 wxString
* _arg5
= (wxString
*) &wxPyEmptyString
;
2967 wxPseudoMetaFile
* _arg6
= (wxPseudoMetaFile
*) NULL
;
2968 long _arg7
= (long ) -1;
2969 PyObject
* _argo0
= 0;
2970 PyObject
* _obj5
= 0;
2971 PyObject
* _argo6
= 0;
2972 char *_kwnames
[] = { "self","type","end","arrowSize","xOffset","name","mf","arrowId", NULL
};
2975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|iddOOl:wxPyLineShape_AddArrow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
,&_argo6
,&_arg7
))
2978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
2980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_AddArrow. Expected _wxPyLineShape_p.");
2986 _arg5
= wxString_in_helper(_obj5
);
2991 if (_argo6
== Py_None
) { _arg6
= NULL
; }
2992 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxPseudoMetaFile_p")) {
2993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxPyLineShape_AddArrow. Expected _wxPseudoMetaFile_p.");
2998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2999 wxPyLineShape_AddArrow(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,*_arg5
,_arg6
,_arg7
);
3001 wxPyEndAllowThreads(__tstate
);
3002 if (PyErr_Occurred()) return NULL
;
3003 } Py_INCREF(Py_None
);
3004 _resultobj
= Py_None
;
3012 static void wxPyLineShape_AddArrowOrdered(wxPyLineShape
*self
,wxArrowHead
* arrow
,PyObject
* referenceList
,int end
) {
3013 wxList
* list
= wxPy_wxListHelper(referenceList
, "_wxArrowHead_p");
3014 self
->AddArrowOrdered(arrow
, *list
, end
);
3017 static PyObject
*_wrap_wxPyLineShape_AddArrowOrdered(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3018 PyObject
* _resultobj
;
3019 wxPyLineShape
* _arg0
;
3020 wxArrowHead
* _arg1
;
3023 PyObject
* _argo0
= 0;
3024 PyObject
* _argo1
= 0;
3025 PyObject
* _obj2
= 0;
3026 char *_kwnames
[] = { "self","arrow","referenceList","end", NULL
};
3029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOi:wxPyLineShape_AddArrowOrdered",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
))
3032 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3033 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_AddArrowOrdered. Expected _wxPyLineShape_p.");
3039 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3040 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxArrowHead_p")) {
3041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_AddArrowOrdered. Expected _wxArrowHead_p.");
3049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3050 wxPyLineShape_AddArrowOrdered(_arg0
,_arg1
,_arg2
,_arg3
);
3052 wxPyEndAllowThreads(__tstate
);
3053 if (PyErr_Occurred()) return NULL
;
3054 } Py_INCREF(Py_None
);
3055 _resultobj
= Py_None
;
3059 #define wxPyLineShape_ClearArrow(_swigobj,_swigarg0) (_swigobj->ClearArrow(_swigarg0))
3060 static PyObject
*_wrap_wxPyLineShape_ClearArrow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3061 PyObject
* _resultobj
;
3063 wxPyLineShape
* _arg0
;
3065 PyObject
* _argo0
= 0;
3066 PyObject
* _obj1
= 0;
3067 char *_kwnames
[] = { "self","name", NULL
};
3070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyLineShape_ClearArrow",_kwnames
,&_argo0
,&_obj1
))
3073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_ClearArrow. Expected _wxPyLineShape_p.");
3080 _arg1
= wxString_in_helper(_obj1
);
3085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3086 _result
= (bool )wxPyLineShape_ClearArrow(_arg0
,*_arg1
);
3088 wxPyEndAllowThreads(__tstate
);
3089 if (PyErr_Occurred()) return NULL
;
3090 } _resultobj
= Py_BuildValue("i",_result
);
3098 #define wxPyLineShape_ClearArrowsAtPosition(_swigobj,_swigarg0) (_swigobj->ClearArrowsAtPosition(_swigarg0))
3099 static PyObject
*_wrap_wxPyLineShape_ClearArrowsAtPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3100 PyObject
* _resultobj
;
3101 wxPyLineShape
* _arg0
;
3102 int _arg1
= (int ) -1;
3103 PyObject
* _argo0
= 0;
3104 char *_kwnames
[] = { "self","position", NULL
};
3107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyLineShape_ClearArrowsAtPosition",_kwnames
,&_argo0
,&_arg1
))
3110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_ClearArrowsAtPosition. Expected _wxPyLineShape_p.");
3117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3118 wxPyLineShape_ClearArrowsAtPosition(_arg0
,_arg1
);
3120 wxPyEndAllowThreads(__tstate
);
3121 if (PyErr_Occurred()) return NULL
;
3122 } Py_INCREF(Py_None
);
3123 _resultobj
= Py_None
;
3127 #define wxPyLineShape_DrawArrow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawArrow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3128 static PyObject
*_wrap_wxPyLineShape_DrawArrow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3129 PyObject
* _resultobj
;
3130 wxPyLineShape
* _arg0
;
3132 wxArrowHead
* _arg2
;
3135 PyObject
* _argo0
= 0;
3136 PyObject
* _argo1
= 0;
3137 PyObject
* _argo2
= 0;
3139 char *_kwnames
[] = { "self","dc","arrow","xOffset","proportionalOffset", NULL
};
3142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOdi:wxPyLineShape_DrawArrow",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
,&tempbool4
))
3145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_DrawArrow. Expected _wxPyLineShape_p.");
3152 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3153 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_DrawArrow. Expected _wxDC_p.");
3159 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3160 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxArrowHead_p")) {
3161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyLineShape_DrawArrow. Expected _wxArrowHead_p.");
3165 _arg4
= (bool ) tempbool4
;
3167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3168 wxPyLineShape_DrawArrow(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3170 wxPyEndAllowThreads(__tstate
);
3171 if (PyErr_Occurred()) return NULL
;
3172 } Py_INCREF(Py_None
);
3173 _resultobj
= Py_None
;
3177 #define wxPyLineShape_DeleteArrowHeadId(_swigobj,_swigarg0) (_swigobj->DeleteArrowHead(_swigarg0))
3178 static PyObject
*_wrap_wxPyLineShape_DeleteArrowHeadId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3179 PyObject
* _resultobj
;
3181 wxPyLineShape
* _arg0
;
3183 PyObject
* _argo0
= 0;
3184 char *_kwnames
[] = { "self","arrowId", NULL
};
3187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPyLineShape_DeleteArrowHeadId",_kwnames
,&_argo0
,&_arg1
))
3190 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3191 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_DeleteArrowHeadId. Expected _wxPyLineShape_p.");
3197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3198 _result
= (bool )wxPyLineShape_DeleteArrowHeadId(_arg0
,_arg1
);
3200 wxPyEndAllowThreads(__tstate
);
3201 if (PyErr_Occurred()) return NULL
;
3202 } _resultobj
= Py_BuildValue("i",_result
);
3206 #define wxPyLineShape_DeleteArrowHead(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteArrowHead(_swigarg0,_swigarg1))
3207 static PyObject
*_wrap_wxPyLineShape_DeleteArrowHead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3208 PyObject
* _resultobj
;
3210 wxPyLineShape
* _arg0
;
3213 PyObject
* _argo0
= 0;
3214 PyObject
* _obj2
= 0;
3215 char *_kwnames
[] = { "self","position","name", NULL
};
3218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxPyLineShape_DeleteArrowHead",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_DeleteArrowHead. Expected _wxPyLineShape_p.");
3228 _arg2
= wxString_in_helper(_obj2
);
3233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3234 _result
= (bool )wxPyLineShape_DeleteArrowHead(_arg0
,_arg1
,*_arg2
);
3236 wxPyEndAllowThreads(__tstate
);
3237 if (PyErr_Occurred()) return NULL
;
3238 } _resultobj
= Py_BuildValue("i",_result
);
3246 #define wxPyLineShape_DeleteLineControlPoint(_swigobj) (_swigobj->DeleteLineControlPoint())
3247 static PyObject
*_wrap_wxPyLineShape_DeleteLineControlPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3248 PyObject
* _resultobj
;
3250 wxPyLineShape
* _arg0
;
3251 PyObject
* _argo0
= 0;
3252 char *_kwnames
[] = { "self", NULL
};
3255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLineShape_DeleteLineControlPoint",_kwnames
,&_argo0
))
3258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_DeleteLineControlPoint. Expected _wxPyLineShape_p.");
3265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3266 _result
= (bool )wxPyLineShape_DeleteLineControlPoint(_arg0
);
3268 wxPyEndAllowThreads(__tstate
);
3269 if (PyErr_Occurred()) return NULL
;
3270 } _resultobj
= Py_BuildValue("i",_result
);
3274 #define wxPyLineShape_DrawArrows(_swigobj,_swigarg0) (_swigobj->DrawArrows(_swigarg0))
3275 static PyObject
*_wrap_wxPyLineShape_DrawArrows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3276 PyObject
* _resultobj
;
3277 wxPyLineShape
* _arg0
;
3279 PyObject
* _argo0
= 0;
3280 PyObject
* _argo1
= 0;
3281 char *_kwnames
[] = { "self","dc", NULL
};
3284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyLineShape_DrawArrows",_kwnames
,&_argo0
,&_argo1
))
3287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_DrawArrows. Expected _wxPyLineShape_p.");
3294 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3295 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_DrawArrows. Expected _wxDC_p.");
3301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3302 wxPyLineShape_DrawArrows(_arg0
,*_arg1
);
3304 wxPyEndAllowThreads(__tstate
);
3305 if (PyErr_Occurred()) return NULL
;
3306 } Py_INCREF(Py_None
);
3307 _resultobj
= Py_None
;
3311 #define wxPyLineShape_DrawRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3312 static PyObject
*_wrap_wxPyLineShape_DrawRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3313 PyObject
* _resultobj
;
3314 wxPyLineShape
* _arg0
;
3316 wxShapeRegion
* _arg2
;
3319 PyObject
* _argo0
= 0;
3320 PyObject
* _argo1
= 0;
3321 PyObject
* _argo2
= 0;
3322 char *_kwnames
[] = { "self","dc","region","x","y", NULL
};
3325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOdd:wxPyLineShape_DrawRegion",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
,&_arg4
))
3328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_DrawRegion. Expected _wxPyLineShape_p.");
3335 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3336 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_DrawRegion. Expected _wxDC_p.");
3342 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3343 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxShapeRegion_p")) {
3344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyLineShape_DrawRegion. Expected _wxShapeRegion_p.");
3349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3350 wxPyLineShape_DrawRegion(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3352 wxPyEndAllowThreads(__tstate
);
3353 if (PyErr_Occurred()) return NULL
;
3354 } Py_INCREF(Py_None
);
3355 _resultobj
= Py_None
;
3359 #define wxPyLineShape_EraseRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->EraseRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3360 static PyObject
*_wrap_wxPyLineShape_EraseRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3361 PyObject
* _resultobj
;
3362 wxPyLineShape
* _arg0
;
3364 wxShapeRegion
* _arg2
;
3367 PyObject
* _argo0
= 0;
3368 PyObject
* _argo1
= 0;
3369 PyObject
* _argo2
= 0;
3370 char *_kwnames
[] = { "self","dc","region","x","y", NULL
};
3373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOdd:wxPyLineShape_EraseRegion",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_arg3
,&_arg4
))
3376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_EraseRegion. Expected _wxPyLineShape_p.");
3383 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3384 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_EraseRegion. Expected _wxDC_p.");
3390 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3391 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxShapeRegion_p")) {
3392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxPyLineShape_EraseRegion. Expected _wxShapeRegion_p.");
3397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3398 wxPyLineShape_EraseRegion(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3400 wxPyEndAllowThreads(__tstate
);
3401 if (PyErr_Occurred()) return NULL
;
3402 } Py_INCREF(Py_None
);
3403 _resultobj
= Py_None
;
3407 #define wxPyLineShape_FindArrowHeadId(_swigobj,_swigarg0) (_swigobj->FindArrowHead(_swigarg0))
3408 static PyObject
*_wrap_wxPyLineShape_FindArrowHeadId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3409 PyObject
* _resultobj
;
3410 wxArrowHead
* _result
;
3411 wxPyLineShape
* _arg0
;
3413 PyObject
* _argo0
= 0;
3414 char *_kwnames
[] = { "self","arrowId", NULL
};
3417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPyLineShape_FindArrowHeadId",_kwnames
,&_argo0
,&_arg1
))
3420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_FindArrowHeadId. Expected _wxPyLineShape_p.");
3427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3428 _result
= (wxArrowHead
*)wxPyLineShape_FindArrowHeadId(_arg0
,_arg1
);
3430 wxPyEndAllowThreads(__tstate
);
3431 if (PyErr_Occurred()) return NULL
;
3432 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3436 #define wxPyLineShape_FindArrowHead(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindArrowHead(_swigarg0,_swigarg1))
3437 static PyObject
*_wrap_wxPyLineShape_FindArrowHead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3438 PyObject
* _resultobj
;
3439 wxArrowHead
* _result
;
3440 wxPyLineShape
* _arg0
;
3443 PyObject
* _argo0
= 0;
3444 PyObject
* _obj2
= 0;
3445 char *_kwnames
[] = { "self","position","name", NULL
};
3448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxPyLineShape_FindArrowHead",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_FindArrowHead. Expected _wxPyLineShape_p.");
3458 _arg2
= wxString_in_helper(_obj2
);
3463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3464 _result
= (wxArrowHead
*)wxPyLineShape_FindArrowHead(_arg0
,_arg1
,*_arg2
);
3466 wxPyEndAllowThreads(__tstate
);
3467 if (PyErr_Occurred()) return NULL
;
3468 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3476 #define wxPyLineShape_FindLineEndPoints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FindLineEndPoints(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3477 static PyObject
*_wrap_wxPyLineShape_FindLineEndPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3478 PyObject
* _resultobj
;
3479 wxPyLineShape
* _arg0
;
3488 PyObject
* _argo0
= 0;
3489 char *_kwnames
[] = { "self", NULL
};
3504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLineShape_FindLineEndPoints",_kwnames
,&_argo0
))
3507 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3508 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_FindLineEndPoints. Expected _wxPyLineShape_p.");
3514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3515 wxPyLineShape_FindLineEndPoints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3517 wxPyEndAllowThreads(__tstate
);
3518 if (PyErr_Occurred()) return NULL
;
3519 } Py_INCREF(Py_None
);
3520 _resultobj
= Py_None
;
3523 o
= PyFloat_FromDouble((double) (*_arg1
));
3524 _resultobj
= t_output_helper(_resultobj
, o
);
3528 o
= PyFloat_FromDouble((double) (*_arg2
));
3529 _resultobj
= t_output_helper(_resultobj
, o
);
3533 o
= PyFloat_FromDouble((double) (*_arg3
));
3534 _resultobj
= t_output_helper(_resultobj
, o
);
3538 o
= PyFloat_FromDouble((double) (*_arg4
));
3539 _resultobj
= t_output_helper(_resultobj
, o
);
3544 #define wxPyLineShape_FindLinePosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindLinePosition(_swigarg0,_swigarg1))
3545 static PyObject
*_wrap_wxPyLineShape_FindLinePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3546 PyObject
* _resultobj
;
3548 wxPyLineShape
* _arg0
;
3551 PyObject
* _argo0
= 0;
3552 char *_kwnames
[] = { "self","x","y", NULL
};
3555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyLineShape_FindLinePosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_FindLinePosition. Expected _wxPyLineShape_p.");
3565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3566 _result
= (int )wxPyLineShape_FindLinePosition(_arg0
,_arg1
,_arg2
);
3568 wxPyEndAllowThreads(__tstate
);
3569 if (PyErr_Occurred()) return NULL
;
3570 } _resultobj
= Py_BuildValue("i",_result
);
3574 #define wxPyLineShape_FindMinimumWidth(_swigobj) (_swigobj->FindMinimumWidth())
3575 static PyObject
*_wrap_wxPyLineShape_FindMinimumWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3576 PyObject
* _resultobj
;
3578 wxPyLineShape
* _arg0
;
3579 PyObject
* _argo0
= 0;
3580 char *_kwnames
[] = { "self", NULL
};
3583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLineShape_FindMinimumWidth",_kwnames
,&_argo0
))
3586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_FindMinimumWidth. Expected _wxPyLineShape_p.");
3593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3594 _result
= (double )wxPyLineShape_FindMinimumWidth(_arg0
);
3596 wxPyEndAllowThreads(__tstate
);
3597 if (PyErr_Occurred()) return NULL
;
3598 } _resultobj
= Py_BuildValue("d",_result
);
3602 #define wxPyLineShape_FindNth(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FindNth(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3603 static PyObject
*_wrap_wxPyLineShape_FindNth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3604 PyObject
* _resultobj
;
3605 wxPyLineShape
* _arg0
;
3612 PyObject
* _argo0
= 0;
3613 PyObject
* _argo1
= 0;
3615 char *_kwnames
[] = { "self","image","incoming", NULL
};
3624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxPyLineShape_FindNth",_kwnames
,&_argo0
,&_argo1
,&tempbool4
))
3627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_FindNth. Expected _wxPyLineShape_p.");
3634 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3635 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
3636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_FindNth. Expected _wxPyShape_p.");
3640 _arg4
= (bool ) tempbool4
;
3642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3643 wxPyLineShape_FindNth(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3645 wxPyEndAllowThreads(__tstate
);
3646 if (PyErr_Occurred()) return NULL
;
3647 } Py_INCREF(Py_None
);
3648 _resultobj
= Py_None
;
3651 o
= PyInt_FromLong((long) (*_arg2
));
3652 _resultobj
= t_output_helper(_resultobj
, o
);
3656 o
= PyInt_FromLong((long) (*_arg3
));
3657 _resultobj
= t_output_helper(_resultobj
, o
);
3662 #define wxPyLineShape_GetAttachmentFrom(_swigobj) (_swigobj->GetAttachmentFrom())
3663 static PyObject
*_wrap_wxPyLineShape_GetAttachmentFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3664 PyObject
* _resultobj
;
3666 wxPyLineShape
* _arg0
;
3667 PyObject
* _argo0
= 0;
3668 char *_kwnames
[] = { "self", NULL
};
3671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLineShape_GetAttachmentFrom",_kwnames
,&_argo0
))
3674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_GetAttachmentFrom. Expected _wxPyLineShape_p.");
3681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3682 _result
= (int )wxPyLineShape_GetAttachmentFrom(_arg0
);
3684 wxPyEndAllowThreads(__tstate
);
3685 if (PyErr_Occurred()) return NULL
;
3686 } _resultobj
= Py_BuildValue("i",_result
);
3690 #define wxPyLineShape_GetAttachmentTo(_swigobj) (_swigobj->GetAttachmentTo())
3691 static PyObject
*_wrap_wxPyLineShape_GetAttachmentTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3692 PyObject
* _resultobj
;
3694 wxPyLineShape
* _arg0
;
3695 PyObject
* _argo0
= 0;
3696 char *_kwnames
[] = { "self", NULL
};
3699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLineShape_GetAttachmentTo",_kwnames
,&_argo0
))
3702 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3703 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_GetAttachmentTo. Expected _wxPyLineShape_p.");
3709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3710 _result
= (int )wxPyLineShape_GetAttachmentTo(_arg0
);
3712 wxPyEndAllowThreads(__tstate
);
3713 if (PyErr_Occurred()) return NULL
;
3714 } _resultobj
= Py_BuildValue("i",_result
);
3718 #define wxPyLineShape_GetEnds(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetEnds(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3719 static PyObject
*_wrap_wxPyLineShape_GetEnds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3720 PyObject
* _resultobj
;
3721 wxPyLineShape
* _arg0
;
3730 PyObject
* _argo0
= 0;
3731 char *_kwnames
[] = { "self", NULL
};
3746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLineShape_GetEnds",_kwnames
,&_argo0
))
3749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_GetEnds. Expected _wxPyLineShape_p.");
3756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3757 wxPyLineShape_GetEnds(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3759 wxPyEndAllowThreads(__tstate
);
3760 if (PyErr_Occurred()) return NULL
;
3761 } Py_INCREF(Py_None
);
3762 _resultobj
= Py_None
;
3765 o
= PyFloat_FromDouble((double) (*_arg1
));
3766 _resultobj
= t_output_helper(_resultobj
, o
);
3770 o
= PyFloat_FromDouble((double) (*_arg2
));
3771 _resultobj
= t_output_helper(_resultobj
, o
);
3775 o
= PyFloat_FromDouble((double) (*_arg3
));
3776 _resultobj
= t_output_helper(_resultobj
, o
);
3780 o
= PyFloat_FromDouble((double) (*_arg4
));
3781 _resultobj
= t_output_helper(_resultobj
, o
);
3786 #define wxPyLineShape_GetFrom(_swigobj) (_swigobj->GetFrom())
3787 static PyObject
*_wrap_wxPyLineShape_GetFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3788 PyObject
* _resultobj
;
3789 wxPyShape
* _result
;
3790 wxPyLineShape
* _arg0
;
3791 PyObject
* _argo0
= 0;
3792 char *_kwnames
[] = { "self", NULL
};
3795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLineShape_GetFrom",_kwnames
,&_argo0
))
3798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_GetFrom. Expected _wxPyLineShape_p.");
3805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3806 _result
= (wxPyShape
*)wxPyLineShape_GetFrom(_arg0
);
3808 wxPyEndAllowThreads(__tstate
);
3809 if (PyErr_Occurred()) return NULL
;
3810 }{ _resultobj
= wxPyMake_wxShapeEvtHandler(_result
); }
3814 #define wxPyLineShape_GetLabelPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetLabelPosition(_swigarg0,_swigarg1,_swigarg2))
3815 static PyObject
*_wrap_wxPyLineShape_GetLabelPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3816 PyObject
* _resultobj
;
3817 wxPyLineShape
* _arg0
;
3823 PyObject
* _argo0
= 0;
3824 char *_kwnames
[] = { "self","position", NULL
};
3833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyLineShape_GetLabelPosition",_kwnames
,&_argo0
,&_arg1
))
3836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_GetLabelPosition. Expected _wxPyLineShape_p.");
3843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3844 wxPyLineShape_GetLabelPosition(_arg0
,_arg1
,_arg2
,_arg3
);
3846 wxPyEndAllowThreads(__tstate
);
3847 if (PyErr_Occurred()) return NULL
;
3848 } Py_INCREF(Py_None
);
3849 _resultobj
= Py_None
;
3852 o
= PyFloat_FromDouble((double) (*_arg2
));
3853 _resultobj
= t_output_helper(_resultobj
, o
);
3857 o
= PyFloat_FromDouble((double) (*_arg3
));
3858 _resultobj
= t_output_helper(_resultobj
, o
);
3863 #define wxPyLineShape_GetNextControlPoint(_swigobj,_swigarg0) (_swigobj->GetNextControlPoint(_swigarg0))
3864 static PyObject
*_wrap_wxPyLineShape_GetNextControlPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3865 PyObject
* _resultobj
;
3867 wxPyLineShape
* _arg0
;
3869 PyObject
* _argo0
= 0;
3870 PyObject
* _argo1
= 0;
3871 char *_kwnames
[] = { "self","shape", NULL
};
3875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyLineShape_GetNextControlPoint",_kwnames
,&_argo0
,&_argo1
))
3878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_GetNextControlPoint. Expected _wxPyLineShape_p.");
3885 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3886 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
3887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_GetNextControlPoint. Expected _wxPyShape_p.");
3892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3893 _result
= (wxPoint
*)wxPyLineShape_GetNextControlPoint(_arg0
,_arg1
);
3895 wxPyEndAllowThreads(__tstate
);
3896 if (PyErr_Occurred()) return NULL
;
3898 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
3899 _resultobj
= Py_BuildValue("s",_ptemp
);
3902 _resultobj
= Py_None
;
3907 #define wxPyLineShape_GetTo(_swigobj) (_swigobj->GetTo())
3908 static PyObject
*_wrap_wxPyLineShape_GetTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3909 PyObject
* _resultobj
;
3910 wxPyShape
* _result
;
3911 wxPyLineShape
* _arg0
;
3912 PyObject
* _argo0
= 0;
3913 char *_kwnames
[] = { "self", NULL
};
3916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLineShape_GetTo",_kwnames
,&_argo0
))
3919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_GetTo. Expected _wxPyLineShape_p.");
3926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3927 _result
= (wxPyShape
*)wxPyLineShape_GetTo(_arg0
);
3929 wxPyEndAllowThreads(__tstate
);
3930 if (PyErr_Occurred()) return NULL
;
3931 }{ _resultobj
= wxPyMake_wxShapeEvtHandler(_result
); }
3935 #define wxPyLineShape_Initialise(_swigobj) (_swigobj->Initialise())
3936 static PyObject
*_wrap_wxPyLineShape_Initialise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3937 PyObject
* _resultobj
;
3938 wxPyLineShape
* _arg0
;
3939 PyObject
* _argo0
= 0;
3940 char *_kwnames
[] = { "self", NULL
};
3943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLineShape_Initialise",_kwnames
,&_argo0
))
3946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_Initialise. Expected _wxPyLineShape_p.");
3953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3954 wxPyLineShape_Initialise(_arg0
);
3956 wxPyEndAllowThreads(__tstate
);
3957 if (PyErr_Occurred()) return NULL
;
3958 } Py_INCREF(Py_None
);
3959 _resultobj
= Py_None
;
3963 #define wxPyLineShape_InsertLineControlPoint(_swigobj,_swigarg0) (_swigobj->InsertLineControlPoint(_swigarg0))
3964 static PyObject
*_wrap_wxPyLineShape_InsertLineControlPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3965 PyObject
* _resultobj
;
3966 wxPyLineShape
* _arg0
;
3968 PyObject
* _argo0
= 0;
3969 PyObject
* _argo1
= 0;
3970 char *_kwnames
[] = { "self","dc", NULL
};
3973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyLineShape_InsertLineControlPoint",_kwnames
,&_argo0
,&_argo1
))
3976 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3977 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
3978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_InsertLineControlPoint. Expected _wxPyLineShape_p.");
3983 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3984 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
3985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_InsertLineControlPoint. Expected _wxDC_p.");
3990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3991 wxPyLineShape_InsertLineControlPoint(_arg0
,_arg1
);
3993 wxPyEndAllowThreads(__tstate
);
3994 if (PyErr_Occurred()) return NULL
;
3995 } Py_INCREF(Py_None
);
3996 _resultobj
= Py_None
;
4000 #define wxPyLineShape_IsEnd(_swigobj,_swigarg0) (_swigobj->IsEnd(_swigarg0))
4001 static PyObject
*_wrap_wxPyLineShape_IsEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4002 PyObject
* _resultobj
;
4004 wxPyLineShape
* _arg0
;
4006 PyObject
* _argo0
= 0;
4007 PyObject
* _argo1
= 0;
4008 char *_kwnames
[] = { "self","shape", NULL
};
4011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyLineShape_IsEnd",_kwnames
,&_argo0
,&_argo1
))
4014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_IsEnd. Expected _wxPyLineShape_p.");
4021 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4022 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
4023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_IsEnd. Expected _wxPyShape_p.");
4028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4029 _result
= (bool )wxPyLineShape_IsEnd(_arg0
,_arg1
);
4031 wxPyEndAllowThreads(__tstate
);
4032 if (PyErr_Occurred()) return NULL
;
4033 } _resultobj
= Py_BuildValue("i",_result
);
4037 #define wxPyLineShape_IsSpline(_swigobj) (_swigobj->IsSpline())
4038 static PyObject
*_wrap_wxPyLineShape_IsSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4039 PyObject
* _resultobj
;
4041 wxPyLineShape
* _arg0
;
4042 PyObject
* _argo0
= 0;
4043 char *_kwnames
[] = { "self", NULL
};
4046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLineShape_IsSpline",_kwnames
,&_argo0
))
4049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_IsSpline. Expected _wxPyLineShape_p.");
4056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4057 _result
= (bool )wxPyLineShape_IsSpline(_arg0
);
4059 wxPyEndAllowThreads(__tstate
);
4060 if (PyErr_Occurred()) return NULL
;
4061 } _resultobj
= Py_BuildValue("i",_result
);
4065 #define wxPyLineShape_MakeLineControlPoints(_swigobj,_swigarg0) (_swigobj->MakeLineControlPoints(_swigarg0))
4066 static PyObject
*_wrap_wxPyLineShape_MakeLineControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4067 PyObject
* _resultobj
;
4068 wxPyLineShape
* _arg0
;
4070 PyObject
* _argo0
= 0;
4071 char *_kwnames
[] = { "self","n", NULL
};
4074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyLineShape_MakeLineControlPoints",_kwnames
,&_argo0
,&_arg1
))
4077 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4078 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_MakeLineControlPoints. Expected _wxPyLineShape_p.");
4084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4085 wxPyLineShape_MakeLineControlPoints(_arg0
,_arg1
);
4087 wxPyEndAllowThreads(__tstate
);
4088 if (PyErr_Occurred()) return NULL
;
4089 } Py_INCREF(Py_None
);
4090 _resultobj
= Py_None
;
4094 static PyObject
* wxPyLineShape_GetLineControlPoints(wxPyLineShape
*self
) {
4095 wxList
* list
= self
->GetLineControlPoints();
4096 return wxPy_ConvertShapeList(list
, "wxPyControlPoint");
4098 static PyObject
*_wrap_wxPyLineShape_GetLineControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4099 PyObject
* _resultobj
;
4101 wxPyLineShape
* _arg0
;
4102 PyObject
* _argo0
= 0;
4103 char *_kwnames
[] = { "self", NULL
};
4106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLineShape_GetLineControlPoints",_kwnames
,&_argo0
))
4109 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4110 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_GetLineControlPoints. Expected _wxPyLineShape_p.");
4116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4117 _result
= (PyObject
*)wxPyLineShape_GetLineControlPoints(_arg0
);
4119 wxPyEndAllowThreads(__tstate
);
4120 if (PyErr_Occurred()) return NULL
;
4122 _resultobj
= _result
;
4127 #define wxPyLineShape_SetAttachmentFrom(_swigobj,_swigarg0) (_swigobj->SetAttachmentFrom(_swigarg0))
4128 static PyObject
*_wrap_wxPyLineShape_SetAttachmentFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4129 PyObject
* _resultobj
;
4130 wxPyLineShape
* _arg0
;
4132 PyObject
* _argo0
= 0;
4133 char *_kwnames
[] = { "self","fromAttach", NULL
};
4136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyLineShape_SetAttachmentFrom",_kwnames
,&_argo0
,&_arg1
))
4139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_SetAttachmentFrom. Expected _wxPyLineShape_p.");
4146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4147 wxPyLineShape_SetAttachmentFrom(_arg0
,_arg1
);
4149 wxPyEndAllowThreads(__tstate
);
4150 if (PyErr_Occurred()) return NULL
;
4151 } Py_INCREF(Py_None
);
4152 _resultobj
= Py_None
;
4156 #define wxPyLineShape_SetAttachments(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAttachments(_swigarg0,_swigarg1))
4157 static PyObject
*_wrap_wxPyLineShape_SetAttachments(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4158 PyObject
* _resultobj
;
4159 wxPyLineShape
* _arg0
;
4162 PyObject
* _argo0
= 0;
4163 char *_kwnames
[] = { "self","fromAttach","toAttach", NULL
};
4166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxPyLineShape_SetAttachments",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_SetAttachments. Expected _wxPyLineShape_p.");
4176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4177 wxPyLineShape_SetAttachments(_arg0
,_arg1
,_arg2
);
4179 wxPyEndAllowThreads(__tstate
);
4180 if (PyErr_Occurred()) return NULL
;
4181 } Py_INCREF(Py_None
);
4182 _resultobj
= Py_None
;
4186 #define wxPyLineShape_SetAttachmentTo(_swigobj,_swigarg0) (_swigobj->SetAttachmentTo(_swigarg0))
4187 static PyObject
*_wrap_wxPyLineShape_SetAttachmentTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4188 PyObject
* _resultobj
;
4189 wxPyLineShape
* _arg0
;
4191 PyObject
* _argo0
= 0;
4192 char *_kwnames
[] = { "self","toAttach", NULL
};
4195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyLineShape_SetAttachmentTo",_kwnames
,&_argo0
,&_arg1
))
4198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_SetAttachmentTo. Expected _wxPyLineShape_p.");
4205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4206 wxPyLineShape_SetAttachmentTo(_arg0
,_arg1
);
4208 wxPyEndAllowThreads(__tstate
);
4209 if (PyErr_Occurred()) return NULL
;
4210 } Py_INCREF(Py_None
);
4211 _resultobj
= Py_None
;
4215 #define wxPyLineShape_SetEnds(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetEnds(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4216 static PyObject
*_wrap_wxPyLineShape_SetEnds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4217 PyObject
* _resultobj
;
4218 wxPyLineShape
* _arg0
;
4223 PyObject
* _argo0
= 0;
4224 char *_kwnames
[] = { "self","x1","y1","x2","y2", NULL
};
4227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odddd:wxPyLineShape_SetEnds",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_SetEnds. Expected _wxPyLineShape_p.");
4237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4238 wxPyLineShape_SetEnds(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4240 wxPyEndAllowThreads(__tstate
);
4241 if (PyErr_Occurred()) return NULL
;
4242 } Py_INCREF(Py_None
);
4243 _resultobj
= Py_None
;
4247 #define wxPyLineShape_SetFrom(_swigobj,_swigarg0) (_swigobj->SetFrom(_swigarg0))
4248 static PyObject
*_wrap_wxPyLineShape_SetFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4249 PyObject
* _resultobj
;
4250 wxPyLineShape
* _arg0
;
4252 PyObject
* _argo0
= 0;
4253 PyObject
* _argo1
= 0;
4254 char *_kwnames
[] = { "self","object", NULL
};
4257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyLineShape_SetFrom",_kwnames
,&_argo0
,&_argo1
))
4260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_SetFrom. Expected _wxPyLineShape_p.");
4267 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4268 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
4269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_SetFrom. Expected _wxPyShape_p.");
4274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4275 wxPyLineShape_SetFrom(_arg0
,_arg1
);
4277 wxPyEndAllowThreads(__tstate
);
4278 if (PyErr_Occurred()) return NULL
;
4279 } Py_INCREF(Py_None
);
4280 _resultobj
= Py_None
;
4284 #define wxPyLineShape_SetIgnoreOffsets(_swigobj,_swigarg0) (_swigobj->SetIgnoreOffsets(_swigarg0))
4285 static PyObject
*_wrap_wxPyLineShape_SetIgnoreOffsets(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4286 PyObject
* _resultobj
;
4287 wxPyLineShape
* _arg0
;
4289 PyObject
* _argo0
= 0;
4291 char *_kwnames
[] = { "self","ignore", NULL
};
4294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyLineShape_SetIgnoreOffsets",_kwnames
,&_argo0
,&tempbool1
))
4297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_SetIgnoreOffsets. Expected _wxPyLineShape_p.");
4303 _arg1
= (bool ) tempbool1
;
4305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4306 wxPyLineShape_SetIgnoreOffsets(_arg0
,_arg1
);
4308 wxPyEndAllowThreads(__tstate
);
4309 if (PyErr_Occurred()) return NULL
;
4310 } Py_INCREF(Py_None
);
4311 _resultobj
= Py_None
;
4315 #define wxPyLineShape_SetSpline(_swigobj,_swigarg0) (_swigobj->SetSpline(_swigarg0))
4316 static PyObject
*_wrap_wxPyLineShape_SetSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4317 PyObject
* _resultobj
;
4318 wxPyLineShape
* _arg0
;
4320 PyObject
* _argo0
= 0;
4322 char *_kwnames
[] = { "self","spline", NULL
};
4325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxPyLineShape_SetSpline",_kwnames
,&_argo0
,&tempbool1
))
4328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_SetSpline. Expected _wxPyLineShape_p.");
4334 _arg1
= (bool ) tempbool1
;
4336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4337 wxPyLineShape_SetSpline(_arg0
,_arg1
);
4339 wxPyEndAllowThreads(__tstate
);
4340 if (PyErr_Occurred()) return NULL
;
4341 } Py_INCREF(Py_None
);
4342 _resultobj
= Py_None
;
4346 #define wxPyLineShape_SetTo(_swigobj,_swigarg0) (_swigobj->SetTo(_swigarg0))
4347 static PyObject
*_wrap_wxPyLineShape_SetTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4348 PyObject
* _resultobj
;
4349 wxPyLineShape
* _arg0
;
4351 PyObject
* _argo0
= 0;
4352 PyObject
* _argo1
= 0;
4353 char *_kwnames
[] = { "self","object", NULL
};
4356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyLineShape_SetTo",_kwnames
,&_argo0
,&_argo1
))
4359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_SetTo. Expected _wxPyLineShape_p.");
4366 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4367 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyShape_p")) {
4368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_SetTo. Expected _wxPyShape_p.");
4373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4374 wxPyLineShape_SetTo(_arg0
,_arg1
);
4376 wxPyEndAllowThreads(__tstate
);
4377 if (PyErr_Occurred()) return NULL
;
4378 } Py_INCREF(Py_None
);
4379 _resultobj
= Py_None
;
4383 #define wxPyLineShape_Straighten(_swigobj,_swigarg0) (_swigobj->Straighten(_swigarg0))
4384 static PyObject
*_wrap_wxPyLineShape_Straighten(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4385 PyObject
* _resultobj
;
4386 wxPyLineShape
* _arg0
;
4387 wxDC
* _arg1
= (wxDC
*) NULL
;
4388 PyObject
* _argo0
= 0;
4389 PyObject
* _argo1
= 0;
4390 char *_kwnames
[] = { "self","dc", NULL
};
4393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxPyLineShape_Straighten",_kwnames
,&_argo0
,&_argo1
))
4396 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4397 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_Straighten. Expected _wxPyLineShape_p.");
4403 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4404 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_Straighten. Expected _wxDC_p.");
4410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4411 wxPyLineShape_Straighten(_arg0
,_arg1
);
4413 wxPyEndAllowThreads(__tstate
);
4414 if (PyErr_Occurred()) return NULL
;
4415 } Py_INCREF(Py_None
);
4416 _resultobj
= Py_None
;
4420 #define wxPyLineShape_Unlink(_swigobj) (_swigobj->Unlink())
4421 static PyObject
*_wrap_wxPyLineShape_Unlink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4422 PyObject
* _resultobj
;
4423 wxPyLineShape
* _arg0
;
4424 PyObject
* _argo0
= 0;
4425 char *_kwnames
[] = { "self", NULL
};
4428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLineShape_Unlink",_kwnames
,&_argo0
))
4431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_Unlink. Expected _wxPyLineShape_p.");
4438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4439 wxPyLineShape_Unlink(_arg0
);
4441 wxPyEndAllowThreads(__tstate
);
4442 if (PyErr_Occurred()) return NULL
;
4443 } Py_INCREF(Py_None
);
4444 _resultobj
= Py_None
;
4448 #define wxPyLineShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
4449 static PyObject
*_wrap_wxPyLineShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4450 PyObject
* _resultobj
;
4451 wxPyLineShape
* _arg0
;
4453 PyObject
* _argo0
= 0;
4454 PyObject
* _argo1
= 0;
4455 char *_kwnames
[] = { "self","dc", NULL
};
4458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyLineShape_base_OnDraw",_kwnames
,&_argo0
,&_argo1
))
4461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnDraw. Expected _wxPyLineShape_p.");
4468 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4469 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_base_OnDraw. Expected _wxDC_p.");
4475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4476 wxPyLineShape_base_OnDraw(_arg0
,*_arg1
);
4478 wxPyEndAllowThreads(__tstate
);
4479 if (PyErr_Occurred()) return NULL
;
4480 } Py_INCREF(Py_None
);
4481 _resultobj
= Py_None
;
4485 #define wxPyLineShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
4486 static PyObject
*_wrap_wxPyLineShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4487 PyObject
* _resultobj
;
4488 wxPyLineShape
* _arg0
;
4490 PyObject
* _argo0
= 0;
4491 PyObject
* _argo1
= 0;
4492 char *_kwnames
[] = { "self","dc", NULL
};
4495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyLineShape_base_OnDrawContents",_kwnames
,&_argo0
,&_argo1
))
4498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnDrawContents. Expected _wxPyLineShape_p.");
4505 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4506 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_base_OnDrawContents. Expected _wxDC_p.");
4512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4513 wxPyLineShape_base_OnDrawContents(_arg0
,*_arg1
);
4515 wxPyEndAllowThreads(__tstate
);
4516 if (PyErr_Occurred()) return NULL
;
4517 } Py_INCREF(Py_None
);
4518 _resultobj
= Py_None
;
4522 #define wxPyLineShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
4523 static PyObject
*_wrap_wxPyLineShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4524 PyObject
* _resultobj
;
4525 wxPyLineShape
* _arg0
;
4527 bool _arg2
= (bool ) FALSE
;
4528 PyObject
* _argo0
= 0;
4529 PyObject
* _argo1
= 0;
4530 int tempbool2
= (int) FALSE
;
4531 char *_kwnames
[] = { "self","dc","erase", NULL
};
4534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyLineShape_base_OnDrawBranches",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
4537 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4538 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnDrawBranches. Expected _wxPyLineShape_p.");
4544 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4545 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_base_OnDrawBranches. Expected _wxDC_p.");
4550 _arg2
= (bool ) tempbool2
;
4552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4553 wxPyLineShape_base_OnDrawBranches(_arg0
,*_arg1
,_arg2
);
4555 wxPyEndAllowThreads(__tstate
);
4556 if (PyErr_Occurred()) return NULL
;
4557 } Py_INCREF(Py_None
);
4558 _resultobj
= Py_None
;
4562 #define wxPyLineShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
4563 static PyObject
*_wrap_wxPyLineShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4564 PyObject
* _resultobj
;
4565 wxPyLineShape
* _arg0
;
4567 PyObject
* _argo0
= 0;
4568 PyObject
* _argo1
= 0;
4569 char *_kwnames
[] = { "self","dc", NULL
};
4572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyLineShape_base_OnMoveLinks",_kwnames
,&_argo0
,&_argo1
))
4575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnMoveLinks. Expected _wxPyLineShape_p.");
4582 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4583 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_base_OnMoveLinks. Expected _wxDC_p.");
4589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4590 wxPyLineShape_base_OnMoveLinks(_arg0
,*_arg1
);
4592 wxPyEndAllowThreads(__tstate
);
4593 if (PyErr_Occurred()) return NULL
;
4594 } Py_INCREF(Py_None
);
4595 _resultobj
= Py_None
;
4599 #define wxPyLineShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
4600 static PyObject
*_wrap_wxPyLineShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4601 PyObject
* _resultobj
;
4602 wxPyLineShape
* _arg0
;
4604 PyObject
* _argo0
= 0;
4605 PyObject
* _argo1
= 0;
4606 char *_kwnames
[] = { "self","dc", NULL
};
4609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyLineShape_base_OnErase",_kwnames
,&_argo0
,&_argo1
))
4612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnErase. Expected _wxPyLineShape_p.");
4619 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4620 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_base_OnErase. Expected _wxDC_p.");
4626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4627 wxPyLineShape_base_OnErase(_arg0
,*_arg1
);
4629 wxPyEndAllowThreads(__tstate
);
4630 if (PyErr_Occurred()) return NULL
;
4631 } Py_INCREF(Py_None
);
4632 _resultobj
= Py_None
;
4636 #define wxPyLineShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
4637 static PyObject
*_wrap_wxPyLineShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4638 PyObject
* _resultobj
;
4639 wxPyLineShape
* _arg0
;
4641 PyObject
* _argo0
= 0;
4642 PyObject
* _argo1
= 0;
4643 char *_kwnames
[] = { "self","dc", NULL
};
4646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyLineShape_base_OnEraseContents",_kwnames
,&_argo0
,&_argo1
))
4649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnEraseContents. Expected _wxPyLineShape_p.");
4656 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4657 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_base_OnEraseContents. Expected _wxDC_p.");
4663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4664 wxPyLineShape_base_OnEraseContents(_arg0
,*_arg1
);
4666 wxPyEndAllowThreads(__tstate
);
4667 if (PyErr_Occurred()) return NULL
;
4668 } Py_INCREF(Py_None
);
4669 _resultobj
= Py_None
;
4673 #define wxPyLineShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
4674 static PyObject
*_wrap_wxPyLineShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4675 PyObject
* _resultobj
;
4676 wxPyLineShape
* _arg0
;
4678 PyObject
* _argo0
= 0;
4679 PyObject
* _argo1
= 0;
4680 char *_kwnames
[] = { "self","dc", NULL
};
4683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyLineShape_base_OnHighlight",_kwnames
,&_argo0
,&_argo1
))
4686 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4687 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnHighlight. Expected _wxPyLineShape_p.");
4693 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4694 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_base_OnHighlight. Expected _wxDC_p.");
4700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4701 wxPyLineShape_base_OnHighlight(_arg0
,*_arg1
);
4703 wxPyEndAllowThreads(__tstate
);
4704 if (PyErr_Occurred()) return NULL
;
4705 } Py_INCREF(Py_None
);
4706 _resultobj
= Py_None
;
4710 #define wxPyLineShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4711 static PyObject
*_wrap_wxPyLineShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4712 PyObject
* _resultobj
;
4713 wxPyLineShape
* _arg0
;
4716 int _arg3
= (int ) 0;
4717 int _arg4
= (int ) 0;
4718 PyObject
* _argo0
= 0;
4719 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
4722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyLineShape_base_OnLeftClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4725 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4726 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnLeftClick. Expected _wxPyLineShape_p.");
4732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4733 wxPyLineShape_base_OnLeftClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4735 wxPyEndAllowThreads(__tstate
);
4736 if (PyErr_Occurred()) return NULL
;
4737 } Py_INCREF(Py_None
);
4738 _resultobj
= Py_None
;
4742 #define wxPyLineShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4743 static PyObject
*_wrap_wxPyLineShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4744 PyObject
* _resultobj
;
4745 wxPyLineShape
* _arg0
;
4748 int _arg3
= (int ) 0;
4749 int _arg4
= (int ) 0;
4750 PyObject
* _argo0
= 0;
4751 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
4754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyLineShape_base_OnLeftDoubleClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnLeftDoubleClick. Expected _wxPyLineShape_p.");
4764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4765 wxPyLineShape_base_OnLeftDoubleClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4767 wxPyEndAllowThreads(__tstate
);
4768 if (PyErr_Occurred()) return NULL
;
4769 } Py_INCREF(Py_None
);
4770 _resultobj
= Py_None
;
4774 #define wxPyLineShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4775 static PyObject
*_wrap_wxPyLineShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4776 PyObject
* _resultobj
;
4777 wxPyLineShape
* _arg0
;
4780 int _arg3
= (int ) 0;
4781 int _arg4
= (int ) 0;
4782 PyObject
* _argo0
= 0;
4783 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
4786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyLineShape_base_OnRightClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnRightClick. Expected _wxPyLineShape_p.");
4796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4797 wxPyLineShape_base_OnRightClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4799 wxPyEndAllowThreads(__tstate
);
4800 if (PyErr_Occurred()) return NULL
;
4801 } Py_INCREF(Py_None
);
4802 _resultobj
= Py_None
;
4806 #define wxPyLineShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
4807 static PyObject
*_wrap_wxPyLineShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4808 PyObject
* _resultobj
;
4809 wxPyLineShape
* _arg0
;
4812 PyObject
* _argo0
= 0;
4813 char *_kwnames
[] = { "self","x","y", NULL
};
4816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyLineShape_base_OnSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnSize. Expected _wxPyLineShape_p.");
4826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4827 wxPyLineShape_base_OnSize(_arg0
,_arg1
,_arg2
);
4829 wxPyEndAllowThreads(__tstate
);
4830 if (PyErr_Occurred()) return NULL
;
4831 } Py_INCREF(Py_None
);
4832 _resultobj
= Py_None
;
4836 #define wxPyLineShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4837 static PyObject
*_wrap_wxPyLineShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4838 PyObject
* _resultobj
;
4840 wxPyLineShape
* _arg0
;
4846 bool _arg6
= (bool ) TRUE
;
4847 PyObject
* _argo0
= 0;
4848 PyObject
* _argo1
= 0;
4849 int tempbool6
= (int) TRUE
;
4850 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
4853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyLineShape_base_OnMovePre",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
4856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnMovePre. Expected _wxPyLineShape_p.");
4863 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4864 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_base_OnMovePre. Expected _wxDC_p.");
4869 _arg6
= (bool ) tempbool6
;
4871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4872 _result
= (bool )wxPyLineShape_base_OnMovePre(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4874 wxPyEndAllowThreads(__tstate
);
4875 if (PyErr_Occurred()) return NULL
;
4876 } _resultobj
= Py_BuildValue("i",_result
);
4880 #define wxPyLineShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4881 static PyObject
*_wrap_wxPyLineShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4882 PyObject
* _resultobj
;
4883 wxPyLineShape
* _arg0
;
4889 bool _arg6
= (bool ) TRUE
;
4890 PyObject
* _argo0
= 0;
4891 PyObject
* _argo1
= 0;
4892 int tempbool6
= (int) TRUE
;
4893 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
4896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyLineShape_base_OnMovePost",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
4899 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4900 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnMovePost. Expected _wxPyLineShape_p.");
4906 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4907 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
4908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_base_OnMovePost. Expected _wxDC_p.");
4912 _arg6
= (bool ) tempbool6
;
4914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4915 wxPyLineShape_base_OnMovePost(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4917 wxPyEndAllowThreads(__tstate
);
4918 if (PyErr_Occurred()) return NULL
;
4919 } Py_INCREF(Py_None
);
4920 _resultobj
= Py_None
;
4924 #define wxPyLineShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4925 static PyObject
*_wrap_wxPyLineShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4926 PyObject
* _resultobj
;
4927 wxPyLineShape
* _arg0
;
4931 int _arg4
= (int ) 0;
4932 int _arg5
= (int ) 0;
4933 PyObject
* _argo0
= 0;
4935 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
4938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyLineShape_base_OnDragLeft",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnDragLeft. Expected _wxPyLineShape_p.");
4947 _arg1
= (bool ) tempbool1
;
4949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4950 wxPyLineShape_base_OnDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4952 wxPyEndAllowThreads(__tstate
);
4953 if (PyErr_Occurred()) return NULL
;
4954 } Py_INCREF(Py_None
);
4955 _resultobj
= Py_None
;
4959 #define wxPyLineShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4960 static PyObject
*_wrap_wxPyLineShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4961 PyObject
* _resultobj
;
4962 wxPyLineShape
* _arg0
;
4965 int _arg3
= (int ) 0;
4966 int _arg4
= (int ) 0;
4967 PyObject
* _argo0
= 0;
4968 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
4971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyLineShape_base_OnBeginDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
4976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnBeginDragLeft. Expected _wxPyLineShape_p.");
4981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4982 wxPyLineShape_base_OnBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4984 wxPyEndAllowThreads(__tstate
);
4985 if (PyErr_Occurred()) return NULL
;
4986 } Py_INCREF(Py_None
);
4987 _resultobj
= Py_None
;
4991 #define wxPyLineShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4992 static PyObject
*_wrap_wxPyLineShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4993 PyObject
* _resultobj
;
4994 wxPyLineShape
* _arg0
;
4997 int _arg3
= (int ) 0;
4998 int _arg4
= (int ) 0;
4999 PyObject
* _argo0
= 0;
5000 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
5003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyLineShape_base_OnEndDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
5006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
5008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnEndDragLeft. Expected _wxPyLineShape_p.");
5013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5014 wxPyLineShape_base_OnEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5016 wxPyEndAllowThreads(__tstate
);
5017 if (PyErr_Occurred()) return NULL
;
5018 } Py_INCREF(Py_None
);
5019 _resultobj
= Py_None
;
5023 #define wxPyLineShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5024 static PyObject
*_wrap_wxPyLineShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5025 PyObject
* _resultobj
;
5026 wxPyLineShape
* _arg0
;
5030 int _arg4
= (int ) 0;
5031 int _arg5
= (int ) 0;
5032 PyObject
* _argo0
= 0;
5034 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
5037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyLineShape_base_OnDragRight",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
5040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
5042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnDragRight. Expected _wxPyLineShape_p.");
5046 _arg1
= (bool ) tempbool1
;
5048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5049 wxPyLineShape_base_OnDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
5051 wxPyEndAllowThreads(__tstate
);
5052 if (PyErr_Occurred()) return NULL
;
5053 } Py_INCREF(Py_None
);
5054 _resultobj
= Py_None
;
5058 #define wxPyLineShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5059 static PyObject
*_wrap_wxPyLineShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5060 PyObject
* _resultobj
;
5061 wxPyLineShape
* _arg0
;
5064 int _arg3
= (int ) 0;
5065 int _arg4
= (int ) 0;
5066 PyObject
* _argo0
= 0;
5067 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
5070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyLineShape_base_OnBeginDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
5073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
5075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnBeginDragRight. Expected _wxPyLineShape_p.");
5080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5081 wxPyLineShape_base_OnBeginDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5083 wxPyEndAllowThreads(__tstate
);
5084 if (PyErr_Occurred()) return NULL
;
5085 } Py_INCREF(Py_None
);
5086 _resultobj
= Py_None
;
5090 #define wxPyLineShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5091 static PyObject
*_wrap_wxPyLineShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5092 PyObject
* _resultobj
;
5093 wxPyLineShape
* _arg0
;
5096 int _arg3
= (int ) 0;
5097 int _arg4
= (int ) 0;
5098 PyObject
* _argo0
= 0;
5099 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
5102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyLineShape_base_OnEndDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
5105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
5107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnEndDragRight. Expected _wxPyLineShape_p.");
5112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5113 wxPyLineShape_base_OnEndDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
5115 wxPyEndAllowThreads(__tstate
);
5116 if (PyErr_Occurred()) return NULL
;
5117 } Py_INCREF(Py_None
);
5118 _resultobj
= Py_None
;
5122 #define wxPyLineShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5123 static PyObject
*_wrap_wxPyLineShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5124 PyObject
* _resultobj
;
5125 wxPyLineShape
* _arg0
;
5131 PyObject
* _argo0
= 0;
5132 PyObject
* _argo1
= 0;
5133 char *_kwnames
[] = { "self","dc","x","y","w","h", NULL
};
5136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd:wxPyLineShape_base_OnDrawOutline",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
5139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
5141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnDrawOutline. Expected _wxPyLineShape_p.");
5146 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5147 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_base_OnDrawOutline. Expected _wxDC_p.");
5153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5154 wxPyLineShape_base_OnDrawOutline(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
5156 wxPyEndAllowThreads(__tstate
);
5157 if (PyErr_Occurred()) return NULL
;
5158 } Py_INCREF(Py_None
);
5159 _resultobj
= Py_None
;
5163 #define wxPyLineShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
5164 static PyObject
*_wrap_wxPyLineShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5165 PyObject
* _resultobj
;
5166 wxPyLineShape
* _arg0
;
5168 PyObject
* _argo0
= 0;
5169 PyObject
* _argo1
= 0;
5170 char *_kwnames
[] = { "self","dc", NULL
};
5173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyLineShape_base_OnDrawControlPoints",_kwnames
,&_argo0
,&_argo1
))
5176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
5178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnDrawControlPoints. Expected _wxPyLineShape_p.");
5183 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5184 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_base_OnDrawControlPoints. Expected _wxDC_p.");
5190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5191 wxPyLineShape_base_OnDrawControlPoints(_arg0
,*_arg1
);
5193 wxPyEndAllowThreads(__tstate
);
5194 if (PyErr_Occurred()) return NULL
;
5195 } Py_INCREF(Py_None
);
5196 _resultobj
= Py_None
;
5200 #define wxPyLineShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
5201 static PyObject
*_wrap_wxPyLineShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5202 PyObject
* _resultobj
;
5203 wxPyLineShape
* _arg0
;
5205 PyObject
* _argo0
= 0;
5206 PyObject
* _argo1
= 0;
5207 char *_kwnames
[] = { "self","dc", NULL
};
5210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyLineShape_base_OnEraseControlPoints",_kwnames
,&_argo0
,&_argo1
))
5213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
5215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnEraseControlPoints. Expected _wxPyLineShape_p.");
5220 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5221 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_base_OnEraseControlPoints. Expected _wxDC_p.");
5227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5228 wxPyLineShape_base_OnEraseControlPoints(_arg0
,*_arg1
);
5230 wxPyEndAllowThreads(__tstate
);
5231 if (PyErr_Occurred()) return NULL
;
5232 } Py_INCREF(Py_None
);
5233 _resultobj
= Py_None
;
5237 #define wxPyLineShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
5238 static PyObject
*_wrap_wxPyLineShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5239 PyObject
* _resultobj
;
5240 wxPyLineShape
* _arg0
;
5242 bool _arg2
= (bool ) TRUE
;
5243 PyObject
* _argo0
= 0;
5244 PyObject
* _argo1
= 0;
5245 int tempbool2
= (int) TRUE
;
5246 char *_kwnames
[] = { "self","dc","moveControlPoints", NULL
};
5249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyLineShape_base_OnMoveLink",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
5252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
5254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnMoveLink. Expected _wxPyLineShape_p.");
5259 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5260 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_base_OnMoveLink. Expected _wxDC_p.");
5265 _arg2
= (bool ) tempbool2
;
5267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5268 wxPyLineShape_base_OnMoveLink(_arg0
,*_arg1
,_arg2
);
5270 wxPyEndAllowThreads(__tstate
);
5271 if (PyErr_Occurred()) return NULL
;
5272 } Py_INCREF(Py_None
);
5273 _resultobj
= Py_None
;
5277 #define wxPyLineShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5278 static PyObject
*_wrap_wxPyLineShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5279 PyObject
* _resultobj
;
5280 wxPyLineShape
* _arg0
;
5281 wxPyControlPoint
* _arg1
;
5285 int _arg5
= (int ) 0;
5286 int _arg6
= (int ) 0;
5287 PyObject
* _argo0
= 0;
5288 PyObject
* _argo1
= 0;
5290 char *_kwnames
[] = { "self","pt","draw","x","y","keys","attachment", NULL
};
5293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOidd|ii:wxPyLineShape_base_OnSizingDragLeft",_kwnames
,&_argo0
,&_argo1
,&tempbool2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
5296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
5298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnSizingDragLeft. Expected _wxPyLineShape_p.");
5303 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5304 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
5305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
5309 _arg2
= (bool ) tempbool2
;
5311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5312 wxPyLineShape_base_OnSizingDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
5314 wxPyEndAllowThreads(__tstate
);
5315 if (PyErr_Occurred()) return NULL
;
5316 } Py_INCREF(Py_None
);
5317 _resultobj
= Py_None
;
5321 #define wxPyLineShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5322 static PyObject
*_wrap_wxPyLineShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5323 PyObject
* _resultobj
;
5324 wxPyLineShape
* _arg0
;
5325 wxPyControlPoint
* _arg1
;
5328 int _arg4
= (int ) 0;
5329 int _arg5
= (int ) 0;
5330 PyObject
* _argo0
= 0;
5331 PyObject
* _argo1
= 0;
5332 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
5335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyLineShape_base_OnSizingBeginDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
5338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
5340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnSizingBeginDragLeft. Expected _wxPyLineShape_p.");
5345 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5346 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
5347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
5352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5353 wxPyLineShape_base_OnSizingBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
5355 wxPyEndAllowThreads(__tstate
);
5356 if (PyErr_Occurred()) return NULL
;
5357 } Py_INCREF(Py_None
);
5358 _resultobj
= Py_None
;
5362 #define wxPyLineShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5363 static PyObject
*_wrap_wxPyLineShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5364 PyObject
* _resultobj
;
5365 wxPyLineShape
* _arg0
;
5366 wxPyControlPoint
* _arg1
;
5369 int _arg4
= (int ) 0;
5370 int _arg5
= (int ) 0;
5371 PyObject
* _argo0
= 0;
5372 PyObject
* _argo1
= 0;
5373 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
5376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyLineShape_base_OnSizingEndDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
5379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
5381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnSizingEndDragLeft. Expected _wxPyLineShape_p.");
5386 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5387 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
5388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyLineShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
5393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5394 wxPyLineShape_base_OnSizingEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
5396 wxPyEndAllowThreads(__tstate
);
5397 if (PyErr_Occurred()) return NULL
;
5398 } Py_INCREF(Py_None
);
5399 _resultobj
= Py_None
;
5403 #define wxPyLineShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
5404 static PyObject
*_wrap_wxPyLineShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5405 PyObject
* _resultobj
;
5406 wxPyLineShape
* _arg0
;
5409 PyObject
* _argo0
= 0;
5410 char *_kwnames
[] = { "self","w","h", NULL
};
5413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyLineShape_base_OnBeginSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
5418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnBeginSize. Expected _wxPyLineShape_p.");
5423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5424 wxPyLineShape_base_OnBeginSize(_arg0
,_arg1
,_arg2
);
5426 wxPyEndAllowThreads(__tstate
);
5427 if (PyErr_Occurred()) return NULL
;
5428 } Py_INCREF(Py_None
);
5429 _resultobj
= Py_None
;
5433 #define wxPyLineShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
5434 static PyObject
*_wrap_wxPyLineShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5435 PyObject
* _resultobj
;
5436 wxPyLineShape
* _arg0
;
5439 PyObject
* _argo0
= 0;
5440 char *_kwnames
[] = { "self","w","h", NULL
};
5443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyLineShape_base_OnEndSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLineShape_p")) {
5448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLineShape_base_OnEndSize. Expected _wxPyLineShape_p.");
5453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5454 wxPyLineShape_base_OnEndSize(_arg0
,_arg1
,_arg2
);
5456 wxPyEndAllowThreads(__tstate
);
5457 if (PyErr_Occurred()) return NULL
;
5458 } Py_INCREF(Py_None
);
5459 _resultobj
= Py_None
;
5463 static void *SwigwxPyPolygonShapeTowxPyShape(void *ptr
) {
5464 wxPyPolygonShape
*src
;
5466 src
= (wxPyPolygonShape
*) ptr
;
5467 dest
= (wxPyShape
*) src
;
5468 return (void *) dest
;
5471 static void *SwigwxPyPolygonShapeTowxPyShapeEvtHandler(void *ptr
) {
5472 wxPyPolygonShape
*src
;
5473 wxPyShapeEvtHandler
*dest
;
5474 src
= (wxPyPolygonShape
*) ptr
;
5475 dest
= (wxPyShapeEvtHandler
*) src
;
5476 return (void *) dest
;
5479 static void *SwigwxPyPolygonShapeTowxObject(void *ptr
) {
5480 wxPyPolygonShape
*src
;
5482 src
= (wxPyPolygonShape
*) ptr
;
5483 dest
= (wxObject
*) src
;
5484 return (void *) dest
;
5487 #define new_wxPyPolygonShape() (new wxPyPolygonShape())
5488 static PyObject
*_wrap_new_wxPyPolygonShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5489 PyObject
* _resultobj
;
5490 wxPyPolygonShape
* _result
;
5491 char *_kwnames
[] = { NULL
};
5495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyPolygonShape",_kwnames
))
5498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5499 _result
= (wxPyPolygonShape
*)new_wxPyPolygonShape();
5501 wxPyEndAllowThreads(__tstate
);
5502 if (PyErr_Occurred()) return NULL
;
5504 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyPolygonShape_p");
5505 _resultobj
= Py_BuildValue("s",_ptemp
);
5508 _resultobj
= Py_None
;
5513 #define wxPyPolygonShape__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5514 static PyObject
*_wrap_wxPyPolygonShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5515 PyObject
* _resultobj
;
5516 wxPyPolygonShape
* _arg0
;
5519 PyObject
* _argo0
= 0;
5520 PyObject
* _obj1
= 0;
5521 PyObject
* _obj2
= 0;
5522 char *_kwnames
[] = { "self","self","_class", NULL
};
5525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyPolygonShape__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
5530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape__setCallbackInfo. Expected _wxPyPolygonShape_p.");
5541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5542 wxPyPolygonShape__setCallbackInfo(_arg0
,_arg1
,_arg2
);
5544 wxPyEndAllowThreads(__tstate
);
5545 if (PyErr_Occurred()) return NULL
;
5546 } Py_INCREF(Py_None
);
5547 _resultobj
= Py_None
;
5551 static PyObject
* wxPyPolygonShape_Create(wxPyPolygonShape
*self
,PyObject
* points
) {
5552 wxList
* list
= wxPy_wxRealPoint_ListHelper(points
);
5560 static PyObject
*_wrap_wxPyPolygonShape_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5561 PyObject
* _resultobj
;
5563 wxPyPolygonShape
* _arg0
;
5565 PyObject
* _argo0
= 0;
5566 PyObject
* _obj1
= 0;
5567 char *_kwnames
[] = { "self","points", NULL
};
5570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPolygonShape_Create",_kwnames
,&_argo0
,&_obj1
))
5573 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5574 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
5575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_Create. Expected _wxPyPolygonShape_p.");
5583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5584 _result
= (PyObject
*)wxPyPolygonShape_Create(_arg0
,_arg1
);
5586 wxPyEndAllowThreads(__tstate
);
5587 if (PyErr_Occurred()) return NULL
;
5589 _resultobj
= _result
;
5594 #define wxPyPolygonShape_AddPolygonPoint(_swigobj,_swigarg0) (_swigobj->AddPolygonPoint(_swigarg0))
5595 static PyObject
*_wrap_wxPyPolygonShape_AddPolygonPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5596 PyObject
* _resultobj
;
5597 wxPyPolygonShape
* _arg0
;
5598 int _arg1
= (int ) 0;
5599 PyObject
* _argo0
= 0;
5600 char *_kwnames
[] = { "self","pos", NULL
};
5603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyPolygonShape_AddPolygonPoint",_kwnames
,&_argo0
,&_arg1
))
5606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
5608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_AddPolygonPoint. Expected _wxPyPolygonShape_p.");
5613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5614 wxPyPolygonShape_AddPolygonPoint(_arg0
,_arg1
);
5616 wxPyEndAllowThreads(__tstate
);
5617 if (PyErr_Occurred()) return NULL
;
5618 } Py_INCREF(Py_None
);
5619 _resultobj
= Py_None
;
5623 #define wxPyPolygonShape_CalculatePolygonCentre(_swigobj) (_swigobj->CalculatePolygonCentre())
5624 static PyObject
*_wrap_wxPyPolygonShape_CalculatePolygonCentre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5625 PyObject
* _resultobj
;
5626 wxPyPolygonShape
* _arg0
;
5627 PyObject
* _argo0
= 0;
5628 char *_kwnames
[] = { "self", NULL
};
5631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPolygonShape_CalculatePolygonCentre",_kwnames
,&_argo0
))
5634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
5636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_CalculatePolygonCentre. Expected _wxPyPolygonShape_p.");
5641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5642 wxPyPolygonShape_CalculatePolygonCentre(_arg0
);
5644 wxPyEndAllowThreads(__tstate
);
5645 if (PyErr_Occurred()) return NULL
;
5646 } Py_INCREF(Py_None
);
5647 _resultobj
= Py_None
;
5651 #define wxPyPolygonShape_DeletePolygonPoint(_swigobj,_swigarg0) (_swigobj->DeletePolygonPoint(_swigarg0))
5652 static PyObject
*_wrap_wxPyPolygonShape_DeletePolygonPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5653 PyObject
* _resultobj
;
5654 wxPyPolygonShape
* _arg0
;
5655 int _arg1
= (int ) 0;
5656 PyObject
* _argo0
= 0;
5657 char *_kwnames
[] = { "self","pos", NULL
};
5660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxPyPolygonShape_DeletePolygonPoint",_kwnames
,&_argo0
,&_arg1
))
5663 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5664 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
5665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_DeletePolygonPoint. Expected _wxPyPolygonShape_p.");
5670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5671 wxPyPolygonShape_DeletePolygonPoint(_arg0
,_arg1
);
5673 wxPyEndAllowThreads(__tstate
);
5674 if (PyErr_Occurred()) return NULL
;
5675 } Py_INCREF(Py_None
);
5676 _resultobj
= Py_None
;
5680 static PyObject
* wxPyPolygonShape_GetPoints(wxPyPolygonShape
*self
) {
5681 wxList
* list
= self
->GetPoints();
5682 return wxPy_ConvertList(list
, "wxRealPoint");
5684 static PyObject
*_wrap_wxPyPolygonShape_GetPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5685 PyObject
* _resultobj
;
5687 wxPyPolygonShape
* _arg0
;
5688 PyObject
* _argo0
= 0;
5689 char *_kwnames
[] = { "self", NULL
};
5692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPolygonShape_GetPoints",_kwnames
,&_argo0
))
5695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
5697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_GetPoints. Expected _wxPyPolygonShape_p.");
5702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5703 _result
= (PyObject
*)wxPyPolygonShape_GetPoints(_arg0
);
5705 wxPyEndAllowThreads(__tstate
);
5706 if (PyErr_Occurred()) return NULL
;
5708 _resultobj
= _result
;
5713 #define wxPyPolygonShape_UpdateOriginalPoints(_swigobj) (_swigobj->UpdateOriginalPoints())
5714 static PyObject
*_wrap_wxPyPolygonShape_UpdateOriginalPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5715 PyObject
* _resultobj
;
5716 wxPyPolygonShape
* _arg0
;
5717 PyObject
* _argo0
= 0;
5718 char *_kwnames
[] = { "self", NULL
};
5721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyPolygonShape_UpdateOriginalPoints",_kwnames
,&_argo0
))
5724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
5726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_UpdateOriginalPoints. Expected _wxPyPolygonShape_p.");
5731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5732 wxPyPolygonShape_UpdateOriginalPoints(_arg0
);
5734 wxPyEndAllowThreads(__tstate
);
5735 if (PyErr_Occurred()) return NULL
;
5736 } Py_INCREF(Py_None
);
5737 _resultobj
= Py_None
;
5741 #define wxPyPolygonShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
5742 static PyObject
*_wrap_wxPyPolygonShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5743 PyObject
* _resultobj
;
5744 wxPyPolygonShape
* _arg0
;
5746 PyObject
* _argo0
= 0;
5747 PyObject
* _argo1
= 0;
5748 char *_kwnames
[] = { "self","dc", NULL
};
5751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPolygonShape_base_OnDraw",_kwnames
,&_argo0
,&_argo1
))
5754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
5756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnDraw. Expected _wxPyPolygonShape_p.");
5761 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5762 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPolygonShape_base_OnDraw. Expected _wxDC_p.");
5768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5769 wxPyPolygonShape_base_OnDraw(_arg0
,*_arg1
);
5771 wxPyEndAllowThreads(__tstate
);
5772 if (PyErr_Occurred()) return NULL
;
5773 } Py_INCREF(Py_None
);
5774 _resultobj
= Py_None
;
5778 #define wxPyPolygonShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
5779 static PyObject
*_wrap_wxPyPolygonShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5780 PyObject
* _resultobj
;
5781 wxPyPolygonShape
* _arg0
;
5783 PyObject
* _argo0
= 0;
5784 PyObject
* _argo1
= 0;
5785 char *_kwnames
[] = { "self","dc", NULL
};
5788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPolygonShape_base_OnDrawContents",_kwnames
,&_argo0
,&_argo1
))
5791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
5793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnDrawContents. Expected _wxPyPolygonShape_p.");
5798 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5799 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPolygonShape_base_OnDrawContents. Expected _wxDC_p.");
5805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5806 wxPyPolygonShape_base_OnDrawContents(_arg0
,*_arg1
);
5808 wxPyEndAllowThreads(__tstate
);
5809 if (PyErr_Occurred()) return NULL
;
5810 } Py_INCREF(Py_None
);
5811 _resultobj
= Py_None
;
5815 #define wxPyPolygonShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
5816 static PyObject
*_wrap_wxPyPolygonShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5817 PyObject
* _resultobj
;
5818 wxPyPolygonShape
* _arg0
;
5820 bool _arg2
= (bool ) FALSE
;
5821 PyObject
* _argo0
= 0;
5822 PyObject
* _argo1
= 0;
5823 int tempbool2
= (int) FALSE
;
5824 char *_kwnames
[] = { "self","dc","erase", NULL
};
5827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyPolygonShape_base_OnDrawBranches",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
5830 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5831 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
5832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnDrawBranches. Expected _wxPyPolygonShape_p.");
5837 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5838 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPolygonShape_base_OnDrawBranches. Expected _wxDC_p.");
5843 _arg2
= (bool ) tempbool2
;
5845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5846 wxPyPolygonShape_base_OnDrawBranches(_arg0
,*_arg1
,_arg2
);
5848 wxPyEndAllowThreads(__tstate
);
5849 if (PyErr_Occurred()) return NULL
;
5850 } Py_INCREF(Py_None
);
5851 _resultobj
= Py_None
;
5855 #define wxPyPolygonShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
5856 static PyObject
*_wrap_wxPyPolygonShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5857 PyObject
* _resultobj
;
5858 wxPyPolygonShape
* _arg0
;
5860 PyObject
* _argo0
= 0;
5861 PyObject
* _argo1
= 0;
5862 char *_kwnames
[] = { "self","dc", NULL
};
5865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPolygonShape_base_OnMoveLinks",_kwnames
,&_argo0
,&_argo1
))
5868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
5870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnMoveLinks. Expected _wxPyPolygonShape_p.");
5875 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5876 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPolygonShape_base_OnMoveLinks. Expected _wxDC_p.");
5882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5883 wxPyPolygonShape_base_OnMoveLinks(_arg0
,*_arg1
);
5885 wxPyEndAllowThreads(__tstate
);
5886 if (PyErr_Occurred()) return NULL
;
5887 } Py_INCREF(Py_None
);
5888 _resultobj
= Py_None
;
5892 #define wxPyPolygonShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
5893 static PyObject
*_wrap_wxPyPolygonShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5894 PyObject
* _resultobj
;
5895 wxPyPolygonShape
* _arg0
;
5897 PyObject
* _argo0
= 0;
5898 PyObject
* _argo1
= 0;
5899 char *_kwnames
[] = { "self","dc", NULL
};
5902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPolygonShape_base_OnErase",_kwnames
,&_argo0
,&_argo1
))
5905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
5907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnErase. Expected _wxPyPolygonShape_p.");
5912 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5913 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPolygonShape_base_OnErase. Expected _wxDC_p.");
5919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5920 wxPyPolygonShape_base_OnErase(_arg0
,*_arg1
);
5922 wxPyEndAllowThreads(__tstate
);
5923 if (PyErr_Occurred()) return NULL
;
5924 } Py_INCREF(Py_None
);
5925 _resultobj
= Py_None
;
5929 #define wxPyPolygonShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
5930 static PyObject
*_wrap_wxPyPolygonShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5931 PyObject
* _resultobj
;
5932 wxPyPolygonShape
* _arg0
;
5934 PyObject
* _argo0
= 0;
5935 PyObject
* _argo1
= 0;
5936 char *_kwnames
[] = { "self","dc", NULL
};
5939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPolygonShape_base_OnEraseContents",_kwnames
,&_argo0
,&_argo1
))
5942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
5944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnEraseContents. Expected _wxPyPolygonShape_p.");
5949 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5950 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPolygonShape_base_OnEraseContents. Expected _wxDC_p.");
5956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5957 wxPyPolygonShape_base_OnEraseContents(_arg0
,*_arg1
);
5959 wxPyEndAllowThreads(__tstate
);
5960 if (PyErr_Occurred()) return NULL
;
5961 } Py_INCREF(Py_None
);
5962 _resultobj
= Py_None
;
5966 #define wxPyPolygonShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
5967 static PyObject
*_wrap_wxPyPolygonShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5968 PyObject
* _resultobj
;
5969 wxPyPolygonShape
* _arg0
;
5971 PyObject
* _argo0
= 0;
5972 PyObject
* _argo1
= 0;
5973 char *_kwnames
[] = { "self","dc", NULL
};
5976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPolygonShape_base_OnHighlight",_kwnames
,&_argo0
,&_argo1
))
5979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
5981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnHighlight. Expected _wxPyPolygonShape_p.");
5986 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5987 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
5988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPolygonShape_base_OnHighlight. Expected _wxDC_p.");
5993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5994 wxPyPolygonShape_base_OnHighlight(_arg0
,*_arg1
);
5996 wxPyEndAllowThreads(__tstate
);
5997 if (PyErr_Occurred()) return NULL
;
5998 } Py_INCREF(Py_None
);
5999 _resultobj
= Py_None
;
6003 #define wxPyPolygonShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6004 static PyObject
*_wrap_wxPyPolygonShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6005 PyObject
* _resultobj
;
6006 wxPyPolygonShape
* _arg0
;
6009 int _arg3
= (int ) 0;
6010 int _arg4
= (int ) 0;
6011 PyObject
* _argo0
= 0;
6012 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
6015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyPolygonShape_base_OnLeftClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
6018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
6020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnLeftClick. Expected _wxPyPolygonShape_p.");
6025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6026 wxPyPolygonShape_base_OnLeftClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6028 wxPyEndAllowThreads(__tstate
);
6029 if (PyErr_Occurred()) return NULL
;
6030 } Py_INCREF(Py_None
);
6031 _resultobj
= Py_None
;
6035 #define wxPyPolygonShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6036 static PyObject
*_wrap_wxPyPolygonShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6037 PyObject
* _resultobj
;
6038 wxPyPolygonShape
* _arg0
;
6041 int _arg3
= (int ) 0;
6042 int _arg4
= (int ) 0;
6043 PyObject
* _argo0
= 0;
6044 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
6047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyPolygonShape_base_OnLeftDoubleClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
6050 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6051 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
6052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnLeftDoubleClick. Expected _wxPyPolygonShape_p.");
6057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6058 wxPyPolygonShape_base_OnLeftDoubleClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6060 wxPyEndAllowThreads(__tstate
);
6061 if (PyErr_Occurred()) return NULL
;
6062 } Py_INCREF(Py_None
);
6063 _resultobj
= Py_None
;
6067 #define wxPyPolygonShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6068 static PyObject
*_wrap_wxPyPolygonShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6069 PyObject
* _resultobj
;
6070 wxPyPolygonShape
* _arg0
;
6073 int _arg3
= (int ) 0;
6074 int _arg4
= (int ) 0;
6075 PyObject
* _argo0
= 0;
6076 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
6079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyPolygonShape_base_OnRightClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
6082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
6084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnRightClick. Expected _wxPyPolygonShape_p.");
6089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6090 wxPyPolygonShape_base_OnRightClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6092 wxPyEndAllowThreads(__tstate
);
6093 if (PyErr_Occurred()) return NULL
;
6094 } Py_INCREF(Py_None
);
6095 _resultobj
= Py_None
;
6099 #define wxPyPolygonShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
6100 static PyObject
*_wrap_wxPyPolygonShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6101 PyObject
* _resultobj
;
6102 wxPyPolygonShape
* _arg0
;
6105 PyObject
* _argo0
= 0;
6106 char *_kwnames
[] = { "self","x","y", NULL
};
6109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyPolygonShape_base_OnSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
6114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnSize. Expected _wxPyPolygonShape_p.");
6119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6120 wxPyPolygonShape_base_OnSize(_arg0
,_arg1
,_arg2
);
6122 wxPyEndAllowThreads(__tstate
);
6123 if (PyErr_Occurred()) return NULL
;
6124 } Py_INCREF(Py_None
);
6125 _resultobj
= Py_None
;
6129 #define wxPyPolygonShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6130 static PyObject
*_wrap_wxPyPolygonShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6131 PyObject
* _resultobj
;
6133 wxPyPolygonShape
* _arg0
;
6139 bool _arg6
= (bool ) TRUE
;
6140 PyObject
* _argo0
= 0;
6141 PyObject
* _argo1
= 0;
6142 int tempbool6
= (int) TRUE
;
6143 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
6146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyPolygonShape_base_OnMovePre",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
6149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
6151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnMovePre. Expected _wxPyPolygonShape_p.");
6156 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6157 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPolygonShape_base_OnMovePre. Expected _wxDC_p.");
6162 _arg6
= (bool ) tempbool6
;
6164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6165 _result
= (bool )wxPyPolygonShape_base_OnMovePre(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
6167 wxPyEndAllowThreads(__tstate
);
6168 if (PyErr_Occurred()) return NULL
;
6169 } _resultobj
= Py_BuildValue("i",_result
);
6173 #define wxPyPolygonShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6174 static PyObject
*_wrap_wxPyPolygonShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6175 PyObject
* _resultobj
;
6176 wxPyPolygonShape
* _arg0
;
6182 bool _arg6
= (bool ) TRUE
;
6183 PyObject
* _argo0
= 0;
6184 PyObject
* _argo1
= 0;
6185 int tempbool6
= (int) TRUE
;
6186 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
6189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyPolygonShape_base_OnMovePost",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
6192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
6194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnMovePost. Expected _wxPyPolygonShape_p.");
6199 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6200 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPolygonShape_base_OnMovePost. Expected _wxDC_p.");
6205 _arg6
= (bool ) tempbool6
;
6207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6208 wxPyPolygonShape_base_OnMovePost(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
6210 wxPyEndAllowThreads(__tstate
);
6211 if (PyErr_Occurred()) return NULL
;
6212 } Py_INCREF(Py_None
);
6213 _resultobj
= Py_None
;
6217 #define wxPyPolygonShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6218 static PyObject
*_wrap_wxPyPolygonShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6219 PyObject
* _resultobj
;
6220 wxPyPolygonShape
* _arg0
;
6224 int _arg4
= (int ) 0;
6225 int _arg5
= (int ) 0;
6226 PyObject
* _argo0
= 0;
6228 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
6231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyPolygonShape_base_OnDragLeft",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
6234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
6236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnDragLeft. Expected _wxPyPolygonShape_p.");
6240 _arg1
= (bool ) tempbool1
;
6242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6243 wxPyPolygonShape_base_OnDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
6245 wxPyEndAllowThreads(__tstate
);
6246 if (PyErr_Occurred()) return NULL
;
6247 } Py_INCREF(Py_None
);
6248 _resultobj
= Py_None
;
6252 #define wxPyPolygonShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6253 static PyObject
*_wrap_wxPyPolygonShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6254 PyObject
* _resultobj
;
6255 wxPyPolygonShape
* _arg0
;
6258 int _arg3
= (int ) 0;
6259 int _arg4
= (int ) 0;
6260 PyObject
* _argo0
= 0;
6261 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
6264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyPolygonShape_base_OnBeginDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
6267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
6269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnBeginDragLeft. Expected _wxPyPolygonShape_p.");
6274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6275 wxPyPolygonShape_base_OnBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6277 wxPyEndAllowThreads(__tstate
);
6278 if (PyErr_Occurred()) return NULL
;
6279 } Py_INCREF(Py_None
);
6280 _resultobj
= Py_None
;
6284 #define wxPyPolygonShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6285 static PyObject
*_wrap_wxPyPolygonShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6286 PyObject
* _resultobj
;
6287 wxPyPolygonShape
* _arg0
;
6290 int _arg3
= (int ) 0;
6291 int _arg4
= (int ) 0;
6292 PyObject
* _argo0
= 0;
6293 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
6296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyPolygonShape_base_OnEndDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
6299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
6301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnEndDragLeft. Expected _wxPyPolygonShape_p.");
6306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6307 wxPyPolygonShape_base_OnEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6309 wxPyEndAllowThreads(__tstate
);
6310 if (PyErr_Occurred()) return NULL
;
6311 } Py_INCREF(Py_None
);
6312 _resultobj
= Py_None
;
6316 #define wxPyPolygonShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6317 static PyObject
*_wrap_wxPyPolygonShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6318 PyObject
* _resultobj
;
6319 wxPyPolygonShape
* _arg0
;
6323 int _arg4
= (int ) 0;
6324 int _arg5
= (int ) 0;
6325 PyObject
* _argo0
= 0;
6327 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
6330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyPolygonShape_base_OnDragRight",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
6333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
6335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnDragRight. Expected _wxPyPolygonShape_p.");
6339 _arg1
= (bool ) tempbool1
;
6341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6342 wxPyPolygonShape_base_OnDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
6344 wxPyEndAllowThreads(__tstate
);
6345 if (PyErr_Occurred()) return NULL
;
6346 } Py_INCREF(Py_None
);
6347 _resultobj
= Py_None
;
6351 #define wxPyPolygonShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6352 static PyObject
*_wrap_wxPyPolygonShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6353 PyObject
* _resultobj
;
6354 wxPyPolygonShape
* _arg0
;
6357 int _arg3
= (int ) 0;
6358 int _arg4
= (int ) 0;
6359 PyObject
* _argo0
= 0;
6360 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
6363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyPolygonShape_base_OnBeginDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
6366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
6368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnBeginDragRight. Expected _wxPyPolygonShape_p.");
6373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6374 wxPyPolygonShape_base_OnBeginDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6376 wxPyEndAllowThreads(__tstate
);
6377 if (PyErr_Occurred()) return NULL
;
6378 } Py_INCREF(Py_None
);
6379 _resultobj
= Py_None
;
6383 #define wxPyPolygonShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6384 static PyObject
*_wrap_wxPyPolygonShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6385 PyObject
* _resultobj
;
6386 wxPyPolygonShape
* _arg0
;
6389 int _arg3
= (int ) 0;
6390 int _arg4
= (int ) 0;
6391 PyObject
* _argo0
= 0;
6392 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
6395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyPolygonShape_base_OnEndDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
6398 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6399 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
6400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnEndDragRight. Expected _wxPyPolygonShape_p.");
6405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6406 wxPyPolygonShape_base_OnEndDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6408 wxPyEndAllowThreads(__tstate
);
6409 if (PyErr_Occurred()) return NULL
;
6410 } Py_INCREF(Py_None
);
6411 _resultobj
= Py_None
;
6415 #define wxPyPolygonShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6416 static PyObject
*_wrap_wxPyPolygonShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6417 PyObject
* _resultobj
;
6418 wxPyPolygonShape
* _arg0
;
6424 PyObject
* _argo0
= 0;
6425 PyObject
* _argo1
= 0;
6426 char *_kwnames
[] = { "self","dc","x","y","w","h", NULL
};
6429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd:wxPyPolygonShape_base_OnDrawOutline",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
6432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
6434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnDrawOutline. Expected _wxPyPolygonShape_p.");
6439 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6440 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPolygonShape_base_OnDrawOutline. Expected _wxDC_p.");
6446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6447 wxPyPolygonShape_base_OnDrawOutline(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
6449 wxPyEndAllowThreads(__tstate
);
6450 if (PyErr_Occurred()) return NULL
;
6451 } Py_INCREF(Py_None
);
6452 _resultobj
= Py_None
;
6456 #define wxPyPolygonShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
6457 static PyObject
*_wrap_wxPyPolygonShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6458 PyObject
* _resultobj
;
6459 wxPyPolygonShape
* _arg0
;
6461 PyObject
* _argo0
= 0;
6462 PyObject
* _argo1
= 0;
6463 char *_kwnames
[] = { "self","dc", NULL
};
6466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPolygonShape_base_OnDrawControlPoints",_kwnames
,&_argo0
,&_argo1
))
6469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
6471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnDrawControlPoints. Expected _wxPyPolygonShape_p.");
6476 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6477 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPolygonShape_base_OnDrawControlPoints. Expected _wxDC_p.");
6483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6484 wxPyPolygonShape_base_OnDrawControlPoints(_arg0
,*_arg1
);
6486 wxPyEndAllowThreads(__tstate
);
6487 if (PyErr_Occurred()) return NULL
;
6488 } Py_INCREF(Py_None
);
6489 _resultobj
= Py_None
;
6493 #define wxPyPolygonShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
6494 static PyObject
*_wrap_wxPyPolygonShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6495 PyObject
* _resultobj
;
6496 wxPyPolygonShape
* _arg0
;
6498 PyObject
* _argo0
= 0;
6499 PyObject
* _argo1
= 0;
6500 char *_kwnames
[] = { "self","dc", NULL
};
6503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyPolygonShape_base_OnEraseControlPoints",_kwnames
,&_argo0
,&_argo1
))
6506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
6508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnEraseControlPoints. Expected _wxPyPolygonShape_p.");
6513 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6514 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPolygonShape_base_OnEraseControlPoints. Expected _wxDC_p.");
6520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6521 wxPyPolygonShape_base_OnEraseControlPoints(_arg0
,*_arg1
);
6523 wxPyEndAllowThreads(__tstate
);
6524 if (PyErr_Occurred()) return NULL
;
6525 } Py_INCREF(Py_None
);
6526 _resultobj
= Py_None
;
6530 #define wxPyPolygonShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
6531 static PyObject
*_wrap_wxPyPolygonShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6532 PyObject
* _resultobj
;
6533 wxPyPolygonShape
* _arg0
;
6535 bool _arg2
= (bool ) TRUE
;
6536 PyObject
* _argo0
= 0;
6537 PyObject
* _argo1
= 0;
6538 int tempbool2
= (int) TRUE
;
6539 char *_kwnames
[] = { "self","dc","moveControlPoints", NULL
};
6542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyPolygonShape_base_OnMoveLink",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
6545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
6547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnMoveLink. Expected _wxPyPolygonShape_p.");
6552 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6553 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPolygonShape_base_OnMoveLink. Expected _wxDC_p.");
6558 _arg2
= (bool ) tempbool2
;
6560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6561 wxPyPolygonShape_base_OnMoveLink(_arg0
,*_arg1
,_arg2
);
6563 wxPyEndAllowThreads(__tstate
);
6564 if (PyErr_Occurred()) return NULL
;
6565 } Py_INCREF(Py_None
);
6566 _resultobj
= Py_None
;
6570 #define wxPyPolygonShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6571 static PyObject
*_wrap_wxPyPolygonShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6572 PyObject
* _resultobj
;
6573 wxPyPolygonShape
* _arg0
;
6574 wxPyControlPoint
* _arg1
;
6578 int _arg5
= (int ) 0;
6579 int _arg6
= (int ) 0;
6580 PyObject
* _argo0
= 0;
6581 PyObject
* _argo1
= 0;
6583 char *_kwnames
[] = { "self","pt","draw","x","y","keys","attachment", NULL
};
6586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOidd|ii:wxPyPolygonShape_base_OnSizingDragLeft",_kwnames
,&_argo0
,&_argo1
,&tempbool2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
6589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
6591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnSizingDragLeft. Expected _wxPyPolygonShape_p.");
6596 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6597 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
6598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPolygonShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
6602 _arg2
= (bool ) tempbool2
;
6604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6605 wxPyPolygonShape_base_OnSizingDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
6607 wxPyEndAllowThreads(__tstate
);
6608 if (PyErr_Occurred()) return NULL
;
6609 } Py_INCREF(Py_None
);
6610 _resultobj
= Py_None
;
6614 #define wxPyPolygonShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6615 static PyObject
*_wrap_wxPyPolygonShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6616 PyObject
* _resultobj
;
6617 wxPyPolygonShape
* _arg0
;
6618 wxPyControlPoint
* _arg1
;
6621 int _arg4
= (int ) 0;
6622 int _arg5
= (int ) 0;
6623 PyObject
* _argo0
= 0;
6624 PyObject
* _argo1
= 0;
6625 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
6628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyPolygonShape_base_OnSizingBeginDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
6631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
6633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnSizingBeginDragLeft. Expected _wxPyPolygonShape_p.");
6638 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6639 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
6640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPolygonShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
6645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6646 wxPyPolygonShape_base_OnSizingBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
6648 wxPyEndAllowThreads(__tstate
);
6649 if (PyErr_Occurred()) return NULL
;
6650 } Py_INCREF(Py_None
);
6651 _resultobj
= Py_None
;
6655 #define wxPyPolygonShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6656 static PyObject
*_wrap_wxPyPolygonShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6657 PyObject
* _resultobj
;
6658 wxPyPolygonShape
* _arg0
;
6659 wxPyControlPoint
* _arg1
;
6662 int _arg4
= (int ) 0;
6663 int _arg5
= (int ) 0;
6664 PyObject
* _argo0
= 0;
6665 PyObject
* _argo1
= 0;
6666 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
6669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyPolygonShape_base_OnSizingEndDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
6672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
6674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnSizingEndDragLeft. Expected _wxPyPolygonShape_p.");
6679 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6680 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
6681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyPolygonShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
6686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6687 wxPyPolygonShape_base_OnSizingEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
6689 wxPyEndAllowThreads(__tstate
);
6690 if (PyErr_Occurred()) return NULL
;
6691 } Py_INCREF(Py_None
);
6692 _resultobj
= Py_None
;
6696 #define wxPyPolygonShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
6697 static PyObject
*_wrap_wxPyPolygonShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6698 PyObject
* _resultobj
;
6699 wxPyPolygonShape
* _arg0
;
6702 PyObject
* _argo0
= 0;
6703 char *_kwnames
[] = { "self","w","h", NULL
};
6706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyPolygonShape_base_OnBeginSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
6711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnBeginSize. Expected _wxPyPolygonShape_p.");
6716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6717 wxPyPolygonShape_base_OnBeginSize(_arg0
,_arg1
,_arg2
);
6719 wxPyEndAllowThreads(__tstate
);
6720 if (PyErr_Occurred()) return NULL
;
6721 } Py_INCREF(Py_None
);
6722 _resultobj
= Py_None
;
6726 #define wxPyPolygonShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
6727 static PyObject
*_wrap_wxPyPolygonShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6728 PyObject
* _resultobj
;
6729 wxPyPolygonShape
* _arg0
;
6732 PyObject
* _argo0
= 0;
6733 char *_kwnames
[] = { "self","w","h", NULL
};
6736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyPolygonShape_base_OnEndSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyPolygonShape_p")) {
6741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyPolygonShape_base_OnEndSize. Expected _wxPyPolygonShape_p.");
6746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6747 wxPyPolygonShape_base_OnEndSize(_arg0
,_arg1
,_arg2
);
6749 wxPyEndAllowThreads(__tstate
);
6750 if (PyErr_Occurred()) return NULL
;
6751 } Py_INCREF(Py_None
);
6752 _resultobj
= Py_None
;
6756 static void *SwigwxPyTextShapeTowxPyRectangleShape(void *ptr
) {
6758 wxPyRectangleShape
*dest
;
6759 src
= (wxPyTextShape
*) ptr
;
6760 dest
= (wxPyRectangleShape
*) src
;
6761 return (void *) dest
;
6764 static void *SwigwxPyTextShapeTowxPyShape(void *ptr
) {
6767 src
= (wxPyTextShape
*) ptr
;
6768 dest
= (wxPyShape
*) src
;
6769 return (void *) dest
;
6772 static void *SwigwxPyTextShapeTowxPyShapeEvtHandler(void *ptr
) {
6774 wxPyShapeEvtHandler
*dest
;
6775 src
= (wxPyTextShape
*) ptr
;
6776 dest
= (wxPyShapeEvtHandler
*) src
;
6777 return (void *) dest
;
6780 static void *SwigwxPyTextShapeTowxObject(void *ptr
) {
6783 src
= (wxPyTextShape
*) ptr
;
6784 dest
= (wxObject
*) src
;
6785 return (void *) dest
;
6788 #define new_wxPyTextShape(_swigarg0,_swigarg1) (new wxPyTextShape(_swigarg0,_swigarg1))
6789 static PyObject
*_wrap_new_wxPyTextShape(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6790 PyObject
* _resultobj
;
6791 wxPyTextShape
* _result
;
6792 double _arg0
= (double ) 0.0;
6793 double _arg1
= (double ) 0.0;
6794 char *_kwnames
[] = { "width","height", NULL
};
6798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|dd:new_wxPyTextShape",_kwnames
,&_arg0
,&_arg1
))
6801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6802 _result
= (wxPyTextShape
*)new_wxPyTextShape(_arg0
,_arg1
);
6804 wxPyEndAllowThreads(__tstate
);
6805 if (PyErr_Occurred()) return NULL
;
6807 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTextShape_p");
6808 _resultobj
= Py_BuildValue("s",_ptemp
);
6811 _resultobj
= Py_None
;
6816 #define wxPyTextShape__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6817 static PyObject
*_wrap_wxPyTextShape__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6818 PyObject
* _resultobj
;
6819 wxPyTextShape
* _arg0
;
6822 PyObject
* _argo0
= 0;
6823 PyObject
* _obj1
= 0;
6824 PyObject
* _obj2
= 0;
6825 char *_kwnames
[] = { "self","self","_class", NULL
};
6828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyTextShape__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
6833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape__setCallbackInfo. Expected _wxPyTextShape_p.");
6844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6845 wxPyTextShape__setCallbackInfo(_arg0
,_arg1
,_arg2
);
6847 wxPyEndAllowThreads(__tstate
);
6848 if (PyErr_Occurred()) return NULL
;
6849 } Py_INCREF(Py_None
);
6850 _resultobj
= Py_None
;
6854 #define wxPyTextShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
6855 static PyObject
*_wrap_wxPyTextShape_base_OnDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6856 PyObject
* _resultobj
;
6857 wxPyTextShape
* _arg0
;
6858 PyObject
* _argo0
= 0;
6859 char *_kwnames
[] = { "self", NULL
};
6862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTextShape_base_OnDelete",_kwnames
,&_argo0
))
6865 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6866 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
6867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnDelete. Expected _wxPyTextShape_p.");
6872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6873 wxPyTextShape_base_OnDelete(_arg0
);
6875 wxPyEndAllowThreads(__tstate
);
6876 if (PyErr_Occurred()) return NULL
;
6877 } Py_INCREF(Py_None
);
6878 _resultobj
= Py_None
;
6882 #define wxPyTextShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
6883 static PyObject
*_wrap_wxPyTextShape_base_OnDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6884 PyObject
* _resultobj
;
6885 wxPyTextShape
* _arg0
;
6887 PyObject
* _argo0
= 0;
6888 PyObject
* _argo1
= 0;
6889 char *_kwnames
[] = { "self","dc", NULL
};
6892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyTextShape_base_OnDraw",_kwnames
,&_argo0
,&_argo1
))
6895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
6897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnDraw. Expected _wxPyTextShape_p.");
6902 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6903 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTextShape_base_OnDraw. Expected _wxDC_p.");
6909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6910 wxPyTextShape_base_OnDraw(_arg0
,*_arg1
);
6912 wxPyEndAllowThreads(__tstate
);
6913 if (PyErr_Occurred()) return NULL
;
6914 } Py_INCREF(Py_None
);
6915 _resultobj
= Py_None
;
6919 #define wxPyTextShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
6920 static PyObject
*_wrap_wxPyTextShape_base_OnDrawContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6921 PyObject
* _resultobj
;
6922 wxPyTextShape
* _arg0
;
6924 PyObject
* _argo0
= 0;
6925 PyObject
* _argo1
= 0;
6926 char *_kwnames
[] = { "self","dc", NULL
};
6929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyTextShape_base_OnDrawContents",_kwnames
,&_argo0
,&_argo1
))
6932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
6934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnDrawContents. Expected _wxPyTextShape_p.");
6939 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6940 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTextShape_base_OnDrawContents. Expected _wxDC_p.");
6946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6947 wxPyTextShape_base_OnDrawContents(_arg0
,*_arg1
);
6949 wxPyEndAllowThreads(__tstate
);
6950 if (PyErr_Occurred()) return NULL
;
6951 } Py_INCREF(Py_None
);
6952 _resultobj
= Py_None
;
6956 #define wxPyTextShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
6957 static PyObject
*_wrap_wxPyTextShape_base_OnDrawBranches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6958 PyObject
* _resultobj
;
6959 wxPyTextShape
* _arg0
;
6961 bool _arg2
= (bool ) FALSE
;
6962 PyObject
* _argo0
= 0;
6963 PyObject
* _argo1
= 0;
6964 int tempbool2
= (int) FALSE
;
6965 char *_kwnames
[] = { "self","dc","erase", NULL
};
6968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyTextShape_base_OnDrawBranches",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
6971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
6973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnDrawBranches. Expected _wxPyTextShape_p.");
6978 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6979 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTextShape_base_OnDrawBranches. Expected _wxDC_p.");
6984 _arg2
= (bool ) tempbool2
;
6986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6987 wxPyTextShape_base_OnDrawBranches(_arg0
,*_arg1
,_arg2
);
6989 wxPyEndAllowThreads(__tstate
);
6990 if (PyErr_Occurred()) return NULL
;
6991 } Py_INCREF(Py_None
);
6992 _resultobj
= Py_None
;
6996 #define wxPyTextShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
6997 static PyObject
*_wrap_wxPyTextShape_base_OnMoveLinks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6998 PyObject
* _resultobj
;
6999 wxPyTextShape
* _arg0
;
7001 PyObject
* _argo0
= 0;
7002 PyObject
* _argo1
= 0;
7003 char *_kwnames
[] = { "self","dc", NULL
};
7006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyTextShape_base_OnMoveLinks",_kwnames
,&_argo0
,&_argo1
))
7009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnMoveLinks. Expected _wxPyTextShape_p.");
7016 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7017 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTextShape_base_OnMoveLinks. Expected _wxDC_p.");
7023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7024 wxPyTextShape_base_OnMoveLinks(_arg0
,*_arg1
);
7026 wxPyEndAllowThreads(__tstate
);
7027 if (PyErr_Occurred()) return NULL
;
7028 } Py_INCREF(Py_None
);
7029 _resultobj
= Py_None
;
7033 #define wxPyTextShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
7034 static PyObject
*_wrap_wxPyTextShape_base_OnErase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7035 PyObject
* _resultobj
;
7036 wxPyTextShape
* _arg0
;
7038 PyObject
* _argo0
= 0;
7039 PyObject
* _argo1
= 0;
7040 char *_kwnames
[] = { "self","dc", NULL
};
7043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyTextShape_base_OnErase",_kwnames
,&_argo0
,&_argo1
))
7046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnErase. Expected _wxPyTextShape_p.");
7053 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7054 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTextShape_base_OnErase. Expected _wxDC_p.");
7060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7061 wxPyTextShape_base_OnErase(_arg0
,*_arg1
);
7063 wxPyEndAllowThreads(__tstate
);
7064 if (PyErr_Occurred()) return NULL
;
7065 } Py_INCREF(Py_None
);
7066 _resultobj
= Py_None
;
7070 #define wxPyTextShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
7071 static PyObject
*_wrap_wxPyTextShape_base_OnEraseContents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7072 PyObject
* _resultobj
;
7073 wxPyTextShape
* _arg0
;
7075 PyObject
* _argo0
= 0;
7076 PyObject
* _argo1
= 0;
7077 char *_kwnames
[] = { "self","dc", NULL
};
7080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyTextShape_base_OnEraseContents",_kwnames
,&_argo0
,&_argo1
))
7083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnEraseContents. Expected _wxPyTextShape_p.");
7090 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7091 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTextShape_base_OnEraseContents. Expected _wxDC_p.");
7097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7098 wxPyTextShape_base_OnEraseContents(_arg0
,*_arg1
);
7100 wxPyEndAllowThreads(__tstate
);
7101 if (PyErr_Occurred()) return NULL
;
7102 } Py_INCREF(Py_None
);
7103 _resultobj
= Py_None
;
7107 #define wxPyTextShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
7108 static PyObject
*_wrap_wxPyTextShape_base_OnHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7109 PyObject
* _resultobj
;
7110 wxPyTextShape
* _arg0
;
7112 PyObject
* _argo0
= 0;
7113 PyObject
* _argo1
= 0;
7114 char *_kwnames
[] = { "self","dc", NULL
};
7117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyTextShape_base_OnHighlight",_kwnames
,&_argo0
,&_argo1
))
7120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnHighlight. Expected _wxPyTextShape_p.");
7127 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7128 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTextShape_base_OnHighlight. Expected _wxDC_p.");
7134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7135 wxPyTextShape_base_OnHighlight(_arg0
,*_arg1
);
7137 wxPyEndAllowThreads(__tstate
);
7138 if (PyErr_Occurred()) return NULL
;
7139 } Py_INCREF(Py_None
);
7140 _resultobj
= Py_None
;
7144 #define wxPyTextShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7145 static PyObject
*_wrap_wxPyTextShape_base_OnLeftClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7146 PyObject
* _resultobj
;
7147 wxPyTextShape
* _arg0
;
7150 int _arg3
= (int ) 0;
7151 int _arg4
= (int ) 0;
7152 PyObject
* _argo0
= 0;
7153 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyTextShape_base_OnLeftClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnLeftClick. Expected _wxPyTextShape_p.");
7166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7167 wxPyTextShape_base_OnLeftClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7169 wxPyEndAllowThreads(__tstate
);
7170 if (PyErr_Occurred()) return NULL
;
7171 } Py_INCREF(Py_None
);
7172 _resultobj
= Py_None
;
7176 #define wxPyTextShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7177 static PyObject
*_wrap_wxPyTextShape_base_OnLeftDoubleClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7178 PyObject
* _resultobj
;
7179 wxPyTextShape
* _arg0
;
7182 int _arg3
= (int ) 0;
7183 int _arg4
= (int ) 0;
7184 PyObject
* _argo0
= 0;
7185 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyTextShape_base_OnLeftDoubleClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnLeftDoubleClick. Expected _wxPyTextShape_p.");
7198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7199 wxPyTextShape_base_OnLeftDoubleClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7201 wxPyEndAllowThreads(__tstate
);
7202 if (PyErr_Occurred()) return NULL
;
7203 } Py_INCREF(Py_None
);
7204 _resultobj
= Py_None
;
7208 #define wxPyTextShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7209 static PyObject
*_wrap_wxPyTextShape_base_OnRightClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7210 PyObject
* _resultobj
;
7211 wxPyTextShape
* _arg0
;
7214 int _arg3
= (int ) 0;
7215 int _arg4
= (int ) 0;
7216 PyObject
* _argo0
= 0;
7217 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyTextShape_base_OnRightClick",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnRightClick. Expected _wxPyTextShape_p.");
7230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7231 wxPyTextShape_base_OnRightClick(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7233 wxPyEndAllowThreads(__tstate
);
7234 if (PyErr_Occurred()) return NULL
;
7235 } Py_INCREF(Py_None
);
7236 _resultobj
= Py_None
;
7240 #define wxPyTextShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
7241 static PyObject
*_wrap_wxPyTextShape_base_OnSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7242 PyObject
* _resultobj
;
7243 wxPyTextShape
* _arg0
;
7246 PyObject
* _argo0
= 0;
7247 char *_kwnames
[] = { "self","x","y", NULL
};
7250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyTextShape_base_OnSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnSize. Expected _wxPyTextShape_p.");
7260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7261 wxPyTextShape_base_OnSize(_arg0
,_arg1
,_arg2
);
7263 wxPyEndAllowThreads(__tstate
);
7264 if (PyErr_Occurred()) return NULL
;
7265 } Py_INCREF(Py_None
);
7266 _resultobj
= Py_None
;
7270 #define wxPyTextShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7271 static PyObject
*_wrap_wxPyTextShape_base_OnMovePre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7272 PyObject
* _resultobj
;
7274 wxPyTextShape
* _arg0
;
7280 bool _arg6
= (bool ) TRUE
;
7281 PyObject
* _argo0
= 0;
7282 PyObject
* _argo1
= 0;
7283 int tempbool6
= (int) TRUE
;
7284 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
7287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyTextShape_base_OnMovePre",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
7290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnMovePre. Expected _wxPyTextShape_p.");
7297 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7298 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTextShape_base_OnMovePre. Expected _wxDC_p.");
7303 _arg6
= (bool ) tempbool6
;
7305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7306 _result
= (bool )wxPyTextShape_base_OnMovePre(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
7308 wxPyEndAllowThreads(__tstate
);
7309 if (PyErr_Occurred()) return NULL
;
7310 } _resultobj
= Py_BuildValue("i",_result
);
7314 #define wxPyTextShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7315 static PyObject
*_wrap_wxPyTextShape_base_OnMovePost(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7316 PyObject
* _resultobj
;
7317 wxPyTextShape
* _arg0
;
7323 bool _arg6
= (bool ) TRUE
;
7324 PyObject
* _argo0
= 0;
7325 PyObject
* _argo1
= 0;
7326 int tempbool6
= (int) TRUE
;
7327 char *_kwnames
[] = { "self","dc","x","y","old_x","old_y","display", NULL
};
7330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd|i:wxPyTextShape_base_OnMovePost",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&tempbool6
))
7333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnMovePost. Expected _wxPyTextShape_p.");
7340 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7341 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTextShape_base_OnMovePost. Expected _wxDC_p.");
7346 _arg6
= (bool ) tempbool6
;
7348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7349 wxPyTextShape_base_OnMovePost(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
7351 wxPyEndAllowThreads(__tstate
);
7352 if (PyErr_Occurred()) return NULL
;
7353 } Py_INCREF(Py_None
);
7354 _resultobj
= Py_None
;
7358 #define wxPyTextShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7359 static PyObject
*_wrap_wxPyTextShape_base_OnDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7360 PyObject
* _resultobj
;
7361 wxPyTextShape
* _arg0
;
7365 int _arg4
= (int ) 0;
7366 int _arg5
= (int ) 0;
7367 PyObject
* _argo0
= 0;
7369 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
7372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyTextShape_base_OnDragLeft",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
7375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnDragLeft. Expected _wxPyTextShape_p.");
7381 _arg1
= (bool ) tempbool1
;
7383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7384 wxPyTextShape_base_OnDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7386 wxPyEndAllowThreads(__tstate
);
7387 if (PyErr_Occurred()) return NULL
;
7388 } Py_INCREF(Py_None
);
7389 _resultobj
= Py_None
;
7393 #define wxPyTextShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7394 static PyObject
*_wrap_wxPyTextShape_base_OnBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7395 PyObject
* _resultobj
;
7396 wxPyTextShape
* _arg0
;
7399 int _arg3
= (int ) 0;
7400 int _arg4
= (int ) 0;
7401 PyObject
* _argo0
= 0;
7402 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyTextShape_base_OnBeginDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnBeginDragLeft. Expected _wxPyTextShape_p.");
7415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7416 wxPyTextShape_base_OnBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7418 wxPyEndAllowThreads(__tstate
);
7419 if (PyErr_Occurred()) return NULL
;
7420 } Py_INCREF(Py_None
);
7421 _resultobj
= Py_None
;
7425 #define wxPyTextShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7426 static PyObject
*_wrap_wxPyTextShape_base_OnEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7427 PyObject
* _resultobj
;
7428 wxPyTextShape
* _arg0
;
7431 int _arg3
= (int ) 0;
7432 int _arg4
= (int ) 0;
7433 PyObject
* _argo0
= 0;
7434 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyTextShape_base_OnEndDragLeft",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnEndDragLeft. Expected _wxPyTextShape_p.");
7447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7448 wxPyTextShape_base_OnEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7450 wxPyEndAllowThreads(__tstate
);
7451 if (PyErr_Occurred()) return NULL
;
7452 } Py_INCREF(Py_None
);
7453 _resultobj
= Py_None
;
7457 #define wxPyTextShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7458 static PyObject
*_wrap_wxPyTextShape_base_OnDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7459 PyObject
* _resultobj
;
7460 wxPyTextShape
* _arg0
;
7464 int _arg4
= (int ) 0;
7465 int _arg5
= (int ) 0;
7466 PyObject
* _argo0
= 0;
7468 char *_kwnames
[] = { "self","draw","x","y","keys","attachment", NULL
};
7471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oidd|ii:wxPyTextShape_base_OnDragRight",_kwnames
,&_argo0
,&tempbool1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
7474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnDragRight. Expected _wxPyTextShape_p.");
7480 _arg1
= (bool ) tempbool1
;
7482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7483 wxPyTextShape_base_OnDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7485 wxPyEndAllowThreads(__tstate
);
7486 if (PyErr_Occurred()) return NULL
;
7487 } Py_INCREF(Py_None
);
7488 _resultobj
= Py_None
;
7492 #define wxPyTextShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7493 static PyObject
*_wrap_wxPyTextShape_base_OnBeginDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7494 PyObject
* _resultobj
;
7495 wxPyTextShape
* _arg0
;
7498 int _arg3
= (int ) 0;
7499 int _arg4
= (int ) 0;
7500 PyObject
* _argo0
= 0;
7501 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyTextShape_base_OnBeginDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7507 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7508 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnBeginDragRight. Expected _wxPyTextShape_p.");
7514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7515 wxPyTextShape_base_OnBeginDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7517 wxPyEndAllowThreads(__tstate
);
7518 if (PyErr_Occurred()) return NULL
;
7519 } Py_INCREF(Py_None
);
7520 _resultobj
= Py_None
;
7524 #define wxPyTextShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7525 static PyObject
*_wrap_wxPyTextShape_base_OnEndDragRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7526 PyObject
* _resultobj
;
7527 wxPyTextShape
* _arg0
;
7530 int _arg3
= (int ) 0;
7531 int _arg4
= (int ) 0;
7532 PyObject
* _argo0
= 0;
7533 char *_kwnames
[] = { "self","x","y","keys","attachment", NULL
};
7536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd|ii:wxPyTextShape_base_OnEndDragRight",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
7539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnEndDragRight. Expected _wxPyTextShape_p.");
7546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7547 wxPyTextShape_base_OnEndDragRight(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7549 wxPyEndAllowThreads(__tstate
);
7550 if (PyErr_Occurred()) return NULL
;
7551 } Py_INCREF(Py_None
);
7552 _resultobj
= Py_None
;
7556 #define wxPyTextShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7557 static PyObject
*_wrap_wxPyTextShape_base_OnDrawOutline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7558 PyObject
* _resultobj
;
7559 wxPyTextShape
* _arg0
;
7565 PyObject
* _argo0
= 0;
7566 PyObject
* _argo1
= 0;
7567 char *_kwnames
[] = { "self","dc","x","y","w","h", NULL
};
7570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdddd:wxPyTextShape_base_OnDrawOutline",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
7573 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7574 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnDrawOutline. Expected _wxPyTextShape_p.");
7580 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7581 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTextShape_base_OnDrawOutline. Expected _wxDC_p.");
7587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7588 wxPyTextShape_base_OnDrawOutline(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7590 wxPyEndAllowThreads(__tstate
);
7591 if (PyErr_Occurred()) return NULL
;
7592 } Py_INCREF(Py_None
);
7593 _resultobj
= Py_None
;
7597 #define wxPyTextShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
7598 static PyObject
*_wrap_wxPyTextShape_base_OnDrawControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7599 PyObject
* _resultobj
;
7600 wxPyTextShape
* _arg0
;
7602 PyObject
* _argo0
= 0;
7603 PyObject
* _argo1
= 0;
7604 char *_kwnames
[] = { "self","dc", NULL
};
7607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyTextShape_base_OnDrawControlPoints",_kwnames
,&_argo0
,&_argo1
))
7610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnDrawControlPoints. Expected _wxPyTextShape_p.");
7617 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7618 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTextShape_base_OnDrawControlPoints. Expected _wxDC_p.");
7624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7625 wxPyTextShape_base_OnDrawControlPoints(_arg0
,*_arg1
);
7627 wxPyEndAllowThreads(__tstate
);
7628 if (PyErr_Occurred()) return NULL
;
7629 } Py_INCREF(Py_None
);
7630 _resultobj
= Py_None
;
7634 #define wxPyTextShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
7635 static PyObject
*_wrap_wxPyTextShape_base_OnEraseControlPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7636 PyObject
* _resultobj
;
7637 wxPyTextShape
* _arg0
;
7639 PyObject
* _argo0
= 0;
7640 PyObject
* _argo1
= 0;
7641 char *_kwnames
[] = { "self","dc", NULL
};
7644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPyTextShape_base_OnEraseControlPoints",_kwnames
,&_argo0
,&_argo1
))
7647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnEraseControlPoints. Expected _wxPyTextShape_p.");
7654 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7655 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTextShape_base_OnEraseControlPoints. Expected _wxDC_p.");
7661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7662 wxPyTextShape_base_OnEraseControlPoints(_arg0
,*_arg1
);
7664 wxPyEndAllowThreads(__tstate
);
7665 if (PyErr_Occurred()) return NULL
;
7666 } Py_INCREF(Py_None
);
7667 _resultobj
= Py_None
;
7671 #define wxPyTextShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
7672 static PyObject
*_wrap_wxPyTextShape_base_OnMoveLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7673 PyObject
* _resultobj
;
7674 wxPyTextShape
* _arg0
;
7676 bool _arg2
= (bool ) TRUE
;
7677 PyObject
* _argo0
= 0;
7678 PyObject
* _argo1
= 0;
7679 int tempbool2
= (int) TRUE
;
7680 char *_kwnames
[] = { "self","dc","moveControlPoints", NULL
};
7683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyTextShape_base_OnMoveLink",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
7686 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7687 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnMoveLink. Expected _wxPyTextShape_p.");
7693 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7694 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTextShape_base_OnMoveLink. Expected _wxDC_p.");
7699 _arg2
= (bool ) tempbool2
;
7701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7702 wxPyTextShape_base_OnMoveLink(_arg0
,*_arg1
,_arg2
);
7704 wxPyEndAllowThreads(__tstate
);
7705 if (PyErr_Occurred()) return NULL
;
7706 } Py_INCREF(Py_None
);
7707 _resultobj
= Py_None
;
7711 #define wxPyTextShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7712 static PyObject
*_wrap_wxPyTextShape_base_OnSizingDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7713 PyObject
* _resultobj
;
7714 wxPyTextShape
* _arg0
;
7715 wxPyControlPoint
* _arg1
;
7719 int _arg5
= (int ) 0;
7720 int _arg6
= (int ) 0;
7721 PyObject
* _argo0
= 0;
7722 PyObject
* _argo1
= 0;
7724 char *_kwnames
[] = { "self","pt","draw","x","y","keys","attachment", NULL
};
7727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOidd|ii:wxPyTextShape_base_OnSizingDragLeft",_kwnames
,&_argo0
,&_argo1
,&tempbool2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
7730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnSizingDragLeft. Expected _wxPyTextShape_p.");
7737 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7738 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
7739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTextShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
7743 _arg2
= (bool ) tempbool2
;
7745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7746 wxPyTextShape_base_OnSizingDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
7748 wxPyEndAllowThreads(__tstate
);
7749 if (PyErr_Occurred()) return NULL
;
7750 } Py_INCREF(Py_None
);
7751 _resultobj
= Py_None
;
7755 #define wxPyTextShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7756 static PyObject
*_wrap_wxPyTextShape_base_OnSizingBeginDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7757 PyObject
* _resultobj
;
7758 wxPyTextShape
* _arg0
;
7759 wxPyControlPoint
* _arg1
;
7762 int _arg4
= (int ) 0;
7763 int _arg5
= (int ) 0;
7764 PyObject
* _argo0
= 0;
7765 PyObject
* _argo1
= 0;
7766 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
7769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyTextShape_base_OnSizingBeginDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
7772 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7773 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnSizingBeginDragLeft. Expected _wxPyTextShape_p.");
7779 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7780 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
7781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTextShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
7786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7787 wxPyTextShape_base_OnSizingBeginDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7789 wxPyEndAllowThreads(__tstate
);
7790 if (PyErr_Occurred()) return NULL
;
7791 } Py_INCREF(Py_None
);
7792 _resultobj
= Py_None
;
7796 #define wxPyTextShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7797 static PyObject
*_wrap_wxPyTextShape_base_OnSizingEndDragLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7798 PyObject
* _resultobj
;
7799 wxPyTextShape
* _arg0
;
7800 wxPyControlPoint
* _arg1
;
7803 int _arg4
= (int ) 0;
7804 int _arg5
= (int ) 0;
7805 PyObject
* _argo0
= 0;
7806 PyObject
* _argo1
= 0;
7807 char *_kwnames
[] = { "self","pt","x","y","keys","attachment", NULL
};
7810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOdd|ii:wxPyTextShape_base_OnSizingEndDragLeft",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
7813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnSizingEndDragLeft. Expected _wxPyTextShape_p.");
7820 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7821 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPyControlPoint_p")) {
7822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTextShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
7827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7828 wxPyTextShape_base_OnSizingEndDragLeft(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7830 wxPyEndAllowThreads(__tstate
);
7831 if (PyErr_Occurred()) return NULL
;
7832 } Py_INCREF(Py_None
);
7833 _resultobj
= Py_None
;
7837 #define wxPyTextShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
7838 static PyObject
*_wrap_wxPyTextShape_base_OnBeginSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7839 PyObject
* _resultobj
;
7840 wxPyTextShape
* _arg0
;
7843 PyObject
* _argo0
= 0;
7844 char *_kwnames
[] = { "self","w","h", NULL
};
7847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyTextShape_base_OnBeginSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnBeginSize. Expected _wxPyTextShape_p.");
7857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7858 wxPyTextShape_base_OnBeginSize(_arg0
,_arg1
,_arg2
);
7860 wxPyEndAllowThreads(__tstate
);
7861 if (PyErr_Occurred()) return NULL
;
7862 } Py_INCREF(Py_None
);
7863 _resultobj
= Py_None
;
7867 #define wxPyTextShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
7868 static PyObject
*_wrap_wxPyTextShape_base_OnEndSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7869 PyObject
* _resultobj
;
7870 wxPyTextShape
* _arg0
;
7873 PyObject
* _argo0
= 0;
7874 char *_kwnames
[] = { "self","w","h", NULL
};
7877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxPyTextShape_base_OnEndSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTextShape_p")) {
7882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTextShape_base_OnEndSize. Expected _wxPyTextShape_p.");
7887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7888 wxPyTextShape_base_OnEndSize(_arg0
,_arg1
,_arg2
);
7890 wxPyEndAllowThreads(__tstate
);
7891 if (PyErr_Occurred()) return NULL
;
7892 } Py_INCREF(Py_None
);
7893 _resultobj
= Py_None
;
7897 static PyMethodDef oglshapes2cMethods
[] = {
7898 { "wxPyTextShape_base_OnEndSize", (PyCFunction
) _wrap_wxPyTextShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
7899 { "wxPyTextShape_base_OnBeginSize", (PyCFunction
) _wrap_wxPyTextShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
7900 { "wxPyTextShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_wxPyTextShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
7901 { "wxPyTextShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_wxPyTextShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
7902 { "wxPyTextShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_wxPyTextShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
7903 { "wxPyTextShape_base_OnMoveLink", (PyCFunction
) _wrap_wxPyTextShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
7904 { "wxPyTextShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_wxPyTextShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
7905 { "wxPyTextShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_wxPyTextShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
7906 { "wxPyTextShape_base_OnDrawOutline", (PyCFunction
) _wrap_wxPyTextShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
7907 { "wxPyTextShape_base_OnEndDragRight", (PyCFunction
) _wrap_wxPyTextShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
7908 { "wxPyTextShape_base_OnBeginDragRight", (PyCFunction
) _wrap_wxPyTextShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
7909 { "wxPyTextShape_base_OnDragRight", (PyCFunction
) _wrap_wxPyTextShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
7910 { "wxPyTextShape_base_OnEndDragLeft", (PyCFunction
) _wrap_wxPyTextShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
7911 { "wxPyTextShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_wxPyTextShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
7912 { "wxPyTextShape_base_OnDragLeft", (PyCFunction
) _wrap_wxPyTextShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
7913 { "wxPyTextShape_base_OnMovePost", (PyCFunction
) _wrap_wxPyTextShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
7914 { "wxPyTextShape_base_OnMovePre", (PyCFunction
) _wrap_wxPyTextShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
7915 { "wxPyTextShape_base_OnSize", (PyCFunction
) _wrap_wxPyTextShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
7916 { "wxPyTextShape_base_OnRightClick", (PyCFunction
) _wrap_wxPyTextShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
7917 { "wxPyTextShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_wxPyTextShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
7918 { "wxPyTextShape_base_OnLeftClick", (PyCFunction
) _wrap_wxPyTextShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
7919 { "wxPyTextShape_base_OnHighlight", (PyCFunction
) _wrap_wxPyTextShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
7920 { "wxPyTextShape_base_OnEraseContents", (PyCFunction
) _wrap_wxPyTextShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
7921 { "wxPyTextShape_base_OnErase", (PyCFunction
) _wrap_wxPyTextShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
7922 { "wxPyTextShape_base_OnMoveLinks", (PyCFunction
) _wrap_wxPyTextShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
7923 { "wxPyTextShape_base_OnDrawBranches", (PyCFunction
) _wrap_wxPyTextShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
7924 { "wxPyTextShape_base_OnDrawContents", (PyCFunction
) _wrap_wxPyTextShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
7925 { "wxPyTextShape_base_OnDraw", (PyCFunction
) _wrap_wxPyTextShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
7926 { "wxPyTextShape_base_OnDelete", (PyCFunction
) _wrap_wxPyTextShape_base_OnDelete
, METH_VARARGS
| METH_KEYWORDS
},
7927 { "wxPyTextShape__setCallbackInfo", (PyCFunction
) _wrap_wxPyTextShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
7928 { "new_wxPyTextShape", (PyCFunction
) _wrap_new_wxPyTextShape
, METH_VARARGS
| METH_KEYWORDS
},
7929 { "wxPyPolygonShape_base_OnEndSize", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
7930 { "wxPyPolygonShape_base_OnBeginSize", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
7931 { "wxPyPolygonShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
7932 { "wxPyPolygonShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
7933 { "wxPyPolygonShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
7934 { "wxPyPolygonShape_base_OnMoveLink", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
7935 { "wxPyPolygonShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
7936 { "wxPyPolygonShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
7937 { "wxPyPolygonShape_base_OnDrawOutline", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
7938 { "wxPyPolygonShape_base_OnEndDragRight", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
7939 { "wxPyPolygonShape_base_OnBeginDragRight", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
7940 { "wxPyPolygonShape_base_OnDragRight", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
7941 { "wxPyPolygonShape_base_OnEndDragLeft", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
7942 { "wxPyPolygonShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
7943 { "wxPyPolygonShape_base_OnDragLeft", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
7944 { "wxPyPolygonShape_base_OnMovePost", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
7945 { "wxPyPolygonShape_base_OnMovePre", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
7946 { "wxPyPolygonShape_base_OnSize", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
7947 { "wxPyPolygonShape_base_OnRightClick", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
7948 { "wxPyPolygonShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
7949 { "wxPyPolygonShape_base_OnLeftClick", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
7950 { "wxPyPolygonShape_base_OnHighlight", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
7951 { "wxPyPolygonShape_base_OnEraseContents", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
7952 { "wxPyPolygonShape_base_OnErase", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
7953 { "wxPyPolygonShape_base_OnMoveLinks", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
7954 { "wxPyPolygonShape_base_OnDrawBranches", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
7955 { "wxPyPolygonShape_base_OnDrawContents", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
7956 { "wxPyPolygonShape_base_OnDraw", (PyCFunction
) _wrap_wxPyPolygonShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
7957 { "wxPyPolygonShape_UpdateOriginalPoints", (PyCFunction
) _wrap_wxPyPolygonShape_UpdateOriginalPoints
, METH_VARARGS
| METH_KEYWORDS
},
7958 { "wxPyPolygonShape_GetPoints", (PyCFunction
) _wrap_wxPyPolygonShape_GetPoints
, METH_VARARGS
| METH_KEYWORDS
},
7959 { "wxPyPolygonShape_DeletePolygonPoint", (PyCFunction
) _wrap_wxPyPolygonShape_DeletePolygonPoint
, METH_VARARGS
| METH_KEYWORDS
},
7960 { "wxPyPolygonShape_CalculatePolygonCentre", (PyCFunction
) _wrap_wxPyPolygonShape_CalculatePolygonCentre
, METH_VARARGS
| METH_KEYWORDS
},
7961 { "wxPyPolygonShape_AddPolygonPoint", (PyCFunction
) _wrap_wxPyPolygonShape_AddPolygonPoint
, METH_VARARGS
| METH_KEYWORDS
},
7962 { "wxPyPolygonShape_Create", (PyCFunction
) _wrap_wxPyPolygonShape_Create
, METH_VARARGS
| METH_KEYWORDS
},
7963 { "wxPyPolygonShape__setCallbackInfo", (PyCFunction
) _wrap_wxPyPolygonShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
7964 { "new_wxPyPolygonShape", (PyCFunction
) _wrap_new_wxPyPolygonShape
, METH_VARARGS
| METH_KEYWORDS
},
7965 { "wxPyLineShape_base_OnEndSize", (PyCFunction
) _wrap_wxPyLineShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
7966 { "wxPyLineShape_base_OnBeginSize", (PyCFunction
) _wrap_wxPyLineShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
7967 { "wxPyLineShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_wxPyLineShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
7968 { "wxPyLineShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_wxPyLineShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
7969 { "wxPyLineShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_wxPyLineShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
7970 { "wxPyLineShape_base_OnMoveLink", (PyCFunction
) _wrap_wxPyLineShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
7971 { "wxPyLineShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_wxPyLineShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
7972 { "wxPyLineShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_wxPyLineShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
7973 { "wxPyLineShape_base_OnDrawOutline", (PyCFunction
) _wrap_wxPyLineShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
7974 { "wxPyLineShape_base_OnEndDragRight", (PyCFunction
) _wrap_wxPyLineShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
7975 { "wxPyLineShape_base_OnBeginDragRight", (PyCFunction
) _wrap_wxPyLineShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
7976 { "wxPyLineShape_base_OnDragRight", (PyCFunction
) _wrap_wxPyLineShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
7977 { "wxPyLineShape_base_OnEndDragLeft", (PyCFunction
) _wrap_wxPyLineShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
7978 { "wxPyLineShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_wxPyLineShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
7979 { "wxPyLineShape_base_OnDragLeft", (PyCFunction
) _wrap_wxPyLineShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
7980 { "wxPyLineShape_base_OnMovePost", (PyCFunction
) _wrap_wxPyLineShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
7981 { "wxPyLineShape_base_OnMovePre", (PyCFunction
) _wrap_wxPyLineShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
7982 { "wxPyLineShape_base_OnSize", (PyCFunction
) _wrap_wxPyLineShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
7983 { "wxPyLineShape_base_OnRightClick", (PyCFunction
) _wrap_wxPyLineShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
7984 { "wxPyLineShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_wxPyLineShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
7985 { "wxPyLineShape_base_OnLeftClick", (PyCFunction
) _wrap_wxPyLineShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
7986 { "wxPyLineShape_base_OnHighlight", (PyCFunction
) _wrap_wxPyLineShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
7987 { "wxPyLineShape_base_OnEraseContents", (PyCFunction
) _wrap_wxPyLineShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
7988 { "wxPyLineShape_base_OnErase", (PyCFunction
) _wrap_wxPyLineShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
7989 { "wxPyLineShape_base_OnMoveLinks", (PyCFunction
) _wrap_wxPyLineShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
7990 { "wxPyLineShape_base_OnDrawBranches", (PyCFunction
) _wrap_wxPyLineShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
7991 { "wxPyLineShape_base_OnDrawContents", (PyCFunction
) _wrap_wxPyLineShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
7992 { "wxPyLineShape_base_OnDraw", (PyCFunction
) _wrap_wxPyLineShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
7993 { "wxPyLineShape_Unlink", (PyCFunction
) _wrap_wxPyLineShape_Unlink
, METH_VARARGS
| METH_KEYWORDS
},
7994 { "wxPyLineShape_Straighten", (PyCFunction
) _wrap_wxPyLineShape_Straighten
, METH_VARARGS
| METH_KEYWORDS
},
7995 { "wxPyLineShape_SetTo", (PyCFunction
) _wrap_wxPyLineShape_SetTo
, METH_VARARGS
| METH_KEYWORDS
},
7996 { "wxPyLineShape_SetSpline", (PyCFunction
) _wrap_wxPyLineShape_SetSpline
, METH_VARARGS
| METH_KEYWORDS
},
7997 { "wxPyLineShape_SetIgnoreOffsets", (PyCFunction
) _wrap_wxPyLineShape_SetIgnoreOffsets
, METH_VARARGS
| METH_KEYWORDS
},
7998 { "wxPyLineShape_SetFrom", (PyCFunction
) _wrap_wxPyLineShape_SetFrom
, METH_VARARGS
| METH_KEYWORDS
},
7999 { "wxPyLineShape_SetEnds", (PyCFunction
) _wrap_wxPyLineShape_SetEnds
, METH_VARARGS
| METH_KEYWORDS
},
8000 { "wxPyLineShape_SetAttachmentTo", (PyCFunction
) _wrap_wxPyLineShape_SetAttachmentTo
, METH_VARARGS
| METH_KEYWORDS
},
8001 { "wxPyLineShape_SetAttachments", (PyCFunction
) _wrap_wxPyLineShape_SetAttachments
, METH_VARARGS
| METH_KEYWORDS
},
8002 { "wxPyLineShape_SetAttachmentFrom", (PyCFunction
) _wrap_wxPyLineShape_SetAttachmentFrom
, METH_VARARGS
| METH_KEYWORDS
},
8003 { "wxPyLineShape_GetLineControlPoints", (PyCFunction
) _wrap_wxPyLineShape_GetLineControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8004 { "wxPyLineShape_MakeLineControlPoints", (PyCFunction
) _wrap_wxPyLineShape_MakeLineControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8005 { "wxPyLineShape_IsSpline", (PyCFunction
) _wrap_wxPyLineShape_IsSpline
, METH_VARARGS
| METH_KEYWORDS
},
8006 { "wxPyLineShape_IsEnd", (PyCFunction
) _wrap_wxPyLineShape_IsEnd
, METH_VARARGS
| METH_KEYWORDS
},
8007 { "wxPyLineShape_InsertLineControlPoint", (PyCFunction
) _wrap_wxPyLineShape_InsertLineControlPoint
, METH_VARARGS
| METH_KEYWORDS
},
8008 { "wxPyLineShape_Initialise", (PyCFunction
) _wrap_wxPyLineShape_Initialise
, METH_VARARGS
| METH_KEYWORDS
},
8009 { "wxPyLineShape_GetTo", (PyCFunction
) _wrap_wxPyLineShape_GetTo
, METH_VARARGS
| METH_KEYWORDS
},
8010 { "wxPyLineShape_GetNextControlPoint", (PyCFunction
) _wrap_wxPyLineShape_GetNextControlPoint
, METH_VARARGS
| METH_KEYWORDS
},
8011 { "wxPyLineShape_GetLabelPosition", (PyCFunction
) _wrap_wxPyLineShape_GetLabelPosition
, METH_VARARGS
| METH_KEYWORDS
},
8012 { "wxPyLineShape_GetFrom", (PyCFunction
) _wrap_wxPyLineShape_GetFrom
, METH_VARARGS
| METH_KEYWORDS
},
8013 { "wxPyLineShape_GetEnds", (PyCFunction
) _wrap_wxPyLineShape_GetEnds
, METH_VARARGS
| METH_KEYWORDS
},
8014 { "wxPyLineShape_GetAttachmentTo", (PyCFunction
) _wrap_wxPyLineShape_GetAttachmentTo
, METH_VARARGS
| METH_KEYWORDS
},
8015 { "wxPyLineShape_GetAttachmentFrom", (PyCFunction
) _wrap_wxPyLineShape_GetAttachmentFrom
, METH_VARARGS
| METH_KEYWORDS
},
8016 { "wxPyLineShape_FindNth", (PyCFunction
) _wrap_wxPyLineShape_FindNth
, METH_VARARGS
| METH_KEYWORDS
},
8017 { "wxPyLineShape_FindMinimumWidth", (PyCFunction
) _wrap_wxPyLineShape_FindMinimumWidth
, METH_VARARGS
| METH_KEYWORDS
},
8018 { "wxPyLineShape_FindLinePosition", (PyCFunction
) _wrap_wxPyLineShape_FindLinePosition
, METH_VARARGS
| METH_KEYWORDS
},
8019 { "wxPyLineShape_FindLineEndPoints", (PyCFunction
) _wrap_wxPyLineShape_FindLineEndPoints
, METH_VARARGS
| METH_KEYWORDS
},
8020 { "wxPyLineShape_FindArrowHead", (PyCFunction
) _wrap_wxPyLineShape_FindArrowHead
, METH_VARARGS
| METH_KEYWORDS
},
8021 { "wxPyLineShape_FindArrowHeadId", (PyCFunction
) _wrap_wxPyLineShape_FindArrowHeadId
, METH_VARARGS
| METH_KEYWORDS
},
8022 { "wxPyLineShape_EraseRegion", (PyCFunction
) _wrap_wxPyLineShape_EraseRegion
, METH_VARARGS
| METH_KEYWORDS
},
8023 { "wxPyLineShape_DrawRegion", (PyCFunction
) _wrap_wxPyLineShape_DrawRegion
, METH_VARARGS
| METH_KEYWORDS
},
8024 { "wxPyLineShape_DrawArrows", (PyCFunction
) _wrap_wxPyLineShape_DrawArrows
, METH_VARARGS
| METH_KEYWORDS
},
8025 { "wxPyLineShape_DeleteLineControlPoint", (PyCFunction
) _wrap_wxPyLineShape_DeleteLineControlPoint
, METH_VARARGS
| METH_KEYWORDS
},
8026 { "wxPyLineShape_DeleteArrowHead", (PyCFunction
) _wrap_wxPyLineShape_DeleteArrowHead
, METH_VARARGS
| METH_KEYWORDS
},
8027 { "wxPyLineShape_DeleteArrowHeadId", (PyCFunction
) _wrap_wxPyLineShape_DeleteArrowHeadId
, METH_VARARGS
| METH_KEYWORDS
},
8028 { "wxPyLineShape_DrawArrow", (PyCFunction
) _wrap_wxPyLineShape_DrawArrow
, METH_VARARGS
| METH_KEYWORDS
},
8029 { "wxPyLineShape_ClearArrowsAtPosition", (PyCFunction
) _wrap_wxPyLineShape_ClearArrowsAtPosition
, METH_VARARGS
| METH_KEYWORDS
},
8030 { "wxPyLineShape_ClearArrow", (PyCFunction
) _wrap_wxPyLineShape_ClearArrow
, METH_VARARGS
| METH_KEYWORDS
},
8031 { "wxPyLineShape_AddArrowOrdered", (PyCFunction
) _wrap_wxPyLineShape_AddArrowOrdered
, METH_VARARGS
| METH_KEYWORDS
},
8032 { "wxPyLineShape_AddArrow", (PyCFunction
) _wrap_wxPyLineShape_AddArrow
, METH_VARARGS
| METH_KEYWORDS
},
8033 { "wxPyLineShape__setCallbackInfo", (PyCFunction
) _wrap_wxPyLineShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
8034 { "new_wxPyLineShape", (PyCFunction
) _wrap_new_wxPyLineShape
, METH_VARARGS
| METH_KEYWORDS
},
8035 { "wxArrowHead_SetSpacing", (PyCFunction
) _wrap_wxArrowHead_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
8036 { "wxArrowHead_SetSize", (PyCFunction
) _wrap_wxArrowHead_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
8037 { "wxArrowHead_GetArrowSize", (PyCFunction
) _wrap_wxArrowHead_GetArrowSize
, METH_VARARGS
| METH_KEYWORDS
},
8038 { "wxArrowHead_GetArrowEnd", (PyCFunction
) _wrap_wxArrowHead_GetArrowEnd
, METH_VARARGS
| METH_KEYWORDS
},
8039 { "wxArrowHead_GetId", (PyCFunction
) _wrap_wxArrowHead_GetId
, METH_VARARGS
| METH_KEYWORDS
},
8040 { "wxArrowHead_GetMetaFile", (PyCFunction
) _wrap_wxArrowHead_GetMetaFile
, METH_VARARGS
| METH_KEYWORDS
},
8041 { "wxArrowHead_SetYOffset", (PyCFunction
) _wrap_wxArrowHead_SetYOffset
, METH_VARARGS
| METH_KEYWORDS
},
8042 { "wxArrowHead_SetXOffset", (PyCFunction
) _wrap_wxArrowHead_SetXOffset
, METH_VARARGS
| METH_KEYWORDS
},
8043 { "wxArrowHead_GetName", (PyCFunction
) _wrap_wxArrowHead_GetName
, METH_VARARGS
| METH_KEYWORDS
},
8044 { "wxArrowHead_GetSize", (PyCFunction
) _wrap_wxArrowHead_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
8045 { "wxArrowHead_GetSpacing", (PyCFunction
) _wrap_wxArrowHead_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
8046 { "wxArrowHead_GetYOffset", (PyCFunction
) _wrap_wxArrowHead_GetYOffset
, METH_VARARGS
| METH_KEYWORDS
},
8047 { "wxArrowHead_GetXOffset", (PyCFunction
) _wrap_wxArrowHead_GetXOffset
, METH_VARARGS
| METH_KEYWORDS
},
8048 { "wxArrowHead_SetPosition", (PyCFunction
) _wrap_wxArrowHead_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
8049 { "wxArrowHead_GetPosition", (PyCFunction
) _wrap_wxArrowHead_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
8050 { "wxArrowHead__GetType", (PyCFunction
) _wrap_wxArrowHead__GetType
, METH_VARARGS
| METH_KEYWORDS
},
8051 { "delete_wxArrowHead", (PyCFunction
) _wrap_delete_wxArrowHead
, METH_VARARGS
| METH_KEYWORDS
},
8052 { "new_wxArrowHead", (PyCFunction
) _wrap_new_wxArrowHead
, METH_VARARGS
| METH_KEYWORDS
},
8053 { "wxPyCircleShape_base_OnEndSize", (PyCFunction
) _wrap_wxPyCircleShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
8054 { "wxPyCircleShape_base_OnBeginSize", (PyCFunction
) _wrap_wxPyCircleShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
8055 { "wxPyCircleShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_wxPyCircleShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8056 { "wxPyCircleShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_wxPyCircleShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8057 { "wxPyCircleShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_wxPyCircleShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8058 { "wxPyCircleShape_base_OnMoveLink", (PyCFunction
) _wrap_wxPyCircleShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
8059 { "wxPyCircleShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_wxPyCircleShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8060 { "wxPyCircleShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_wxPyCircleShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8061 { "wxPyCircleShape_base_OnDrawOutline", (PyCFunction
) _wrap_wxPyCircleShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
8062 { "wxPyCircleShape_base_OnEndDragRight", (PyCFunction
) _wrap_wxPyCircleShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8063 { "wxPyCircleShape_base_OnBeginDragRight", (PyCFunction
) _wrap_wxPyCircleShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8064 { "wxPyCircleShape_base_OnDragRight", (PyCFunction
) _wrap_wxPyCircleShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8065 { "wxPyCircleShape_base_OnEndDragLeft", (PyCFunction
) _wrap_wxPyCircleShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8066 { "wxPyCircleShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_wxPyCircleShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8067 { "wxPyCircleShape_base_OnDragLeft", (PyCFunction
) _wrap_wxPyCircleShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8068 { "wxPyCircleShape_base_OnMovePost", (PyCFunction
) _wrap_wxPyCircleShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
8069 { "wxPyCircleShape_base_OnMovePre", (PyCFunction
) _wrap_wxPyCircleShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
8070 { "wxPyCircleShape_base_OnSize", (PyCFunction
) _wrap_wxPyCircleShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
8071 { "wxPyCircleShape_base_OnRightClick", (PyCFunction
) _wrap_wxPyCircleShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
8072 { "wxPyCircleShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_wxPyCircleShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
8073 { "wxPyCircleShape_base_OnLeftClick", (PyCFunction
) _wrap_wxPyCircleShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
8074 { "wxPyCircleShape_base_OnHighlight", (PyCFunction
) _wrap_wxPyCircleShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
8075 { "wxPyCircleShape_base_OnEraseContents", (PyCFunction
) _wrap_wxPyCircleShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
8076 { "wxPyCircleShape_base_OnErase", (PyCFunction
) _wrap_wxPyCircleShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
8077 { "wxPyCircleShape_base_OnMoveLinks", (PyCFunction
) _wrap_wxPyCircleShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
8078 { "wxPyCircleShape_base_OnDrawBranches", (PyCFunction
) _wrap_wxPyCircleShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
8079 { "wxPyCircleShape_base_OnDrawContents", (PyCFunction
) _wrap_wxPyCircleShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
8080 { "wxPyCircleShape_base_OnDraw", (PyCFunction
) _wrap_wxPyCircleShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
8081 { "wxPyCircleShape__setCallbackInfo", (PyCFunction
) _wrap_wxPyCircleShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
8082 { "new_wxPyCircleShape", (PyCFunction
) _wrap_new_wxPyCircleShape
, METH_VARARGS
| METH_KEYWORDS
},
8083 { "wxPyEllipseShape_base_OnEndSize", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnEndSize
, METH_VARARGS
| METH_KEYWORDS
},
8084 { "wxPyEllipseShape_base_OnBeginSize", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnBeginSize
, METH_VARARGS
| METH_KEYWORDS
},
8085 { "wxPyEllipseShape_base_OnSizingEndDragLeft", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnSizingEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8086 { "wxPyEllipseShape_base_OnSizingBeginDragLeft", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnSizingBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8087 { "wxPyEllipseShape_base_OnSizingDragLeft", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnSizingDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8088 { "wxPyEllipseShape_base_OnMoveLink", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnMoveLink
, METH_VARARGS
| METH_KEYWORDS
},
8089 { "wxPyEllipseShape_base_OnEraseControlPoints", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnEraseControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8090 { "wxPyEllipseShape_base_OnDrawControlPoints", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnDrawControlPoints
, METH_VARARGS
| METH_KEYWORDS
},
8091 { "wxPyEllipseShape_base_OnDrawOutline", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnDrawOutline
, METH_VARARGS
| METH_KEYWORDS
},
8092 { "wxPyEllipseShape_base_OnEndDragRight", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnEndDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8093 { "wxPyEllipseShape_base_OnBeginDragRight", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnBeginDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8094 { "wxPyEllipseShape_base_OnDragRight", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnDragRight
, METH_VARARGS
| METH_KEYWORDS
},
8095 { "wxPyEllipseShape_base_OnEndDragLeft", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnEndDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8096 { "wxPyEllipseShape_base_OnBeginDragLeft", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnBeginDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8097 { "wxPyEllipseShape_base_OnDragLeft", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnDragLeft
, METH_VARARGS
| METH_KEYWORDS
},
8098 { "wxPyEllipseShape_base_OnMovePost", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnMovePost
, METH_VARARGS
| METH_KEYWORDS
},
8099 { "wxPyEllipseShape_base_OnMovePre", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnMovePre
, METH_VARARGS
| METH_KEYWORDS
},
8100 { "wxPyEllipseShape_base_OnSize", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnSize
, METH_VARARGS
| METH_KEYWORDS
},
8101 { "wxPyEllipseShape_base_OnRightClick", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnRightClick
, METH_VARARGS
| METH_KEYWORDS
},
8102 { "wxPyEllipseShape_base_OnLeftDoubleClick", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnLeftDoubleClick
, METH_VARARGS
| METH_KEYWORDS
},
8103 { "wxPyEllipseShape_base_OnLeftClick", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnLeftClick
, METH_VARARGS
| METH_KEYWORDS
},
8104 { "wxPyEllipseShape_base_OnHighlight", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnHighlight
, METH_VARARGS
| METH_KEYWORDS
},
8105 { "wxPyEllipseShape_base_OnEraseContents", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnEraseContents
, METH_VARARGS
| METH_KEYWORDS
},
8106 { "wxPyEllipseShape_base_OnErase", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnErase
, METH_VARARGS
| METH_KEYWORDS
},
8107 { "wxPyEllipseShape_base_OnMoveLinks", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnMoveLinks
, METH_VARARGS
| METH_KEYWORDS
},
8108 { "wxPyEllipseShape_base_OnDrawBranches", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnDrawBranches
, METH_VARARGS
| METH_KEYWORDS
},
8109 { "wxPyEllipseShape_base_OnDrawContents", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnDrawContents
, METH_VARARGS
| METH_KEYWORDS
},
8110 { "wxPyEllipseShape_base_OnDraw", (PyCFunction
) _wrap_wxPyEllipseShape_base_OnDraw
, METH_VARARGS
| METH_KEYWORDS
},
8111 { "wxPyEllipseShape__setCallbackInfo", (PyCFunction
) _wrap_wxPyEllipseShape__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
8112 { "new_wxPyEllipseShape", (PyCFunction
) _wrap_new_wxPyEllipseShape
, METH_VARARGS
| METH_KEYWORDS
},
8119 * This table is used by the pointer type-checker
8121 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
8122 { "_signed_long","_long",0},
8123 { "_wxPrintQuality","_wxCoord",0},
8124 { "_wxPrintQuality","_int",0},
8125 { "_wxPrintQuality","_signed_int",0},
8126 { "_wxPrintQuality","_unsigned_int",0},
8127 { "_wxPrintQuality","_wxWindowID",0},
8128 { "_wxPrintQuality","_uint",0},
8129 { "_wxPrintQuality","_EBool",0},
8130 { "_wxPrintQuality","_size_t",0},
8131 { "_wxPrintQuality","_time_t",0},
8132 { "_byte","_unsigned_char",0},
8133 { "_long","_unsigned_long",0},
8134 { "_long","_signed_long",0},
8135 { "_size_t","_wxCoord",0},
8136 { "_size_t","_wxPrintQuality",0},
8137 { "_size_t","_time_t",0},
8138 { "_size_t","_unsigned_int",0},
8139 { "_size_t","_int",0},
8140 { "_size_t","_wxWindowID",0},
8141 { "_size_t","_uint",0},
8142 { "_uint","_wxCoord",0},
8143 { "_uint","_wxPrintQuality",0},
8144 { "_uint","_time_t",0},
8145 { "_uint","_size_t",0},
8146 { "_uint","_unsigned_int",0},
8147 { "_uint","_int",0},
8148 { "_uint","_wxWindowID",0},
8149 { "_wxChar","_char",0},
8150 { "_char","_wxChar",0},
8151 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
8152 { "_EBool","_wxCoord",0},
8153 { "_EBool","_wxPrintQuality",0},
8154 { "_EBool","_signed_int",0},
8155 { "_EBool","_int",0},
8156 { "_EBool","_wxWindowID",0},
8157 { "_unsigned_long","_long",0},
8158 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
8159 { "_signed_int","_wxCoord",0},
8160 { "_signed_int","_wxPrintQuality",0},
8161 { "_signed_int","_EBool",0},
8162 { "_signed_int","_wxWindowID",0},
8163 { "_signed_int","_int",0},
8164 { "_WXTYPE","_wxDateTime_t",0},
8165 { "_WXTYPE","_short",0},
8166 { "_WXTYPE","_signed_short",0},
8167 { "_WXTYPE","_unsigned_short",0},
8168 { "_unsigned_short","_wxDateTime_t",0},
8169 { "_unsigned_short","_WXTYPE",0},
8170 { "_unsigned_short","_short",0},
8171 { "_wxObject","_wxPyTextShape",SwigwxPyTextShapeTowxObject
},
8172 { "_wxObject","_wxPyPolygonShape",SwigwxPyPolygonShapeTowxObject
},
8173 { "_wxObject","_wxPyLineShape",SwigwxPyLineShapeTowxObject
},
8174 { "_wxObject","_wxArrowHead",SwigwxArrowHeadTowxObject
},
8175 { "_wxObject","_wxPyCircleShape",SwigwxPyCircleShapeTowxObject
},
8176 { "_wxObject","_wxPyEllipseShape",SwigwxPyEllipseShapeTowxObject
},
8177 { "_signed_short","_WXTYPE",0},
8178 { "_signed_short","_short",0},
8179 { "_wxPyShape","_wxPyTextShape",SwigwxPyTextShapeTowxPyShape
},
8180 { "_wxPyShape","_wxPyPolygonShape",SwigwxPyPolygonShapeTowxPyShape
},
8181 { "_wxPyShape","_wxPyLineShape",SwigwxPyLineShapeTowxPyShape
},
8182 { "_wxPyShape","_wxPyCircleShape",SwigwxPyCircleShapeTowxPyShape
},
8183 { "_wxPyShape","_wxPyEllipseShape",SwigwxPyEllipseShapeTowxPyShape
},
8184 { "_unsigned_char","_byte",0},
8185 { "_unsigned_int","_wxCoord",0},
8186 { "_unsigned_int","_wxPrintQuality",0},
8187 { "_unsigned_int","_time_t",0},
8188 { "_unsigned_int","_size_t",0},
8189 { "_unsigned_int","_uint",0},
8190 { "_unsigned_int","_wxWindowID",0},
8191 { "_unsigned_int","_int",0},
8192 { "_short","_wxDateTime_t",0},
8193 { "_short","_WXTYPE",0},
8194 { "_short","_unsigned_short",0},
8195 { "_short","_signed_short",0},
8196 { "_wxWindowID","_wxCoord",0},
8197 { "_wxWindowID","_wxPrintQuality",0},
8198 { "_wxWindowID","_time_t",0},
8199 { "_wxWindowID","_size_t",0},
8200 { "_wxWindowID","_EBool",0},
8201 { "_wxWindowID","_uint",0},
8202 { "_wxWindowID","_int",0},
8203 { "_wxWindowID","_signed_int",0},
8204 { "_wxWindowID","_unsigned_int",0},
8205 { "_int","_wxCoord",0},
8206 { "_int","_wxPrintQuality",0},
8207 { "_int","_time_t",0},
8208 { "_int","_size_t",0},
8209 { "_int","_EBool",0},
8210 { "_int","_uint",0},
8211 { "_int","_wxWindowID",0},
8212 { "_int","_unsigned_int",0},
8213 { "_int","_signed_int",0},
8214 { "_wxDateTime_t","_unsigned_short",0},
8215 { "_wxDateTime_t","_short",0},
8216 { "_wxDateTime_t","_WXTYPE",0},
8217 { "_time_t","_wxCoord",0},
8218 { "_time_t","_wxPrintQuality",0},
8219 { "_time_t","_unsigned_int",0},
8220 { "_time_t","_int",0},
8221 { "_time_t","_wxWindowID",0},
8222 { "_time_t","_uint",0},
8223 { "_time_t","_size_t",0},
8224 { "_wxCoord","_int",0},
8225 { "_wxCoord","_signed_int",0},
8226 { "_wxCoord","_unsigned_int",0},
8227 { "_wxCoord","_wxWindowID",0},
8228 { "_wxCoord","_uint",0},
8229 { "_wxCoord","_EBool",0},
8230 { "_wxCoord","_size_t",0},
8231 { "_wxCoord","_time_t",0},
8232 { "_wxCoord","_wxPrintQuality",0},
8233 { "_wxPyEllipseShape","_wxPyCircleShape",SwigwxPyCircleShapeTowxPyEllipseShape
},
8234 { "_wxPyShapeEvtHandler","_wxPyTextShape",SwigwxPyTextShapeTowxPyShapeEvtHandler
},
8235 { "_wxPyShapeEvtHandler","_wxPyPolygonShape",SwigwxPyPolygonShapeTowxPyShapeEvtHandler
},
8236 { "_wxPyShapeEvtHandler","_wxPyLineShape",SwigwxPyLineShapeTowxPyShapeEvtHandler
},
8237 { "_wxPyShapeEvtHandler","_wxPyCircleShape",SwigwxPyCircleShapeTowxPyShapeEvtHandler
},
8238 { "_wxPyShapeEvtHandler","_wxPyEllipseShape",SwigwxPyEllipseShapeTowxPyShapeEvtHandler
},
8239 { "_wxPyRectangleShape","_wxPyTextShape",SwigwxPyTextShapeTowxPyRectangleShape
},
8242 static PyObject
*SWIG_globals
;
8246 SWIGEXPORT(void) initoglshapes2c() {
8248 SWIG_globals
= SWIG_newvarlink();
8249 m
= Py_InitModule("oglshapes2c", oglshapes2cMethods
);
8250 d
= PyModule_GetDict(m
);
8253 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
8254 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);