]> git.saurik.com Git - wxWidgets.git/blame - wxPython/contrib/ogl/mac/ogl_wrap.cpp
don't draw focus rect for custom drawn items when the list control doesn't have focus
[wxWidgets.git] / wxPython / contrib / ogl / mac / ogl_wrap.cpp
CommitLineData
44127b65
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
36ed4f51 3 * Version 1.3.24
44127b65
RD
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11#define SWIGPYTHON
44127b65
RD
12
13#ifdef __cplusplus
14template<class T> class SwigValueWrapper {
15 T *tt;
16public:
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
19 SwigValueWrapper(const T& t) : tt(new T(t)) { }
20 ~SwigValueWrapper() { delete tt; }
21 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
22 operator T&() const { return *tt; }
23 T *operator&() { return tt; }
24private:
25 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
36ed4f51 26};
44127b65
RD
27#endif
28
29
36ed4f51
RD
30#ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31# if defined(__SUNPRO_CC)
32# define SWIG_TEMPLATE_DISAMBIGUATOR template
33# else
34# define SWIG_TEMPLATE_DISAMBIGUATOR
35# endif
36#endif
44127b65 37
9fd4be55 38
36ed4f51 39#include <Python.h>
44127b65
RD
40
41/***********************************************************************
36ed4f51 42 * swigrun.swg
44127b65 43 *
36ed4f51
RD
44 * This file contains generic CAPI SWIG runtime support for pointer
45 * type checking.
44127b65
RD
46 *
47 ************************************************************************/
48
36ed4f51
RD
49/* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51#define SWIG_RUNTIME_VERSION "1"
44127b65 52
36ed4f51
RD
53/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54#ifdef SWIG_TYPE_TABLE
55#define SWIG_QUOTE_STRING(x) #x
56#define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57#define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
44127b65 58#else
36ed4f51 59#define SWIG_TYPE_TABLE_NAME
44127b65
RD
60#endif
61
36ed4f51
RD
62#include <string.h>
63
64#ifndef SWIGINLINE
65#if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66# define SWIGINLINE inline
44127b65 67#else
36ed4f51
RD
68# define SWIGINLINE
69#endif
70#endif
71
72/*
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
76
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
79*/
80#ifndef SWIGRUNTIME
81#define SWIGRUNTIME static
82#endif
83#ifndef SWIGRUNTIMEINLINE
84#define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
44127b65
RD
85#endif
86
44127b65
RD
87#ifdef __cplusplus
88extern "C" {
89#endif
90
91typedef void *(*swig_converter_func)(void *);
92typedef struct swig_type_info *(*swig_dycast_func)(void **);
93
94typedef struct swig_type_info {
0f774bef 95 const char *name;
44127b65
RD
96 swig_converter_func converter;
97 const char *str;
0f774bef 98 void *clientdata;
44127b65
RD
99 swig_dycast_func dcast;
100 struct swig_type_info *next;
101 struct swig_type_info *prev;
102} swig_type_info;
103
36ed4f51
RD
104/*
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
107
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
110*/
111SWIGRUNTIME int
112SWIG_TypeNameComp(const char *f1, const char *l1,
113 const char *f2, const char *l2) {
114 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
115 while ((*f1 == ' ') && (f1 != l1)) ++f1;
116 while ((*f2 == ' ') && (f2 != l2)) ++f2;
117 if (*f1 != *f2) return *f1 - *f2;
118 }
119 return (l1 - f1) - (l2 - f2);
120}
121
122/*
123 Check type equivalence in a name list like <name1>|<name2>|...
124*/
125SWIGRUNTIME int
126SWIG_TypeEquiv(const char *nb, const char *tb) {
127 int equiv = 0;
128 const char* te = tb + strlen(tb);
129 const char* ne = nb;
130 while (!equiv && *ne) {
131 for (nb = ne; *ne; ++ne) {
132 if (*ne == '|') break;
133 }
134 equiv = SWIG_TypeNameComp(nb, ne, tb, te) == 0;
135 if (*ne) ++ne;
136 }
137 return equiv;
138}
139
140/*
141 Register a type mapping with the type-checking
142*/
143SWIGRUNTIME swig_type_info *
144SWIG_TypeRegisterTL(swig_type_info **tl, swig_type_info *ti) {
145 swig_type_info *tc, *head, *ret, *next;
146 /* Check to see if this type has already been registered */
147 tc = *tl;
148 while (tc) {
149 /* check simple type equivalence */
150 int typeequiv = (strcmp(tc->name, ti->name) == 0);
151 /* check full type equivalence, resolving typedefs */
152 if (!typeequiv) {
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc->str && ti->str && !strstr(tc->str,"|")) {
155 typeequiv = SWIG_TypeEquiv(ti->str,tc->str);
156 }
157 }
158 if (typeequiv) {
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti->clientdata) tc->clientdata = ti->clientdata;
161 head = tc;
162 next = tc->next;
163 goto l1;
164 }
165 tc = tc->prev;
166 }
167 head = ti;
168 next = 0;
169
170 /* Place in list */
171 ti->prev = *tl;
172 *tl = ti;
173
174 /* Build linked lists */
175 l1:
176 ret = head;
177 tc = ti + 1;
178 /* Patch up the rest of the links */
179 while (tc->name) {
180 head->next = tc;
181 tc->prev = head;
182 head = tc;
183 tc++;
184 }
185 if (next) next->prev = head;
186 head->next = next;
187
188 return ret;
189}
190
191/*
192 Check the typename
193*/
194SWIGRUNTIME swig_type_info *
195SWIG_TypeCheck(const char *c, swig_type_info *ty) {
196 swig_type_info *s;
197 if (!ty) return 0; /* Void pointer */
198 s = ty->next; /* First element always just a name */
199 do {
200 if (strcmp(s->name,c) == 0) {
201 if (s == ty->next) return s;
202 /* Move s to the top of the linked list */
203 s->prev->next = s->next;
204 if (s->next) {
205 s->next->prev = s->prev;
206 }
207 /* Insert s as second element in the list */
208 s->next = ty->next;
209 if (ty->next) ty->next->prev = s;
210 ty->next = s;
211 s->prev = ty;
212 return s;
213 }
214 s = s->next;
215 } while (s && (s != ty->next));
216 return 0;
217}
218
219/*
220 Cast a pointer up an inheritance hierarchy
221*/
222SWIGRUNTIMEINLINE void *
223SWIG_TypeCast(swig_type_info *ty, void *ptr) {
224 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
225}
226
227/*
228 Dynamic pointer casting. Down an inheritance hierarchy
229*/
230SWIGRUNTIME swig_type_info *
231SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
232 swig_type_info *lastty = ty;
233 if (!ty || !ty->dcast) return ty;
234 while (ty && (ty->dcast)) {
235 ty = (*ty->dcast)(ptr);
236 if (ty) lastty = ty;
237 }
238 return lastty;
239}
240
241/*
242 Return the name associated with this type
243*/
244SWIGRUNTIMEINLINE const char *
245SWIG_TypeName(const swig_type_info *ty) {
246 return ty->name;
247}
248
249/*
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
252*/
253SWIGRUNTIME const char *
254SWIG_TypePrettyName(const swig_type_info *type) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
258 specific. */
259 if (type->str != NULL) {
260 const char *last_name = type->str;
261 const char *s;
262 for (s = type->str; *s; s++)
263 if (*s == '|') last_name = s+1;
264 return last_name;
265 }
266 else
267 return type->name;
268}
269
270/*
271 Search for a swig_type_info structure
272*/
273SWIGRUNTIME swig_type_info *
274SWIG_TypeQueryTL(swig_type_info *tl, const char *name) {
275 swig_type_info *ty = tl;
276 while (ty) {
277 if (ty->str && (SWIG_TypeEquiv(ty->str,name))) return ty;
278 if (ty->name && (strcmp(name,ty->name) == 0)) return ty;
279 ty = ty->prev;
280 }
281 return 0;
282}
283
284/*
285 Set the clientdata field for a type
286*/
287SWIGRUNTIME void
288SWIG_TypeClientDataTL(swig_type_info *tl, swig_type_info *ti, void *clientdata) {
289 swig_type_info *tc, *equiv;
290 if (ti->clientdata) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti->clientdata = clientdata;
293 equiv = ti->next;
294 while (equiv) {
295 if (!equiv->converter) {
296 tc = tl;
297 while (tc) {
298 if ((strcmp(tc->name, equiv->name) == 0))
299 SWIG_TypeClientDataTL(tl,tc,clientdata);
300 tc = tc->prev;
301 }
302 }
303 equiv = equiv->next;
304 }
305}
44127b65 306
36ed4f51
RD
307/*
308 Pack binary data into a string
309*/
310SWIGRUNTIME char *
311SWIG_PackData(char *c, void *ptr, size_t sz) {
312 static char hex[17] = "0123456789abcdef";
313 unsigned char *u = (unsigned char *) ptr;
314 const unsigned char *eu = u + sz;
315 register unsigned char uu;
316 for (; u != eu; ++u) {
317 uu = *u;
318 *(c++) = hex[(uu & 0xf0) >> 4];
319 *(c++) = hex[uu & 0xf];
320 }
321 return c;
322}
323
324/*
325 Unpack binary data from a string
326*/
327SWIGRUNTIME const char *
328SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
329 register unsigned char *u = (unsigned char *) ptr;
330 register const unsigned char *eu = u + sz;
331 for (; u != eu; ++u) {
332 register int d = *(c++);
333 register unsigned char uu = 0;
334 if ((d >= '0') && (d <= '9'))
335 uu = ((d - '0') << 4);
336 else if ((d >= 'a') && (d <= 'f'))
337 uu = ((d - ('a'-10)) << 4);
338 else
339 return (char *) 0;
340 d = *(c++);
341 if ((d >= '0') && (d <= '9'))
342 uu |= (d - '0');
343 else if ((d >= 'a') && (d <= 'f'))
344 uu |= (d - ('a'-10));
345 else
346 return (char *) 0;
347 *u = uu;
348 }
349 return c;
350}
351
352/*
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
357*/
358SWIGRUNTIME void
359SWIG_PropagateClientDataTL(swig_type_info *tl, swig_type_info *type) {
360 swig_type_info *equiv = type->next;
361 swig_type_info *tc;
362 if (!type->clientdata) return;
363 while (equiv) {
364 if (!equiv->converter) {
365 tc = tl;
366 while (tc) {
367 if ((strcmp(tc->name, equiv->name) == 0) && !tc->clientdata)
368 SWIG_TypeClientDataTL(tl,tc, type->clientdata);
369 tc = tc->prev;
370 }
371 }
372 equiv = equiv->next;
373 }
374}
375
376/*
377 Pack 'void *' into a string buffer.
378*/
379SWIGRUNTIME char *
380SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
381 char *r = buff;
382 if ((2*sizeof(void *) + 2) > bsz) return 0;
383 *(r++) = '_';
384 r = SWIG_PackData(r,&ptr,sizeof(void *));
385 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
386 strcpy(r,name);
387 return buff;
388}
389
390SWIGRUNTIME const char *
391SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
392 if (*c != '_') {
393 if (strcmp(c,"NULL") == 0) {
394 *ptr = (void *) 0;
395 return name;
396 } else {
397 return 0;
398 }
399 }
400 return SWIG_UnpackData(++c,ptr,sizeof(void *));
401}
402
403SWIGRUNTIME char *
404SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
405 char *r = buff;
406 size_t lname = (name ? strlen(name) : 0);
407 if ((2*sz + 2 + lname) > bsz) return 0;
408 *(r++) = '_';
409 r = SWIG_PackData(r,ptr,sz);
410 if (lname) {
411 strncpy(r,name,lname+1);
412 } else {
413 *r = 0;
414 }
415 return buff;
416}
44127b65 417
36ed4f51
RD
418SWIGRUNTIME const char *
419SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
420 if (*c != '_') {
421 if (strcmp(c,"NULL") == 0) {
422 memset(ptr,0,sz);
423 return name;
424 } else {
425 return 0;
426 }
427 }
428 return SWIG_UnpackData(++c,ptr,sz);
429}
44127b65
RD
430
431#ifdef __cplusplus
432}
44127b65
RD
433#endif
434
435/***********************************************************************
36ed4f51 436 * common.swg
44127b65 437 *
36ed4f51
RD
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
440 * external linkage.
44127b65 441 *
36ed4f51
RD
442 * Author : David Beazley (beazley@cs.uchicago.edu)
443 *
444 * Copyright (c) 1999-2000, The University of Chicago
445 *
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
44127b65
RD
448 ************************************************************************/
449
36ed4f51
RD
450
451#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452# if !defined(STATIC_LINKED)
453# define SWIGEXPORT(a) __declspec(dllexport) a
454# else
455# define SWIGEXPORT(a) a
456# endif
457#else
458# define SWIGEXPORT(a) a
459#endif
460
44127b65
RD
461#ifdef __cplusplus
462extern "C" {
463#endif
464
36ed4f51
RD
465
466/*************************************************************************/
467
468
469/* The static type info list */
470
471static swig_type_info *swig_type_list = 0;
472static swig_type_info **swig_type_list_handle = &swig_type_list;
473
474
475/* Register a type mapping with the type-checking */
476static swig_type_info *
477SWIG_TypeRegister(swig_type_info *ti) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle, ti);
479}
480
481/* Search for a swig_type_info structure */
482static swig_type_info *
483SWIG_TypeQuery(const char *name) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle, name);
485}
486
487/* Set the clientdata field for a type */
488static void
489SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle, ti, clientdata);
491}
492
493/* This function will propagate the clientdata field of type to
494* any new swig_type_info structures that have been added into the list
495* of equivalent types. It is like calling
496* SWIG_TypeClientData(type, clientdata) a second time.
497*/
498static void
499SWIG_PropagateClientData(swig_type_info *type) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle, type);
501}
502
503#ifdef __cplusplus
504}
505#endif
506
507/* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
510
511#ifdef __cplusplus
512extern "C" {
513#endif
514
515/* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
518
519#ifndef SWIGINTERN
520#define SWIGINTERN static
521#endif
522
523#ifndef SWIGINTERNSHORT
524#ifdef __cplusplus
525#define SWIGINTERNSHORT static inline
526#else /* C case */
527#define SWIGINTERNSHORT static
528#endif /* __cplusplus */
529#endif
530
531
532/*
533 Exception handling in wrappers
534*/
535#define SWIG_fail goto fail
536#define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537#define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538#define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539#define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540#define SWIG_null_ref(type) SWIG_Python_NullRef(type)
541
542/*
543 Contract support
544*/
545#define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
547
548/* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
551
552/* Constant Types */
44127b65
RD
553#define SWIG_PY_INT 1
554#define SWIG_PY_FLOAT 2
555#define SWIG_PY_STRING 3
556#define SWIG_PY_POINTER 4
557#define SWIG_PY_BINARY 5
558
44127b65
RD
559/* Constant information structure */
560typedef struct swig_const_info {
561 int type;
562 char *name;
563 long lvalue;
564 double dvalue;
565 void *pvalue;
566 swig_type_info **ptype;
567} swig_const_info;
568
36ed4f51
RD
569
570/* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573#define SWIG_OLDOBJ 1
574#define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575#define SWIG_PYSTR SWIG_NEWOBJ + 1
576
577#ifdef __cplusplus
578}
579#endif
580
581
582/***********************************************************************
583 * pyrun.swg
584 *
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
587 * type checking.
588 *
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
591
44127b65 592/* Common SWIG API */
36ed4f51
RD
593#define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594#define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595#define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2dbef272 596
44127b65 597
36ed4f51
RD
598/* Python-specific SWIG API */
599#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
44127b65 601
44127b65 602
36ed4f51
RD
603/* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
606/*
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
609 not always safe.
610*/
611#if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612# define SWIG_COBJECT_TYPES
613#endif
44127b65 614
36ed4f51
RD
615/* Flags for pointer conversion */
616#define SWIG_POINTER_EXCEPTION 0x1
617#define SWIG_POINTER_DISOWN 0x2
44127b65 618
44127b65 619
44127b65 620#ifdef __cplusplus
36ed4f51
RD
621extern "C" {
622#endif
623
624/* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
627
628#ifndef SWIG_BUFFER_SIZE
629#define SWIG_BUFFER_SIZE 1024
630#endif
631
632#if defined(SWIG_COBJECT_TYPES)
633#if !defined(SWIG_COBJECT_PYTHON)
634/* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
637
638typedef struct {
639 PyObject_HEAD
640 void *ptr;
641 const char *desc;
642} PySwigObject;
643
644/* Declarations for objects of type PySwigObject */
645
646SWIGRUNTIME int
647PySwigObject_print(PySwigObject *v, FILE *fp, int flags)
648{
649 char result[SWIG_BUFFER_SIZE];
650 if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) {
651 fputs("<Swig Object at ", fp); fputs(result, fp); fputs(">", fp);
652 return 0;
653 } else {
654 return 1;
655 }
656}
657
658SWIGRUNTIME PyObject *
659PySwigObject_repr(PySwigObject *v)
660{
661 char result[SWIG_BUFFER_SIZE];
662 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
663 PyString_FromFormat("<Swig Object at %s>", result) : 0;
664}
665
666SWIGRUNTIME PyObject *
667PySwigObject_str(PySwigObject *v)
668{
669 char result[SWIG_BUFFER_SIZE];
670 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
671 PyString_FromString(result) : 0;
672}
673
674SWIGRUNTIME PyObject *
675PySwigObject_long(PySwigObject *v)
676{
677 return PyLong_FromUnsignedLong((unsigned long) v->ptr);
678}
679
680SWIGRUNTIME PyObject *
681PySwigObject_oct(PySwigObject *v)
682{
683 char buf[100];
684 unsigned long x = (unsigned long)v->ptr;
685 if (x == 0)
686 strcpy(buf, "0");
687 else
688 PyOS_snprintf(buf, sizeof(buf), "0%lo", x);
689 return PyString_FromString(buf);
690}
691
692SWIGRUNTIME PyObject *
693PySwigObject_hex(PySwigObject *v)
694{
695 char buf[100];
696 PyOS_snprintf(buf, sizeof(buf), "0x%lx", (unsigned long)v->ptr);
697 return PyString_FromString(buf);
698}
699
700SWIGRUNTIME int
701PySwigObject_compare(PySwigObject *v, PySwigObject *w)
702{
703 int c = strcmp(v->desc, w->desc);
704 if (c) {
705 return c;
706 } else {
707 void *i = v->ptr;
708 void *j = w->ptr;
709 return (i < j) ? -1 : (i > j) ? 1 : 0;
710 }
711}
712
713SWIGRUNTIME void
714PySwigObject_dealloc(PySwigObject *self)
715{
716 PyObject_DEL(self);
44127b65 717}
36ed4f51
RD
718
719SWIGRUNTIME PyTypeObject*
720PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__[] =
722 "Swig object carries a C/C++ instance pointer";
723
724 static PyNumberMethods PySwigObject_as_number = {
725 (binaryfunc)0, /*nb_add*/
726 (binaryfunc)0, /*nb_subtract*/
727 (binaryfunc)0, /*nb_multiply*/
728 (binaryfunc)0, /*nb_divide*/
729 (binaryfunc)0, /*nb_remainder*/
730 (binaryfunc)0, /*nb_divmod*/
731 (ternaryfunc)0,/*nb_power*/
732 (unaryfunc)0, /*nb_negative*/
733 (unaryfunc)0, /*nb_positive*/
734 (unaryfunc)0, /*nb_absolute*/
735 (inquiry)0, /*nb_nonzero*/
736 0, /*nb_invert*/
737 0, /*nb_lshift*/
738 0, /*nb_rshift*/
739 0, /*nb_and*/
740 0, /*nb_xor*/
741 0, /*nb_or*/
742 (coercion)0, /*nb_coerce*/
743 (unaryfunc)PySwigObject_long, /*nb_int*/
744 (unaryfunc)PySwigObject_long, /*nb_long*/
745 (unaryfunc)0, /*nb_float*/
746 (unaryfunc)PySwigObject_oct, /*nb_oct*/
747 (unaryfunc)PySwigObject_hex, /*nb_hex*/
748#if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
750#endif
751 };
752
753 static int type_init = 0;
754 static PyTypeObject PySwigObject_Type;
755
756 if (!type_init) {
757 PyTypeObject tmp = {
758 PyObject_HEAD_INIT(&PyType_Type)
759 0, /*ob_size*/
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject), /*tp_basicsize*/
762 0, /*tp_itemsize*/
763 /* methods */
764 (destructor)PySwigObject_dealloc, /*tp_dealloc*/
765 (printfunc)PySwigObject_print, /*tp_print*/
766 (getattrfunc)0, /*tp_getattr*/
767 (setattrfunc)0, /*tp_setattr*/
768 (cmpfunc)PySwigObject_compare, /*tp_compare*/
769 (reprfunc)PySwigObject_repr, /*tp_repr*/
770 &PySwigObject_as_number, /*tp_as_number*/
771 0, /*tp_as_sequence*/
772 0, /*tp_as_mapping*/
773 (hashfunc)0, /*tp_hash*/
774 (ternaryfunc)0, /*tp_call*/
775 (reprfunc)PySwigObject_str, /*tp_str*/
776 /* Space for future expansion */
777 0L,0L,0L,0L,
778 PySwigObject_Type__doc__, /* Documentation string */
779#if PY_VERSION_HEX >= 0x02000000
780 0, /* tp_traverse */
781 0, /* tp_clear */
782#endif
783#if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
786#endif
787#if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
44127b65 789#endif
36ed4f51
RD
790#if PY_VERSION_HEX >= 0x02030000
791 0, /* tp_del */
792#endif
793#ifdef COUNT_ALLOCS
794 0,0,0,0 /* tp_alloc -> tp_next */
795#endif
796 };
44127b65 797
36ed4f51
RD
798 PySwigObject_Type = tmp;
799 type_init = 1;
800 }
801
802 return &PySwigObject_Type;
803}
804
805SWIGRUNTIME PyObject *
806PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc)
807{
808 PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_GetType());
809 if (self == NULL) return NULL;
810 self->ptr = ptr;
811 self->desc = desc;
812 return (PyObject *)self;
813}
814
815SWIGRUNTIMEINLINE void *
816PySwigObject_AsVoidPtr(PyObject *self)
817{
818 return ((PySwigObject *)self)->ptr;
819}
820
821SWIGRUNTIMEINLINE const char *
822PySwigObject_GetDesc(PyObject *self)
823{
824 return ((PySwigObject *)self)->desc;
825}
826
827SWIGRUNTIMEINLINE int
828PySwigObject_Check(PyObject *op) {
829 return ((op)->ob_type == PySwigObject_GetType())
830 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
831}
832
833/* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
836
837typedef struct {
838 PyObject_HEAD
839 void *pack;
840 const char *desc;
841 size_t size;
842} PySwigPacked;
843
844SWIGRUNTIME int
845PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags)
846{
847 char result[SWIG_BUFFER_SIZE];
848 fputs("<Swig Packed ", fp);
849 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
850 fputs("at ", fp);
851 fputs(result, fp);
852 }
853 fputs(v->desc,fp);
854 fputs(">", fp);
855 return 0;
856}
857
858SWIGRUNTIME PyObject *
859PySwigPacked_repr(PySwigPacked *v)
860{
861 char result[SWIG_BUFFER_SIZE];
862 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->desc);
864 } else {
865 return PyString_FromFormat("<Swig Packed %s>", v->desc);
866 }
867}
868
869SWIGRUNTIME PyObject *
870PySwigPacked_str(PySwigPacked *v)
871{
872 char result[SWIG_BUFFER_SIZE];
873 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
874 return PyString_FromFormat("%s%s", result, v->desc);
875 } else {
876 return PyString_FromFormat("%s", v->desc);
877 }
878}
879
880SWIGRUNTIME int
881PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
882{
883 int c = strcmp(v->desc, w->desc);
884 if (c) {
885 return c;
886 } else {
887 size_t i = v->size;
888 size_t j = w->size;
889 int s = (i < j) ? -1 : (i > j) ? 1 : 0;
890 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
891 }
892}
893
894SWIGRUNTIME void
895PySwigPacked_dealloc(PySwigPacked *self)
896{
897 free(self->pack);
898 PyObject_DEL(self);
899}
900
901SWIGRUNTIME PyTypeObject*
902PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init = 0;
906
907 static PyTypeObject PySwigPacked_Type;
908 if (!type_init) {
909 PyTypeObject tmp = {
910 PyObject_HEAD_INIT(&PyType_Type)
911 0, /*ob_size*/
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked), /*tp_basicsize*/
914 0, /*tp_itemsize*/
915 /* methods */
916 (destructor)PySwigPacked_dealloc, /*tp_dealloc*/
917 (printfunc)PySwigPacked_print, /*tp_print*/
918 (getattrfunc)0, /*tp_getattr*/
919 (setattrfunc)0, /*tp_setattr*/
920 (cmpfunc)PySwigPacked_compare, /*tp_compare*/
921 (reprfunc)PySwigPacked_repr, /*tp_repr*/
922 0, /*tp_as_number*/
923 0, /*tp_as_sequence*/
924 0, /*tp_as_mapping*/
925 (hashfunc)0, /*tp_hash*/
926 (ternaryfunc)0, /*tp_call*/
927 (reprfunc)PySwigPacked_str, /*tp_str*/
928 /* Space for future expansion */
929 0L,0L,0L,0L,
930 PySwigPacked_Type__doc__, /* Documentation string */
931#if PY_VERSION_HEX >= 0x02000000
932 0, /* tp_traverse */
933 0, /* tp_clear */
934#endif
935#if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
938#endif
939#if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
941#endif
942#if PY_VERSION_HEX >= 0x02030000
943 0, /* tp_del */
944#endif
945#ifdef COUNT_ALLOCS
946 0,0,0,0 /* tp_alloc -> tp_next */
947#endif
948 };
949
950 PySwigPacked_Type = tmp;
951 type_init = 1;
952 }
953
954
955
956 return &PySwigPacked_Type;
957}
958
959SWIGRUNTIME PyObject *
960PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc)
961{
962 PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_GetType());
963 if (self == NULL) {
964 return NULL;
965 } else {
966 void *pack = malloc(size);
967 memcpy(pack, ptr, size);
968 self->pack = pack;
969 self->desc = desc;
970 self->size = size;
971 return (PyObject *) self;
972 }
973}
974
975SWIGRUNTIMEINLINE const char *
976PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
977{
978 PySwigPacked *self = (PySwigPacked *)obj;
979 if (self->size != size) return 0;
980 memcpy(ptr, self->pack, size);
981 return self->desc;
982}
983
984SWIGRUNTIMEINLINE const char *
985PySwigPacked_GetDesc(PyObject *self)
986{
987 return ((PySwigPacked *)self)->desc;
988}
989
990SWIGRUNTIMEINLINE int
991PySwigPacked_Check(PyObject *op) {
992 return ((op)->ob_type == PySwigPacked_GetType())
993 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
994}
995
996#else
997/* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1000
1001#define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002#define PySwigObject_Check(obj) PyCObject_Check(obj)
1003#define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004#define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1005
1006#endif
1007
1008#endif
1009
1010/* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1013
1014SWIGRUNTIME void
1015SWIG_Python_TypeError(const char *type, PyObject *obj)
1016{
1017 if (type) {
1018#if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj)) {
1020 const char *otype = (const char *) PySwigObject_GetDesc(obj);
1021 if (otype) {
1022 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
1023 type, otype);
1024 return;
1025 }
1026 } else
1027#endif
1028 {
1029 const char *otype = (obj ? obj->ob_type->tp_name : 0);
1030 if (otype) {
1031 PyObject *str = PyObject_Str(obj);
1032 const char *cstr = str ? PyString_AsString(str) : 0;
1033 if (cstr) {
1034 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
1035 type, otype, cstr);
1036 } else {
1037 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
1038 type, otype);
1039 }
1040 Py_DECREF(str);
1041 return;
1042 }
1043 }
1044 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1045 } else {
1046 PyErr_Format(PyExc_TypeError, "unexpected type is received");
1047 }
1048}
1049
1050SWIGRUNTIMEINLINE void
1051SWIG_Python_NullRef(const char *type)
1052{
1053 if (type) {
1054 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1055 } else {
1056 PyErr_Format(PyExc_TypeError, "null reference was received");
1057 }
1058}
1059
1060SWIGRUNTIME int
1061SWIG_Python_AddErrMesg(const char* mesg, int infront)
1062{
1063 if (PyErr_Occurred()) {
1064 PyObject *type = 0;
1065 PyObject *value = 0;
1066 PyObject *traceback = 0;
1067 PyErr_Fetch(&type, &value, &traceback);
1068 if (value) {
1069 PyObject *old_str = PyObject_Str(value);
1070 Py_XINCREF(type);
1071 PyErr_Clear();
1072 if (infront) {
1073 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1074 } else {
1075 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1076 }
1077 Py_DECREF(old_str);
1078 }
1079 return 1;
1080 } else {
1081 return 0;
1082 }
1083}
1084
1085SWIGRUNTIME int
1086SWIG_Python_ArgFail(int argnum)
1087{
1088 if (PyErr_Occurred()) {
1089 /* add information about failing argument */
1090 char mesg[256];
1091 sprintf(mesg, "argument number %d:", argnum);
1092 return SWIG_Python_AddErrMesg(mesg, 1);
1093 } else {
1094 return 0;
1095 }
1096}
1097
1098
1099/* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
1102
1103/* Convert a pointer value */
1104SWIGRUNTIME int
1105SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
1106 swig_type_info *tc;
1107 const char *c = 0;
1108 static PyObject *SWIG_this = 0;
1109 int newref = 0;
1110 PyObject *pyobj = 0;
1111 void *vptr;
1112
1113 if (!obj) return 0;
1114 if (obj == Py_None) {
1115 *ptr = 0;
1116 return 0;
1117 }
1118
1119#ifdef SWIG_COBJECT_TYPES
1120 if (!(PySwigObject_Check(obj))) {
1121 if (!SWIG_this)
1122 SWIG_this = PyString_FromString("this");
1123 pyobj = obj;
1124 obj = PyObject_GetAttr(obj,SWIG_this);
1125 newref = 1;
1126 if (!obj) goto type_error;
1127 if (!PySwigObject_Check(obj)) {
1128 Py_DECREF(obj);
1129 goto type_error;
1130 }
1131 }
1132 vptr = PySwigObject_AsVoidPtr(obj);
1133 c = (const char *) PySwigObject_GetDesc(obj);
1134 if (newref) { Py_DECREF(obj); }
1135 goto type_check;
1136#else
1137 if (!(PyString_Check(obj))) {
1138 if (!SWIG_this)
1139 SWIG_this = PyString_FromString("this");
1140 pyobj = obj;
1141 obj = PyObject_GetAttr(obj,SWIG_this);
1142 newref = 1;
1143 if (!obj) goto type_error;
1144 if (!PyString_Check(obj)) {
1145 Py_DECREF(obj);
1146 goto type_error;
1147 }
1148 }
1149 c = PyString_AS_STRING(obj);
1150 /* Pointer values must start with leading underscore */
1151 c = SWIG_UnpackVoidPtr(c, &vptr, ty->name);
1152 if (newref) { Py_DECREF(obj); }
1153 if (!c) goto type_error;
1154#endif
1155
1156type_check:
1157
1158 if (ty) {
1159 tc = SWIG_TypeCheck(c,ty);
1160 if (!tc) goto type_error;
1161 *ptr = SWIG_TypeCast(tc,vptr);
1162 } else {
1163 *ptr = vptr;
1164 }
1165
1166 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1167 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1168 }
1169 return 0;
1170
1171type_error:
1172 PyErr_Clear();
1173 if (pyobj && !obj) {
1174 obj = pyobj;
1175 if (PyCFunction_Check(obj)) {
1176 /* here we get the method pointer for callbacks */
1177 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1178 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1179 if (c) {
1180 c = SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name);
1181 if (!c) goto type_error;
1182 goto type_check;
1183 }
1184 }
1185 }
1186 if (flags & SWIG_POINTER_EXCEPTION) {
1187 if (ty) {
1188 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1189 } else {
1190 SWIG_Python_TypeError("C/C++ pointer", obj);
1191 }
1192 }
1193 return -1;
1194}
1195
1196/* Convert a pointer value, signal an exception on a type mismatch */
1197SWIGRUNTIME void *
1198SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1199 void *result;
1200 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1201 PyErr_Clear();
1202 if (flags & SWIG_POINTER_EXCEPTION) {
1203 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1204 SWIG_Python_ArgFail(argnum);
1205 }
1206 }
1207 return result;
1208}
1209
1210/* Convert a packed value value */
1211SWIGRUNTIME int
1212SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
1213 swig_type_info *tc;
1214 const char *c = 0;
1215
1216#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1217 c = PySwigPacked_UnpackData(obj, ptr, sz);
1218#else
1219 if ((!obj) || (!PyString_Check(obj))) goto type_error;
1220 c = PyString_AS_STRING(obj);
1221 /* Pointer values must start with leading underscore */
1222 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1223#endif
1224 if (!c) goto type_error;
1225 if (ty) {
1226 tc = SWIG_TypeCheck(c,ty);
1227 if (!tc) goto type_error;
1228 }
1229 return 0;
1230
1231type_error:
1232 PyErr_Clear();
1233 if (flags & SWIG_POINTER_EXCEPTION) {
1234 if (ty) {
1235 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1236 } else {
1237 SWIG_Python_TypeError("C/C++ packed data", obj);
1238 }
1239 }
1240 return -1;
1241}
1242
1243/* Create a new array object */
1244SWIGRUNTIME PyObject *
1245SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1246 PyObject *robj = 0;
1247 if (!ptr) {
1248 Py_INCREF(Py_None);
1249 return Py_None;
1250 }
1251#ifdef SWIG_COBJECT_TYPES
1252 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1253#else
1254 {
1255 char result[SWIG_BUFFER_SIZE];
1256 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1257 PyString_FromString(result) : 0;
1258 }
1259#endif
1260 if (!robj || (robj == Py_None)) return robj;
1261 if (type->clientdata) {
1262 PyObject *inst;
1263 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1264 Py_DECREF(robj);
1265 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1266 Py_DECREF(args);
1267 if (inst) {
1268 if (own) {
1269 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1270 }
1271 robj = inst;
1272 }
1273 }
1274 return robj;
1275}
1276
1277SWIGRUNTIME PyObject *
1278SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1279 PyObject *robj = 0;
1280 if (!ptr) {
1281 Py_INCREF(Py_None);
1282 return Py_None;
1283 }
1284#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1285 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1286#else
1287 {
1288 char result[SWIG_BUFFER_SIZE];
1289 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1290 PyString_FromString(result) : 0;
1291 }
1292#endif
1293 return robj;
1294}
1295
1296/* -----------------------------------------------------------------------------*
1297 * Get type list
1298 * -----------------------------------------------------------------------------*/
1299
1300#ifdef SWIG_LINK_RUNTIME
1301void *SWIG_ReturnGlobalTypeList(void *);
1302#endif
1303
1304SWIGRUNTIME swig_type_info **
1305SWIG_Python_GetTypeListHandle() {
1306 static void *type_pointer = (void *)0;
1307 /* first check if module already created */
1308 if (!type_pointer) {
1309#ifdef SWIG_LINK_RUNTIME
1310 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
1311#else
1312 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1313 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
1314 if (PyErr_Occurred()) {
1315 PyErr_Clear();
1316 type_pointer = (void *)0;
1317 }
1318 }
1319#endif
1320 return (swig_type_info **) type_pointer;
1321}
1322
1323/*
1324 Search for a swig_type_info structure
1325 */
1326SWIGRUNTIMEINLINE swig_type_info *
1327SWIG_Python_GetTypeList() {
1328 swig_type_info **tlh = SWIG_Python_GetTypeListHandle();
1329 return tlh ? *tlh : (swig_type_info*)0;
1330}
1331
1332#define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1333
1334#ifdef __cplusplus
1335}
1336#endif
44127b65 1337
c370783e 1338
44127b65
RD
1339/* -------- TYPES TABLE (BEGIN) -------- */
1340
1341#define SWIGTYPE_p_wxOGLConstraint swig_types[0]
1342#define SWIGTYPE_p_wxBrush swig_types[1]
1343#define SWIGTYPE_p_wxColour swig_types[2]
1344#define SWIGTYPE_p_wxShapeRegion swig_types[3]
1345#define SWIGTYPE_p_wxDC swig_types[4]
36ed4f51
RD
1346#define SWIGTYPE_p_wxPyControlPoint swig_types[5]
1347#define SWIGTYPE_p_wxRealPoint swig_types[6]
1348#define SWIGTYPE_p_form_ops_t swig_types[7]
1349#define SWIGTYPE_p_wxDuplexMode swig_types[8]
1350#define SWIGTYPE_p_wxArrowHead swig_types[9]
1351#define SWIGTYPE_p_char swig_types[10]
1352#define SWIGTYPE_p_wxPanel swig_types[11]
1353#define SWIGTYPE_p_bool swig_types[12]
1354#define SWIGTYPE_p_wxStringList swig_types[13]
1355#define SWIGTYPE_p_wxList swig_types[14]
1356#define SWIGTYPE_p_wxFont swig_types[15]
1357#define SWIGTYPE_p_wxScrolledWindow swig_types[16]
1358#define SWIGTYPE_p_wxWindow swig_types[17]
1359#define SWIGTYPE_p_double swig_types[18]
1360#define SWIGTYPE_p_wxPyDrawnShape swig_types[19]
1361#define SWIGTYPE_p_wxPyDivisionShape swig_types[20]
1362#define SWIGTYPE_p_wxPyPolygonShape swig_types[21]
1363#define SWIGTYPE_p_wxObject swig_types[22]
1364#define SWIGTYPE_p_wxBitmap swig_types[23]
1365#define SWIGTYPE_p_wxPaperSize swig_types[24]
1366#define SWIGTYPE_p_unsigned_int swig_types[25]
1367#define SWIGTYPE_unsigned_int swig_types[26]
1368#define SWIGTYPE_p_wxPyBitmapShape swig_types[27]
1369#define SWIGTYPE_p_wxPyShapeEvtHandler swig_types[28]
1370#define SWIGTYPE_p_wxEvtHandler swig_types[29]
1371#define SWIGTYPE_p_wxPyEllipseShape swig_types[30]
1372#define SWIGTYPE_p_wxPyShapeCanvas swig_types[31]
1373#define SWIGTYPE_p_wxPoint swig_types[32]
1374#define SWIGTYPE_p_wxDiagram swig_types[33]
1375#define SWIGTYPE_p_wxPyShape swig_types[34]
1376#define SWIGTYPE_p_wxAttachmentPoint swig_types[35]
1377#define SWIGTYPE_p_unsigned_char swig_types[36]
1378#define SWIGTYPE_ptrdiff_t swig_types[37]
1379#define SWIGTYPE_std__ptrdiff_t swig_types[38]
1380#define SWIGTYPE_p_wxClassInfo swig_types[39]
1381#define SWIGTYPE_p_wxPyLineShape swig_types[40]
1382#define SWIGTYPE_p_wxPyRectangleShape swig_types[41]
1383#define SWIGTYPE_p_wxPyCompositeShape swig_types[42]
1384#define SWIGTYPE_p_wxPyCircleShape swig_types[43]
1385#define SWIGTYPE_p_wxPen swig_types[44]
1386#define SWIGTYPE_p_int swig_types[45]
1387#define SWIGTYPE_p_wxPseudoMetaFile swig_types[46]
1388#define SWIGTYPE_p_wxPyTextShape swig_types[47]
1389#define SWIGTYPE_p_unsigned_long swig_types[48]
1390#define SWIGTYPE_p_wxPyDividedShape swig_types[49]
1391static swig_type_info *swig_types[51];
44127b65
RD
1392
1393/* -------- TYPES TABLE (END) -------- */
1394
1395
1396/*-----------------------------------------------
1397 @(target):= _ogl.so
1398 ------------------------------------------------*/
1399#define SWIG_init init_ogl
1400
1401#define SWIG_name "_ogl"
1402
1403#include "wx/wxPython/wxPython.h"
1404#include "wx/wxPython/pyclasses.h"
1405#include "oglhelpers.h"
1406
1407
cbd72d4f 1408 static const wxString wxPyEmptyString(wxEmptyString);
44127b65 1409
36ed4f51 1410SWIGINTERN int
c370783e 1411SWIG_AsVal_double(PyObject *obj, double* val)
8edf1c75 1412{
c370783e
RD
1413 if (PyNumber_Check(obj)) {
1414 if (val) *val = PyFloat_AsDouble(obj);
1415 return 1;
1416 }
69223c70 1417 else {
36ed4f51 1418 SWIG_type_error("number", obj);
69223c70 1419 }
c370783e 1420 return 0;
2f4c0a16
RD
1421}
1422
1423
36ed4f51 1424SWIGINTERNSHORT double
c370783e 1425SWIG_As_double(PyObject* obj)
2f4c0a16 1426{
c370783e
RD
1427 double v;
1428 if (!SWIG_AsVal_double(obj, &v)) {
1429 /*
36ed4f51 1430 this is needed to make valgrind/purify happier.
c370783e
RD
1431 */
1432 memset((void*)&v, 0, sizeof(double));
2f4c0a16 1433 }
c370783e
RD
1434 return v;
1435}
1436
1437
36ed4f51 1438SWIGINTERNSHORT int
c370783e
RD
1439SWIG_Check_double(PyObject* obj)
1440{
1441 return SWIG_AsVal_double(obj, (double*)0);
2f4c0a16
RD
1442}
1443
1444
1445#include <limits.h>
1446
1447
36ed4f51 1448SWIGINTERN int
c370783e
RD
1449 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1450 const char *errmsg)
2f4c0a16 1451{
c370783e
RD
1452 if (value < min_value) {
1453 if (errmsg) {
1454 PyErr_Format(PyExc_OverflowError,
1455 "value %ld is less than '%s' minimum %ld",
1456 value, errmsg, min_value);
1457 }
1458 return 0;
1459 } else if (value > max_value) {
1460 if (errmsg) {
1461 PyErr_Format(PyExc_OverflowError,
1462 "value %ld is greater than '%s' maximum %ld",
1463 value, errmsg, max_value);
2f4c0a16 1464 }
c370783e 1465 return 0;
2f4c0a16 1466 }
c370783e 1467 return 1;
8edf1c75
RD
1468}
1469
1470
36ed4f51 1471SWIGINTERN int
c370783e 1472SWIG_AsVal_long(PyObject* obj, long* val)
2f4c0a16 1473{
c370783e
RD
1474 if (PyNumber_Check(obj)) {
1475 if (val) *val = PyInt_AsLong(obj);
1476 return 1;
1477 }
69223c70 1478 else {
36ed4f51 1479 SWIG_type_error("number", obj);
69223c70 1480 }
c370783e 1481 return 0;
2f4c0a16
RD
1482}
1483
1484
1485#if INT_MAX != LONG_MAX
36ed4f51 1486SWIGINTERN int
c370783e 1487 SWIG_AsVal_int(PyObject *obj, int *val)
8edf1c75 1488{
36ed4f51 1489 const char* errmsg = val ? "int" : (char*)0;
c370783e
RD
1490 long v;
1491 if (SWIG_AsVal_long(obj, &v)) {
1492 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
36ed4f51 1493 if (val) *val = (int)(v);
c370783e
RD
1494 return 1;
1495 } else {
1496 return 0;
1497 }
1498 } else {
1499 PyErr_Clear();
1500 }
1501 if (val) {
36ed4f51 1502 SWIG_type_error(errmsg, obj);
c370783e
RD
1503 }
1504 return 0;
2f4c0a16
RD
1505}
1506#else
36ed4f51 1507SWIGINTERNSHORT int
c370783e
RD
1508 SWIG_AsVal_int(PyObject *obj, int *val)
1509{
1510 return SWIG_AsVal_long(obj,(long*)val);
1511}
2f4c0a16
RD
1512#endif
1513
1514
36ed4f51 1515SWIGINTERNSHORT int
c370783e 1516SWIG_As_int(PyObject* obj)
2f4c0a16 1517{
c370783e
RD
1518 int v;
1519 if (!SWIG_AsVal_int(obj, &v)) {
1520 /*
36ed4f51 1521 this is needed to make valgrind/purify happier.
c370783e
RD
1522 */
1523 memset((void*)&v, 0, sizeof(int));
2f4c0a16 1524 }
c370783e 1525 return v;
8edf1c75
RD
1526}
1527
c370783e 1528
36ed4f51 1529SWIGINTERNSHORT int
c370783e
RD
1530SWIG_Check_int(PyObject* obj)
1531{
1532 return SWIG_AsVal_int(obj, (int*)0);
1533}
8edf1c75 1534
c370783e
RD
1535
1536 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
44127b65
RD
1537 PyObject* o2;
1538 PyObject* o3;
c370783e 1539
44127b65
RD
1540 if (!target) {
1541 target = o;
1542 } else if (target == Py_None) {
1543 Py_DECREF(Py_None);
1544 target = o;
629e65c2
RD
1545 } else {
1546 if (!PyTuple_Check(target)) {
1547 o2 = target;
1548 target = PyTuple_New(1);
1549 PyTuple_SetItem(target, 0, o2);
1550 }
44127b65
RD
1551 o3 = PyTuple_New(1);
1552 PyTuple_SetItem(o3, 0, o);
1553
1554 o2 = target;
1555 target = PySequence_Concat(o2, o3);
1556 Py_DECREF(o2);
1557 Py_DECREF(o3);
1558 }
1559 return target;
629e65c2 1560 }
44127b65
RD
1561
1562
36ed4f51
RD
1563 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1564#define SWIG_From_double PyFloat_FromDouble
1565/*@@*/
1566
1567
1568
1569 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1570#define SWIG_From_int PyInt_FromLong
1571/*@@*/
1572
c370783e 1573
44127b65
RD
1574 WXSHAPE_IMP_CALLBACKS(wxPyShapeEvtHandler,wxShapeEvtHandler);
1575
36ed4f51 1576static void wxPyShapeEvtHandler__setOORInfo(wxPyShapeEvtHandler *self,PyObject *_self){
44127b65
RD
1577 self->SetClientObject(new wxPyOORClientData(_self));
1578 }
1579
36ed4f51 1580SWIGINTERN int
c370783e 1581 SWIG_AsVal_bool(PyObject *obj, bool *val)
8edf1c75 1582{
c370783e
RD
1583 if (obj == Py_True) {
1584 if (val) *val = true;
1585 return 1;
1586 }
1587 if (obj == Py_False) {
1588 if (val) *val = false;
1589 return 1;
1590 }
1591 int res = 0;
1592 if (SWIG_AsVal_int(obj, &res)) {
36ed4f51 1593 if (val) *val = res ? true : false;
c370783e 1594 return 1;
36ed4f51
RD
1595 } else {
1596 PyErr_Clear();
1597 }
c370783e 1598 if (val) {
36ed4f51 1599 SWIG_type_error("bool", obj);
c370783e
RD
1600 }
1601 return 0;
8edf1c75
RD
1602}
1603
1604
36ed4f51 1605SWIGINTERNSHORT bool
c370783e 1606SWIG_As_bool(PyObject* obj)
2f4c0a16 1607{
c370783e
RD
1608 bool v;
1609 if (!SWIG_AsVal_bool(obj, &v)) {
1610 /*
36ed4f51 1611 this is needed to make valgrind/purify happier.
c370783e
RD
1612 */
1613 memset((void*)&v, 0, sizeof(bool));
2f4c0a16 1614 }
c370783e
RD
1615 return v;
1616}
1617
1618
36ed4f51 1619SWIGINTERNSHORT int
c370783e
RD
1620SWIG_Check_bool(PyObject* obj)
1621{
1622 return SWIG_AsVal_bool(obj, (bool*)0);
2f4c0a16
RD
1623}
1624
1625
44127b65
RD
1626 WXSHAPE_IMP_CALLBACKS(wxPyShape, wxShape);
1627
36ed4f51 1628static PyObject *wxPyShape_GetChildren(wxPyShape *self){
44127b65
RD
1629 wxList& list = self->GetChildren();
1630 return wxPy_ConvertShapeList(&list);
1631 }
c370783e 1632
36ed4f51 1633SWIGINTERNSHORT PyObject*
c370783e
RD
1634 SWIG_From_bool(bool value)
1635{
1636 PyObject *obj = value ? Py_True : Py_False;
1637 Py_INCREF(obj);
1638 return obj;
1639}
1640
1641
1642
36ed4f51 1643static PyObject *wxPyShape_GetLines(wxPyShape *self){
44127b65
RD
1644 wxList& list = self->GetLines();
1645 return wxPy_ConvertShapeList(&list);
1646 }
8edf1c75 1647
36ed4f51 1648SWIGINTERNSHORT long
c370783e 1649SWIG_As_long(PyObject* obj)
8edf1c75 1650{
c370783e
RD
1651 long v;
1652 if (!SWIG_AsVal_long(obj, &v)) {
1653 /*
36ed4f51 1654 this is needed to make valgrind/purify happier.
c370783e
RD
1655 */
1656 memset((void*)&v, 0, sizeof(long));
2f4c0a16 1657 }
c370783e
RD
1658 return v;
1659}
1660
1661
36ed4f51 1662SWIGINTERNSHORT int
c370783e
RD
1663SWIG_Check_long(PyObject* obj)
1664{
1665 return SWIG_AsVal_long(obj, (long*)0);
8edf1c75
RD
1666}
1667
36ed4f51
RD
1668
1669 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1670#define SWIG_From_long PyInt_FromLong
1671/*@@*/
1672
1673static PyObject *wxPyShape_GetRegions(wxPyShape *self){
44127b65
RD
1674 wxList& list = self->GetRegions();
1675 return wxPy_ConvertList(&list);
1676 }
36ed4f51 1677static PyObject *wxPyShape_GetAttachments(wxPyShape *self){
7a0a63ae
RD
1678 wxList& list = self->GetAttachments();
1679 return wxPy_ConvertList(&list);
1680 }
36ed4f51 1681static void wxPyShape_ApplyAttachmentOrdering(wxPyShape *self,PyObject *linesToSort){
44127b65
RD
1682 wxList* list = wxPy_wxListHelper(linesToSort, wxT("wxPyLineShape"));
1683 self->ApplyAttachmentOrdering(*list);
1684 delete list;
1685 }
1686
1687// Using this macro can sometimes provoke an Internal Compiler Error in MSVC
1688// 6, so instead I'l just expand it out by hand...
1689// WXSHAPE_IMP_CALLBACKS(wxPyRectangleShape, wxRectangleShape);
1690
1691 IMP_PYCALLBACK__ (wxPyRectangleShape, wxRectangleShape, OnDelete);
1692 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnDraw);
1693 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnDrawContents);
1694 IMP_PYCALLBACK__DCBOOL (wxPyRectangleShape, wxRectangleShape, OnDrawBranches);
1695 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnMoveLinks);
1696 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnErase);
1697 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnEraseContents);
1698 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnHighlight);
1699 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnLeftClick);
1700 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnLeftDoubleClick);
1701 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnRightClick);
1702 IMP_PYCALLBACK__2DBL (wxPyRectangleShape, wxRectangleShape, OnSize);
1703 IMP_PYCALLBACK_BOOL_DC4DBLBOOL (wxPyRectangleShape, wxRectangleShape, OnMovePre);
1704 IMP_PYCALLBACK__DC4DBLBOOL (wxPyRectangleShape, wxRectangleShape, OnMovePost);
1705 IMP_PYCALLBACK__BOOL2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnDragLeft);
1706 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnBeginDragLeft);
1707 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnEndDragLeft);
1708 IMP_PYCALLBACK__BOOL2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnDragRight);
1709 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnBeginDragRight);
1710 IMP_PYCALLBACK__2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnEndDragRight);
1711 IMP_PYCALLBACK__DC4DBL (wxPyRectangleShape, wxRectangleShape, OnDrawOutline);
1712 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnDrawControlPoints);
1713 IMP_PYCALLBACK__DC (wxPyRectangleShape, wxRectangleShape, OnEraseControlPoints);
1714 IMP_PYCALLBACK__DCBOOL (wxPyRectangleShape, wxRectangleShape, OnMoveLink);
1715 IMP_PYCALLBACK__WXCPBOOL2DBL2INT(wxPyRectangleShape, wxRectangleShape, OnSizingDragLeft);
1716 IMP_PYCALLBACK__WXCP2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnSizingBeginDragLeft);
1717 IMP_PYCALLBACK__WXCP2DBL2INT (wxPyRectangleShape, wxRectangleShape, OnSizingEndDragLeft);
1718 IMP_PYCALLBACK__2DBL (wxPyRectangleShape, wxRectangleShape, OnBeginSize);
1719 IMP_PYCALLBACK__2DBL (wxPyRectangleShape, wxRectangleShape, OnEndSize)
1720
1721
1722
1723 WXSHAPE_IMP_CALLBACKS(wxPyControlPoint, wxControlPoint);
1724
1725
1726 WXSHAPE_IMP_CALLBACKS(wxPyBitmapShape, wxBitmapShape);
1727
1728
1729 WXSHAPE_IMP_CALLBACKS(wxPyDrawnShape, wxDrawnShape);
1730
36ed4f51 1731static wxOGLConstraint *new_wxOGLConstraint(int type,wxPyShape *constraining,PyObject *constrained){
44127b65
RD
1732 wxList* list = wxPy_wxListHelper(constrained, wxT("wxPyShape"));
1733 wxOGLConstraint* rv = new wxOGLConstraint(type, constraining, *list);
1734 delete list;
1735 return rv;
1736 }
1737
1738 WXSHAPE_IMP_CALLBACKS(wxPyCompositeShape, wxCompositeShape);
1739
36ed4f51 1740static wxOGLConstraint *wxPyCompositeShape_AddConstrainedShapes(wxPyCompositeShape *self,int type,wxPyShape *constraining,PyObject *constrained){
44127b65
RD
1741 wxList* list = wxPy_wxListHelper(constrained, wxT("wxPyShape"));
1742 wxOGLConstraint* rv = self->AddConstraint(type, constraining, *list);
1743 delete list;
1744 return rv;
1745 }
36ed4f51 1746static PyObject *wxPyCompositeShape_GetConstraints(wxPyCompositeShape *self){
44127b65
RD
1747 wxList& list = self->GetConstraints();
1748 return wxPy_ConvertList(&list);
1749 }
36ed4f51 1750static PyObject *wxPyCompositeShape_GetDivisions(wxPyCompositeShape *self){
44127b65
RD
1751 wxList& list = self->GetDivisions();
1752 return wxPy_ConvertShapeList(&list);
1753 }
1754
1755 WXSHAPE_IMP_CALLBACKS(wxPyDividedShape, wxDividedShape);
1756
1757
1758 WXSHAPE_IMP_CALLBACKS(wxPyDivisionShape, wxDivisionShape);
1759
1760
1761 WXSHAPE_IMP_CALLBACKS(wxPyEllipseShape, wxEllipseShape);
1762
1763
1764 WXSHAPE_IMP_CALLBACKS(wxPyCircleShape, wxCircleShape);
1765
1766
1767 WXSHAPE_IMP_CALLBACKS(wxPyLineShape, wxLineShape);
1768
36ed4f51 1769static void wxPyLineShape_AddArrowOrdered(wxPyLineShape *self,wxArrowHead *arrow,PyObject *referenceList,int end){
44127b65
RD
1770 wxList* list = wxPy_wxListHelper(referenceList, wxT("wxArrowHead"));
1771 self->AddArrowOrdered(arrow, *list, end);
1772 delete list;
1773 }
36ed4f51 1774static PyObject *wxPyLineShape_GetLineControlPoints(wxPyLineShape *self){
44127b65 1775 wxList* list = self->GetLineControlPoints();
0346c964
RD
1776 return wxPy_ConvertRealPointList(list);
1777 }
36ed4f51 1778static void wxPyLineShape_SetLineControlPoints(wxPyLineShape *self,PyObject *list){
0346c964
RD
1779 wxList* real_point_list = wxPy_wxRealPoint_ListHelper(list);
1780 self->MakeLineControlPoints((int)(real_point_list->GetCount()));
1781 wxList* old_control_points = self->GetLineControlPoints();
1782 wxNode* old_node = old_control_points->GetFirst();
1783 wxNode* real_node = real_point_list->GetFirst();
1784 while(old_node)
1785 {
1786 wxRealPoint* old_point = (wxRealPoint*)old_node->GetData();
1787 wxRealPoint* new_point = (wxRealPoint*)real_node->GetData();
1788 old_point->x = new_point->x;
1789 old_point->y = new_point->y;
1790 old_node = old_node->GetNext();
1791 real_node = real_node->GetNext();
1792 }
1793 self->ClearPointList(*real_point_list);
1794 delete real_point_list;
44127b65
RD
1795 }
1796
1797 WXSHAPE_IMP_CALLBACKS(wxPyPolygonShape, wxPolygonShape);
1798
36ed4f51 1799static PyObject *wxPyPolygonShape_Create(wxPyPolygonShape *self,PyObject *points){
44127b65
RD
1800 wxList* list = wxPy_wxRealPoint_ListHelper(points);
1801 if (list) {
1802 self->Create(list);
1803 Py_INCREF(Py_None);
1804 return Py_None;
1805 }
1806 else return NULL;
1807 }
36ed4f51 1808static PyObject *wxPyPolygonShape_GetPoints(wxPyPolygonShape *self){
44127b65 1809 wxList* list = self->GetPoints();
0346c964 1810 return wxPy_ConvertRealPointList(list);
7a0a63ae 1811 }
36ed4f51 1812static PyObject *wxPyPolygonShape_GetOriginalPoints(wxPyPolygonShape *self){
7a0a63ae
RD
1813 wxList* list = self->GetOriginalPoints();
1814 PyObject* pyList;
1815 PyObject* pyObj;
1816 wxObject* wxObj;
1817 wxNode* node = list->GetFirst();
1818
5a446332 1819 wxPyBlock_t blocked = wxPyBeginBlockThreads();
44127b65
RD
1820 pyList = PyList_New(0);
1821 while (node) {
1822 wxObj = node->GetData();
1823 pyObj = wxPyConstructObject(wxObj, wxT("wxRealPoint"), 0);
1824 PyList_Append(pyList, pyObj);
1825 node = node->GetNext();
1826 }
fbc46b20 1827 wxPyEndBlockThreads(blocked);
44127b65
RD
1828 return pyList;
1829 }
1830
1831 WXSHAPE_IMP_CALLBACKS(wxPyTextShape, wxTextShape);
1832
1833
1834 // Put some wx default wxChar* values into wxStrings.
1835 DECLARE_DEF_STRING(ShapeCanvasNameStr);
1836
36ed4f51 1837static PyObject *wxDiagram_GetShapeList(wxDiagram *self){
44127b65
RD
1838 wxList* list = self->GetShapeList();
1839 return wxPy_ConvertShapeList(list);
1840 }
1841
1842 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnBeginDragLeft);
1843 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnBeginDragRight);
1844 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnEndDragLeft);
1845 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnEndDragRight);
1846 IMP_PYCALLBACK__BOOL2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnDragLeft);
1847 IMP_PYCALLBACK__BOOL2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnDragRight);
1848 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnLeftClick);
1849 IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnRightClick);
1850
1851
1852//---------------------------------------------------------------------------
1853
1854// Convert from a Python list to a list of className objects. This one will
1855// work for any class for the VERY generic cases, but beyond that the helper
1856// needs to know more about the type.
1857wxList* wxPy_wxListHelper(PyObject* pyList, const wxChar* className) {
5a446332 1858 wxPyBlock_t blocked = wxPyBeginBlockThreads();
44127b65
RD
1859 if (!PyList_Check(pyList)) {
1860 PyErr_SetString(PyExc_TypeError, "Expected a list object.");
fbc46b20 1861 wxPyEndBlockThreads(blocked);
44127b65
RD
1862 return NULL;
1863 }
1864 int count = PyList_Size(pyList);
1865 wxList* list = new wxList;
1866 if (! list) {
1867 PyErr_SetString(PyExc_MemoryError, "Unable to allocate wxList object");
fbc46b20 1868 wxPyEndBlockThreads(blocked);
44127b65
RD
1869 return NULL;
1870 }
1871 for (int x=0; x<count; x++) {
1872 PyObject* pyo = PyList_GetItem(pyList, x);
1873 wxObject* wxo = NULL;
1874
1875 if ( !wxPyConvertSwigPtr(pyo, (void **)&wxo, className) ) {
1876 wxString errmsg;
1877 errmsg.Printf(wxT("Type error, expected list of %s objects"), className);
1878 PyErr_SetString(PyExc_TypeError, errmsg.mb_str());
fbc46b20 1879 wxPyEndBlockThreads(blocked);
44127b65
RD
1880 return NULL;
1881 }
1882 list->Append(wxo);
1883 }
fbc46b20 1884 wxPyEndBlockThreads(blocked);
44127b65
RD
1885 return list;
1886}
1887
1888//---------------------------------------------------------------------------
1889
1890wxList* wxPy_wxRealPoint_ListHelper(PyObject* pyList) {
5a446332 1891 wxPyBlock_t blocked = wxPyBeginBlockThreads();
44127b65
RD
1892 if (!PyList_Check(pyList)) {
1893 PyErr_SetString(PyExc_TypeError, "Expected a list object.");
fbc46b20 1894 wxPyEndBlockThreads(blocked);
44127b65
RD
1895 return NULL;
1896 }
1897 int count = PyList_Size(pyList);
1898 wxList* list = new wxList;
1899 if (! list) {
1900 PyErr_SetString(PyExc_MemoryError, "Unable to allocate wxList object");
fbc46b20 1901 wxPyEndBlockThreads(blocked);
44127b65
RD
1902 return NULL;
1903 }
1904 for (int x=0; x<count; x++) {
1905 PyObject* pyo = PyList_GetItem(pyList, x);
1906
1907 if (PyTuple_Check(pyo)) {
1908 PyObject* o1 = PyNumber_Float(PyTuple_GetItem(pyo, 0));
1909 PyObject* o2 = PyNumber_Float(PyTuple_GetItem(pyo, 1));
1910
1911 double val1 = (o1 ? PyFloat_AsDouble(o1) : 0.0);
1912 double val2 = (o2 ? PyFloat_AsDouble(o2) : 0.0);
1913
1914 list->Append((wxObject*) new wxRealPoint(val1, val2));
1915
1916 } else {
1917 wxRealPoint* wxo = NULL;
1918 if (wxPyConvertSwigPtr(pyo, (void **)&wxo, wxT("wxRealPoint"))) {
1919 PyErr_SetString(PyExc_TypeError, "Type error, expected list of wxRealPoint objects or 2-tuples");
fbc46b20 1920 wxPyEndBlockThreads(blocked);
44127b65
RD
1921 return NULL;
1922 }
1923 list->Append((wxObject*) new wxRealPoint(*wxo));
1924 }
1925 }
fbc46b20 1926 wxPyEndBlockThreads(blocked);
44127b65
RD
1927 return list;
1928}
1929
1930//---------------------------------------------------------------------------
1931
412d302d 1932PyObject* wxPyMake_wxShapeEvtHandler(wxShapeEvtHandler* source, bool setThisOwn) {
44127b65
RD
1933 PyObject* target = NULL;
1934
1935 if (source && wxIsKindOf(source, wxShapeEvtHandler)) {
1936 // If it's derived from wxShapeEvtHandler then there may
1937 // already be a pointer to a Python object that we can use
1938 // in the OOR data.
1939 wxShapeEvtHandler* seh = (wxShapeEvtHandler*)source;
1940 wxPyOORClientData* data = (wxPyOORClientData*)seh->GetClientObject();
1941 if (data) {
1942 target = data->m_obj;
1943 Py_INCREF(target);
1944 }
1945 }
1946 if (! target) {
412d302d 1947 target = wxPyMake_wxObject2(source, setThisOwn, false);
44127b65
RD
1948 if (target != Py_None)
1949 ((wxShapeEvtHandler*)source)->SetClientObject(new wxPyOORClientData(target));
1950 }
1951 return target;
1952}
1953
1954//---------------------------------------------------------------------------
1955
0346c964
RD
1956PyObject* wxPy_ConvertRealPointList(wxListBase* listbase) {
1957 wxList* list = (wxList*)listbase;
1958 PyObject* pyList;
1959 PyObject* pyObj;
1960 wxObject* wxObj;
1961 wxNode* node = list->GetFirst();
1962
5a446332 1963 wxPyBlock_t blocked = wxPyBeginBlockThreads();
0346c964
RD
1964 pyList = PyList_New(0);
1965 while (node) {
1966 wxObj = node->GetData();
1967 pyObj = wxPyConstructObject(wxObj, wxT("wxRealPoint"), 0);
1968 PyList_Append(pyList, pyObj);
1969 node = node->GetNext();
1970 }
1971 wxPyEndBlockThreads(blocked);
1972 return pyList;
1973}
1974
1975//---------------------------------------------------------------------------
1976
44127b65
RD
1977PyObject* wxPy_ConvertShapeList(wxListBase* listbase) {
1978 wxList* list = (wxList*)listbase;
1979 PyObject* pyList;
1980 PyObject* pyObj;
1981 wxObject* wxObj;
1982 wxNode* node = list->GetFirst();
1983
5a446332 1984 wxPyBlock_t blocked = wxPyBeginBlockThreads();
44127b65
RD
1985 pyList = PyList_New(0);
1986 while (node) {
1987 wxObj = node->GetData();
412d302d 1988 pyObj = wxPyMake_wxShapeEvtHandler((wxShapeEvtHandler*)wxObj, false);
44127b65
RD
1989 PyList_Append(pyList, pyObj);
1990 node = node->GetNext();
1991 }
fbc46b20 1992 wxPyEndBlockThreads(blocked);
44127b65
RD
1993 return pyList;
1994}
1995
1996
1997//---------------------------------------------------------------------------
1998
1999IMPLEMENT_DYNAMIC_CLASS(wxPyShapeCanvas, wxShapeCanvas);
2000IMPLEMENT_DYNAMIC_CLASS(wxPyShapeEvtHandler, wxShapeEvtHandler);
2001IMPLEMENT_ABSTRACT_CLASS(wxPyShape, wxShape);
2002IMPLEMENT_DYNAMIC_CLASS(wxPyRectangleShape, wxRectangleShape);
2003IMPLEMENT_DYNAMIC_CLASS(wxPyControlPoint, wxControlPoint);
2004IMPLEMENT_DYNAMIC_CLASS(wxPyBitmapShape, wxBitmapShape);
2005IMPLEMENT_DYNAMIC_CLASS(wxPyDrawnShape, wxDrawnShape);
2006IMPLEMENT_DYNAMIC_CLASS(wxPyCompositeShape, wxCompositeShape);
2007IMPLEMENT_DYNAMIC_CLASS(wxPyDividedShape, wxDividedShape);
2008IMPLEMENT_DYNAMIC_CLASS(wxPyDivisionShape, wxDivisionShape);
2009IMPLEMENT_DYNAMIC_CLASS(wxPyEllipseShape, wxEllipseShape);
2010IMPLEMENT_DYNAMIC_CLASS(wxPyCircleShape, wxCircleShape);
2011IMPLEMENT_DYNAMIC_CLASS(wxPyLineShape, wxLineShape);
2012IMPLEMENT_DYNAMIC_CLASS(wxPyPolygonShape, wxPolygonShape);
2013IMPLEMENT_DYNAMIC_CLASS(wxPyTextShape, wxTextShape);
2014
2015//---------------------------------------------------------------------------
2016
2017// extern "C" SWIGEXPORT(void) initoglbasicc();
2018// extern "C" SWIGEXPORT(void) initoglshapesc();
2019// extern "C" SWIGEXPORT(void) initoglshapes2c();
2020// extern "C" SWIGEXPORT(void) initoglcanvasc();
2021
2022#ifdef __cplusplus
2023extern "C" {
2024#endif
c370783e 2025static PyObject *_wrap_new_ShapeRegion(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2026 PyObject *resultobj;
2027 wxShapeRegion *result;
2028 char *kwnames[] = {
2029 NULL
2030 };
2031
2032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ShapeRegion",kwnames)) goto fail;
2033 {
2034 PyThreadState* __tstate = wxPyBeginAllowThreads();
2035 result = (wxShapeRegion *)new wxShapeRegion();
2036
2037 wxPyEndAllowThreads(__tstate);
2038 if (PyErr_Occurred()) SWIG_fail;
2039 }
2f4c0a16 2040 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxShapeRegion, 1);
44127b65
RD
2041 return resultobj;
2042 fail:
2043 return NULL;
2044}
2045
2046
c370783e 2047static PyObject *_wrap_ShapeRegion_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2048 PyObject *resultobj;
2049 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
2050 wxString *arg2 = 0 ;
b411df4a 2051 bool temp2 = false ;
44127b65
RD
2052 PyObject * obj0 = 0 ;
2053 PyObject * obj1 = 0 ;
2054 char *kwnames[] = {
2055 (char *) "self",(char *) "s", NULL
2056 };
2057
2058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetText",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
2059 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxShapeRegion, SWIG_POINTER_EXCEPTION | 0);
2060 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
2061 {
2062 arg2 = wxString_in_helper(obj1);
2063 if (arg2 == NULL) SWIG_fail;
b411df4a 2064 temp2 = true;
44127b65
RD
2065 }
2066 {
2067 PyThreadState* __tstate = wxPyBeginAllowThreads();
2068 (arg1)->SetText((wxString const &)*arg2);
2069
2070 wxPyEndAllowThreads(__tstate);
2071 if (PyErr_Occurred()) SWIG_fail;
2072 }
2073 Py_INCREF(Py_None); resultobj = Py_None;
2074 {
2075 if (temp2)
2076 delete arg2;
2077 }
2078 return resultobj;
2079 fail:
2080 {
2081 if (temp2)
2082 delete arg2;
2083 }
2084 return NULL;
2085}
2086
2087
c370783e 2088static PyObject *_wrap_ShapeRegion_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2089 PyObject *resultobj;
2090 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
2091 wxFont *arg2 = (wxFont *) 0 ;
2092 PyObject * obj0 = 0 ;
2093 PyObject * obj1 = 0 ;
2094 char *kwnames[] = {
2095 (char *) "self",(char *) "f", NULL
2096 };
2097
2098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetFont",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
2099 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxShapeRegion, SWIG_POINTER_EXCEPTION | 0);
2100 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
2101 {
2102 wxFont* temp;
2103 if (obj1) {
2104 if (obj1 == Py_None) {
2105 temp = NULL;
2106 }
2107 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxFont"))) {
2108 PyErr_SetString(PyExc_TypeError, "Type error, expected wxFont.");
2109 return NULL;
2110 }
2111 }
2112 if (temp)
2113 arg2 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
2114 temp->GetFamily(),
2115 temp->GetStyle(),
2116 temp->GetWeight(),
2117 temp->GetUnderlined(),
2118 temp->GetFaceName(),
2119 temp->GetEncoding());
2120 else
2121 arg2 = NULL;
2122 }
2123 {
2124 PyThreadState* __tstate = wxPyBeginAllowThreads();
2125 (arg1)->SetFont(arg2);
2126
2127 wxPyEndAllowThreads(__tstate);
2128 if (PyErr_Occurred()) SWIG_fail;
2129 }
2130 Py_INCREF(Py_None); resultobj = Py_None;
2131 return resultobj;
2132 fail:
2133 return NULL;
2134}
2135
2136
c370783e 2137static PyObject *_wrap_ShapeRegion_SetMinSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2138 PyObject *resultobj;
2139 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
2140 double arg2 ;
2141 double arg3 ;
2142 PyObject * obj0 = 0 ;
8edf1c75
RD
2143 PyObject * obj1 = 0 ;
2144 PyObject * obj2 = 0 ;
44127b65
RD
2145 char *kwnames[] = {
2146 (char *) "self",(char *) "w",(char *) "h", NULL
2147 };
2148
8edf1c75 2149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ShapeRegion_SetMinSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
2150 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxShapeRegion, SWIG_POINTER_EXCEPTION | 0);
2151 if (SWIG_arg_fail(1)) SWIG_fail;
2152 {
2153 arg2 = (double)(SWIG_As_double(obj1));
2154 if (SWIG_arg_fail(2)) SWIG_fail;
2155 }
2156 {
2157 arg3 = (double)(SWIG_As_double(obj2));
2158 if (SWIG_arg_fail(3)) SWIG_fail;
2159 }
44127b65
RD
2160 {
2161 PyThreadState* __tstate = wxPyBeginAllowThreads();
2162 (arg1)->SetMinSize(arg2,arg3);
2163
2164 wxPyEndAllowThreads(__tstate);
2165 if (PyErr_Occurred()) SWIG_fail;
2166 }
2167 Py_INCREF(Py_None); resultobj = Py_None;
2168 return resultobj;
2169 fail:
2170 return NULL;
2171}
2172
2173
c370783e 2174static PyObject *_wrap_ShapeRegion_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2175 PyObject *resultobj;
2176 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
2177 double arg2 ;
2178 double arg3 ;
2179 PyObject * obj0 = 0 ;
8edf1c75
RD
2180 PyObject * obj1 = 0 ;
2181 PyObject * obj2 = 0 ;
44127b65
RD
2182 char *kwnames[] = {
2183 (char *) "self",(char *) "w",(char *) "h", NULL
2184 };
2185
8edf1c75 2186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ShapeRegion_SetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
2187 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxShapeRegion, SWIG_POINTER_EXCEPTION | 0);
2188 if (SWIG_arg_fail(1)) SWIG_fail;
2189 {
2190 arg2 = (double)(SWIG_As_double(obj1));
2191 if (SWIG_arg_fail(2)) SWIG_fail;
2192 }
2193 {
2194 arg3 = (double)(SWIG_As_double(obj2));
2195 if (SWIG_arg_fail(3)) SWIG_fail;
2196 }
44127b65
RD
2197 {
2198 PyThreadState* __tstate = wxPyBeginAllowThreads();
2199 (arg1)->SetSize(arg2,arg3);
2200
2201 wxPyEndAllowThreads(__tstate);
2202 if (PyErr_Occurred()) SWIG_fail;
2203 }
2204 Py_INCREF(Py_None); resultobj = Py_None;
2205 return resultobj;
2206 fail:
2207 return NULL;
2208}
2209
2210
c370783e 2211static PyObject *_wrap_ShapeRegion_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2212 PyObject *resultobj;
2213 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
2214 double arg2 ;
2215 double arg3 ;
2216 PyObject * obj0 = 0 ;
8edf1c75
RD
2217 PyObject * obj1 = 0 ;
2218 PyObject * obj2 = 0 ;
44127b65
RD
2219 char *kwnames[] = {
2220 (char *) "self",(char *) "x",(char *) "y", NULL
2221 };
2222
8edf1c75 2223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ShapeRegion_SetPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
2224 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxShapeRegion, SWIG_POINTER_EXCEPTION | 0);
2225 if (SWIG_arg_fail(1)) SWIG_fail;
2226 {
2227 arg2 = (double)(SWIG_As_double(obj1));
2228 if (SWIG_arg_fail(2)) SWIG_fail;
2229 }
2230 {
2231 arg3 = (double)(SWIG_As_double(obj2));
2232 if (SWIG_arg_fail(3)) SWIG_fail;
2233 }
44127b65
RD
2234 {
2235 PyThreadState* __tstate = wxPyBeginAllowThreads();
2236 (arg1)->SetPosition(arg2,arg3);
2237
2238 wxPyEndAllowThreads(__tstate);
2239 if (PyErr_Occurred()) SWIG_fail;
2240 }
2241 Py_INCREF(Py_None); resultobj = Py_None;
2242 return resultobj;
2243 fail:
2244 return NULL;
2245}
2246
2247
c370783e 2248static PyObject *_wrap_ShapeRegion_SetProportions(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2249 PyObject *resultobj;
2250 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
2251 double arg2 ;
2252 double arg3 ;
2253 PyObject * obj0 = 0 ;
8edf1c75
RD
2254 PyObject * obj1 = 0 ;
2255 PyObject * obj2 = 0 ;
44127b65
RD
2256 char *kwnames[] = {
2257 (char *) "self",(char *) "x",(char *) "y", NULL
2258 };
2259
8edf1c75 2260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ShapeRegion_SetProportions",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
2261 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxShapeRegion, SWIG_POINTER_EXCEPTION | 0);
2262 if (SWIG_arg_fail(1)) SWIG_fail;
2263 {
2264 arg2 = (double)(SWIG_As_double(obj1));
2265 if (SWIG_arg_fail(2)) SWIG_fail;
2266 }
2267 {
2268 arg3 = (double)(SWIG_As_double(obj2));
2269 if (SWIG_arg_fail(3)) SWIG_fail;
2270 }
44127b65
RD
2271 {
2272 PyThreadState* __tstate = wxPyBeginAllowThreads();
2273 (arg1)->SetProportions(arg2,arg3);
2274
2275 wxPyEndAllowThreads(__tstate);
2276 if (PyErr_Occurred()) SWIG_fail;
2277 }
2278 Py_INCREF(Py_None); resultobj = Py_None;
2279 return resultobj;
2280 fail:
2281 return NULL;
2282}
2283
2284
c370783e 2285static PyObject *_wrap_ShapeRegion_SetFormatMode(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2286 PyObject *resultobj;
2287 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
2288 int arg2 ;
2289 PyObject * obj0 = 0 ;
8edf1c75 2290 PyObject * obj1 = 0 ;
44127b65
RD
2291 char *kwnames[] = {
2292 (char *) "self",(char *) "mode", NULL
2293 };
2294
8edf1c75 2295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetFormatMode",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
2296 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxShapeRegion, SWIG_POINTER_EXCEPTION | 0);
2297 if (SWIG_arg_fail(1)) SWIG_fail;
2298 {
2299 arg2 = (int)(SWIG_As_int(obj1));
2300 if (SWIG_arg_fail(2)) SWIG_fail;
2301 }
44127b65
RD
2302 {
2303 PyThreadState* __tstate = wxPyBeginAllowThreads();
2304 (arg1)->SetFormatMode(arg2);
2305
2306 wxPyEndAllowThreads(__tstate);
2307 if (PyErr_Occurred()) SWIG_fail;
2308 }
2309 Py_INCREF(Py_None); resultobj = Py_None;
2310 return resultobj;
2311 fail:
2312 return NULL;
2313}
2314
2315
c370783e 2316static PyObject *_wrap_ShapeRegion_SetName(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2317 PyObject *resultobj;
2318 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
2319 wxString *arg2 = 0 ;
b411df4a 2320 bool temp2 = false ;
44127b65
RD
2321 PyObject * obj0 = 0 ;
2322 PyObject * obj1 = 0 ;
2323 char *kwnames[] = {
2324 (char *) "self",(char *) "s", NULL
2325 };
2326
2327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetName",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
2328 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxShapeRegion, SWIG_POINTER_EXCEPTION | 0);
2329 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
2330 {
2331 arg2 = wxString_in_helper(obj1);
2332 if (arg2 == NULL) SWIG_fail;
b411df4a 2333 temp2 = true;
44127b65
RD
2334 }
2335 {
2336 PyThreadState* __tstate = wxPyBeginAllowThreads();
2337 (arg1)->SetName((wxString const &)*arg2);
2338
2339 wxPyEndAllowThreads(__tstate);
2340 if (PyErr_Occurred()) SWIG_fail;
2341 }
2342 Py_INCREF(Py_None); resultobj = Py_None;
2343 {
2344 if (temp2)
2345 delete arg2;
2346 }
2347 return resultobj;
2348 fail:
2349 {
2350 if (temp2)
2351 delete arg2;
2352 }
2353 return NULL;
2354}
2355
2356
c370783e 2357static PyObject *_wrap_ShapeRegion_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2358 PyObject *resultobj;
2359 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
2360 wxString *arg2 = 0 ;
b411df4a 2361 bool temp2 = false ;
44127b65
RD
2362 PyObject * obj0 = 0 ;
2363 PyObject * obj1 = 0 ;
2364 char *kwnames[] = {
2365 (char *) "self",(char *) "col", NULL
2366 };
2367
2368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
2369 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxShapeRegion, SWIG_POINTER_EXCEPTION | 0);
2370 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
2371 {
2372 arg2 = wxString_in_helper(obj1);
2373 if (arg2 == NULL) SWIG_fail;
b411df4a 2374 temp2 = true;
44127b65
RD
2375 }
2376 {
2377 PyThreadState* __tstate = wxPyBeginAllowThreads();
2378 (arg1)->SetColour((wxString const &)*arg2);
2379
2380 wxPyEndAllowThreads(__tstate);
2381 if (PyErr_Occurred()) SWIG_fail;
2382 }
2383 Py_INCREF(Py_None); resultobj = Py_None;
2384 {
2385 if (temp2)
2386 delete arg2;
2387 }
2388 return resultobj;
2389 fail:
2390 {
2391 if (temp2)
2392 delete arg2;
2393 }
2394 return NULL;
2395}
2396
2397
c370783e 2398static PyObject *_wrap_ShapeRegion_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2399 PyObject *resultobj;
2400 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
2401 wxString result;
2402 PyObject * obj0 = 0 ;
2403 char *kwnames[] = {
2404 (char *) "self", NULL
2405 };
2406
2407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetText",kwnames,&obj0)) goto fail;
36ed4f51
RD
2408 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxShapeRegion, SWIG_POINTER_EXCEPTION | 0);
2409 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
2410 {
2411 PyThreadState* __tstate = wxPyBeginAllowThreads();
2412 result = (arg1)->GetText();
2413
2414 wxPyEndAllowThreads(__tstate);
2415 if (PyErr_Occurred()) SWIG_fail;
2416 }
2417 {
2418#if wxUSE_UNICODE
2419 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2420#else
2421 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2422#endif
2423 }
2424 return resultobj;
2425 fail:
2426 return NULL;
2427}
2428
2429
c370783e 2430static PyObject *_wrap_ShapeRegion_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2431 PyObject *resultobj;
2432 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
2433 wxFont *result;
2434 PyObject * obj0 = 0 ;
2435 char *kwnames[] = {
2436 (char *) "self", NULL
2437 };
2438
2439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetFont",kwnames,&obj0)) goto fail;
36ed4f51
RD
2440 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxShapeRegion, SWIG_POINTER_EXCEPTION | 0);
2441 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
2442 {
2443 PyThreadState* __tstate = wxPyBeginAllowThreads();
2444 result = (wxFont *)(arg1)->GetFont();
2445
2446 wxPyEndAllowThreads(__tstate);
2447 if (PyErr_Occurred()) SWIG_fail;
2448 }
2f4c0a16 2449 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 0);
44127b65
RD
2450 return resultobj;
2451 fail:
2452 return NULL;
2453}
2454
2455
c370783e 2456static PyObject *_wrap_ShapeRegion_GetMinSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2457 PyObject *resultobj;
2458 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
2459 double *arg2 = (double *) 0 ;
2460 double *arg3 = (double *) 0 ;
2461 double temp2 ;
c370783e 2462 int res2 = 0 ;
44127b65 2463 double temp3 ;
c370783e 2464 int res3 = 0 ;
44127b65
RD
2465 PyObject * obj0 = 0 ;
2466 char *kwnames[] = {
2467 (char *) "self", NULL
2468 };
2469
c370783e
RD
2470 arg2 = &temp2; res2 = SWIG_NEWOBJ;
2471 arg3 = &temp3; res3 = SWIG_NEWOBJ;
44127b65 2472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetMinSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
2473 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxShapeRegion, SWIG_POINTER_EXCEPTION | 0);
2474 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
2475 {
2476 PyThreadState* __tstate = wxPyBeginAllowThreads();
2477 (arg1)->GetMinSize(arg2,arg3);
2478
2479 wxPyEndAllowThreads(__tstate);
2480 if (PyErr_Occurred()) SWIG_fail;
2481 }
2482 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
2483 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
2484 SWIG_From_double((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, 0)));
2485 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
2486 SWIG_From_double((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, 0)));
44127b65
RD
2487 return resultobj;
2488 fail:
2489 return NULL;
2490}
2491
2492
c370783e 2493static PyObject *_wrap_ShapeRegion_GetProportion(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2494 PyObject *resultobj;
2495 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
2496 double *arg2 = (double *) 0 ;
2497 double *arg3 = (double *) 0 ;
2498 double temp2 ;
c370783e 2499 int res2 = 0 ;
44127b65 2500 double temp3 ;
c370783e 2501 int res3 = 0 ;
44127b65
RD
2502 PyObject * obj0 = 0 ;
2503 char *kwnames[] = {
2504 (char *) "self", NULL
2505 };
2506
c370783e
RD
2507 arg2 = &temp2; res2 = SWIG_NEWOBJ;
2508 arg3 = &temp3; res3 = SWIG_NEWOBJ;
44127b65 2509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetProportion",kwnames,&obj0)) goto fail;
36ed4f51
RD
2510 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxShapeRegion, SWIG_POINTER_EXCEPTION | 0);
2511 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
2512 {
2513 PyThreadState* __tstate = wxPyBeginAllowThreads();
2514 (arg1)->GetProportion(arg2,arg3);
2515
2516 wxPyEndAllowThreads(__tstate);
2517 if (PyErr_Occurred()) SWIG_fail;
2518 }
2519 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
2520 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
2521 SWIG_From_double((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, 0)));
2522 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
2523 SWIG_From_double((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, 0)));
44127b65
RD
2524 return resultobj;
2525 fail:
2526 return NULL;
2527}
2528
2529
c370783e 2530static PyObject *_wrap_ShapeRegion_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2531 PyObject *resultobj;
2532 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
2533 double *arg2 = (double *) 0 ;
2534 double *arg3 = (double *) 0 ;
2535 double temp2 ;
c370783e 2536 int res2 = 0 ;
44127b65 2537 double temp3 ;
c370783e 2538 int res3 = 0 ;
44127b65
RD
2539 PyObject * obj0 = 0 ;
2540 char *kwnames[] = {
2541 (char *) "self", NULL
2542 };
2543
c370783e
RD
2544 arg2 = &temp2; res2 = SWIG_NEWOBJ;
2545 arg3 = &temp3; res3 = SWIG_NEWOBJ;
44127b65 2546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
2547 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxShapeRegion, SWIG_POINTER_EXCEPTION | 0);
2548 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
2549 {
2550 PyThreadState* __tstate = wxPyBeginAllowThreads();
2551 (arg1)->GetSize(arg2,arg3);
2552
2553 wxPyEndAllowThreads(__tstate);
2554 if (PyErr_Occurred()) SWIG_fail;
2555 }
2556 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
2557 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
2558 SWIG_From_double((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, 0)));
2559 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
2560 SWIG_From_double((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, 0)));
44127b65
RD
2561 return resultobj;
2562 fail:
2563 return NULL;
2564}
2565
2566
c370783e 2567static PyObject *_wrap_ShapeRegion_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2568 PyObject *resultobj;
2569 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
2570 double *arg2 = (double *) 0 ;
2571 double *arg3 = (double *) 0 ;
2572 double temp2 ;
c370783e 2573 int res2 = 0 ;
44127b65 2574 double temp3 ;
c370783e 2575 int res3 = 0 ;
44127b65
RD
2576 PyObject * obj0 = 0 ;
2577 char *kwnames[] = {
2578 (char *) "self", NULL
2579 };
2580
c370783e
RD
2581 arg2 = &temp2; res2 = SWIG_NEWOBJ;
2582 arg3 = &temp3; res3 = SWIG_NEWOBJ;
44127b65 2583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetPosition",kwnames,&obj0)) goto fail;
36ed4f51
RD
2584 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxShapeRegion, SWIG_POINTER_EXCEPTION | 0);
2585 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
2586 {
2587 PyThreadState* __tstate = wxPyBeginAllowThreads();
2588 (arg1)->GetPosition(arg2,arg3);
2589
2590 wxPyEndAllowThreads(__tstate);
2591 if (PyErr_Occurred()) SWIG_fail;
2592 }
2593 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
2594 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
2595 SWIG_From_double((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, 0)));
2596 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
2597 SWIG_From_double((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, 0)));
44127b65
RD
2598 return resultobj;
2599 fail:
2600 return NULL;
2601}
2602
2603
c370783e 2604static PyObject *_wrap_ShapeRegion_GetFormatMode(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2605 PyObject *resultobj;
2606 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
2607 int result;
2608 PyObject * obj0 = 0 ;
2609 char *kwnames[] = {
2610 (char *) "self", NULL
2611 };
2612
2613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetFormatMode",kwnames,&obj0)) goto fail;
36ed4f51
RD
2614 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxShapeRegion, SWIG_POINTER_EXCEPTION | 0);
2615 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
2616 {
2617 PyThreadState* __tstate = wxPyBeginAllowThreads();
2618 result = (int)(arg1)->GetFormatMode();
2619
2620 wxPyEndAllowThreads(__tstate);
2621 if (PyErr_Occurred()) SWIG_fail;
2622 }
36ed4f51
RD
2623 {
2624 resultobj = SWIG_From_int((int)(result));
2625 }
44127b65
RD
2626 return resultobj;
2627 fail:
2628 return NULL;
2629}
2630
2631
c370783e 2632static PyObject *_wrap_ShapeRegion_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2633 PyObject *resultobj;
2634 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
2635 wxString result;
2636 PyObject * obj0 = 0 ;
2637 char *kwnames[] = {
2638 (char *) "self", NULL
2639 };
2640
2641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetName",kwnames,&obj0)) goto fail;
36ed4f51
RD
2642 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxShapeRegion, SWIG_POINTER_EXCEPTION | 0);
2643 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
2644 {
2645 PyThreadState* __tstate = wxPyBeginAllowThreads();
2646 result = (arg1)->GetName();
2647
2648 wxPyEndAllowThreads(__tstate);
2649 if (PyErr_Occurred()) SWIG_fail;
2650 }
2651 {
2652#if wxUSE_UNICODE
2653 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2654#else
2655 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2656#endif
2657 }
2658 return resultobj;
2659 fail:
2660 return NULL;
2661}
2662
2663
c370783e 2664static PyObject *_wrap_ShapeRegion_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2665 PyObject *resultobj;
2666 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
2667 wxString result;
2668 PyObject * obj0 = 0 ;
2669 char *kwnames[] = {
2670 (char *) "self", NULL
2671 };
2672
2673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
2674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxShapeRegion, SWIG_POINTER_EXCEPTION | 0);
2675 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
2676 {
2677 PyThreadState* __tstate = wxPyBeginAllowThreads();
2678 result = (arg1)->GetColour();
2679
2680 wxPyEndAllowThreads(__tstate);
2681 if (PyErr_Occurred()) SWIG_fail;
2682 }
2683 {
2684#if wxUSE_UNICODE
2685 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2686#else
2687 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2688#endif
2689 }
2690 return resultobj;
2691 fail:
2692 return NULL;
2693}
2694
2695
c370783e 2696static PyObject *_wrap_ShapeRegion_GetActualColourObject(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2697 PyObject *resultobj;
2698 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
d896a793 2699 wxColour result;
44127b65
RD
2700 PyObject * obj0 = 0 ;
2701 char *kwnames[] = {
2702 (char *) "self", NULL
2703 };
2704
2705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetActualColourObject",kwnames,&obj0)) goto fail;
36ed4f51
RD
2706 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxShapeRegion, SWIG_POINTER_EXCEPTION | 0);
2707 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
2708 {
2709 PyThreadState* __tstate = wxPyBeginAllowThreads();
d896a793 2710 result = (arg1)->GetActualColourObject();
44127b65
RD
2711
2712 wxPyEndAllowThreads(__tstate);
2713 if (PyErr_Occurred()) SWIG_fail;
2714 }
d896a793
RD
2715 {
2716 wxColour * resultptr;
36ed4f51 2717 resultptr = new wxColour((wxColour &)(result));
2f4c0a16 2718 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d896a793 2719 }
44127b65
RD
2720 return resultobj;
2721 fail:
2722 return NULL;
2723}
2724
2725
c370783e 2726static PyObject *_wrap_ShapeRegion_GetFormattedText(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2727 PyObject *resultobj;
2728 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
2729 wxList *result;
2730 PyObject * obj0 = 0 ;
2731 char *kwnames[] = {
2732 (char *) "self", NULL
2733 };
2734
2735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetFormattedText",kwnames,&obj0)) goto fail;
36ed4f51
RD
2736 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxShapeRegion, SWIG_POINTER_EXCEPTION | 0);
2737 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
2738 {
2739 PyThreadState* __tstate = wxPyBeginAllowThreads();
2740 {
2741 wxList &_result_ref = (arg1)->GetFormattedText();
2742 result = (wxList *) &_result_ref;
2743 }
2744
2745 wxPyEndAllowThreads(__tstate);
2746 if (PyErr_Occurred()) SWIG_fail;
2747 }
2f4c0a16 2748 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxList, 0);
44127b65
RD
2749 return resultobj;
2750 fail:
2751 return NULL;
2752}
2753
2754
c370783e 2755static PyObject *_wrap_ShapeRegion_GetPenColour(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2756 PyObject *resultobj;
2757 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
2758 wxString result;
2759 PyObject * obj0 = 0 ;
2760 char *kwnames[] = {
2761 (char *) "self", NULL
2762 };
2763
2764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetPenColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
2765 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxShapeRegion, SWIG_POINTER_EXCEPTION | 0);
2766 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
2767 {
2768 PyThreadState* __tstate = wxPyBeginAllowThreads();
2769 result = (arg1)->GetPenColour();
2770
2771 wxPyEndAllowThreads(__tstate);
2772 if (PyErr_Occurred()) SWIG_fail;
2773 }
2774 {
2775#if wxUSE_UNICODE
2776 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2777#else
2778 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2779#endif
2780 }
2781 return resultobj;
2782 fail:
2783 return NULL;
2784}
2785
2786
c370783e 2787static PyObject *_wrap_ShapeRegion_GetPenStyle(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2788 PyObject *resultobj;
2789 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
2790 int result;
2791 PyObject * obj0 = 0 ;
2792 char *kwnames[] = {
2793 (char *) "self", NULL
2794 };
2795
2796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetPenStyle",kwnames,&obj0)) goto fail;
36ed4f51
RD
2797 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxShapeRegion, SWIG_POINTER_EXCEPTION | 0);
2798 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
2799 {
2800 PyThreadState* __tstate = wxPyBeginAllowThreads();
2801 result = (int)(arg1)->GetPenStyle();
2802
2803 wxPyEndAllowThreads(__tstate);
2804 if (PyErr_Occurred()) SWIG_fail;
2805 }
36ed4f51
RD
2806 {
2807 resultobj = SWIG_From_int((int)(result));
2808 }
44127b65
RD
2809 return resultobj;
2810 fail:
2811 return NULL;
2812}
2813
2814
c370783e 2815static PyObject *_wrap_ShapeRegion_SetPenStyle(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2816 PyObject *resultobj;
2817 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
2818 int arg2 ;
2819 PyObject * obj0 = 0 ;
8edf1c75 2820 PyObject * obj1 = 0 ;
44127b65
RD
2821 char *kwnames[] = {
2822 (char *) "self",(char *) "style", NULL
2823 };
2824
8edf1c75 2825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetPenStyle",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
2826 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxShapeRegion, SWIG_POINTER_EXCEPTION | 0);
2827 if (SWIG_arg_fail(1)) SWIG_fail;
2828 {
2829 arg2 = (int)(SWIG_As_int(obj1));
2830 if (SWIG_arg_fail(2)) SWIG_fail;
2831 }
44127b65
RD
2832 {
2833 PyThreadState* __tstate = wxPyBeginAllowThreads();
2834 (arg1)->SetPenStyle(arg2);
2835
2836 wxPyEndAllowThreads(__tstate);
2837 if (PyErr_Occurred()) SWIG_fail;
2838 }
2839 Py_INCREF(Py_None); resultobj = Py_None;
2840 return resultobj;
2841 fail:
2842 return NULL;
2843}
2844
2845
c370783e 2846static PyObject *_wrap_ShapeRegion_SetPenColour(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2847 PyObject *resultobj;
2848 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
2849 wxString *arg2 = 0 ;
b411df4a 2850 bool temp2 = false ;
44127b65
RD
2851 PyObject * obj0 = 0 ;
2852 PyObject * obj1 = 0 ;
2853 char *kwnames[] = {
2854 (char *) "self",(char *) "col", NULL
2855 };
2856
2857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShapeRegion_SetPenColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
2858 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxShapeRegion, SWIG_POINTER_EXCEPTION | 0);
2859 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
2860 {
2861 arg2 = wxString_in_helper(obj1);
2862 if (arg2 == NULL) SWIG_fail;
b411df4a 2863 temp2 = true;
44127b65
RD
2864 }
2865 {
2866 PyThreadState* __tstate = wxPyBeginAllowThreads();
2867 (arg1)->SetPenColour((wxString const &)*arg2);
2868
2869 wxPyEndAllowThreads(__tstate);
2870 if (PyErr_Occurred()) SWIG_fail;
2871 }
2872 Py_INCREF(Py_None); resultobj = Py_None;
2873 {
2874 if (temp2)
2875 delete arg2;
2876 }
2877 return resultobj;
2878 fail:
2879 {
2880 if (temp2)
2881 delete arg2;
2882 }
2883 return NULL;
2884}
2885
2886
c370783e 2887static PyObject *_wrap_ShapeRegion_GetActualPen(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2888 PyObject *resultobj;
2889 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
2890 wxPen *result;
2891 PyObject * obj0 = 0 ;
2892 char *kwnames[] = {
2893 (char *) "self", NULL
2894 };
2895
2896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetActualPen",kwnames,&obj0)) goto fail;
36ed4f51
RD
2897 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxShapeRegion, SWIG_POINTER_EXCEPTION | 0);
2898 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
2899 {
2900 PyThreadState* __tstate = wxPyBeginAllowThreads();
2901 result = (wxPen *)(arg1)->GetActualPen();
2902
2903 wxPyEndAllowThreads(__tstate);
2904 if (PyErr_Occurred()) SWIG_fail;
2905 }
2f4c0a16 2906 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPen, 0);
44127b65
RD
2907 return resultobj;
2908 fail:
2909 return NULL;
2910}
2911
2912
c370783e 2913static PyObject *_wrap_ShapeRegion_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2914 PyObject *resultobj;
2915 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
2916 double result;
2917 PyObject * obj0 = 0 ;
2918 char *kwnames[] = {
2919 (char *) "self", NULL
2920 };
2921
2922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetWidth",kwnames,&obj0)) goto fail;
36ed4f51
RD
2923 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxShapeRegion, SWIG_POINTER_EXCEPTION | 0);
2924 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
2925 {
2926 PyThreadState* __tstate = wxPyBeginAllowThreads();
2927 result = (double)(arg1)->GetWidth();
2928
2929 wxPyEndAllowThreads(__tstate);
2930 if (PyErr_Occurred()) SWIG_fail;
2931 }
36ed4f51
RD
2932 {
2933 resultobj = SWIG_From_double((double)(result));
2934 }
44127b65
RD
2935 return resultobj;
2936 fail:
2937 return NULL;
2938}
2939
2940
c370783e 2941static PyObject *_wrap_ShapeRegion_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2942 PyObject *resultobj;
2943 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
2944 double result;
2945 PyObject * obj0 = 0 ;
2946 char *kwnames[] = {
2947 (char *) "self", NULL
2948 };
2949
2950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_GetHeight",kwnames,&obj0)) goto fail;
36ed4f51
RD
2951 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxShapeRegion, SWIG_POINTER_EXCEPTION | 0);
2952 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
2953 {
2954 PyThreadState* __tstate = wxPyBeginAllowThreads();
2955 result = (double)(arg1)->GetHeight();
2956
2957 wxPyEndAllowThreads(__tstate);
2958 if (PyErr_Occurred()) SWIG_fail;
2959 }
36ed4f51
RD
2960 {
2961 resultobj = SWIG_From_double((double)(result));
2962 }
44127b65
RD
2963 return resultobj;
2964 fail:
2965 return NULL;
2966}
2967
2968
c370783e 2969static PyObject *_wrap_ShapeRegion_ClearText(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2970 PyObject *resultobj;
2971 wxShapeRegion *arg1 = (wxShapeRegion *) 0 ;
2972 PyObject * obj0 = 0 ;
2973 char *kwnames[] = {
2974 (char *) "self", NULL
2975 };
2976
2977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShapeRegion_ClearText",kwnames,&obj0)) goto fail;
36ed4f51
RD
2978 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxShapeRegion, SWIG_POINTER_EXCEPTION | 0);
2979 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
2980 {
2981 PyThreadState* __tstate = wxPyBeginAllowThreads();
2982 (arg1)->ClearText();
2983
2984 wxPyEndAllowThreads(__tstate);
2985 if (PyErr_Occurred()) SWIG_fail;
2986 }
2987 Py_INCREF(Py_None); resultobj = Py_None;
2988 return resultobj;
2989 fail:
2990 return NULL;
2991}
2992
2993
c370783e 2994static PyObject * ShapeRegion_swigregister(PyObject *, PyObject *args) {
44127b65
RD
2995 PyObject *obj;
2996 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2997 SWIG_TypeClientData(SWIGTYPE_p_wxShapeRegion, obj);
2998 Py_INCREF(obj);
2999 return Py_BuildValue((char *)"");
3000}
c370783e 3001static PyObject *_wrap_new_AttachmentPoint(PyObject *, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
3002 PyObject *resultobj;
3003 int arg1 = (int) 0 ;
3004 double arg2 = (double) 0.0 ;
3005 double arg3 = (double) 0.0 ;
3006 wxAttachmentPoint *result;
8edf1c75
RD
3007 PyObject * obj0 = 0 ;
3008 PyObject * obj1 = 0 ;
3009 PyObject * obj2 = 0 ;
7a0a63ae
RD
3010 char *kwnames[] = {
3011 (char *) "id",(char *) "x",(char *) "y", NULL
3012 };
3013
8edf1c75
RD
3014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_AttachmentPoint",kwnames,&obj0,&obj1,&obj2)) goto fail;
3015 if (obj0) {
36ed4f51
RD
3016 {
3017 arg1 = (int)(SWIG_As_int(obj0));
3018 if (SWIG_arg_fail(1)) SWIG_fail;
3019 }
8edf1c75
RD
3020 }
3021 if (obj1) {
36ed4f51
RD
3022 {
3023 arg2 = (double)(SWIG_As_double(obj1));
3024 if (SWIG_arg_fail(2)) SWIG_fail;
3025 }
8edf1c75
RD
3026 }
3027 if (obj2) {
36ed4f51
RD
3028 {
3029 arg3 = (double)(SWIG_As_double(obj2));
3030 if (SWIG_arg_fail(3)) SWIG_fail;
3031 }
8edf1c75 3032 }
7a0a63ae
RD
3033 {
3034 PyThreadState* __tstate = wxPyBeginAllowThreads();
3035 result = (wxAttachmentPoint *)new wxAttachmentPoint(arg1,arg2,arg3);
3036
3037 wxPyEndAllowThreads(__tstate);
3038 if (PyErr_Occurred()) SWIG_fail;
3039 }
2f4c0a16 3040 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAttachmentPoint, 1);
7a0a63ae
RD
3041 return resultobj;
3042 fail:
3043 return NULL;
3044}
3045
3046
c370783e 3047static PyObject *_wrap_AttachmentPoint_m_id_set(PyObject *, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
3048 PyObject *resultobj;
3049 wxAttachmentPoint *arg1 = (wxAttachmentPoint *) 0 ;
3050 int arg2 ;
3051 PyObject * obj0 = 0 ;
8edf1c75 3052 PyObject * obj1 = 0 ;
7a0a63ae
RD
3053 char *kwnames[] = {
3054 (char *) "self",(char *) "m_id", NULL
3055 };
3056
8edf1c75 3057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AttachmentPoint_m_id_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3058 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxAttachmentPoint, SWIG_POINTER_EXCEPTION | 0);
3059 if (SWIG_arg_fail(1)) SWIG_fail;
3060 {
3061 arg2 = (int)(SWIG_As_int(obj1));
3062 if (SWIG_arg_fail(2)) SWIG_fail;
3063 }
7a0a63ae
RD
3064 if (arg1) (arg1)->m_id = arg2;
3065
3066 Py_INCREF(Py_None); resultobj = Py_None;
3067 return resultobj;
3068 fail:
3069 return NULL;
3070}
3071
3072
c370783e 3073static PyObject *_wrap_AttachmentPoint_m_id_get(PyObject *, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
3074 PyObject *resultobj;
3075 wxAttachmentPoint *arg1 = (wxAttachmentPoint *) 0 ;
3076 int result;
3077 PyObject * obj0 = 0 ;
3078 char *kwnames[] = {
3079 (char *) "self", NULL
3080 };
3081
3082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AttachmentPoint_m_id_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
3083 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxAttachmentPoint, SWIG_POINTER_EXCEPTION | 0);
3084 if (SWIG_arg_fail(1)) SWIG_fail;
7a0a63ae
RD
3085 result = (int) ((arg1)->m_id);
3086
36ed4f51
RD
3087 {
3088 resultobj = SWIG_From_int((int)(result));
3089 }
7a0a63ae
RD
3090 return resultobj;
3091 fail:
3092 return NULL;
3093}
3094
3095
c370783e 3096static PyObject *_wrap_AttachmentPoint_m_x_set(PyObject *, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
3097 PyObject *resultobj;
3098 wxAttachmentPoint *arg1 = (wxAttachmentPoint *) 0 ;
3099 double arg2 ;
3100 PyObject * obj0 = 0 ;
8edf1c75 3101 PyObject * obj1 = 0 ;
7a0a63ae
RD
3102 char *kwnames[] = {
3103 (char *) "self",(char *) "m_x", NULL
3104 };
3105
8edf1c75 3106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AttachmentPoint_m_x_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3107 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxAttachmentPoint, SWIG_POINTER_EXCEPTION | 0);
3108 if (SWIG_arg_fail(1)) SWIG_fail;
3109 {
3110 arg2 = (double)(SWIG_As_double(obj1));
3111 if (SWIG_arg_fail(2)) SWIG_fail;
3112 }
7a0a63ae
RD
3113 if (arg1) (arg1)->m_x = arg2;
3114
3115 Py_INCREF(Py_None); resultobj = Py_None;
3116 return resultobj;
3117 fail:
3118 return NULL;
3119}
3120
3121
c370783e 3122static PyObject *_wrap_AttachmentPoint_m_x_get(PyObject *, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
3123 PyObject *resultobj;
3124 wxAttachmentPoint *arg1 = (wxAttachmentPoint *) 0 ;
3125 double result;
3126 PyObject * obj0 = 0 ;
3127 char *kwnames[] = {
3128 (char *) "self", NULL
3129 };
3130
3131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AttachmentPoint_m_x_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
3132 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxAttachmentPoint, SWIG_POINTER_EXCEPTION | 0);
3133 if (SWIG_arg_fail(1)) SWIG_fail;
7a0a63ae
RD
3134 result = (double) ((arg1)->m_x);
3135
36ed4f51
RD
3136 {
3137 resultobj = SWIG_From_double((double)(result));
3138 }
7a0a63ae
RD
3139 return resultobj;
3140 fail:
3141 return NULL;
3142}
3143
3144
c370783e 3145static PyObject *_wrap_AttachmentPoint_m_y_set(PyObject *, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
3146 PyObject *resultobj;
3147 wxAttachmentPoint *arg1 = (wxAttachmentPoint *) 0 ;
3148 double arg2 ;
3149 PyObject * obj0 = 0 ;
8edf1c75 3150 PyObject * obj1 = 0 ;
7a0a63ae
RD
3151 char *kwnames[] = {
3152 (char *) "self",(char *) "m_y", NULL
3153 };
3154
8edf1c75 3155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AttachmentPoint_m_y_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3156 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxAttachmentPoint, SWIG_POINTER_EXCEPTION | 0);
3157 if (SWIG_arg_fail(1)) SWIG_fail;
3158 {
3159 arg2 = (double)(SWIG_As_double(obj1));
3160 if (SWIG_arg_fail(2)) SWIG_fail;
3161 }
7a0a63ae
RD
3162 if (arg1) (arg1)->m_y = arg2;
3163
3164 Py_INCREF(Py_None); resultobj = Py_None;
3165 return resultobj;
3166 fail:
3167 return NULL;
3168}
3169
3170
c370783e 3171static PyObject *_wrap_AttachmentPoint_m_y_get(PyObject *, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
3172 PyObject *resultobj;
3173 wxAttachmentPoint *arg1 = (wxAttachmentPoint *) 0 ;
3174 double result;
3175 PyObject * obj0 = 0 ;
3176 char *kwnames[] = {
3177 (char *) "self", NULL
3178 };
3179
3180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AttachmentPoint_m_y_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
3181 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxAttachmentPoint, SWIG_POINTER_EXCEPTION | 0);
3182 if (SWIG_arg_fail(1)) SWIG_fail;
7a0a63ae
RD
3183 result = (double) ((arg1)->m_y);
3184
36ed4f51
RD
3185 {
3186 resultobj = SWIG_From_double((double)(result));
3187 }
7a0a63ae
RD
3188 return resultobj;
3189 fail:
3190 return NULL;
3191}
3192
3193
c370783e 3194static PyObject * AttachmentPoint_swigregister(PyObject *, PyObject *args) {
7a0a63ae
RD
3195 PyObject *obj;
3196 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3197 SWIG_TypeClientData(SWIGTYPE_p_wxAttachmentPoint, obj);
3198 Py_INCREF(obj);
3199 return Py_BuildValue((char *)"");
3200}
c370783e 3201static PyObject *_wrap_new_PyShapeEvtHandler(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3202 PyObject *resultobj;
3203 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) NULL ;
3204 wxPyShape *arg2 = (wxPyShape *) NULL ;
3205 wxPyShapeEvtHandler *result;
3206 PyObject * obj0 = 0 ;
3207 PyObject * obj1 = 0 ;
3208 char *kwnames[] = {
3209 (char *) "prev",(char *) "shape", NULL
3210 };
3211
3212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyShapeEvtHandler",kwnames,&obj0,&obj1)) goto fail;
3213 if (obj0) {
36ed4f51
RD
3214 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShapeEvtHandler, SWIG_POINTER_EXCEPTION | 0);
3215 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
3216 }
3217 if (obj1) {
36ed4f51
RD
3218 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
3219 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
3220 }
3221 {
3222 PyThreadState* __tstate = wxPyBeginAllowThreads();
3223 result = (wxPyShapeEvtHandler *)new wxPyShapeEvtHandler(arg1,arg2);
3224
3225 wxPyEndAllowThreads(__tstate);
3226 if (PyErr_Occurred()) SWIG_fail;
3227 }
b0f7404b 3228 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyShapeEvtHandler, 1);
44127b65
RD
3229 return resultobj;
3230 fail:
3231 return NULL;
3232}
3233
3234
c370783e 3235static PyObject *_wrap_PyShapeEvtHandler__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3236 PyObject *resultobj;
3237 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3238 PyObject *arg2 = (PyObject *) 0 ;
3239 PyObject *arg3 = (PyObject *) 0 ;
3240 PyObject * obj0 = 0 ;
3241 PyObject * obj1 = 0 ;
3242 PyObject * obj2 = 0 ;
3243 char *kwnames[] = {
3244 (char *) "self",(char *) "self",(char *) "_class", NULL
3245 };
3246
3247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeEvtHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
3248 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShapeEvtHandler, SWIG_POINTER_EXCEPTION | 0);
3249 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
3250 arg2 = obj1;
3251 arg3 = obj2;
3252 {
3253 PyThreadState* __tstate = wxPyBeginAllowThreads();
3254 (arg1)->_setCallbackInfo(arg2,arg3);
3255
3256 wxPyEndAllowThreads(__tstate);
3257 if (PyErr_Occurred()) SWIG_fail;
3258 }
3259 Py_INCREF(Py_None); resultobj = Py_None;
3260 return resultobj;
3261 fail:
3262 return NULL;
3263}
3264
3265
c370783e 3266static PyObject *_wrap_PyShapeEvtHandler__setOORInfo(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3267 PyObject *resultobj;
3268 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3269 PyObject *arg2 = (PyObject *) 0 ;
3270 PyObject * obj0 = 0 ;
3271 PyObject * obj1 = 0 ;
3272 char *kwnames[] = {
3273 (char *) "self",(char *) "_self", NULL
3274 };
3275
3276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3277 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShapeEvtHandler, SWIG_POINTER_EXCEPTION | 0);
3278 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
3279 arg2 = obj1;
3280 {
3281 PyThreadState* __tstate = wxPyBeginAllowThreads();
3282 wxPyShapeEvtHandler__setOORInfo(arg1,arg2);
3283
3284 wxPyEndAllowThreads(__tstate);
3285 if (PyErr_Occurred()) SWIG_fail;
3286 }
3287 Py_INCREF(Py_None); resultobj = Py_None;
3288 return resultobj;
3289 fail:
3290 return NULL;
3291}
3292
3293
c370783e 3294static PyObject *_wrap_PyShapeEvtHandler_SetShape(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3295 PyObject *resultobj;
3296 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3297 wxPyShape *arg2 = (wxPyShape *) 0 ;
3298 PyObject * obj0 = 0 ;
3299 PyObject * obj1 = 0 ;
3300 char *kwnames[] = {
3301 (char *) "self",(char *) "sh", NULL
3302 };
3303
3304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_SetShape",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3305 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShapeEvtHandler, SWIG_POINTER_EXCEPTION | 0);
3306 if (SWIG_arg_fail(1)) SWIG_fail;
3307 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
3308 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
3309 {
3310 PyThreadState* __tstate = wxPyBeginAllowThreads();
3311 (arg1)->SetShape(arg2);
3312
3313 wxPyEndAllowThreads(__tstate);
3314 if (PyErr_Occurred()) SWIG_fail;
3315 }
3316 Py_INCREF(Py_None); resultobj = Py_None;
3317 return resultobj;
3318 fail:
3319 return NULL;
3320}
3321
3322
c370783e 3323static PyObject *_wrap_PyShapeEvtHandler_GetShape(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3324 PyObject *resultobj;
3325 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3326 wxPyShape *result;
3327 PyObject * obj0 = 0 ;
3328 char *kwnames[] = {
3329 (char *) "self", NULL
3330 };
3331
3332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeEvtHandler_GetShape",kwnames,&obj0)) goto fail;
36ed4f51
RD
3333 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShapeEvtHandler, SWIG_POINTER_EXCEPTION | 0);
3334 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
3335 {
3336 PyThreadState* __tstate = wxPyBeginAllowThreads();
3337 result = (wxPyShape *)(arg1)->GetShape();
3338
3339 wxPyEndAllowThreads(__tstate);
3340 if (PyErr_Occurred()) SWIG_fail;
3341 }
3342 {
412d302d 3343 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
44127b65
RD
3344 }
3345 return resultobj;
3346 fail:
3347 return NULL;
3348}
3349
3350
c370783e 3351static PyObject *_wrap_PyShapeEvtHandler_SetPreviousHandler(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3352 PyObject *resultobj;
3353 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3354 wxPyShapeEvtHandler *arg2 = (wxPyShapeEvtHandler *) 0 ;
3355 PyObject * obj0 = 0 ;
3356 PyObject * obj1 = 0 ;
3357 char *kwnames[] = {
3358 (char *) "self",(char *) "handler", NULL
3359 };
3360
3361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_SetPreviousHandler",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3362 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShapeEvtHandler, SWIG_POINTER_EXCEPTION | 0);
3363 if (SWIG_arg_fail(1)) SWIG_fail;
3364 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyShapeEvtHandler, SWIG_POINTER_EXCEPTION | 0);
3365 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
3366 {
3367 PyThreadState* __tstate = wxPyBeginAllowThreads();
3368 (arg1)->SetPreviousHandler(arg2);
3369
3370 wxPyEndAllowThreads(__tstate);
3371 if (PyErr_Occurred()) SWIG_fail;
3372 }
3373 Py_INCREF(Py_None); resultobj = Py_None;
3374 return resultobj;
3375 fail:
3376 return NULL;
3377}
3378
3379
c370783e 3380static PyObject *_wrap_PyShapeEvtHandler_GetPreviousHandler(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3381 PyObject *resultobj;
3382 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3383 wxPyShapeEvtHandler *result;
3384 PyObject * obj0 = 0 ;
3385 char *kwnames[] = {
3386 (char *) "self", NULL
3387 };
3388
3389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeEvtHandler_GetPreviousHandler",kwnames,&obj0)) goto fail;
36ed4f51
RD
3390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShapeEvtHandler, SWIG_POINTER_EXCEPTION | 0);
3391 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
3392 {
3393 PyThreadState* __tstate = wxPyBeginAllowThreads();
3394 result = (wxPyShapeEvtHandler *)(arg1)->GetPreviousHandler();
3395
3396 wxPyEndAllowThreads(__tstate);
3397 if (PyErr_Occurred()) SWIG_fail;
3398 }
3399 {
412d302d 3400 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
44127b65
RD
3401 }
3402 return resultobj;
3403 fail:
3404 return NULL;
3405}
3406
3407
c370783e 3408static PyObject *_wrap_PyShapeEvtHandler_CreateNewCopy(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3409 PyObject *resultobj;
3410 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3411 wxPyShapeEvtHandler *result;
3412 PyObject * obj0 = 0 ;
3413 char *kwnames[] = {
3414 (char *) "self", NULL
3415 };
3416
3417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeEvtHandler_CreateNewCopy",kwnames,&obj0)) goto fail;
36ed4f51
RD
3418 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShapeEvtHandler, SWIG_POINTER_EXCEPTION | 0);
3419 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
3420 {
3421 PyThreadState* __tstate = wxPyBeginAllowThreads();
3422 result = (wxPyShapeEvtHandler *)(arg1)->CreateNewCopy();
3423
3424 wxPyEndAllowThreads(__tstate);
3425 if (PyErr_Occurred()) SWIG_fail;
3426 }
3427 {
412d302d 3428 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
44127b65
RD
3429 }
3430 return resultobj;
3431 fail:
3432 return NULL;
3433}
3434
3435
c370783e 3436static PyObject *_wrap_PyShapeEvtHandler_base_OnDelete(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3437 PyObject *resultobj;
3438 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3439 PyObject * obj0 = 0 ;
3440 char *kwnames[] = {
3441 (char *) "self", NULL
3442 };
3443
3444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeEvtHandler_base_OnDelete",kwnames,&obj0)) goto fail;
36ed4f51
RD
3445 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShapeEvtHandler, SWIG_POINTER_EXCEPTION | 0);
3446 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
3447 {
3448 PyThreadState* __tstate = wxPyBeginAllowThreads();
3449 (arg1)->base_OnDelete();
3450
3451 wxPyEndAllowThreads(__tstate);
3452 if (PyErr_Occurred()) SWIG_fail;
3453 }
3454 Py_INCREF(Py_None); resultobj = Py_None;
3455 return resultobj;
3456 fail:
3457 return NULL;
3458}
3459
3460
c370783e 3461static PyObject *_wrap_PyShapeEvtHandler_base_OnDraw(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3462 PyObject *resultobj;
3463 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3464 wxDC *arg2 = 0 ;
3465 PyObject * obj0 = 0 ;
3466 PyObject * obj1 = 0 ;
3467 char *kwnames[] = {
3468 (char *) "self",(char *) "dc", NULL
3469 };
3470
3471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShapeEvtHandler, SWIG_POINTER_EXCEPTION | 0);
3473 if (SWIG_arg_fail(1)) SWIG_fail;
3474 {
3475 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
3476 if (SWIG_arg_fail(2)) SWIG_fail;
3477 if (arg2 == NULL) {
3478 SWIG_null_ref("wxDC");
3479 }
3480 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
3481 }
3482 {
3483 PyThreadState* __tstate = wxPyBeginAllowThreads();
3484 (arg1)->base_OnDraw(*arg2);
3485
3486 wxPyEndAllowThreads(__tstate);
3487 if (PyErr_Occurred()) SWIG_fail;
3488 }
3489 Py_INCREF(Py_None); resultobj = Py_None;
3490 return resultobj;
3491 fail:
3492 return NULL;
3493}
3494
3495
c370783e 3496static PyObject *_wrap_PyShapeEvtHandler_base_OnDrawContents(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3497 PyObject *resultobj;
3498 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3499 wxDC *arg2 = 0 ;
3500 PyObject * obj0 = 0 ;
3501 PyObject * obj1 = 0 ;
3502 char *kwnames[] = {
3503 (char *) "self",(char *) "dc", NULL
3504 };
3505
3506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3507 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShapeEvtHandler, SWIG_POINTER_EXCEPTION | 0);
3508 if (SWIG_arg_fail(1)) SWIG_fail;
3509 {
3510 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
3511 if (SWIG_arg_fail(2)) SWIG_fail;
3512 if (arg2 == NULL) {
3513 SWIG_null_ref("wxDC");
3514 }
3515 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
3516 }
3517 {
3518 PyThreadState* __tstate = wxPyBeginAllowThreads();
3519 (arg1)->base_OnDrawContents(*arg2);
3520
3521 wxPyEndAllowThreads(__tstate);
3522 if (PyErr_Occurred()) SWIG_fail;
3523 }
3524 Py_INCREF(Py_None); resultobj = Py_None;
3525 return resultobj;
3526 fail:
3527 return NULL;
3528}
3529
3530
c370783e 3531static PyObject *_wrap_PyShapeEvtHandler_base_OnDrawBranches(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3532 PyObject *resultobj;
3533 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3534 wxDC *arg2 = 0 ;
b411df4a 3535 bool arg3 = (bool) false ;
44127b65
RD
3536 PyObject * obj0 = 0 ;
3537 PyObject * obj1 = 0 ;
3538 PyObject * obj2 = 0 ;
3539 char *kwnames[] = {
3540 (char *) "self",(char *) "dc",(char *) "erase", NULL
3541 };
3542
3543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShapeEvtHandler_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
3544 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShapeEvtHandler, SWIG_POINTER_EXCEPTION | 0);
3545 if (SWIG_arg_fail(1)) SWIG_fail;
3546 {
3547 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
3548 if (SWIG_arg_fail(2)) SWIG_fail;
3549 if (arg2 == NULL) {
3550 SWIG_null_ref("wxDC");
3551 }
3552 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
3553 }
3554 if (obj2) {
36ed4f51
RD
3555 {
3556 arg3 = (bool)(SWIG_As_bool(obj2));
3557 if (SWIG_arg_fail(3)) SWIG_fail;
3558 }
44127b65
RD
3559 }
3560 {
3561 PyThreadState* __tstate = wxPyBeginAllowThreads();
3562 (arg1)->base_OnDrawBranches(*arg2,arg3);
3563
3564 wxPyEndAllowThreads(__tstate);
3565 if (PyErr_Occurred()) SWIG_fail;
3566 }
3567 Py_INCREF(Py_None); resultobj = Py_None;
3568 return resultobj;
3569 fail:
3570 return NULL;
3571}
3572
3573
c370783e 3574static PyObject *_wrap_PyShapeEvtHandler_base_OnMoveLinks(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3575 PyObject *resultobj;
3576 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3577 wxDC *arg2 = 0 ;
3578 PyObject * obj0 = 0 ;
3579 PyObject * obj1 = 0 ;
3580 char *kwnames[] = {
3581 (char *) "self",(char *) "dc", NULL
3582 };
3583
3584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3585 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShapeEvtHandler, SWIG_POINTER_EXCEPTION | 0);
3586 if (SWIG_arg_fail(1)) SWIG_fail;
3587 {
3588 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
3589 if (SWIG_arg_fail(2)) SWIG_fail;
3590 if (arg2 == NULL) {
3591 SWIG_null_ref("wxDC");
3592 }
3593 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
3594 }
3595 {
3596 PyThreadState* __tstate = wxPyBeginAllowThreads();
3597 (arg1)->base_OnMoveLinks(*arg2);
3598
3599 wxPyEndAllowThreads(__tstate);
3600 if (PyErr_Occurred()) SWIG_fail;
3601 }
3602 Py_INCREF(Py_None); resultobj = Py_None;
3603 return resultobj;
3604 fail:
3605 return NULL;
3606}
3607
3608
c370783e 3609static PyObject *_wrap_PyShapeEvtHandler_base_OnErase(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3610 PyObject *resultobj;
3611 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3612 wxDC *arg2 = 0 ;
3613 PyObject * obj0 = 0 ;
3614 PyObject * obj1 = 0 ;
3615 char *kwnames[] = {
3616 (char *) "self",(char *) "dc", NULL
3617 };
3618
3619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3620 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShapeEvtHandler, SWIG_POINTER_EXCEPTION | 0);
3621 if (SWIG_arg_fail(1)) SWIG_fail;
3622 {
3623 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
3624 if (SWIG_arg_fail(2)) SWIG_fail;
3625 if (arg2 == NULL) {
3626 SWIG_null_ref("wxDC");
3627 }
3628 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
3629 }
3630 {
3631 PyThreadState* __tstate = wxPyBeginAllowThreads();
3632 (arg1)->base_OnErase(*arg2);
3633
3634 wxPyEndAllowThreads(__tstate);
3635 if (PyErr_Occurred()) SWIG_fail;
3636 }
3637 Py_INCREF(Py_None); resultobj = Py_None;
3638 return resultobj;
3639 fail:
3640 return NULL;
3641}
3642
3643
c370783e 3644static PyObject *_wrap_PyShapeEvtHandler_base_OnEraseContents(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3645 PyObject *resultobj;
3646 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3647 wxDC *arg2 = 0 ;
3648 PyObject * obj0 = 0 ;
3649 PyObject * obj1 = 0 ;
3650 char *kwnames[] = {
3651 (char *) "self",(char *) "dc", NULL
3652 };
3653
3654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3655 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShapeEvtHandler, SWIG_POINTER_EXCEPTION | 0);
3656 if (SWIG_arg_fail(1)) SWIG_fail;
3657 {
3658 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
3659 if (SWIG_arg_fail(2)) SWIG_fail;
3660 if (arg2 == NULL) {
3661 SWIG_null_ref("wxDC");
3662 }
3663 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
3664 }
3665 {
3666 PyThreadState* __tstate = wxPyBeginAllowThreads();
3667 (arg1)->base_OnEraseContents(*arg2);
3668
3669 wxPyEndAllowThreads(__tstate);
3670 if (PyErr_Occurred()) SWIG_fail;
3671 }
3672 Py_INCREF(Py_None); resultobj = Py_None;
3673 return resultobj;
3674 fail:
3675 return NULL;
3676}
3677
3678
c370783e 3679static PyObject *_wrap_PyShapeEvtHandler_base_OnHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3680 PyObject *resultobj;
3681 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3682 wxDC *arg2 = 0 ;
3683 PyObject * obj0 = 0 ;
3684 PyObject * obj1 = 0 ;
3685 char *kwnames[] = {
3686 (char *) "self",(char *) "dc", NULL
3687 };
3688
3689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3690 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShapeEvtHandler, SWIG_POINTER_EXCEPTION | 0);
3691 if (SWIG_arg_fail(1)) SWIG_fail;
3692 {
3693 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
3694 if (SWIG_arg_fail(2)) SWIG_fail;
3695 if (arg2 == NULL) {
3696 SWIG_null_ref("wxDC");
3697 }
3698 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
3699 }
3700 {
3701 PyThreadState* __tstate = wxPyBeginAllowThreads();
3702 (arg1)->base_OnHighlight(*arg2);
3703
3704 wxPyEndAllowThreads(__tstate);
3705 if (PyErr_Occurred()) SWIG_fail;
3706 }
3707 Py_INCREF(Py_None); resultobj = Py_None;
3708 return resultobj;
3709 fail:
3710 return NULL;
3711}
3712
3713
c370783e 3714static PyObject *_wrap_PyShapeEvtHandler_base_OnLeftClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3715 PyObject *resultobj;
3716 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3717 double arg2 ;
3718 double arg3 ;
3719 int arg4 = (int) 0 ;
3720 int arg5 = (int) 0 ;
3721 PyObject * obj0 = 0 ;
8edf1c75
RD
3722 PyObject * obj1 = 0 ;
3723 PyObject * obj2 = 0 ;
3724 PyObject * obj3 = 0 ;
3725 PyObject * obj4 = 0 ;
44127b65
RD
3726 char *kwnames[] = {
3727 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3728 };
3729
8edf1c75 3730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
3731 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShapeEvtHandler, SWIG_POINTER_EXCEPTION | 0);
3732 if (SWIG_arg_fail(1)) SWIG_fail;
3733 {
3734 arg2 = (double)(SWIG_As_double(obj1));
3735 if (SWIG_arg_fail(2)) SWIG_fail;
3736 }
3737 {
3738 arg3 = (double)(SWIG_As_double(obj2));
3739 if (SWIG_arg_fail(3)) SWIG_fail;
3740 }
8edf1c75 3741 if (obj3) {
36ed4f51
RD
3742 {
3743 arg4 = (int)(SWIG_As_int(obj3));
3744 if (SWIG_arg_fail(4)) SWIG_fail;
3745 }
8edf1c75
RD
3746 }
3747 if (obj4) {
36ed4f51
RD
3748 {
3749 arg5 = (int)(SWIG_As_int(obj4));
3750 if (SWIG_arg_fail(5)) SWIG_fail;
3751 }
8edf1c75 3752 }
44127b65
RD
3753 {
3754 PyThreadState* __tstate = wxPyBeginAllowThreads();
3755 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
3756
3757 wxPyEndAllowThreads(__tstate);
3758 if (PyErr_Occurred()) SWIG_fail;
3759 }
3760 Py_INCREF(Py_None); resultobj = Py_None;
3761 return resultobj;
3762 fail:
3763 return NULL;
3764}
3765
3766
c370783e 3767static PyObject *_wrap_PyShapeEvtHandler_base_OnLeftDoubleClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3768 PyObject *resultobj;
3769 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3770 double arg2 ;
3771 double arg3 ;
3772 int arg4 = (int) 0 ;
3773 int arg5 = (int) 0 ;
3774 PyObject * obj0 = 0 ;
8edf1c75
RD
3775 PyObject * obj1 = 0 ;
3776 PyObject * obj2 = 0 ;
3777 PyObject * obj3 = 0 ;
3778 PyObject * obj4 = 0 ;
44127b65
RD
3779 char *kwnames[] = {
3780 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3781 };
3782
8edf1c75 3783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
3784 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShapeEvtHandler, SWIG_POINTER_EXCEPTION | 0);
3785 if (SWIG_arg_fail(1)) SWIG_fail;
3786 {
3787 arg2 = (double)(SWIG_As_double(obj1));
3788 if (SWIG_arg_fail(2)) SWIG_fail;
3789 }
3790 {
3791 arg3 = (double)(SWIG_As_double(obj2));
3792 if (SWIG_arg_fail(3)) SWIG_fail;
3793 }
8edf1c75 3794 if (obj3) {
36ed4f51
RD
3795 {
3796 arg4 = (int)(SWIG_As_int(obj3));
3797 if (SWIG_arg_fail(4)) SWIG_fail;
3798 }
8edf1c75
RD
3799 }
3800 if (obj4) {
36ed4f51
RD
3801 {
3802 arg5 = (int)(SWIG_As_int(obj4));
3803 if (SWIG_arg_fail(5)) SWIG_fail;
3804 }
8edf1c75 3805 }
44127b65
RD
3806 {
3807 PyThreadState* __tstate = wxPyBeginAllowThreads();
3808 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
3809
3810 wxPyEndAllowThreads(__tstate);
3811 if (PyErr_Occurred()) SWIG_fail;
3812 }
3813 Py_INCREF(Py_None); resultobj = Py_None;
3814 return resultobj;
3815 fail:
3816 return NULL;
3817}
3818
3819
c370783e 3820static PyObject *_wrap_PyShapeEvtHandler_base_OnRightClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3821 PyObject *resultobj;
3822 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3823 double arg2 ;
3824 double arg3 ;
3825 int arg4 = (int) 0 ;
3826 int arg5 = (int) 0 ;
3827 PyObject * obj0 = 0 ;
8edf1c75
RD
3828 PyObject * obj1 = 0 ;
3829 PyObject * obj2 = 0 ;
3830 PyObject * obj3 = 0 ;
3831 PyObject * obj4 = 0 ;
44127b65
RD
3832 char *kwnames[] = {
3833 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
3834 };
3835
8edf1c75 3836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
3837 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShapeEvtHandler, SWIG_POINTER_EXCEPTION | 0);
3838 if (SWIG_arg_fail(1)) SWIG_fail;
3839 {
3840 arg2 = (double)(SWIG_As_double(obj1));
3841 if (SWIG_arg_fail(2)) SWIG_fail;
3842 }
3843 {
3844 arg3 = (double)(SWIG_As_double(obj2));
3845 if (SWIG_arg_fail(3)) SWIG_fail;
3846 }
8edf1c75 3847 if (obj3) {
36ed4f51
RD
3848 {
3849 arg4 = (int)(SWIG_As_int(obj3));
3850 if (SWIG_arg_fail(4)) SWIG_fail;
3851 }
8edf1c75
RD
3852 }
3853 if (obj4) {
36ed4f51
RD
3854 {
3855 arg5 = (int)(SWIG_As_int(obj4));
3856 if (SWIG_arg_fail(5)) SWIG_fail;
3857 }
8edf1c75 3858 }
44127b65
RD
3859 {
3860 PyThreadState* __tstate = wxPyBeginAllowThreads();
3861 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
3862
3863 wxPyEndAllowThreads(__tstate);
3864 if (PyErr_Occurred()) SWIG_fail;
3865 }
3866 Py_INCREF(Py_None); resultobj = Py_None;
3867 return resultobj;
3868 fail:
3869 return NULL;
3870}
3871
3872
c370783e 3873static PyObject *_wrap_PyShapeEvtHandler_base_OnSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3874 PyObject *resultobj;
3875 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3876 double arg2 ;
3877 double arg3 ;
3878 PyObject * obj0 = 0 ;
8edf1c75
RD
3879 PyObject * obj1 = 0 ;
3880 PyObject * obj2 = 0 ;
44127b65
RD
3881 char *kwnames[] = {
3882 (char *) "self",(char *) "x",(char *) "y", NULL
3883 };
3884
8edf1c75 3885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeEvtHandler_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
3886 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShapeEvtHandler, SWIG_POINTER_EXCEPTION | 0);
3887 if (SWIG_arg_fail(1)) SWIG_fail;
3888 {
3889 arg2 = (double)(SWIG_As_double(obj1));
3890 if (SWIG_arg_fail(2)) SWIG_fail;
3891 }
3892 {
3893 arg3 = (double)(SWIG_As_double(obj2));
3894 if (SWIG_arg_fail(3)) SWIG_fail;
3895 }
8edf1c75
RD
3896 {
3897 PyThreadState* __tstate = wxPyBeginAllowThreads();
3898 (arg1)->base_OnSize(arg2,arg3);
3899
3900 wxPyEndAllowThreads(__tstate);
44127b65
RD
3901 if (PyErr_Occurred()) SWIG_fail;
3902 }
3903 Py_INCREF(Py_None); resultobj = Py_None;
3904 return resultobj;
3905 fail:
3906 return NULL;
3907}
3908
3909
c370783e 3910static PyObject *_wrap_PyShapeEvtHandler_base_OnMovePre(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3911 PyObject *resultobj;
3912 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3913 wxDC *arg2 = 0 ;
3914 double arg3 ;
3915 double arg4 ;
3916 double arg5 ;
3917 double arg6 ;
b411df4a 3918 bool arg7 = (bool) true ;
44127b65
RD
3919 bool result;
3920 PyObject * obj0 = 0 ;
3921 PyObject * obj1 = 0 ;
8edf1c75
RD
3922 PyObject * obj2 = 0 ;
3923 PyObject * obj3 = 0 ;
3924 PyObject * obj4 = 0 ;
3925 PyObject * obj5 = 0 ;
44127b65
RD
3926 PyObject * obj6 = 0 ;
3927 char *kwnames[] = {
3928 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
3929 };
3930
8edf1c75 3931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyShapeEvtHandler_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
3932 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShapeEvtHandler, SWIG_POINTER_EXCEPTION | 0);
3933 if (SWIG_arg_fail(1)) SWIG_fail;
3934 {
3935 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
3936 if (SWIG_arg_fail(2)) SWIG_fail;
3937 if (arg2 == NULL) {
3938 SWIG_null_ref("wxDC");
3939 }
3940 if (SWIG_arg_fail(2)) SWIG_fail;
3941 }
3942 {
3943 arg3 = (double)(SWIG_As_double(obj2));
3944 if (SWIG_arg_fail(3)) SWIG_fail;
3945 }
3946 {
3947 arg4 = (double)(SWIG_As_double(obj3));
3948 if (SWIG_arg_fail(4)) SWIG_fail;
3949 }
3950 {
3951 arg5 = (double)(SWIG_As_double(obj4));
3952 if (SWIG_arg_fail(5)) SWIG_fail;
3953 }
3954 {
3955 arg6 = (double)(SWIG_As_double(obj5));
3956 if (SWIG_arg_fail(6)) SWIG_fail;
3957 }
44127b65 3958 if (obj6) {
36ed4f51
RD
3959 {
3960 arg7 = (bool)(SWIG_As_bool(obj6));
3961 if (SWIG_arg_fail(7)) SWIG_fail;
3962 }
44127b65
RD
3963 }
3964 {
3965 PyThreadState* __tstate = wxPyBeginAllowThreads();
3966 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
3967
3968 wxPyEndAllowThreads(__tstate);
3969 if (PyErr_Occurred()) SWIG_fail;
3970 }
fbc46b20
RD
3971 {
3972 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3973 }
44127b65
RD
3974 return resultobj;
3975 fail:
3976 return NULL;
3977}
3978
3979
c370783e 3980static PyObject *_wrap_PyShapeEvtHandler_base_OnMovePost(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3981 PyObject *resultobj;
3982 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
3983 wxDC *arg2 = 0 ;
3984 double arg3 ;
3985 double arg4 ;
3986 double arg5 ;
3987 double arg6 ;
b411df4a 3988 bool arg7 = (bool) true ;
44127b65
RD
3989 PyObject * obj0 = 0 ;
3990 PyObject * obj1 = 0 ;
8edf1c75
RD
3991 PyObject * obj2 = 0 ;
3992 PyObject * obj3 = 0 ;
3993 PyObject * obj4 = 0 ;
3994 PyObject * obj5 = 0 ;
44127b65
RD
3995 PyObject * obj6 = 0 ;
3996 char *kwnames[] = {
3997 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
3998 };
3999
8edf1c75 4000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyShapeEvtHandler_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
4001 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShapeEvtHandler, SWIG_POINTER_EXCEPTION | 0);
4002 if (SWIG_arg_fail(1)) SWIG_fail;
4003 {
4004 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
4005 if (SWIG_arg_fail(2)) SWIG_fail;
4006 if (arg2 == NULL) {
4007 SWIG_null_ref("wxDC");
4008 }
4009 if (SWIG_arg_fail(2)) SWIG_fail;
4010 }
4011 {
4012 arg3 = (double)(SWIG_As_double(obj2));
4013 if (SWIG_arg_fail(3)) SWIG_fail;
4014 }
4015 {
4016 arg4 = (double)(SWIG_As_double(obj3));
4017 if (SWIG_arg_fail(4)) SWIG_fail;
4018 }
4019 {
4020 arg5 = (double)(SWIG_As_double(obj4));
4021 if (SWIG_arg_fail(5)) SWIG_fail;
4022 }
4023 {
4024 arg6 = (double)(SWIG_As_double(obj5));
4025 if (SWIG_arg_fail(6)) SWIG_fail;
4026 }
44127b65 4027 if (obj6) {
36ed4f51
RD
4028 {
4029 arg7 = (bool)(SWIG_As_bool(obj6));
4030 if (SWIG_arg_fail(7)) SWIG_fail;
4031 }
44127b65
RD
4032 }
4033 {
4034 PyThreadState* __tstate = wxPyBeginAllowThreads();
4035 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
4036
4037 wxPyEndAllowThreads(__tstate);
4038 if (PyErr_Occurred()) SWIG_fail;
4039 }
4040 Py_INCREF(Py_None); resultobj = Py_None;
4041 return resultobj;
4042 fail:
4043 return NULL;
4044}
4045
4046
c370783e 4047static PyObject *_wrap_PyShapeEvtHandler_base_OnDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4048 PyObject *resultobj;
4049 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
4050 bool arg2 ;
4051 double arg3 ;
4052 double arg4 ;
4053 int arg5 = (int) 0 ;
4054 int arg6 = (int) 0 ;
4055 PyObject * obj0 = 0 ;
4056 PyObject * obj1 = 0 ;
8edf1c75
RD
4057 PyObject * obj2 = 0 ;
4058 PyObject * obj3 = 0 ;
4059 PyObject * obj4 = 0 ;
4060 PyObject * obj5 = 0 ;
44127b65
RD
4061 char *kwnames[] = {
4062 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
4063 };
4064
8edf1c75 4065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
4066 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShapeEvtHandler, SWIG_POINTER_EXCEPTION | 0);
4067 if (SWIG_arg_fail(1)) SWIG_fail;
4068 {
4069 arg2 = (bool)(SWIG_As_bool(obj1));
4070 if (SWIG_arg_fail(2)) SWIG_fail;
4071 }
4072 {
4073 arg3 = (double)(SWIG_As_double(obj2));
4074 if (SWIG_arg_fail(3)) SWIG_fail;
4075 }
4076 {
4077 arg4 = (double)(SWIG_As_double(obj3));
4078 if (SWIG_arg_fail(4)) SWIG_fail;
4079 }
8edf1c75 4080 if (obj4) {
36ed4f51
RD
4081 {
4082 arg5 = (int)(SWIG_As_int(obj4));
4083 if (SWIG_arg_fail(5)) SWIG_fail;
4084 }
8edf1c75
RD
4085 }
4086 if (obj5) {
36ed4f51
RD
4087 {
4088 arg6 = (int)(SWIG_As_int(obj5));
4089 if (SWIG_arg_fail(6)) SWIG_fail;
4090 }
8edf1c75 4091 }
44127b65
RD
4092 {
4093 PyThreadState* __tstate = wxPyBeginAllowThreads();
4094 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
4095
4096 wxPyEndAllowThreads(__tstate);
4097 if (PyErr_Occurred()) SWIG_fail;
4098 }
4099 Py_INCREF(Py_None); resultobj = Py_None;
4100 return resultobj;
4101 fail:
4102 return NULL;
4103}
4104
4105
c370783e 4106static PyObject *_wrap_PyShapeEvtHandler_base_OnBeginDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4107 PyObject *resultobj;
4108 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
4109 double arg2 ;
4110 double arg3 ;
4111 int arg4 = (int) 0 ;
4112 int arg5 = (int) 0 ;
4113 PyObject * obj0 = 0 ;
8edf1c75
RD
4114 PyObject * obj1 = 0 ;
4115 PyObject * obj2 = 0 ;
4116 PyObject * obj3 = 0 ;
4117 PyObject * obj4 = 0 ;
44127b65
RD
4118 char *kwnames[] = {
4119 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
4120 };
4121
8edf1c75 4122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
4123 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShapeEvtHandler, SWIG_POINTER_EXCEPTION | 0);
4124 if (SWIG_arg_fail(1)) SWIG_fail;
4125 {
4126 arg2 = (double)(SWIG_As_double(obj1));
4127 if (SWIG_arg_fail(2)) SWIG_fail;
4128 }
4129 {
4130 arg3 = (double)(SWIG_As_double(obj2));
4131 if (SWIG_arg_fail(3)) SWIG_fail;
4132 }
8edf1c75 4133 if (obj3) {
36ed4f51
RD
4134 {
4135 arg4 = (int)(SWIG_As_int(obj3));
4136 if (SWIG_arg_fail(4)) SWIG_fail;
4137 }
8edf1c75
RD
4138 }
4139 if (obj4) {
36ed4f51
RD
4140 {
4141 arg5 = (int)(SWIG_As_int(obj4));
4142 if (SWIG_arg_fail(5)) SWIG_fail;
4143 }
8edf1c75 4144 }
44127b65
RD
4145 {
4146 PyThreadState* __tstate = wxPyBeginAllowThreads();
4147 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
4148
4149 wxPyEndAllowThreads(__tstate);
4150 if (PyErr_Occurred()) SWIG_fail;
4151 }
4152 Py_INCREF(Py_None); resultobj = Py_None;
4153 return resultobj;
4154 fail:
4155 return NULL;
4156}
4157
4158
c370783e 4159static PyObject *_wrap_PyShapeEvtHandler_base_OnEndDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4160 PyObject *resultobj;
4161 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
4162 double arg2 ;
4163 double arg3 ;
4164 int arg4 = (int) 0 ;
4165 int arg5 = (int) 0 ;
4166 PyObject * obj0 = 0 ;
8edf1c75
RD
4167 PyObject * obj1 = 0 ;
4168 PyObject * obj2 = 0 ;
4169 PyObject * obj3 = 0 ;
4170 PyObject * obj4 = 0 ;
44127b65
RD
4171 char *kwnames[] = {
4172 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
4173 };
4174
8edf1c75 4175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
4176 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShapeEvtHandler, SWIG_POINTER_EXCEPTION | 0);
4177 if (SWIG_arg_fail(1)) SWIG_fail;
4178 {
4179 arg2 = (double)(SWIG_As_double(obj1));
4180 if (SWIG_arg_fail(2)) SWIG_fail;
4181 }
4182 {
4183 arg3 = (double)(SWIG_As_double(obj2));
4184 if (SWIG_arg_fail(3)) SWIG_fail;
4185 }
8edf1c75 4186 if (obj3) {
36ed4f51
RD
4187 {
4188 arg4 = (int)(SWIG_As_int(obj3));
4189 if (SWIG_arg_fail(4)) SWIG_fail;
4190 }
8edf1c75
RD
4191 }
4192 if (obj4) {
36ed4f51
RD
4193 {
4194 arg5 = (int)(SWIG_As_int(obj4));
4195 if (SWIG_arg_fail(5)) SWIG_fail;
4196 }
8edf1c75 4197 }
44127b65
RD
4198 {
4199 PyThreadState* __tstate = wxPyBeginAllowThreads();
4200 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
4201
4202 wxPyEndAllowThreads(__tstate);
4203 if (PyErr_Occurred()) SWIG_fail;
4204 }
4205 Py_INCREF(Py_None); resultobj = Py_None;
4206 return resultobj;
4207 fail:
4208 return NULL;
4209}
4210
4211
c370783e 4212static PyObject *_wrap_PyShapeEvtHandler_base_OnDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4213 PyObject *resultobj;
4214 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
4215 bool arg2 ;
4216 double arg3 ;
4217 double arg4 ;
4218 int arg5 = (int) 0 ;
4219 int arg6 = (int) 0 ;
4220 PyObject * obj0 = 0 ;
4221 PyObject * obj1 = 0 ;
8edf1c75
RD
4222 PyObject * obj2 = 0 ;
4223 PyObject * obj3 = 0 ;
4224 PyObject * obj4 = 0 ;
4225 PyObject * obj5 = 0 ;
44127b65
RD
4226 char *kwnames[] = {
4227 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
4228 };
4229
8edf1c75 4230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
4231 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShapeEvtHandler, SWIG_POINTER_EXCEPTION | 0);
4232 if (SWIG_arg_fail(1)) SWIG_fail;
4233 {
4234 arg2 = (bool)(SWIG_As_bool(obj1));
4235 if (SWIG_arg_fail(2)) SWIG_fail;
4236 }
4237 {
4238 arg3 = (double)(SWIG_As_double(obj2));
4239 if (SWIG_arg_fail(3)) SWIG_fail;
4240 }
4241 {
4242 arg4 = (double)(SWIG_As_double(obj3));
4243 if (SWIG_arg_fail(4)) SWIG_fail;
4244 }
8edf1c75 4245 if (obj4) {
36ed4f51
RD
4246 {
4247 arg5 = (int)(SWIG_As_int(obj4));
4248 if (SWIG_arg_fail(5)) SWIG_fail;
4249 }
8edf1c75
RD
4250 }
4251 if (obj5) {
36ed4f51
RD
4252 {
4253 arg6 = (int)(SWIG_As_int(obj5));
4254 if (SWIG_arg_fail(6)) SWIG_fail;
4255 }
8edf1c75 4256 }
44127b65
RD
4257 {
4258 PyThreadState* __tstate = wxPyBeginAllowThreads();
4259 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
4260
4261 wxPyEndAllowThreads(__tstate);
4262 if (PyErr_Occurred()) SWIG_fail;
4263 }
4264 Py_INCREF(Py_None); resultobj = Py_None;
4265 return resultobj;
4266 fail:
4267 return NULL;
4268}
4269
4270
c370783e 4271static PyObject *_wrap_PyShapeEvtHandler_base_OnBeginDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4272 PyObject *resultobj;
4273 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
4274 double arg2 ;
4275 double arg3 ;
4276 int arg4 = (int) 0 ;
4277 int arg5 = (int) 0 ;
4278 PyObject * obj0 = 0 ;
8edf1c75
RD
4279 PyObject * obj1 = 0 ;
4280 PyObject * obj2 = 0 ;
4281 PyObject * obj3 = 0 ;
4282 PyObject * obj4 = 0 ;
44127b65
RD
4283 char *kwnames[] = {
4284 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
4285 };
4286
8edf1c75 4287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
4288 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShapeEvtHandler, SWIG_POINTER_EXCEPTION | 0);
4289 if (SWIG_arg_fail(1)) SWIG_fail;
4290 {
4291 arg2 = (double)(SWIG_As_double(obj1));
4292 if (SWIG_arg_fail(2)) SWIG_fail;
4293 }
4294 {
4295 arg3 = (double)(SWIG_As_double(obj2));
4296 if (SWIG_arg_fail(3)) SWIG_fail;
4297 }
8edf1c75 4298 if (obj3) {
36ed4f51
RD
4299 {
4300 arg4 = (int)(SWIG_As_int(obj3));
4301 if (SWIG_arg_fail(4)) SWIG_fail;
4302 }
8edf1c75
RD
4303 }
4304 if (obj4) {
36ed4f51
RD
4305 {
4306 arg5 = (int)(SWIG_As_int(obj4));
4307 if (SWIG_arg_fail(5)) SWIG_fail;
4308 }
8edf1c75 4309 }
44127b65
RD
4310 {
4311 PyThreadState* __tstate = wxPyBeginAllowThreads();
4312 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
4313
4314 wxPyEndAllowThreads(__tstate);
4315 if (PyErr_Occurred()) SWIG_fail;
4316 }
4317 Py_INCREF(Py_None); resultobj = Py_None;
4318 return resultobj;
4319 fail:
4320 return NULL;
4321}
4322
4323
c370783e 4324static PyObject *_wrap_PyShapeEvtHandler_base_OnEndDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4325 PyObject *resultobj;
4326 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
4327 double arg2 ;
4328 double arg3 ;
4329 int arg4 = (int) 0 ;
4330 int arg5 = (int) 0 ;
4331 PyObject * obj0 = 0 ;
8edf1c75
RD
4332 PyObject * obj1 = 0 ;
4333 PyObject * obj2 = 0 ;
4334 PyObject * obj3 = 0 ;
4335 PyObject * obj4 = 0 ;
44127b65
RD
4336 char *kwnames[] = {
4337 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
4338 };
4339
8edf1c75 4340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeEvtHandler_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
4341 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShapeEvtHandler, SWIG_POINTER_EXCEPTION | 0);
4342 if (SWIG_arg_fail(1)) SWIG_fail;
4343 {
4344 arg2 = (double)(SWIG_As_double(obj1));
4345 if (SWIG_arg_fail(2)) SWIG_fail;
4346 }
4347 {
4348 arg3 = (double)(SWIG_As_double(obj2));
4349 if (SWIG_arg_fail(3)) SWIG_fail;
4350 }
2f4c0a16 4351 if (obj3) {
36ed4f51
RD
4352 {
4353 arg4 = (int)(SWIG_As_int(obj3));
4354 if (SWIG_arg_fail(4)) SWIG_fail;
4355 }
8edf1c75 4356 }
2f4c0a16 4357 if (obj4) {
36ed4f51
RD
4358 {
4359 arg5 = (int)(SWIG_As_int(obj4));
4360 if (SWIG_arg_fail(5)) SWIG_fail;
4361 }
8edf1c75 4362 }
44127b65
RD
4363 {
4364 PyThreadState* __tstate = wxPyBeginAllowThreads();
4365 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
4366
4367 wxPyEndAllowThreads(__tstate);
4368 if (PyErr_Occurred()) SWIG_fail;
4369 }
4370 Py_INCREF(Py_None); resultobj = Py_None;
4371 return resultobj;
4372 fail:
4373 return NULL;
4374}
4375
4376
c370783e 4377static PyObject *_wrap_PyShapeEvtHandler_base_OnDrawOutline(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4378 PyObject *resultobj;
4379 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
4380 wxDC *arg2 = 0 ;
4381 double arg3 ;
4382 double arg4 ;
4383 double arg5 ;
4384 double arg6 ;
4385 PyObject * obj0 = 0 ;
4386 PyObject * obj1 = 0 ;
8edf1c75
RD
4387 PyObject * obj2 = 0 ;
4388 PyObject * obj3 = 0 ;
4389 PyObject * obj4 = 0 ;
4390 PyObject * obj5 = 0 ;
44127b65
RD
4391 char *kwnames[] = {
4392 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
4393 };
4394
8edf1c75 4395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyShapeEvtHandler_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
4396 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShapeEvtHandler, SWIG_POINTER_EXCEPTION | 0);
4397 if (SWIG_arg_fail(1)) SWIG_fail;
4398 {
4399 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
4400 if (SWIG_arg_fail(2)) SWIG_fail;
4401 if (arg2 == NULL) {
4402 SWIG_null_ref("wxDC");
4403 }
4404 if (SWIG_arg_fail(2)) SWIG_fail;
4405 }
4406 {
4407 arg3 = (double)(SWIG_As_double(obj2));
4408 if (SWIG_arg_fail(3)) SWIG_fail;
4409 }
4410 {
4411 arg4 = (double)(SWIG_As_double(obj3));
4412 if (SWIG_arg_fail(4)) SWIG_fail;
4413 }
4414 {
4415 arg5 = (double)(SWIG_As_double(obj4));
4416 if (SWIG_arg_fail(5)) SWIG_fail;
4417 }
4418 {
4419 arg6 = (double)(SWIG_As_double(obj5));
4420 if (SWIG_arg_fail(6)) SWIG_fail;
4421 }
44127b65
RD
4422 {
4423 PyThreadState* __tstate = wxPyBeginAllowThreads();
4424 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
4425
4426 wxPyEndAllowThreads(__tstate);
4427 if (PyErr_Occurred()) SWIG_fail;
4428 }
4429 Py_INCREF(Py_None); resultobj = Py_None;
4430 return resultobj;
4431 fail:
4432 return NULL;
4433}
4434
4435
c370783e 4436static PyObject *_wrap_PyShapeEvtHandler_base_OnDrawControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4437 PyObject *resultobj;
4438 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
4439 wxDC *arg2 = 0 ;
4440 PyObject * obj0 = 0 ;
4441 PyObject * obj1 = 0 ;
4442 char *kwnames[] = {
4443 (char *) "self",(char *) "dc", NULL
4444 };
4445
4446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4447 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShapeEvtHandler, SWIG_POINTER_EXCEPTION | 0);
4448 if (SWIG_arg_fail(1)) SWIG_fail;
4449 {
4450 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
4451 if (SWIG_arg_fail(2)) SWIG_fail;
4452 if (arg2 == NULL) {
4453 SWIG_null_ref("wxDC");
4454 }
4455 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
4456 }
4457 {
4458 PyThreadState* __tstate = wxPyBeginAllowThreads();
4459 (arg1)->base_OnDrawControlPoints(*arg2);
4460
4461 wxPyEndAllowThreads(__tstate);
4462 if (PyErr_Occurred()) SWIG_fail;
4463 }
4464 Py_INCREF(Py_None); resultobj = Py_None;
4465 return resultobj;
4466 fail:
4467 return NULL;
4468}
4469
4470
c370783e 4471static PyObject *_wrap_PyShapeEvtHandler_base_OnEraseControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4472 PyObject *resultobj;
4473 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
4474 wxDC *arg2 = 0 ;
4475 PyObject * obj0 = 0 ;
4476 PyObject * obj1 = 0 ;
4477 char *kwnames[] = {
4478 (char *) "self",(char *) "dc", NULL
4479 };
4480
4481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeEvtHandler_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4482 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShapeEvtHandler, SWIG_POINTER_EXCEPTION | 0);
4483 if (SWIG_arg_fail(1)) SWIG_fail;
4484 {
4485 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
4486 if (SWIG_arg_fail(2)) SWIG_fail;
4487 if (arg2 == NULL) {
4488 SWIG_null_ref("wxDC");
4489 }
4490 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
4491 }
4492 {
4493 PyThreadState* __tstate = wxPyBeginAllowThreads();
4494 (arg1)->base_OnEraseControlPoints(*arg2);
4495
4496 wxPyEndAllowThreads(__tstate);
4497 if (PyErr_Occurred()) SWIG_fail;
4498 }
4499 Py_INCREF(Py_None); resultobj = Py_None;
4500 return resultobj;
4501 fail:
4502 return NULL;
4503}
4504
4505
c370783e 4506static PyObject *_wrap_PyShapeEvtHandler_base_OnMoveLink(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4507 PyObject *resultobj;
4508 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
4509 wxDC *arg2 = 0 ;
b411df4a 4510 bool arg3 = (bool) true ;
44127b65
RD
4511 PyObject * obj0 = 0 ;
4512 PyObject * obj1 = 0 ;
4513 PyObject * obj2 = 0 ;
4514 char *kwnames[] = {
4515 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
4516 };
4517
4518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShapeEvtHandler_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
4519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShapeEvtHandler, SWIG_POINTER_EXCEPTION | 0);
4520 if (SWIG_arg_fail(1)) SWIG_fail;
4521 {
4522 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
4523 if (SWIG_arg_fail(2)) SWIG_fail;
4524 if (arg2 == NULL) {
4525 SWIG_null_ref("wxDC");
4526 }
4527 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
4528 }
4529 if (obj2) {
36ed4f51
RD
4530 {
4531 arg3 = (bool)(SWIG_As_bool(obj2));
4532 if (SWIG_arg_fail(3)) SWIG_fail;
4533 }
44127b65
RD
4534 }
4535 {
4536 PyThreadState* __tstate = wxPyBeginAllowThreads();
4537 (arg1)->base_OnMoveLink(*arg2,arg3);
4538
4539 wxPyEndAllowThreads(__tstate);
4540 if (PyErr_Occurred()) SWIG_fail;
4541 }
4542 Py_INCREF(Py_None); resultobj = Py_None;
4543 return resultobj;
4544 fail:
4545 return NULL;
4546}
4547
4548
c370783e 4549static PyObject *_wrap_PyShapeEvtHandler_base_OnSizingDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4550 PyObject *resultobj;
4551 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
4552 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
4553 bool arg3 ;
4554 double arg4 ;
4555 double arg5 ;
4556 int arg6 = (int) 0 ;
4557 int arg7 = (int) 0 ;
4558 PyObject * obj0 = 0 ;
4559 PyObject * obj1 = 0 ;
4560 PyObject * obj2 = 0 ;
8edf1c75
RD
4561 PyObject * obj3 = 0 ;
4562 PyObject * obj4 = 0 ;
4563 PyObject * obj5 = 0 ;
4564 PyObject * obj6 = 0 ;
44127b65
RD
4565 char *kwnames[] = {
4566 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
4567 };
4568
8edf1c75 4569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyShapeEvtHandler_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
4570 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShapeEvtHandler, SWIG_POINTER_EXCEPTION | 0);
4571 if (SWIG_arg_fail(1)) SWIG_fail;
4572 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
4573 if (SWIG_arg_fail(2)) SWIG_fail;
4574 {
4575 arg3 = (bool)(SWIG_As_bool(obj2));
4576 if (SWIG_arg_fail(3)) SWIG_fail;
4577 }
4578 {
4579 arg4 = (double)(SWIG_As_double(obj3));
4580 if (SWIG_arg_fail(4)) SWIG_fail;
4581 }
4582 {
4583 arg5 = (double)(SWIG_As_double(obj4));
4584 if (SWIG_arg_fail(5)) SWIG_fail;
4585 }
8edf1c75 4586 if (obj5) {
36ed4f51
RD
4587 {
4588 arg6 = (int)(SWIG_As_int(obj5));
4589 if (SWIG_arg_fail(6)) SWIG_fail;
4590 }
8edf1c75
RD
4591 }
4592 if (obj6) {
36ed4f51
RD
4593 {
4594 arg7 = (int)(SWIG_As_int(obj6));
4595 if (SWIG_arg_fail(7)) SWIG_fail;
4596 }
8edf1c75 4597 }
44127b65
RD
4598 {
4599 PyThreadState* __tstate = wxPyBeginAllowThreads();
4600 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
4601
4602 wxPyEndAllowThreads(__tstate);
4603 if (PyErr_Occurred()) SWIG_fail;
4604 }
4605 Py_INCREF(Py_None); resultobj = Py_None;
4606 return resultobj;
4607 fail:
4608 return NULL;
4609}
4610
4611
c370783e 4612static PyObject *_wrap_PyShapeEvtHandler_base_OnSizingBeginDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4613 PyObject *resultobj;
4614 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
4615 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
4616 double arg3 ;
4617 double arg4 ;
4618 int arg5 = (int) 0 ;
4619 int arg6 = (int) 0 ;
4620 PyObject * obj0 = 0 ;
4621 PyObject * obj1 = 0 ;
8edf1c75
RD
4622 PyObject * obj2 = 0 ;
4623 PyObject * obj3 = 0 ;
4624 PyObject * obj4 = 0 ;
4625 PyObject * obj5 = 0 ;
44127b65
RD
4626 char *kwnames[] = {
4627 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
4628 };
4629
8edf1c75 4630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
4631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShapeEvtHandler, SWIG_POINTER_EXCEPTION | 0);
4632 if (SWIG_arg_fail(1)) SWIG_fail;
4633 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
4634 if (SWIG_arg_fail(2)) SWIG_fail;
4635 {
4636 arg3 = (double)(SWIG_As_double(obj2));
4637 if (SWIG_arg_fail(3)) SWIG_fail;
4638 }
4639 {
4640 arg4 = (double)(SWIG_As_double(obj3));
4641 if (SWIG_arg_fail(4)) SWIG_fail;
4642 }
8edf1c75 4643 if (obj4) {
36ed4f51
RD
4644 {
4645 arg5 = (int)(SWIG_As_int(obj4));
4646 if (SWIG_arg_fail(5)) SWIG_fail;
4647 }
8edf1c75
RD
4648 }
4649 if (obj5) {
36ed4f51
RD
4650 {
4651 arg6 = (int)(SWIG_As_int(obj5));
4652 if (SWIG_arg_fail(6)) SWIG_fail;
4653 }
8edf1c75 4654 }
44127b65
RD
4655 {
4656 PyThreadState* __tstate = wxPyBeginAllowThreads();
4657 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
4658
4659 wxPyEndAllowThreads(__tstate);
4660 if (PyErr_Occurred()) SWIG_fail;
4661 }
4662 Py_INCREF(Py_None); resultobj = Py_None;
4663 return resultobj;
4664 fail:
4665 return NULL;
4666}
4667
4668
c370783e 4669static PyObject *_wrap_PyShapeEvtHandler_base_OnSizingEndDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4670 PyObject *resultobj;
4671 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
4672 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
4673 double arg3 ;
4674 double arg4 ;
4675 int arg5 = (int) 0 ;
4676 int arg6 = (int) 0 ;
4677 PyObject * obj0 = 0 ;
4678 PyObject * obj1 = 0 ;
8edf1c75
RD
4679 PyObject * obj2 = 0 ;
4680 PyObject * obj3 = 0 ;
4681 PyObject * obj4 = 0 ;
4682 PyObject * obj5 = 0 ;
44127b65
RD
4683 char *kwnames[] = {
4684 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
4685 };
4686
8edf1c75 4687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShapeEvtHandler_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
4688 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShapeEvtHandler, SWIG_POINTER_EXCEPTION | 0);
4689 if (SWIG_arg_fail(1)) SWIG_fail;
4690 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
4691 if (SWIG_arg_fail(2)) SWIG_fail;
4692 {
4693 arg3 = (double)(SWIG_As_double(obj2));
4694 if (SWIG_arg_fail(3)) SWIG_fail;
4695 }
4696 {
4697 arg4 = (double)(SWIG_As_double(obj3));
4698 if (SWIG_arg_fail(4)) SWIG_fail;
4699 }
8edf1c75 4700 if (obj4) {
36ed4f51
RD
4701 {
4702 arg5 = (int)(SWIG_As_int(obj4));
4703 if (SWIG_arg_fail(5)) SWIG_fail;
4704 }
8edf1c75
RD
4705 }
4706 if (obj5) {
36ed4f51
RD
4707 {
4708 arg6 = (int)(SWIG_As_int(obj5));
4709 if (SWIG_arg_fail(6)) SWIG_fail;
4710 }
8edf1c75 4711 }
44127b65
RD
4712 {
4713 PyThreadState* __tstate = wxPyBeginAllowThreads();
4714 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
4715
4716 wxPyEndAllowThreads(__tstate);
4717 if (PyErr_Occurred()) SWIG_fail;
4718 }
4719 Py_INCREF(Py_None); resultobj = Py_None;
4720 return resultobj;
4721 fail:
4722 return NULL;
4723}
4724
4725
c370783e 4726static PyObject *_wrap_PyShapeEvtHandler_base_OnBeginSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4727 PyObject *resultobj;
4728 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
4729 double arg2 ;
4730 double arg3 ;
4731 PyObject * obj0 = 0 ;
8edf1c75
RD
4732 PyObject * obj1 = 0 ;
4733 PyObject * obj2 = 0 ;
44127b65
RD
4734 char *kwnames[] = {
4735 (char *) "self",(char *) "w",(char *) "h", NULL
4736 };
4737
8edf1c75 4738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeEvtHandler_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
4739 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShapeEvtHandler, SWIG_POINTER_EXCEPTION | 0);
4740 if (SWIG_arg_fail(1)) SWIG_fail;
4741 {
4742 arg2 = (double)(SWIG_As_double(obj1));
4743 if (SWIG_arg_fail(2)) SWIG_fail;
4744 }
4745 {
4746 arg3 = (double)(SWIG_As_double(obj2));
4747 if (SWIG_arg_fail(3)) SWIG_fail;
4748 }
44127b65
RD
4749 {
4750 PyThreadState* __tstate = wxPyBeginAllowThreads();
4751 (arg1)->base_OnBeginSize(arg2,arg3);
4752
4753 wxPyEndAllowThreads(__tstate);
4754 if (PyErr_Occurred()) SWIG_fail;
4755 }
4756 Py_INCREF(Py_None); resultobj = Py_None;
4757 return resultobj;
4758 fail:
4759 return NULL;
4760}
4761
4762
c370783e 4763static PyObject *_wrap_PyShapeEvtHandler_base_OnEndSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4764 PyObject *resultobj;
4765 wxPyShapeEvtHandler *arg1 = (wxPyShapeEvtHandler *) 0 ;
4766 double arg2 ;
4767 double arg3 ;
4768 PyObject * obj0 = 0 ;
8edf1c75
RD
4769 PyObject * obj1 = 0 ;
4770 PyObject * obj2 = 0 ;
44127b65
RD
4771 char *kwnames[] = {
4772 (char *) "self",(char *) "w",(char *) "h", NULL
4773 };
4774
8edf1c75 4775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeEvtHandler_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
4776 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShapeEvtHandler, SWIG_POINTER_EXCEPTION | 0);
4777 if (SWIG_arg_fail(1)) SWIG_fail;
4778 {
4779 arg2 = (double)(SWIG_As_double(obj1));
4780 if (SWIG_arg_fail(2)) SWIG_fail;
4781 }
4782 {
4783 arg3 = (double)(SWIG_As_double(obj2));
4784 if (SWIG_arg_fail(3)) SWIG_fail;
4785 }
44127b65
RD
4786 {
4787 PyThreadState* __tstate = wxPyBeginAllowThreads();
4788 (arg1)->base_OnEndSize(arg2,arg3);
4789
4790 wxPyEndAllowThreads(__tstate);
4791 if (PyErr_Occurred()) SWIG_fail;
4792 }
4793 Py_INCREF(Py_None); resultobj = Py_None;
4794 return resultobj;
4795 fail:
4796 return NULL;
4797}
4798
4799
c370783e 4800static PyObject * PyShapeEvtHandler_swigregister(PyObject *, PyObject *args) {
44127b65
RD
4801 PyObject *obj;
4802 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4803 SWIG_TypeClientData(SWIGTYPE_p_wxPyShapeEvtHandler, obj);
4804 Py_INCREF(obj);
4805 return Py_BuildValue((char *)"");
4806}
c370783e 4807static PyObject *_wrap_new_PyShape(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4808 PyObject *resultobj;
4809 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) NULL ;
4810 wxPyShape *result;
4811 PyObject * obj0 = 0 ;
4812 char *kwnames[] = {
4813 (char *) "can", NULL
4814 };
4815
4816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyShape",kwnames,&obj0)) goto fail;
4817 if (obj0) {
36ed4f51
RD
4818 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShapeCanvas, SWIG_POINTER_EXCEPTION | 0);
4819 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
4820 }
4821 {
4822 PyThreadState* __tstate = wxPyBeginAllowThreads();
4823 result = (wxPyShape *)new wxPyShape(arg1);
4824
4825 wxPyEndAllowThreads(__tstate);
4826 if (PyErr_Occurred()) SWIG_fail;
4827 }
b0f7404b 4828 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyShape, 1);
44127b65
RD
4829 return resultobj;
4830 fail:
4831 return NULL;
4832}
4833
4834
c370783e 4835static PyObject *_wrap_PyShape__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4836 PyObject *resultobj;
4837 wxPyShape *arg1 = (wxPyShape *) 0 ;
4838 PyObject *arg2 = (PyObject *) 0 ;
4839 PyObject *arg3 = (PyObject *) 0 ;
4840 PyObject * obj0 = 0 ;
4841 PyObject * obj1 = 0 ;
4842 PyObject * obj2 = 0 ;
4843 char *kwnames[] = {
4844 (char *) "self",(char *) "self",(char *) "_class", NULL
4845 };
4846
4847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
4848 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
4849 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
4850 arg2 = obj1;
4851 arg3 = obj2;
4852 {
4853 PyThreadState* __tstate = wxPyBeginAllowThreads();
4854 (arg1)->_setCallbackInfo(arg2,arg3);
4855
4856 wxPyEndAllowThreads(__tstate);
4857 if (PyErr_Occurred()) SWIG_fail;
4858 }
4859 Py_INCREF(Py_None); resultobj = Py_None;
4860 return resultobj;
4861 fail:
4862 return NULL;
4863}
4864
4865
c370783e 4866static PyObject *_wrap_PyShape_GetBoundingBoxMax(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4867 PyObject *resultobj;
4868 wxPyShape *arg1 = (wxPyShape *) 0 ;
4869 double *arg2 = (double *) 0 ;
4870 double *arg3 = (double *) 0 ;
4871 double temp2 ;
c370783e 4872 int res2 = 0 ;
44127b65 4873 double temp3 ;
c370783e 4874 int res3 = 0 ;
44127b65
RD
4875 PyObject * obj0 = 0 ;
4876 char *kwnames[] = {
4877 (char *) "self", NULL
4878 };
4879
c370783e
RD
4880 arg2 = &temp2; res2 = SWIG_NEWOBJ;
4881 arg3 = &temp3; res3 = SWIG_NEWOBJ;
44127b65 4882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBoundingBoxMax",kwnames,&obj0)) goto fail;
36ed4f51
RD
4883 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
4884 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
4885 {
4886 PyThreadState* __tstate = wxPyBeginAllowThreads();
4887 (arg1)->GetBoundingBoxMax(arg2,arg3);
4888
4889 wxPyEndAllowThreads(__tstate);
4890 if (PyErr_Occurred()) SWIG_fail;
4891 }
4892 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
4893 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
4894 SWIG_From_double((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, 0)));
4895 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
4896 SWIG_From_double((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, 0)));
44127b65
RD
4897 return resultobj;
4898 fail:
4899 return NULL;
4900}
4901
4902
c370783e 4903static PyObject *_wrap_PyShape_GetBoundingBoxMin(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4904 PyObject *resultobj;
4905 wxPyShape *arg1 = (wxPyShape *) 0 ;
4906 double *arg2 = (double *) 0 ;
4907 double *arg3 = (double *) 0 ;
4908 double temp2 ;
c370783e 4909 int res2 = 0 ;
44127b65 4910 double temp3 ;
c370783e 4911 int res3 = 0 ;
44127b65
RD
4912 PyObject * obj0 = 0 ;
4913 char *kwnames[] = {
4914 (char *) "self", NULL
4915 };
4916
c370783e
RD
4917 arg2 = &temp2; res2 = SWIG_NEWOBJ;
4918 arg3 = &temp3; res3 = SWIG_NEWOBJ;
44127b65 4919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBoundingBoxMin",kwnames,&obj0)) goto fail;
36ed4f51
RD
4920 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
4921 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
4922 {
4923 PyThreadState* __tstate = wxPyBeginAllowThreads();
4924 (arg1)->GetBoundingBoxMin(arg2,arg3);
4925
4926 wxPyEndAllowThreads(__tstate);
4927 if (PyErr_Occurred()) SWIG_fail;
4928 }
4929 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
4930 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
4931 SWIG_From_double((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, 0)));
4932 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
4933 SWIG_From_double((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, 0)));
44127b65
RD
4934 return resultobj;
4935 fail:
4936 return NULL;
4937}
4938
4939
c370783e 4940static PyObject *_wrap_PyShape_GetPerimeterPoint(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4941 PyObject *resultobj;
4942 wxPyShape *arg1 = (wxPyShape *) 0 ;
4943 double arg2 ;
4944 double arg3 ;
4945 double arg4 ;
4946 double arg5 ;
4947 double *arg6 = (double *) 0 ;
4948 double *arg7 = (double *) 0 ;
4949 bool result;
4950 double temp6 ;
c370783e 4951 int res6 = 0 ;
44127b65 4952 double temp7 ;
c370783e 4953 int res7 = 0 ;
44127b65 4954 PyObject * obj0 = 0 ;
8edf1c75
RD
4955 PyObject * obj1 = 0 ;
4956 PyObject * obj2 = 0 ;
4957 PyObject * obj3 = 0 ;
4958 PyObject * obj4 = 0 ;
4959 char *kwnames[] = {
4960 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
44127b65
RD
4961 };
4962
c370783e
RD
4963 arg6 = &temp6; res6 = SWIG_NEWOBJ;
4964 arg7 = &temp7; res7 = SWIG_NEWOBJ;
8edf1c75 4965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyShape_GetPerimeterPoint",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
4966 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
4967 if (SWIG_arg_fail(1)) SWIG_fail;
4968 {
4969 arg2 = (double)(SWIG_As_double(obj1));
4970 if (SWIG_arg_fail(2)) SWIG_fail;
4971 }
4972 {
4973 arg3 = (double)(SWIG_As_double(obj2));
4974 if (SWIG_arg_fail(3)) SWIG_fail;
4975 }
4976 {
4977 arg4 = (double)(SWIG_As_double(obj3));
4978 if (SWIG_arg_fail(4)) SWIG_fail;
4979 }
4980 {
4981 arg5 = (double)(SWIG_As_double(obj4));
4982 if (SWIG_arg_fail(5)) SWIG_fail;
4983 }
44127b65
RD
4984 {
4985 PyThreadState* __tstate = wxPyBeginAllowThreads();
4986 result = (bool)(arg1)->GetPerimeterPoint(arg2,arg3,arg4,arg5,arg6,arg7);
4987
4988 wxPyEndAllowThreads(__tstate);
4989 if (PyErr_Occurred()) SWIG_fail;
4990 }
fbc46b20
RD
4991 {
4992 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4993 }
c370783e
RD
4994 resultobj = t_output_helper(resultobj, ((res6 == SWIG_NEWOBJ) ?
4995 SWIG_From_double((*arg6)) : SWIG_NewPointerObj((void*)(arg6), SWIGTYPE_p_double, 0)));
4996 resultobj = t_output_helper(resultobj, ((res7 == SWIG_NEWOBJ) ?
4997 SWIG_From_double((*arg7)) : SWIG_NewPointerObj((void*)(arg7), SWIGTYPE_p_double, 0)));
44127b65
RD
4998 return resultobj;
4999 fail:
5000 return NULL;
5001}
5002
5003
c370783e 5004static PyObject *_wrap_PyShape_GetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5005 PyObject *resultobj;
5006 wxPyShape *arg1 = (wxPyShape *) 0 ;
5007 wxPyShapeCanvas *result;
5008 PyObject * obj0 = 0 ;
5009 char *kwnames[] = {
5010 (char *) "self", NULL
5011 };
5012
5013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetCanvas",kwnames,&obj0)) goto fail;
36ed4f51
RD
5014 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
5015 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
5016 {
5017 PyThreadState* __tstate = wxPyBeginAllowThreads();
5018 result = (wxPyShapeCanvas *)(arg1)->GetCanvas();
5019
5020 wxPyEndAllowThreads(__tstate);
5021 if (PyErr_Occurred()) SWIG_fail;
5022 }
5023 {
412d302d 5024 resultobj = wxPyMake_wxObject(result, 0);
44127b65
RD
5025 }
5026 return resultobj;
5027 fail:
5028 return NULL;
5029}
5030
5031
c370783e 5032static PyObject *_wrap_PyShape_SetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5033 PyObject *resultobj;
5034 wxPyShape *arg1 = (wxPyShape *) 0 ;
5035 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
5036 PyObject * obj0 = 0 ;
5037 PyObject * obj1 = 0 ;
5038 char *kwnames[] = {
5039 (char *) "self",(char *) "the_canvas", NULL
5040 };
5041
5042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5043 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
5044 if (SWIG_arg_fail(1)) SWIG_fail;
5045 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyShapeCanvas, SWIG_POINTER_EXCEPTION | 0);
5046 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
5047 {
5048 PyThreadState* __tstate = wxPyBeginAllowThreads();
5049 (arg1)->SetCanvas(arg2);
5050
5051 wxPyEndAllowThreads(__tstate);
5052 if (PyErr_Occurred()) SWIG_fail;
5053 }
5054 Py_INCREF(Py_None); resultobj = Py_None;
5055 return resultobj;
5056 fail:
5057 return NULL;
5058}
5059
5060
c370783e 5061static PyObject *_wrap_PyShape_AddToCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5062 PyObject *resultobj;
5063 wxPyShape *arg1 = (wxPyShape *) 0 ;
5064 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
5065 wxPyShape *arg3 = (wxPyShape *) NULL ;
5066 PyObject * obj0 = 0 ;
5067 PyObject * obj1 = 0 ;
5068 PyObject * obj2 = 0 ;
5069 char *kwnames[] = {
5070 (char *) "self",(char *) "the_canvas",(char *) "addAfter", NULL
5071 };
5072
5073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_AddToCanvas",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
5074 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
5075 if (SWIG_arg_fail(1)) SWIG_fail;
5076 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyShapeCanvas, SWIG_POINTER_EXCEPTION | 0);
5077 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65 5078 if (obj2) {
36ed4f51
RD
5079 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
5080 if (SWIG_arg_fail(3)) SWIG_fail;
44127b65
RD
5081 }
5082 {
5083 PyThreadState* __tstate = wxPyBeginAllowThreads();
5084 (arg1)->AddToCanvas(arg2,arg3);
5085
5086 wxPyEndAllowThreads(__tstate);
5087 if (PyErr_Occurred()) SWIG_fail;
5088 }
5089 Py_INCREF(Py_None); resultobj = Py_None;
5090 return resultobj;
5091 fail:
5092 return NULL;
5093}
5094
5095
c370783e 5096static PyObject *_wrap_PyShape_InsertInCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5097 PyObject *resultobj;
5098 wxPyShape *arg1 = (wxPyShape *) 0 ;
5099 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
5100 PyObject * obj0 = 0 ;
5101 PyObject * obj1 = 0 ;
5102 char *kwnames[] = {
5103 (char *) "self",(char *) "the_canvas", NULL
5104 };
5105
5106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_InsertInCanvas",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5107 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
5108 if (SWIG_arg_fail(1)) SWIG_fail;
5109 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyShapeCanvas, SWIG_POINTER_EXCEPTION | 0);
5110 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
5111 {
5112 PyThreadState* __tstate = wxPyBeginAllowThreads();
5113 (arg1)->InsertInCanvas(arg2);
5114
5115 wxPyEndAllowThreads(__tstate);
5116 if (PyErr_Occurred()) SWIG_fail;
5117 }
5118 Py_INCREF(Py_None); resultobj = Py_None;
5119 return resultobj;
5120 fail:
5121 return NULL;
5122}
5123
5124
c370783e 5125static PyObject *_wrap_PyShape_RemoveFromCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5126 PyObject *resultobj;
5127 wxPyShape *arg1 = (wxPyShape *) 0 ;
5128 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
5129 PyObject * obj0 = 0 ;
5130 PyObject * obj1 = 0 ;
5131 char *kwnames[] = {
5132 (char *) "self",(char *) "the_canvas", NULL
5133 };
5134
5135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_RemoveFromCanvas",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5136 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
5137 if (SWIG_arg_fail(1)) SWIG_fail;
5138 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyShapeCanvas, SWIG_POINTER_EXCEPTION | 0);
5139 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
5140 {
5141 PyThreadState* __tstate = wxPyBeginAllowThreads();
5142 (arg1)->RemoveFromCanvas(arg2);
5143
5144 wxPyEndAllowThreads(__tstate);
5145 if (PyErr_Occurred()) SWIG_fail;
5146 }
5147 Py_INCREF(Py_None); resultobj = Py_None;
5148 return resultobj;
5149 fail:
5150 return NULL;
5151}
5152
5153
c370783e 5154static PyObject *_wrap_PyShape_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5155 PyObject *resultobj;
5156 wxPyShape *arg1 = (wxPyShape *) 0 ;
5157 double result;
5158 PyObject * obj0 = 0 ;
5159 char *kwnames[] = {
5160 (char *) "self", NULL
5161 };
5162
5163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetX",kwnames,&obj0)) goto fail;
36ed4f51
RD
5164 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
5165 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
5166 {
5167 PyThreadState* __tstate = wxPyBeginAllowThreads();
5168 result = (double)(arg1)->GetX();
5169
5170 wxPyEndAllowThreads(__tstate);
5171 if (PyErr_Occurred()) SWIG_fail;
5172 }
36ed4f51
RD
5173 {
5174 resultobj = SWIG_From_double((double)(result));
5175 }
44127b65
RD
5176 return resultobj;
5177 fail:
5178 return NULL;
5179}
5180
5181
c370783e 5182static PyObject *_wrap_PyShape_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5183 PyObject *resultobj;
5184 wxPyShape *arg1 = (wxPyShape *) 0 ;
5185 double result;
5186 PyObject * obj0 = 0 ;
5187 char *kwnames[] = {
5188 (char *) "self", NULL
5189 };
5190
5191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetY",kwnames,&obj0)) goto fail;
36ed4f51
RD
5192 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
5193 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
5194 {
5195 PyThreadState* __tstate = wxPyBeginAllowThreads();
5196 result = (double)(arg1)->GetY();
5197
5198 wxPyEndAllowThreads(__tstate);
5199 if (PyErr_Occurred()) SWIG_fail;
5200 }
36ed4f51
RD
5201 {
5202 resultobj = SWIG_From_double((double)(result));
5203 }
44127b65
RD
5204 return resultobj;
5205 fail:
5206 return NULL;
5207}
5208
5209
c370783e 5210static PyObject *_wrap_PyShape_SetX(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5211 PyObject *resultobj;
5212 wxPyShape *arg1 = (wxPyShape *) 0 ;
5213 double arg2 ;
5214 PyObject * obj0 = 0 ;
8edf1c75 5215 PyObject * obj1 = 0 ;
44127b65
RD
5216 char *kwnames[] = {
5217 (char *) "self",(char *) "x", NULL
5218 };
5219
8edf1c75 5220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetX",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5221 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
5222 if (SWIG_arg_fail(1)) SWIG_fail;
5223 {
5224 arg2 = (double)(SWIG_As_double(obj1));
5225 if (SWIG_arg_fail(2)) SWIG_fail;
5226 }
44127b65
RD
5227 {
5228 PyThreadState* __tstate = wxPyBeginAllowThreads();
5229 (arg1)->SetX(arg2);
5230
5231 wxPyEndAllowThreads(__tstate);
5232 if (PyErr_Occurred()) SWIG_fail;
5233 }
5234 Py_INCREF(Py_None); resultobj = Py_None;
5235 return resultobj;
5236 fail:
5237 return NULL;
5238}
5239
5240
c370783e 5241static PyObject *_wrap_PyShape_SetY(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5242 PyObject *resultobj;
5243 wxPyShape *arg1 = (wxPyShape *) 0 ;
5244 double arg2 ;
5245 PyObject * obj0 = 0 ;
8edf1c75 5246 PyObject * obj1 = 0 ;
44127b65
RD
5247 char *kwnames[] = {
5248 (char *) "self",(char *) "y", NULL
5249 };
5250
8edf1c75 5251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetY",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
5253 if (SWIG_arg_fail(1)) SWIG_fail;
5254 {
5255 arg2 = (double)(SWIG_As_double(obj1));
5256 if (SWIG_arg_fail(2)) SWIG_fail;
5257 }
44127b65
RD
5258 {
5259 PyThreadState* __tstate = wxPyBeginAllowThreads();
5260 (arg1)->SetY(arg2);
5261
5262 wxPyEndAllowThreads(__tstate);
5263 if (PyErr_Occurred()) SWIG_fail;
5264 }
5265 Py_INCREF(Py_None); resultobj = Py_None;
5266 return resultobj;
5267 fail:
5268 return NULL;
5269}
5270
5271
c370783e 5272static PyObject *_wrap_PyShape_GetParent(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5273 PyObject *resultobj;
5274 wxPyShape *arg1 = (wxPyShape *) 0 ;
5275 wxPyShape *result;
5276 PyObject * obj0 = 0 ;
5277 char *kwnames[] = {
5278 (char *) "self", NULL
5279 };
5280
5281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetParent",kwnames,&obj0)) goto fail;
36ed4f51
RD
5282 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
5283 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
5284 {
5285 PyThreadState* __tstate = wxPyBeginAllowThreads();
5286 result = (wxPyShape *)(arg1)->GetParent();
5287
5288 wxPyEndAllowThreads(__tstate);
5289 if (PyErr_Occurred()) SWIG_fail;
5290 }
5291 {
412d302d 5292 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
44127b65
RD
5293 }
5294 return resultobj;
5295 fail:
5296 return NULL;
5297}
5298
5299
c370783e 5300static PyObject *_wrap_PyShape_SetParent(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5301 PyObject *resultobj;
5302 wxPyShape *arg1 = (wxPyShape *) 0 ;
5303 wxPyShape *arg2 = (wxPyShape *) 0 ;
5304 PyObject * obj0 = 0 ;
5305 PyObject * obj1 = 0 ;
5306 char *kwnames[] = {
5307 (char *) "self",(char *) "p", NULL
5308 };
5309
5310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetParent",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5311 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
5312 if (SWIG_arg_fail(1)) SWIG_fail;
5313 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
5314 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
5315 {
5316 PyThreadState* __tstate = wxPyBeginAllowThreads();
5317 (arg1)->SetParent(arg2);
5318
5319 wxPyEndAllowThreads(__tstate);
5320 if (PyErr_Occurred()) SWIG_fail;
5321 }
5322 Py_INCREF(Py_None); resultobj = Py_None;
5323 return resultobj;
5324 fail:
5325 return NULL;
5326}
5327
5328
c370783e 5329static PyObject *_wrap_PyShape_GetTopAncestor(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5330 PyObject *resultobj;
5331 wxPyShape *arg1 = (wxPyShape *) 0 ;
5332 wxPyShape *result;
5333 PyObject * obj0 = 0 ;
5334 char *kwnames[] = {
5335 (char *) "self", NULL
5336 };
5337
5338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetTopAncestor",kwnames,&obj0)) goto fail;
36ed4f51
RD
5339 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
5340 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
5341 {
5342 PyThreadState* __tstate = wxPyBeginAllowThreads();
5343 result = (wxPyShape *)(arg1)->GetTopAncestor();
5344
5345 wxPyEndAllowThreads(__tstate);
5346 if (PyErr_Occurred()) SWIG_fail;
5347 }
5348 {
412d302d 5349 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
44127b65
RD
5350 }
5351 return resultobj;
5352 fail:
5353 return NULL;
5354}
5355
5356
c370783e 5357static PyObject *_wrap_PyShape_GetChildren(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5358 PyObject *resultobj;
5359 wxPyShape *arg1 = (wxPyShape *) 0 ;
5360 PyObject *result;
5361 PyObject * obj0 = 0 ;
5362 char *kwnames[] = {
5363 (char *) "self", NULL
5364 };
5365
5366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetChildren",kwnames,&obj0)) goto fail;
36ed4f51
RD
5367 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
5368 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
5369 {
5370 PyThreadState* __tstate = wxPyBeginAllowThreads();
5371 result = (PyObject *)wxPyShape_GetChildren(arg1);
5372
5373 wxPyEndAllowThreads(__tstate);
5374 if (PyErr_Occurred()) SWIG_fail;
5375 }
5376 resultobj = result;
5377 return resultobj;
5378 fail:
5379 return NULL;
5380}
5381
5382
c370783e 5383static PyObject *_wrap_PyShape_Unlink(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5384 PyObject *resultobj;
5385 wxPyShape *arg1 = (wxPyShape *) 0 ;
5386 PyObject * obj0 = 0 ;
5387 char *kwnames[] = {
5388 (char *) "self", NULL
5389 };
5390
5391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Unlink",kwnames,&obj0)) goto fail;
36ed4f51
RD
5392 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
5393 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
5394 {
5395 PyThreadState* __tstate = wxPyBeginAllowThreads();
5396 (arg1)->Unlink();
5397
5398 wxPyEndAllowThreads(__tstate);
5399 if (PyErr_Occurred()) SWIG_fail;
5400 }
5401 Py_INCREF(Py_None); resultobj = Py_None;
5402 return resultobj;
5403 fail:
5404 return NULL;
5405}
5406
5407
c370783e 5408static PyObject *_wrap_PyShape_SetDrawHandles(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5409 PyObject *resultobj;
5410 wxPyShape *arg1 = (wxPyShape *) 0 ;
5411 bool arg2 ;
5412 PyObject * obj0 = 0 ;
5413 PyObject * obj1 = 0 ;
5414 char *kwnames[] = {
5415 (char *) "self",(char *) "drawH", NULL
5416 };
5417
5418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetDrawHandles",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5419 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
5420 if (SWIG_arg_fail(1)) SWIG_fail;
5421 {
5422 arg2 = (bool)(SWIG_As_bool(obj1));
5423 if (SWIG_arg_fail(2)) SWIG_fail;
5424 }
44127b65
RD
5425 {
5426 PyThreadState* __tstate = wxPyBeginAllowThreads();
5427 (arg1)->SetDrawHandles(arg2);
5428
5429 wxPyEndAllowThreads(__tstate);
5430 if (PyErr_Occurred()) SWIG_fail;
5431 }
5432 Py_INCREF(Py_None); resultobj = Py_None;
5433 return resultobj;
5434 fail:
5435 return NULL;
5436}
5437
5438
c370783e 5439static PyObject *_wrap_PyShape_GetDrawHandles(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5440 PyObject *resultobj;
5441 wxPyShape *arg1 = (wxPyShape *) 0 ;
5442 bool result;
5443 PyObject * obj0 = 0 ;
5444 char *kwnames[] = {
5445 (char *) "self", NULL
5446 };
5447
5448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetDrawHandles",kwnames,&obj0)) goto fail;
36ed4f51
RD
5449 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
5450 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
5451 {
5452 PyThreadState* __tstate = wxPyBeginAllowThreads();
5453 result = (bool)(arg1)->GetDrawHandles();
5454
5455 wxPyEndAllowThreads(__tstate);
5456 if (PyErr_Occurred()) SWIG_fail;
5457 }
fbc46b20
RD
5458 {
5459 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5460 }
44127b65
RD
5461 return resultobj;
5462 fail:
5463 return NULL;
5464}
5465
5466
c370783e 5467static PyObject *_wrap_PyShape_MakeControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5468 PyObject *resultobj;
5469 wxPyShape *arg1 = (wxPyShape *) 0 ;
5470 PyObject * obj0 = 0 ;
5471 char *kwnames[] = {
5472 (char *) "self", NULL
5473 };
5474
5475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_MakeControlPoints",kwnames,&obj0)) goto fail;
36ed4f51
RD
5476 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
5477 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
5478 {
5479 PyThreadState* __tstate = wxPyBeginAllowThreads();
5480 (arg1)->MakeControlPoints();
5481
5482 wxPyEndAllowThreads(__tstate);
5483 if (PyErr_Occurred()) SWIG_fail;
5484 }
5485 Py_INCREF(Py_None); resultobj = Py_None;
5486 return resultobj;
5487 fail:
5488 return NULL;
5489}
5490
5491
c370783e 5492static PyObject *_wrap_PyShape_DeleteControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5493 PyObject *resultobj;
5494 wxPyShape *arg1 = (wxPyShape *) 0 ;
5495 wxDC *arg2 = (wxDC *) NULL ;
5496 PyObject * obj0 = 0 ;
5497 PyObject * obj1 = 0 ;
5498 char *kwnames[] = {
5499 (char *) "self",(char *) "dc", NULL
5500 };
5501
5502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_DeleteControlPoints",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5503 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
5504 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65 5505 if (obj1) {
36ed4f51
RD
5506 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
5507 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
5508 }
5509 {
5510 PyThreadState* __tstate = wxPyBeginAllowThreads();
5511 (arg1)->DeleteControlPoints(arg2);
5512
5513 wxPyEndAllowThreads(__tstate);
5514 if (PyErr_Occurred()) SWIG_fail;
5515 }
5516 Py_INCREF(Py_None); resultobj = Py_None;
5517 return resultobj;
5518 fail:
5519 return NULL;
5520}
5521
5522
c370783e 5523static PyObject *_wrap_PyShape_ResetControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5524 PyObject *resultobj;
5525 wxPyShape *arg1 = (wxPyShape *) 0 ;
5526 PyObject * obj0 = 0 ;
5527 char *kwnames[] = {
5528 (char *) "self", NULL
5529 };
5530
5531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_ResetControlPoints",kwnames,&obj0)) goto fail;
36ed4f51
RD
5532 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
5533 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
5534 {
5535 PyThreadState* __tstate = wxPyBeginAllowThreads();
5536 (arg1)->ResetControlPoints();
5537
5538 wxPyEndAllowThreads(__tstate);
5539 if (PyErr_Occurred()) SWIG_fail;
5540 }
5541 Py_INCREF(Py_None); resultobj = Py_None;
5542 return resultobj;
5543 fail:
5544 return NULL;
5545}
5546
5547
c370783e 5548static PyObject *_wrap_PyShape_GetEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5549 PyObject *resultobj;
5550 wxPyShape *arg1 = (wxPyShape *) 0 ;
5551 wxPyShapeEvtHandler *result;
5552 PyObject * obj0 = 0 ;
5553 char *kwnames[] = {
5554 (char *) "self", NULL
5555 };
5556
5557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetEventHandler",kwnames,&obj0)) goto fail;
36ed4f51
RD
5558 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
5559 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
5560 {
5561 PyThreadState* __tstate = wxPyBeginAllowThreads();
5562 result = (wxPyShapeEvtHandler *)(arg1)->GetEventHandler();
5563
5564 wxPyEndAllowThreads(__tstate);
5565 if (PyErr_Occurred()) SWIG_fail;
5566 }
5567 {
412d302d 5568 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
44127b65
RD
5569 }
5570 return resultobj;
5571 fail:
5572 return NULL;
5573}
5574
5575
c370783e 5576static PyObject *_wrap_PyShape_SetEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5577 PyObject *resultobj;
5578 wxPyShape *arg1 = (wxPyShape *) 0 ;
5579 wxPyShapeEvtHandler *arg2 = (wxPyShapeEvtHandler *) 0 ;
5580 PyObject * obj0 = 0 ;
5581 PyObject * obj1 = 0 ;
5582 char *kwnames[] = {
5583 (char *) "self",(char *) "handler", NULL
5584 };
5585
5586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5587 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
5588 if (SWIG_arg_fail(1)) SWIG_fail;
5589 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyShapeEvtHandler, SWIG_POINTER_EXCEPTION | 0);
5590 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
5591 {
5592 PyThreadState* __tstate = wxPyBeginAllowThreads();
5593 (arg1)->SetEventHandler(arg2);
5594
5595 wxPyEndAllowThreads(__tstate);
5596 if (PyErr_Occurred()) SWIG_fail;
5597 }
5598 Py_INCREF(Py_None); resultobj = Py_None;
5599 return resultobj;
5600 fail:
5601 return NULL;
5602}
5603
5604
c370783e 5605static PyObject *_wrap_PyShape_MakeMandatoryControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5606 PyObject *resultobj;
5607 wxPyShape *arg1 = (wxPyShape *) 0 ;
5608 PyObject * obj0 = 0 ;
5609 char *kwnames[] = {
5610 (char *) "self", NULL
5611 };
5612
5613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_MakeMandatoryControlPoints",kwnames,&obj0)) goto fail;
36ed4f51
RD
5614 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
5615 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
5616 {
5617 PyThreadState* __tstate = wxPyBeginAllowThreads();
5618 (arg1)->MakeMandatoryControlPoints();
5619
5620 wxPyEndAllowThreads(__tstate);
5621 if (PyErr_Occurred()) SWIG_fail;
5622 }
5623 Py_INCREF(Py_None); resultobj = Py_None;
5624 return resultobj;
5625 fail:
5626 return NULL;
5627}
5628
5629
c370783e 5630static PyObject *_wrap_PyShape_ResetMandatoryControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5631 PyObject *resultobj;
5632 wxPyShape *arg1 = (wxPyShape *) 0 ;
5633 PyObject * obj0 = 0 ;
5634 char *kwnames[] = {
5635 (char *) "self", NULL
5636 };
5637
5638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_ResetMandatoryControlPoints",kwnames,&obj0)) goto fail;
36ed4f51
RD
5639 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
5640 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
5641 {
5642 PyThreadState* __tstate = wxPyBeginAllowThreads();
5643 (arg1)->ResetMandatoryControlPoints();
5644
5645 wxPyEndAllowThreads(__tstate);
5646 if (PyErr_Occurred()) SWIG_fail;
5647 }
5648 Py_INCREF(Py_None); resultobj = Py_None;
5649 return resultobj;
5650 fail:
5651 return NULL;
5652}
5653
5654
c370783e 5655static PyObject *_wrap_PyShape_Recompute(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5656 PyObject *resultobj;
5657 wxPyShape *arg1 = (wxPyShape *) 0 ;
5658 bool result;
5659 PyObject * obj0 = 0 ;
5660 char *kwnames[] = {
5661 (char *) "self", NULL
5662 };
5663
5664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Recompute",kwnames,&obj0)) goto fail;
36ed4f51
RD
5665 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
5666 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
5667 {
5668 PyThreadState* __tstate = wxPyBeginAllowThreads();
5669 result = (bool)(arg1)->Recompute();
5670
5671 wxPyEndAllowThreads(__tstate);
5672 if (PyErr_Occurred()) SWIG_fail;
5673 }
fbc46b20
RD
5674 {
5675 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5676 }
44127b65
RD
5677 return resultobj;
5678 fail:
5679 return NULL;
5680}
5681
5682
c370783e 5683static PyObject *_wrap_PyShape_CalculateSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5684 PyObject *resultobj;
5685 wxPyShape *arg1 = (wxPyShape *) 0 ;
5686 PyObject * obj0 = 0 ;
5687 char *kwnames[] = {
5688 (char *) "self", NULL
5689 };
5690
5691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_CalculateSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
5692 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
5693 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
5694 {
5695 PyThreadState* __tstate = wxPyBeginAllowThreads();
5696 (arg1)->CalculateSize();
5697
5698 wxPyEndAllowThreads(__tstate);
5699 if (PyErr_Occurred()) SWIG_fail;
5700 }
5701 Py_INCREF(Py_None); resultobj = Py_None;
5702 return resultobj;
5703 fail:
5704 return NULL;
5705}
5706
5707
c370783e 5708static PyObject *_wrap_PyShape_Select(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5709 PyObject *resultobj;
5710 wxPyShape *arg1 = (wxPyShape *) 0 ;
b411df4a 5711 bool arg2 = (bool) true ;
44127b65
RD
5712 wxDC *arg3 = (wxDC *) NULL ;
5713 PyObject * obj0 = 0 ;
5714 PyObject * obj1 = 0 ;
5715 PyObject * obj2 = 0 ;
5716 char *kwnames[] = {
5717 (char *) "self",(char *) "select",(char *) "dc", NULL
5718 };
5719
5720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyShape_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
5721 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
5722 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65 5723 if (obj1) {
36ed4f51
RD
5724 {
5725 arg2 = (bool)(SWIG_As_bool(obj1));
5726 if (SWIG_arg_fail(2)) SWIG_fail;
5727 }
44127b65
RD
5728 }
5729 if (obj2) {
36ed4f51
RD
5730 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
5731 if (SWIG_arg_fail(3)) SWIG_fail;
44127b65
RD
5732 }
5733 {
5734 PyThreadState* __tstate = wxPyBeginAllowThreads();
5735 (arg1)->Select(arg2,arg3);
5736
5737 wxPyEndAllowThreads(__tstate);
5738 if (PyErr_Occurred()) SWIG_fail;
5739 }
5740 Py_INCREF(Py_None); resultobj = Py_None;
5741 return resultobj;
5742 fail:
5743 return NULL;
5744}
5745
5746
c370783e 5747static PyObject *_wrap_PyShape_SetHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5748 PyObject *resultobj;
5749 wxPyShape *arg1 = (wxPyShape *) 0 ;
b411df4a
RD
5750 bool arg2 = (bool) true ;
5751 bool arg3 = (bool) false ;
44127b65
RD
5752 PyObject * obj0 = 0 ;
5753 PyObject * obj1 = 0 ;
5754 PyObject * obj2 = 0 ;
5755 char *kwnames[] = {
5756 (char *) "self",(char *) "hi",(char *) "recurse", NULL
5757 };
5758
5759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyShape_SetHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
5760 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
5761 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65 5762 if (obj1) {
36ed4f51
RD
5763 {
5764 arg2 = (bool)(SWIG_As_bool(obj1));
5765 if (SWIG_arg_fail(2)) SWIG_fail;
5766 }
44127b65
RD
5767 }
5768 if (obj2) {
36ed4f51
RD
5769 {
5770 arg3 = (bool)(SWIG_As_bool(obj2));
5771 if (SWIG_arg_fail(3)) SWIG_fail;
5772 }
44127b65
RD
5773 }
5774 {
5775 PyThreadState* __tstate = wxPyBeginAllowThreads();
5776 (arg1)->SetHighlight(arg2,arg3);
5777
5778 wxPyEndAllowThreads(__tstate);
5779 if (PyErr_Occurred()) SWIG_fail;
5780 }
5781 Py_INCREF(Py_None); resultobj = Py_None;
5782 return resultobj;
5783 fail:
5784 return NULL;
5785}
5786
5787
c370783e 5788static PyObject *_wrap_PyShape_IsHighlighted(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5789 PyObject *resultobj;
5790 wxPyShape *arg1 = (wxPyShape *) 0 ;
5791 bool result;
5792 PyObject * obj0 = 0 ;
5793 char *kwnames[] = {
5794 (char *) "self", NULL
5795 };
5796
5797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_IsHighlighted",kwnames,&obj0)) goto fail;
36ed4f51
RD
5798 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
5799 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
5800 {
5801 PyThreadState* __tstate = wxPyBeginAllowThreads();
5802 result = (bool)(arg1)->IsHighlighted();
5803
5804 wxPyEndAllowThreads(__tstate);
5805 if (PyErr_Occurred()) SWIG_fail;
5806 }
fbc46b20
RD
5807 {
5808 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5809 }
44127b65
RD
5810 return resultobj;
5811 fail:
5812 return NULL;
5813}
5814
5815
c370783e 5816static PyObject *_wrap_PyShape_Selected(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5817 PyObject *resultobj;
5818 wxPyShape *arg1 = (wxPyShape *) 0 ;
5819 bool result;
5820 PyObject * obj0 = 0 ;
5821 char *kwnames[] = {
5822 (char *) "self", NULL
5823 };
5824
5825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Selected",kwnames,&obj0)) goto fail;
36ed4f51
RD
5826 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
5827 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
5828 {
5829 PyThreadState* __tstate = wxPyBeginAllowThreads();
5830 result = (bool)(arg1)->Selected();
5831
5832 wxPyEndAllowThreads(__tstate);
5833 if (PyErr_Occurred()) SWIG_fail;
5834 }
fbc46b20
RD
5835 {
5836 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5837 }
44127b65
RD
5838 return resultobj;
5839 fail:
5840 return NULL;
5841}
5842
5843
c370783e 5844static PyObject *_wrap_PyShape_AncestorSelected(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5845 PyObject *resultobj;
5846 wxPyShape *arg1 = (wxPyShape *) 0 ;
5847 bool result;
5848 PyObject * obj0 = 0 ;
5849 char *kwnames[] = {
5850 (char *) "self", NULL
5851 };
5852
5853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_AncestorSelected",kwnames,&obj0)) goto fail;
36ed4f51
RD
5854 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
5855 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
5856 {
5857 PyThreadState* __tstate = wxPyBeginAllowThreads();
5858 result = (bool)(arg1)->AncestorSelected();
5859
5860 wxPyEndAllowThreads(__tstate);
5861 if (PyErr_Occurred()) SWIG_fail;
5862 }
fbc46b20
RD
5863 {
5864 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5865 }
44127b65
RD
5866 return resultobj;
5867 fail:
5868 return NULL;
5869}
5870
5871
c370783e 5872static PyObject *_wrap_PyShape_SetSensitivityFilter(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5873 PyObject *resultobj;
5874 wxPyShape *arg1 = (wxPyShape *) 0 ;
5875 int arg2 = (int) OP_ALL ;
b411df4a 5876 bool arg3 = (bool) false ;
44127b65 5877 PyObject * obj0 = 0 ;
8edf1c75 5878 PyObject * obj1 = 0 ;
44127b65
RD
5879 PyObject * obj2 = 0 ;
5880 char *kwnames[] = {
5881 (char *) "self",(char *) "sens",(char *) "recursive", NULL
5882 };
5883
8edf1c75 5884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyShape_SetSensitivityFilter",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
5885 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
5886 if (SWIG_arg_fail(1)) SWIG_fail;
8edf1c75 5887 if (obj1) {
36ed4f51
RD
5888 {
5889 arg2 = (int)(SWIG_As_int(obj1));
5890 if (SWIG_arg_fail(2)) SWIG_fail;
5891 }
8edf1c75 5892 }
44127b65 5893 if (obj2) {
36ed4f51
RD
5894 {
5895 arg3 = (bool)(SWIG_As_bool(obj2));
5896 if (SWIG_arg_fail(3)) SWIG_fail;
5897 }
44127b65
RD
5898 }
5899 {
5900 PyThreadState* __tstate = wxPyBeginAllowThreads();
5901 (arg1)->SetSensitivityFilter(arg2,arg3);
5902
5903 wxPyEndAllowThreads(__tstate);
5904 if (PyErr_Occurred()) SWIG_fail;
5905 }
5906 Py_INCREF(Py_None); resultobj = Py_None;
5907 return resultobj;
5908 fail:
5909 return NULL;
5910}
5911
5912
c370783e 5913static PyObject *_wrap_PyShape_GetSensitivityFilter(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5914 PyObject *resultobj;
5915 wxPyShape *arg1 = (wxPyShape *) 0 ;
5916 int result;
5917 PyObject * obj0 = 0 ;
5918 char *kwnames[] = {
5919 (char *) "self", NULL
5920 };
5921
5922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetSensitivityFilter",kwnames,&obj0)) goto fail;
36ed4f51
RD
5923 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
5924 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
5925 {
5926 PyThreadState* __tstate = wxPyBeginAllowThreads();
5927 result = (int)(arg1)->GetSensitivityFilter();
5928
5929 wxPyEndAllowThreads(__tstate);
5930 if (PyErr_Occurred()) SWIG_fail;
5931 }
36ed4f51
RD
5932 {
5933 resultobj = SWIG_From_int((int)(result));
5934 }
44127b65
RD
5935 return resultobj;
5936 fail:
5937 return NULL;
5938}
5939
5940
c370783e 5941static PyObject *_wrap_PyShape_SetDraggable(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5942 PyObject *resultobj;
5943 wxPyShape *arg1 = (wxPyShape *) 0 ;
5944 bool arg2 ;
b411df4a 5945 bool arg3 = (bool) false ;
44127b65
RD
5946 PyObject * obj0 = 0 ;
5947 PyObject * obj1 = 0 ;
5948 PyObject * obj2 = 0 ;
5949 char *kwnames[] = {
5950 (char *) "self",(char *) "drag",(char *) "recursive", NULL
5951 };
5952
5953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_SetDraggable",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
5954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
5955 if (SWIG_arg_fail(1)) SWIG_fail;
5956 {
5957 arg2 = (bool)(SWIG_As_bool(obj1));
5958 if (SWIG_arg_fail(2)) SWIG_fail;
5959 }
2dbef272 5960 if (obj2) {
36ed4f51
RD
5961 {
5962 arg3 = (bool)(SWIG_As_bool(obj2));
5963 if (SWIG_arg_fail(3)) SWIG_fail;
5964 }
2dbef272 5965 }
44127b65
RD
5966 {
5967 PyThreadState* __tstate = wxPyBeginAllowThreads();
5968 (arg1)->SetDraggable(arg2,arg3);
5969
5970 wxPyEndAllowThreads(__tstate);
5971 if (PyErr_Occurred()) SWIG_fail;
5972 }
5973 Py_INCREF(Py_None); resultobj = Py_None;
5974 return resultobj;
5975 fail:
5976 return NULL;
5977}
5978
5979
c370783e 5980static PyObject *_wrap_PyShape_SetFixedSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5981 PyObject *resultobj;
5982 wxPyShape *arg1 = (wxPyShape *) 0 ;
5983 bool arg2 ;
5984 bool arg3 ;
5985 PyObject * obj0 = 0 ;
5986 PyObject * obj1 = 0 ;
5987 PyObject * obj2 = 0 ;
5988 char *kwnames[] = {
5989 (char *) "self",(char *) "x",(char *) "y", NULL
5990 };
5991
5992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_SetFixedSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
5993 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
5994 if (SWIG_arg_fail(1)) SWIG_fail;
5995 {
5996 arg2 = (bool)(SWIG_As_bool(obj1));
5997 if (SWIG_arg_fail(2)) SWIG_fail;
5998 }
5999 {
6000 arg3 = (bool)(SWIG_As_bool(obj2));
6001 if (SWIG_arg_fail(3)) SWIG_fail;
6002 }
44127b65
RD
6003 {
6004 PyThreadState* __tstate = wxPyBeginAllowThreads();
6005 (arg1)->SetFixedSize(arg2,arg3);
6006
6007 wxPyEndAllowThreads(__tstate);
6008 if (PyErr_Occurred()) SWIG_fail;
6009 }
6010 Py_INCREF(Py_None); resultobj = Py_None;
6011 return resultobj;
6012 fail:
6013 return NULL;
6014}
6015
6016
c370783e 6017static PyObject *_wrap_PyShape_GetFixedSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6018 PyObject *resultobj;
6019 wxPyShape *arg1 = (wxPyShape *) 0 ;
6020 bool *arg2 = (bool *) 0 ;
6021 bool *arg3 = (bool *) 0 ;
6022 bool temp2 ;
c370783e 6023 int res2 = 0 ;
44127b65 6024 bool temp3 ;
c370783e 6025 int res3 = 0 ;
44127b65
RD
6026 PyObject * obj0 = 0 ;
6027 char *kwnames[] = {
6028 (char *) "self", NULL
6029 };
6030
c370783e
RD
6031 arg2 = &temp2; res2 = SWIG_NEWOBJ;
6032 arg3 = &temp3; res3 = SWIG_NEWOBJ;
44127b65 6033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetFixedSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
6034 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
6035 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
6036 {
6037 PyThreadState* __tstate = wxPyBeginAllowThreads();
6038 (arg1)->GetFixedSize(arg2,arg3);
6039
6040 wxPyEndAllowThreads(__tstate);
6041 if (PyErr_Occurred()) SWIG_fail;
6042 }
6043 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
6044 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
6045 SWIG_From_bool((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_bool, 0)));
6046 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
6047 SWIG_From_bool((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_bool, 0)));
44127b65
RD
6048 return resultobj;
6049 fail:
6050 return NULL;
6051}
6052
6053
c370783e 6054static PyObject *_wrap_PyShape_GetFixedWidth(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6055 PyObject *resultobj;
6056 wxPyShape *arg1 = (wxPyShape *) 0 ;
6057 bool result;
6058 PyObject * obj0 = 0 ;
6059 char *kwnames[] = {
6060 (char *) "self", NULL
6061 };
6062
6063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetFixedWidth",kwnames,&obj0)) goto fail;
36ed4f51
RD
6064 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
6065 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
6066 {
6067 PyThreadState* __tstate = wxPyBeginAllowThreads();
6068 result = (bool)(arg1)->GetFixedWidth();
6069
6070 wxPyEndAllowThreads(__tstate);
6071 if (PyErr_Occurred()) SWIG_fail;
6072 }
fbc46b20
RD
6073 {
6074 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6075 }
44127b65
RD
6076 return resultobj;
6077 fail:
6078 return NULL;
6079}
6080
6081
c370783e 6082static PyObject *_wrap_PyShape_GetFixedHeight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6083 PyObject *resultobj;
6084 wxPyShape *arg1 = (wxPyShape *) 0 ;
6085 bool result;
6086 PyObject * obj0 = 0 ;
6087 char *kwnames[] = {
6088 (char *) "self", NULL
6089 };
6090
6091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetFixedHeight",kwnames,&obj0)) goto fail;
36ed4f51
RD
6092 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
6093 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
6094 {
6095 PyThreadState* __tstate = wxPyBeginAllowThreads();
6096 result = (bool)(arg1)->GetFixedHeight();
6097
6098 wxPyEndAllowThreads(__tstate);
6099 if (PyErr_Occurred()) SWIG_fail;
6100 }
fbc46b20
RD
6101 {
6102 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6103 }
44127b65
RD
6104 return resultobj;
6105 fail:
6106 return NULL;
6107}
6108
6109
c370783e 6110static PyObject *_wrap_PyShape_SetSpaceAttachments(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6111 PyObject *resultobj;
6112 wxPyShape *arg1 = (wxPyShape *) 0 ;
6113 bool arg2 ;
6114 PyObject * obj0 = 0 ;
6115 PyObject * obj1 = 0 ;
6116 char *kwnames[] = {
6117 (char *) "self",(char *) "sp", NULL
6118 };
6119
6120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetSpaceAttachments",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6121 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
6122 if (SWIG_arg_fail(1)) SWIG_fail;
6123 {
6124 arg2 = (bool)(SWIG_As_bool(obj1));
6125 if (SWIG_arg_fail(2)) SWIG_fail;
6126 }
44127b65
RD
6127 {
6128 PyThreadState* __tstate = wxPyBeginAllowThreads();
6129 (arg1)->SetSpaceAttachments(arg2);
6130
6131 wxPyEndAllowThreads(__tstate);
6132 if (PyErr_Occurred()) SWIG_fail;
6133 }
6134 Py_INCREF(Py_None); resultobj = Py_None;
6135 return resultobj;
6136 fail:
6137 return NULL;
6138}
6139
6140
c370783e 6141static PyObject *_wrap_PyShape_GetSpaceAttachments(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6142 PyObject *resultobj;
6143 wxPyShape *arg1 = (wxPyShape *) 0 ;
6144 bool result;
6145 PyObject * obj0 = 0 ;
6146 char *kwnames[] = {
6147 (char *) "self", NULL
6148 };
6149
6150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetSpaceAttachments",kwnames,&obj0)) goto fail;
36ed4f51
RD
6151 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
6152 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
6153 {
6154 PyThreadState* __tstate = wxPyBeginAllowThreads();
6155 result = (bool)(arg1)->GetSpaceAttachments();
6156
6157 wxPyEndAllowThreads(__tstate);
6158 if (PyErr_Occurred()) SWIG_fail;
6159 }
fbc46b20
RD
6160 {
6161 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6162 }
44127b65
RD
6163 return resultobj;
6164 fail:
6165 return NULL;
6166}
6167
6168
c370783e 6169static PyObject *_wrap_PyShape_SetShadowMode(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6170 PyObject *resultobj;
6171 wxPyShape *arg1 = (wxPyShape *) 0 ;
6172 int arg2 ;
b411df4a 6173 bool arg3 = (bool) false ;
44127b65 6174 PyObject * obj0 = 0 ;
8edf1c75 6175 PyObject * obj1 = 0 ;
44127b65
RD
6176 PyObject * obj2 = 0 ;
6177 char *kwnames[] = {
6178 (char *) "self",(char *) "mode",(char *) "redraw", NULL
6179 };
6180
8edf1c75 6181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_SetShadowMode",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
6182 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
6183 if (SWIG_arg_fail(1)) SWIG_fail;
6184 {
6185 arg2 = (int)(SWIG_As_int(obj1));
6186 if (SWIG_arg_fail(2)) SWIG_fail;
6187 }
44127b65 6188 if (obj2) {
36ed4f51
RD
6189 {
6190 arg3 = (bool)(SWIG_As_bool(obj2));
6191 if (SWIG_arg_fail(3)) SWIG_fail;
6192 }
44127b65
RD
6193 }
6194 {
6195 PyThreadState* __tstate = wxPyBeginAllowThreads();
6196 (arg1)->SetShadowMode(arg2,arg3);
6197
6198 wxPyEndAllowThreads(__tstate);
6199 if (PyErr_Occurred()) SWIG_fail;
6200 }
6201 Py_INCREF(Py_None); resultobj = Py_None;
6202 return resultobj;
6203 fail:
6204 return NULL;
6205}
6206
6207
c370783e 6208static PyObject *_wrap_PyShape_GetShadowMode(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6209 PyObject *resultobj;
6210 wxPyShape *arg1 = (wxPyShape *) 0 ;
6211 int result;
6212 PyObject * obj0 = 0 ;
6213 char *kwnames[] = {
6214 (char *) "self", NULL
6215 };
6216
6217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetShadowMode",kwnames,&obj0)) goto fail;
36ed4f51
RD
6218 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
6219 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
6220 {
6221 PyThreadState* __tstate = wxPyBeginAllowThreads();
6222 result = (int)(arg1)->GetShadowMode();
6223
6224 wxPyEndAllowThreads(__tstate);
6225 if (PyErr_Occurred()) SWIG_fail;
6226 }
36ed4f51
RD
6227 {
6228 resultobj = SWIG_From_int((int)(result));
6229 }
44127b65
RD
6230 return resultobj;
6231 fail:
6232 return NULL;
6233}
6234
6235
c370783e 6236static PyObject *_wrap_PyShape_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6237 PyObject *resultobj;
6238 wxPyShape *arg1 = (wxPyShape *) 0 ;
6239 double arg2 ;
6240 double arg3 ;
6241 int *arg4 = (int *) 0 ;
6242 double *arg5 = (double *) 0 ;
6243 bool result;
6244 int temp4 ;
c370783e 6245 int res4 = 0 ;
44127b65 6246 double temp5 ;
c370783e 6247 int res5 = 0 ;
44127b65 6248 PyObject * obj0 = 0 ;
8edf1c75
RD
6249 PyObject * obj1 = 0 ;
6250 PyObject * obj2 = 0 ;
44127b65
RD
6251 char *kwnames[] = {
6252 (char *) "self",(char *) "x",(char *) "y", NULL
6253 };
6254
c370783e
RD
6255 arg4 = &temp4; res4 = SWIG_NEWOBJ;
6256 arg5 = &temp5; res5 = SWIG_NEWOBJ;
8edf1c75 6257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_HitTest",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
6258 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
6259 if (SWIG_arg_fail(1)) SWIG_fail;
6260 {
6261 arg2 = (double)(SWIG_As_double(obj1));
6262 if (SWIG_arg_fail(2)) SWIG_fail;
6263 }
6264 {
6265 arg3 = (double)(SWIG_As_double(obj2));
6266 if (SWIG_arg_fail(3)) SWIG_fail;
6267 }
44127b65
RD
6268 {
6269 PyThreadState* __tstate = wxPyBeginAllowThreads();
6270 result = (bool)(arg1)->HitTest(arg2,arg3,arg4,arg5);
6271
6272 wxPyEndAllowThreads(__tstate);
6273 if (PyErr_Occurred()) SWIG_fail;
6274 }
fbc46b20
RD
6275 {
6276 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6277 }
c370783e
RD
6278 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
6279 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
6280 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
6281 SWIG_From_double((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_double, 0)));
44127b65
RD
6282 return resultobj;
6283 fail:
6284 return NULL;
6285}
6286
6287
c370783e 6288static PyObject *_wrap_PyShape_SetCentreResize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6289 PyObject *resultobj;
6290 wxPyShape *arg1 = (wxPyShape *) 0 ;
6291 bool arg2 ;
6292 PyObject * obj0 = 0 ;
6293 PyObject * obj1 = 0 ;
6294 char *kwnames[] = {
6295 (char *) "self",(char *) "cr", NULL
6296 };
6297
6298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetCentreResize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6299 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
6300 if (SWIG_arg_fail(1)) SWIG_fail;
6301 {
6302 arg2 = (bool)(SWIG_As_bool(obj1));
6303 if (SWIG_arg_fail(2)) SWIG_fail;
6304 }
44127b65
RD
6305 {
6306 PyThreadState* __tstate = wxPyBeginAllowThreads();
6307 (arg1)->SetCentreResize(arg2);
6308
6309 wxPyEndAllowThreads(__tstate);
6310 if (PyErr_Occurred()) SWIG_fail;
6311 }
6312 Py_INCREF(Py_None); resultobj = Py_None;
6313 return resultobj;
6314 fail:
6315 return NULL;
6316}
6317
6318
c370783e 6319static PyObject *_wrap_PyShape_GetCentreResize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6320 PyObject *resultobj;
6321 wxPyShape *arg1 = (wxPyShape *) 0 ;
6322 bool result;
6323 PyObject * obj0 = 0 ;
6324 char *kwnames[] = {
6325 (char *) "self", NULL
6326 };
6327
6328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetCentreResize",kwnames,&obj0)) goto fail;
36ed4f51
RD
6329 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
6330 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
6331 {
6332 PyThreadState* __tstate = wxPyBeginAllowThreads();
6333 result = (bool)(arg1)->GetCentreResize();
6334
6335 wxPyEndAllowThreads(__tstate);
6336 if (PyErr_Occurred()) SWIG_fail;
6337 }
fbc46b20
RD
6338 {
6339 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6340 }
44127b65
RD
6341 return resultobj;
6342 fail:
6343 return NULL;
6344}
6345
6346
c370783e 6347static PyObject *_wrap_PyShape_SetMaintainAspectRatio(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6348 PyObject *resultobj;
6349 wxPyShape *arg1 = (wxPyShape *) 0 ;
6350 bool arg2 ;
6351 PyObject * obj0 = 0 ;
6352 PyObject * obj1 = 0 ;
6353 char *kwnames[] = {
6354 (char *) "self",(char *) "ar", NULL
6355 };
6356
6357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetMaintainAspectRatio",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
6359 if (SWIG_arg_fail(1)) SWIG_fail;
6360 {
6361 arg2 = (bool)(SWIG_As_bool(obj1));
6362 if (SWIG_arg_fail(2)) SWIG_fail;
6363 }
44127b65
RD
6364 {
6365 PyThreadState* __tstate = wxPyBeginAllowThreads();
6366 (arg1)->SetMaintainAspectRatio(arg2);
6367
6368 wxPyEndAllowThreads(__tstate);
6369 if (PyErr_Occurred()) SWIG_fail;
6370 }
6371 Py_INCREF(Py_None); resultobj = Py_None;
6372 return resultobj;
6373 fail:
6374 return NULL;
6375}
6376
6377
c370783e 6378static PyObject *_wrap_PyShape_GetMaintainAspectRatio(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6379 PyObject *resultobj;
6380 wxPyShape *arg1 = (wxPyShape *) 0 ;
6381 bool result;
6382 PyObject * obj0 = 0 ;
6383 char *kwnames[] = {
6384 (char *) "self", NULL
6385 };
6386
6387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetMaintainAspectRatio",kwnames,&obj0)) goto fail;
36ed4f51
RD
6388 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
6389 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
6390 {
6391 PyThreadState* __tstate = wxPyBeginAllowThreads();
6392 result = (bool)(arg1)->GetMaintainAspectRatio();
6393
6394 wxPyEndAllowThreads(__tstate);
6395 if (PyErr_Occurred()) SWIG_fail;
6396 }
fbc46b20
RD
6397 {
6398 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6399 }
44127b65
RD
6400 return resultobj;
6401 fail:
6402 return NULL;
6403}
6404
6405
c370783e 6406static PyObject *_wrap_PyShape_GetLines(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6407 PyObject *resultobj;
6408 wxPyShape *arg1 = (wxPyShape *) 0 ;
6409 PyObject *result;
6410 PyObject * obj0 = 0 ;
6411 char *kwnames[] = {
6412 (char *) "self", NULL
6413 };
6414
6415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetLines",kwnames,&obj0)) goto fail;
36ed4f51
RD
6416 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
6417 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
6418 {
6419 PyThreadState* __tstate = wxPyBeginAllowThreads();
6420 result = (PyObject *)wxPyShape_GetLines(arg1);
6421
6422 wxPyEndAllowThreads(__tstate);
6423 if (PyErr_Occurred()) SWIG_fail;
6424 }
6425 resultobj = result;
6426 return resultobj;
6427 fail:
6428 return NULL;
6429}
6430
6431
c370783e 6432static PyObject *_wrap_PyShape_SetDisableLabel(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6433 PyObject *resultobj;
6434 wxPyShape *arg1 = (wxPyShape *) 0 ;
6435 bool arg2 ;
6436 PyObject * obj0 = 0 ;
6437 PyObject * obj1 = 0 ;
6438 char *kwnames[] = {
6439 (char *) "self",(char *) "flag", NULL
6440 };
6441
6442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetDisableLabel",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6443 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
6444 if (SWIG_arg_fail(1)) SWIG_fail;
6445 {
6446 arg2 = (bool)(SWIG_As_bool(obj1));
6447 if (SWIG_arg_fail(2)) SWIG_fail;
6448 }
44127b65
RD
6449 {
6450 PyThreadState* __tstate = wxPyBeginAllowThreads();
6451 (arg1)->SetDisableLabel(arg2);
6452
6453 wxPyEndAllowThreads(__tstate);
6454 if (PyErr_Occurred()) SWIG_fail;
6455 }
6456 Py_INCREF(Py_None); resultobj = Py_None;
6457 return resultobj;
6458 fail:
6459 return NULL;
6460}
6461
6462
c370783e 6463static PyObject *_wrap_PyShape_GetDisableLabel(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6464 PyObject *resultobj;
6465 wxPyShape *arg1 = (wxPyShape *) 0 ;
6466 bool result;
6467 PyObject * obj0 = 0 ;
6468 char *kwnames[] = {
6469 (char *) "self", NULL
6470 };
6471
6472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetDisableLabel",kwnames,&obj0)) goto fail;
36ed4f51
RD
6473 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
6474 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
6475 {
6476 PyThreadState* __tstate = wxPyBeginAllowThreads();
6477 result = (bool)(arg1)->GetDisableLabel();
6478
6479 wxPyEndAllowThreads(__tstate);
6480 if (PyErr_Occurred()) SWIG_fail;
6481 }
fbc46b20
RD
6482 {
6483 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6484 }
44127b65
RD
6485 return resultobj;
6486 fail:
6487 return NULL;
6488}
6489
6490
c370783e 6491static PyObject *_wrap_PyShape_SetAttachmentMode(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6492 PyObject *resultobj;
6493 wxPyShape *arg1 = (wxPyShape *) 0 ;
6494 int arg2 ;
6495 PyObject * obj0 = 0 ;
8edf1c75 6496 PyObject * obj1 = 0 ;
44127b65
RD
6497 char *kwnames[] = {
6498 (char *) "self",(char *) "mode", NULL
6499 };
6500
8edf1c75 6501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetAttachmentMode",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6502 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
6503 if (SWIG_arg_fail(1)) SWIG_fail;
6504 {
6505 arg2 = (int)(SWIG_As_int(obj1));
6506 if (SWIG_arg_fail(2)) SWIG_fail;
6507 }
44127b65
RD
6508 {
6509 PyThreadState* __tstate = wxPyBeginAllowThreads();
6510 (arg1)->SetAttachmentMode(arg2);
6511
6512 wxPyEndAllowThreads(__tstate);
6513 if (PyErr_Occurred()) SWIG_fail;
6514 }
6515 Py_INCREF(Py_None); resultobj = Py_None;
6516 return resultobj;
6517 fail:
6518 return NULL;
6519}
6520
6521
c370783e 6522static PyObject *_wrap_PyShape_GetAttachmentMode(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6523 PyObject *resultobj;
6524 wxPyShape *arg1 = (wxPyShape *) 0 ;
6525 int result;
6526 PyObject * obj0 = 0 ;
6527 char *kwnames[] = {
6528 (char *) "self", NULL
6529 };
6530
6531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetAttachmentMode",kwnames,&obj0)) goto fail;
36ed4f51
RD
6532 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
6533 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
6534 {
6535 PyThreadState* __tstate = wxPyBeginAllowThreads();
6536 result = (int)(arg1)->GetAttachmentMode();
6537
6538 wxPyEndAllowThreads(__tstate);
6539 if (PyErr_Occurred()) SWIG_fail;
6540 }
36ed4f51
RD
6541 {
6542 resultobj = SWIG_From_int((int)(result));
6543 }
44127b65
RD
6544 return resultobj;
6545 fail:
6546 return NULL;
6547}
6548
6549
c370783e 6550static PyObject *_wrap_PyShape_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6551 PyObject *resultobj;
6552 wxPyShape *arg1 = (wxPyShape *) 0 ;
6553 long arg2 ;
6554 PyObject * obj0 = 0 ;
8edf1c75 6555 PyObject * obj1 = 0 ;
44127b65
RD
6556 char *kwnames[] = {
6557 (char *) "self",(char *) "i", NULL
6558 };
6559
8edf1c75 6560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetId",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6561 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
6562 if (SWIG_arg_fail(1)) SWIG_fail;
6563 {
6564 arg2 = (long)(SWIG_As_long(obj1));
6565 if (SWIG_arg_fail(2)) SWIG_fail;
6566 }
44127b65
RD
6567 {
6568 PyThreadState* __tstate = wxPyBeginAllowThreads();
6569 (arg1)->SetId(arg2);
6570
6571 wxPyEndAllowThreads(__tstate);
6572 if (PyErr_Occurred()) SWIG_fail;
6573 }
6574 Py_INCREF(Py_None); resultobj = Py_None;
6575 return resultobj;
6576 fail:
6577 return NULL;
6578}
6579
6580
c370783e 6581static PyObject *_wrap_PyShape_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6582 PyObject *resultobj;
6583 wxPyShape *arg1 = (wxPyShape *) 0 ;
6584 long result;
6585 PyObject * obj0 = 0 ;
6586 char *kwnames[] = {
6587 (char *) "self", NULL
6588 };
6589
6590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetId",kwnames,&obj0)) goto fail;
36ed4f51
RD
6591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
6592 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
6593 {
6594 PyThreadState* __tstate = wxPyBeginAllowThreads();
6595 result = (long)(arg1)->GetId();
6596
6597 wxPyEndAllowThreads(__tstate);
6598 if (PyErr_Occurred()) SWIG_fail;
6599 }
36ed4f51
RD
6600 {
6601 resultobj = SWIG_From_long((long)(result));
6602 }
44127b65
RD
6603 return resultobj;
6604 fail:
6605 return NULL;
6606}
6607
6608
c370783e 6609static PyObject *_wrap_PyShape_SetPen(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6610 PyObject *resultobj;
6611 wxPyShape *arg1 = (wxPyShape *) 0 ;
6612 wxPen *arg2 = (wxPen *) 0 ;
6613 PyObject * obj0 = 0 ;
6614 PyObject * obj1 = 0 ;
6615 char *kwnames[] = {
6616 (char *) "self",(char *) "pen", NULL
6617 };
6618
6619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetPen",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6620 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
6621 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
6622 {
6623 wxPen* temp;
6624 if (obj1) {
6625 if (obj1 == Py_None) {
6626 temp = NULL;
6627 }
6628 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
6629 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
6630 return NULL;
6631 }
6632 }
6633 if (temp)
6634 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
6635 temp->GetWidth(),
6636 temp->GetStyle());
6637 else
6638 arg2 = NULL;
6639 }
6640 {
6641 PyThreadState* __tstate = wxPyBeginAllowThreads();
6642 (arg1)->SetPen(arg2);
6643
6644 wxPyEndAllowThreads(__tstate);
6645 if (PyErr_Occurred()) SWIG_fail;
6646 }
6647 Py_INCREF(Py_None); resultobj = Py_None;
6648 return resultobj;
6649 fail:
6650 return NULL;
6651}
6652
6653
c370783e 6654static PyObject *_wrap_PyShape_SetBrush(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6655 PyObject *resultobj;
6656 wxPyShape *arg1 = (wxPyShape *) 0 ;
6657 wxBrush *arg2 = (wxBrush *) 0 ;
6658 PyObject * obj0 = 0 ;
6659 PyObject * obj1 = 0 ;
6660 char *kwnames[] = {
6661 (char *) "self",(char *) "brush", NULL
6662 };
6663
6664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetBrush",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6665 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
6666 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
6667 {
6668 wxBrush* temp;
6669 if (obj1) {
6670 if (obj1 == Py_None) {
6671 temp = NULL;
6672 }
6673 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxBrush"))) {
6674 PyErr_SetString(PyExc_TypeError, "Type error, expected wxBrush.");
6675 return NULL;
6676 }
6677 }
6678 if (temp)
6679 arg2 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
6680 else
6681 arg2 = NULL;
6682 }
6683 {
6684 PyThreadState* __tstate = wxPyBeginAllowThreads();
6685 (arg1)->SetBrush(arg2);
6686
6687 wxPyEndAllowThreads(__tstate);
6688 if (PyErr_Occurred()) SWIG_fail;
6689 }
6690 Py_INCREF(Py_None); resultobj = Py_None;
6691 return resultobj;
6692 fail:
6693 return NULL;
6694}
6695
6696
c370783e 6697static PyObject *_wrap_PyShape_Show(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6698 PyObject *resultobj;
6699 wxPyShape *arg1 = (wxPyShape *) 0 ;
6700 bool arg2 ;
6701 PyObject * obj0 = 0 ;
6702 PyObject * obj1 = 0 ;
6703 char *kwnames[] = {
6704 (char *) "self",(char *) "show", NULL
6705 };
6706
6707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Show",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6708 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
6709 if (SWIG_arg_fail(1)) SWIG_fail;
6710 {
6711 arg2 = (bool)(SWIG_As_bool(obj1));
6712 if (SWIG_arg_fail(2)) SWIG_fail;
6713 }
44127b65
RD
6714 {
6715 PyThreadState* __tstate = wxPyBeginAllowThreads();
6716 (arg1)->Show(arg2);
6717
6718 wxPyEndAllowThreads(__tstate);
6719 if (PyErr_Occurred()) SWIG_fail;
6720 }
6721 Py_INCREF(Py_None); resultobj = Py_None;
6722 return resultobj;
6723 fail:
6724 return NULL;
6725}
6726
6727
c370783e 6728static PyObject *_wrap_PyShape_IsShown(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6729 PyObject *resultobj;
6730 wxPyShape *arg1 = (wxPyShape *) 0 ;
6731 bool result;
6732 PyObject * obj0 = 0 ;
6733 char *kwnames[] = {
6734 (char *) "self", NULL
6735 };
6736
6737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_IsShown",kwnames,&obj0)) goto fail;
36ed4f51
RD
6738 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
6739 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
6740 {
6741 PyThreadState* __tstate = wxPyBeginAllowThreads();
6742 result = (bool)(arg1)->IsShown();
6743
6744 wxPyEndAllowThreads(__tstate);
6745 if (PyErr_Occurred()) SWIG_fail;
6746 }
fbc46b20
RD
6747 {
6748 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6749 }
44127b65
RD
6750 return resultobj;
6751 fail:
6752 return NULL;
6753}
6754
6755
c370783e 6756static PyObject *_wrap_PyShape_Move(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6757 PyObject *resultobj;
6758 wxPyShape *arg1 = (wxPyShape *) 0 ;
6759 wxDC *arg2 = 0 ;
6760 double arg3 ;
6761 double arg4 ;
b411df4a 6762 bool arg5 = (bool) true ;
44127b65
RD
6763 PyObject * obj0 = 0 ;
6764 PyObject * obj1 = 0 ;
8edf1c75
RD
6765 PyObject * obj2 = 0 ;
6766 PyObject * obj3 = 0 ;
44127b65
RD
6767 PyObject * obj4 = 0 ;
6768 char *kwnames[] = {
6769 (char *) "self",(char *) "dc",(char *) "x1",(char *) "y1",(char *) "display", NULL
6770 };
6771
8edf1c75 6772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:PyShape_Move",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
6773 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
6774 if (SWIG_arg_fail(1)) SWIG_fail;
6775 {
6776 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
6777 if (SWIG_arg_fail(2)) SWIG_fail;
6778 if (arg2 == NULL) {
6779 SWIG_null_ref("wxDC");
6780 }
6781 if (SWIG_arg_fail(2)) SWIG_fail;
6782 }
6783 {
6784 arg3 = (double)(SWIG_As_double(obj2));
6785 if (SWIG_arg_fail(3)) SWIG_fail;
6786 }
6787 {
6788 arg4 = (double)(SWIG_As_double(obj3));
6789 if (SWIG_arg_fail(4)) SWIG_fail;
6790 }
44127b65 6791 if (obj4) {
36ed4f51
RD
6792 {
6793 arg5 = (bool)(SWIG_As_bool(obj4));
6794 if (SWIG_arg_fail(5)) SWIG_fail;
6795 }
44127b65
RD
6796 }
6797 {
6798 PyThreadState* __tstate = wxPyBeginAllowThreads();
6799 (arg1)->Move(*arg2,arg3,arg4,arg5);
6800
6801 wxPyEndAllowThreads(__tstate);
6802 if (PyErr_Occurred()) SWIG_fail;
6803 }
6804 Py_INCREF(Py_None); resultobj = Py_None;
6805 return resultobj;
6806 fail:
6807 return NULL;
6808}
6809
6810
c370783e 6811static PyObject *_wrap_PyShape_Erase(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6812 PyObject *resultobj;
6813 wxPyShape *arg1 = (wxPyShape *) 0 ;
6814 wxDC *arg2 = 0 ;
6815 PyObject * obj0 = 0 ;
6816 PyObject * obj1 = 0 ;
6817 char *kwnames[] = {
6818 (char *) "self",(char *) "dc", NULL
6819 };
6820
6821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Erase",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6822 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
6823 if (SWIG_arg_fail(1)) SWIG_fail;
6824 {
6825 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
6826 if (SWIG_arg_fail(2)) SWIG_fail;
6827 if (arg2 == NULL) {
6828 SWIG_null_ref("wxDC");
6829 }
6830 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
6831 }
6832 {
6833 PyThreadState* __tstate = wxPyBeginAllowThreads();
6834 (arg1)->Erase(*arg2);
6835
6836 wxPyEndAllowThreads(__tstate);
6837 if (PyErr_Occurred()) SWIG_fail;
6838 }
6839 Py_INCREF(Py_None); resultobj = Py_None;
6840 return resultobj;
6841 fail:
6842 return NULL;
6843}
6844
6845
c370783e 6846static PyObject *_wrap_PyShape_EraseContents(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6847 PyObject *resultobj;
6848 wxPyShape *arg1 = (wxPyShape *) 0 ;
6849 wxDC *arg2 = 0 ;
6850 PyObject * obj0 = 0 ;
6851 PyObject * obj1 = 0 ;
6852 char *kwnames[] = {
6853 (char *) "self",(char *) "dc", NULL
6854 };
6855
6856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_EraseContents",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6857 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
6858 if (SWIG_arg_fail(1)) SWIG_fail;
6859 {
6860 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
6861 if (SWIG_arg_fail(2)) SWIG_fail;
6862 if (arg2 == NULL) {
6863 SWIG_null_ref("wxDC");
6864 }
6865 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
6866 }
6867 {
6868 PyThreadState* __tstate = wxPyBeginAllowThreads();
6869 (arg1)->EraseContents(*arg2);
6870
6871 wxPyEndAllowThreads(__tstate);
6872 if (PyErr_Occurred()) SWIG_fail;
6873 }
6874 Py_INCREF(Py_None); resultobj = Py_None;
6875 return resultobj;
6876 fail:
6877 return NULL;
6878}
6879
6880
c370783e 6881static PyObject *_wrap_PyShape_Draw(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6882 PyObject *resultobj;
6883 wxPyShape *arg1 = (wxPyShape *) 0 ;
6884 wxDC *arg2 = 0 ;
6885 PyObject * obj0 = 0 ;
6886 PyObject * obj1 = 0 ;
6887 char *kwnames[] = {
6888 (char *) "self",(char *) "dc", NULL
6889 };
6890
6891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Draw",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6892 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
6893 if (SWIG_arg_fail(1)) SWIG_fail;
6894 {
6895 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
6896 if (SWIG_arg_fail(2)) SWIG_fail;
6897 if (arg2 == NULL) {
6898 SWIG_null_ref("wxDC");
6899 }
6900 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
6901 }
6902 {
6903 PyThreadState* __tstate = wxPyBeginAllowThreads();
6904 (arg1)->Draw(*arg2);
6905
6906 wxPyEndAllowThreads(__tstate);
6907 if (PyErr_Occurred()) SWIG_fail;
6908 }
6909 Py_INCREF(Py_None); resultobj = Py_None;
6910 return resultobj;
6911 fail:
6912 return NULL;
6913}
6914
6915
c370783e 6916static PyObject *_wrap_PyShape_Flash(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6917 PyObject *resultobj;
6918 wxPyShape *arg1 = (wxPyShape *) 0 ;
6919 PyObject * obj0 = 0 ;
6920 char *kwnames[] = {
6921 (char *) "self", NULL
6922 };
6923
6924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Flash",kwnames,&obj0)) goto fail;
36ed4f51
RD
6925 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
6926 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
6927 {
6928 PyThreadState* __tstate = wxPyBeginAllowThreads();
6929 (arg1)->Flash();
6930
6931 wxPyEndAllowThreads(__tstate);
6932 if (PyErr_Occurred()) SWIG_fail;
6933 }
6934 Py_INCREF(Py_None); resultobj = Py_None;
6935 return resultobj;
6936 fail:
6937 return NULL;
6938}
6939
6940
c370783e 6941static PyObject *_wrap_PyShape_MoveLinks(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6942 PyObject *resultobj;
6943 wxPyShape *arg1 = (wxPyShape *) 0 ;
6944 wxDC *arg2 = 0 ;
6945 PyObject * obj0 = 0 ;
6946 PyObject * obj1 = 0 ;
6947 char *kwnames[] = {
6948 (char *) "self",(char *) "dc", NULL
6949 };
6950
6951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_MoveLinks",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
6953 if (SWIG_arg_fail(1)) SWIG_fail;
6954 {
6955 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
6956 if (SWIG_arg_fail(2)) SWIG_fail;
6957 if (arg2 == NULL) {
6958 SWIG_null_ref("wxDC");
6959 }
6960 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
6961 }
6962 {
6963 PyThreadState* __tstate = wxPyBeginAllowThreads();
6964 (arg1)->MoveLinks(*arg2);
6965
6966 wxPyEndAllowThreads(__tstate);
6967 if (PyErr_Occurred()) SWIG_fail;
6968 }
6969 Py_INCREF(Py_None); resultobj = Py_None;
6970 return resultobj;
6971 fail:
6972 return NULL;
6973}
6974
6975
c370783e 6976static PyObject *_wrap_PyShape_DrawContents(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6977 PyObject *resultobj;
6978 wxPyShape *arg1 = (wxPyShape *) 0 ;
6979 wxDC *arg2 = 0 ;
6980 PyObject * obj0 = 0 ;
6981 PyObject * obj1 = 0 ;
6982 char *kwnames[] = {
6983 (char *) "self",(char *) "dc", NULL
6984 };
6985
6986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_DrawContents",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6987 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
6988 if (SWIG_arg_fail(1)) SWIG_fail;
6989 {
6990 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
6991 if (SWIG_arg_fail(2)) SWIG_fail;
6992 if (arg2 == NULL) {
6993 SWIG_null_ref("wxDC");
6994 }
6995 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
6996 }
6997 {
6998 PyThreadState* __tstate = wxPyBeginAllowThreads();
6999 (arg1)->DrawContents(*arg2);
7000
7001 wxPyEndAllowThreads(__tstate);
7002 if (PyErr_Occurred()) SWIG_fail;
7003 }
7004 Py_INCREF(Py_None); resultobj = Py_None;
7005 return resultobj;
7006 fail:
7007 return NULL;
7008}
7009
7010
c370783e 7011static PyObject *_wrap_PyShape_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7012 PyObject *resultobj;
7013 wxPyShape *arg1 = (wxPyShape *) 0 ;
7014 double arg2 ;
7015 double arg3 ;
b411df4a 7016 bool arg4 = (bool) true ;
44127b65 7017 PyObject * obj0 = 0 ;
8edf1c75
RD
7018 PyObject * obj1 = 0 ;
7019 PyObject * obj2 = 0 ;
44127b65
RD
7020 PyObject * obj3 = 0 ;
7021 char *kwnames[] = {
7022 (char *) "self",(char *) "x",(char *) "y",(char *) "recursive", NULL
7023 };
7024
8edf1c75 7025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShape_SetSize",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
7026 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
7027 if (SWIG_arg_fail(1)) SWIG_fail;
7028 {
7029 arg2 = (double)(SWIG_As_double(obj1));
7030 if (SWIG_arg_fail(2)) SWIG_fail;
7031 }
7032 {
7033 arg3 = (double)(SWIG_As_double(obj2));
7034 if (SWIG_arg_fail(3)) SWIG_fail;
7035 }
44127b65 7036 if (obj3) {
36ed4f51
RD
7037 {
7038 arg4 = (bool)(SWIG_As_bool(obj3));
7039 if (SWIG_arg_fail(4)) SWIG_fail;
7040 }
44127b65
RD
7041 }
7042 {
7043 PyThreadState* __tstate = wxPyBeginAllowThreads();
7044 (arg1)->SetSize(arg2,arg3,arg4);
7045
7046 wxPyEndAllowThreads(__tstate);
7047 if (PyErr_Occurred()) SWIG_fail;
7048 }
7049 Py_INCREF(Py_None); resultobj = Py_None;
7050 return resultobj;
7051 fail:
7052 return NULL;
7053}
7054
7055
c370783e 7056static PyObject *_wrap_PyShape_SetAttachmentSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7057 PyObject *resultobj;
7058 wxPyShape *arg1 = (wxPyShape *) 0 ;
7059 double arg2 ;
7060 double arg3 ;
7061 PyObject * obj0 = 0 ;
8edf1c75
RD
7062 PyObject * obj1 = 0 ;
7063 PyObject * obj2 = 0 ;
44127b65
RD
7064 char *kwnames[] = {
7065 (char *) "self",(char *) "x",(char *) "y", NULL
7066 };
7067
8edf1c75 7068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_SetAttachmentSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
7069 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
7070 if (SWIG_arg_fail(1)) SWIG_fail;
7071 {
7072 arg2 = (double)(SWIG_As_double(obj1));
7073 if (SWIG_arg_fail(2)) SWIG_fail;
7074 }
7075 {
7076 arg3 = (double)(SWIG_As_double(obj2));
7077 if (SWIG_arg_fail(3)) SWIG_fail;
7078 }
44127b65
RD
7079 {
7080 PyThreadState* __tstate = wxPyBeginAllowThreads();
7081 (arg1)->SetAttachmentSize(arg2,arg3);
7082
7083 wxPyEndAllowThreads(__tstate);
7084 if (PyErr_Occurred()) SWIG_fail;
7085 }
7086 Py_INCREF(Py_None); resultobj = Py_None;
7087 return resultobj;
7088 fail:
7089 return NULL;
7090}
7091
7092
c370783e 7093static PyObject *_wrap_PyShape_Attach(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7094 PyObject *resultobj;
7095 wxPyShape *arg1 = (wxPyShape *) 0 ;
7096 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
7097 PyObject * obj0 = 0 ;
7098 PyObject * obj1 = 0 ;
7099 char *kwnames[] = {
7100 (char *) "self",(char *) "can", NULL
7101 };
7102
7103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Attach",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7104 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
7105 if (SWIG_arg_fail(1)) SWIG_fail;
7106 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyShapeCanvas, SWIG_POINTER_EXCEPTION | 0);
7107 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
7108 {
7109 PyThreadState* __tstate = wxPyBeginAllowThreads();
7110 (arg1)->Attach(arg2);
7111
7112 wxPyEndAllowThreads(__tstate);
7113 if (PyErr_Occurred()) SWIG_fail;
7114 }
7115 Py_INCREF(Py_None); resultobj = Py_None;
7116 return resultobj;
7117 fail:
7118 return NULL;
7119}
7120
7121
c370783e 7122static PyObject *_wrap_PyShape_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7123 PyObject *resultobj;
7124 wxPyShape *arg1 = (wxPyShape *) 0 ;
7125 PyObject * obj0 = 0 ;
7126 char *kwnames[] = {
7127 (char *) "self", NULL
7128 };
7129
7130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Detach",kwnames,&obj0)) goto fail;
36ed4f51
RD
7131 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
7132 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
7133 {
7134 PyThreadState* __tstate = wxPyBeginAllowThreads();
7135 (arg1)->Detach();
7136
7137 wxPyEndAllowThreads(__tstate);
7138 if (PyErr_Occurred()) SWIG_fail;
7139 }
7140 Py_INCREF(Py_None); resultobj = Py_None;
7141 return resultobj;
7142 fail:
7143 return NULL;
7144}
7145
7146
c370783e 7147static PyObject *_wrap_PyShape_Constrain(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7148 PyObject *resultobj;
7149 wxPyShape *arg1 = (wxPyShape *) 0 ;
7150 bool result;
7151 PyObject * obj0 = 0 ;
7152 char *kwnames[] = {
7153 (char *) "self", NULL
7154 };
7155
7156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Constrain",kwnames,&obj0)) goto fail;
36ed4f51
RD
7157 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
7158 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
7159 {
7160 PyThreadState* __tstate = wxPyBeginAllowThreads();
7161 result = (bool)(arg1)->Constrain();
7162
7163 wxPyEndAllowThreads(__tstate);
7164 if (PyErr_Occurred()) SWIG_fail;
7165 }
fbc46b20
RD
7166 {
7167 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7168 }
44127b65
RD
7169 return resultobj;
7170 fail:
7171 return NULL;
7172}
7173
7174
c370783e 7175static PyObject *_wrap_PyShape_AddLine(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7176 PyObject *resultobj;
7177 wxPyShape *arg1 = (wxPyShape *) 0 ;
7178 wxPyLineShape *arg2 = (wxPyLineShape *) 0 ;
7179 wxPyShape *arg3 = (wxPyShape *) 0 ;
7180 int arg4 = (int) 0 ;
7181 int arg5 = (int) 0 ;
7182 int arg6 = (int) -1 ;
7183 int arg7 = (int) -1 ;
7184 PyObject * obj0 = 0 ;
7185 PyObject * obj1 = 0 ;
7186 PyObject * obj2 = 0 ;
8edf1c75
RD
7187 PyObject * obj3 = 0 ;
7188 PyObject * obj4 = 0 ;
7189 PyObject * obj5 = 0 ;
7190 PyObject * obj6 = 0 ;
44127b65
RD
7191 char *kwnames[] = {
7192 (char *) "self",(char *) "line",(char *) "other",(char *) "attachFrom",(char *) "attachTo",(char *) "positionFrom",(char *) "positionTo", NULL
7193 };
7194
8edf1c75 7195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:PyShape_AddLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
7196 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
7197 if (SWIG_arg_fail(1)) SWIG_fail;
7198 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
7199 if (SWIG_arg_fail(2)) SWIG_fail;
7200 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
7201 if (SWIG_arg_fail(3)) SWIG_fail;
8edf1c75 7202 if (obj3) {
36ed4f51
RD
7203 {
7204 arg4 = (int)(SWIG_As_int(obj3));
7205 if (SWIG_arg_fail(4)) SWIG_fail;
7206 }
8edf1c75
RD
7207 }
7208 if (obj4) {
36ed4f51
RD
7209 {
7210 arg5 = (int)(SWIG_As_int(obj4));
7211 if (SWIG_arg_fail(5)) SWIG_fail;
7212 }
8edf1c75
RD
7213 }
7214 if (obj5) {
36ed4f51
RD
7215 {
7216 arg6 = (int)(SWIG_As_int(obj5));
7217 if (SWIG_arg_fail(6)) SWIG_fail;
7218 }
8edf1c75
RD
7219 }
7220 if (obj6) {
36ed4f51
RD
7221 {
7222 arg7 = (int)(SWIG_As_int(obj6));
7223 if (SWIG_arg_fail(7)) SWIG_fail;
7224 }
8edf1c75 7225 }
44127b65
RD
7226 {
7227 PyThreadState* __tstate = wxPyBeginAllowThreads();
7228 (arg1)->AddLine(arg2,arg3,arg4,arg5,arg6,arg7);
7229
7230 wxPyEndAllowThreads(__tstate);
7231 if (PyErr_Occurred()) SWIG_fail;
7232 }
7233 Py_INCREF(Py_None); resultobj = Py_None;
7234 return resultobj;
7235 fail:
7236 return NULL;
7237}
7238
7239
c370783e 7240static PyObject *_wrap_PyShape_GetLinePosition(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7241 PyObject *resultobj;
7242 wxPyShape *arg1 = (wxPyShape *) 0 ;
7243 wxPyLineShape *arg2 = (wxPyLineShape *) 0 ;
7244 int result;
7245 PyObject * obj0 = 0 ;
7246 PyObject * obj1 = 0 ;
7247 char *kwnames[] = {
7248 (char *) "self",(char *) "line", NULL
7249 };
7250
7251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_GetLinePosition",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
7253 if (SWIG_arg_fail(1)) SWIG_fail;
7254 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
7255 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
7256 {
7257 PyThreadState* __tstate = wxPyBeginAllowThreads();
7258 result = (int)(arg1)->GetLinePosition(arg2);
7259
7260 wxPyEndAllowThreads(__tstate);
7261 if (PyErr_Occurred()) SWIG_fail;
7262 }
36ed4f51
RD
7263 {
7264 resultobj = SWIG_From_int((int)(result));
7265 }
44127b65
RD
7266 return resultobj;
7267 fail:
7268 return NULL;
7269}
7270
7271
c370783e 7272static PyObject *_wrap_PyShape_AddText(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7273 PyObject *resultobj;
7274 wxPyShape *arg1 = (wxPyShape *) 0 ;
7275 wxString *arg2 = 0 ;
b411df4a 7276 bool temp2 = false ;
44127b65
RD
7277 PyObject * obj0 = 0 ;
7278 PyObject * obj1 = 0 ;
7279 char *kwnames[] = {
7280 (char *) "self",(char *) "string", NULL
7281 };
7282
7283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_AddText",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7284 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
7285 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
7286 {
7287 arg2 = wxString_in_helper(obj1);
7288 if (arg2 == NULL) SWIG_fail;
b411df4a 7289 temp2 = true;
44127b65
RD
7290 }
7291 {
7292 PyThreadState* __tstate = wxPyBeginAllowThreads();
7293 (arg1)->AddText((wxString const &)*arg2);
7294
7295 wxPyEndAllowThreads(__tstate);
7296 if (PyErr_Occurred()) SWIG_fail;
7297 }
7298 Py_INCREF(Py_None); resultobj = Py_None;
7299 {
7300 if (temp2)
7301 delete arg2;
7302 }
7303 return resultobj;
7304 fail:
7305 {
7306 if (temp2)
7307 delete arg2;
7308 }
7309 return NULL;
7310}
7311
7312
c370783e 7313static PyObject *_wrap_PyShape_GetPen(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7314 PyObject *resultobj;
7315 wxPyShape *arg1 = (wxPyShape *) 0 ;
7316 wxPen *result;
7317 PyObject * obj0 = 0 ;
7318 char *kwnames[] = {
7319 (char *) "self", NULL
7320 };
7321
7322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetPen",kwnames,&obj0)) goto fail;
36ed4f51
RD
7323 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
7324 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
7325 {
7326 PyThreadState* __tstate = wxPyBeginAllowThreads();
7327 result = (wxPen *)(arg1)->GetPen();
7328
7329 wxPyEndAllowThreads(__tstate);
7330 if (PyErr_Occurred()) SWIG_fail;
7331 }
2f4c0a16 7332 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPen, 0);
44127b65
RD
7333 return resultobj;
7334 fail:
7335 return NULL;
7336}
7337
7338
c370783e 7339static PyObject *_wrap_PyShape_GetBrush(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7340 PyObject *resultobj;
7341 wxPyShape *arg1 = (wxPyShape *) 0 ;
7342 wxBrush *result;
7343 PyObject * obj0 = 0 ;
7344 char *kwnames[] = {
7345 (char *) "self", NULL
7346 };
7347
7348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBrush",kwnames,&obj0)) goto fail;
36ed4f51
RD
7349 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
7350 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
7351 {
7352 PyThreadState* __tstate = wxPyBeginAllowThreads();
7353 result = (wxBrush *)(arg1)->GetBrush();
7354
7355 wxPyEndAllowThreads(__tstate);
7356 if (PyErr_Occurred()) SWIG_fail;
7357 }
2f4c0a16 7358 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBrush, 0);
44127b65
RD
7359 return resultobj;
7360 fail:
7361 return NULL;
7362}
7363
7364
c370783e 7365static PyObject *_wrap_PyShape_SetDefaultRegionSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7366 PyObject *resultobj;
7367 wxPyShape *arg1 = (wxPyShape *) 0 ;
7368 PyObject * obj0 = 0 ;
7369 char *kwnames[] = {
7370 (char *) "self", NULL
7371 };
7372
7373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_SetDefaultRegionSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
7374 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
7375 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
7376 {
7377 PyThreadState* __tstate = wxPyBeginAllowThreads();
7378 (arg1)->SetDefaultRegionSize();
7379
7380 wxPyEndAllowThreads(__tstate);
7381 if (PyErr_Occurred()) SWIG_fail;
7382 }
7383 Py_INCREF(Py_None); resultobj = Py_None;
7384 return resultobj;
7385 fail:
7386 return NULL;
7387}
7388
7389
c370783e 7390static PyObject *_wrap_PyShape_FormatText(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7391 PyObject *resultobj;
7392 wxPyShape *arg1 = (wxPyShape *) 0 ;
7393 wxDC *arg2 = 0 ;
7394 wxString *arg3 = 0 ;
7395 int arg4 = (int) 0 ;
b411df4a 7396 bool temp3 = false ;
44127b65
RD
7397 PyObject * obj0 = 0 ;
7398 PyObject * obj1 = 0 ;
7399 PyObject * obj2 = 0 ;
8edf1c75 7400 PyObject * obj3 = 0 ;
44127b65
RD
7401 char *kwnames[] = {
7402 (char *) "self",(char *) "dc",(char *) "s",(char *) "regionId", NULL
7403 };
7404
8edf1c75 7405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShape_FormatText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
7406 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
7407 if (SWIG_arg_fail(1)) SWIG_fail;
7408 {
7409 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
7410 if (SWIG_arg_fail(2)) SWIG_fail;
7411 if (arg2 == NULL) {
7412 SWIG_null_ref("wxDC");
7413 }
7414 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
7415 }
7416 {
7417 arg3 = wxString_in_helper(obj2);
7418 if (arg3 == NULL) SWIG_fail;
b411df4a 7419 temp3 = true;
44127b65 7420 }
8edf1c75 7421 if (obj3) {
36ed4f51
RD
7422 {
7423 arg4 = (int)(SWIG_As_int(obj3));
7424 if (SWIG_arg_fail(4)) SWIG_fail;
7425 }
8edf1c75 7426 }
44127b65
RD
7427 {
7428 PyThreadState* __tstate = wxPyBeginAllowThreads();
7429 (arg1)->FormatText(*arg2,(wxString const &)*arg3,arg4);
7430
7431 wxPyEndAllowThreads(__tstate);
7432 if (PyErr_Occurred()) SWIG_fail;
7433 }
7434 Py_INCREF(Py_None); resultobj = Py_None;
7435 {
7436 if (temp3)
7437 delete arg3;
7438 }
7439 return resultobj;
7440 fail:
7441 {
7442 if (temp3)
7443 delete arg3;
7444 }
7445 return NULL;
7446}
7447
7448
c370783e 7449static PyObject *_wrap_PyShape_SetFormatMode(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7450 PyObject *resultobj;
7451 wxPyShape *arg1 = (wxPyShape *) 0 ;
7452 int arg2 ;
7453 int arg3 = (int) 0 ;
7454 PyObject * obj0 = 0 ;
8edf1c75
RD
7455 PyObject * obj1 = 0 ;
7456 PyObject * obj2 = 0 ;
44127b65
RD
7457 char *kwnames[] = {
7458 (char *) "self",(char *) "mode",(char *) "regionId", NULL
7459 };
7460
8edf1c75 7461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_SetFormatMode",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
7462 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
7463 if (SWIG_arg_fail(1)) SWIG_fail;
7464 {
7465 arg2 = (int)(SWIG_As_int(obj1));
7466 if (SWIG_arg_fail(2)) SWIG_fail;
7467 }
8edf1c75 7468 if (obj2) {
36ed4f51
RD
7469 {
7470 arg3 = (int)(SWIG_As_int(obj2));
7471 if (SWIG_arg_fail(3)) SWIG_fail;
7472 }
8edf1c75 7473 }
44127b65
RD
7474 {
7475 PyThreadState* __tstate = wxPyBeginAllowThreads();
7476 (arg1)->SetFormatMode(arg2,arg3);
7477
7478 wxPyEndAllowThreads(__tstate);
7479 if (PyErr_Occurred()) SWIG_fail;
7480 }
7481 Py_INCREF(Py_None); resultobj = Py_None;
7482 return resultobj;
7483 fail:
7484 return NULL;
7485}
7486
7487
c370783e 7488static PyObject *_wrap_PyShape_GetFormatMode(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7489 PyObject *resultobj;
7490 wxPyShape *arg1 = (wxPyShape *) 0 ;
7491 int arg2 = (int) 0 ;
7492 int result;
7493 PyObject * obj0 = 0 ;
8edf1c75 7494 PyObject * obj1 = 0 ;
44127b65
RD
7495 char *kwnames[] = {
7496 (char *) "self",(char *) "regionId", NULL
7497 };
7498
8edf1c75 7499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_GetFormatMode",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7500 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
7501 if (SWIG_arg_fail(1)) SWIG_fail;
8edf1c75 7502 if (obj1) {
36ed4f51
RD
7503 {
7504 arg2 = (int)(SWIG_As_int(obj1));
7505 if (SWIG_arg_fail(2)) SWIG_fail;
7506 }
8edf1c75 7507 }
44127b65
RD
7508 {
7509 PyThreadState* __tstate = wxPyBeginAllowThreads();
7510 result = (int)(arg1)->GetFormatMode(arg2);
7511
7512 wxPyEndAllowThreads(__tstate);
7513 if (PyErr_Occurred()) SWIG_fail;
7514 }
36ed4f51
RD
7515 {
7516 resultobj = SWIG_From_int((int)(result));
7517 }
44127b65
RD
7518 return resultobj;
7519 fail:
7520 return NULL;
7521}
7522
7523
c370783e 7524static PyObject *_wrap_PyShape_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7525 PyObject *resultobj;
7526 wxPyShape *arg1 = (wxPyShape *) 0 ;
7527 wxFont *arg2 = (wxFont *) 0 ;
7528 int arg3 = (int) 0 ;
7529 PyObject * obj0 = 0 ;
7530 PyObject * obj1 = 0 ;
8edf1c75 7531 PyObject * obj2 = 0 ;
44127b65
RD
7532 char *kwnames[] = {
7533 (char *) "self",(char *) "font",(char *) "regionId", NULL
7534 };
7535
8edf1c75 7536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
7537 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
7538 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
7539 {
7540 wxFont* temp;
7541 if (obj1) {
7542 if (obj1 == Py_None) {
7543 temp = NULL;
7544 }
7545 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxFont"))) {
7546 PyErr_SetString(PyExc_TypeError, "Type error, expected wxFont.");
7547 return NULL;
7548 }
7549 }
7550 if (temp)
7551 arg2 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
7552 temp->GetFamily(),
7553 temp->GetStyle(),
7554 temp->GetWeight(),
7555 temp->GetUnderlined(),
7556 temp->GetFaceName(),
7557 temp->GetEncoding());
7558 else
7559 arg2 = NULL;
7560 }
8edf1c75 7561 if (obj2) {
36ed4f51
RD
7562 {
7563 arg3 = (int)(SWIG_As_int(obj2));
7564 if (SWIG_arg_fail(3)) SWIG_fail;
7565 }
8edf1c75 7566 }
44127b65
RD
7567 {
7568 PyThreadState* __tstate = wxPyBeginAllowThreads();
7569 (arg1)->SetFont(arg2,arg3);
7570
7571 wxPyEndAllowThreads(__tstate);
7572 if (PyErr_Occurred()) SWIG_fail;
7573 }
7574 Py_INCREF(Py_None); resultobj = Py_None;
7575 return resultobj;
7576 fail:
7577 return NULL;
7578}
7579
7580
c370783e 7581static PyObject *_wrap_PyShape_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7582 PyObject *resultobj;
7583 wxPyShape *arg1 = (wxPyShape *) 0 ;
7584 int arg2 = (int) 0 ;
7585 wxFont *result;
7586 PyObject * obj0 = 0 ;
8edf1c75 7587 PyObject * obj1 = 0 ;
44127b65
RD
7588 char *kwnames[] = {
7589 (char *) "self",(char *) "regionId", NULL
7590 };
7591
8edf1c75 7592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_GetFont",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7593 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
7594 if (SWIG_arg_fail(1)) SWIG_fail;
8edf1c75 7595 if (obj1) {
36ed4f51
RD
7596 {
7597 arg2 = (int)(SWIG_As_int(obj1));
7598 if (SWIG_arg_fail(2)) SWIG_fail;
7599 }
8edf1c75 7600 }
44127b65
RD
7601 {
7602 PyThreadState* __tstate = wxPyBeginAllowThreads();
7603 result = (wxFont *)(arg1)->GetFont(arg2);
7604
7605 wxPyEndAllowThreads(__tstate);
7606 if (PyErr_Occurred()) SWIG_fail;
7607 }
2f4c0a16 7608 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 0);
44127b65
RD
7609 return resultobj;
7610 fail:
7611 return NULL;
7612}
7613
7614
c370783e 7615static PyObject *_wrap_PyShape_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7616 PyObject *resultobj;
7617 wxPyShape *arg1 = (wxPyShape *) 0 ;
7618 wxString *arg2 = 0 ;
7619 int arg3 = (int) 0 ;
b411df4a 7620 bool temp2 = false ;
44127b65
RD
7621 PyObject * obj0 = 0 ;
7622 PyObject * obj1 = 0 ;
8edf1c75 7623 PyObject * obj2 = 0 ;
44127b65
RD
7624 char *kwnames[] = {
7625 (char *) "self",(char *) "colour",(char *) "regionId", NULL
7626 };
7627
8edf1c75 7628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_SetTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
7629 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
7630 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
7631 {
7632 arg2 = wxString_in_helper(obj1);
7633 if (arg2 == NULL) SWIG_fail;
b411df4a 7634 temp2 = true;
44127b65 7635 }
8edf1c75 7636 if (obj2) {
36ed4f51
RD
7637 {
7638 arg3 = (int)(SWIG_As_int(obj2));
7639 if (SWIG_arg_fail(3)) SWIG_fail;
7640 }
8edf1c75 7641 }
44127b65
RD
7642 {
7643 PyThreadState* __tstate = wxPyBeginAllowThreads();
7644 (arg1)->SetTextColour((wxString const &)*arg2,arg3);
7645
7646 wxPyEndAllowThreads(__tstate);
7647 if (PyErr_Occurred()) SWIG_fail;
7648 }
7649 Py_INCREF(Py_None); resultobj = Py_None;
7650 {
7651 if (temp2)
7652 delete arg2;
7653 }
7654 return resultobj;
7655 fail:
7656 {
7657 if (temp2)
7658 delete arg2;
7659 }
7660 return NULL;
7661}
7662
7663
c370783e 7664static PyObject *_wrap_PyShape_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7665 PyObject *resultobj;
7666 wxPyShape *arg1 = (wxPyShape *) 0 ;
7667 int arg2 = (int) 0 ;
7668 wxString result;
7669 PyObject * obj0 = 0 ;
8edf1c75 7670 PyObject * obj1 = 0 ;
44127b65
RD
7671 char *kwnames[] = {
7672 (char *) "self",(char *) "regionId", NULL
7673 };
7674
8edf1c75 7675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_GetTextColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7676 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
7677 if (SWIG_arg_fail(1)) SWIG_fail;
8edf1c75 7678 if (obj1) {
36ed4f51
RD
7679 {
7680 arg2 = (int)(SWIG_As_int(obj1));
7681 if (SWIG_arg_fail(2)) SWIG_fail;
7682 }
8edf1c75 7683 }
44127b65
RD
7684 {
7685 PyThreadState* __tstate = wxPyBeginAllowThreads();
7686 result = (arg1)->GetTextColour(arg2);
7687
7688 wxPyEndAllowThreads(__tstate);
7689 if (PyErr_Occurred()) SWIG_fail;
7690 }
7691 {
7692#if wxUSE_UNICODE
7693 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7694#else
7695 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7696#endif
7697 }
7698 return resultobj;
7699 fail:
7700 return NULL;
7701}
7702
7703
c370783e 7704static PyObject *_wrap_PyShape_GetNumberOfTextRegions(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7705 PyObject *resultobj;
7706 wxPyShape *arg1 = (wxPyShape *) 0 ;
7707 int result;
7708 PyObject * obj0 = 0 ;
7709 char *kwnames[] = {
7710 (char *) "self", NULL
7711 };
7712
7713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetNumberOfTextRegions",kwnames,&obj0)) goto fail;
36ed4f51
RD
7714 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
7715 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
7716 {
7717 PyThreadState* __tstate = wxPyBeginAllowThreads();
7718 result = (int)(arg1)->GetNumberOfTextRegions();
7719
7720 wxPyEndAllowThreads(__tstate);
7721 if (PyErr_Occurred()) SWIG_fail;
7722 }
36ed4f51
RD
7723 {
7724 resultobj = SWIG_From_int((int)(result));
7725 }
44127b65
RD
7726 return resultobj;
7727 fail:
7728 return NULL;
7729}
7730
7731
c370783e 7732static PyObject *_wrap_PyShape_SetRegionName(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7733 PyObject *resultobj;
7734 wxPyShape *arg1 = (wxPyShape *) 0 ;
7735 wxString *arg2 = 0 ;
7736 int arg3 = (int) 0 ;
b411df4a 7737 bool temp2 = false ;
44127b65
RD
7738 PyObject * obj0 = 0 ;
7739 PyObject * obj1 = 0 ;
8edf1c75 7740 PyObject * obj2 = 0 ;
44127b65
RD
7741 char *kwnames[] = {
7742 (char *) "self",(char *) "name",(char *) "regionId", NULL
7743 };
7744
8edf1c75 7745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_SetRegionName",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
7746 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
7747 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
7748 {
7749 arg2 = wxString_in_helper(obj1);
7750 if (arg2 == NULL) SWIG_fail;
b411df4a 7751 temp2 = true;
44127b65 7752 }
8edf1c75 7753 if (obj2) {
36ed4f51
RD
7754 {
7755 arg3 = (int)(SWIG_As_int(obj2));
7756 if (SWIG_arg_fail(3)) SWIG_fail;
7757 }
8edf1c75 7758 }
44127b65
RD
7759 {
7760 PyThreadState* __tstate = wxPyBeginAllowThreads();
7761 (arg1)->SetRegionName((wxString const &)*arg2,arg3);
7762
7763 wxPyEndAllowThreads(__tstate);
7764 if (PyErr_Occurred()) SWIG_fail;
7765 }
7766 Py_INCREF(Py_None); resultobj = Py_None;
7767 {
7768 if (temp2)
7769 delete arg2;
7770 }
7771 return resultobj;
7772 fail:
7773 {
7774 if (temp2)
7775 delete arg2;
7776 }
7777 return NULL;
7778}
7779
7780
c370783e 7781static PyObject *_wrap_PyShape_GetRegionName(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7782 PyObject *resultobj;
7783 wxPyShape *arg1 = (wxPyShape *) 0 ;
7784 int arg2 ;
7785 wxString result;
7786 PyObject * obj0 = 0 ;
8edf1c75 7787 PyObject * obj1 = 0 ;
44127b65
RD
7788 char *kwnames[] = {
7789 (char *) "self",(char *) "regionId", NULL
7790 };
7791
8edf1c75 7792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_GetRegionName",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7793 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
7794 if (SWIG_arg_fail(1)) SWIG_fail;
7795 {
7796 arg2 = (int)(SWIG_As_int(obj1));
7797 if (SWIG_arg_fail(2)) SWIG_fail;
7798 }
44127b65
RD
7799 {
7800 PyThreadState* __tstate = wxPyBeginAllowThreads();
7801 result = (arg1)->GetRegionName(arg2);
7802
7803 wxPyEndAllowThreads(__tstate);
7804 if (PyErr_Occurred()) SWIG_fail;
7805 }
7806 {
7807#if wxUSE_UNICODE
7808 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7809#else
7810 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7811#endif
7812 }
7813 return resultobj;
7814 fail:
7815 return NULL;
7816}
7817
7818
c370783e 7819static PyObject *_wrap_PyShape_GetRegionId(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7820 PyObject *resultobj;
7821 wxPyShape *arg1 = (wxPyShape *) 0 ;
7822 wxString *arg2 = 0 ;
7823 int result;
b411df4a 7824 bool temp2 = false ;
44127b65
RD
7825 PyObject * obj0 = 0 ;
7826 PyObject * obj1 = 0 ;
7827 char *kwnames[] = {
7828 (char *) "self",(char *) "name", NULL
7829 };
7830
7831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_GetRegionId",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7832 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
7833 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
7834 {
7835 arg2 = wxString_in_helper(obj1);
7836 if (arg2 == NULL) SWIG_fail;
b411df4a 7837 temp2 = true;
44127b65
RD
7838 }
7839 {
7840 PyThreadState* __tstate = wxPyBeginAllowThreads();
7841 result = (int)(arg1)->GetRegionId((wxString const &)*arg2);
7842
7843 wxPyEndAllowThreads(__tstate);
7844 if (PyErr_Occurred()) SWIG_fail;
7845 }
36ed4f51
RD
7846 {
7847 resultobj = SWIG_From_int((int)(result));
7848 }
44127b65
RD
7849 {
7850 if (temp2)
7851 delete arg2;
7852 }
7853 return resultobj;
7854 fail:
7855 {
7856 if (temp2)
7857 delete arg2;
7858 }
7859 return NULL;
7860}
7861
7862
c370783e 7863static PyObject *_wrap_PyShape_NameRegions(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7864 PyObject *resultobj;
7865 wxPyShape *arg1 = (wxPyShape *) 0 ;
41f1cec7 7866 wxString const &arg2_defvalue = wxPyEmptyString ;
44127b65 7867 wxString *arg2 = (wxString *) &arg2_defvalue ;
b411df4a 7868 bool temp2 = false ;
44127b65
RD
7869 PyObject * obj0 = 0 ;
7870 PyObject * obj1 = 0 ;
7871 char *kwnames[] = {
7872 (char *) "self",(char *) "parentName", NULL
7873 };
7874
7875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_NameRegions",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7876 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
7877 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
7878 if (obj1) {
7879 {
7880 arg2 = wxString_in_helper(obj1);
7881 if (arg2 == NULL) SWIG_fail;
b411df4a 7882 temp2 = true;
44127b65
RD
7883 }
7884 }
7885 {
7886 PyThreadState* __tstate = wxPyBeginAllowThreads();
7887 (arg1)->NameRegions((wxString const &)*arg2);
7888
7889 wxPyEndAllowThreads(__tstate);
7890 if (PyErr_Occurred()) SWIG_fail;
7891 }
7892 Py_INCREF(Py_None); resultobj = Py_None;
7893 {
7894 if (temp2)
7895 delete arg2;
7896 }
7897 return resultobj;
7898 fail:
7899 {
7900 if (temp2)
7901 delete arg2;
7902 }
7903 return NULL;
7904}
7905
7906
c370783e 7907static PyObject *_wrap_PyShape_GetRegions(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7908 PyObject *resultobj;
7909 wxPyShape *arg1 = (wxPyShape *) 0 ;
7910 PyObject *result;
7911 PyObject * obj0 = 0 ;
7912 char *kwnames[] = {
7913 (char *) "self", NULL
7914 };
7915
7916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetRegions",kwnames,&obj0)) goto fail;
36ed4f51
RD
7917 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
7918 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
7919 {
7920 PyThreadState* __tstate = wxPyBeginAllowThreads();
7921 result = (PyObject *)wxPyShape_GetRegions(arg1);
7922
7923 wxPyEndAllowThreads(__tstate);
7924 if (PyErr_Occurred()) SWIG_fail;
7925 }
7926 resultobj = result;
7927 return resultobj;
7928 fail:
7929 return NULL;
7930}
7931
7932
c370783e 7933static PyObject *_wrap_PyShape_AddRegion(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7934 PyObject *resultobj;
7935 wxPyShape *arg1 = (wxPyShape *) 0 ;
7936 wxShapeRegion *arg2 = (wxShapeRegion *) 0 ;
7937 PyObject * obj0 = 0 ;
7938 PyObject * obj1 = 0 ;
7939 char *kwnames[] = {
7940 (char *) "self",(char *) "region", NULL
7941 };
7942
7943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_AddRegion",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7944 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
7945 if (SWIG_arg_fail(1)) SWIG_fail;
7946 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxShapeRegion, SWIG_POINTER_EXCEPTION | 0);
7947 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
7948 {
7949 PyThreadState* __tstate = wxPyBeginAllowThreads();
7950 (arg1)->AddRegion(arg2);
7951
7952 wxPyEndAllowThreads(__tstate);
7953 if (PyErr_Occurred()) SWIG_fail;
7954 }
7955 Py_INCREF(Py_None); resultobj = Py_None;
7956 return resultobj;
7957 fail:
7958 return NULL;
7959}
7960
7961
c370783e 7962static PyObject *_wrap_PyShape_ClearRegions(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7963 PyObject *resultobj;
7964 wxPyShape *arg1 = (wxPyShape *) 0 ;
7965 PyObject * obj0 = 0 ;
7966 char *kwnames[] = {
7967 (char *) "self", NULL
7968 };
7969
7970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_ClearRegions",kwnames,&obj0)) goto fail;
36ed4f51
RD
7971 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
7972 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
7973 {
7974 PyThreadState* __tstate = wxPyBeginAllowThreads();
7975 (arg1)->ClearRegions();
7976
7977 wxPyEndAllowThreads(__tstate);
7978 if (PyErr_Occurred()) SWIG_fail;
7979 }
7980 Py_INCREF(Py_None); resultobj = Py_None;
7981 return resultobj;
7982 fail:
7983 return NULL;
7984}
7985
7986
c370783e 7987static PyObject *_wrap_PyShape_AssignNewIds(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7988 PyObject *resultobj;
7989 wxPyShape *arg1 = (wxPyShape *) 0 ;
7990 PyObject * obj0 = 0 ;
7991 char *kwnames[] = {
7992 (char *) "self", NULL
7993 };
7994
7995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_AssignNewIds",kwnames,&obj0)) goto fail;
36ed4f51
RD
7996 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
7997 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
7998 {
7999 PyThreadState* __tstate = wxPyBeginAllowThreads();
8000 (arg1)->AssignNewIds();
8001
8002 wxPyEndAllowThreads(__tstate);
8003 if (PyErr_Occurred()) SWIG_fail;
8004 }
8005 Py_INCREF(Py_None); resultobj = Py_None;
8006 return resultobj;
8007 fail:
8008 return NULL;
8009}
8010
8011
c370783e 8012static PyObject *_wrap_PyShape_FindRegion(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
8013 PyObject *resultobj;
8014 wxPyShape *arg1 = (wxPyShape *) 0 ;
8015 wxString *arg2 = 0 ;
8016 int *arg3 = (int *) 0 ;
8017 wxPyShape *result;
b411df4a 8018 bool temp2 = false ;
44127b65 8019 int temp3 ;
c370783e 8020 int res3 = 0 ;
44127b65
RD
8021 PyObject * obj0 = 0 ;
8022 PyObject * obj1 = 0 ;
8023 char *kwnames[] = {
8024 (char *) "self",(char *) "regionName", NULL
8025 };
8026
c370783e 8027 arg3 = &temp3; res3 = SWIG_NEWOBJ;
44127b65 8028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_FindRegion",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8029 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
8030 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
8031 {
8032 arg2 = wxString_in_helper(obj1);
8033 if (arg2 == NULL) SWIG_fail;
b411df4a 8034 temp2 = true;
44127b65
RD
8035 }
8036 {
8037 PyThreadState* __tstate = wxPyBeginAllowThreads();
8038 result = (wxPyShape *)(arg1)->FindRegion((wxString const &)*arg2,arg3);
8039
8040 wxPyEndAllowThreads(__tstate);
8041 if (PyErr_Occurred()) SWIG_fail;
8042 }
8043 {
412d302d 8044 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
44127b65 8045 }
c370783e
RD
8046 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
8047 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
44127b65
RD
8048 {
8049 if (temp2)
8050 delete arg2;
8051 }
8052 return resultobj;
8053 fail:
8054 {
8055 if (temp2)
8056 delete arg2;
8057 }
8058 return NULL;
8059}
8060
8061
c370783e 8062static PyObject *_wrap_PyShape_FindRegionNames(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
8063 PyObject *resultobj;
8064 wxPyShape *arg1 = (wxPyShape *) 0 ;
8065 wxStringList *arg2 = 0 ;
8066 PyObject * obj0 = 0 ;
8067 PyObject * obj1 = 0 ;
8068 char *kwnames[] = {
8069 (char *) "self",(char *) "list", NULL
8070 };
8071
8072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_FindRegionNames",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8073 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
8074 if (SWIG_arg_fail(1)) SWIG_fail;
8075 {
8076 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxStringList, SWIG_POINTER_EXCEPTION | 0);
8077 if (SWIG_arg_fail(2)) SWIG_fail;
8078 if (arg2 == NULL) {
8079 SWIG_null_ref("wxStringList");
8080 }
8081 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
8082 }
8083 {
8084 PyThreadState* __tstate = wxPyBeginAllowThreads();
8085 (arg1)->FindRegionNames(*arg2);
8086
8087 wxPyEndAllowThreads(__tstate);
8088 if (PyErr_Occurred()) SWIG_fail;
8089 }
8090 Py_INCREF(Py_None); resultobj = Py_None;
8091 return resultobj;
8092 fail:
8093 return NULL;
8094}
8095
8096
c370783e 8097static PyObject *_wrap_PyShape_ClearText(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
8098 PyObject *resultobj;
8099 wxPyShape *arg1 = (wxPyShape *) 0 ;
8100 int arg2 = (int) 0 ;
8101 PyObject * obj0 = 0 ;
8edf1c75 8102 PyObject * obj1 = 0 ;
44127b65
RD
8103 char *kwnames[] = {
8104 (char *) "self",(char *) "regionId", NULL
8105 };
8106
8edf1c75 8107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyShape_ClearText",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8108 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
8109 if (SWIG_arg_fail(1)) SWIG_fail;
8edf1c75 8110 if (obj1) {
36ed4f51
RD
8111 {
8112 arg2 = (int)(SWIG_As_int(obj1));
8113 if (SWIG_arg_fail(2)) SWIG_fail;
8114 }
8edf1c75 8115 }
44127b65
RD
8116 {
8117 PyThreadState* __tstate = wxPyBeginAllowThreads();
8118 (arg1)->ClearText(arg2);
8119
8120 wxPyEndAllowThreads(__tstate);
8121 if (PyErr_Occurred()) SWIG_fail;
8122 }
8123 Py_INCREF(Py_None); resultobj = Py_None;
8124 return resultobj;
8125 fail:
8126 return NULL;
8127}
8128
8129
c370783e 8130static PyObject *_wrap_PyShape_RemoveLine(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
8131 PyObject *resultobj;
8132 wxPyShape *arg1 = (wxPyShape *) 0 ;
8133 wxPyLineShape *arg2 = (wxPyLineShape *) 0 ;
8134 PyObject * obj0 = 0 ;
8135 PyObject * obj1 = 0 ;
8136 char *kwnames[] = {
8137 (char *) "self",(char *) "line", NULL
8138 };
8139
8140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_RemoveLine",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8141 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
8142 if (SWIG_arg_fail(1)) SWIG_fail;
8143 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
8144 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
8145 {
8146 PyThreadState* __tstate = wxPyBeginAllowThreads();
8147 (arg1)->RemoveLine(arg2);
8148
8149 wxPyEndAllowThreads(__tstate);
8150 if (PyErr_Occurred()) SWIG_fail;
8151 }
8152 Py_INCREF(Py_None); resultobj = Py_None;
8153 return resultobj;
8154 fail:
8155 return NULL;
8156}
8157
8158
c370783e 8159static PyObject *_wrap_PyShape_GetAttachmentPosition(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
8160 PyObject *resultobj;
8161 wxPyShape *arg1 = (wxPyShape *) 0 ;
8162 int arg2 ;
8163 double *arg3 = (double *) 0 ;
8164 double *arg4 = (double *) 0 ;
8165 int arg5 = (int) 0 ;
8166 int arg6 = (int) 1 ;
8167 wxPyLineShape *arg7 = (wxPyLineShape *) NULL ;
8168 bool result;
8169 double temp3 ;
c370783e 8170 int res3 = 0 ;
44127b65 8171 double temp4 ;
c370783e 8172 int res4 = 0 ;
44127b65 8173 PyObject * obj0 = 0 ;
8edf1c75
RD
8174 PyObject * obj1 = 0 ;
8175 PyObject * obj2 = 0 ;
8176 PyObject * obj3 = 0 ;
44127b65
RD
8177 PyObject * obj4 = 0 ;
8178 char *kwnames[] = {
8179 (char *) "self",(char *) "attachment",(char *) "nth",(char *) "no_arcs",(char *) "line", NULL
8180 };
8181
c370783e
RD
8182 arg3 = &temp3; res3 = SWIG_NEWOBJ;
8183 arg4 = &temp4; res4 = SWIG_NEWOBJ;
8edf1c75 8184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:PyShape_GetAttachmentPosition",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
8185 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
8186 if (SWIG_arg_fail(1)) SWIG_fail;
8187 {
8188 arg2 = (int)(SWIG_As_int(obj1));
8189 if (SWIG_arg_fail(2)) SWIG_fail;
8190 }
8edf1c75 8191 if (obj2) {
36ed4f51
RD
8192 {
8193 arg5 = (int)(SWIG_As_int(obj2));
8194 if (SWIG_arg_fail(5)) SWIG_fail;
8195 }
8edf1c75
RD
8196 }
8197 if (obj3) {
36ed4f51
RD
8198 {
8199 arg6 = (int)(SWIG_As_int(obj3));
8200 if (SWIG_arg_fail(6)) SWIG_fail;
8201 }
8edf1c75 8202 }
44127b65 8203 if (obj4) {
36ed4f51
RD
8204 SWIG_Python_ConvertPtr(obj4, (void **)&arg7, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
8205 if (SWIG_arg_fail(7)) SWIG_fail;
44127b65
RD
8206 }
8207 {
8208 PyThreadState* __tstate = wxPyBeginAllowThreads();
8209 result = (bool)(arg1)->GetAttachmentPosition(arg2,arg3,arg4,arg5,arg6,arg7);
8210
8211 wxPyEndAllowThreads(__tstate);
8212 if (PyErr_Occurred()) SWIG_fail;
8213 }
fbc46b20
RD
8214 {
8215 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8216 }
c370783e
RD
8217 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
8218 SWIG_From_double((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, 0)));
8219 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
8220 SWIG_From_double((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, 0)));
44127b65
RD
8221 return resultobj;
8222 fail:
8223 return NULL;
8224}
8225
8226
c370783e 8227static PyObject *_wrap_PyShape_GetNumberOfAttachments(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
8228 PyObject *resultobj;
8229 wxPyShape *arg1 = (wxPyShape *) 0 ;
8230 int result;
8231 PyObject * obj0 = 0 ;
8232 char *kwnames[] = {
8233 (char *) "self", NULL
8234 };
8235
8236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetNumberOfAttachments",kwnames,&obj0)) goto fail;
36ed4f51
RD
8237 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
8238 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
8239 {
8240 PyThreadState* __tstate = wxPyBeginAllowThreads();
8241 result = (int)(arg1)->GetNumberOfAttachments();
8242
8243 wxPyEndAllowThreads(__tstate);
8244 if (PyErr_Occurred()) SWIG_fail;
8245 }
36ed4f51
RD
8246 {
8247 resultobj = SWIG_From_int((int)(result));
8248 }
44127b65
RD
8249 return resultobj;
8250 fail:
8251 return NULL;
8252}
8253
8254
c370783e 8255static PyObject *_wrap_PyShape_AttachmentIsValid(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
8256 PyObject *resultobj;
8257 wxPyShape *arg1 = (wxPyShape *) 0 ;
8258 int arg2 ;
8259 bool result;
8260 PyObject * obj0 = 0 ;
8edf1c75 8261 PyObject * obj1 = 0 ;
44127b65
RD
8262 char *kwnames[] = {
8263 (char *) "self",(char *) "attachment", NULL
8264 };
8265
8edf1c75 8266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_AttachmentIsValid",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8267 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
8268 if (SWIG_arg_fail(1)) SWIG_fail;
8269 {
8270 arg2 = (int)(SWIG_As_int(obj1));
8271 if (SWIG_arg_fail(2)) SWIG_fail;
8272 }
44127b65
RD
8273 {
8274 PyThreadState* __tstate = wxPyBeginAllowThreads();
8275 result = (bool)(arg1)->AttachmentIsValid(arg2);
8276
8277 wxPyEndAllowThreads(__tstate);
8278 if (PyErr_Occurred()) SWIG_fail;
8279 }
fbc46b20
RD
8280 {
8281 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8282 }
44127b65
RD
8283 return resultobj;
8284 fail:
8285 return NULL;
8286}
8287
8288
c370783e 8289static PyObject *_wrap_PyShape_GetAttachments(PyObject *, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
8290 PyObject *resultobj;
8291 wxPyShape *arg1 = (wxPyShape *) 0 ;
8292 PyObject *result;
8293 PyObject * obj0 = 0 ;
8294 char *kwnames[] = {
8295 (char *) "self", NULL
8296 };
8297
8298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetAttachments",kwnames,&obj0)) goto fail;
36ed4f51
RD
8299 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
8300 if (SWIG_arg_fail(1)) SWIG_fail;
7a0a63ae
RD
8301 {
8302 PyThreadState* __tstate = wxPyBeginAllowThreads();
8303 result = (PyObject *)wxPyShape_GetAttachments(arg1);
8304
8305 wxPyEndAllowThreads(__tstate);
8306 if (PyErr_Occurred()) SWIG_fail;
8307 }
8308 resultobj = result;
8309 return resultobj;
8310 fail:
8311 return NULL;
8312}
8313
8314
c370783e 8315static PyObject *_wrap_PyShape_GetAttachmentPositionEdge(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
8316 PyObject *resultobj;
8317 wxPyShape *arg1 = (wxPyShape *) 0 ;
8318 int arg2 ;
8319 double *arg3 = (double *) 0 ;
8320 double *arg4 = (double *) 0 ;
8321 int arg5 = (int) 0 ;
8322 int arg6 = (int) 1 ;
8323 wxPyLineShape *arg7 = (wxPyLineShape *) NULL ;
8324 bool result;
8325 double temp3 ;
c370783e 8326 int res3 = 0 ;
44127b65 8327 double temp4 ;
c370783e 8328 int res4 = 0 ;
44127b65 8329 PyObject * obj0 = 0 ;
8edf1c75
RD
8330 PyObject * obj1 = 0 ;
8331 PyObject * obj2 = 0 ;
8332 PyObject * obj3 = 0 ;
44127b65
RD
8333 PyObject * obj4 = 0 ;
8334 char *kwnames[] = {
8335 (char *) "self",(char *) "attachment",(char *) "nth",(char *) "no_arcs",(char *) "line", NULL
8336 };
8337
c370783e
RD
8338 arg3 = &temp3; res3 = SWIG_NEWOBJ;
8339 arg4 = &temp4; res4 = SWIG_NEWOBJ;
8edf1c75 8340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:PyShape_GetAttachmentPositionEdge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
8341 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
8342 if (SWIG_arg_fail(1)) SWIG_fail;
8343 {
8344 arg2 = (int)(SWIG_As_int(obj1));
8345 if (SWIG_arg_fail(2)) SWIG_fail;
8346 }
8edf1c75 8347 if (obj2) {
36ed4f51
RD
8348 {
8349 arg5 = (int)(SWIG_As_int(obj2));
8350 if (SWIG_arg_fail(5)) SWIG_fail;
8351 }
8edf1c75
RD
8352 }
8353 if (obj3) {
36ed4f51
RD
8354 {
8355 arg6 = (int)(SWIG_As_int(obj3));
8356 if (SWIG_arg_fail(6)) SWIG_fail;
8357 }
8edf1c75 8358 }
44127b65 8359 if (obj4) {
36ed4f51
RD
8360 SWIG_Python_ConvertPtr(obj4, (void **)&arg7, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
8361 if (SWIG_arg_fail(7)) SWIG_fail;
44127b65
RD
8362 }
8363 {
8364 PyThreadState* __tstate = wxPyBeginAllowThreads();
8365 result = (bool)(arg1)->GetAttachmentPositionEdge(arg2,arg3,arg4,arg5,arg6,arg7);
8366
8367 wxPyEndAllowThreads(__tstate);
8368 if (PyErr_Occurred()) SWIG_fail;
8369 }
fbc46b20
RD
8370 {
8371 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8372 }
c370783e
RD
8373 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
8374 SWIG_From_double((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, 0)));
8375 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
8376 SWIG_From_double((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, 0)));
44127b65
RD
8377 return resultobj;
8378 fail:
8379 return NULL;
8380}
8381
8382
c370783e 8383static PyObject *_wrap_PyShape_CalcSimpleAttachment(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
8384 PyObject *resultobj;
8385 wxPyShape *arg1 = (wxPyShape *) 0 ;
8386 wxRealPoint *arg2 = 0 ;
8387 wxRealPoint *arg3 = 0 ;
8388 int arg4 ;
8389 int arg5 ;
8390 wxPyLineShape *arg6 = (wxPyLineShape *) 0 ;
8391 wxRealPoint result;
8392 wxRealPoint temp2 ;
8393 wxRealPoint temp3 ;
8394 PyObject * obj0 = 0 ;
8395 PyObject * obj1 = 0 ;
8396 PyObject * obj2 = 0 ;
8edf1c75
RD
8397 PyObject * obj3 = 0 ;
8398 PyObject * obj4 = 0 ;
44127b65
RD
8399 PyObject * obj5 = 0 ;
8400 char *kwnames[] = {
8401 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "nth",(char *) "noArcs",(char *) "line", NULL
8402 };
8403
8edf1c75 8404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyShape_CalcSimpleAttachment",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
8405 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
8406 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
8407 {
8408 arg2 = &temp2;
8409 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
8410 }
8411 {
8412 arg3 = &temp3;
8413 if ( ! wxRealPoint_helper(obj2, &arg3)) SWIG_fail;
8414 }
36ed4f51
RD
8415 {
8416 arg4 = (int)(SWIG_As_int(obj3));
8417 if (SWIG_arg_fail(4)) SWIG_fail;
8418 }
8419 {
8420 arg5 = (int)(SWIG_As_int(obj4));
8421 if (SWIG_arg_fail(5)) SWIG_fail;
8422 }
8423 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
8424 if (SWIG_arg_fail(6)) SWIG_fail;
44127b65
RD
8425 {
8426 PyThreadState* __tstate = wxPyBeginAllowThreads();
8427 result = (arg1)->CalcSimpleAttachment((wxRealPoint const &)*arg2,(wxRealPoint const &)*arg3,arg4,arg5,arg6);
8428
8429 wxPyEndAllowThreads(__tstate);
8430 if (PyErr_Occurred()) SWIG_fail;
8431 }
8432 {
8433 wxRealPoint * resultptr;
36ed4f51 8434 resultptr = new wxRealPoint((wxRealPoint &)(result));
2f4c0a16 8435 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRealPoint, 1);
44127b65
RD
8436 }
8437 return resultobj;
8438 fail:
8439 return NULL;
8440}
8441
8442
c370783e 8443static PyObject *_wrap_PyShape_AttachmentSortTest(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
8444 PyObject *resultobj;
8445 wxPyShape *arg1 = (wxPyShape *) 0 ;
8446 int arg2 ;
8447 wxRealPoint *arg3 = 0 ;
8448 wxRealPoint *arg4 = 0 ;
8449 bool result;
8450 wxRealPoint temp3 ;
8451 wxRealPoint temp4 ;
8452 PyObject * obj0 = 0 ;
8edf1c75 8453 PyObject * obj1 = 0 ;
44127b65
RD
8454 PyObject * obj2 = 0 ;
8455 PyObject * obj3 = 0 ;
8456 char *kwnames[] = {
8457 (char *) "self",(char *) "attachmentPoint",(char *) "pt1",(char *) "pt2", NULL
8458 };
8459
8edf1c75 8460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyShape_AttachmentSortTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
8461 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
8462 if (SWIG_arg_fail(1)) SWIG_fail;
8463 {
8464 arg2 = (int)(SWIG_As_int(obj1));
8465 if (SWIG_arg_fail(2)) SWIG_fail;
8466 }
44127b65
RD
8467 {
8468 arg3 = &temp3;
8469 if ( ! wxRealPoint_helper(obj2, &arg3)) SWIG_fail;
8470 }
8471 {
8472 arg4 = &temp4;
8473 if ( ! wxRealPoint_helper(obj3, &arg4)) SWIG_fail;
8474 }
8475 {
8476 PyThreadState* __tstate = wxPyBeginAllowThreads();
8477 result = (bool)(arg1)->AttachmentSortTest(arg2,(wxRealPoint const &)*arg3,(wxRealPoint const &)*arg4);
8478
8479 wxPyEndAllowThreads(__tstate);
8480 if (PyErr_Occurred()) SWIG_fail;
8481 }
fbc46b20
RD
8482 {
8483 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8484 }
44127b65
RD
8485 return resultobj;
8486 fail:
8487 return NULL;
8488}
8489
8490
c370783e 8491static PyObject *_wrap_PyShape_EraseLinks(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
8492 PyObject *resultobj;
8493 wxPyShape *arg1 = (wxPyShape *) 0 ;
8494 wxDC *arg2 = 0 ;
8495 int arg3 = (int) -1 ;
b411df4a 8496 bool arg4 = (bool) false ;
44127b65
RD
8497 PyObject * obj0 = 0 ;
8498 PyObject * obj1 = 0 ;
8edf1c75 8499 PyObject * obj2 = 0 ;
44127b65
RD
8500 PyObject * obj3 = 0 ;
8501 char *kwnames[] = {
8502 (char *) "self",(char *) "dc",(char *) "attachment",(char *) "recurse", NULL
8503 };
8504
8edf1c75 8505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:PyShape_EraseLinks",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
8506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
8507 if (SWIG_arg_fail(1)) SWIG_fail;
8508 {
8509 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
8510 if (SWIG_arg_fail(2)) SWIG_fail;
8511 if (arg2 == NULL) {
8512 SWIG_null_ref("wxDC");
8513 }
8514 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65 8515 }
8edf1c75 8516 if (obj2) {
36ed4f51
RD
8517 {
8518 arg3 = (int)(SWIG_As_int(obj2));
8519 if (SWIG_arg_fail(3)) SWIG_fail;
8520 }
8edf1c75 8521 }
44127b65 8522 if (obj3) {
36ed4f51
RD
8523 {
8524 arg4 = (bool)(SWIG_As_bool(obj3));
8525 if (SWIG_arg_fail(4)) SWIG_fail;
8526 }
44127b65
RD
8527 }
8528 {
8529 PyThreadState* __tstate = wxPyBeginAllowThreads();
8530 (arg1)->EraseLinks(*arg2,arg3,arg4);
8531
8532 wxPyEndAllowThreads(__tstate);
8533 if (PyErr_Occurred()) SWIG_fail;
8534 }
8535 Py_INCREF(Py_None); resultobj = Py_None;
8536 return resultobj;
8537 fail:
8538 return NULL;
8539}
8540
8541
c370783e 8542static PyObject *_wrap_PyShape_DrawLinks(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
8543 PyObject *resultobj;
8544 wxPyShape *arg1 = (wxPyShape *) 0 ;
8545 wxDC *arg2 = 0 ;
8546 int arg3 = (int) -1 ;
b411df4a 8547 bool arg4 = (bool) false ;
44127b65
RD
8548 PyObject * obj0 = 0 ;
8549 PyObject * obj1 = 0 ;
8edf1c75 8550 PyObject * obj2 = 0 ;
44127b65
RD
8551 PyObject * obj3 = 0 ;
8552 char *kwnames[] = {
8553 (char *) "self",(char *) "dc",(char *) "attachment",(char *) "recurse", NULL
8554 };
8555
8edf1c75 8556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:PyShape_DrawLinks",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
8557 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
8558 if (SWIG_arg_fail(1)) SWIG_fail;
8559 {
8560 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
8561 if (SWIG_arg_fail(2)) SWIG_fail;
8562 if (arg2 == NULL) {
8563 SWIG_null_ref("wxDC");
8564 }
8565 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65 8566 }
8edf1c75 8567 if (obj2) {
36ed4f51
RD
8568 {
8569 arg3 = (int)(SWIG_As_int(obj2));
8570 if (SWIG_arg_fail(3)) SWIG_fail;
8571 }
8edf1c75 8572 }
44127b65 8573 if (obj3) {
36ed4f51
RD
8574 {
8575 arg4 = (bool)(SWIG_As_bool(obj3));
8576 if (SWIG_arg_fail(4)) SWIG_fail;
8577 }
44127b65
RD
8578 }
8579 {
8580 PyThreadState* __tstate = wxPyBeginAllowThreads();
8581 (arg1)->DrawLinks(*arg2,arg3,arg4);
8582
8583 wxPyEndAllowThreads(__tstate);
8584 if (PyErr_Occurred()) SWIG_fail;
8585 }
8586 Py_INCREF(Py_None); resultobj = Py_None;
8587 return resultobj;
8588 fail:
8589 return NULL;
8590}
8591
8592
c370783e 8593static PyObject *_wrap_PyShape_MoveLineToNewAttachment(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
8594 PyObject *resultobj;
8595 wxPyShape *arg1 = (wxPyShape *) 0 ;
8596 wxDC *arg2 = 0 ;
8597 wxPyLineShape *arg3 = (wxPyLineShape *) 0 ;
8598 double arg4 ;
8599 double arg5 ;
8600 bool result;
8601 PyObject * obj0 = 0 ;
8602 PyObject * obj1 = 0 ;
8603 PyObject * obj2 = 0 ;
8edf1c75
RD
8604 PyObject * obj3 = 0 ;
8605 PyObject * obj4 = 0 ;
44127b65
RD
8606 char *kwnames[] = {
8607 (char *) "self",(char *) "dc",(char *) "to_move",(char *) "x",(char *) "y", NULL
8608 };
8609
8edf1c75 8610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyShape_MoveLineToNewAttachment",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
8611 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
8612 if (SWIG_arg_fail(1)) SWIG_fail;
8613 {
8614 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
8615 if (SWIG_arg_fail(2)) SWIG_fail;
8616 if (arg2 == NULL) {
8617 SWIG_null_ref("wxDC");
8618 }
8619 if (SWIG_arg_fail(2)) SWIG_fail;
8620 }
8621 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
8622 if (SWIG_arg_fail(3)) SWIG_fail;
8623 {
8624 arg4 = (double)(SWIG_As_double(obj3));
8625 if (SWIG_arg_fail(4)) SWIG_fail;
8626 }
8627 {
8628 arg5 = (double)(SWIG_As_double(obj4));
8629 if (SWIG_arg_fail(5)) SWIG_fail;
8630 }
44127b65
RD
8631 {
8632 PyThreadState* __tstate = wxPyBeginAllowThreads();
8633 result = (bool)(arg1)->MoveLineToNewAttachment(*arg2,arg3,arg4,arg5);
8634
8635 wxPyEndAllowThreads(__tstate);
8636 if (PyErr_Occurred()) SWIG_fail;
8637 }
fbc46b20
RD
8638 {
8639 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8640 }
44127b65
RD
8641 return resultobj;
8642 fail:
8643 return NULL;
8644}
8645
8646
c370783e 8647static PyObject *_wrap_PyShape_ApplyAttachmentOrdering(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
8648 PyObject *resultobj;
8649 wxPyShape *arg1 = (wxPyShape *) 0 ;
8650 PyObject *arg2 = (PyObject *) 0 ;
8651 PyObject * obj0 = 0 ;
8652 PyObject * obj1 = 0 ;
8653 char *kwnames[] = {
8654 (char *) "self",(char *) "linesToSort", NULL
8655 };
8656
8657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_ApplyAttachmentOrdering",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
8659 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
8660 arg2 = obj1;
8661 {
8662 PyThreadState* __tstate = wxPyBeginAllowThreads();
8663 wxPyShape_ApplyAttachmentOrdering(arg1,arg2);
8664
8665 wxPyEndAllowThreads(__tstate);
8666 if (PyErr_Occurred()) SWIG_fail;
8667 }
8668 Py_INCREF(Py_None); resultobj = Py_None;
8669 return resultobj;
8670 fail:
8671 return NULL;
8672}
8673
8674
c370783e 8675static PyObject *_wrap_PyShape_GetBranchingAttachmentRoot(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
8676 PyObject *resultobj;
8677 wxPyShape *arg1 = (wxPyShape *) 0 ;
8678 int arg2 ;
8679 wxRealPoint result;
8680 PyObject * obj0 = 0 ;
8edf1c75 8681 PyObject * obj1 = 0 ;
44127b65
RD
8682 char *kwnames[] = {
8683 (char *) "self",(char *) "attachment", NULL
8684 };
8685
8edf1c75 8686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_GetBranchingAttachmentRoot",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8687 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
8688 if (SWIG_arg_fail(1)) SWIG_fail;
8689 {
8690 arg2 = (int)(SWIG_As_int(obj1));
8691 if (SWIG_arg_fail(2)) SWIG_fail;
8692 }
44127b65
RD
8693 {
8694 PyThreadState* __tstate = wxPyBeginAllowThreads();
8695 result = (arg1)->GetBranchingAttachmentRoot(arg2);
8696
8697 wxPyEndAllowThreads(__tstate);
8698 if (PyErr_Occurred()) SWIG_fail;
8699 }
8700 {
8701 wxRealPoint * resultptr;
36ed4f51 8702 resultptr = new wxRealPoint((wxRealPoint &)(result));
2f4c0a16 8703 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRealPoint, 1);
44127b65
RD
8704 }
8705 return resultobj;
8706 fail:
8707 return NULL;
8708}
8709
8710
c370783e 8711static PyObject *_wrap_PyShape_GetBranchingAttachmentInfo(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
8712 PyObject *resultobj;
8713 wxPyShape *arg1 = (wxPyShape *) 0 ;
8714 int arg2 ;
8715 wxRealPoint *arg3 = 0 ;
8716 wxRealPoint *arg4 = 0 ;
8717 wxRealPoint *arg5 = 0 ;
8718 wxRealPoint *arg6 = 0 ;
8719 bool result;
8720 wxRealPoint temp3 ;
8721 wxRealPoint temp4 ;
8722 wxRealPoint temp5 ;
8723 wxRealPoint temp6 ;
8724 PyObject * obj0 = 0 ;
8edf1c75 8725 PyObject * obj1 = 0 ;
44127b65
RD
8726 PyObject * obj2 = 0 ;
8727 PyObject * obj3 = 0 ;
8728 PyObject * obj4 = 0 ;
8729 PyObject * obj5 = 0 ;
8730 char *kwnames[] = {
8731 (char *) "self",(char *) "attachment",(char *) "root",(char *) "neck",(char *) "shoulder1",(char *) "shoulder2", NULL
8732 };
8733
8edf1c75 8734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyShape_GetBranchingAttachmentInfo",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
8735 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
8736 if (SWIG_arg_fail(1)) SWIG_fail;
8737 {
8738 arg2 = (int)(SWIG_As_int(obj1));
8739 if (SWIG_arg_fail(2)) SWIG_fail;
8740 }
44127b65
RD
8741 {
8742 arg3 = &temp3;
8743 if ( ! wxRealPoint_helper(obj2, &arg3)) SWIG_fail;
8744 }
8745 {
8746 arg4 = &temp4;
8747 if ( ! wxRealPoint_helper(obj3, &arg4)) SWIG_fail;
8748 }
8749 {
8750 arg5 = &temp5;
8751 if ( ! wxRealPoint_helper(obj4, &arg5)) SWIG_fail;
8752 }
8753 {
8754 arg6 = &temp6;
8755 if ( ! wxRealPoint_helper(obj5, &arg6)) SWIG_fail;
8756 }
8757 {
8758 PyThreadState* __tstate = wxPyBeginAllowThreads();
8759 result = (bool)(arg1)->GetBranchingAttachmentInfo(arg2,*arg3,*arg4,*arg5,*arg6);
8760
8761 wxPyEndAllowThreads(__tstate);
8762 if (PyErr_Occurred()) SWIG_fail;
8763 }
fbc46b20
RD
8764 {
8765 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8766 }
44127b65
RD
8767 return resultobj;
8768 fail:
8769 return NULL;
8770}
8771
8772
c370783e 8773static PyObject *_wrap_PyShape_GetBranchingAttachmentPoint(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
8774 PyObject *resultobj;
8775 wxPyShape *arg1 = (wxPyShape *) 0 ;
8776 int arg2 ;
8777 int arg3 ;
8778 wxRealPoint *arg4 = 0 ;
8779 wxRealPoint *arg5 = 0 ;
8780 bool result;
8781 wxRealPoint temp4 ;
8782 wxRealPoint temp5 ;
8783 PyObject * obj0 = 0 ;
8edf1c75
RD
8784 PyObject * obj1 = 0 ;
8785 PyObject * obj2 = 0 ;
44127b65
RD
8786 PyObject * obj3 = 0 ;
8787 PyObject * obj4 = 0 ;
8788 char *kwnames[] = {
8789 (char *) "self",(char *) "attachment",(char *) "n",(char *) "attachmentPoint",(char *) "stemPoint", NULL
8790 };
8791
8edf1c75 8792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyShape_GetBranchingAttachmentPoint",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
8793 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
8794 if (SWIG_arg_fail(1)) SWIG_fail;
8795 {
8796 arg2 = (int)(SWIG_As_int(obj1));
8797 if (SWIG_arg_fail(2)) SWIG_fail;
8798 }
8799 {
8800 arg3 = (int)(SWIG_As_int(obj2));
8801 if (SWIG_arg_fail(3)) SWIG_fail;
8802 }
44127b65
RD
8803 {
8804 arg4 = &temp4;
8805 if ( ! wxRealPoint_helper(obj3, &arg4)) SWIG_fail;
8806 }
8807 {
8808 arg5 = &temp5;
8809 if ( ! wxRealPoint_helper(obj4, &arg5)) SWIG_fail;
8810 }
8811 {
8812 PyThreadState* __tstate = wxPyBeginAllowThreads();
8813 result = (bool)(arg1)->GetBranchingAttachmentPoint(arg2,arg3,*arg4,*arg5);
8814
8815 wxPyEndAllowThreads(__tstate);
8816 if (PyErr_Occurred()) SWIG_fail;
8817 }
fbc46b20
RD
8818 {
8819 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8820 }
44127b65
RD
8821 return resultobj;
8822 fail:
8823 return NULL;
8824}
8825
8826
c370783e 8827static PyObject *_wrap_PyShape_GetAttachmentLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
8828 PyObject *resultobj;
8829 wxPyShape *arg1 = (wxPyShape *) 0 ;
8830 int arg2 ;
8831 int result;
8832 PyObject * obj0 = 0 ;
8edf1c75 8833 PyObject * obj1 = 0 ;
44127b65
RD
8834 char *kwnames[] = {
8835 (char *) "self",(char *) "attachment", NULL
8836 };
8837
8edf1c75 8838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_GetAttachmentLineCount",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8839 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
8840 if (SWIG_arg_fail(1)) SWIG_fail;
8841 {
8842 arg2 = (int)(SWIG_As_int(obj1));
8843 if (SWIG_arg_fail(2)) SWIG_fail;
8844 }
44127b65
RD
8845 {
8846 PyThreadState* __tstate = wxPyBeginAllowThreads();
8847 result = (int)(arg1)->GetAttachmentLineCount(arg2);
8848
8849 wxPyEndAllowThreads(__tstate);
8850 if (PyErr_Occurred()) SWIG_fail;
8851 }
36ed4f51
RD
8852 {
8853 resultobj = SWIG_From_int((int)(result));
8854 }
44127b65
RD
8855 return resultobj;
8856 fail:
8857 return NULL;
8858}
8859
8860
c370783e 8861static PyObject *_wrap_PyShape_SetBranchNeckLength(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
8862 PyObject *resultobj;
8863 wxPyShape *arg1 = (wxPyShape *) 0 ;
8864 int arg2 ;
8865 PyObject * obj0 = 0 ;
8edf1c75 8866 PyObject * obj1 = 0 ;
44127b65
RD
8867 char *kwnames[] = {
8868 (char *) "self",(char *) "len", NULL
8869 };
8870
8edf1c75 8871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetBranchNeckLength",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8872 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
8873 if (SWIG_arg_fail(1)) SWIG_fail;
8874 {
8875 arg2 = (int)(SWIG_As_int(obj1));
8876 if (SWIG_arg_fail(2)) SWIG_fail;
8877 }
44127b65
RD
8878 {
8879 PyThreadState* __tstate = wxPyBeginAllowThreads();
8880 (arg1)->SetBranchNeckLength(arg2);
8881
8882 wxPyEndAllowThreads(__tstate);
8883 if (PyErr_Occurred()) SWIG_fail;
8884 }
8885 Py_INCREF(Py_None); resultobj = Py_None;
8886 return resultobj;
8887 fail:
8888 return NULL;
8889}
8890
8891
c370783e 8892static PyObject *_wrap_PyShape_GetBranchNeckLength(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
8893 PyObject *resultobj;
8894 wxPyShape *arg1 = (wxPyShape *) 0 ;
8895 int result;
8896 PyObject * obj0 = 0 ;
8897 char *kwnames[] = {
8898 (char *) "self", NULL
8899 };
8900
8901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBranchNeckLength",kwnames,&obj0)) goto fail;
36ed4f51
RD
8902 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
8903 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
8904 {
8905 PyThreadState* __tstate = wxPyBeginAllowThreads();
8906 result = (int)(arg1)->GetBranchNeckLength();
8907
8908 wxPyEndAllowThreads(__tstate);
8909 if (PyErr_Occurred()) SWIG_fail;
8910 }
36ed4f51
RD
8911 {
8912 resultobj = SWIG_From_int((int)(result));
8913 }
44127b65
RD
8914 return resultobj;
8915 fail:
8916 return NULL;
8917}
8918
8919
c370783e 8920static PyObject *_wrap_PyShape_SetBranchStemLength(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
8921 PyObject *resultobj;
8922 wxPyShape *arg1 = (wxPyShape *) 0 ;
8923 int arg2 ;
8924 PyObject * obj0 = 0 ;
8edf1c75 8925 PyObject * obj1 = 0 ;
44127b65
RD
8926 char *kwnames[] = {
8927 (char *) "self",(char *) "len", NULL
8928 };
8929
8edf1c75 8930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetBranchStemLength",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8931 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
8932 if (SWIG_arg_fail(1)) SWIG_fail;
8933 {
8934 arg2 = (int)(SWIG_As_int(obj1));
8935 if (SWIG_arg_fail(2)) SWIG_fail;
8936 }
8edf1c75
RD
8937 {
8938 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65
RD
8939 (arg1)->SetBranchStemLength(arg2);
8940
8941 wxPyEndAllowThreads(__tstate);
8942 if (PyErr_Occurred()) SWIG_fail;
8943 }
8944 Py_INCREF(Py_None); resultobj = Py_None;
8945 return resultobj;
8946 fail:
8947 return NULL;
8948}
8949
8950
c370783e 8951static PyObject *_wrap_PyShape_GetBranchStemLength(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
8952 PyObject *resultobj;
8953 wxPyShape *arg1 = (wxPyShape *) 0 ;
8954 int result;
8955 PyObject * obj0 = 0 ;
8956 char *kwnames[] = {
8957 (char *) "self", NULL
8958 };
8959
8960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBranchStemLength",kwnames,&obj0)) goto fail;
36ed4f51
RD
8961 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
8962 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
8963 {
8964 PyThreadState* __tstate = wxPyBeginAllowThreads();
8965 result = (int)(arg1)->GetBranchStemLength();
8966
8967 wxPyEndAllowThreads(__tstate);
8968 if (PyErr_Occurred()) SWIG_fail;
8969 }
36ed4f51
RD
8970 {
8971 resultobj = SWIG_From_int((int)(result));
8972 }
44127b65
RD
8973 return resultobj;
8974 fail:
8975 return NULL;
8976}
8977
8978
c370783e 8979static PyObject *_wrap_PyShape_SetBranchSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
8980 PyObject *resultobj;
8981 wxPyShape *arg1 = (wxPyShape *) 0 ;
8982 int arg2 ;
8983 PyObject * obj0 = 0 ;
8edf1c75 8984 PyObject * obj1 = 0 ;
44127b65
RD
8985 char *kwnames[] = {
8986 (char *) "self",(char *) "len", NULL
8987 };
8988
8edf1c75 8989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetBranchSpacing",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8990 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
8991 if (SWIG_arg_fail(1)) SWIG_fail;
8992 {
8993 arg2 = (int)(SWIG_As_int(obj1));
8994 if (SWIG_arg_fail(2)) SWIG_fail;
8995 }
44127b65
RD
8996 {
8997 PyThreadState* __tstate = wxPyBeginAllowThreads();
8998 (arg1)->SetBranchSpacing(arg2);
8999
9000 wxPyEndAllowThreads(__tstate);
9001 if (PyErr_Occurred()) SWIG_fail;
9002 }
9003 Py_INCREF(Py_None); resultobj = Py_None;
9004 return resultobj;
9005 fail:
9006 return NULL;
9007}
9008
9009
c370783e 9010static PyObject *_wrap_PyShape_GetBranchSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
9011 PyObject *resultobj;
9012 wxPyShape *arg1 = (wxPyShape *) 0 ;
9013 int result;
9014 PyObject * obj0 = 0 ;
9015 char *kwnames[] = {
9016 (char *) "self", NULL
9017 };
9018
9019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBranchSpacing",kwnames,&obj0)) goto fail;
36ed4f51
RD
9020 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
9021 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
9022 {
9023 PyThreadState* __tstate = wxPyBeginAllowThreads();
9024 result = (int)(arg1)->GetBranchSpacing();
9025
9026 wxPyEndAllowThreads(__tstate);
9027 if (PyErr_Occurred()) SWIG_fail;
9028 }
36ed4f51
RD
9029 {
9030 resultobj = SWIG_From_int((int)(result));
9031 }
44127b65
RD
9032 return resultobj;
9033 fail:
9034 return NULL;
9035}
9036
9037
c370783e 9038static PyObject *_wrap_PyShape_SetBranchStyle(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
9039 PyObject *resultobj;
9040 wxPyShape *arg1 = (wxPyShape *) 0 ;
9041 long arg2 ;
9042 PyObject * obj0 = 0 ;
8edf1c75 9043 PyObject * obj1 = 0 ;
44127b65
RD
9044 char *kwnames[] = {
9045 (char *) "self",(char *) "style", NULL
9046 };
9047
8edf1c75 9048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetBranchStyle",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9049 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
9050 if (SWIG_arg_fail(1)) SWIG_fail;
9051 {
9052 arg2 = (long)(SWIG_As_long(obj1));
9053 if (SWIG_arg_fail(2)) SWIG_fail;
9054 }
44127b65
RD
9055 {
9056 PyThreadState* __tstate = wxPyBeginAllowThreads();
9057 (arg1)->SetBranchStyle(arg2);
9058
9059 wxPyEndAllowThreads(__tstate);
9060 if (PyErr_Occurred()) SWIG_fail;
9061 }
9062 Py_INCREF(Py_None); resultobj = Py_None;
9063 return resultobj;
9064 fail:
9065 return NULL;
9066}
9067
9068
c370783e 9069static PyObject *_wrap_PyShape_GetBranchStyle(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
9070 PyObject *resultobj;
9071 wxPyShape *arg1 = (wxPyShape *) 0 ;
9072 long result;
9073 PyObject * obj0 = 0 ;
9074 char *kwnames[] = {
9075 (char *) "self", NULL
9076 };
9077
9078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBranchStyle",kwnames,&obj0)) goto fail;
36ed4f51
RD
9079 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
9080 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
9081 {
9082 PyThreadState* __tstate = wxPyBeginAllowThreads();
9083 result = (long)(arg1)->GetBranchStyle();
9084
9085 wxPyEndAllowThreads(__tstate);
9086 if (PyErr_Occurred()) SWIG_fail;
9087 }
36ed4f51
RD
9088 {
9089 resultobj = SWIG_From_long((long)(result));
9090 }
44127b65
RD
9091 return resultobj;
9092 fail:
9093 return NULL;
9094}
9095
9096
c370783e 9097static PyObject *_wrap_PyShape_PhysicalToLogicalAttachment(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
9098 PyObject *resultobj;
9099 wxPyShape *arg1 = (wxPyShape *) 0 ;
9100 int arg2 ;
9101 int result;
9102 PyObject * obj0 = 0 ;
8edf1c75 9103 PyObject * obj1 = 0 ;
44127b65
RD
9104 char *kwnames[] = {
9105 (char *) "self",(char *) "physicalAttachment", NULL
9106 };
9107
8edf1c75 9108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_PhysicalToLogicalAttachment",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9109 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
9110 if (SWIG_arg_fail(1)) SWIG_fail;
9111 {
9112 arg2 = (int)(SWIG_As_int(obj1));
9113 if (SWIG_arg_fail(2)) SWIG_fail;
9114 }
44127b65
RD
9115 {
9116 PyThreadState* __tstate = wxPyBeginAllowThreads();
9117 result = (int)(arg1)->PhysicalToLogicalAttachment(arg2);
9118
9119 wxPyEndAllowThreads(__tstate);
9120 if (PyErr_Occurred()) SWIG_fail;
9121 }
36ed4f51
RD
9122 {
9123 resultobj = SWIG_From_int((int)(result));
9124 }
44127b65
RD
9125 return resultobj;
9126 fail:
9127 return NULL;
9128}
9129
9130
c370783e 9131static PyObject *_wrap_PyShape_LogicalToPhysicalAttachment(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
9132 PyObject *resultobj;
9133 wxPyShape *arg1 = (wxPyShape *) 0 ;
9134 int arg2 ;
9135 int result;
9136 PyObject * obj0 = 0 ;
8edf1c75 9137 PyObject * obj1 = 0 ;
44127b65
RD
9138 char *kwnames[] = {
9139 (char *) "self",(char *) "logicalAttachment", NULL
9140 };
9141
8edf1c75 9142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_LogicalToPhysicalAttachment",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9143 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
9144 if (SWIG_arg_fail(1)) SWIG_fail;
9145 {
9146 arg2 = (int)(SWIG_As_int(obj1));
9147 if (SWIG_arg_fail(2)) SWIG_fail;
9148 }
44127b65
RD
9149 {
9150 PyThreadState* __tstate = wxPyBeginAllowThreads();
9151 result = (int)(arg1)->LogicalToPhysicalAttachment(arg2);
9152
9153 wxPyEndAllowThreads(__tstate);
9154 if (PyErr_Occurred()) SWIG_fail;
9155 }
36ed4f51
RD
9156 {
9157 resultobj = SWIG_From_int((int)(result));
9158 }
44127b65
RD
9159 return resultobj;
9160 fail:
9161 return NULL;
9162}
9163
9164
c370783e 9165static PyObject *_wrap_PyShape_Draggable(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
9166 PyObject *resultobj;
9167 wxPyShape *arg1 = (wxPyShape *) 0 ;
9168 bool result;
9169 PyObject * obj0 = 0 ;
9170 char *kwnames[] = {
9171 (char *) "self", NULL
9172 };
9173
9174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_Draggable",kwnames,&obj0)) goto fail;
36ed4f51
RD
9175 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
9176 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
9177 {
9178 PyThreadState* __tstate = wxPyBeginAllowThreads();
9179 result = (bool)(arg1)->Draggable();
9180
9181 wxPyEndAllowThreads(__tstate);
9182 if (PyErr_Occurred()) SWIG_fail;
9183 }
fbc46b20
RD
9184 {
9185 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9186 }
44127b65
RD
9187 return resultobj;
9188 fail:
9189 return NULL;
9190}
9191
9192
c370783e 9193static PyObject *_wrap_PyShape_HasDescendant(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
9194 PyObject *resultobj;
9195 wxPyShape *arg1 = (wxPyShape *) 0 ;
9196 wxPyShape *arg2 = (wxPyShape *) 0 ;
9197 bool result;
9198 PyObject * obj0 = 0 ;
9199 PyObject * obj1 = 0 ;
9200 char *kwnames[] = {
9201 (char *) "self",(char *) "image", NULL
9202 };
9203
9204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_HasDescendant",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9205 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
9206 if (SWIG_arg_fail(1)) SWIG_fail;
9207 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
9208 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
9209 {
9210 PyThreadState* __tstate = wxPyBeginAllowThreads();
9211 result = (bool)(arg1)->HasDescendant(arg2);
9212
9213 wxPyEndAllowThreads(__tstate);
9214 if (PyErr_Occurred()) SWIG_fail;
9215 }
fbc46b20
RD
9216 {
9217 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9218 }
44127b65
RD
9219 return resultobj;
9220 fail:
9221 return NULL;
9222}
9223
9224
c370783e 9225static PyObject *_wrap_PyShape_CreateNewCopy(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
9226 PyObject *resultobj;
9227 wxPyShape *arg1 = (wxPyShape *) 0 ;
b411df4a
RD
9228 bool arg2 = (bool) true ;
9229 bool arg3 = (bool) true ;
44127b65
RD
9230 wxPyShape *result;
9231 PyObject * obj0 = 0 ;
9232 PyObject * obj1 = 0 ;
9233 PyObject * obj2 = 0 ;
9234 char *kwnames[] = {
9235 (char *) "self",(char *) "resetMapping",(char *) "recompute", NULL
9236 };
9237
9238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:PyShape_CreateNewCopy",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
9239 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
9240 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65 9241 if (obj1) {
36ed4f51
RD
9242 {
9243 arg2 = (bool)(SWIG_As_bool(obj1));
9244 if (SWIG_arg_fail(2)) SWIG_fail;
9245 }
44127b65
RD
9246 }
9247 if (obj2) {
36ed4f51
RD
9248 {
9249 arg3 = (bool)(SWIG_As_bool(obj2));
9250 if (SWIG_arg_fail(3)) SWIG_fail;
9251 }
44127b65
RD
9252 }
9253 {
9254 PyThreadState* __tstate = wxPyBeginAllowThreads();
9255 result = (wxPyShape *)(arg1)->CreateNewCopy(arg2,arg3);
9256
9257 wxPyEndAllowThreads(__tstate);
9258 if (PyErr_Occurred()) SWIG_fail;
9259 }
9260 {
412d302d 9261 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
44127b65
RD
9262 }
9263 return resultobj;
9264 fail:
9265 return NULL;
9266}
9267
9268
c370783e 9269static PyObject *_wrap_PyShape_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
9270 PyObject *resultobj;
9271 wxPyShape *arg1 = (wxPyShape *) 0 ;
9272 wxPyShape *arg2 = 0 ;
9273 PyObject * obj0 = 0 ;
9274 PyObject * obj1 = 0 ;
9275 char *kwnames[] = {
9276 (char *) "self",(char *) "copy", NULL
9277 };
9278
9279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Copy",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9280 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
9281 if (SWIG_arg_fail(1)) SWIG_fail;
9282 {
9283 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
9284 if (SWIG_arg_fail(2)) SWIG_fail;
9285 if (arg2 == NULL) {
9286 SWIG_null_ref("wxPyShape");
9287 }
9288 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
9289 }
9290 {
9291 PyThreadState* __tstate = wxPyBeginAllowThreads();
9292 (arg1)->Copy(*arg2);
9293
9294 wxPyEndAllowThreads(__tstate);
9295 if (PyErr_Occurred()) SWIG_fail;
9296 }
9297 Py_INCREF(Py_None); resultobj = Py_None;
9298 return resultobj;
9299 fail:
9300 return NULL;
9301}
9302
9303
c370783e 9304static PyObject *_wrap_PyShape_CopyWithHandler(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
9305 PyObject *resultobj;
9306 wxPyShape *arg1 = (wxPyShape *) 0 ;
9307 wxPyShape *arg2 = 0 ;
9308 PyObject * obj0 = 0 ;
9309 PyObject * obj1 = 0 ;
9310 char *kwnames[] = {
9311 (char *) "self",(char *) "copy", NULL
9312 };
9313
9314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_CopyWithHandler",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9315 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
9316 if (SWIG_arg_fail(1)) SWIG_fail;
9317 {
9318 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
9319 if (SWIG_arg_fail(2)) SWIG_fail;
9320 if (arg2 == NULL) {
9321 SWIG_null_ref("wxPyShape");
9322 }
9323 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
9324 }
9325 {
9326 PyThreadState* __tstate = wxPyBeginAllowThreads();
9327 (arg1)->CopyWithHandler(*arg2);
9328
9329 wxPyEndAllowThreads(__tstate);
9330 if (PyErr_Occurred()) SWIG_fail;
9331 }
9332 Py_INCREF(Py_None); resultobj = Py_None;
9333 return resultobj;
9334 fail:
9335 return NULL;
9336}
9337
9338
c370783e 9339static PyObject *_wrap_PyShape_Rotate(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
9340 PyObject *resultobj;
9341 wxPyShape *arg1 = (wxPyShape *) 0 ;
9342 double arg2 ;
9343 double arg3 ;
9344 double arg4 ;
9345 PyObject * obj0 = 0 ;
8edf1c75
RD
9346 PyObject * obj1 = 0 ;
9347 PyObject * obj2 = 0 ;
9348 PyObject * obj3 = 0 ;
44127b65
RD
9349 char *kwnames[] = {
9350 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
9351 };
9352
8edf1c75 9353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyShape_Rotate",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
9354 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
9355 if (SWIG_arg_fail(1)) SWIG_fail;
9356 {
9357 arg2 = (double)(SWIG_As_double(obj1));
9358 if (SWIG_arg_fail(2)) SWIG_fail;
9359 }
9360 {
9361 arg3 = (double)(SWIG_As_double(obj2));
9362 if (SWIG_arg_fail(3)) SWIG_fail;
9363 }
9364 {
9365 arg4 = (double)(SWIG_As_double(obj3));
9366 if (SWIG_arg_fail(4)) SWIG_fail;
9367 }
44127b65
RD
9368 {
9369 PyThreadState* __tstate = wxPyBeginAllowThreads();
9370 (arg1)->Rotate(arg2,arg3,arg4);
9371
9372 wxPyEndAllowThreads(__tstate);
9373 if (PyErr_Occurred()) SWIG_fail;
9374 }
9375 Py_INCREF(Py_None); resultobj = Py_None;
9376 return resultobj;
9377 fail:
9378 return NULL;
9379}
9380
9381
c370783e 9382static PyObject *_wrap_PyShape_GetRotation(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
9383 PyObject *resultobj;
9384 wxPyShape *arg1 = (wxPyShape *) 0 ;
9385 double result;
9386 PyObject * obj0 = 0 ;
9387 char *kwnames[] = {
9388 (char *) "self", NULL
9389 };
9390
9391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetRotation",kwnames,&obj0)) goto fail;
36ed4f51
RD
9392 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
9393 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
9394 {
9395 PyThreadState* __tstate = wxPyBeginAllowThreads();
9396 result = (double)(arg1)->GetRotation();
9397
9398 wxPyEndAllowThreads(__tstate);
9399 if (PyErr_Occurred()) SWIG_fail;
9400 }
36ed4f51
RD
9401 {
9402 resultobj = SWIG_From_double((double)(result));
9403 }
44127b65
RD
9404 return resultobj;
9405 fail:
9406 return NULL;
9407}
9408
9409
c370783e 9410static PyObject *_wrap_PyShape_SetRotation(PyObject *, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
9411 PyObject *resultobj;
9412 wxPyShape *arg1 = (wxPyShape *) 0 ;
9413 double arg2 ;
9414 PyObject * obj0 = 0 ;
8edf1c75 9415 PyObject * obj1 = 0 ;
7a0a63ae
RD
9416 char *kwnames[] = {
9417 (char *) "self",(char *) "rotation", NULL
9418 };
9419
8edf1c75 9420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_SetRotation",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9421 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
9422 if (SWIG_arg_fail(1)) SWIG_fail;
9423 {
9424 arg2 = (double)(SWIG_As_double(obj1));
9425 if (SWIG_arg_fail(2)) SWIG_fail;
9426 }
7a0a63ae
RD
9427 {
9428 PyThreadState* __tstate = wxPyBeginAllowThreads();
9429 (arg1)->SetRotation(arg2);
9430
9431 wxPyEndAllowThreads(__tstate);
9432 if (PyErr_Occurred()) SWIG_fail;
9433 }
9434 Py_INCREF(Py_None); resultobj = Py_None;
9435 return resultobj;
9436 fail:
9437 return NULL;
9438}
9439
9440
c370783e 9441static PyObject *_wrap_PyShape_ClearAttachments(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
9442 PyObject *resultobj;
9443 wxPyShape *arg1 = (wxPyShape *) 0 ;
9444 PyObject * obj0 = 0 ;
9445 char *kwnames[] = {
9446 (char *) "self", NULL
9447 };
9448
9449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_ClearAttachments",kwnames,&obj0)) goto fail;
36ed4f51
RD
9450 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
9451 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
9452 {
9453 PyThreadState* __tstate = wxPyBeginAllowThreads();
9454 (arg1)->ClearAttachments();
9455
9456 wxPyEndAllowThreads(__tstate);
9457 if (PyErr_Occurred()) SWIG_fail;
9458 }
9459 Py_INCREF(Py_None); resultobj = Py_None;
9460 return resultobj;
9461 fail:
9462 return NULL;
9463}
9464
9465
c370783e 9466static PyObject *_wrap_PyShape_Recentre(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
9467 PyObject *resultobj;
9468 wxPyShape *arg1 = (wxPyShape *) 0 ;
9469 wxDC *arg2 = 0 ;
9470 PyObject * obj0 = 0 ;
9471 PyObject * obj1 = 0 ;
9472 char *kwnames[] = {
9473 (char *) "self",(char *) "dc", NULL
9474 };
9475
9476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_Recentre",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9477 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
9478 if (SWIG_arg_fail(1)) SWIG_fail;
9479 {
9480 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
9481 if (SWIG_arg_fail(2)) SWIG_fail;
9482 if (arg2 == NULL) {
9483 SWIG_null_ref("wxDC");
9484 }
9485 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
9486 }
9487 {
9488 PyThreadState* __tstate = wxPyBeginAllowThreads();
9489 (arg1)->Recentre(*arg2);
9490
9491 wxPyEndAllowThreads(__tstate);
9492 if (PyErr_Occurred()) SWIG_fail;
9493 }
9494 Py_INCREF(Py_None); resultobj = Py_None;
9495 return resultobj;
9496 fail:
9497 return NULL;
9498}
9499
9500
c370783e 9501static PyObject *_wrap_PyShape_ClearPointList(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
9502 PyObject *resultobj;
9503 wxPyShape *arg1 = (wxPyShape *) 0 ;
9504 wxList *arg2 = 0 ;
9505 PyObject * obj0 = 0 ;
9506 PyObject * obj1 = 0 ;
9507 char *kwnames[] = {
9508 (char *) "self",(char *) "list", NULL
9509 };
9510
9511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_ClearPointList",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
9513 if (SWIG_arg_fail(1)) SWIG_fail;
9514 {
9515 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxList, SWIG_POINTER_EXCEPTION | 0);
9516 if (SWIG_arg_fail(2)) SWIG_fail;
9517 if (arg2 == NULL) {
9518 SWIG_null_ref("wxList");
9519 }
9520 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
9521 }
9522 {
9523 PyThreadState* __tstate = wxPyBeginAllowThreads();
9524 (arg1)->ClearPointList(*arg2);
9525
9526 wxPyEndAllowThreads(__tstate);
9527 if (PyErr_Occurred()) SWIG_fail;
9528 }
9529 Py_INCREF(Py_None); resultobj = Py_None;
9530 return resultobj;
9531 fail:
9532 return NULL;
9533}
9534
9535
c370783e 9536static PyObject *_wrap_PyShape_GetBackgroundPen(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
9537 PyObject *resultobj;
9538 wxPyShape *arg1 = (wxPyShape *) 0 ;
9539 wxPen result;
9540 PyObject * obj0 = 0 ;
9541 char *kwnames[] = {
9542 (char *) "self", NULL
9543 };
9544
9545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBackgroundPen",kwnames,&obj0)) goto fail;
36ed4f51
RD
9546 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
9547 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
9548 {
9549 PyThreadState* __tstate = wxPyBeginAllowThreads();
9550 result = (arg1)->GetBackgroundPen();
9551
9552 wxPyEndAllowThreads(__tstate);
9553 if (PyErr_Occurred()) SWIG_fail;
9554 }
9555 {
9556 wxPen * resultptr;
36ed4f51 9557 resultptr = new wxPen((wxPen &)(result));
2f4c0a16 9558 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPen, 1);
44127b65
RD
9559 }
9560 return resultobj;
9561 fail:
9562 return NULL;
9563}
9564
9565
c370783e 9566static PyObject *_wrap_PyShape_GetBackgroundBrush(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
9567 PyObject *resultobj;
9568 wxPyShape *arg1 = (wxPyShape *) 0 ;
9569 wxBrush result;
9570 PyObject * obj0 = 0 ;
9571 char *kwnames[] = {
9572 (char *) "self", NULL
9573 };
9574
9575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_GetBackgroundBrush",kwnames,&obj0)) goto fail;
36ed4f51
RD
9576 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
9577 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
9578 {
9579 PyThreadState* __tstate = wxPyBeginAllowThreads();
9580 result = (arg1)->GetBackgroundBrush();
9581
9582 wxPyEndAllowThreads(__tstate);
9583 if (PyErr_Occurred()) SWIG_fail;
9584 }
9585 {
9586 wxBrush * resultptr;
36ed4f51 9587 resultptr = new wxBrush((wxBrush &)(result));
2f4c0a16 9588 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBrush, 1);
44127b65
RD
9589 }
9590 return resultobj;
9591 fail:
9592 return NULL;
9593}
9594
9595
c370783e 9596static PyObject *_wrap_PyShape_base_OnDelete(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
9597 PyObject *resultobj;
9598 wxPyShape *arg1 = (wxPyShape *) 0 ;
9599 PyObject * obj0 = 0 ;
9600 char *kwnames[] = {
9601 (char *) "self", NULL
9602 };
9603
9604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShape_base_OnDelete",kwnames,&obj0)) goto fail;
36ed4f51
RD
9605 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
9606 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
9607 {
9608 PyThreadState* __tstate = wxPyBeginAllowThreads();
9609 (arg1)->base_OnDelete();
9610
9611 wxPyEndAllowThreads(__tstate);
9612 if (PyErr_Occurred()) SWIG_fail;
9613 }
9614 Py_INCREF(Py_None); resultobj = Py_None;
9615 return resultobj;
9616 fail:
9617 return NULL;
9618}
9619
9620
c370783e 9621static PyObject *_wrap_PyShape_base_OnDraw(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
9622 PyObject *resultobj;
9623 wxPyShape *arg1 = (wxPyShape *) 0 ;
9624 wxDC *arg2 = 0 ;
9625 PyObject * obj0 = 0 ;
9626 PyObject * obj1 = 0 ;
9627 char *kwnames[] = {
9628 (char *) "self",(char *) "dc", NULL
9629 };
9630
9631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
9633 if (SWIG_arg_fail(1)) SWIG_fail;
9634 {
9635 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
9636 if (SWIG_arg_fail(2)) SWIG_fail;
9637 if (arg2 == NULL) {
9638 SWIG_null_ref("wxDC");
9639 }
9640 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
9641 }
9642 {
9643 PyThreadState* __tstate = wxPyBeginAllowThreads();
9644 (arg1)->base_OnDraw(*arg2);
9645
9646 wxPyEndAllowThreads(__tstate);
9647 if (PyErr_Occurred()) SWIG_fail;
9648 }
9649 Py_INCREF(Py_None); resultobj = Py_None;
9650 return resultobj;
9651 fail:
9652 return NULL;
9653}
9654
9655
c370783e 9656static PyObject *_wrap_PyShape_base_OnDrawContents(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
9657 PyObject *resultobj;
9658 wxPyShape *arg1 = (wxPyShape *) 0 ;
9659 wxDC *arg2 = 0 ;
9660 PyObject * obj0 = 0 ;
9661 PyObject * obj1 = 0 ;
9662 char *kwnames[] = {
9663 (char *) "self",(char *) "dc", NULL
9664 };
9665
9666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9667 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
9668 if (SWIG_arg_fail(1)) SWIG_fail;
9669 {
9670 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
9671 if (SWIG_arg_fail(2)) SWIG_fail;
9672 if (arg2 == NULL) {
9673 SWIG_null_ref("wxDC");
9674 }
9675 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
9676 }
9677 {
9678 PyThreadState* __tstate = wxPyBeginAllowThreads();
9679 (arg1)->base_OnDrawContents(*arg2);
9680
9681 wxPyEndAllowThreads(__tstate);
9682 if (PyErr_Occurred()) SWIG_fail;
9683 }
9684 Py_INCREF(Py_None); resultobj = Py_None;
9685 return resultobj;
9686 fail:
9687 return NULL;
9688}
9689
9690
c370783e 9691static PyObject *_wrap_PyShape_base_OnDrawBranches(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
9692 PyObject *resultobj;
9693 wxPyShape *arg1 = (wxPyShape *) 0 ;
9694 wxDC *arg2 = 0 ;
b411df4a 9695 bool arg3 = (bool) false ;
44127b65
RD
9696 PyObject * obj0 = 0 ;
9697 PyObject * obj1 = 0 ;
9698 PyObject * obj2 = 0 ;
9699 char *kwnames[] = {
9700 (char *) "self",(char *) "dc",(char *) "erase", NULL
9701 };
9702
9703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
9704 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
9705 if (SWIG_arg_fail(1)) SWIG_fail;
9706 {
9707 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
9708 if (SWIG_arg_fail(2)) SWIG_fail;
9709 if (arg2 == NULL) {
9710 SWIG_null_ref("wxDC");
9711 }
9712 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
9713 }
9714 if (obj2) {
36ed4f51
RD
9715 {
9716 arg3 = (bool)(SWIG_As_bool(obj2));
9717 if (SWIG_arg_fail(3)) SWIG_fail;
9718 }
44127b65
RD
9719 }
9720 {
9721 PyThreadState* __tstate = wxPyBeginAllowThreads();
9722 (arg1)->base_OnDrawBranches(*arg2,arg3);
9723
9724 wxPyEndAllowThreads(__tstate);
9725 if (PyErr_Occurred()) SWIG_fail;
9726 }
9727 Py_INCREF(Py_None); resultobj = Py_None;
9728 return resultobj;
9729 fail:
9730 return NULL;
9731}
9732
9733
c370783e 9734static PyObject *_wrap_PyShape_base_OnMoveLinks(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
9735 PyObject *resultobj;
9736 wxPyShape *arg1 = (wxPyShape *) 0 ;
9737 wxDC *arg2 = 0 ;
9738 PyObject * obj0 = 0 ;
9739 PyObject * obj1 = 0 ;
9740 char *kwnames[] = {
9741 (char *) "self",(char *) "dc", NULL
9742 };
9743
9744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9745 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
9746 if (SWIG_arg_fail(1)) SWIG_fail;
9747 {
9748 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
9749 if (SWIG_arg_fail(2)) SWIG_fail;
9750 if (arg2 == NULL) {
9751 SWIG_null_ref("wxDC");
9752 }
9753 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
9754 }
9755 {
9756 PyThreadState* __tstate = wxPyBeginAllowThreads();
9757 (arg1)->base_OnMoveLinks(*arg2);
9758
9759 wxPyEndAllowThreads(__tstate);
9760 if (PyErr_Occurred()) SWIG_fail;
9761 }
9762 Py_INCREF(Py_None); resultobj = Py_None;
9763 return resultobj;
9764 fail:
9765 return NULL;
9766}
9767
9768
c370783e 9769static PyObject *_wrap_PyShape_base_OnErase(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
9770 PyObject *resultobj;
9771 wxPyShape *arg1 = (wxPyShape *) 0 ;
9772 wxDC *arg2 = 0 ;
9773 PyObject * obj0 = 0 ;
9774 PyObject * obj1 = 0 ;
9775 char *kwnames[] = {
9776 (char *) "self",(char *) "dc", NULL
9777 };
9778
9779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9780 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
9781 if (SWIG_arg_fail(1)) SWIG_fail;
9782 {
9783 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
9784 if (SWIG_arg_fail(2)) SWIG_fail;
9785 if (arg2 == NULL) {
9786 SWIG_null_ref("wxDC");
9787 }
9788 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
9789 }
9790 {
9791 PyThreadState* __tstate = wxPyBeginAllowThreads();
9792 (arg1)->base_OnErase(*arg2);
9793
9794 wxPyEndAllowThreads(__tstate);
9795 if (PyErr_Occurred()) SWIG_fail;
9796 }
9797 Py_INCREF(Py_None); resultobj = Py_None;
9798 return resultobj;
9799 fail:
9800 return NULL;
9801}
9802
9803
c370783e 9804static PyObject *_wrap_PyShape_base_OnEraseContents(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
9805 PyObject *resultobj;
9806 wxPyShape *arg1 = (wxPyShape *) 0 ;
9807 wxDC *arg2 = 0 ;
9808 PyObject * obj0 = 0 ;
9809 PyObject * obj1 = 0 ;
9810 char *kwnames[] = {
9811 (char *) "self",(char *) "dc", NULL
9812 };
9813
9814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9815 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
9816 if (SWIG_arg_fail(1)) SWIG_fail;
9817 {
9818 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
9819 if (SWIG_arg_fail(2)) SWIG_fail;
9820 if (arg2 == NULL) {
9821 SWIG_null_ref("wxDC");
9822 }
9823 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
9824 }
9825 {
9826 PyThreadState* __tstate = wxPyBeginAllowThreads();
9827 (arg1)->base_OnEraseContents(*arg2);
9828
9829 wxPyEndAllowThreads(__tstate);
9830 if (PyErr_Occurred()) SWIG_fail;
9831 }
9832 Py_INCREF(Py_None); resultobj = Py_None;
9833 return resultobj;
9834 fail:
9835 return NULL;
9836}
9837
9838
c370783e 9839static PyObject *_wrap_PyShape_base_OnHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
9840 PyObject *resultobj;
9841 wxPyShape *arg1 = (wxPyShape *) 0 ;
9842 wxDC *arg2 = 0 ;
9843 PyObject * obj0 = 0 ;
9844 PyObject * obj1 = 0 ;
9845 char *kwnames[] = {
9846 (char *) "self",(char *) "dc", NULL
9847 };
9848
9849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9850 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
9851 if (SWIG_arg_fail(1)) SWIG_fail;
9852 {
9853 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
9854 if (SWIG_arg_fail(2)) SWIG_fail;
9855 if (arg2 == NULL) {
9856 SWIG_null_ref("wxDC");
9857 }
9858 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
9859 }
9860 {
9861 PyThreadState* __tstate = wxPyBeginAllowThreads();
9862 (arg1)->base_OnHighlight(*arg2);
9863
9864 wxPyEndAllowThreads(__tstate);
9865 if (PyErr_Occurred()) SWIG_fail;
9866 }
9867 Py_INCREF(Py_None); resultobj = Py_None;
9868 return resultobj;
9869 fail:
9870 return NULL;
9871}
9872
9873
c370783e 9874static PyObject *_wrap_PyShape_base_OnLeftClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
9875 PyObject *resultobj;
9876 wxPyShape *arg1 = (wxPyShape *) 0 ;
9877 double arg2 ;
9878 double arg3 ;
9879 int arg4 = (int) 0 ;
9880 int arg5 = (int) 0 ;
9881 PyObject * obj0 = 0 ;
8edf1c75
RD
9882 PyObject * obj1 = 0 ;
9883 PyObject * obj2 = 0 ;
9884 PyObject * obj3 = 0 ;
9885 PyObject * obj4 = 0 ;
44127b65
RD
9886 char *kwnames[] = {
9887 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9888 };
9889
8edf1c75 9890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
9891 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
9892 if (SWIG_arg_fail(1)) SWIG_fail;
9893 {
9894 arg2 = (double)(SWIG_As_double(obj1));
9895 if (SWIG_arg_fail(2)) SWIG_fail;
9896 }
9897 {
9898 arg3 = (double)(SWIG_As_double(obj2));
9899 if (SWIG_arg_fail(3)) SWIG_fail;
9900 }
8edf1c75 9901 if (obj3) {
36ed4f51
RD
9902 {
9903 arg4 = (int)(SWIG_As_int(obj3));
9904 if (SWIG_arg_fail(4)) SWIG_fail;
9905 }
8edf1c75
RD
9906 }
9907 if (obj4) {
36ed4f51
RD
9908 {
9909 arg5 = (int)(SWIG_As_int(obj4));
9910 if (SWIG_arg_fail(5)) SWIG_fail;
9911 }
8edf1c75 9912 }
44127b65
RD
9913 {
9914 PyThreadState* __tstate = wxPyBeginAllowThreads();
9915 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
9916
9917 wxPyEndAllowThreads(__tstate);
9918 if (PyErr_Occurred()) SWIG_fail;
9919 }
9920 Py_INCREF(Py_None); resultobj = Py_None;
9921 return resultobj;
9922 fail:
9923 return NULL;
9924}
9925
9926
c370783e 9927static PyObject *_wrap_PyShape_base_OnLeftDoubleClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
9928 PyObject *resultobj;
9929 wxPyShape *arg1 = (wxPyShape *) 0 ;
9930 double arg2 ;
9931 double arg3 ;
9932 int arg4 = (int) 0 ;
9933 int arg5 = (int) 0 ;
9934 PyObject * obj0 = 0 ;
8edf1c75
RD
9935 PyObject * obj1 = 0 ;
9936 PyObject * obj2 = 0 ;
9937 PyObject * obj3 = 0 ;
9938 PyObject * obj4 = 0 ;
44127b65
RD
9939 char *kwnames[] = {
9940 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9941 };
9942
8edf1c75 9943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
9944 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
9945 if (SWIG_arg_fail(1)) SWIG_fail;
9946 {
9947 arg2 = (double)(SWIG_As_double(obj1));
9948 if (SWIG_arg_fail(2)) SWIG_fail;
9949 }
9950 {
9951 arg3 = (double)(SWIG_As_double(obj2));
9952 if (SWIG_arg_fail(3)) SWIG_fail;
9953 }
8edf1c75 9954 if (obj3) {
36ed4f51
RD
9955 {
9956 arg4 = (int)(SWIG_As_int(obj3));
9957 if (SWIG_arg_fail(4)) SWIG_fail;
9958 }
8edf1c75
RD
9959 }
9960 if (obj4) {
36ed4f51
RD
9961 {
9962 arg5 = (int)(SWIG_As_int(obj4));
9963 if (SWIG_arg_fail(5)) SWIG_fail;
9964 }
8edf1c75 9965 }
44127b65
RD
9966 {
9967 PyThreadState* __tstate = wxPyBeginAllowThreads();
9968 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
9969
9970 wxPyEndAllowThreads(__tstate);
9971 if (PyErr_Occurred()) SWIG_fail;
9972 }
9973 Py_INCREF(Py_None); resultobj = Py_None;
9974 return resultobj;
9975 fail:
9976 return NULL;
9977}
9978
9979
c370783e 9980static PyObject *_wrap_PyShape_base_OnRightClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
9981 PyObject *resultobj;
9982 wxPyShape *arg1 = (wxPyShape *) 0 ;
9983 double arg2 ;
9984 double arg3 ;
9985 int arg4 = (int) 0 ;
9986 int arg5 = (int) 0 ;
9987 PyObject * obj0 = 0 ;
8edf1c75
RD
9988 PyObject * obj1 = 0 ;
9989 PyObject * obj2 = 0 ;
9990 PyObject * obj3 = 0 ;
9991 PyObject * obj4 = 0 ;
44127b65
RD
9992 char *kwnames[] = {
9993 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
9994 };
9995
8edf1c75 9996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
9997 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
9998 if (SWIG_arg_fail(1)) SWIG_fail;
9999 {
10000 arg2 = (double)(SWIG_As_double(obj1));
10001 if (SWIG_arg_fail(2)) SWIG_fail;
10002 }
10003 {
10004 arg3 = (double)(SWIG_As_double(obj2));
10005 if (SWIG_arg_fail(3)) SWIG_fail;
10006 }
8edf1c75 10007 if (obj3) {
36ed4f51
RD
10008 {
10009 arg4 = (int)(SWIG_As_int(obj3));
10010 if (SWIG_arg_fail(4)) SWIG_fail;
10011 }
8edf1c75
RD
10012 }
10013 if (obj4) {
36ed4f51
RD
10014 {
10015 arg5 = (int)(SWIG_As_int(obj4));
10016 if (SWIG_arg_fail(5)) SWIG_fail;
10017 }
8edf1c75 10018 }
44127b65
RD
10019 {
10020 PyThreadState* __tstate = wxPyBeginAllowThreads();
10021 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
10022
10023 wxPyEndAllowThreads(__tstate);
10024 if (PyErr_Occurred()) SWIG_fail;
10025 }
10026 Py_INCREF(Py_None); resultobj = Py_None;
10027 return resultobj;
10028 fail:
10029 return NULL;
10030}
10031
10032
c370783e 10033static PyObject *_wrap_PyShape_base_OnSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
10034 PyObject *resultobj;
10035 wxPyShape *arg1 = (wxPyShape *) 0 ;
10036 double arg2 ;
10037 double arg3 ;
10038 PyObject * obj0 = 0 ;
8edf1c75
RD
10039 PyObject * obj1 = 0 ;
10040 PyObject * obj2 = 0 ;
44127b65
RD
10041 char *kwnames[] = {
10042 (char *) "self",(char *) "x",(char *) "y", NULL
10043 };
10044
8edf1c75 10045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
10046 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
10047 if (SWIG_arg_fail(1)) SWIG_fail;
10048 {
10049 arg2 = (double)(SWIG_As_double(obj1));
10050 if (SWIG_arg_fail(2)) SWIG_fail;
10051 }
10052 {
10053 arg3 = (double)(SWIG_As_double(obj2));
10054 if (SWIG_arg_fail(3)) SWIG_fail;
10055 }
44127b65
RD
10056 {
10057 PyThreadState* __tstate = wxPyBeginAllowThreads();
10058 (arg1)->base_OnSize(arg2,arg3);
10059
10060 wxPyEndAllowThreads(__tstate);
10061 if (PyErr_Occurred()) SWIG_fail;
10062 }
10063 Py_INCREF(Py_None); resultobj = Py_None;
10064 return resultobj;
10065 fail:
10066 return NULL;
10067}
10068
10069
c370783e 10070static PyObject *_wrap_PyShape_base_OnMovePre(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
10071 PyObject *resultobj;
10072 wxPyShape *arg1 = (wxPyShape *) 0 ;
10073 wxDC *arg2 = 0 ;
10074 double arg3 ;
10075 double arg4 ;
10076 double arg5 ;
10077 double arg6 ;
b411df4a 10078 bool arg7 = (bool) true ;
44127b65
RD
10079 bool result;
10080 PyObject * obj0 = 0 ;
10081 PyObject * obj1 = 0 ;
8edf1c75
RD
10082 PyObject * obj2 = 0 ;
10083 PyObject * obj3 = 0 ;
10084 PyObject * obj4 = 0 ;
10085 PyObject * obj5 = 0 ;
44127b65
RD
10086 PyObject * obj6 = 0 ;
10087 char *kwnames[] = {
10088 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
10089 };
10090
8edf1c75 10091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
10092 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
10093 if (SWIG_arg_fail(1)) SWIG_fail;
10094 {
10095 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
10096 if (SWIG_arg_fail(2)) SWIG_fail;
10097 if (arg2 == NULL) {
10098 SWIG_null_ref("wxDC");
10099 }
10100 if (SWIG_arg_fail(2)) SWIG_fail;
10101 }
10102 {
10103 arg3 = (double)(SWIG_As_double(obj2));
10104 if (SWIG_arg_fail(3)) SWIG_fail;
10105 }
10106 {
10107 arg4 = (double)(SWIG_As_double(obj3));
10108 if (SWIG_arg_fail(4)) SWIG_fail;
10109 }
10110 {
10111 arg5 = (double)(SWIG_As_double(obj4));
10112 if (SWIG_arg_fail(5)) SWIG_fail;
10113 }
10114 {
10115 arg6 = (double)(SWIG_As_double(obj5));
10116 if (SWIG_arg_fail(6)) SWIG_fail;
10117 }
44127b65 10118 if (obj6) {
36ed4f51
RD
10119 {
10120 arg7 = (bool)(SWIG_As_bool(obj6));
10121 if (SWIG_arg_fail(7)) SWIG_fail;
10122 }
44127b65
RD
10123 }
10124 {
10125 PyThreadState* __tstate = wxPyBeginAllowThreads();
10126 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
10127
10128 wxPyEndAllowThreads(__tstate);
10129 if (PyErr_Occurred()) SWIG_fail;
10130 }
fbc46b20
RD
10131 {
10132 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10133 }
44127b65
RD
10134 return resultobj;
10135 fail:
10136 return NULL;
10137}
10138
10139
c370783e 10140static PyObject *_wrap_PyShape_base_OnMovePost(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
10141 PyObject *resultobj;
10142 wxPyShape *arg1 = (wxPyShape *) 0 ;
10143 wxDC *arg2 = 0 ;
10144 double arg3 ;
10145 double arg4 ;
10146 double arg5 ;
10147 double arg6 ;
b411df4a 10148 bool arg7 = (bool) true ;
44127b65
RD
10149 PyObject * obj0 = 0 ;
10150 PyObject * obj1 = 0 ;
8edf1c75
RD
10151 PyObject * obj2 = 0 ;
10152 PyObject * obj3 = 0 ;
10153 PyObject * obj4 = 0 ;
10154 PyObject * obj5 = 0 ;
44127b65
RD
10155 PyObject * obj6 = 0 ;
10156 char *kwnames[] = {
10157 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
10158 };
10159
8edf1c75 10160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
10161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
10162 if (SWIG_arg_fail(1)) SWIG_fail;
10163 {
10164 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
10165 if (SWIG_arg_fail(2)) SWIG_fail;
10166 if (arg2 == NULL) {
10167 SWIG_null_ref("wxDC");
10168 }
10169 if (SWIG_arg_fail(2)) SWIG_fail;
10170 }
10171 {
10172 arg3 = (double)(SWIG_As_double(obj2));
10173 if (SWIG_arg_fail(3)) SWIG_fail;
10174 }
10175 {
10176 arg4 = (double)(SWIG_As_double(obj3));
10177 if (SWIG_arg_fail(4)) SWIG_fail;
10178 }
10179 {
10180 arg5 = (double)(SWIG_As_double(obj4));
10181 if (SWIG_arg_fail(5)) SWIG_fail;
10182 }
10183 {
10184 arg6 = (double)(SWIG_As_double(obj5));
10185 if (SWIG_arg_fail(6)) SWIG_fail;
10186 }
44127b65 10187 if (obj6) {
36ed4f51
RD
10188 {
10189 arg7 = (bool)(SWIG_As_bool(obj6));
10190 if (SWIG_arg_fail(7)) SWIG_fail;
10191 }
44127b65
RD
10192 }
10193 {
10194 PyThreadState* __tstate = wxPyBeginAllowThreads();
10195 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
10196
10197 wxPyEndAllowThreads(__tstate);
10198 if (PyErr_Occurred()) SWIG_fail;
10199 }
10200 Py_INCREF(Py_None); resultobj = Py_None;
10201 return resultobj;
10202 fail:
10203 return NULL;
10204}
10205
10206
c370783e 10207static PyObject *_wrap_PyShape_base_OnDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
10208 PyObject *resultobj;
10209 wxPyShape *arg1 = (wxPyShape *) 0 ;
10210 bool arg2 ;
10211 double arg3 ;
10212 double arg4 ;
10213 int arg5 = (int) 0 ;
10214 int arg6 = (int) 0 ;
10215 PyObject * obj0 = 0 ;
10216 PyObject * obj1 = 0 ;
8edf1c75
RD
10217 PyObject * obj2 = 0 ;
10218 PyObject * obj3 = 0 ;
10219 PyObject * obj4 = 0 ;
10220 PyObject * obj5 = 0 ;
44127b65
RD
10221 char *kwnames[] = {
10222 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10223 };
10224
8edf1c75 10225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
10226 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
10227 if (SWIG_arg_fail(1)) SWIG_fail;
10228 {
10229 arg2 = (bool)(SWIG_As_bool(obj1));
10230 if (SWIG_arg_fail(2)) SWIG_fail;
10231 }
10232 {
10233 arg3 = (double)(SWIG_As_double(obj2));
10234 if (SWIG_arg_fail(3)) SWIG_fail;
10235 }
10236 {
10237 arg4 = (double)(SWIG_As_double(obj3));
10238 if (SWIG_arg_fail(4)) SWIG_fail;
10239 }
8edf1c75 10240 if (obj4) {
36ed4f51
RD
10241 {
10242 arg5 = (int)(SWIG_As_int(obj4));
10243 if (SWIG_arg_fail(5)) SWIG_fail;
10244 }
8edf1c75
RD
10245 }
10246 if (obj5) {
36ed4f51
RD
10247 {
10248 arg6 = (int)(SWIG_As_int(obj5));
10249 if (SWIG_arg_fail(6)) SWIG_fail;
10250 }
8edf1c75 10251 }
44127b65
RD
10252 {
10253 PyThreadState* __tstate = wxPyBeginAllowThreads();
10254 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
10255
10256 wxPyEndAllowThreads(__tstate);
10257 if (PyErr_Occurred()) SWIG_fail;
10258 }
10259 Py_INCREF(Py_None); resultobj = Py_None;
10260 return resultobj;
10261 fail:
10262 return NULL;
10263}
10264
10265
c370783e 10266static PyObject *_wrap_PyShape_base_OnBeginDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
10267 PyObject *resultobj;
10268 wxPyShape *arg1 = (wxPyShape *) 0 ;
10269 double arg2 ;
10270 double arg3 ;
10271 int arg4 = (int) 0 ;
10272 int arg5 = (int) 0 ;
10273 PyObject * obj0 = 0 ;
8edf1c75
RD
10274 PyObject * obj1 = 0 ;
10275 PyObject * obj2 = 0 ;
10276 PyObject * obj3 = 0 ;
10277 PyObject * obj4 = 0 ;
44127b65
RD
10278 char *kwnames[] = {
10279 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10280 };
10281
8edf1c75 10282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
10283 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
10284 if (SWIG_arg_fail(1)) SWIG_fail;
10285 {
10286 arg2 = (double)(SWIG_As_double(obj1));
10287 if (SWIG_arg_fail(2)) SWIG_fail;
10288 }
10289 {
10290 arg3 = (double)(SWIG_As_double(obj2));
10291 if (SWIG_arg_fail(3)) SWIG_fail;
10292 }
8edf1c75 10293 if (obj3) {
36ed4f51
RD
10294 {
10295 arg4 = (int)(SWIG_As_int(obj3));
10296 if (SWIG_arg_fail(4)) SWIG_fail;
10297 }
8edf1c75
RD
10298 }
10299 if (obj4) {
36ed4f51
RD
10300 {
10301 arg5 = (int)(SWIG_As_int(obj4));
10302 if (SWIG_arg_fail(5)) SWIG_fail;
10303 }
8edf1c75 10304 }
44127b65
RD
10305 {
10306 PyThreadState* __tstate = wxPyBeginAllowThreads();
10307 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
10308
10309 wxPyEndAllowThreads(__tstate);
10310 if (PyErr_Occurred()) SWIG_fail;
10311 }
10312 Py_INCREF(Py_None); resultobj = Py_None;
10313 return resultobj;
10314 fail:
10315 return NULL;
10316}
10317
10318
c370783e 10319static PyObject *_wrap_PyShape_base_OnEndDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
10320 PyObject *resultobj;
10321 wxPyShape *arg1 = (wxPyShape *) 0 ;
10322 double arg2 ;
10323 double arg3 ;
10324 int arg4 = (int) 0 ;
10325 int arg5 = (int) 0 ;
10326 PyObject * obj0 = 0 ;
8edf1c75
RD
10327 PyObject * obj1 = 0 ;
10328 PyObject * obj2 = 0 ;
10329 PyObject * obj3 = 0 ;
10330 PyObject * obj4 = 0 ;
44127b65
RD
10331 char *kwnames[] = {
10332 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10333 };
10334
8edf1c75 10335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
10336 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
10337 if (SWIG_arg_fail(1)) SWIG_fail;
10338 {
10339 arg2 = (double)(SWIG_As_double(obj1));
10340 if (SWIG_arg_fail(2)) SWIG_fail;
10341 }
10342 {
10343 arg3 = (double)(SWIG_As_double(obj2));
10344 if (SWIG_arg_fail(3)) SWIG_fail;
10345 }
8edf1c75 10346 if (obj3) {
36ed4f51
RD
10347 {
10348 arg4 = (int)(SWIG_As_int(obj3));
10349 if (SWIG_arg_fail(4)) SWIG_fail;
10350 }
8edf1c75
RD
10351 }
10352 if (obj4) {
36ed4f51
RD
10353 {
10354 arg5 = (int)(SWIG_As_int(obj4));
10355 if (SWIG_arg_fail(5)) SWIG_fail;
10356 }
8edf1c75 10357 }
44127b65
RD
10358 {
10359 PyThreadState* __tstate = wxPyBeginAllowThreads();
10360 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
10361
10362 wxPyEndAllowThreads(__tstate);
10363 if (PyErr_Occurred()) SWIG_fail;
10364 }
10365 Py_INCREF(Py_None); resultobj = Py_None;
10366 return resultobj;
10367 fail:
10368 return NULL;
10369}
10370
10371
c370783e 10372static PyObject *_wrap_PyShape_base_OnDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
10373 PyObject *resultobj;
10374 wxPyShape *arg1 = (wxPyShape *) 0 ;
10375 bool arg2 ;
10376 double arg3 ;
10377 double arg4 ;
10378 int arg5 = (int) 0 ;
10379 int arg6 = (int) 0 ;
10380 PyObject * obj0 = 0 ;
10381 PyObject * obj1 = 0 ;
8edf1c75
RD
10382 PyObject * obj2 = 0 ;
10383 PyObject * obj3 = 0 ;
10384 PyObject * obj4 = 0 ;
10385 PyObject * obj5 = 0 ;
44127b65
RD
10386 char *kwnames[] = {
10387 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10388 };
10389
8edf1c75 10390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
10391 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
10392 if (SWIG_arg_fail(1)) SWIG_fail;
10393 {
10394 arg2 = (bool)(SWIG_As_bool(obj1));
10395 if (SWIG_arg_fail(2)) SWIG_fail;
10396 }
10397 {
10398 arg3 = (double)(SWIG_As_double(obj2));
10399 if (SWIG_arg_fail(3)) SWIG_fail;
10400 }
10401 {
10402 arg4 = (double)(SWIG_As_double(obj3));
10403 if (SWIG_arg_fail(4)) SWIG_fail;
10404 }
8edf1c75 10405 if (obj4) {
36ed4f51
RD
10406 {
10407 arg5 = (int)(SWIG_As_int(obj4));
10408 if (SWIG_arg_fail(5)) SWIG_fail;
10409 }
8edf1c75
RD
10410 }
10411 if (obj5) {
36ed4f51
RD
10412 {
10413 arg6 = (int)(SWIG_As_int(obj5));
10414 if (SWIG_arg_fail(6)) SWIG_fail;
10415 }
8edf1c75 10416 }
44127b65
RD
10417 {
10418 PyThreadState* __tstate = wxPyBeginAllowThreads();
10419 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
10420
10421 wxPyEndAllowThreads(__tstate);
10422 if (PyErr_Occurred()) SWIG_fail;
10423 }
10424 Py_INCREF(Py_None); resultobj = Py_None;
10425 return resultobj;
10426 fail:
10427 return NULL;
10428}
10429
10430
c370783e 10431static PyObject *_wrap_PyShape_base_OnBeginDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
10432 PyObject *resultobj;
10433 wxPyShape *arg1 = (wxPyShape *) 0 ;
10434 double arg2 ;
10435 double arg3 ;
10436 int arg4 = (int) 0 ;
10437 int arg5 = (int) 0 ;
10438 PyObject * obj0 = 0 ;
8edf1c75
RD
10439 PyObject * obj1 = 0 ;
10440 PyObject * obj2 = 0 ;
10441 PyObject * obj3 = 0 ;
10442 PyObject * obj4 = 0 ;
44127b65
RD
10443 char *kwnames[] = {
10444 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10445 };
10446
8edf1c75 10447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
10448 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
10449 if (SWIG_arg_fail(1)) SWIG_fail;
10450 {
10451 arg2 = (double)(SWIG_As_double(obj1));
10452 if (SWIG_arg_fail(2)) SWIG_fail;
10453 }
10454 {
10455 arg3 = (double)(SWIG_As_double(obj2));
10456 if (SWIG_arg_fail(3)) SWIG_fail;
10457 }
8edf1c75 10458 if (obj3) {
36ed4f51
RD
10459 {
10460 arg4 = (int)(SWIG_As_int(obj3));
10461 if (SWIG_arg_fail(4)) SWIG_fail;
10462 }
8edf1c75
RD
10463 }
10464 if (obj4) {
36ed4f51
RD
10465 {
10466 arg5 = (int)(SWIG_As_int(obj4));
10467 if (SWIG_arg_fail(5)) SWIG_fail;
10468 }
8edf1c75 10469 }
44127b65
RD
10470 {
10471 PyThreadState* __tstate = wxPyBeginAllowThreads();
10472 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
10473
10474 wxPyEndAllowThreads(__tstate);
10475 if (PyErr_Occurred()) SWIG_fail;
10476 }
10477 Py_INCREF(Py_None); resultobj = Py_None;
10478 return resultobj;
10479 fail:
10480 return NULL;
10481}
10482
10483
c370783e 10484static PyObject *_wrap_PyShape_base_OnEndDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
10485 PyObject *resultobj;
10486 wxPyShape *arg1 = (wxPyShape *) 0 ;
10487 double arg2 ;
10488 double arg3 ;
10489 int arg4 = (int) 0 ;
10490 int arg5 = (int) 0 ;
10491 PyObject * obj0 = 0 ;
8edf1c75
RD
10492 PyObject * obj1 = 0 ;
10493 PyObject * obj2 = 0 ;
10494 PyObject * obj3 = 0 ;
10495 PyObject * obj4 = 0 ;
44127b65
RD
10496 char *kwnames[] = {
10497 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10498 };
10499
8edf1c75 10500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
10501 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
10502 if (SWIG_arg_fail(1)) SWIG_fail;
10503 {
10504 arg2 = (double)(SWIG_As_double(obj1));
10505 if (SWIG_arg_fail(2)) SWIG_fail;
10506 }
10507 {
10508 arg3 = (double)(SWIG_As_double(obj2));
10509 if (SWIG_arg_fail(3)) SWIG_fail;
10510 }
8edf1c75 10511 if (obj3) {
36ed4f51
RD
10512 {
10513 arg4 = (int)(SWIG_As_int(obj3));
10514 if (SWIG_arg_fail(4)) SWIG_fail;
10515 }
8edf1c75
RD
10516 }
10517 if (obj4) {
36ed4f51
RD
10518 {
10519 arg5 = (int)(SWIG_As_int(obj4));
10520 if (SWIG_arg_fail(5)) SWIG_fail;
10521 }
8edf1c75 10522 }
44127b65
RD
10523 {
10524 PyThreadState* __tstate = wxPyBeginAllowThreads();
10525 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
10526
10527 wxPyEndAllowThreads(__tstate);
10528 if (PyErr_Occurred()) SWIG_fail;
10529 }
10530 Py_INCREF(Py_None); resultobj = Py_None;
10531 return resultobj;
10532 fail:
10533 return NULL;
10534}
10535
10536
c370783e 10537static PyObject *_wrap_PyShape_base_OnDrawOutline(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
10538 PyObject *resultobj;
10539 wxPyShape *arg1 = (wxPyShape *) 0 ;
10540 wxDC *arg2 = 0 ;
10541 double arg3 ;
10542 double arg4 ;
10543 double arg5 ;
10544 double arg6 ;
10545 PyObject * obj0 = 0 ;
10546 PyObject * obj1 = 0 ;
8edf1c75
RD
10547 PyObject * obj2 = 0 ;
10548 PyObject * obj3 = 0 ;
10549 PyObject * obj4 = 0 ;
10550 PyObject * obj5 = 0 ;
44127b65
RD
10551 char *kwnames[] = {
10552 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10553 };
10554
8edf1c75 10555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
10556 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
10557 if (SWIG_arg_fail(1)) SWIG_fail;
10558 {
10559 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
10560 if (SWIG_arg_fail(2)) SWIG_fail;
10561 if (arg2 == NULL) {
10562 SWIG_null_ref("wxDC");
10563 }
10564 if (SWIG_arg_fail(2)) SWIG_fail;
10565 }
10566 {
10567 arg3 = (double)(SWIG_As_double(obj2));
10568 if (SWIG_arg_fail(3)) SWIG_fail;
10569 }
10570 {
10571 arg4 = (double)(SWIG_As_double(obj3));
10572 if (SWIG_arg_fail(4)) SWIG_fail;
10573 }
10574 {
10575 arg5 = (double)(SWIG_As_double(obj4));
10576 if (SWIG_arg_fail(5)) SWIG_fail;
10577 }
10578 {
10579 arg6 = (double)(SWIG_As_double(obj5));
10580 if (SWIG_arg_fail(6)) SWIG_fail;
10581 }
44127b65
RD
10582 {
10583 PyThreadState* __tstate = wxPyBeginAllowThreads();
10584 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
10585
10586 wxPyEndAllowThreads(__tstate);
10587 if (PyErr_Occurred()) SWIG_fail;
10588 }
10589 Py_INCREF(Py_None); resultobj = Py_None;
10590 return resultobj;
10591 fail:
10592 return NULL;
10593}
10594
10595
c370783e 10596static PyObject *_wrap_PyShape_base_OnDrawControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
10597 PyObject *resultobj;
10598 wxPyShape *arg1 = (wxPyShape *) 0 ;
10599 wxDC *arg2 = 0 ;
10600 PyObject * obj0 = 0 ;
10601 PyObject * obj1 = 0 ;
10602 char *kwnames[] = {
10603 (char *) "self",(char *) "dc", NULL
10604 };
10605
10606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10607 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
10608 if (SWIG_arg_fail(1)) SWIG_fail;
10609 {
10610 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
10611 if (SWIG_arg_fail(2)) SWIG_fail;
10612 if (arg2 == NULL) {
10613 SWIG_null_ref("wxDC");
10614 }
10615 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
10616 }
10617 {
10618 PyThreadState* __tstate = wxPyBeginAllowThreads();
10619 (arg1)->base_OnDrawControlPoints(*arg2);
10620
10621 wxPyEndAllowThreads(__tstate);
10622 if (PyErr_Occurred()) SWIG_fail;
10623 }
10624 Py_INCREF(Py_None); resultobj = Py_None;
10625 return resultobj;
10626 fail:
10627 return NULL;
10628}
10629
10630
c370783e 10631static PyObject *_wrap_PyShape_base_OnEraseControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
10632 PyObject *resultobj;
10633 wxPyShape *arg1 = (wxPyShape *) 0 ;
10634 wxDC *arg2 = 0 ;
10635 PyObject * obj0 = 0 ;
10636 PyObject * obj1 = 0 ;
10637 char *kwnames[] = {
10638 (char *) "self",(char *) "dc", NULL
10639 };
10640
10641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10642 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
10643 if (SWIG_arg_fail(1)) SWIG_fail;
10644 {
10645 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
10646 if (SWIG_arg_fail(2)) SWIG_fail;
10647 if (arg2 == NULL) {
10648 SWIG_null_ref("wxDC");
10649 }
10650 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
10651 }
10652 {
10653 PyThreadState* __tstate = wxPyBeginAllowThreads();
10654 (arg1)->base_OnEraseControlPoints(*arg2);
10655
10656 wxPyEndAllowThreads(__tstate);
10657 if (PyErr_Occurred()) SWIG_fail;
10658 }
10659 Py_INCREF(Py_None); resultobj = Py_None;
10660 return resultobj;
10661 fail:
10662 return NULL;
10663}
10664
10665
c370783e 10666static PyObject *_wrap_PyShape_base_OnMoveLink(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
10667 PyObject *resultobj;
10668 wxPyShape *arg1 = (wxPyShape *) 0 ;
10669 wxDC *arg2 = 0 ;
b411df4a 10670 bool arg3 = (bool) true ;
44127b65
RD
10671 PyObject * obj0 = 0 ;
10672 PyObject * obj1 = 0 ;
10673 PyObject * obj2 = 0 ;
10674 char *kwnames[] = {
10675 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
10676 };
10677
10678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
10679 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
10680 if (SWIG_arg_fail(1)) SWIG_fail;
10681 {
10682 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
10683 if (SWIG_arg_fail(2)) SWIG_fail;
10684 if (arg2 == NULL) {
10685 SWIG_null_ref("wxDC");
10686 }
10687 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
10688 }
10689 if (obj2) {
36ed4f51
RD
10690 {
10691 arg3 = (bool)(SWIG_As_bool(obj2));
10692 if (SWIG_arg_fail(3)) SWIG_fail;
10693 }
44127b65
RD
10694 }
10695 {
10696 PyThreadState* __tstate = wxPyBeginAllowThreads();
10697 (arg1)->base_OnMoveLink(*arg2,arg3);
10698
10699 wxPyEndAllowThreads(__tstate);
10700 if (PyErr_Occurred()) SWIG_fail;
10701 }
10702 Py_INCREF(Py_None); resultobj = Py_None;
10703 return resultobj;
10704 fail:
10705 return NULL;
10706}
10707
10708
c370783e 10709static PyObject *_wrap_PyShape_base_OnSizingDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
10710 PyObject *resultobj;
10711 wxPyShape *arg1 = (wxPyShape *) 0 ;
10712 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
10713 bool arg3 ;
10714 double arg4 ;
10715 double arg5 ;
10716 int arg6 = (int) 0 ;
10717 int arg7 = (int) 0 ;
10718 PyObject * obj0 = 0 ;
10719 PyObject * obj1 = 0 ;
10720 PyObject * obj2 = 0 ;
8edf1c75
RD
10721 PyObject * obj3 = 0 ;
10722 PyObject * obj4 = 0 ;
10723 PyObject * obj5 = 0 ;
10724 PyObject * obj6 = 0 ;
44127b65
RD
10725 char *kwnames[] = {
10726 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10727 };
10728
8edf1c75 10729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
10730 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
10731 if (SWIG_arg_fail(1)) SWIG_fail;
10732 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
10733 if (SWIG_arg_fail(2)) SWIG_fail;
10734 {
10735 arg3 = (bool)(SWIG_As_bool(obj2));
10736 if (SWIG_arg_fail(3)) SWIG_fail;
10737 }
10738 {
10739 arg4 = (double)(SWIG_As_double(obj3));
10740 if (SWIG_arg_fail(4)) SWIG_fail;
10741 }
10742 {
10743 arg5 = (double)(SWIG_As_double(obj4));
10744 if (SWIG_arg_fail(5)) SWIG_fail;
10745 }
8edf1c75 10746 if (obj5) {
36ed4f51
RD
10747 {
10748 arg6 = (int)(SWIG_As_int(obj5));
10749 if (SWIG_arg_fail(6)) SWIG_fail;
10750 }
8edf1c75
RD
10751 }
10752 if (obj6) {
36ed4f51
RD
10753 {
10754 arg7 = (int)(SWIG_As_int(obj6));
10755 if (SWIG_arg_fail(7)) SWIG_fail;
10756 }
8edf1c75 10757 }
44127b65
RD
10758 {
10759 PyThreadState* __tstate = wxPyBeginAllowThreads();
10760 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
10761
10762 wxPyEndAllowThreads(__tstate);
10763 if (PyErr_Occurred()) SWIG_fail;
10764 }
10765 Py_INCREF(Py_None); resultobj = Py_None;
10766 return resultobj;
10767 fail:
10768 return NULL;
10769}
10770
10771
c370783e 10772static PyObject *_wrap_PyShape_base_OnSizingBeginDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
10773 PyObject *resultobj;
10774 wxPyShape *arg1 = (wxPyShape *) 0 ;
10775 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
10776 double arg3 ;
10777 double arg4 ;
10778 int arg5 = (int) 0 ;
10779 int arg6 = (int) 0 ;
10780 PyObject * obj0 = 0 ;
10781 PyObject * obj1 = 0 ;
8edf1c75
RD
10782 PyObject * obj2 = 0 ;
10783 PyObject * obj3 = 0 ;
10784 PyObject * obj4 = 0 ;
10785 PyObject * obj5 = 0 ;
44127b65
RD
10786 char *kwnames[] = {
10787 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10788 };
10789
8edf1c75 10790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
10791 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
10792 if (SWIG_arg_fail(1)) SWIG_fail;
10793 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
10794 if (SWIG_arg_fail(2)) SWIG_fail;
10795 {
10796 arg3 = (double)(SWIG_As_double(obj2));
10797 if (SWIG_arg_fail(3)) SWIG_fail;
10798 }
10799 {
10800 arg4 = (double)(SWIG_As_double(obj3));
10801 if (SWIG_arg_fail(4)) SWIG_fail;
10802 }
2f4c0a16 10803 if (obj4) {
36ed4f51
RD
10804 {
10805 arg5 = (int)(SWIG_As_int(obj4));
10806 if (SWIG_arg_fail(5)) SWIG_fail;
10807 }
8edf1c75 10808 }
2f4c0a16 10809 if (obj5) {
36ed4f51
RD
10810 {
10811 arg6 = (int)(SWIG_As_int(obj5));
10812 if (SWIG_arg_fail(6)) SWIG_fail;
10813 }
8edf1c75 10814 }
44127b65
RD
10815 {
10816 PyThreadState* __tstate = wxPyBeginAllowThreads();
10817 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
10818
10819 wxPyEndAllowThreads(__tstate);
10820 if (PyErr_Occurred()) SWIG_fail;
10821 }
10822 Py_INCREF(Py_None); resultobj = Py_None;
10823 return resultobj;
10824 fail:
10825 return NULL;
10826}
10827
10828
c370783e 10829static PyObject *_wrap_PyShape_base_OnSizingEndDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
10830 PyObject *resultobj;
10831 wxPyShape *arg1 = (wxPyShape *) 0 ;
10832 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
10833 double arg3 ;
10834 double arg4 ;
10835 int arg5 = (int) 0 ;
10836 int arg6 = (int) 0 ;
10837 PyObject * obj0 = 0 ;
10838 PyObject * obj1 = 0 ;
8edf1c75
RD
10839 PyObject * obj2 = 0 ;
10840 PyObject * obj3 = 0 ;
10841 PyObject * obj4 = 0 ;
10842 PyObject * obj5 = 0 ;
44127b65
RD
10843 char *kwnames[] = {
10844 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
10845 };
10846
8edf1c75 10847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
10848 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
10849 if (SWIG_arg_fail(1)) SWIG_fail;
10850 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
10851 if (SWIG_arg_fail(2)) SWIG_fail;
10852 {
10853 arg3 = (double)(SWIG_As_double(obj2));
10854 if (SWIG_arg_fail(3)) SWIG_fail;
10855 }
10856 {
10857 arg4 = (double)(SWIG_As_double(obj3));
10858 if (SWIG_arg_fail(4)) SWIG_fail;
10859 }
8edf1c75 10860 if (obj4) {
36ed4f51
RD
10861 {
10862 arg5 = (int)(SWIG_As_int(obj4));
10863 if (SWIG_arg_fail(5)) SWIG_fail;
10864 }
8edf1c75
RD
10865 }
10866 if (obj5) {
36ed4f51
RD
10867 {
10868 arg6 = (int)(SWIG_As_int(obj5));
10869 if (SWIG_arg_fail(6)) SWIG_fail;
10870 }
8edf1c75 10871 }
44127b65
RD
10872 {
10873 PyThreadState* __tstate = wxPyBeginAllowThreads();
10874 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
10875
10876 wxPyEndAllowThreads(__tstate);
10877 if (PyErr_Occurred()) SWIG_fail;
10878 }
10879 Py_INCREF(Py_None); resultobj = Py_None;
10880 return resultobj;
10881 fail:
10882 return NULL;
10883}
10884
10885
c370783e 10886static PyObject *_wrap_PyShape_base_OnBeginSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
10887 PyObject *resultobj;
10888 wxPyShape *arg1 = (wxPyShape *) 0 ;
10889 double arg2 ;
10890 double arg3 ;
10891 PyObject * obj0 = 0 ;
8edf1c75
RD
10892 PyObject * obj1 = 0 ;
10893 PyObject * obj2 = 0 ;
44127b65
RD
10894 char *kwnames[] = {
10895 (char *) "self",(char *) "w",(char *) "h", NULL
10896 };
10897
8edf1c75 10898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
10899 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
10900 if (SWIG_arg_fail(1)) SWIG_fail;
10901 {
10902 arg2 = (double)(SWIG_As_double(obj1));
10903 if (SWIG_arg_fail(2)) SWIG_fail;
10904 }
10905 {
10906 arg3 = (double)(SWIG_As_double(obj2));
10907 if (SWIG_arg_fail(3)) SWIG_fail;
10908 }
44127b65
RD
10909 {
10910 PyThreadState* __tstate = wxPyBeginAllowThreads();
10911 (arg1)->base_OnBeginSize(arg2,arg3);
10912
10913 wxPyEndAllowThreads(__tstate);
10914 if (PyErr_Occurred()) SWIG_fail;
10915 }
10916 Py_INCREF(Py_None); resultobj = Py_None;
10917 return resultobj;
10918 fail:
10919 return NULL;
10920}
10921
10922
c370783e 10923static PyObject *_wrap_PyShape_base_OnEndSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
10924 PyObject *resultobj;
10925 wxPyShape *arg1 = (wxPyShape *) 0 ;
10926 double arg2 ;
10927 double arg3 ;
10928 PyObject * obj0 = 0 ;
8edf1c75
RD
10929 PyObject * obj1 = 0 ;
10930 PyObject * obj2 = 0 ;
44127b65
RD
10931 char *kwnames[] = {
10932 (char *) "self",(char *) "w",(char *) "h", NULL
10933 };
10934
8edf1c75 10935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
10936 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
10937 if (SWIG_arg_fail(1)) SWIG_fail;
10938 {
10939 arg2 = (double)(SWIG_As_double(obj1));
10940 if (SWIG_arg_fail(2)) SWIG_fail;
10941 }
10942 {
10943 arg3 = (double)(SWIG_As_double(obj2));
10944 if (SWIG_arg_fail(3)) SWIG_fail;
10945 }
44127b65
RD
10946 {
10947 PyThreadState* __tstate = wxPyBeginAllowThreads();
10948 (arg1)->base_OnEndSize(arg2,arg3);
10949
10950 wxPyEndAllowThreads(__tstate);
10951 if (PyErr_Occurred()) SWIG_fail;
10952 }
10953 Py_INCREF(Py_None); resultobj = Py_None;
10954 return resultobj;
10955 fail:
10956 return NULL;
10957}
10958
10959
c370783e 10960static PyObject * PyShape_swigregister(PyObject *, PyObject *args) {
44127b65
RD
10961 PyObject *obj;
10962 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10963 SWIG_TypeClientData(SWIGTYPE_p_wxPyShape, obj);
10964 Py_INCREF(obj);
10965 return Py_BuildValue((char *)"");
10966}
c370783e 10967static PyObject *_wrap_new_PseudoMetaFile(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
10968 PyObject *resultobj;
10969 wxPseudoMetaFile *result;
10970 char *kwnames[] = {
10971 NULL
10972 };
10973
10974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PseudoMetaFile",kwnames)) goto fail;
10975 {
10976 PyThreadState* __tstate = wxPyBeginAllowThreads();
10977 result = (wxPseudoMetaFile *)new wxPseudoMetaFile();
10978
10979 wxPyEndAllowThreads(__tstate);
10980 if (PyErr_Occurred()) SWIG_fail;
10981 }
10982 {
412d302d 10983 resultobj = wxPyMake_wxObject(result, 1);
44127b65
RD
10984 }
10985 return resultobj;
10986 fail:
10987 return NULL;
10988}
10989
10990
c370783e 10991static PyObject *_wrap_delete_PseudoMetaFile(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
10992 PyObject *resultobj;
10993 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
10994 PyObject * obj0 = 0 ;
10995 char *kwnames[] = {
10996 (char *) "self", NULL
10997 };
10998
10999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PseudoMetaFile",kwnames,&obj0)) goto fail;
36ed4f51
RD
11000 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPseudoMetaFile, SWIG_POINTER_EXCEPTION | 0);
11001 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
11002 {
11003 PyThreadState* __tstate = wxPyBeginAllowThreads();
11004 delete arg1;
11005
11006 wxPyEndAllowThreads(__tstate);
11007 if (PyErr_Occurred()) SWIG_fail;
11008 }
11009 Py_INCREF(Py_None); resultobj = Py_None;
11010 return resultobj;
11011 fail:
11012 return NULL;
11013}
11014
11015
c370783e 11016static PyObject *_wrap_PseudoMetaFile_Draw(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
11017 PyObject *resultobj;
11018 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
11019 wxDC *arg2 = 0 ;
11020 double arg3 ;
11021 double arg4 ;
11022 PyObject * obj0 = 0 ;
11023 PyObject * obj1 = 0 ;
8edf1c75
RD
11024 PyObject * obj2 = 0 ;
11025 PyObject * obj3 = 0 ;
44127b65
RD
11026 char *kwnames[] = {
11027 (char *) "self",(char *) "dc",(char *) "xoffset",(char *) "yoffset", NULL
11028 };
11029
8edf1c75 11030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PseudoMetaFile_Draw",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
11031 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPseudoMetaFile, SWIG_POINTER_EXCEPTION | 0);
11032 if (SWIG_arg_fail(1)) SWIG_fail;
11033 {
11034 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
11035 if (SWIG_arg_fail(2)) SWIG_fail;
11036 if (arg2 == NULL) {
11037 SWIG_null_ref("wxDC");
11038 }
11039 if (SWIG_arg_fail(2)) SWIG_fail;
11040 }
11041 {
11042 arg3 = (double)(SWIG_As_double(obj2));
11043 if (SWIG_arg_fail(3)) SWIG_fail;
11044 }
11045 {
11046 arg4 = (double)(SWIG_As_double(obj3));
11047 if (SWIG_arg_fail(4)) SWIG_fail;
8edf1c75 11048 }
44127b65
RD
11049 {
11050 PyThreadState* __tstate = wxPyBeginAllowThreads();
11051 (arg1)->Draw(*arg2,arg3,arg4);
11052
11053 wxPyEndAllowThreads(__tstate);
11054 if (PyErr_Occurred()) SWIG_fail;
11055 }
11056 Py_INCREF(Py_None); resultobj = Py_None;
11057 return resultobj;
11058 fail:
11059 return NULL;
11060}
11061
11062
c370783e 11063static PyObject *_wrap_PseudoMetaFile_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
11064 PyObject *resultobj;
11065 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
11066 PyObject * obj0 = 0 ;
11067 char *kwnames[] = {
11068 (char *) "self", NULL
11069 };
11070
11071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_Clear",kwnames,&obj0)) goto fail;
36ed4f51
RD
11072 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPseudoMetaFile, SWIG_POINTER_EXCEPTION | 0);
11073 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
11074 {
11075 PyThreadState* __tstate = wxPyBeginAllowThreads();
11076 (arg1)->Clear();
11077
11078 wxPyEndAllowThreads(__tstate);
11079 if (PyErr_Occurred()) SWIG_fail;
11080 }
11081 Py_INCREF(Py_None); resultobj = Py_None;
11082 return resultobj;
11083 fail:
11084 return NULL;
11085}
11086
11087
c370783e 11088static PyObject *_wrap_PseudoMetaFile_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
11089 PyObject *resultobj;
11090 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
11091 wxPseudoMetaFile *arg2 = 0 ;
11092 PyObject * obj0 = 0 ;
11093 PyObject * obj1 = 0 ;
11094 char *kwnames[] = {
11095 (char *) "self",(char *) "copy", NULL
11096 };
11097
11098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_Copy",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11099 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPseudoMetaFile, SWIG_POINTER_EXCEPTION | 0);
11100 if (SWIG_arg_fail(1)) SWIG_fail;
11101 {
11102 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPseudoMetaFile, SWIG_POINTER_EXCEPTION | 0);
11103 if (SWIG_arg_fail(2)) SWIG_fail;
11104 if (arg2 == NULL) {
11105 SWIG_null_ref("wxPseudoMetaFile");
11106 }
11107 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
11108 }
11109 {
11110 PyThreadState* __tstate = wxPyBeginAllowThreads();
11111 (arg1)->Copy(*arg2);
11112
11113 wxPyEndAllowThreads(__tstate);
11114 if (PyErr_Occurred()) SWIG_fail;
11115 }
11116 Py_INCREF(Py_None); resultobj = Py_None;
11117 return resultobj;
11118 fail:
11119 return NULL;
11120}
11121
11122
c370783e 11123static PyObject *_wrap_PseudoMetaFile_Scale(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
11124 PyObject *resultobj;
11125 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
11126 double arg2 ;
11127 double arg3 ;
11128 PyObject * obj0 = 0 ;
8edf1c75
RD
11129 PyObject * obj1 = 0 ;
11130 PyObject * obj2 = 0 ;
44127b65
RD
11131 char *kwnames[] = {
11132 (char *) "self",(char *) "sx",(char *) "sy", NULL
11133 };
11134
8edf1c75 11135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_Scale",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
11136 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPseudoMetaFile, SWIG_POINTER_EXCEPTION | 0);
11137 if (SWIG_arg_fail(1)) SWIG_fail;
11138 {
11139 arg2 = (double)(SWIG_As_double(obj1));
11140 if (SWIG_arg_fail(2)) SWIG_fail;
11141 }
11142 {
11143 arg3 = (double)(SWIG_As_double(obj2));
11144 if (SWIG_arg_fail(3)) SWIG_fail;
11145 }
44127b65
RD
11146 {
11147 PyThreadState* __tstate = wxPyBeginAllowThreads();
11148 (arg1)->Scale(arg2,arg3);
11149
11150 wxPyEndAllowThreads(__tstate);
11151 if (PyErr_Occurred()) SWIG_fail;
11152 }
11153 Py_INCREF(Py_None); resultobj = Py_None;
11154 return resultobj;
11155 fail:
11156 return NULL;
11157}
11158
11159
c370783e 11160static PyObject *_wrap_PseudoMetaFile_ScaleTo(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
11161 PyObject *resultobj;
11162 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
11163 double arg2 ;
11164 double arg3 ;
11165 PyObject * obj0 = 0 ;
8edf1c75
RD
11166 PyObject * obj1 = 0 ;
11167 PyObject * obj2 = 0 ;
44127b65
RD
11168 char *kwnames[] = {
11169 (char *) "self",(char *) "w",(char *) "h", NULL
11170 };
11171
8edf1c75 11172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_ScaleTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
11173 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPseudoMetaFile, SWIG_POINTER_EXCEPTION | 0);
11174 if (SWIG_arg_fail(1)) SWIG_fail;
11175 {
11176 arg2 = (double)(SWIG_As_double(obj1));
11177 if (SWIG_arg_fail(2)) SWIG_fail;
11178 }
11179 {
11180 arg3 = (double)(SWIG_As_double(obj2));
11181 if (SWIG_arg_fail(3)) SWIG_fail;
11182 }
44127b65
RD
11183 {
11184 PyThreadState* __tstate = wxPyBeginAllowThreads();
11185 (arg1)->ScaleTo(arg2,arg3);
11186
11187 wxPyEndAllowThreads(__tstate);
11188 if (PyErr_Occurred()) SWIG_fail;
11189 }
11190 Py_INCREF(Py_None); resultobj = Py_None;
11191 return resultobj;
11192 fail:
11193 return NULL;
11194}
11195
11196
c370783e 11197static PyObject *_wrap_PseudoMetaFile_Translate(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
11198 PyObject *resultobj;
11199 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
11200 double arg2 ;
11201 double arg3 ;
11202 PyObject * obj0 = 0 ;
8edf1c75
RD
11203 PyObject * obj1 = 0 ;
11204 PyObject * obj2 = 0 ;
44127b65
RD
11205 char *kwnames[] = {
11206 (char *) "self",(char *) "x",(char *) "y", NULL
11207 };
11208
8edf1c75 11209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_Translate",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
11210 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPseudoMetaFile, SWIG_POINTER_EXCEPTION | 0);
11211 if (SWIG_arg_fail(1)) SWIG_fail;
11212 {
11213 arg2 = (double)(SWIG_As_double(obj1));
11214 if (SWIG_arg_fail(2)) SWIG_fail;
11215 }
11216 {
11217 arg3 = (double)(SWIG_As_double(obj2));
11218 if (SWIG_arg_fail(3)) SWIG_fail;
11219 }
44127b65
RD
11220 {
11221 PyThreadState* __tstate = wxPyBeginAllowThreads();
11222 (arg1)->Translate(arg2,arg3);
11223
11224 wxPyEndAllowThreads(__tstate);
11225 if (PyErr_Occurred()) SWIG_fail;
11226 }
11227 Py_INCREF(Py_None); resultobj = Py_None;
11228 return resultobj;
11229 fail:
11230 return NULL;
11231}
11232
11233
c370783e 11234static PyObject *_wrap_PseudoMetaFile_Rotate(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
11235 PyObject *resultobj;
11236 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
11237 double arg2 ;
11238 double arg3 ;
11239 double arg4 ;
11240 PyObject * obj0 = 0 ;
8edf1c75
RD
11241 PyObject * obj1 = 0 ;
11242 PyObject * obj2 = 0 ;
11243 PyObject * obj3 = 0 ;
44127b65
RD
11244 char *kwnames[] = {
11245 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
11246 };
11247
8edf1c75 11248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PseudoMetaFile_Rotate",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
11249 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPseudoMetaFile, SWIG_POINTER_EXCEPTION | 0);
11250 if (SWIG_arg_fail(1)) SWIG_fail;
11251 {
11252 arg2 = (double)(SWIG_As_double(obj1));
11253 if (SWIG_arg_fail(2)) SWIG_fail;
11254 }
11255 {
11256 arg3 = (double)(SWIG_As_double(obj2));
11257 if (SWIG_arg_fail(3)) SWIG_fail;
11258 }
11259 {
11260 arg4 = (double)(SWIG_As_double(obj3));
11261 if (SWIG_arg_fail(4)) SWIG_fail;
11262 }
44127b65
RD
11263 {
11264 PyThreadState* __tstate = wxPyBeginAllowThreads();
11265 (arg1)->Rotate(arg2,arg3,arg4);
11266
11267 wxPyEndAllowThreads(__tstate);
11268 if (PyErr_Occurred()) SWIG_fail;
11269 }
11270 Py_INCREF(Py_None); resultobj = Py_None;
11271 return resultobj;
11272 fail:
11273 return NULL;
11274}
11275
11276
c370783e 11277static PyObject *_wrap_PseudoMetaFile_LoadFromMetaFile(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
11278 PyObject *resultobj;
11279 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
11280 wxString *arg2 = 0 ;
11281 double *arg3 = (double *) 0 ;
11282 double *arg4 = (double *) 0 ;
11283 bool result;
b411df4a 11284 bool temp2 = false ;
44127b65
RD
11285 PyObject * obj0 = 0 ;
11286 PyObject * obj1 = 0 ;
11287 PyObject * obj2 = 0 ;
11288 PyObject * obj3 = 0 ;
11289 char *kwnames[] = {
11290 (char *) "self",(char *) "filename",(char *) "width",(char *) "height", NULL
11291 };
11292
11293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PseudoMetaFile_LoadFromMetaFile",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
11294 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPseudoMetaFile, SWIG_POINTER_EXCEPTION | 0);
11295 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
11296 {
11297 arg2 = wxString_in_helper(obj1);
11298 if (arg2 == NULL) SWIG_fail;
b411df4a 11299 temp2 = true;
44127b65 11300 }
36ed4f51
RD
11301 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_double, SWIG_POINTER_EXCEPTION | 0);
11302 if (SWIG_arg_fail(3)) SWIG_fail;
11303 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_double, SWIG_POINTER_EXCEPTION | 0);
11304 if (SWIG_arg_fail(4)) SWIG_fail;
44127b65
RD
11305 {
11306 PyThreadState* __tstate = wxPyBeginAllowThreads();
11307 result = (bool)(arg1)->LoadFromMetaFile((wxString const &)*arg2,arg3,arg4);
11308
11309 wxPyEndAllowThreads(__tstate);
11310 if (PyErr_Occurred()) SWIG_fail;
11311 }
fbc46b20
RD
11312 {
11313 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11314 }
44127b65
RD
11315 {
11316 if (temp2)
11317 delete arg2;
11318 }
11319 return resultobj;
11320 fail:
11321 {
11322 if (temp2)
11323 delete arg2;
11324 }
11325 return NULL;
11326}
11327
11328
c370783e 11329static PyObject *_wrap_PseudoMetaFile_GetBounds(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
11330 PyObject *resultobj;
11331 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
11332 double *arg2 = (double *) 0 ;
11333 double *arg3 = (double *) 0 ;
11334 double *arg4 = (double *) 0 ;
11335 double *arg5 = (double *) 0 ;
11336 PyObject * obj0 = 0 ;
11337 PyObject * obj1 = 0 ;
11338 PyObject * obj2 = 0 ;
11339 PyObject * obj3 = 0 ;
11340 PyObject * obj4 = 0 ;
11341 char *kwnames[] = {
11342 (char *) "self",(char *) "minX",(char *) "minY",(char *) "maxX",(char *) "maxY", NULL
11343 };
11344
11345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PseudoMetaFile_GetBounds",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
11346 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPseudoMetaFile, SWIG_POINTER_EXCEPTION | 0);
11347 if (SWIG_arg_fail(1)) SWIG_fail;
11348 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_double, SWIG_POINTER_EXCEPTION | 0);
11349 if (SWIG_arg_fail(2)) SWIG_fail;
11350 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_double, SWIG_POINTER_EXCEPTION | 0);
11351 if (SWIG_arg_fail(3)) SWIG_fail;
11352 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_double, SWIG_POINTER_EXCEPTION | 0);
11353 if (SWIG_arg_fail(4)) SWIG_fail;
11354 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_double, SWIG_POINTER_EXCEPTION | 0);
11355 if (SWIG_arg_fail(5)) SWIG_fail;
44127b65
RD
11356 {
11357 PyThreadState* __tstate = wxPyBeginAllowThreads();
11358 (arg1)->GetBounds(arg2,arg3,arg4,arg5);
11359
11360 wxPyEndAllowThreads(__tstate);
11361 if (PyErr_Occurred()) SWIG_fail;
11362 }
11363 Py_INCREF(Py_None); resultobj = Py_None;
11364 return resultobj;
11365 fail:
11366 return NULL;
11367}
11368
11369
c370783e 11370static PyObject *_wrap_PseudoMetaFile_CalculateSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
11371 PyObject *resultobj;
11372 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
11373 wxPyDrawnShape *arg2 = (wxPyDrawnShape *) 0 ;
11374 PyObject * obj0 = 0 ;
11375 PyObject * obj1 = 0 ;
11376 char *kwnames[] = {
11377 (char *) "self",(char *) "shape", NULL
11378 };
11379
11380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_CalculateSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11381 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPseudoMetaFile, SWIG_POINTER_EXCEPTION | 0);
11382 if (SWIG_arg_fail(1)) SWIG_fail;
11383 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyDrawnShape, SWIG_POINTER_EXCEPTION | 0);
11384 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
11385 {
11386 PyThreadState* __tstate = wxPyBeginAllowThreads();
11387 (arg1)->CalculateSize(arg2);
11388
11389 wxPyEndAllowThreads(__tstate);
11390 if (PyErr_Occurred()) SWIG_fail;
11391 }
11392 Py_INCREF(Py_None); resultobj = Py_None;
11393 return resultobj;
11394 fail:
11395 return NULL;
11396}
11397
11398
c370783e 11399static PyObject *_wrap_PseudoMetaFile_SetRotateable(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
11400 PyObject *resultobj;
11401 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
11402 bool arg2 ;
11403 PyObject * obj0 = 0 ;
11404 PyObject * obj1 = 0 ;
11405 char *kwnames[] = {
11406 (char *) "self",(char *) "rot", NULL
11407 };
11408
11409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetRotateable",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11410 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPseudoMetaFile, SWIG_POINTER_EXCEPTION | 0);
11411 if (SWIG_arg_fail(1)) SWIG_fail;
11412 {
11413 arg2 = (bool)(SWIG_As_bool(obj1));
11414 if (SWIG_arg_fail(2)) SWIG_fail;
11415 }
44127b65
RD
11416 {
11417 PyThreadState* __tstate = wxPyBeginAllowThreads();
11418 (arg1)->SetRotateable(arg2);
11419
11420 wxPyEndAllowThreads(__tstate);
11421 if (PyErr_Occurred()) SWIG_fail;
11422 }
11423 Py_INCREF(Py_None); resultobj = Py_None;
11424 return resultobj;
11425 fail:
11426 return NULL;
11427}
11428
11429
c370783e 11430static PyObject *_wrap_PseudoMetaFile_GetRotateable(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
11431 PyObject *resultobj;
11432 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
11433 bool result;
11434 PyObject * obj0 = 0 ;
11435 char *kwnames[] = {
11436 (char *) "self", NULL
11437 };
11438
11439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_GetRotateable",kwnames,&obj0)) goto fail;
36ed4f51
RD
11440 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPseudoMetaFile, SWIG_POINTER_EXCEPTION | 0);
11441 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
11442 {
11443 PyThreadState* __tstate = wxPyBeginAllowThreads();
11444 result = (bool)(arg1)->GetRotateable();
11445
11446 wxPyEndAllowThreads(__tstate);
11447 if (PyErr_Occurred()) SWIG_fail;
11448 }
fbc46b20
RD
11449 {
11450 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11451 }
44127b65
RD
11452 return resultobj;
11453 fail:
11454 return NULL;
11455}
11456
11457
c370783e 11458static PyObject *_wrap_PseudoMetaFile_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
11459 PyObject *resultobj;
11460 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
11461 double arg2 ;
11462 double arg3 ;
11463 PyObject * obj0 = 0 ;
8edf1c75
RD
11464 PyObject * obj1 = 0 ;
11465 PyObject * obj2 = 0 ;
44127b65
RD
11466 char *kwnames[] = {
11467 (char *) "self",(char *) "w",(char *) "h", NULL
11468 };
11469
8edf1c75 11470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_SetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
11471 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPseudoMetaFile, SWIG_POINTER_EXCEPTION | 0);
11472 if (SWIG_arg_fail(1)) SWIG_fail;
11473 {
11474 arg2 = (double)(SWIG_As_double(obj1));
11475 if (SWIG_arg_fail(2)) SWIG_fail;
11476 }
11477 {
11478 arg3 = (double)(SWIG_As_double(obj2));
11479 if (SWIG_arg_fail(3)) SWIG_fail;
11480 }
44127b65
RD
11481 {
11482 PyThreadState* __tstate = wxPyBeginAllowThreads();
11483 (arg1)->SetSize(arg2,arg3);
11484
11485 wxPyEndAllowThreads(__tstate);
11486 if (PyErr_Occurred()) SWIG_fail;
11487 }
11488 Py_INCREF(Py_None); resultobj = Py_None;
11489 return resultobj;
11490 fail:
11491 return NULL;
11492}
11493
11494
c370783e 11495static PyObject *_wrap_PseudoMetaFile_SetFillBrush(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
11496 PyObject *resultobj;
11497 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
11498 wxBrush *arg2 = (wxBrush *) 0 ;
11499 PyObject * obj0 = 0 ;
11500 PyObject * obj1 = 0 ;
11501 char *kwnames[] = {
11502 (char *) "self",(char *) "brush", NULL
11503 };
11504
11505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetFillBrush",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPseudoMetaFile, SWIG_POINTER_EXCEPTION | 0);
11507 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
11508 {
11509 wxBrush* temp;
11510 if (obj1) {
11511 if (obj1 == Py_None) {
11512 temp = NULL;
11513 }
11514 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxBrush"))) {
11515 PyErr_SetString(PyExc_TypeError, "Type error, expected wxBrush.");
11516 return NULL;
11517 }
11518 }
11519 if (temp)
11520 arg2 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
11521 else
11522 arg2 = NULL;
11523 }
11524 {
11525 PyThreadState* __tstate = wxPyBeginAllowThreads();
11526 (arg1)->SetFillBrush(arg2);
11527
11528 wxPyEndAllowThreads(__tstate);
11529 if (PyErr_Occurred()) SWIG_fail;
11530 }
11531 Py_INCREF(Py_None); resultobj = Py_None;
11532 return resultobj;
11533 fail:
11534 return NULL;
11535}
11536
11537
c370783e 11538static PyObject *_wrap_PseudoMetaFile_GetFillBrush(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
11539 PyObject *resultobj;
11540 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
11541 wxBrush *result;
11542 PyObject * obj0 = 0 ;
11543 char *kwnames[] = {
11544 (char *) "self", NULL
11545 };
11546
11547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_GetFillBrush",kwnames,&obj0)) goto fail;
36ed4f51
RD
11548 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPseudoMetaFile, SWIG_POINTER_EXCEPTION | 0);
11549 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
11550 {
11551 PyThreadState* __tstate = wxPyBeginAllowThreads();
11552 result = (wxBrush *)(arg1)->GetFillBrush();
11553
11554 wxPyEndAllowThreads(__tstate);
11555 if (PyErr_Occurred()) SWIG_fail;
11556 }
2f4c0a16 11557 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBrush, 0);
44127b65
RD
11558 return resultobj;
11559 fail:
11560 return NULL;
11561}
11562
11563
c370783e 11564static PyObject *_wrap_PseudoMetaFile_SetOutlinePen(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
11565 PyObject *resultobj;
11566 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
11567 wxPen *arg2 = (wxPen *) 0 ;
11568 PyObject * obj0 = 0 ;
11569 PyObject * obj1 = 0 ;
11570 char *kwnames[] = {
11571 (char *) "self",(char *) "pen", NULL
11572 };
11573
11574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetOutlinePen",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11575 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPseudoMetaFile, SWIG_POINTER_EXCEPTION | 0);
11576 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
11577 {
11578 wxPen* temp;
11579 if (obj1) {
11580 if (obj1 == Py_None) {
11581 temp = NULL;
11582 }
11583 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
11584 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
11585 return NULL;
11586 }
11587 }
11588 if (temp)
11589 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
11590 temp->GetWidth(),
11591 temp->GetStyle());
11592 else
11593 arg2 = NULL;
11594 }
11595 {
11596 PyThreadState* __tstate = wxPyBeginAllowThreads();
11597 (arg1)->SetOutlinePen(arg2);
11598
11599 wxPyEndAllowThreads(__tstate);
11600 if (PyErr_Occurred()) SWIG_fail;
11601 }
11602 Py_INCREF(Py_None); resultobj = Py_None;
11603 return resultobj;
11604 fail:
11605 return NULL;
11606}
11607
11608
c370783e 11609static PyObject *_wrap_PseudoMetaFile_GetOutlinePen(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
11610 PyObject *resultobj;
11611 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
11612 wxPen *result;
11613 PyObject * obj0 = 0 ;
11614 char *kwnames[] = {
11615 (char *) "self", NULL
11616 };
11617
11618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_GetOutlinePen",kwnames,&obj0)) goto fail;
36ed4f51
RD
11619 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPseudoMetaFile, SWIG_POINTER_EXCEPTION | 0);
11620 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
11621 {
11622 PyThreadState* __tstate = wxPyBeginAllowThreads();
11623 result = (wxPen *)(arg1)->GetOutlinePen();
11624
11625 wxPyEndAllowThreads(__tstate);
11626 if (PyErr_Occurred()) SWIG_fail;
11627 }
2f4c0a16 11628 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPen, 0);
44127b65
RD
11629 return resultobj;
11630 fail:
11631 return NULL;
11632}
11633
11634
c370783e 11635static PyObject *_wrap_PseudoMetaFile_SetOutlineOp(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
11636 PyObject *resultobj;
11637 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
11638 int arg2 ;
11639 PyObject * obj0 = 0 ;
8edf1c75 11640 PyObject * obj1 = 0 ;
44127b65
RD
11641 char *kwnames[] = {
11642 (char *) "self",(char *) "op", NULL
11643 };
11644
8edf1c75 11645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetOutlineOp",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11646 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPseudoMetaFile, SWIG_POINTER_EXCEPTION | 0);
11647 if (SWIG_arg_fail(1)) SWIG_fail;
11648 {
11649 arg2 = (int)(SWIG_As_int(obj1));
11650 if (SWIG_arg_fail(2)) SWIG_fail;
11651 }
44127b65
RD
11652 {
11653 PyThreadState* __tstate = wxPyBeginAllowThreads();
11654 (arg1)->SetOutlineOp(arg2);
11655
11656 wxPyEndAllowThreads(__tstate);
11657 if (PyErr_Occurred()) SWIG_fail;
11658 }
11659 Py_INCREF(Py_None); resultobj = Py_None;
11660 return resultobj;
11661 fail:
11662 return NULL;
11663}
11664
11665
c370783e 11666static PyObject *_wrap_PseudoMetaFile_GetOutlineOp(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
11667 PyObject *resultobj;
11668 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
11669 int result;
11670 PyObject * obj0 = 0 ;
11671 char *kwnames[] = {
11672 (char *) "self", NULL
11673 };
11674
11675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_GetOutlineOp",kwnames,&obj0)) goto fail;
36ed4f51
RD
11676 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPseudoMetaFile, SWIG_POINTER_EXCEPTION | 0);
11677 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
11678 {
11679 PyThreadState* __tstate = wxPyBeginAllowThreads();
11680 result = (int)(arg1)->GetOutlineOp();
11681
11682 wxPyEndAllowThreads(__tstate);
11683 if (PyErr_Occurred()) SWIG_fail;
11684 }
36ed4f51
RD
11685 {
11686 resultobj = SWIG_From_int((int)(result));
11687 }
44127b65
RD
11688 return resultobj;
11689 fail:
11690 return NULL;
11691}
11692
11693
c370783e 11694static PyObject *_wrap_PseudoMetaFile_IsValid(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
11695 PyObject *resultobj;
11696 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
11697 bool result;
11698 PyObject * obj0 = 0 ;
11699 char *kwnames[] = {
11700 (char *) "self", NULL
11701 };
11702
11703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_IsValid",kwnames,&obj0)) goto fail;
36ed4f51
RD
11704 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPseudoMetaFile, SWIG_POINTER_EXCEPTION | 0);
11705 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
11706 {
11707 PyThreadState* __tstate = wxPyBeginAllowThreads();
11708 result = (bool)(arg1)->IsValid();
11709
11710 wxPyEndAllowThreads(__tstate);
11711 if (PyErr_Occurred()) SWIG_fail;
11712 }
fbc46b20
RD
11713 {
11714 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11715 }
44127b65
RD
11716 return resultobj;
11717 fail:
11718 return NULL;
11719}
11720
11721
c370783e 11722static PyObject *_wrap_PseudoMetaFile_DrawLine(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
11723 PyObject *resultobj;
11724 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
11725 wxPoint *arg2 = 0 ;
11726 wxPoint *arg3 = 0 ;
11727 wxPoint temp2 ;
11728 wxPoint temp3 ;
11729 PyObject * obj0 = 0 ;
11730 PyObject * obj1 = 0 ;
11731 PyObject * obj2 = 0 ;
11732 char *kwnames[] = {
11733 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
11734 };
11735
11736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_DrawLine",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
11737 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPseudoMetaFile, SWIG_POINTER_EXCEPTION | 0);
11738 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
11739 {
11740 arg2 = &temp2;
11741 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11742 }
11743 {
11744 arg3 = &temp3;
11745 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11746 }
11747 {
11748 PyThreadState* __tstate = wxPyBeginAllowThreads();
11749 (arg1)->DrawLine((wxPoint const &)*arg2,(wxPoint const &)*arg3);
11750
11751 wxPyEndAllowThreads(__tstate);
11752 if (PyErr_Occurred()) SWIG_fail;
11753 }
11754 Py_INCREF(Py_None); resultobj = Py_None;
11755 return resultobj;
11756 fail:
11757 return NULL;
11758}
11759
11760
c370783e 11761static PyObject *_wrap_PseudoMetaFile_DrawRectangle(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
11762 PyObject *resultobj;
11763 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
11764 wxRect *arg2 = 0 ;
11765 wxRect temp2 ;
11766 PyObject * obj0 = 0 ;
11767 PyObject * obj1 = 0 ;
11768 char *kwnames[] = {
11769 (char *) "self",(char *) "rect", NULL
11770 };
11771
11772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_DrawRectangle",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11773 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPseudoMetaFile, SWIG_POINTER_EXCEPTION | 0);
11774 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
11775 {
11776 arg2 = &temp2;
11777 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11778 }
11779 {
11780 PyThreadState* __tstate = wxPyBeginAllowThreads();
11781 (arg1)->DrawRectangle((wxRect const &)*arg2);
11782
11783 wxPyEndAllowThreads(__tstate);
11784 if (PyErr_Occurred()) SWIG_fail;
11785 }
11786 Py_INCREF(Py_None); resultobj = Py_None;
11787 return resultobj;
11788 fail:
11789 return NULL;
11790}
11791
11792
c370783e 11793static PyObject *_wrap_PseudoMetaFile_DrawRoundedRectangle(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
11794 PyObject *resultobj;
11795 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
11796 wxRect *arg2 = 0 ;
11797 double arg3 ;
11798 wxRect temp2 ;
11799 PyObject * obj0 = 0 ;
11800 PyObject * obj1 = 0 ;
8edf1c75 11801 PyObject * obj2 = 0 ;
44127b65
RD
11802 char *kwnames[] = {
11803 (char *) "self",(char *) "rect",(char *) "radius", NULL
11804 };
11805
8edf1c75 11806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_DrawRoundedRectangle",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
11807 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPseudoMetaFile, SWIG_POINTER_EXCEPTION | 0);
11808 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
11809 {
11810 arg2 = &temp2;
11811 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11812 }
36ed4f51
RD
11813 {
11814 arg3 = (double)(SWIG_As_double(obj2));
11815 if (SWIG_arg_fail(3)) SWIG_fail;
11816 }
44127b65
RD
11817 {
11818 PyThreadState* __tstate = wxPyBeginAllowThreads();
11819 (arg1)->DrawRoundedRectangle((wxRect const &)*arg2,arg3);
11820
11821 wxPyEndAllowThreads(__tstate);
11822 if (PyErr_Occurred()) SWIG_fail;
11823 }
11824 Py_INCREF(Py_None); resultobj = Py_None;
11825 return resultobj;
11826 fail:
11827 return NULL;
11828}
11829
11830
c370783e 11831static PyObject *_wrap_PseudoMetaFile_DrawArc(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
11832 PyObject *resultobj;
11833 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
11834 wxPoint *arg2 = 0 ;
11835 wxPoint *arg3 = 0 ;
11836 wxPoint *arg4 = 0 ;
11837 wxPoint temp2 ;
11838 wxPoint temp3 ;
11839 wxPoint temp4 ;
11840 PyObject * obj0 = 0 ;
11841 PyObject * obj1 = 0 ;
11842 PyObject * obj2 = 0 ;
11843 PyObject * obj3 = 0 ;
11844 char *kwnames[] = {
11845 (char *) "self",(char *) "centrePt",(char *) "startPt",(char *) "endPt", NULL
11846 };
11847
11848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PseudoMetaFile_DrawArc",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
11849 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPseudoMetaFile, SWIG_POINTER_EXCEPTION | 0);
11850 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
11851 {
11852 arg2 = &temp2;
11853 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11854 }
11855 {
11856 arg3 = &temp3;
11857 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11858 }
11859 {
11860 arg4 = &temp4;
11861 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11862 }
11863 {
11864 PyThreadState* __tstate = wxPyBeginAllowThreads();
11865 (arg1)->DrawArc((wxPoint const &)*arg2,(wxPoint const &)*arg3,(wxPoint const &)*arg4);
11866
11867 wxPyEndAllowThreads(__tstate);
11868 if (PyErr_Occurred()) SWIG_fail;
11869 }
11870 Py_INCREF(Py_None); resultobj = Py_None;
11871 return resultobj;
11872 fail:
11873 return NULL;
11874}
11875
11876
c370783e 11877static PyObject *_wrap_PseudoMetaFile_DrawEllipticArc(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
11878 PyObject *resultobj;
11879 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
11880 wxRect *arg2 = 0 ;
11881 double arg3 ;
11882 double arg4 ;
11883 wxRect temp2 ;
11884 PyObject * obj0 = 0 ;
11885 PyObject * obj1 = 0 ;
8edf1c75
RD
11886 PyObject * obj2 = 0 ;
11887 PyObject * obj3 = 0 ;
44127b65
RD
11888 char *kwnames[] = {
11889 (char *) "self",(char *) "rect",(char *) "startAngle",(char *) "endAngle", NULL
11890 };
11891
8edf1c75 11892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PseudoMetaFile_DrawEllipticArc",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
11893 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPseudoMetaFile, SWIG_POINTER_EXCEPTION | 0);
11894 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
11895 {
11896 arg2 = &temp2;
11897 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11898 }
36ed4f51
RD
11899 {
11900 arg3 = (double)(SWIG_As_double(obj2));
11901 if (SWIG_arg_fail(3)) SWIG_fail;
11902 }
11903 {
11904 arg4 = (double)(SWIG_As_double(obj3));
11905 if (SWIG_arg_fail(4)) SWIG_fail;
11906 }
44127b65
RD
11907 {
11908 PyThreadState* __tstate = wxPyBeginAllowThreads();
11909 (arg1)->DrawEllipticArc((wxRect const &)*arg2,arg3,arg4);
11910
11911 wxPyEndAllowThreads(__tstate);
11912 if (PyErr_Occurred()) SWIG_fail;
11913 }
11914 Py_INCREF(Py_None); resultobj = Py_None;
11915 return resultobj;
11916 fail:
11917 return NULL;
11918}
11919
11920
c370783e 11921static PyObject *_wrap_PseudoMetaFile_DrawEllipse(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
11922 PyObject *resultobj;
11923 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
11924 wxRect *arg2 = 0 ;
11925 wxRect temp2 ;
11926 PyObject * obj0 = 0 ;
11927 PyObject * obj1 = 0 ;
11928 char *kwnames[] = {
11929 (char *) "self",(char *) "rect", NULL
11930 };
11931
11932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_DrawEllipse",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11933 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPseudoMetaFile, SWIG_POINTER_EXCEPTION | 0);
11934 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
11935 {
11936 arg2 = &temp2;
11937 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11938 }
11939 {
11940 PyThreadState* __tstate = wxPyBeginAllowThreads();
11941 (arg1)->DrawEllipse((wxRect const &)*arg2);
11942
11943 wxPyEndAllowThreads(__tstate);
11944 if (PyErr_Occurred()) SWIG_fail;
11945 }
11946 Py_INCREF(Py_None); resultobj = Py_None;
11947 return resultobj;
11948 fail:
11949 return NULL;
11950}
11951
11952
c370783e 11953static PyObject *_wrap_PseudoMetaFile_DrawPoint(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
11954 PyObject *resultobj;
11955 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
11956 wxPoint *arg2 = 0 ;
11957 wxPoint temp2 ;
11958 PyObject * obj0 = 0 ;
11959 PyObject * obj1 = 0 ;
11960 char *kwnames[] = {
11961 (char *) "self",(char *) "pt", NULL
11962 };
11963
11964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_DrawPoint",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11965 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPseudoMetaFile, SWIG_POINTER_EXCEPTION | 0);
11966 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
11967 {
11968 arg2 = &temp2;
11969 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11970 }
11971 {
11972 PyThreadState* __tstate = wxPyBeginAllowThreads();
11973 (arg1)->DrawPoint((wxPoint const &)*arg2);
11974
11975 wxPyEndAllowThreads(__tstate);
11976 if (PyErr_Occurred()) SWIG_fail;
11977 }
11978 Py_INCREF(Py_None); resultobj = Py_None;
11979 return resultobj;
11980 fail:
11981 return NULL;
11982}
11983
11984
c370783e 11985static PyObject *_wrap_PseudoMetaFile_DrawText(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
11986 PyObject *resultobj;
11987 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
11988 wxString *arg2 = 0 ;
11989 wxPoint *arg3 = 0 ;
b411df4a 11990 bool temp2 = false ;
44127b65
RD
11991 wxPoint temp3 ;
11992 PyObject * obj0 = 0 ;
11993 PyObject * obj1 = 0 ;
11994 PyObject * obj2 = 0 ;
11995 char *kwnames[] = {
11996 (char *) "self",(char *) "text",(char *) "pt", NULL
11997 };
11998
11999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PseudoMetaFile_DrawText",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
12000 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPseudoMetaFile, SWIG_POINTER_EXCEPTION | 0);
12001 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
12002 {
12003 arg2 = wxString_in_helper(obj1);
12004 if (arg2 == NULL) SWIG_fail;
b411df4a 12005 temp2 = true;
44127b65
RD
12006 }
12007 {
12008 arg3 = &temp3;
12009 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12010 }
12011 {
12012 PyThreadState* __tstate = wxPyBeginAllowThreads();
12013 (arg1)->DrawText((wxString const &)*arg2,(wxPoint const &)*arg3);
12014
12015 wxPyEndAllowThreads(__tstate);
12016 if (PyErr_Occurred()) SWIG_fail;
12017 }
12018 Py_INCREF(Py_None); resultobj = Py_None;
12019 {
12020 if (temp2)
12021 delete arg2;
12022 }
12023 return resultobj;
12024 fail:
12025 {
12026 if (temp2)
12027 delete arg2;
12028 }
12029 return NULL;
12030}
12031
12032
c370783e 12033static PyObject *_wrap_PseudoMetaFile_DrawLines(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
12034 PyObject *resultobj;
12035 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
12036 int arg2 ;
12037 wxPoint *arg3 = (wxPoint *) 0 ;
12038 PyObject * obj0 = 0 ;
8edf1c75 12039 PyObject * obj1 = 0 ;
44127b65 12040 char *kwnames[] = {
a5ee0656 12041 (char *) "self",(char *) "points", NULL
44127b65
RD
12042 };
12043
a5ee0656 12044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_DrawLines",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12045 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPseudoMetaFile, SWIG_POINTER_EXCEPTION | 0);
12046 if (SWIG_arg_fail(1)) SWIG_fail;
a5ee0656
RD
12047 {
12048 arg3 = wxPoint_LIST_helper(obj1, &arg2);
12049 if (arg3 == NULL) SWIG_fail;
12050 }
44127b65
RD
12051 {
12052 PyThreadState* __tstate = wxPyBeginAllowThreads();
12053 (arg1)->DrawLines(arg2,arg3);
12054
12055 wxPyEndAllowThreads(__tstate);
12056 if (PyErr_Occurred()) SWIG_fail;
12057 }
12058 Py_INCREF(Py_None); resultobj = Py_None;
a5ee0656
RD
12059 {
12060 if (arg3) delete [] arg3;
12061 }
44127b65
RD
12062 return resultobj;
12063 fail:
a5ee0656
RD
12064 {
12065 if (arg3) delete [] arg3;
12066 }
44127b65
RD
12067 return NULL;
12068}
12069
12070
c370783e 12071static PyObject *_wrap_PseudoMetaFile_DrawPolygon(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
12072 PyObject *resultobj;
12073 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
12074 int arg2 ;
12075 wxPoint *arg3 = (wxPoint *) 0 ;
12076 int arg4 = (int) 0 ;
12077 PyObject * obj0 = 0 ;
8edf1c75 12078 PyObject * obj1 = 0 ;
44127b65
RD
12079 PyObject * obj2 = 0 ;
12080 char *kwnames[] = {
a5ee0656 12081 (char *) "self",(char *) "points",(char *) "flags", NULL
44127b65
RD
12082 };
12083
a5ee0656 12084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PseudoMetaFile_DrawPolygon",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
12085 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPseudoMetaFile, SWIG_POINTER_EXCEPTION | 0);
12086 if (SWIG_arg_fail(1)) SWIG_fail;
a5ee0656
RD
12087 {
12088 arg3 = wxPoint_LIST_helper(obj1, &arg2);
12089 if (arg3 == NULL) SWIG_fail;
12090 }
12091 if (obj2) {
36ed4f51
RD
12092 {
12093 arg4 = (int)(SWIG_As_int(obj2));
12094 if (SWIG_arg_fail(4)) SWIG_fail;
12095 }
8edf1c75 12096 }
44127b65
RD
12097 {
12098 PyThreadState* __tstate = wxPyBeginAllowThreads();
12099 (arg1)->DrawPolygon(arg2,arg3,arg4);
12100
12101 wxPyEndAllowThreads(__tstate);
12102 if (PyErr_Occurred()) SWIG_fail;
12103 }
12104 Py_INCREF(Py_None); resultobj = Py_None;
a5ee0656
RD
12105 {
12106 if (arg3) delete [] arg3;
12107 }
44127b65
RD
12108 return resultobj;
12109 fail:
a5ee0656
RD
12110 {
12111 if (arg3) delete [] arg3;
12112 }
44127b65
RD
12113 return NULL;
12114}
12115
12116
c370783e 12117static PyObject *_wrap_PseudoMetaFile_DrawSpline(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
12118 PyObject *resultobj;
12119 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
12120 int arg2 ;
12121 wxPoint *arg3 = (wxPoint *) 0 ;
12122 PyObject * obj0 = 0 ;
8edf1c75 12123 PyObject * obj1 = 0 ;
44127b65 12124 char *kwnames[] = {
a5ee0656 12125 (char *) "self",(char *) "points", NULL
44127b65
RD
12126 };
12127
a5ee0656 12128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_DrawSpline",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPseudoMetaFile, SWIG_POINTER_EXCEPTION | 0);
12130 if (SWIG_arg_fail(1)) SWIG_fail;
a5ee0656
RD
12131 {
12132 arg3 = wxPoint_LIST_helper(obj1, &arg2);
12133 if (arg3 == NULL) SWIG_fail;
12134 }
44127b65
RD
12135 {
12136 PyThreadState* __tstate = wxPyBeginAllowThreads();
12137 (arg1)->DrawSpline(arg2,arg3);
12138
12139 wxPyEndAllowThreads(__tstate);
12140 if (PyErr_Occurred()) SWIG_fail;
12141 }
12142 Py_INCREF(Py_None); resultobj = Py_None;
a5ee0656
RD
12143 {
12144 if (arg3) delete [] arg3;
12145 }
44127b65
RD
12146 return resultobj;
12147 fail:
a5ee0656
RD
12148 {
12149 if (arg3) delete [] arg3;
12150 }
44127b65
RD
12151 return NULL;
12152}
12153
12154
c370783e 12155static PyObject *_wrap_PseudoMetaFile_SetClippingRect(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
12156 PyObject *resultobj;
12157 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
12158 wxRect *arg2 = 0 ;
12159 wxRect temp2 ;
12160 PyObject * obj0 = 0 ;
12161 PyObject * obj1 = 0 ;
12162 char *kwnames[] = {
12163 (char *) "self",(char *) "rect", NULL
12164 };
12165
12166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetClippingRect",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12167 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPseudoMetaFile, SWIG_POINTER_EXCEPTION | 0);
12168 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
12169 {
12170 arg2 = &temp2;
12171 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12172 }
12173 {
12174 PyThreadState* __tstate = wxPyBeginAllowThreads();
12175 (arg1)->SetClippingRect((wxRect const &)*arg2);
12176
12177 wxPyEndAllowThreads(__tstate);
12178 if (PyErr_Occurred()) SWIG_fail;
12179 }
12180 Py_INCREF(Py_None); resultobj = Py_None;
12181 return resultobj;
12182 fail:
12183 return NULL;
12184}
12185
12186
c370783e 12187static PyObject *_wrap_PseudoMetaFile_DestroyClippingRect(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
12188 PyObject *resultobj;
12189 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
12190 PyObject * obj0 = 0 ;
12191 char *kwnames[] = {
12192 (char *) "self", NULL
12193 };
12194
12195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PseudoMetaFile_DestroyClippingRect",kwnames,&obj0)) goto fail;
36ed4f51
RD
12196 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPseudoMetaFile, SWIG_POINTER_EXCEPTION | 0);
12197 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
12198 {
12199 PyThreadState* __tstate = wxPyBeginAllowThreads();
12200 (arg1)->DestroyClippingRect();
12201
12202 wxPyEndAllowThreads(__tstate);
12203 if (PyErr_Occurred()) SWIG_fail;
12204 }
12205 Py_INCREF(Py_None); resultobj = Py_None;
12206 return resultobj;
12207 fail:
12208 return NULL;
12209}
12210
12211
c370783e 12212static PyObject *_wrap_PseudoMetaFile_SetPen(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
12213 PyObject *resultobj;
12214 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
12215 wxPen *arg2 = (wxPen *) 0 ;
12216 bool arg3 = (bool) FALSE ;
12217 PyObject * obj0 = 0 ;
12218 PyObject * obj1 = 0 ;
12219 PyObject * obj2 = 0 ;
12220 char *kwnames[] = {
12221 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
12222 };
12223
12224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PseudoMetaFile_SetPen",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
12225 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPseudoMetaFile, SWIG_POINTER_EXCEPTION | 0);
12226 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
12227 {
12228 wxPen* temp;
12229 if (obj1) {
12230 if (obj1 == Py_None) {
12231 temp = NULL;
12232 }
12233 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
12234 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
12235 return NULL;
12236 }
12237 }
12238 if (temp)
12239 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
12240 temp->GetWidth(),
12241 temp->GetStyle());
12242 else
12243 arg2 = NULL;
12244 }
12245 if (obj2) {
36ed4f51
RD
12246 {
12247 arg3 = (bool)(SWIG_As_bool(obj2));
12248 if (SWIG_arg_fail(3)) SWIG_fail;
12249 }
44127b65
RD
12250 }
12251 {
12252 PyThreadState* __tstate = wxPyBeginAllowThreads();
12253 (arg1)->SetPen(arg2,arg3);
12254
12255 wxPyEndAllowThreads(__tstate);
12256 if (PyErr_Occurred()) SWIG_fail;
12257 }
12258 Py_INCREF(Py_None); resultobj = Py_None;
12259 return resultobj;
12260 fail:
12261 return NULL;
12262}
12263
12264
c370783e 12265static PyObject *_wrap_PseudoMetaFile_SetBrush(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
12266 PyObject *resultobj;
12267 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
12268 wxBrush *arg2 = (wxBrush *) 0 ;
12269 bool arg3 = (bool) FALSE ;
12270 PyObject * obj0 = 0 ;
12271 PyObject * obj1 = 0 ;
12272 PyObject * obj2 = 0 ;
12273 char *kwnames[] = {
12274 (char *) "self",(char *) "brush",(char *) "isFill", NULL
12275 };
12276
12277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PseudoMetaFile_SetBrush",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
12278 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPseudoMetaFile, SWIG_POINTER_EXCEPTION | 0);
12279 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
12280 {
12281 wxBrush* temp;
12282 if (obj1) {
12283 if (obj1 == Py_None) {
12284 temp = NULL;
12285 }
12286 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxBrush"))) {
12287 PyErr_SetString(PyExc_TypeError, "Type error, expected wxBrush.");
12288 return NULL;
12289 }
12290 }
12291 if (temp)
12292 arg2 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
12293 else
12294 arg2 = NULL;
12295 }
12296 if (obj2) {
36ed4f51
RD
12297 {
12298 arg3 = (bool)(SWIG_As_bool(obj2));
12299 if (SWIG_arg_fail(3)) SWIG_fail;
12300 }
44127b65
RD
12301 }
12302 {
12303 PyThreadState* __tstate = wxPyBeginAllowThreads();
12304 (arg1)->SetBrush(arg2,arg3);
12305
12306 wxPyEndAllowThreads(__tstate);
12307 if (PyErr_Occurred()) SWIG_fail;
12308 }
12309 Py_INCREF(Py_None); resultobj = Py_None;
12310 return resultobj;
12311 fail:
12312 return NULL;
12313}
12314
12315
c370783e 12316static PyObject *_wrap_PseudoMetaFile_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
12317 PyObject *resultobj;
12318 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
12319 wxFont *arg2 = (wxFont *) 0 ;
12320 PyObject * obj0 = 0 ;
12321 PyObject * obj1 = 0 ;
12322 char *kwnames[] = {
12323 (char *) "self",(char *) "font", NULL
12324 };
12325
12326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetFont",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12327 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPseudoMetaFile, SWIG_POINTER_EXCEPTION | 0);
12328 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
12329 {
12330 wxFont* temp;
12331 if (obj1) {
12332 if (obj1 == Py_None) {
12333 temp = NULL;
12334 }
12335 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxFont"))) {
12336 PyErr_SetString(PyExc_TypeError, "Type error, expected wxFont.");
12337 return NULL;
12338 }
12339 }
12340 if (temp)
12341 arg2 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
12342 temp->GetFamily(),
12343 temp->GetStyle(),
12344 temp->GetWeight(),
12345 temp->GetUnderlined(),
12346 temp->GetFaceName(),
12347 temp->GetEncoding());
12348 else
12349 arg2 = NULL;
12350 }
12351 {
12352 PyThreadState* __tstate = wxPyBeginAllowThreads();
12353 (arg1)->SetFont(arg2);
12354
12355 wxPyEndAllowThreads(__tstate);
12356 if (PyErr_Occurred()) SWIG_fail;
12357 }
12358 Py_INCREF(Py_None); resultobj = Py_None;
12359 return resultobj;
12360 fail:
12361 return NULL;
12362}
12363
12364
c370783e 12365static PyObject *_wrap_PseudoMetaFile_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
12366 PyObject *resultobj;
12367 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
12368 wxColour *arg2 = 0 ;
12369 wxColour temp2 ;
12370 PyObject * obj0 = 0 ;
12371 PyObject * obj1 = 0 ;
12372 char *kwnames[] = {
12373 (char *) "self",(char *) "colour", NULL
12374 };
12375
12376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12377 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPseudoMetaFile, SWIG_POINTER_EXCEPTION | 0);
12378 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
12379 {
12380 arg2 = &temp2;
12381 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12382 }
12383 {
12384 PyThreadState* __tstate = wxPyBeginAllowThreads();
12385 (arg1)->SetTextColour((wxColour const &)*arg2);
12386
12387 wxPyEndAllowThreads(__tstate);
12388 if (PyErr_Occurred()) SWIG_fail;
12389 }
12390 Py_INCREF(Py_None); resultobj = Py_None;
12391 return resultobj;
12392 fail:
12393 return NULL;
12394}
12395
12396
c370783e 12397static PyObject *_wrap_PseudoMetaFile_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
12398 PyObject *resultobj;
12399 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
12400 wxColour *arg2 = 0 ;
12401 wxColour temp2 ;
12402 PyObject * obj0 = 0 ;
12403 PyObject * obj1 = 0 ;
12404 char *kwnames[] = {
12405 (char *) "self",(char *) "colour", NULL
12406 };
12407
12408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12409 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPseudoMetaFile, SWIG_POINTER_EXCEPTION | 0);
12410 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
12411 {
12412 arg2 = &temp2;
12413 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12414 }
12415 {
12416 PyThreadState* __tstate = wxPyBeginAllowThreads();
12417 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
12418
12419 wxPyEndAllowThreads(__tstate);
12420 if (PyErr_Occurred()) SWIG_fail;
12421 }
12422 Py_INCREF(Py_None); resultobj = Py_None;
12423 return resultobj;
12424 fail:
12425 return NULL;
12426}
12427
12428
c370783e 12429static PyObject *_wrap_PseudoMetaFile_SetBackgroundMode(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
12430 PyObject *resultobj;
12431 wxPseudoMetaFile *arg1 = (wxPseudoMetaFile *) 0 ;
12432 int arg2 ;
12433 PyObject * obj0 = 0 ;
8edf1c75 12434 PyObject * obj1 = 0 ;
44127b65
RD
12435 char *kwnames[] = {
12436 (char *) "self",(char *) "mode", NULL
12437 };
12438
8edf1c75 12439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PseudoMetaFile_SetBackgroundMode",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12440 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPseudoMetaFile, SWIG_POINTER_EXCEPTION | 0);
12441 if (SWIG_arg_fail(1)) SWIG_fail;
12442 {
12443 arg2 = (int)(SWIG_As_int(obj1));
12444 if (SWIG_arg_fail(2)) SWIG_fail;
12445 }
44127b65
RD
12446 {
12447 PyThreadState* __tstate = wxPyBeginAllowThreads();
12448 (arg1)->SetBackgroundMode(arg2);
12449
12450 wxPyEndAllowThreads(__tstate);
12451 if (PyErr_Occurred()) SWIG_fail;
12452 }
12453 Py_INCREF(Py_None); resultobj = Py_None;
12454 return resultobj;
12455 fail:
12456 return NULL;
12457}
12458
12459
c370783e 12460static PyObject * PseudoMetaFile_swigregister(PyObject *, PyObject *args) {
44127b65
RD
12461 PyObject *obj;
12462 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12463 SWIG_TypeClientData(SWIGTYPE_p_wxPseudoMetaFile, obj);
12464 Py_INCREF(obj);
12465 return Py_BuildValue((char *)"");
12466}
c370783e 12467static PyObject *_wrap_new_PyRectangleShape(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
12468 PyObject *resultobj;
12469 double arg1 = (double) 0.0 ;
12470 double arg2 = (double) 0.0 ;
12471 wxPyRectangleShape *result;
8edf1c75
RD
12472 PyObject * obj0 = 0 ;
12473 PyObject * obj1 = 0 ;
44127b65
RD
12474 char *kwnames[] = {
12475 (char *) "width",(char *) "height", NULL
12476 };
12477
8edf1c75
RD
12478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyRectangleShape",kwnames,&obj0,&obj1)) goto fail;
12479 if (obj0) {
36ed4f51
RD
12480 {
12481 arg1 = (double)(SWIG_As_double(obj0));
12482 if (SWIG_arg_fail(1)) SWIG_fail;
12483 }
8edf1c75
RD
12484 }
12485 if (obj1) {
36ed4f51
RD
12486 {
12487 arg2 = (double)(SWIG_As_double(obj1));
12488 if (SWIG_arg_fail(2)) SWIG_fail;
12489 }
8edf1c75 12490 }
44127b65
RD
12491 {
12492 PyThreadState* __tstate = wxPyBeginAllowThreads();
12493 result = (wxPyRectangleShape *)new wxPyRectangleShape(arg1,arg2);
12494
12495 wxPyEndAllowThreads(__tstate);
12496 if (PyErr_Occurred()) SWIG_fail;
12497 }
2f4c0a16 12498 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyRectangleShape, 1);
44127b65
RD
12499 return resultobj;
12500 fail:
12501 return NULL;
12502}
12503
12504
c370783e 12505static PyObject *_wrap_PyRectangleShape__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
12506 PyObject *resultobj;
12507 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
12508 PyObject *arg2 = (PyObject *) 0 ;
12509 PyObject *arg3 = (PyObject *) 0 ;
12510 PyObject * obj0 = 0 ;
12511 PyObject * obj1 = 0 ;
12512 PyObject * obj2 = 0 ;
12513 char *kwnames[] = {
12514 (char *) "self",(char *) "self",(char *) "_class", NULL
12515 };
12516
12517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyRectangleShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
12518 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyRectangleShape, SWIG_POINTER_EXCEPTION | 0);
12519 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
12520 arg2 = obj1;
12521 arg3 = obj2;
12522 {
12523 PyThreadState* __tstate = wxPyBeginAllowThreads();
12524 (arg1)->_setCallbackInfo(arg2,arg3);
12525
12526 wxPyEndAllowThreads(__tstate);
12527 if (PyErr_Occurred()) SWIG_fail;
12528 }
12529 Py_INCREF(Py_None); resultobj = Py_None;
12530 return resultobj;
12531 fail:
12532 return NULL;
12533}
12534
12535
c370783e 12536static PyObject *_wrap_PyRectangleShape_SetCornerRadius(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
12537 PyObject *resultobj;
12538 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
12539 double arg2 ;
12540 PyObject * obj0 = 0 ;
8edf1c75 12541 PyObject * obj1 = 0 ;
44127b65
RD
12542 char *kwnames[] = {
12543 (char *) "self",(char *) "radius", NULL
12544 };
12545
8edf1c75 12546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_SetCornerRadius",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12547 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyRectangleShape, SWIG_POINTER_EXCEPTION | 0);
12548 if (SWIG_arg_fail(1)) SWIG_fail;
12549 {
12550 arg2 = (double)(SWIG_As_double(obj1));
12551 if (SWIG_arg_fail(2)) SWIG_fail;
12552 }
44127b65
RD
12553 {
12554 PyThreadState* __tstate = wxPyBeginAllowThreads();
12555 (arg1)->SetCornerRadius(arg2);
12556
12557 wxPyEndAllowThreads(__tstate);
12558 if (PyErr_Occurred()) SWIG_fail;
12559 }
12560 Py_INCREF(Py_None); resultobj = Py_None;
12561 return resultobj;
12562 fail:
12563 return NULL;
12564}
12565
12566
c370783e 12567static PyObject *_wrap_PyRectangleShape_GetCornerRadius(PyObject *, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
12568 PyObject *resultobj;
12569 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
12570 double result;
12571 PyObject * obj0 = 0 ;
12572 char *kwnames[] = {
12573 (char *) "self", NULL
12574 };
12575
12576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyRectangleShape_GetCornerRadius",kwnames,&obj0)) goto fail;
36ed4f51
RD
12577 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyRectangleShape, SWIG_POINTER_EXCEPTION | 0);
12578 if (SWIG_arg_fail(1)) SWIG_fail;
7a0a63ae
RD
12579 {
12580 PyThreadState* __tstate = wxPyBeginAllowThreads();
12581 result = (double)(arg1)->GetCornerRadius();
12582
12583 wxPyEndAllowThreads(__tstate);
12584 if (PyErr_Occurred()) SWIG_fail;
12585 }
36ed4f51
RD
12586 {
12587 resultobj = SWIG_From_double((double)(result));
12588 }
7a0a63ae
RD
12589 return resultobj;
12590 fail:
12591 return NULL;
12592}
12593
12594
c370783e 12595static PyObject *_wrap_PyRectangleShape_base_OnDelete(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
12596 PyObject *resultobj;
12597 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
12598 PyObject * obj0 = 0 ;
12599 char *kwnames[] = {
12600 (char *) "self", NULL
12601 };
12602
12603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyRectangleShape_base_OnDelete",kwnames,&obj0)) goto fail;
36ed4f51
RD
12604 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyRectangleShape, SWIG_POINTER_EXCEPTION | 0);
12605 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
12606 {
12607 PyThreadState* __tstate = wxPyBeginAllowThreads();
12608 (arg1)->base_OnDelete();
12609
12610 wxPyEndAllowThreads(__tstate);
12611 if (PyErr_Occurred()) SWIG_fail;
12612 }
12613 Py_INCREF(Py_None); resultobj = Py_None;
12614 return resultobj;
12615 fail:
12616 return NULL;
12617}
12618
12619
c370783e 12620static PyObject *_wrap_PyRectangleShape_base_OnDraw(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
12621 PyObject *resultobj;
12622 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
12623 wxDC *arg2 = 0 ;
12624 PyObject * obj0 = 0 ;
12625 PyObject * obj1 = 0 ;
12626 char *kwnames[] = {
12627 (char *) "self",(char *) "dc", NULL
12628 };
12629
12630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyRectangleShape, SWIG_POINTER_EXCEPTION | 0);
12632 if (SWIG_arg_fail(1)) SWIG_fail;
12633 {
12634 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
12635 if (SWIG_arg_fail(2)) SWIG_fail;
12636 if (arg2 == NULL) {
12637 SWIG_null_ref("wxDC");
12638 }
12639 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
12640 }
12641 {
12642 PyThreadState* __tstate = wxPyBeginAllowThreads();
12643 (arg1)->base_OnDraw(*arg2);
12644
12645 wxPyEndAllowThreads(__tstate);
12646 if (PyErr_Occurred()) SWIG_fail;
12647 }
12648 Py_INCREF(Py_None); resultobj = Py_None;
12649 return resultobj;
12650 fail:
12651 return NULL;
12652}
12653
12654
c370783e 12655static PyObject *_wrap_PyRectangleShape_base_OnDrawContents(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
12656 PyObject *resultobj;
12657 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
12658 wxDC *arg2 = 0 ;
12659 PyObject * obj0 = 0 ;
12660 PyObject * obj1 = 0 ;
12661 char *kwnames[] = {
12662 (char *) "self",(char *) "dc", NULL
12663 };
12664
12665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12666 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyRectangleShape, SWIG_POINTER_EXCEPTION | 0);
12667 if (SWIG_arg_fail(1)) SWIG_fail;
12668 {
12669 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
12670 if (SWIG_arg_fail(2)) SWIG_fail;
12671 if (arg2 == NULL) {
12672 SWIG_null_ref("wxDC");
12673 }
12674 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
12675 }
12676 {
12677 PyThreadState* __tstate = wxPyBeginAllowThreads();
12678 (arg1)->base_OnDrawContents(*arg2);
12679
12680 wxPyEndAllowThreads(__tstate);
12681 if (PyErr_Occurred()) SWIG_fail;
12682 }
12683 Py_INCREF(Py_None); resultobj = Py_None;
12684 return resultobj;
12685 fail:
12686 return NULL;
12687}
12688
12689
c370783e 12690static PyObject *_wrap_PyRectangleShape_base_OnDrawBranches(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
12691 PyObject *resultobj;
12692 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
12693 wxDC *arg2 = 0 ;
12694 bool arg3 = (bool) FALSE ;
12695 PyObject * obj0 = 0 ;
12696 PyObject * obj1 = 0 ;
12697 PyObject * obj2 = 0 ;
12698 char *kwnames[] = {
12699 (char *) "self",(char *) "dc",(char *) "erase", NULL
12700 };
12701
12702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyRectangleShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
12703 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyRectangleShape, SWIG_POINTER_EXCEPTION | 0);
12704 if (SWIG_arg_fail(1)) SWIG_fail;
12705 {
12706 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
12707 if (SWIG_arg_fail(2)) SWIG_fail;
12708 if (arg2 == NULL) {
12709 SWIG_null_ref("wxDC");
12710 }
12711 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
12712 }
12713 if (obj2) {
36ed4f51
RD
12714 {
12715 arg3 = (bool)(SWIG_As_bool(obj2));
12716 if (SWIG_arg_fail(3)) SWIG_fail;
12717 }
44127b65
RD
12718 }
12719 {
12720 PyThreadState* __tstate = wxPyBeginAllowThreads();
12721 (arg1)->base_OnDrawBranches(*arg2,arg3);
12722
12723 wxPyEndAllowThreads(__tstate);
12724 if (PyErr_Occurred()) SWIG_fail;
12725 }
12726 Py_INCREF(Py_None); resultobj = Py_None;
12727 return resultobj;
12728 fail:
12729 return NULL;
12730}
12731
12732
c370783e 12733static PyObject *_wrap_PyRectangleShape_base_OnMoveLinks(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
12734 PyObject *resultobj;
12735 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
12736 wxDC *arg2 = 0 ;
12737 PyObject * obj0 = 0 ;
12738 PyObject * obj1 = 0 ;
12739 char *kwnames[] = {
12740 (char *) "self",(char *) "dc", NULL
12741 };
12742
12743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12744 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyRectangleShape, SWIG_POINTER_EXCEPTION | 0);
12745 if (SWIG_arg_fail(1)) SWIG_fail;
12746 {
12747 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
12748 if (SWIG_arg_fail(2)) SWIG_fail;
12749 if (arg2 == NULL) {
12750 SWIG_null_ref("wxDC");
12751 }
12752 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
12753 }
12754 {
12755 PyThreadState* __tstate = wxPyBeginAllowThreads();
12756 (arg1)->base_OnMoveLinks(*arg2);
12757
12758 wxPyEndAllowThreads(__tstate);
12759 if (PyErr_Occurred()) SWIG_fail;
12760 }
12761 Py_INCREF(Py_None); resultobj = Py_None;
12762 return resultobj;
12763 fail:
12764 return NULL;
12765}
12766
12767
c370783e 12768static PyObject *_wrap_PyRectangleShape_base_OnErase(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
12769 PyObject *resultobj;
12770 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
12771 wxDC *arg2 = 0 ;
12772 PyObject * obj0 = 0 ;
12773 PyObject * obj1 = 0 ;
12774 char *kwnames[] = {
12775 (char *) "self",(char *) "dc", NULL
12776 };
12777
12778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12779 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyRectangleShape, SWIG_POINTER_EXCEPTION | 0);
12780 if (SWIG_arg_fail(1)) SWIG_fail;
12781 {
12782 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
12783 if (SWIG_arg_fail(2)) SWIG_fail;
12784 if (arg2 == NULL) {
12785 SWIG_null_ref("wxDC");
12786 }
12787 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
12788 }
12789 {
12790 PyThreadState* __tstate = wxPyBeginAllowThreads();
12791 (arg1)->base_OnErase(*arg2);
12792
12793 wxPyEndAllowThreads(__tstate);
12794 if (PyErr_Occurred()) SWIG_fail;
12795 }
12796 Py_INCREF(Py_None); resultobj = Py_None;
12797 return resultobj;
12798 fail:
12799 return NULL;
12800}
12801
12802
c370783e 12803static PyObject *_wrap_PyRectangleShape_base_OnEraseContents(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
12804 PyObject *resultobj;
12805 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
12806 wxDC *arg2 = 0 ;
12807 PyObject * obj0 = 0 ;
12808 PyObject * obj1 = 0 ;
12809 char *kwnames[] = {
12810 (char *) "self",(char *) "dc", NULL
12811 };
12812
12813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12814 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyRectangleShape, SWIG_POINTER_EXCEPTION | 0);
12815 if (SWIG_arg_fail(1)) SWIG_fail;
12816 {
12817 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
12818 if (SWIG_arg_fail(2)) SWIG_fail;
12819 if (arg2 == NULL) {
12820 SWIG_null_ref("wxDC");
12821 }
12822 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
12823 }
12824 {
12825 PyThreadState* __tstate = wxPyBeginAllowThreads();
12826 (arg1)->base_OnEraseContents(*arg2);
12827
12828 wxPyEndAllowThreads(__tstate);
12829 if (PyErr_Occurred()) SWIG_fail;
12830 }
12831 Py_INCREF(Py_None); resultobj = Py_None;
12832 return resultobj;
12833 fail:
12834 return NULL;
12835}
12836
12837
c370783e 12838static PyObject *_wrap_PyRectangleShape_base_OnHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
12839 PyObject *resultobj;
12840 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
12841 wxDC *arg2 = 0 ;
12842 PyObject * obj0 = 0 ;
12843 PyObject * obj1 = 0 ;
12844 char *kwnames[] = {
12845 (char *) "self",(char *) "dc", NULL
12846 };
12847
12848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12849 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyRectangleShape, SWIG_POINTER_EXCEPTION | 0);
12850 if (SWIG_arg_fail(1)) SWIG_fail;
12851 {
12852 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
12853 if (SWIG_arg_fail(2)) SWIG_fail;
12854 if (arg2 == NULL) {
12855 SWIG_null_ref("wxDC");
12856 }
12857 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
12858 }
12859 {
12860 PyThreadState* __tstate = wxPyBeginAllowThreads();
12861 (arg1)->base_OnHighlight(*arg2);
12862
12863 wxPyEndAllowThreads(__tstate);
12864 if (PyErr_Occurred()) SWIG_fail;
12865 }
12866 Py_INCREF(Py_None); resultobj = Py_None;
12867 return resultobj;
12868 fail:
12869 return NULL;
12870}
12871
12872
c370783e 12873static PyObject *_wrap_PyRectangleShape_base_OnLeftClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
12874 PyObject *resultobj;
12875 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
12876 double arg2 ;
12877 double arg3 ;
12878 int arg4 = (int) 0 ;
12879 int arg5 = (int) 0 ;
12880 PyObject * obj0 = 0 ;
8edf1c75
RD
12881 PyObject * obj1 = 0 ;
12882 PyObject * obj2 = 0 ;
12883 PyObject * obj3 = 0 ;
12884 PyObject * obj4 = 0 ;
44127b65
RD
12885 char *kwnames[] = {
12886 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12887 };
12888
8edf1c75 12889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
12890 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyRectangleShape, SWIG_POINTER_EXCEPTION | 0);
12891 if (SWIG_arg_fail(1)) SWIG_fail;
12892 {
12893 arg2 = (double)(SWIG_As_double(obj1));
12894 if (SWIG_arg_fail(2)) SWIG_fail;
12895 }
12896 {
12897 arg3 = (double)(SWIG_As_double(obj2));
12898 if (SWIG_arg_fail(3)) SWIG_fail;
12899 }
8edf1c75 12900 if (obj3) {
36ed4f51
RD
12901 {
12902 arg4 = (int)(SWIG_As_int(obj3));
12903 if (SWIG_arg_fail(4)) SWIG_fail;
12904 }
8edf1c75
RD
12905 }
12906 if (obj4) {
36ed4f51
RD
12907 {
12908 arg5 = (int)(SWIG_As_int(obj4));
12909 if (SWIG_arg_fail(5)) SWIG_fail;
12910 }
8edf1c75 12911 }
44127b65
RD
12912 {
12913 PyThreadState* __tstate = wxPyBeginAllowThreads();
12914 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
12915
12916 wxPyEndAllowThreads(__tstate);
12917 if (PyErr_Occurred()) SWIG_fail;
12918 }
12919 Py_INCREF(Py_None); resultobj = Py_None;
12920 return resultobj;
12921 fail:
12922 return NULL;
12923}
12924
12925
c370783e 12926static PyObject *_wrap_PyRectangleShape_base_OnLeftDoubleClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
12927 PyObject *resultobj;
12928 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
12929 double arg2 ;
12930 double arg3 ;
12931 int arg4 = (int) 0 ;
12932 int arg5 = (int) 0 ;
12933 PyObject * obj0 = 0 ;
8edf1c75
RD
12934 PyObject * obj1 = 0 ;
12935 PyObject * obj2 = 0 ;
12936 PyObject * obj3 = 0 ;
12937 PyObject * obj4 = 0 ;
44127b65
RD
12938 char *kwnames[] = {
12939 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12940 };
12941
8edf1c75 12942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
12943 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyRectangleShape, SWIG_POINTER_EXCEPTION | 0);
12944 if (SWIG_arg_fail(1)) SWIG_fail;
12945 {
12946 arg2 = (double)(SWIG_As_double(obj1));
12947 if (SWIG_arg_fail(2)) SWIG_fail;
12948 }
12949 {
12950 arg3 = (double)(SWIG_As_double(obj2));
12951 if (SWIG_arg_fail(3)) SWIG_fail;
12952 }
8edf1c75 12953 if (obj3) {
36ed4f51
RD
12954 {
12955 arg4 = (int)(SWIG_As_int(obj3));
12956 if (SWIG_arg_fail(4)) SWIG_fail;
12957 }
8edf1c75
RD
12958 }
12959 if (obj4) {
36ed4f51
RD
12960 {
12961 arg5 = (int)(SWIG_As_int(obj4));
12962 if (SWIG_arg_fail(5)) SWIG_fail;
12963 }
8edf1c75 12964 }
44127b65
RD
12965 {
12966 PyThreadState* __tstate = wxPyBeginAllowThreads();
12967 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
12968
12969 wxPyEndAllowThreads(__tstate);
12970 if (PyErr_Occurred()) SWIG_fail;
12971 }
12972 Py_INCREF(Py_None); resultobj = Py_None;
12973 return resultobj;
12974 fail:
12975 return NULL;
12976}
12977
12978
c370783e 12979static PyObject *_wrap_PyRectangleShape_base_OnRightClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
12980 PyObject *resultobj;
12981 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
12982 double arg2 ;
12983 double arg3 ;
12984 int arg4 = (int) 0 ;
12985 int arg5 = (int) 0 ;
12986 PyObject * obj0 = 0 ;
8edf1c75
RD
12987 PyObject * obj1 = 0 ;
12988 PyObject * obj2 = 0 ;
12989 PyObject * obj3 = 0 ;
12990 PyObject * obj4 = 0 ;
44127b65
RD
12991 char *kwnames[] = {
12992 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
12993 };
12994
8edf1c75 12995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
12996 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyRectangleShape, SWIG_POINTER_EXCEPTION | 0);
12997 if (SWIG_arg_fail(1)) SWIG_fail;
12998 {
12999 arg2 = (double)(SWIG_As_double(obj1));
13000 if (SWIG_arg_fail(2)) SWIG_fail;
13001 }
13002 {
13003 arg3 = (double)(SWIG_As_double(obj2));
13004 if (SWIG_arg_fail(3)) SWIG_fail;
13005 }
8edf1c75 13006 if (obj3) {
36ed4f51
RD
13007 {
13008 arg4 = (int)(SWIG_As_int(obj3));
13009 if (SWIG_arg_fail(4)) SWIG_fail;
13010 }
8edf1c75
RD
13011 }
13012 if (obj4) {
36ed4f51
RD
13013 {
13014 arg5 = (int)(SWIG_As_int(obj4));
13015 if (SWIG_arg_fail(5)) SWIG_fail;
13016 }
8edf1c75
RD
13017 }
13018 {
13019 PyThreadState* __tstate = wxPyBeginAllowThreads();
13020 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
13021
13022 wxPyEndAllowThreads(__tstate);
13023 if (PyErr_Occurred()) SWIG_fail;
13024 }
13025 Py_INCREF(Py_None); resultobj = Py_None;
13026 return resultobj;
13027 fail:
13028 return NULL;
13029}
13030
13031
c370783e 13032static PyObject *_wrap_PyRectangleShape_base_OnSize(PyObject *, PyObject *args, PyObject *kwargs) {
8edf1c75
RD
13033 PyObject *resultobj;
13034 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
44127b65
RD
13035 double arg2 ;
13036 double arg3 ;
13037 PyObject * obj0 = 0 ;
8edf1c75
RD
13038 PyObject * obj1 = 0 ;
13039 PyObject * obj2 = 0 ;
44127b65
RD
13040 char *kwnames[] = {
13041 (char *) "self",(char *) "x",(char *) "y", NULL
13042 };
13043
8edf1c75 13044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyRectangleShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
13045 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyRectangleShape, SWIG_POINTER_EXCEPTION | 0);
13046 if (SWIG_arg_fail(1)) SWIG_fail;
13047 {
13048 arg2 = (double)(SWIG_As_double(obj1));
13049 if (SWIG_arg_fail(2)) SWIG_fail;
13050 }
13051 {
13052 arg3 = (double)(SWIG_As_double(obj2));
13053 if (SWIG_arg_fail(3)) SWIG_fail;
13054 }
44127b65
RD
13055 {
13056 PyThreadState* __tstate = wxPyBeginAllowThreads();
13057 (arg1)->base_OnSize(arg2,arg3);
13058
13059 wxPyEndAllowThreads(__tstate);
13060 if (PyErr_Occurred()) SWIG_fail;
13061 }
13062 Py_INCREF(Py_None); resultobj = Py_None;
13063 return resultobj;
13064 fail:
13065 return NULL;
13066}
13067
13068
c370783e 13069static PyObject *_wrap_PyRectangleShape_base_OnMovePre(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
13070 PyObject *resultobj;
13071 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
13072 wxDC *arg2 = 0 ;
13073 double arg3 ;
13074 double arg4 ;
13075 double arg5 ;
13076 double arg6 ;
b411df4a 13077 bool arg7 = (bool) true ;
44127b65
RD
13078 bool result;
13079 PyObject * obj0 = 0 ;
13080 PyObject * obj1 = 0 ;
8edf1c75
RD
13081 PyObject * obj2 = 0 ;
13082 PyObject * obj3 = 0 ;
13083 PyObject * obj4 = 0 ;
13084 PyObject * obj5 = 0 ;
44127b65
RD
13085 PyObject * obj6 = 0 ;
13086 char *kwnames[] = {
13087 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
13088 };
13089
8edf1c75 13090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyRectangleShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
13091 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyRectangleShape, SWIG_POINTER_EXCEPTION | 0);
13092 if (SWIG_arg_fail(1)) SWIG_fail;
13093 {
13094 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
13095 if (SWIG_arg_fail(2)) SWIG_fail;
13096 if (arg2 == NULL) {
13097 SWIG_null_ref("wxDC");
13098 }
13099 if (SWIG_arg_fail(2)) SWIG_fail;
13100 }
13101 {
13102 arg3 = (double)(SWIG_As_double(obj2));
13103 if (SWIG_arg_fail(3)) SWIG_fail;
13104 }
13105 {
13106 arg4 = (double)(SWIG_As_double(obj3));
13107 if (SWIG_arg_fail(4)) SWIG_fail;
13108 }
13109 {
13110 arg5 = (double)(SWIG_As_double(obj4));
13111 if (SWIG_arg_fail(5)) SWIG_fail;
13112 }
13113 {
13114 arg6 = (double)(SWIG_As_double(obj5));
13115 if (SWIG_arg_fail(6)) SWIG_fail;
13116 }
44127b65 13117 if (obj6) {
36ed4f51
RD
13118 {
13119 arg7 = (bool)(SWIG_As_bool(obj6));
13120 if (SWIG_arg_fail(7)) SWIG_fail;
13121 }
44127b65
RD
13122 }
13123 {
13124 PyThreadState* __tstate = wxPyBeginAllowThreads();
13125 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
13126
13127 wxPyEndAllowThreads(__tstate);
13128 if (PyErr_Occurred()) SWIG_fail;
13129 }
fbc46b20
RD
13130 {
13131 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13132 }
44127b65
RD
13133 return resultobj;
13134 fail:
13135 return NULL;
13136}
13137
13138
c370783e 13139static PyObject *_wrap_PyRectangleShape_base_OnMovePost(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
13140 PyObject *resultobj;
13141 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
13142 wxDC *arg2 = 0 ;
13143 double arg3 ;
13144 double arg4 ;
13145 double arg5 ;
13146 double arg6 ;
b411df4a 13147 bool arg7 = (bool) true ;
44127b65
RD
13148 PyObject * obj0 = 0 ;
13149 PyObject * obj1 = 0 ;
8edf1c75
RD
13150 PyObject * obj2 = 0 ;
13151 PyObject * obj3 = 0 ;
13152 PyObject * obj4 = 0 ;
13153 PyObject * obj5 = 0 ;
44127b65
RD
13154 PyObject * obj6 = 0 ;
13155 char *kwnames[] = {
13156 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
13157 };
13158
8edf1c75 13159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyRectangleShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
13160 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyRectangleShape, SWIG_POINTER_EXCEPTION | 0);
13161 if (SWIG_arg_fail(1)) SWIG_fail;
13162 {
13163 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
13164 if (SWIG_arg_fail(2)) SWIG_fail;
13165 if (arg2 == NULL) {
13166 SWIG_null_ref("wxDC");
13167 }
13168 if (SWIG_arg_fail(2)) SWIG_fail;
13169 }
13170 {
13171 arg3 = (double)(SWIG_As_double(obj2));
13172 if (SWIG_arg_fail(3)) SWIG_fail;
13173 }
13174 {
13175 arg4 = (double)(SWIG_As_double(obj3));
13176 if (SWIG_arg_fail(4)) SWIG_fail;
13177 }
13178 {
13179 arg5 = (double)(SWIG_As_double(obj4));
13180 if (SWIG_arg_fail(5)) SWIG_fail;
13181 }
13182 {
13183 arg6 = (double)(SWIG_As_double(obj5));
13184 if (SWIG_arg_fail(6)) SWIG_fail;
13185 }
44127b65 13186 if (obj6) {
36ed4f51
RD
13187 {
13188 arg7 = (bool)(SWIG_As_bool(obj6));
13189 if (SWIG_arg_fail(7)) SWIG_fail;
13190 }
44127b65
RD
13191 }
13192 {
13193 PyThreadState* __tstate = wxPyBeginAllowThreads();
13194 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
13195
13196 wxPyEndAllowThreads(__tstate);
13197 if (PyErr_Occurred()) SWIG_fail;
13198 }
13199 Py_INCREF(Py_None); resultobj = Py_None;
13200 return resultobj;
13201 fail:
13202 return NULL;
13203}
13204
13205
c370783e 13206static PyObject *_wrap_PyRectangleShape_base_OnDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
13207 PyObject *resultobj;
13208 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
13209 bool arg2 ;
13210 double arg3 ;
13211 double arg4 ;
13212 int arg5 = (int) 0 ;
13213 int arg6 = (int) 0 ;
13214 PyObject * obj0 = 0 ;
13215 PyObject * obj1 = 0 ;
8edf1c75
RD
13216 PyObject * obj2 = 0 ;
13217 PyObject * obj3 = 0 ;
13218 PyObject * obj4 = 0 ;
13219 PyObject * obj5 = 0 ;
44127b65
RD
13220 char *kwnames[] = {
13221 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13222 };
13223
8edf1c75 13224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyRectangleShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
13225 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyRectangleShape, SWIG_POINTER_EXCEPTION | 0);
13226 if (SWIG_arg_fail(1)) SWIG_fail;
13227 {
13228 arg2 = (bool)(SWIG_As_bool(obj1));
13229 if (SWIG_arg_fail(2)) SWIG_fail;
13230 }
13231 {
13232 arg3 = (double)(SWIG_As_double(obj2));
13233 if (SWIG_arg_fail(3)) SWIG_fail;
13234 }
13235 {
13236 arg4 = (double)(SWIG_As_double(obj3));
13237 if (SWIG_arg_fail(4)) SWIG_fail;
13238 }
8edf1c75 13239 if (obj4) {
36ed4f51
RD
13240 {
13241 arg5 = (int)(SWIG_As_int(obj4));
13242 if (SWIG_arg_fail(5)) SWIG_fail;
13243 }
8edf1c75
RD
13244 }
13245 if (obj5) {
36ed4f51
RD
13246 {
13247 arg6 = (int)(SWIG_As_int(obj5));
13248 if (SWIG_arg_fail(6)) SWIG_fail;
13249 }
8edf1c75 13250 }
44127b65
RD
13251 {
13252 PyThreadState* __tstate = wxPyBeginAllowThreads();
13253 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
13254
13255 wxPyEndAllowThreads(__tstate);
13256 if (PyErr_Occurred()) SWIG_fail;
13257 }
13258 Py_INCREF(Py_None); resultobj = Py_None;
13259 return resultobj;
13260 fail:
13261 return NULL;
13262}
13263
13264
c370783e 13265static PyObject *_wrap_PyRectangleShape_base_OnBeginDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
13266 PyObject *resultobj;
13267 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
13268 double arg2 ;
13269 double arg3 ;
13270 int arg4 = (int) 0 ;
13271 int arg5 = (int) 0 ;
13272 PyObject * obj0 = 0 ;
8edf1c75
RD
13273 PyObject * obj1 = 0 ;
13274 PyObject * obj2 = 0 ;
13275 PyObject * obj3 = 0 ;
13276 PyObject * obj4 = 0 ;
44127b65
RD
13277 char *kwnames[] = {
13278 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13279 };
13280
8edf1c75 13281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
13282 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyRectangleShape, SWIG_POINTER_EXCEPTION | 0);
13283 if (SWIG_arg_fail(1)) SWIG_fail;
13284 {
13285 arg2 = (double)(SWIG_As_double(obj1));
13286 if (SWIG_arg_fail(2)) SWIG_fail;
13287 }
13288 {
13289 arg3 = (double)(SWIG_As_double(obj2));
13290 if (SWIG_arg_fail(3)) SWIG_fail;
13291 }
8edf1c75 13292 if (obj3) {
36ed4f51
RD
13293 {
13294 arg4 = (int)(SWIG_As_int(obj3));
13295 if (SWIG_arg_fail(4)) SWIG_fail;
13296 }
8edf1c75
RD
13297 }
13298 if (obj4) {
36ed4f51
RD
13299 {
13300 arg5 = (int)(SWIG_As_int(obj4));
13301 if (SWIG_arg_fail(5)) SWIG_fail;
13302 }
8edf1c75 13303 }
44127b65
RD
13304 {
13305 PyThreadState* __tstate = wxPyBeginAllowThreads();
13306 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
13307
13308 wxPyEndAllowThreads(__tstate);
13309 if (PyErr_Occurred()) SWIG_fail;
13310 }
13311 Py_INCREF(Py_None); resultobj = Py_None;
13312 return resultobj;
13313 fail:
13314 return NULL;
13315}
13316
13317
c370783e 13318static PyObject *_wrap_PyRectangleShape_base_OnEndDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
13319 PyObject *resultobj;
13320 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
13321 double arg2 ;
13322 double arg3 ;
13323 int arg4 = (int) 0 ;
13324 int arg5 = (int) 0 ;
13325 PyObject * obj0 = 0 ;
8edf1c75
RD
13326 PyObject * obj1 = 0 ;
13327 PyObject * obj2 = 0 ;
13328 PyObject * obj3 = 0 ;
13329 PyObject * obj4 = 0 ;
44127b65
RD
13330 char *kwnames[] = {
13331 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13332 };
13333
8edf1c75 13334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
13335 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyRectangleShape, SWIG_POINTER_EXCEPTION | 0);
13336 if (SWIG_arg_fail(1)) SWIG_fail;
13337 {
13338 arg2 = (double)(SWIG_As_double(obj1));
13339 if (SWIG_arg_fail(2)) SWIG_fail;
13340 }
13341 {
13342 arg3 = (double)(SWIG_As_double(obj2));
13343 if (SWIG_arg_fail(3)) SWIG_fail;
13344 }
8edf1c75 13345 if (obj3) {
36ed4f51
RD
13346 {
13347 arg4 = (int)(SWIG_As_int(obj3));
13348 if (SWIG_arg_fail(4)) SWIG_fail;
13349 }
8edf1c75
RD
13350 }
13351 if (obj4) {
36ed4f51
RD
13352 {
13353 arg5 = (int)(SWIG_As_int(obj4));
13354 if (SWIG_arg_fail(5)) SWIG_fail;
13355 }
8edf1c75 13356 }
44127b65
RD
13357 {
13358 PyThreadState* __tstate = wxPyBeginAllowThreads();
13359 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
13360
13361 wxPyEndAllowThreads(__tstate);
13362 if (PyErr_Occurred()) SWIG_fail;
13363 }
13364 Py_INCREF(Py_None); resultobj = Py_None;
13365 return resultobj;
13366 fail:
13367 return NULL;
13368}
13369
13370
c370783e 13371static PyObject *_wrap_PyRectangleShape_base_OnDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
13372 PyObject *resultobj;
13373 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
13374 bool arg2 ;
13375 double arg3 ;
13376 double arg4 ;
13377 int arg5 = (int) 0 ;
13378 int arg6 = (int) 0 ;
13379 PyObject * obj0 = 0 ;
13380 PyObject * obj1 = 0 ;
8edf1c75
RD
13381 PyObject * obj2 = 0 ;
13382 PyObject * obj3 = 0 ;
13383 PyObject * obj4 = 0 ;
13384 PyObject * obj5 = 0 ;
44127b65
RD
13385 char *kwnames[] = {
13386 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13387 };
13388
8edf1c75 13389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyRectangleShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
13390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyRectangleShape, SWIG_POINTER_EXCEPTION | 0);
13391 if (SWIG_arg_fail(1)) SWIG_fail;
13392 {
13393 arg2 = (bool)(SWIG_As_bool(obj1));
13394 if (SWIG_arg_fail(2)) SWIG_fail;
13395 }
13396 {
13397 arg3 = (double)(SWIG_As_double(obj2));
13398 if (SWIG_arg_fail(3)) SWIG_fail;
13399 }
13400 {
13401 arg4 = (double)(SWIG_As_double(obj3));
13402 if (SWIG_arg_fail(4)) SWIG_fail;
13403 }
8edf1c75 13404 if (obj4) {
36ed4f51
RD
13405 {
13406 arg5 = (int)(SWIG_As_int(obj4));
13407 if (SWIG_arg_fail(5)) SWIG_fail;
13408 }
8edf1c75
RD
13409 }
13410 if (obj5) {
36ed4f51
RD
13411 {
13412 arg6 = (int)(SWIG_As_int(obj5));
13413 if (SWIG_arg_fail(6)) SWIG_fail;
13414 }
8edf1c75 13415 }
44127b65
RD
13416 {
13417 PyThreadState* __tstate = wxPyBeginAllowThreads();
13418 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
13419
13420 wxPyEndAllowThreads(__tstate);
13421 if (PyErr_Occurred()) SWIG_fail;
13422 }
13423 Py_INCREF(Py_None); resultobj = Py_None;
13424 return resultobj;
13425 fail:
13426 return NULL;
13427}
13428
13429
c370783e 13430static PyObject *_wrap_PyRectangleShape_base_OnBeginDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
13431 PyObject *resultobj;
13432 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
13433 double arg2 ;
13434 double arg3 ;
13435 int arg4 = (int) 0 ;
13436 int arg5 = (int) 0 ;
13437 PyObject * obj0 = 0 ;
8edf1c75
RD
13438 PyObject * obj1 = 0 ;
13439 PyObject * obj2 = 0 ;
13440 PyObject * obj3 = 0 ;
13441 PyObject * obj4 = 0 ;
44127b65
RD
13442 char *kwnames[] = {
13443 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13444 };
13445
8edf1c75 13446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
13447 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyRectangleShape, SWIG_POINTER_EXCEPTION | 0);
13448 if (SWIG_arg_fail(1)) SWIG_fail;
13449 {
13450 arg2 = (double)(SWIG_As_double(obj1));
13451 if (SWIG_arg_fail(2)) SWIG_fail;
13452 }
13453 {
13454 arg3 = (double)(SWIG_As_double(obj2));
13455 if (SWIG_arg_fail(3)) SWIG_fail;
13456 }
8edf1c75 13457 if (obj3) {
36ed4f51
RD
13458 {
13459 arg4 = (int)(SWIG_As_int(obj3));
13460 if (SWIG_arg_fail(4)) SWIG_fail;
13461 }
8edf1c75
RD
13462 }
13463 if (obj4) {
36ed4f51
RD
13464 {
13465 arg5 = (int)(SWIG_As_int(obj4));
13466 if (SWIG_arg_fail(5)) SWIG_fail;
13467 }
8edf1c75 13468 }
44127b65
RD
13469 {
13470 PyThreadState* __tstate = wxPyBeginAllowThreads();
13471 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
13472
13473 wxPyEndAllowThreads(__tstate);
13474 if (PyErr_Occurred()) SWIG_fail;
13475 }
13476 Py_INCREF(Py_None); resultobj = Py_None;
13477 return resultobj;
13478 fail:
13479 return NULL;
13480}
13481
13482
c370783e 13483static PyObject *_wrap_PyRectangleShape_base_OnEndDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
13484 PyObject *resultobj;
13485 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
13486 double arg2 ;
13487 double arg3 ;
13488 int arg4 = (int) 0 ;
13489 int arg5 = (int) 0 ;
13490 PyObject * obj0 = 0 ;
8edf1c75
RD
13491 PyObject * obj1 = 0 ;
13492 PyObject * obj2 = 0 ;
13493 PyObject * obj3 = 0 ;
13494 PyObject * obj4 = 0 ;
44127b65
RD
13495 char *kwnames[] = {
13496 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13497 };
13498
8edf1c75 13499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyRectangleShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
13500 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyRectangleShape, SWIG_POINTER_EXCEPTION | 0);
13501 if (SWIG_arg_fail(1)) SWIG_fail;
13502 {
13503 arg2 = (double)(SWIG_As_double(obj1));
13504 if (SWIG_arg_fail(2)) SWIG_fail;
13505 }
13506 {
13507 arg3 = (double)(SWIG_As_double(obj2));
13508 if (SWIG_arg_fail(3)) SWIG_fail;
13509 }
8edf1c75 13510 if (obj3) {
36ed4f51
RD
13511 {
13512 arg4 = (int)(SWIG_As_int(obj3));
13513 if (SWIG_arg_fail(4)) SWIG_fail;
13514 }
8edf1c75
RD
13515 }
13516 if (obj4) {
36ed4f51
RD
13517 {
13518 arg5 = (int)(SWIG_As_int(obj4));
13519 if (SWIG_arg_fail(5)) SWIG_fail;
13520 }
8edf1c75 13521 }
44127b65
RD
13522 {
13523 PyThreadState* __tstate = wxPyBeginAllowThreads();
13524 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
13525
13526 wxPyEndAllowThreads(__tstate);
13527 if (PyErr_Occurred()) SWIG_fail;
13528 }
13529 Py_INCREF(Py_None); resultobj = Py_None;
13530 return resultobj;
13531 fail:
13532 return NULL;
13533}
13534
13535
c370783e 13536static PyObject *_wrap_PyRectangleShape_base_OnDrawOutline(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
13537 PyObject *resultobj;
13538 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
13539 wxDC *arg2 = 0 ;
13540 double arg3 ;
13541 double arg4 ;
13542 double arg5 ;
13543 double arg6 ;
13544 PyObject * obj0 = 0 ;
13545 PyObject * obj1 = 0 ;
8edf1c75
RD
13546 PyObject * obj2 = 0 ;
13547 PyObject * obj3 = 0 ;
13548 PyObject * obj4 = 0 ;
13549 PyObject * obj5 = 0 ;
44127b65
RD
13550 char *kwnames[] = {
13551 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
13552 };
13553
8edf1c75 13554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyRectangleShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
13555 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyRectangleShape, SWIG_POINTER_EXCEPTION | 0);
13556 if (SWIG_arg_fail(1)) SWIG_fail;
13557 {
13558 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
13559 if (SWIG_arg_fail(2)) SWIG_fail;
13560 if (arg2 == NULL) {
13561 SWIG_null_ref("wxDC");
13562 }
13563 if (SWIG_arg_fail(2)) SWIG_fail;
13564 }
13565 {
13566 arg3 = (double)(SWIG_As_double(obj2));
13567 if (SWIG_arg_fail(3)) SWIG_fail;
13568 }
13569 {
13570 arg4 = (double)(SWIG_As_double(obj3));
13571 if (SWIG_arg_fail(4)) SWIG_fail;
13572 }
13573 {
13574 arg5 = (double)(SWIG_As_double(obj4));
13575 if (SWIG_arg_fail(5)) SWIG_fail;
13576 }
13577 {
13578 arg6 = (double)(SWIG_As_double(obj5));
13579 if (SWIG_arg_fail(6)) SWIG_fail;
13580 }
44127b65
RD
13581 {
13582 PyThreadState* __tstate = wxPyBeginAllowThreads();
13583 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
13584
13585 wxPyEndAllowThreads(__tstate);
13586 if (PyErr_Occurred()) SWIG_fail;
13587 }
13588 Py_INCREF(Py_None); resultobj = Py_None;
13589 return resultobj;
13590 fail:
13591 return NULL;
13592}
13593
13594
c370783e 13595static PyObject *_wrap_PyRectangleShape_base_OnDrawControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
13596 PyObject *resultobj;
13597 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
13598 wxDC *arg2 = 0 ;
13599 PyObject * obj0 = 0 ;
13600 PyObject * obj1 = 0 ;
13601 char *kwnames[] = {
13602 (char *) "self",(char *) "dc", NULL
13603 };
13604
13605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
13606 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyRectangleShape, SWIG_POINTER_EXCEPTION | 0);
13607 if (SWIG_arg_fail(1)) SWIG_fail;
13608 {
13609 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
13610 if (SWIG_arg_fail(2)) SWIG_fail;
13611 if (arg2 == NULL) {
13612 SWIG_null_ref("wxDC");
13613 }
13614 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
13615 }
13616 {
13617 PyThreadState* __tstate = wxPyBeginAllowThreads();
13618 (arg1)->base_OnDrawControlPoints(*arg2);
13619
13620 wxPyEndAllowThreads(__tstate);
13621 if (PyErr_Occurred()) SWIG_fail;
13622 }
13623 Py_INCREF(Py_None); resultobj = Py_None;
13624 return resultobj;
13625 fail:
13626 return NULL;
13627}
13628
13629
c370783e 13630static PyObject *_wrap_PyRectangleShape_base_OnEraseControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
13631 PyObject *resultobj;
13632 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
13633 wxDC *arg2 = 0 ;
13634 PyObject * obj0 = 0 ;
13635 PyObject * obj1 = 0 ;
13636 char *kwnames[] = {
13637 (char *) "self",(char *) "dc", NULL
13638 };
13639
13640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyRectangleShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
13641 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyRectangleShape, SWIG_POINTER_EXCEPTION | 0);
13642 if (SWIG_arg_fail(1)) SWIG_fail;
13643 {
13644 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
13645 if (SWIG_arg_fail(2)) SWIG_fail;
13646 if (arg2 == NULL) {
13647 SWIG_null_ref("wxDC");
13648 }
13649 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
13650 }
13651 {
13652 PyThreadState* __tstate = wxPyBeginAllowThreads();
13653 (arg1)->base_OnEraseControlPoints(*arg2);
13654
13655 wxPyEndAllowThreads(__tstate);
13656 if (PyErr_Occurred()) SWIG_fail;
13657 }
13658 Py_INCREF(Py_None); resultobj = Py_None;
13659 return resultobj;
13660 fail:
13661 return NULL;
13662}
13663
13664
c370783e 13665static PyObject *_wrap_PyRectangleShape_base_OnMoveLink(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
13666 PyObject *resultobj;
13667 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
13668 wxDC *arg2 = 0 ;
b411df4a 13669 bool arg3 = (bool) true ;
44127b65
RD
13670 PyObject * obj0 = 0 ;
13671 PyObject * obj1 = 0 ;
13672 PyObject * obj2 = 0 ;
13673 char *kwnames[] = {
13674 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
13675 };
13676
13677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyRectangleShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
13678 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyRectangleShape, SWIG_POINTER_EXCEPTION | 0);
13679 if (SWIG_arg_fail(1)) SWIG_fail;
13680 {
13681 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
13682 if (SWIG_arg_fail(2)) SWIG_fail;
13683 if (arg2 == NULL) {
13684 SWIG_null_ref("wxDC");
13685 }
13686 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
13687 }
13688 if (obj2) {
36ed4f51
RD
13689 {
13690 arg3 = (bool)(SWIG_As_bool(obj2));
13691 if (SWIG_arg_fail(3)) SWIG_fail;
13692 }
44127b65
RD
13693 }
13694 {
13695 PyThreadState* __tstate = wxPyBeginAllowThreads();
13696 (arg1)->base_OnMoveLink(*arg2,arg3);
13697
13698 wxPyEndAllowThreads(__tstate);
13699 if (PyErr_Occurred()) SWIG_fail;
13700 }
13701 Py_INCREF(Py_None); resultobj = Py_None;
13702 return resultobj;
13703 fail:
13704 return NULL;
13705}
13706
13707
c370783e 13708static PyObject *_wrap_PyRectangleShape_base_OnSizingDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
13709 PyObject *resultobj;
13710 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
13711 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
13712 bool arg3 ;
13713 double arg4 ;
13714 double arg5 ;
13715 int arg6 = (int) 0 ;
13716 int arg7 = (int) 0 ;
13717 PyObject * obj0 = 0 ;
13718 PyObject * obj1 = 0 ;
13719 PyObject * obj2 = 0 ;
8edf1c75
RD
13720 PyObject * obj3 = 0 ;
13721 PyObject * obj4 = 0 ;
13722 PyObject * obj5 = 0 ;
13723 PyObject * obj6 = 0 ;
44127b65
RD
13724 char *kwnames[] = {
13725 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13726 };
13727
8edf1c75 13728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyRectangleShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
13729 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyRectangleShape, SWIG_POINTER_EXCEPTION | 0);
13730 if (SWIG_arg_fail(1)) SWIG_fail;
13731 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
13732 if (SWIG_arg_fail(2)) SWIG_fail;
13733 {
13734 arg3 = (bool)(SWIG_As_bool(obj2));
13735 if (SWIG_arg_fail(3)) SWIG_fail;
13736 }
13737 {
13738 arg4 = (double)(SWIG_As_double(obj3));
13739 if (SWIG_arg_fail(4)) SWIG_fail;
13740 }
13741 {
13742 arg5 = (double)(SWIG_As_double(obj4));
13743 if (SWIG_arg_fail(5)) SWIG_fail;
13744 }
8edf1c75 13745 if (obj5) {
36ed4f51
RD
13746 {
13747 arg6 = (int)(SWIG_As_int(obj5));
13748 if (SWIG_arg_fail(6)) SWIG_fail;
13749 }
8edf1c75
RD
13750 }
13751 if (obj6) {
36ed4f51
RD
13752 {
13753 arg7 = (int)(SWIG_As_int(obj6));
13754 if (SWIG_arg_fail(7)) SWIG_fail;
13755 }
8edf1c75 13756 }
44127b65
RD
13757 {
13758 PyThreadState* __tstate = wxPyBeginAllowThreads();
13759 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
13760
13761 wxPyEndAllowThreads(__tstate);
13762 if (PyErr_Occurred()) SWIG_fail;
13763 }
13764 Py_INCREF(Py_None); resultobj = Py_None;
13765 return resultobj;
13766 fail:
13767 return NULL;
13768}
13769
13770
c370783e 13771static PyObject *_wrap_PyRectangleShape_base_OnSizingBeginDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
13772 PyObject *resultobj;
13773 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
13774 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
13775 double arg3 ;
13776 double arg4 ;
13777 int arg5 = (int) 0 ;
13778 int arg6 = (int) 0 ;
13779 PyObject * obj0 = 0 ;
13780 PyObject * obj1 = 0 ;
8edf1c75
RD
13781 PyObject * obj2 = 0 ;
13782 PyObject * obj3 = 0 ;
13783 PyObject * obj4 = 0 ;
13784 PyObject * obj5 = 0 ;
44127b65
RD
13785 char *kwnames[] = {
13786 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13787 };
13788
8edf1c75 13789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyRectangleShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
13790 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyRectangleShape, SWIG_POINTER_EXCEPTION | 0);
13791 if (SWIG_arg_fail(1)) SWIG_fail;
13792 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
13793 if (SWIG_arg_fail(2)) SWIG_fail;
13794 {
13795 arg3 = (double)(SWIG_As_double(obj2));
13796 if (SWIG_arg_fail(3)) SWIG_fail;
13797 }
13798 {
13799 arg4 = (double)(SWIG_As_double(obj3));
13800 if (SWIG_arg_fail(4)) SWIG_fail;
13801 }
8edf1c75 13802 if (obj4) {
36ed4f51
RD
13803 {
13804 arg5 = (int)(SWIG_As_int(obj4));
13805 if (SWIG_arg_fail(5)) SWIG_fail;
13806 }
8edf1c75
RD
13807 }
13808 if (obj5) {
36ed4f51
RD
13809 {
13810 arg6 = (int)(SWIG_As_int(obj5));
13811 if (SWIG_arg_fail(6)) SWIG_fail;
13812 }
8edf1c75 13813 }
44127b65
RD
13814 {
13815 PyThreadState* __tstate = wxPyBeginAllowThreads();
13816 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
13817
13818 wxPyEndAllowThreads(__tstate);
13819 if (PyErr_Occurred()) SWIG_fail;
13820 }
13821 Py_INCREF(Py_None); resultobj = Py_None;
13822 return resultobj;
13823 fail:
13824 return NULL;
13825}
13826
13827
c370783e 13828static PyObject *_wrap_PyRectangleShape_base_OnSizingEndDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
13829 PyObject *resultobj;
13830 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
13831 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
13832 double arg3 ;
13833 double arg4 ;
13834 int arg5 = (int) 0 ;
13835 int arg6 = (int) 0 ;
13836 PyObject * obj0 = 0 ;
13837 PyObject * obj1 = 0 ;
8edf1c75
RD
13838 PyObject * obj2 = 0 ;
13839 PyObject * obj3 = 0 ;
13840 PyObject * obj4 = 0 ;
13841 PyObject * obj5 = 0 ;
44127b65
RD
13842 char *kwnames[] = {
13843 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
13844 };
13845
8edf1c75 13846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyRectangleShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
13847 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyRectangleShape, SWIG_POINTER_EXCEPTION | 0);
13848 if (SWIG_arg_fail(1)) SWIG_fail;
13849 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
13850 if (SWIG_arg_fail(2)) SWIG_fail;
13851 {
13852 arg3 = (double)(SWIG_As_double(obj2));
13853 if (SWIG_arg_fail(3)) SWIG_fail;
13854 }
13855 {
13856 arg4 = (double)(SWIG_As_double(obj3));
13857 if (SWIG_arg_fail(4)) SWIG_fail;
13858 }
8edf1c75 13859 if (obj4) {
36ed4f51
RD
13860 {
13861 arg5 = (int)(SWIG_As_int(obj4));
13862 if (SWIG_arg_fail(5)) SWIG_fail;
13863 }
8edf1c75
RD
13864 }
13865 if (obj5) {
36ed4f51
RD
13866 {
13867 arg6 = (int)(SWIG_As_int(obj5));
13868 if (SWIG_arg_fail(6)) SWIG_fail;
13869 }
8edf1c75 13870 }
44127b65
RD
13871 {
13872 PyThreadState* __tstate = wxPyBeginAllowThreads();
13873 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
13874
13875 wxPyEndAllowThreads(__tstate);
13876 if (PyErr_Occurred()) SWIG_fail;
13877 }
13878 Py_INCREF(Py_None); resultobj = Py_None;
13879 return resultobj;
13880 fail:
13881 return NULL;
13882}
13883
13884
c370783e 13885static PyObject *_wrap_PyRectangleShape_base_OnBeginSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
13886 PyObject *resultobj;
13887 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
13888 double arg2 ;
13889 double arg3 ;
13890 PyObject * obj0 = 0 ;
8edf1c75
RD
13891 PyObject * obj1 = 0 ;
13892 PyObject * obj2 = 0 ;
44127b65
RD
13893 char *kwnames[] = {
13894 (char *) "self",(char *) "w",(char *) "h", NULL
13895 };
13896
8edf1c75 13897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyRectangleShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
13898 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyRectangleShape, SWIG_POINTER_EXCEPTION | 0);
13899 if (SWIG_arg_fail(1)) SWIG_fail;
13900 {
13901 arg2 = (double)(SWIG_As_double(obj1));
13902 if (SWIG_arg_fail(2)) SWIG_fail;
13903 }
13904 {
13905 arg3 = (double)(SWIG_As_double(obj2));
13906 if (SWIG_arg_fail(3)) SWIG_fail;
13907 }
44127b65
RD
13908 {
13909 PyThreadState* __tstate = wxPyBeginAllowThreads();
13910 (arg1)->base_OnBeginSize(arg2,arg3);
13911
13912 wxPyEndAllowThreads(__tstate);
13913 if (PyErr_Occurred()) SWIG_fail;
13914 }
13915 Py_INCREF(Py_None); resultobj = Py_None;
13916 return resultobj;
13917 fail:
13918 return NULL;
13919}
13920
13921
c370783e 13922static PyObject *_wrap_PyRectangleShape_base_OnEndSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
13923 PyObject *resultobj;
13924 wxPyRectangleShape *arg1 = (wxPyRectangleShape *) 0 ;
13925 double arg2 ;
13926 double arg3 ;
13927 PyObject * obj0 = 0 ;
8edf1c75
RD
13928 PyObject * obj1 = 0 ;
13929 PyObject * obj2 = 0 ;
44127b65
RD
13930 char *kwnames[] = {
13931 (char *) "self",(char *) "w",(char *) "h", NULL
13932 };
13933
8edf1c75 13934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyRectangleShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
13935 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyRectangleShape, SWIG_POINTER_EXCEPTION | 0);
13936 if (SWIG_arg_fail(1)) SWIG_fail;
13937 {
13938 arg2 = (double)(SWIG_As_double(obj1));
13939 if (SWIG_arg_fail(2)) SWIG_fail;
13940 }
13941 {
13942 arg3 = (double)(SWIG_As_double(obj2));
13943 if (SWIG_arg_fail(3)) SWIG_fail;
13944 }
44127b65
RD
13945 {
13946 PyThreadState* __tstate = wxPyBeginAllowThreads();
13947 (arg1)->base_OnEndSize(arg2,arg3);
13948
13949 wxPyEndAllowThreads(__tstate);
13950 if (PyErr_Occurred()) SWIG_fail;
13951 }
13952 Py_INCREF(Py_None); resultobj = Py_None;
13953 return resultobj;
13954 fail:
13955 return NULL;
13956}
13957
13958
c370783e 13959static PyObject * PyRectangleShape_swigregister(PyObject *, PyObject *args) {
44127b65
RD
13960 PyObject *obj;
13961 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13962 SWIG_TypeClientData(SWIGTYPE_p_wxPyRectangleShape, obj);
13963 Py_INCREF(obj);
13964 return Py_BuildValue((char *)"");
13965}
c370783e 13966static PyObject *_wrap_new_PyControlPoint(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
13967 PyObject *resultobj;
13968 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) NULL ;
13969 wxPyShape *arg2 = (wxPyShape *) NULL ;
13970 double arg3 = (double) 0.0 ;
13971 double arg4 = (double) 0.0 ;
13972 double arg5 = (double) 0.0 ;
13973 int arg6 = (int) 0 ;
13974 wxPyControlPoint *result;
13975 PyObject * obj0 = 0 ;
13976 PyObject * obj1 = 0 ;
8edf1c75
RD
13977 PyObject * obj2 = 0 ;
13978 PyObject * obj3 = 0 ;
13979 PyObject * obj4 = 0 ;
13980 PyObject * obj5 = 0 ;
44127b65
RD
13981 char *kwnames[] = {
13982 (char *) "the_canvas",(char *) "object",(char *) "size",(char *) "the_xoffset",(char *) "the_yoffset",(char *) "the_type", NULL
13983 };
13984
8edf1c75 13985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOO:new_PyControlPoint",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65 13986 if (obj0) {
36ed4f51
RD
13987 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShapeCanvas, SWIG_POINTER_EXCEPTION | 0);
13988 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
13989 }
13990 if (obj1) {
36ed4f51
RD
13991 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
13992 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65 13993 }
8edf1c75 13994 if (obj2) {
36ed4f51
RD
13995 {
13996 arg3 = (double)(SWIG_As_double(obj2));
13997 if (SWIG_arg_fail(3)) SWIG_fail;
13998 }
8edf1c75
RD
13999 }
14000 if (obj3) {
36ed4f51
RD
14001 {
14002 arg4 = (double)(SWIG_As_double(obj3));
14003 if (SWIG_arg_fail(4)) SWIG_fail;
14004 }
8edf1c75
RD
14005 }
14006 if (obj4) {
36ed4f51
RD
14007 {
14008 arg5 = (double)(SWIG_As_double(obj4));
14009 if (SWIG_arg_fail(5)) SWIG_fail;
14010 }
8edf1c75
RD
14011 }
14012 if (obj5) {
36ed4f51
RD
14013 {
14014 arg6 = (int)(SWIG_As_int(obj5));
14015 if (SWIG_arg_fail(6)) SWIG_fail;
14016 }
8edf1c75 14017 }
44127b65
RD
14018 {
14019 PyThreadState* __tstate = wxPyBeginAllowThreads();
14020 result = (wxPyControlPoint *)new wxPyControlPoint(arg1,arg2,arg3,arg4,arg5,arg6);
14021
14022 wxPyEndAllowThreads(__tstate);
14023 if (PyErr_Occurred()) SWIG_fail;
14024 }
2f4c0a16 14025 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControlPoint, 1);
44127b65
RD
14026 return resultobj;
14027 fail:
14028 return NULL;
14029}
14030
14031
c370783e 14032static PyObject *_wrap_PyControlPoint__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
14033 PyObject *resultobj;
14034 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
14035 PyObject *arg2 = (PyObject *) 0 ;
14036 PyObject *arg3 = (PyObject *) 0 ;
14037 PyObject * obj0 = 0 ;
14038 PyObject * obj1 = 0 ;
14039 PyObject * obj2 = 0 ;
14040 char *kwnames[] = {
14041 (char *) "self",(char *) "self",(char *) "_class", NULL
14042 };
14043
14044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControlPoint__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
14045 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
14046 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
14047 arg2 = obj1;
14048 arg3 = obj2;
14049 {
14050 PyThreadState* __tstate = wxPyBeginAllowThreads();
14051 (arg1)->_setCallbackInfo(arg2,arg3);
14052
14053 wxPyEndAllowThreads(__tstate);
14054 if (PyErr_Occurred()) SWIG_fail;
14055 }
14056 Py_INCREF(Py_None); resultobj = Py_None;
14057 return resultobj;
14058 fail:
14059 return NULL;
14060}
14061
14062
c370783e 14063static PyObject *_wrap_PyControlPoint_SetCornerRadius(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
14064 PyObject *resultobj;
14065 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
14066 double arg2 ;
14067 PyObject * obj0 = 0 ;
8edf1c75 14068 PyObject * obj1 = 0 ;
44127b65
RD
14069 char *kwnames[] = {
14070 (char *) "self",(char *) "radius", NULL
14071 };
14072
8edf1c75 14073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_SetCornerRadius",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14074 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
14075 if (SWIG_arg_fail(1)) SWIG_fail;
14076 {
14077 arg2 = (double)(SWIG_As_double(obj1));
14078 if (SWIG_arg_fail(2)) SWIG_fail;
14079 }
44127b65
RD
14080 {
14081 PyThreadState* __tstate = wxPyBeginAllowThreads();
14082 (arg1)->SetCornerRadius(arg2);
14083
14084 wxPyEndAllowThreads(__tstate);
14085 if (PyErr_Occurred()) SWIG_fail;
14086 }
14087 Py_INCREF(Py_None); resultobj = Py_None;
14088 return resultobj;
14089 fail:
14090 return NULL;
14091}
14092
14093
c370783e 14094static PyObject *_wrap_PyControlPoint_base_OnDelete(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
14095 PyObject *resultobj;
14096 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
14097 PyObject * obj0 = 0 ;
14098 char *kwnames[] = {
14099 (char *) "self", NULL
14100 };
14101
14102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControlPoint_base_OnDelete",kwnames,&obj0)) goto fail;
36ed4f51
RD
14103 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
14104 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
14105 {
14106 PyThreadState* __tstate = wxPyBeginAllowThreads();
14107 (arg1)->base_OnDelete();
14108
14109 wxPyEndAllowThreads(__tstate);
14110 if (PyErr_Occurred()) SWIG_fail;
14111 }
14112 Py_INCREF(Py_None); resultobj = Py_None;
14113 return resultobj;
14114 fail:
14115 return NULL;
14116}
14117
14118
c370783e 14119static PyObject *_wrap_PyControlPoint_base_OnDraw(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
14120 PyObject *resultobj;
14121 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
14122 wxDC *arg2 = 0 ;
14123 PyObject * obj0 = 0 ;
14124 PyObject * obj1 = 0 ;
14125 char *kwnames[] = {
14126 (char *) "self",(char *) "dc", NULL
14127 };
14128
14129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14130 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
14131 if (SWIG_arg_fail(1)) SWIG_fail;
14132 {
14133 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
14134 if (SWIG_arg_fail(2)) SWIG_fail;
14135 if (arg2 == NULL) {
14136 SWIG_null_ref("wxDC");
14137 }
14138 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
14139 }
14140 {
14141 PyThreadState* __tstate = wxPyBeginAllowThreads();
14142 (arg1)->base_OnDraw(*arg2);
14143
14144 wxPyEndAllowThreads(__tstate);
14145 if (PyErr_Occurred()) SWIG_fail;
14146 }
14147 Py_INCREF(Py_None); resultobj = Py_None;
14148 return resultobj;
14149 fail:
14150 return NULL;
14151}
14152
14153
c370783e 14154static PyObject *_wrap_PyControlPoint_base_OnDrawContents(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
14155 PyObject *resultobj;
14156 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
14157 wxDC *arg2 = 0 ;
14158 PyObject * obj0 = 0 ;
14159 PyObject * obj1 = 0 ;
14160 char *kwnames[] = {
14161 (char *) "self",(char *) "dc", NULL
14162 };
14163
14164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14165 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
14166 if (SWIG_arg_fail(1)) SWIG_fail;
14167 {
14168 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
14169 if (SWIG_arg_fail(2)) SWIG_fail;
14170 if (arg2 == NULL) {
14171 SWIG_null_ref("wxDC");
14172 }
14173 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
14174 }
14175 {
14176 PyThreadState* __tstate = wxPyBeginAllowThreads();
14177 (arg1)->base_OnDrawContents(*arg2);
14178
14179 wxPyEndAllowThreads(__tstate);
14180 if (PyErr_Occurred()) SWIG_fail;
14181 }
14182 Py_INCREF(Py_None); resultobj = Py_None;
14183 return resultobj;
14184 fail:
14185 return NULL;
14186}
14187
14188
c370783e 14189static PyObject *_wrap_PyControlPoint_base_OnDrawBranches(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
14190 PyObject *resultobj;
14191 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
14192 wxDC *arg2 = 0 ;
14193 bool arg3 = (bool) FALSE ;
14194 PyObject * obj0 = 0 ;
14195 PyObject * obj1 = 0 ;
14196 PyObject * obj2 = 0 ;
14197 char *kwnames[] = {
14198 (char *) "self",(char *) "dc",(char *) "erase", NULL
14199 };
14200
14201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyControlPoint_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
14202 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
14203 if (SWIG_arg_fail(1)) SWIG_fail;
14204 {
14205 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
14206 if (SWIG_arg_fail(2)) SWIG_fail;
14207 if (arg2 == NULL) {
14208 SWIG_null_ref("wxDC");
14209 }
14210 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
14211 }
14212 if (obj2) {
36ed4f51
RD
14213 {
14214 arg3 = (bool)(SWIG_As_bool(obj2));
14215 if (SWIG_arg_fail(3)) SWIG_fail;
14216 }
44127b65
RD
14217 }
14218 {
14219 PyThreadState* __tstate = wxPyBeginAllowThreads();
14220 (arg1)->base_OnDrawBranches(*arg2,arg3);
14221
14222 wxPyEndAllowThreads(__tstate);
14223 if (PyErr_Occurred()) SWIG_fail;
14224 }
14225 Py_INCREF(Py_None); resultobj = Py_None;
14226 return resultobj;
14227 fail:
14228 return NULL;
14229}
14230
14231
c370783e 14232static PyObject *_wrap_PyControlPoint_base_OnMoveLinks(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
14233 PyObject *resultobj;
14234 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
14235 wxDC *arg2 = 0 ;
14236 PyObject * obj0 = 0 ;
14237 PyObject * obj1 = 0 ;
14238 char *kwnames[] = {
14239 (char *) "self",(char *) "dc", NULL
14240 };
14241
14242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14243 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
14244 if (SWIG_arg_fail(1)) SWIG_fail;
14245 {
14246 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
14247 if (SWIG_arg_fail(2)) SWIG_fail;
14248 if (arg2 == NULL) {
14249 SWIG_null_ref("wxDC");
14250 }
14251 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
14252 }
14253 {
14254 PyThreadState* __tstate = wxPyBeginAllowThreads();
14255 (arg1)->base_OnMoveLinks(*arg2);
14256
14257 wxPyEndAllowThreads(__tstate);
14258 if (PyErr_Occurred()) SWIG_fail;
14259 }
14260 Py_INCREF(Py_None); resultobj = Py_None;
14261 return resultobj;
14262 fail:
14263 return NULL;
14264}
14265
14266
c370783e 14267static PyObject *_wrap_PyControlPoint_base_OnErase(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
14268 PyObject *resultobj;
14269 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
14270 wxDC *arg2 = 0 ;
14271 PyObject * obj0 = 0 ;
14272 PyObject * obj1 = 0 ;
14273 char *kwnames[] = {
14274 (char *) "self",(char *) "dc", NULL
14275 };
14276
14277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14278 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
14279 if (SWIG_arg_fail(1)) SWIG_fail;
14280 {
14281 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
14282 if (SWIG_arg_fail(2)) SWIG_fail;
14283 if (arg2 == NULL) {
14284 SWIG_null_ref("wxDC");
14285 }
14286 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
14287 }
14288 {
14289 PyThreadState* __tstate = wxPyBeginAllowThreads();
14290 (arg1)->base_OnErase(*arg2);
14291
14292 wxPyEndAllowThreads(__tstate);
14293 if (PyErr_Occurred()) SWIG_fail;
14294 }
14295 Py_INCREF(Py_None); resultobj = Py_None;
14296 return resultobj;
14297 fail:
14298 return NULL;
14299}
14300
14301
c370783e 14302static PyObject *_wrap_PyControlPoint_base_OnEraseContents(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
14303 PyObject *resultobj;
14304 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
14305 wxDC *arg2 = 0 ;
14306 PyObject * obj0 = 0 ;
14307 PyObject * obj1 = 0 ;
14308 char *kwnames[] = {
14309 (char *) "self",(char *) "dc", NULL
14310 };
14311
14312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14313 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
14314 if (SWIG_arg_fail(1)) SWIG_fail;
14315 {
14316 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
14317 if (SWIG_arg_fail(2)) SWIG_fail;
14318 if (arg2 == NULL) {
14319 SWIG_null_ref("wxDC");
14320 }
14321 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
14322 }
14323 {
14324 PyThreadState* __tstate = wxPyBeginAllowThreads();
14325 (arg1)->base_OnEraseContents(*arg2);
14326
14327 wxPyEndAllowThreads(__tstate);
14328 if (PyErr_Occurred()) SWIG_fail;
14329 }
14330 Py_INCREF(Py_None); resultobj = Py_None;
14331 return resultobj;
14332 fail:
14333 return NULL;
14334}
14335
14336
c370783e 14337static PyObject *_wrap_PyControlPoint_base_OnHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
14338 PyObject *resultobj;
14339 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
14340 wxDC *arg2 = 0 ;
14341 PyObject * obj0 = 0 ;
14342 PyObject * obj1 = 0 ;
14343 char *kwnames[] = {
14344 (char *) "self",(char *) "dc", NULL
14345 };
14346
14347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14348 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
14349 if (SWIG_arg_fail(1)) SWIG_fail;
14350 {
14351 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
14352 if (SWIG_arg_fail(2)) SWIG_fail;
14353 if (arg2 == NULL) {
14354 SWIG_null_ref("wxDC");
14355 }
14356 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
14357 }
14358 {
14359 PyThreadState* __tstate = wxPyBeginAllowThreads();
14360 (arg1)->base_OnHighlight(*arg2);
14361
14362 wxPyEndAllowThreads(__tstate);
14363 if (PyErr_Occurred()) SWIG_fail;
14364 }
14365 Py_INCREF(Py_None); resultobj = Py_None;
14366 return resultobj;
14367 fail:
14368 return NULL;
14369}
14370
14371
c370783e 14372static PyObject *_wrap_PyControlPoint_base_OnLeftClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
14373 PyObject *resultobj;
14374 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
14375 double arg2 ;
14376 double arg3 ;
14377 int arg4 = (int) 0 ;
14378 int arg5 = (int) 0 ;
14379 PyObject * obj0 = 0 ;
8edf1c75
RD
14380 PyObject * obj1 = 0 ;
14381 PyObject * obj2 = 0 ;
14382 PyObject * obj3 = 0 ;
14383 PyObject * obj4 = 0 ;
44127b65
RD
14384 char *kwnames[] = {
14385 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14386 };
14387
8edf1c75 14388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
14389 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
14390 if (SWIG_arg_fail(1)) SWIG_fail;
14391 {
14392 arg2 = (double)(SWIG_As_double(obj1));
14393 if (SWIG_arg_fail(2)) SWIG_fail;
14394 }
14395 {
14396 arg3 = (double)(SWIG_As_double(obj2));
14397 if (SWIG_arg_fail(3)) SWIG_fail;
14398 }
8edf1c75 14399 if (obj3) {
36ed4f51
RD
14400 {
14401 arg4 = (int)(SWIG_As_int(obj3));
14402 if (SWIG_arg_fail(4)) SWIG_fail;
14403 }
8edf1c75
RD
14404 }
14405 if (obj4) {
36ed4f51
RD
14406 {
14407 arg5 = (int)(SWIG_As_int(obj4));
14408 if (SWIG_arg_fail(5)) SWIG_fail;
14409 }
8edf1c75 14410 }
44127b65
RD
14411 {
14412 PyThreadState* __tstate = wxPyBeginAllowThreads();
14413 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
14414
14415 wxPyEndAllowThreads(__tstate);
14416 if (PyErr_Occurred()) SWIG_fail;
14417 }
14418 Py_INCREF(Py_None); resultobj = Py_None;
14419 return resultobj;
14420 fail:
14421 return NULL;
14422}
14423
14424
c370783e 14425static PyObject *_wrap_PyControlPoint_base_OnLeftDoubleClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
14426 PyObject *resultobj;
14427 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
14428 double arg2 ;
14429 double arg3 ;
14430 int arg4 = (int) 0 ;
14431 int arg5 = (int) 0 ;
14432 PyObject * obj0 = 0 ;
8edf1c75
RD
14433 PyObject * obj1 = 0 ;
14434 PyObject * obj2 = 0 ;
14435 PyObject * obj3 = 0 ;
14436 PyObject * obj4 = 0 ;
44127b65
RD
14437 char *kwnames[] = {
14438 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14439 };
14440
8edf1c75 14441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
14442 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
14443 if (SWIG_arg_fail(1)) SWIG_fail;
14444 {
14445 arg2 = (double)(SWIG_As_double(obj1));
14446 if (SWIG_arg_fail(2)) SWIG_fail;
14447 }
14448 {
14449 arg3 = (double)(SWIG_As_double(obj2));
14450 if (SWIG_arg_fail(3)) SWIG_fail;
14451 }
8edf1c75 14452 if (obj3) {
36ed4f51
RD
14453 {
14454 arg4 = (int)(SWIG_As_int(obj3));
14455 if (SWIG_arg_fail(4)) SWIG_fail;
14456 }
8edf1c75
RD
14457 }
14458 if (obj4) {
36ed4f51
RD
14459 {
14460 arg5 = (int)(SWIG_As_int(obj4));
14461 if (SWIG_arg_fail(5)) SWIG_fail;
14462 }
8edf1c75 14463 }
44127b65
RD
14464 {
14465 PyThreadState* __tstate = wxPyBeginAllowThreads();
14466 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
14467
14468 wxPyEndAllowThreads(__tstate);
14469 if (PyErr_Occurred()) SWIG_fail;
14470 }
14471 Py_INCREF(Py_None); resultobj = Py_None;
14472 return resultobj;
14473 fail:
14474 return NULL;
14475}
14476
14477
c370783e 14478static PyObject *_wrap_PyControlPoint_base_OnRightClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
14479 PyObject *resultobj;
14480 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
14481 double arg2 ;
14482 double arg3 ;
14483 int arg4 = (int) 0 ;
14484 int arg5 = (int) 0 ;
14485 PyObject * obj0 = 0 ;
8edf1c75
RD
14486 PyObject * obj1 = 0 ;
14487 PyObject * obj2 = 0 ;
14488 PyObject * obj3 = 0 ;
14489 PyObject * obj4 = 0 ;
44127b65
RD
14490 char *kwnames[] = {
14491 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14492 };
14493
8edf1c75 14494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
14495 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
14496 if (SWIG_arg_fail(1)) SWIG_fail;
14497 {
14498 arg2 = (double)(SWIG_As_double(obj1));
14499 if (SWIG_arg_fail(2)) SWIG_fail;
14500 }
14501 {
14502 arg3 = (double)(SWIG_As_double(obj2));
14503 if (SWIG_arg_fail(3)) SWIG_fail;
14504 }
8edf1c75 14505 if (obj3) {
36ed4f51
RD
14506 {
14507 arg4 = (int)(SWIG_As_int(obj3));
14508 if (SWIG_arg_fail(4)) SWIG_fail;
14509 }
8edf1c75
RD
14510 }
14511 if (obj4) {
36ed4f51
RD
14512 {
14513 arg5 = (int)(SWIG_As_int(obj4));
14514 if (SWIG_arg_fail(5)) SWIG_fail;
14515 }
8edf1c75 14516 }
44127b65
RD
14517 {
14518 PyThreadState* __tstate = wxPyBeginAllowThreads();
14519 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
14520
14521 wxPyEndAllowThreads(__tstate);
14522 if (PyErr_Occurred()) SWIG_fail;
14523 }
14524 Py_INCREF(Py_None); resultobj = Py_None;
14525 return resultobj;
14526 fail:
14527 return NULL;
14528}
14529
14530
c370783e 14531static PyObject *_wrap_PyControlPoint_base_OnSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
14532 PyObject *resultobj;
14533 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
14534 double arg2 ;
14535 double arg3 ;
14536 PyObject * obj0 = 0 ;
8edf1c75
RD
14537 PyObject * obj1 = 0 ;
14538 PyObject * obj2 = 0 ;
44127b65
RD
14539 char *kwnames[] = {
14540 (char *) "self",(char *) "x",(char *) "y", NULL
14541 };
14542
8edf1c75 14543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControlPoint_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
14544 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
14545 if (SWIG_arg_fail(1)) SWIG_fail;
14546 {
14547 arg2 = (double)(SWIG_As_double(obj1));
14548 if (SWIG_arg_fail(2)) SWIG_fail;
14549 }
14550 {
14551 arg3 = (double)(SWIG_As_double(obj2));
14552 if (SWIG_arg_fail(3)) SWIG_fail;
14553 }
44127b65
RD
14554 {
14555 PyThreadState* __tstate = wxPyBeginAllowThreads();
14556 (arg1)->base_OnSize(arg2,arg3);
14557
14558 wxPyEndAllowThreads(__tstate);
14559 if (PyErr_Occurred()) SWIG_fail;
14560 }
14561 Py_INCREF(Py_None); resultobj = Py_None;
14562 return resultobj;
14563 fail:
14564 return NULL;
14565}
14566
14567
c370783e 14568static PyObject *_wrap_PyControlPoint_base_OnMovePre(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
14569 PyObject *resultobj;
14570 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
14571 wxDC *arg2 = 0 ;
14572 double arg3 ;
14573 double arg4 ;
14574 double arg5 ;
14575 double arg6 ;
b411df4a 14576 bool arg7 = (bool) true ;
44127b65
RD
14577 bool result;
14578 PyObject * obj0 = 0 ;
14579 PyObject * obj1 = 0 ;
8edf1c75
RD
14580 PyObject * obj2 = 0 ;
14581 PyObject * obj3 = 0 ;
14582 PyObject * obj4 = 0 ;
14583 PyObject * obj5 = 0 ;
44127b65
RD
14584 PyObject * obj6 = 0 ;
14585 char *kwnames[] = {
14586 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
14587 };
14588
8edf1c75 14589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyControlPoint_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
14590 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
14591 if (SWIG_arg_fail(1)) SWIG_fail;
14592 {
14593 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
14594 if (SWIG_arg_fail(2)) SWIG_fail;
14595 if (arg2 == NULL) {
14596 SWIG_null_ref("wxDC");
14597 }
14598 if (SWIG_arg_fail(2)) SWIG_fail;
14599 }
14600 {
14601 arg3 = (double)(SWIG_As_double(obj2));
14602 if (SWIG_arg_fail(3)) SWIG_fail;
14603 }
14604 {
14605 arg4 = (double)(SWIG_As_double(obj3));
14606 if (SWIG_arg_fail(4)) SWIG_fail;
14607 }
14608 {
14609 arg5 = (double)(SWIG_As_double(obj4));
14610 if (SWIG_arg_fail(5)) SWIG_fail;
14611 }
14612 {
14613 arg6 = (double)(SWIG_As_double(obj5));
14614 if (SWIG_arg_fail(6)) SWIG_fail;
14615 }
44127b65 14616 if (obj6) {
36ed4f51
RD
14617 {
14618 arg7 = (bool)(SWIG_As_bool(obj6));
14619 if (SWIG_arg_fail(7)) SWIG_fail;
14620 }
44127b65
RD
14621 }
14622 {
14623 PyThreadState* __tstate = wxPyBeginAllowThreads();
14624 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
14625
14626 wxPyEndAllowThreads(__tstate);
14627 if (PyErr_Occurred()) SWIG_fail;
14628 }
fbc46b20
RD
14629 {
14630 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14631 }
44127b65
RD
14632 return resultobj;
14633 fail:
14634 return NULL;
14635}
14636
14637
c370783e 14638static PyObject *_wrap_PyControlPoint_base_OnMovePost(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
14639 PyObject *resultobj;
14640 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
14641 wxDC *arg2 = 0 ;
14642 double arg3 ;
14643 double arg4 ;
14644 double arg5 ;
14645 double arg6 ;
b411df4a 14646 bool arg7 = (bool) true ;
44127b65
RD
14647 PyObject * obj0 = 0 ;
14648 PyObject * obj1 = 0 ;
8edf1c75
RD
14649 PyObject * obj2 = 0 ;
14650 PyObject * obj3 = 0 ;
14651 PyObject * obj4 = 0 ;
14652 PyObject * obj5 = 0 ;
44127b65
RD
14653 PyObject * obj6 = 0 ;
14654 char *kwnames[] = {
14655 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
14656 };
14657
8edf1c75 14658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyControlPoint_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
14659 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
14660 if (SWIG_arg_fail(1)) SWIG_fail;
14661 {
14662 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
14663 if (SWIG_arg_fail(2)) SWIG_fail;
14664 if (arg2 == NULL) {
14665 SWIG_null_ref("wxDC");
14666 }
14667 if (SWIG_arg_fail(2)) SWIG_fail;
14668 }
14669 {
14670 arg3 = (double)(SWIG_As_double(obj2));
14671 if (SWIG_arg_fail(3)) SWIG_fail;
14672 }
14673 {
14674 arg4 = (double)(SWIG_As_double(obj3));
14675 if (SWIG_arg_fail(4)) SWIG_fail;
14676 }
14677 {
14678 arg5 = (double)(SWIG_As_double(obj4));
14679 if (SWIG_arg_fail(5)) SWIG_fail;
14680 }
14681 {
14682 arg6 = (double)(SWIG_As_double(obj5));
14683 if (SWIG_arg_fail(6)) SWIG_fail;
14684 }
44127b65 14685 if (obj6) {
36ed4f51
RD
14686 {
14687 arg7 = (bool)(SWIG_As_bool(obj6));
14688 if (SWIG_arg_fail(7)) SWIG_fail;
14689 }
44127b65
RD
14690 }
14691 {
14692 PyThreadState* __tstate = wxPyBeginAllowThreads();
14693 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
14694
14695 wxPyEndAllowThreads(__tstate);
14696 if (PyErr_Occurred()) SWIG_fail;
14697 }
14698 Py_INCREF(Py_None); resultobj = Py_None;
14699 return resultobj;
14700 fail:
14701 return NULL;
14702}
14703
14704
c370783e 14705static PyObject *_wrap_PyControlPoint_base_OnDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
14706 PyObject *resultobj;
14707 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
14708 bool arg2 ;
14709 double arg3 ;
14710 double arg4 ;
14711 int arg5 = (int) 0 ;
14712 int arg6 = (int) 0 ;
14713 PyObject * obj0 = 0 ;
14714 PyObject * obj1 = 0 ;
8edf1c75
RD
14715 PyObject * obj2 = 0 ;
14716 PyObject * obj3 = 0 ;
14717 PyObject * obj4 = 0 ;
14718 PyObject * obj5 = 0 ;
44127b65
RD
14719 char *kwnames[] = {
14720 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14721 };
14722
8edf1c75 14723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyControlPoint_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
14724 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
14725 if (SWIG_arg_fail(1)) SWIG_fail;
14726 {
14727 arg2 = (bool)(SWIG_As_bool(obj1));
14728 if (SWIG_arg_fail(2)) SWIG_fail;
14729 }
14730 {
14731 arg3 = (double)(SWIG_As_double(obj2));
14732 if (SWIG_arg_fail(3)) SWIG_fail;
14733 }
14734 {
14735 arg4 = (double)(SWIG_As_double(obj3));
14736 if (SWIG_arg_fail(4)) SWIG_fail;
14737 }
8edf1c75 14738 if (obj4) {
36ed4f51
RD
14739 {
14740 arg5 = (int)(SWIG_As_int(obj4));
14741 if (SWIG_arg_fail(5)) SWIG_fail;
14742 }
8edf1c75
RD
14743 }
14744 if (obj5) {
36ed4f51
RD
14745 {
14746 arg6 = (int)(SWIG_As_int(obj5));
14747 if (SWIG_arg_fail(6)) SWIG_fail;
14748 }
8edf1c75 14749 }
44127b65
RD
14750 {
14751 PyThreadState* __tstate = wxPyBeginAllowThreads();
14752 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
14753
14754 wxPyEndAllowThreads(__tstate);
14755 if (PyErr_Occurred()) SWIG_fail;
14756 }
14757 Py_INCREF(Py_None); resultobj = Py_None;
14758 return resultobj;
14759 fail:
14760 return NULL;
14761}
14762
14763
c370783e 14764static PyObject *_wrap_PyControlPoint_base_OnBeginDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
14765 PyObject *resultobj;
14766 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
14767 double arg2 ;
14768 double arg3 ;
14769 int arg4 = (int) 0 ;
14770 int arg5 = (int) 0 ;
14771 PyObject * obj0 = 0 ;
8edf1c75
RD
14772 PyObject * obj1 = 0 ;
14773 PyObject * obj2 = 0 ;
14774 PyObject * obj3 = 0 ;
14775 PyObject * obj4 = 0 ;
44127b65
RD
14776 char *kwnames[] = {
14777 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14778 };
14779
8edf1c75 14780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
14781 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
14782 if (SWIG_arg_fail(1)) SWIG_fail;
14783 {
14784 arg2 = (double)(SWIG_As_double(obj1));
14785 if (SWIG_arg_fail(2)) SWIG_fail;
14786 }
14787 {
14788 arg3 = (double)(SWIG_As_double(obj2));
14789 if (SWIG_arg_fail(3)) SWIG_fail;
14790 }
8edf1c75 14791 if (obj3) {
36ed4f51
RD
14792 {
14793 arg4 = (int)(SWIG_As_int(obj3));
14794 if (SWIG_arg_fail(4)) SWIG_fail;
14795 }
8edf1c75
RD
14796 }
14797 if (obj4) {
36ed4f51
RD
14798 {
14799 arg5 = (int)(SWIG_As_int(obj4));
14800 if (SWIG_arg_fail(5)) SWIG_fail;
14801 }
8edf1c75 14802 }
44127b65
RD
14803 {
14804 PyThreadState* __tstate = wxPyBeginAllowThreads();
14805 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
14806
14807 wxPyEndAllowThreads(__tstate);
14808 if (PyErr_Occurred()) SWIG_fail;
14809 }
14810 Py_INCREF(Py_None); resultobj = Py_None;
14811 return resultobj;
14812 fail:
14813 return NULL;
14814}
14815
14816
c370783e 14817static PyObject *_wrap_PyControlPoint_base_OnEndDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
14818 PyObject *resultobj;
14819 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
14820 double arg2 ;
14821 double arg3 ;
14822 int arg4 = (int) 0 ;
14823 int arg5 = (int) 0 ;
14824 PyObject * obj0 = 0 ;
8edf1c75
RD
14825 PyObject * obj1 = 0 ;
14826 PyObject * obj2 = 0 ;
14827 PyObject * obj3 = 0 ;
14828 PyObject * obj4 = 0 ;
44127b65
RD
14829 char *kwnames[] = {
14830 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14831 };
14832
8edf1c75 14833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
14834 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
14835 if (SWIG_arg_fail(1)) SWIG_fail;
14836 {
14837 arg2 = (double)(SWIG_As_double(obj1));
14838 if (SWIG_arg_fail(2)) SWIG_fail;
14839 }
14840 {
14841 arg3 = (double)(SWIG_As_double(obj2));
14842 if (SWIG_arg_fail(3)) SWIG_fail;
14843 }
8edf1c75 14844 if (obj3) {
36ed4f51
RD
14845 {
14846 arg4 = (int)(SWIG_As_int(obj3));
14847 if (SWIG_arg_fail(4)) SWIG_fail;
14848 }
8edf1c75
RD
14849 }
14850 if (obj4) {
36ed4f51
RD
14851 {
14852 arg5 = (int)(SWIG_As_int(obj4));
14853 if (SWIG_arg_fail(5)) SWIG_fail;
14854 }
8edf1c75 14855 }
44127b65
RD
14856 {
14857 PyThreadState* __tstate = wxPyBeginAllowThreads();
14858 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
14859
14860 wxPyEndAllowThreads(__tstate);
14861 if (PyErr_Occurred()) SWIG_fail;
14862 }
14863 Py_INCREF(Py_None); resultobj = Py_None;
14864 return resultobj;
14865 fail:
14866 return NULL;
14867}
14868
14869
c370783e 14870static PyObject *_wrap_PyControlPoint_base_OnDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
14871 PyObject *resultobj;
14872 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
14873 bool arg2 ;
14874 double arg3 ;
14875 double arg4 ;
14876 int arg5 = (int) 0 ;
14877 int arg6 = (int) 0 ;
14878 PyObject * obj0 = 0 ;
14879 PyObject * obj1 = 0 ;
8edf1c75
RD
14880 PyObject * obj2 = 0 ;
14881 PyObject * obj3 = 0 ;
14882 PyObject * obj4 = 0 ;
14883 PyObject * obj5 = 0 ;
44127b65
RD
14884 char *kwnames[] = {
14885 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14886 };
14887
8edf1c75 14888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyControlPoint_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
14889 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
14890 if (SWIG_arg_fail(1)) SWIG_fail;
14891 {
14892 arg2 = (bool)(SWIG_As_bool(obj1));
14893 if (SWIG_arg_fail(2)) SWIG_fail;
14894 }
14895 {
14896 arg3 = (double)(SWIG_As_double(obj2));
14897 if (SWIG_arg_fail(3)) SWIG_fail;
14898 }
14899 {
14900 arg4 = (double)(SWIG_As_double(obj3));
14901 if (SWIG_arg_fail(4)) SWIG_fail;
14902 }
8edf1c75 14903 if (obj4) {
36ed4f51
RD
14904 {
14905 arg5 = (int)(SWIG_As_int(obj4));
14906 if (SWIG_arg_fail(5)) SWIG_fail;
14907 }
8edf1c75
RD
14908 }
14909 if (obj5) {
36ed4f51
RD
14910 {
14911 arg6 = (int)(SWIG_As_int(obj5));
14912 if (SWIG_arg_fail(6)) SWIG_fail;
14913 }
8edf1c75 14914 }
44127b65
RD
14915 {
14916 PyThreadState* __tstate = wxPyBeginAllowThreads();
14917 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
14918
14919 wxPyEndAllowThreads(__tstate);
14920 if (PyErr_Occurred()) SWIG_fail;
14921 }
14922 Py_INCREF(Py_None); resultobj = Py_None;
14923 return resultobj;
14924 fail:
14925 return NULL;
14926}
14927
14928
c370783e 14929static PyObject *_wrap_PyControlPoint_base_OnBeginDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
14930 PyObject *resultobj;
14931 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
14932 double arg2 ;
14933 double arg3 ;
14934 int arg4 = (int) 0 ;
14935 int arg5 = (int) 0 ;
14936 PyObject * obj0 = 0 ;
8edf1c75
RD
14937 PyObject * obj1 = 0 ;
14938 PyObject * obj2 = 0 ;
14939 PyObject * obj3 = 0 ;
14940 PyObject * obj4 = 0 ;
44127b65
RD
14941 char *kwnames[] = {
14942 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14943 };
14944
8edf1c75 14945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
14946 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
14947 if (SWIG_arg_fail(1)) SWIG_fail;
14948 {
14949 arg2 = (double)(SWIG_As_double(obj1));
14950 if (SWIG_arg_fail(2)) SWIG_fail;
14951 }
14952 {
14953 arg3 = (double)(SWIG_As_double(obj2));
14954 if (SWIG_arg_fail(3)) SWIG_fail;
14955 }
8edf1c75 14956 if (obj3) {
36ed4f51
RD
14957 {
14958 arg4 = (int)(SWIG_As_int(obj3));
14959 if (SWIG_arg_fail(4)) SWIG_fail;
14960 }
8edf1c75
RD
14961 }
14962 if (obj4) {
36ed4f51
RD
14963 {
14964 arg5 = (int)(SWIG_As_int(obj4));
14965 if (SWIG_arg_fail(5)) SWIG_fail;
14966 }
8edf1c75 14967 }
44127b65
RD
14968 {
14969 PyThreadState* __tstate = wxPyBeginAllowThreads();
14970 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
14971
14972 wxPyEndAllowThreads(__tstate);
14973 if (PyErr_Occurred()) SWIG_fail;
14974 }
14975 Py_INCREF(Py_None); resultobj = Py_None;
14976 return resultobj;
14977 fail:
14978 return NULL;
14979}
14980
14981
c370783e 14982static PyObject *_wrap_PyControlPoint_base_OnEndDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
14983 PyObject *resultobj;
14984 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
14985 double arg2 ;
14986 double arg3 ;
14987 int arg4 = (int) 0 ;
14988 int arg5 = (int) 0 ;
14989 PyObject * obj0 = 0 ;
8edf1c75
RD
14990 PyObject * obj1 = 0 ;
14991 PyObject * obj2 = 0 ;
14992 PyObject * obj3 = 0 ;
14993 PyObject * obj4 = 0 ;
44127b65
RD
14994 char *kwnames[] = {
14995 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
14996 };
14997
8edf1c75 14998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyControlPoint_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
14999 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
15000 if (SWIG_arg_fail(1)) SWIG_fail;
15001 {
15002 arg2 = (double)(SWIG_As_double(obj1));
15003 if (SWIG_arg_fail(2)) SWIG_fail;
15004 }
15005 {
15006 arg3 = (double)(SWIG_As_double(obj2));
15007 if (SWIG_arg_fail(3)) SWIG_fail;
15008 }
8edf1c75 15009 if (obj3) {
36ed4f51
RD
15010 {
15011 arg4 = (int)(SWIG_As_int(obj3));
15012 if (SWIG_arg_fail(4)) SWIG_fail;
15013 }
8edf1c75
RD
15014 }
15015 if (obj4) {
36ed4f51
RD
15016 {
15017 arg5 = (int)(SWIG_As_int(obj4));
15018 if (SWIG_arg_fail(5)) SWIG_fail;
15019 }
8edf1c75 15020 }
44127b65
RD
15021 {
15022 PyThreadState* __tstate = wxPyBeginAllowThreads();
15023 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
15024
15025 wxPyEndAllowThreads(__tstate);
15026 if (PyErr_Occurred()) SWIG_fail;
15027 }
15028 Py_INCREF(Py_None); resultobj = Py_None;
15029 return resultobj;
15030 fail:
15031 return NULL;
15032}
15033
15034
c370783e 15035static PyObject *_wrap_PyControlPoint_base_OnDrawOutline(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
15036 PyObject *resultobj;
15037 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
15038 wxDC *arg2 = 0 ;
15039 double arg3 ;
15040 double arg4 ;
15041 double arg5 ;
15042 double arg6 ;
15043 PyObject * obj0 = 0 ;
15044 PyObject * obj1 = 0 ;
8edf1c75
RD
15045 PyObject * obj2 = 0 ;
15046 PyObject * obj3 = 0 ;
15047 PyObject * obj4 = 0 ;
15048 PyObject * obj5 = 0 ;
44127b65
RD
15049 char *kwnames[] = {
15050 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
15051 };
15052
8edf1c75 15053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyControlPoint_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
15054 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
15055 if (SWIG_arg_fail(1)) SWIG_fail;
15056 {
15057 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
15058 if (SWIG_arg_fail(2)) SWIG_fail;
15059 if (arg2 == NULL) {
15060 SWIG_null_ref("wxDC");
15061 }
15062 if (SWIG_arg_fail(2)) SWIG_fail;
15063 }
15064 {
15065 arg3 = (double)(SWIG_As_double(obj2));
15066 if (SWIG_arg_fail(3)) SWIG_fail;
15067 }
15068 {
15069 arg4 = (double)(SWIG_As_double(obj3));
15070 if (SWIG_arg_fail(4)) SWIG_fail;
15071 }
15072 {
15073 arg5 = (double)(SWIG_As_double(obj4));
15074 if (SWIG_arg_fail(5)) SWIG_fail;
15075 }
15076 {
15077 arg6 = (double)(SWIG_As_double(obj5));
15078 if (SWIG_arg_fail(6)) SWIG_fail;
15079 }
8edf1c75 15080 {
2f4c0a16
RD
15081 PyThreadState* __tstate = wxPyBeginAllowThreads();
15082 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
15083
15084 wxPyEndAllowThreads(__tstate);
44127b65
RD
15085 if (PyErr_Occurred()) SWIG_fail;
15086 }
15087 Py_INCREF(Py_None); resultobj = Py_None;
15088 return resultobj;
15089 fail:
15090 return NULL;
15091}
15092
15093
c370783e 15094static PyObject *_wrap_PyControlPoint_base_OnDrawControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
15095 PyObject *resultobj;
15096 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
15097 wxDC *arg2 = 0 ;
15098 PyObject * obj0 = 0 ;
15099 PyObject * obj1 = 0 ;
15100 char *kwnames[] = {
15101 (char *) "self",(char *) "dc", NULL
15102 };
15103
15104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15105 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
15106 if (SWIG_arg_fail(1)) SWIG_fail;
15107 {
15108 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
15109 if (SWIG_arg_fail(2)) SWIG_fail;
15110 if (arg2 == NULL) {
15111 SWIG_null_ref("wxDC");
15112 }
15113 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
15114 }
15115 {
15116 PyThreadState* __tstate = wxPyBeginAllowThreads();
15117 (arg1)->base_OnDrawControlPoints(*arg2);
15118
15119 wxPyEndAllowThreads(__tstate);
15120 if (PyErr_Occurred()) SWIG_fail;
15121 }
15122 Py_INCREF(Py_None); resultobj = Py_None;
15123 return resultobj;
15124 fail:
15125 return NULL;
15126}
15127
15128
c370783e 15129static PyObject *_wrap_PyControlPoint_base_OnEraseControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
15130 PyObject *resultobj;
15131 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
15132 wxDC *arg2 = 0 ;
15133 PyObject * obj0 = 0 ;
15134 PyObject * obj1 = 0 ;
15135 char *kwnames[] = {
15136 (char *) "self",(char *) "dc", NULL
15137 };
15138
15139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControlPoint_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15140 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
15141 if (SWIG_arg_fail(1)) SWIG_fail;
15142 {
15143 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
15144 if (SWIG_arg_fail(2)) SWIG_fail;
15145 if (arg2 == NULL) {
15146 SWIG_null_ref("wxDC");
15147 }
15148 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
15149 }
15150 {
15151 PyThreadState* __tstate = wxPyBeginAllowThreads();
15152 (arg1)->base_OnEraseControlPoints(*arg2);
15153
15154 wxPyEndAllowThreads(__tstate);
15155 if (PyErr_Occurred()) SWIG_fail;
15156 }
15157 Py_INCREF(Py_None); resultobj = Py_None;
15158 return resultobj;
15159 fail:
15160 return NULL;
15161}
15162
15163
c370783e 15164static PyObject *_wrap_PyControlPoint_base_OnMoveLink(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
15165 PyObject *resultobj;
15166 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
15167 wxDC *arg2 = 0 ;
b411df4a 15168 bool arg3 = (bool) true ;
44127b65
RD
15169 PyObject * obj0 = 0 ;
15170 PyObject * obj1 = 0 ;
15171 PyObject * obj2 = 0 ;
15172 char *kwnames[] = {
15173 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
15174 };
15175
15176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyControlPoint_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
15177 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
15178 if (SWIG_arg_fail(1)) SWIG_fail;
15179 {
15180 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
15181 if (SWIG_arg_fail(2)) SWIG_fail;
15182 if (arg2 == NULL) {
15183 SWIG_null_ref("wxDC");
15184 }
15185 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
15186 }
15187 if (obj2) {
36ed4f51
RD
15188 {
15189 arg3 = (bool)(SWIG_As_bool(obj2));
15190 if (SWIG_arg_fail(3)) SWIG_fail;
15191 }
44127b65
RD
15192 }
15193 {
15194 PyThreadState* __tstate = wxPyBeginAllowThreads();
15195 (arg1)->base_OnMoveLink(*arg2,arg3);
15196
15197 wxPyEndAllowThreads(__tstate);
15198 if (PyErr_Occurred()) SWIG_fail;
15199 }
15200 Py_INCREF(Py_None); resultobj = Py_None;
15201 return resultobj;
15202 fail:
15203 return NULL;
15204}
15205
15206
c370783e 15207static PyObject *_wrap_PyControlPoint_base_OnSizingDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
15208 PyObject *resultobj;
15209 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
15210 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
15211 bool arg3 ;
15212 double arg4 ;
15213 double arg5 ;
15214 int arg6 = (int) 0 ;
15215 int arg7 = (int) 0 ;
15216 PyObject * obj0 = 0 ;
15217 PyObject * obj1 = 0 ;
15218 PyObject * obj2 = 0 ;
8edf1c75
RD
15219 PyObject * obj3 = 0 ;
15220 PyObject * obj4 = 0 ;
15221 PyObject * obj5 = 0 ;
15222 PyObject * obj6 = 0 ;
44127b65
RD
15223 char *kwnames[] = {
15224 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15225 };
15226
8edf1c75 15227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyControlPoint_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
15228 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
15229 if (SWIG_arg_fail(1)) SWIG_fail;
15230 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
15231 if (SWIG_arg_fail(2)) SWIG_fail;
15232 {
15233 arg3 = (bool)(SWIG_As_bool(obj2));
15234 if (SWIG_arg_fail(3)) SWIG_fail;
15235 }
15236 {
15237 arg4 = (double)(SWIG_As_double(obj3));
15238 if (SWIG_arg_fail(4)) SWIG_fail;
15239 }
15240 {
15241 arg5 = (double)(SWIG_As_double(obj4));
15242 if (SWIG_arg_fail(5)) SWIG_fail;
15243 }
8edf1c75 15244 if (obj5) {
36ed4f51
RD
15245 {
15246 arg6 = (int)(SWIG_As_int(obj5));
15247 if (SWIG_arg_fail(6)) SWIG_fail;
15248 }
8edf1c75
RD
15249 }
15250 if (obj6) {
36ed4f51
RD
15251 {
15252 arg7 = (int)(SWIG_As_int(obj6));
15253 if (SWIG_arg_fail(7)) SWIG_fail;
15254 }
8edf1c75 15255 }
44127b65
RD
15256 {
15257 PyThreadState* __tstate = wxPyBeginAllowThreads();
15258 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
15259
15260 wxPyEndAllowThreads(__tstate);
15261 if (PyErr_Occurred()) SWIG_fail;
15262 }
15263 Py_INCREF(Py_None); resultobj = Py_None;
15264 return resultobj;
15265 fail:
15266 return NULL;
15267}
15268
15269
c370783e 15270static PyObject *_wrap_PyControlPoint_base_OnSizingBeginDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
15271 PyObject *resultobj;
15272 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
15273 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
15274 double arg3 ;
15275 double arg4 ;
15276 int arg5 = (int) 0 ;
15277 int arg6 = (int) 0 ;
15278 PyObject * obj0 = 0 ;
15279 PyObject * obj1 = 0 ;
8edf1c75
RD
15280 PyObject * obj2 = 0 ;
15281 PyObject * obj3 = 0 ;
15282 PyObject * obj4 = 0 ;
15283 PyObject * obj5 = 0 ;
44127b65
RD
15284 char *kwnames[] = {
15285 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15286 };
15287
8edf1c75 15288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyControlPoint_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
15289 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
15290 if (SWIG_arg_fail(1)) SWIG_fail;
15291 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
15292 if (SWIG_arg_fail(2)) SWIG_fail;
15293 {
15294 arg3 = (double)(SWIG_As_double(obj2));
15295 if (SWIG_arg_fail(3)) SWIG_fail;
15296 }
15297 {
15298 arg4 = (double)(SWIG_As_double(obj3));
15299 if (SWIG_arg_fail(4)) SWIG_fail;
15300 }
8edf1c75 15301 if (obj4) {
36ed4f51
RD
15302 {
15303 arg5 = (int)(SWIG_As_int(obj4));
15304 if (SWIG_arg_fail(5)) SWIG_fail;
15305 }
8edf1c75
RD
15306 }
15307 if (obj5) {
36ed4f51
RD
15308 {
15309 arg6 = (int)(SWIG_As_int(obj5));
15310 if (SWIG_arg_fail(6)) SWIG_fail;
15311 }
8edf1c75 15312 }
44127b65
RD
15313 {
15314 PyThreadState* __tstate = wxPyBeginAllowThreads();
15315 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
15316
15317 wxPyEndAllowThreads(__tstate);
15318 if (PyErr_Occurred()) SWIG_fail;
15319 }
15320 Py_INCREF(Py_None); resultobj = Py_None;
15321 return resultobj;
15322 fail:
15323 return NULL;
15324}
15325
15326
c370783e 15327static PyObject *_wrap_PyControlPoint_base_OnSizingEndDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
15328 PyObject *resultobj;
15329 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
15330 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
15331 double arg3 ;
15332 double arg4 ;
15333 int arg5 = (int) 0 ;
15334 int arg6 = (int) 0 ;
15335 PyObject * obj0 = 0 ;
15336 PyObject * obj1 = 0 ;
8edf1c75
RD
15337 PyObject * obj2 = 0 ;
15338 PyObject * obj3 = 0 ;
15339 PyObject * obj4 = 0 ;
15340 PyObject * obj5 = 0 ;
44127b65
RD
15341 char *kwnames[] = {
15342 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15343 };
15344
8edf1c75 15345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyControlPoint_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
15346 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
15347 if (SWIG_arg_fail(1)) SWIG_fail;
15348 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
15349 if (SWIG_arg_fail(2)) SWIG_fail;
15350 {
15351 arg3 = (double)(SWIG_As_double(obj2));
15352 if (SWIG_arg_fail(3)) SWIG_fail;
15353 }
15354 {
15355 arg4 = (double)(SWIG_As_double(obj3));
15356 if (SWIG_arg_fail(4)) SWIG_fail;
15357 }
8edf1c75 15358 if (obj4) {
36ed4f51
RD
15359 {
15360 arg5 = (int)(SWIG_As_int(obj4));
15361 if (SWIG_arg_fail(5)) SWIG_fail;
15362 }
8edf1c75
RD
15363 }
15364 if (obj5) {
36ed4f51
RD
15365 {
15366 arg6 = (int)(SWIG_As_int(obj5));
15367 if (SWIG_arg_fail(6)) SWIG_fail;
15368 }
8edf1c75 15369 }
44127b65
RD
15370 {
15371 PyThreadState* __tstate = wxPyBeginAllowThreads();
15372 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
15373
15374 wxPyEndAllowThreads(__tstate);
15375 if (PyErr_Occurred()) SWIG_fail;
15376 }
15377 Py_INCREF(Py_None); resultobj = Py_None;
15378 return resultobj;
15379 fail:
15380 return NULL;
15381}
15382
15383
c370783e 15384static PyObject *_wrap_PyControlPoint_base_OnBeginSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
15385 PyObject *resultobj;
15386 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
15387 double arg2 ;
15388 double arg3 ;
15389 PyObject * obj0 = 0 ;
8edf1c75
RD
15390 PyObject * obj1 = 0 ;
15391 PyObject * obj2 = 0 ;
44127b65
RD
15392 char *kwnames[] = {
15393 (char *) "self",(char *) "w",(char *) "h", NULL
15394 };
15395
8edf1c75 15396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControlPoint_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
15397 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
15398 if (SWIG_arg_fail(1)) SWIG_fail;
15399 {
15400 arg2 = (double)(SWIG_As_double(obj1));
15401 if (SWIG_arg_fail(2)) SWIG_fail;
15402 }
15403 {
15404 arg3 = (double)(SWIG_As_double(obj2));
15405 if (SWIG_arg_fail(3)) SWIG_fail;
15406 }
44127b65
RD
15407 {
15408 PyThreadState* __tstate = wxPyBeginAllowThreads();
15409 (arg1)->base_OnBeginSize(arg2,arg3);
15410
15411 wxPyEndAllowThreads(__tstate);
15412 if (PyErr_Occurred()) SWIG_fail;
15413 }
15414 Py_INCREF(Py_None); resultobj = Py_None;
15415 return resultobj;
15416 fail:
15417 return NULL;
15418}
15419
15420
c370783e 15421static PyObject *_wrap_PyControlPoint_base_OnEndSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
15422 PyObject *resultobj;
15423 wxPyControlPoint *arg1 = (wxPyControlPoint *) 0 ;
15424 double arg2 ;
15425 double arg3 ;
15426 PyObject * obj0 = 0 ;
8edf1c75
RD
15427 PyObject * obj1 = 0 ;
15428 PyObject * obj2 = 0 ;
44127b65
RD
15429 char *kwnames[] = {
15430 (char *) "self",(char *) "w",(char *) "h", NULL
15431 };
15432
8edf1c75 15433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControlPoint_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
15434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
15435 if (SWIG_arg_fail(1)) SWIG_fail;
15436 {
15437 arg2 = (double)(SWIG_As_double(obj1));
15438 if (SWIG_arg_fail(2)) SWIG_fail;
15439 }
15440 {
15441 arg3 = (double)(SWIG_As_double(obj2));
15442 if (SWIG_arg_fail(3)) SWIG_fail;
15443 }
44127b65
RD
15444 {
15445 PyThreadState* __tstate = wxPyBeginAllowThreads();
15446 (arg1)->base_OnEndSize(arg2,arg3);
15447
15448 wxPyEndAllowThreads(__tstate);
15449 if (PyErr_Occurred()) SWIG_fail;
15450 }
15451 Py_INCREF(Py_None); resultobj = Py_None;
15452 return resultobj;
15453 fail:
15454 return NULL;
15455}
15456
15457
c370783e 15458static PyObject * PyControlPoint_swigregister(PyObject *, PyObject *args) {
44127b65
RD
15459 PyObject *obj;
15460 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15461 SWIG_TypeClientData(SWIGTYPE_p_wxPyControlPoint, obj);
15462 Py_INCREF(obj);
15463 return Py_BuildValue((char *)"");
15464}
c370783e 15465static PyObject *_wrap_new_PyBitmapShape(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
15466 PyObject *resultobj;
15467 wxPyBitmapShape *result;
15468 char *kwnames[] = {
15469 NULL
15470 };
15471
15472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyBitmapShape",kwnames)) goto fail;
15473 {
15474 PyThreadState* __tstate = wxPyBeginAllowThreads();
15475 result = (wxPyBitmapShape *)new wxPyBitmapShape();
15476
15477 wxPyEndAllowThreads(__tstate);
15478 if (PyErr_Occurred()) SWIG_fail;
15479 }
2f4c0a16 15480 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyBitmapShape, 1);
44127b65
RD
15481 return resultobj;
15482 fail:
15483 return NULL;
15484}
15485
15486
c370783e 15487static PyObject *_wrap_PyBitmapShape__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
15488 PyObject *resultobj;
15489 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
15490 PyObject *arg2 = (PyObject *) 0 ;
15491 PyObject *arg3 = (PyObject *) 0 ;
15492 PyObject * obj0 = 0 ;
15493 PyObject * obj1 = 0 ;
15494 PyObject * obj2 = 0 ;
15495 char *kwnames[] = {
15496 (char *) "self",(char *) "self",(char *) "_class", NULL
15497 };
15498
15499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
15500 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyBitmapShape, SWIG_POINTER_EXCEPTION | 0);
15501 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
15502 arg2 = obj1;
15503 arg3 = obj2;
15504 {
15505 PyThreadState* __tstate = wxPyBeginAllowThreads();
15506 (arg1)->_setCallbackInfo(arg2,arg3);
15507
15508 wxPyEndAllowThreads(__tstate);
15509 if (PyErr_Occurred()) SWIG_fail;
15510 }
15511 Py_INCREF(Py_None); resultobj = Py_None;
15512 return resultobj;
15513 fail:
15514 return NULL;
15515}
15516
15517
c370783e 15518static PyObject *_wrap_PyBitmapShape_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
15519 PyObject *resultobj;
15520 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
15521 wxBitmap *result;
15522 PyObject * obj0 = 0 ;
15523 char *kwnames[] = {
15524 (char *) "self", NULL
15525 };
15526
15527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyBitmapShape_GetBitmap",kwnames,&obj0)) goto fail;
36ed4f51
RD
15528 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyBitmapShape, SWIG_POINTER_EXCEPTION | 0);
15529 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
15530 {
15531 PyThreadState* __tstate = wxPyBeginAllowThreads();
15532 {
15533 wxBitmap &_result_ref = (arg1)->GetBitmap();
15534 result = (wxBitmap *) &_result_ref;
15535 }
15536
15537 wxPyEndAllowThreads(__tstate);
15538 if (PyErr_Occurred()) SWIG_fail;
15539 }
ce7284bd
RD
15540 {
15541 wxBitmap* resultptr = new wxBitmap(*result);
15542 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
15543 }
44127b65
RD
15544 return resultobj;
15545 fail:
15546 return NULL;
15547}
15548
15549
c370783e 15550static PyObject *_wrap_PyBitmapShape_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
15551 PyObject *resultobj;
15552 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
15553 wxString result;
15554 PyObject * obj0 = 0 ;
15555 char *kwnames[] = {
15556 (char *) "self", NULL
15557 };
15558
15559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyBitmapShape_GetFilename",kwnames,&obj0)) goto fail;
36ed4f51
RD
15560 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyBitmapShape, SWIG_POINTER_EXCEPTION | 0);
15561 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
15562 {
15563 PyThreadState* __tstate = wxPyBeginAllowThreads();
15564 result = (arg1)->GetFilename();
15565
15566 wxPyEndAllowThreads(__tstate);
15567 if (PyErr_Occurred()) SWIG_fail;
15568 }
15569 {
15570#if wxUSE_UNICODE
15571 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15572#else
15573 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15574#endif
15575 }
15576 return resultobj;
15577 fail:
15578 return NULL;
15579}
15580
15581
c370783e 15582static PyObject *_wrap_PyBitmapShape_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
15583 PyObject *resultobj;
15584 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
15585 wxBitmap *arg2 = 0 ;
15586 PyObject * obj0 = 0 ;
15587 PyObject * obj1 = 0 ;
15588 char *kwnames[] = {
15589 (char *) "self",(char *) "bitmap", NULL
15590 };
15591
15592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15593 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyBitmapShape, SWIG_POINTER_EXCEPTION | 0);
15594 if (SWIG_arg_fail(1)) SWIG_fail;
15595 {
15596 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
15597 if (SWIG_arg_fail(2)) SWIG_fail;
15598 if (arg2 == NULL) {
15599 SWIG_null_ref("wxBitmap");
15600 }
15601 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
15602 }
15603 {
15604 PyThreadState* __tstate = wxPyBeginAllowThreads();
15605 (arg1)->SetBitmap((wxBitmap const &)*arg2);
15606
15607 wxPyEndAllowThreads(__tstate);
15608 if (PyErr_Occurred()) SWIG_fail;
15609 }
15610 Py_INCREF(Py_None); resultobj = Py_None;
15611 return resultobj;
15612 fail:
15613 return NULL;
15614}
15615
15616
c370783e 15617static PyObject *_wrap_PyBitmapShape_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
15618 PyObject *resultobj;
15619 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
15620 wxString *arg2 = 0 ;
b411df4a 15621 bool temp2 = false ;
44127b65
RD
15622 PyObject * obj0 = 0 ;
15623 PyObject * obj1 = 0 ;
15624 char *kwnames[] = {
15625 (char *) "self",(char *) "filename", NULL
15626 };
15627
15628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_SetFilename",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15629 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyBitmapShape, SWIG_POINTER_EXCEPTION | 0);
15630 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
15631 {
15632 arg2 = wxString_in_helper(obj1);
15633 if (arg2 == NULL) SWIG_fail;
b411df4a 15634 temp2 = true;
44127b65
RD
15635 }
15636 {
15637 PyThreadState* __tstate = wxPyBeginAllowThreads();
15638 (arg1)->SetFilename((wxString const &)*arg2);
15639
15640 wxPyEndAllowThreads(__tstate);
15641 if (PyErr_Occurred()) SWIG_fail;
15642 }
15643 Py_INCREF(Py_None); resultobj = Py_None;
15644 {
15645 if (temp2)
15646 delete arg2;
15647 }
15648 return resultobj;
15649 fail:
15650 {
15651 if (temp2)
15652 delete arg2;
15653 }
15654 return NULL;
15655}
15656
15657
c370783e 15658static PyObject *_wrap_PyBitmapShape_base_OnDelete(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
15659 PyObject *resultobj;
15660 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
15661 PyObject * obj0 = 0 ;
15662 char *kwnames[] = {
15663 (char *) "self", NULL
15664 };
15665
15666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyBitmapShape_base_OnDelete",kwnames,&obj0)) goto fail;
36ed4f51
RD
15667 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyBitmapShape, SWIG_POINTER_EXCEPTION | 0);
15668 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
15669 {
15670 PyThreadState* __tstate = wxPyBeginAllowThreads();
15671 (arg1)->base_OnDelete();
15672
15673 wxPyEndAllowThreads(__tstate);
15674 if (PyErr_Occurred()) SWIG_fail;
15675 }
15676 Py_INCREF(Py_None); resultobj = Py_None;
15677 return resultobj;
15678 fail:
15679 return NULL;
15680}
15681
15682
c370783e 15683static PyObject *_wrap_PyBitmapShape_base_OnDraw(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
15684 PyObject *resultobj;
15685 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
15686 wxDC *arg2 = 0 ;
15687 PyObject * obj0 = 0 ;
15688 PyObject * obj1 = 0 ;
15689 char *kwnames[] = {
15690 (char *) "self",(char *) "dc", NULL
15691 };
15692
15693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15694 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyBitmapShape, SWIG_POINTER_EXCEPTION | 0);
15695 if (SWIG_arg_fail(1)) SWIG_fail;
15696 {
15697 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
15698 if (SWIG_arg_fail(2)) SWIG_fail;
15699 if (arg2 == NULL) {
15700 SWIG_null_ref("wxDC");
15701 }
15702 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
15703 }
15704 {
15705 PyThreadState* __tstate = wxPyBeginAllowThreads();
15706 (arg1)->base_OnDraw(*arg2);
15707
15708 wxPyEndAllowThreads(__tstate);
15709 if (PyErr_Occurred()) SWIG_fail;
15710 }
15711 Py_INCREF(Py_None); resultobj = Py_None;
15712 return resultobj;
15713 fail:
15714 return NULL;
15715}
15716
15717
c370783e 15718static PyObject *_wrap_PyBitmapShape_base_OnDrawContents(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
15719 PyObject *resultobj;
15720 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
15721 wxDC *arg2 = 0 ;
15722 PyObject * obj0 = 0 ;
15723 PyObject * obj1 = 0 ;
15724 char *kwnames[] = {
15725 (char *) "self",(char *) "dc", NULL
15726 };
15727
15728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15729 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyBitmapShape, SWIG_POINTER_EXCEPTION | 0);
15730 if (SWIG_arg_fail(1)) SWIG_fail;
15731 {
15732 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
15733 if (SWIG_arg_fail(2)) SWIG_fail;
15734 if (arg2 == NULL) {
15735 SWIG_null_ref("wxDC");
15736 }
15737 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
15738 }
15739 {
15740 PyThreadState* __tstate = wxPyBeginAllowThreads();
15741 (arg1)->base_OnDrawContents(*arg2);
15742
15743 wxPyEndAllowThreads(__tstate);
15744 if (PyErr_Occurred()) SWIG_fail;
15745 }
15746 Py_INCREF(Py_None); resultobj = Py_None;
15747 return resultobj;
15748 fail:
15749 return NULL;
15750}
15751
15752
c370783e 15753static PyObject *_wrap_PyBitmapShape_base_OnDrawBranches(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
15754 PyObject *resultobj;
15755 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
15756 wxDC *arg2 = 0 ;
15757 bool arg3 = (bool) FALSE ;
15758 PyObject * obj0 = 0 ;
15759 PyObject * obj1 = 0 ;
15760 PyObject * obj2 = 0 ;
15761 char *kwnames[] = {
15762 (char *) "self",(char *) "dc",(char *) "erase", NULL
15763 };
15764
15765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyBitmapShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
15766 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyBitmapShape, SWIG_POINTER_EXCEPTION | 0);
15767 if (SWIG_arg_fail(1)) SWIG_fail;
15768 {
15769 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
15770 if (SWIG_arg_fail(2)) SWIG_fail;
15771 if (arg2 == NULL) {
15772 SWIG_null_ref("wxDC");
15773 }
15774 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
15775 }
15776 if (obj2) {
36ed4f51
RD
15777 {
15778 arg3 = (bool)(SWIG_As_bool(obj2));
15779 if (SWIG_arg_fail(3)) SWIG_fail;
15780 }
44127b65
RD
15781 }
15782 {
15783 PyThreadState* __tstate = wxPyBeginAllowThreads();
15784 (arg1)->base_OnDrawBranches(*arg2,arg3);
15785
15786 wxPyEndAllowThreads(__tstate);
15787 if (PyErr_Occurred()) SWIG_fail;
15788 }
15789 Py_INCREF(Py_None); resultobj = Py_None;
15790 return resultobj;
15791 fail:
15792 return NULL;
15793}
15794
15795
c370783e 15796static PyObject *_wrap_PyBitmapShape_base_OnMoveLinks(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
15797 PyObject *resultobj;
15798 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
15799 wxDC *arg2 = 0 ;
15800 PyObject * obj0 = 0 ;
15801 PyObject * obj1 = 0 ;
15802 char *kwnames[] = {
15803 (char *) "self",(char *) "dc", NULL
15804 };
15805
15806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15807 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyBitmapShape, SWIG_POINTER_EXCEPTION | 0);
15808 if (SWIG_arg_fail(1)) SWIG_fail;
15809 {
15810 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
15811 if (SWIG_arg_fail(2)) SWIG_fail;
15812 if (arg2 == NULL) {
15813 SWIG_null_ref("wxDC");
15814 }
15815 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
15816 }
15817 {
15818 PyThreadState* __tstate = wxPyBeginAllowThreads();
15819 (arg1)->base_OnMoveLinks(*arg2);
15820
15821 wxPyEndAllowThreads(__tstate);
15822 if (PyErr_Occurred()) SWIG_fail;
15823 }
15824 Py_INCREF(Py_None); resultobj = Py_None;
15825 return resultobj;
15826 fail:
15827 return NULL;
15828}
15829
15830
c370783e 15831static PyObject *_wrap_PyBitmapShape_base_OnErase(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
15832 PyObject *resultobj;
15833 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
15834 wxDC *arg2 = 0 ;
15835 PyObject * obj0 = 0 ;
15836 PyObject * obj1 = 0 ;
15837 char *kwnames[] = {
15838 (char *) "self",(char *) "dc", NULL
15839 };
15840
15841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15842 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyBitmapShape, SWIG_POINTER_EXCEPTION | 0);
15843 if (SWIG_arg_fail(1)) SWIG_fail;
15844 {
15845 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
15846 if (SWIG_arg_fail(2)) SWIG_fail;
15847 if (arg2 == NULL) {
15848 SWIG_null_ref("wxDC");
15849 }
15850 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
15851 }
15852 {
15853 PyThreadState* __tstate = wxPyBeginAllowThreads();
15854 (arg1)->base_OnErase(*arg2);
15855
15856 wxPyEndAllowThreads(__tstate);
15857 if (PyErr_Occurred()) SWIG_fail;
15858 }
15859 Py_INCREF(Py_None); resultobj = Py_None;
15860 return resultobj;
15861 fail:
15862 return NULL;
15863}
15864
15865
c370783e 15866static PyObject *_wrap_PyBitmapShape_base_OnEraseContents(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
15867 PyObject *resultobj;
15868 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
15869 wxDC *arg2 = 0 ;
15870 PyObject * obj0 = 0 ;
15871 PyObject * obj1 = 0 ;
15872 char *kwnames[] = {
15873 (char *) "self",(char *) "dc", NULL
15874 };
15875
15876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15877 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyBitmapShape, SWIG_POINTER_EXCEPTION | 0);
15878 if (SWIG_arg_fail(1)) SWIG_fail;
15879 {
15880 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
15881 if (SWIG_arg_fail(2)) SWIG_fail;
15882 if (arg2 == NULL) {
15883 SWIG_null_ref("wxDC");
15884 }
15885 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
15886 }
15887 {
15888 PyThreadState* __tstate = wxPyBeginAllowThreads();
15889 (arg1)->base_OnEraseContents(*arg2);
15890
15891 wxPyEndAllowThreads(__tstate);
15892 if (PyErr_Occurred()) SWIG_fail;
15893 }
15894 Py_INCREF(Py_None); resultobj = Py_None;
15895 return resultobj;
15896 fail:
15897 return NULL;
15898}
15899
15900
c370783e 15901static PyObject *_wrap_PyBitmapShape_base_OnHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
15902 PyObject *resultobj;
15903 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
15904 wxDC *arg2 = 0 ;
15905 PyObject * obj0 = 0 ;
15906 PyObject * obj1 = 0 ;
15907 char *kwnames[] = {
15908 (char *) "self",(char *) "dc", NULL
15909 };
15910
15911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyBitmapShape, SWIG_POINTER_EXCEPTION | 0);
15913 if (SWIG_arg_fail(1)) SWIG_fail;
15914 {
15915 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
15916 if (SWIG_arg_fail(2)) SWIG_fail;
15917 if (arg2 == NULL) {
15918 SWIG_null_ref("wxDC");
15919 }
15920 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
15921 }
15922 {
15923 PyThreadState* __tstate = wxPyBeginAllowThreads();
15924 (arg1)->base_OnHighlight(*arg2);
15925
15926 wxPyEndAllowThreads(__tstate);
15927 if (PyErr_Occurred()) SWIG_fail;
15928 }
15929 Py_INCREF(Py_None); resultobj = Py_None;
15930 return resultobj;
15931 fail:
15932 return NULL;
15933}
15934
15935
c370783e 15936static PyObject *_wrap_PyBitmapShape_base_OnLeftClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
15937 PyObject *resultobj;
15938 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
15939 double arg2 ;
15940 double arg3 ;
15941 int arg4 = (int) 0 ;
15942 int arg5 = (int) 0 ;
15943 PyObject * obj0 = 0 ;
8edf1c75
RD
15944 PyObject * obj1 = 0 ;
15945 PyObject * obj2 = 0 ;
15946 PyObject * obj3 = 0 ;
15947 PyObject * obj4 = 0 ;
44127b65
RD
15948 char *kwnames[] = {
15949 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
15950 };
15951
8edf1c75 15952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
15953 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyBitmapShape, SWIG_POINTER_EXCEPTION | 0);
15954 if (SWIG_arg_fail(1)) SWIG_fail;
15955 {
15956 arg2 = (double)(SWIG_As_double(obj1));
15957 if (SWIG_arg_fail(2)) SWIG_fail;
15958 }
15959 {
15960 arg3 = (double)(SWIG_As_double(obj2));
15961 if (SWIG_arg_fail(3)) SWIG_fail;
15962 }
8edf1c75 15963 if (obj3) {
36ed4f51
RD
15964 {
15965 arg4 = (int)(SWIG_As_int(obj3));
15966 if (SWIG_arg_fail(4)) SWIG_fail;
15967 }
8edf1c75
RD
15968 }
15969 if (obj4) {
36ed4f51
RD
15970 {
15971 arg5 = (int)(SWIG_As_int(obj4));
15972 if (SWIG_arg_fail(5)) SWIG_fail;
15973 }
8edf1c75 15974 }
44127b65
RD
15975 {
15976 PyThreadState* __tstate = wxPyBeginAllowThreads();
15977 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
15978
15979 wxPyEndAllowThreads(__tstate);
15980 if (PyErr_Occurred()) SWIG_fail;
15981 }
15982 Py_INCREF(Py_None); resultobj = Py_None;
15983 return resultobj;
15984 fail:
15985 return NULL;
15986}
15987
15988
c370783e 15989static PyObject *_wrap_PyBitmapShape_base_OnLeftDoubleClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
15990 PyObject *resultobj;
15991 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
15992 double arg2 ;
15993 double arg3 ;
15994 int arg4 = (int) 0 ;
15995 int arg5 = (int) 0 ;
15996 PyObject * obj0 = 0 ;
8edf1c75
RD
15997 PyObject * obj1 = 0 ;
15998 PyObject * obj2 = 0 ;
15999 PyObject * obj3 = 0 ;
16000 PyObject * obj4 = 0 ;
44127b65
RD
16001 char *kwnames[] = {
16002 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16003 };
16004
8edf1c75 16005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
16006 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyBitmapShape, SWIG_POINTER_EXCEPTION | 0);
16007 if (SWIG_arg_fail(1)) SWIG_fail;
16008 {
16009 arg2 = (double)(SWIG_As_double(obj1));
16010 if (SWIG_arg_fail(2)) SWIG_fail;
16011 }
16012 {
16013 arg3 = (double)(SWIG_As_double(obj2));
16014 if (SWIG_arg_fail(3)) SWIG_fail;
16015 }
8edf1c75 16016 if (obj3) {
36ed4f51
RD
16017 {
16018 arg4 = (int)(SWIG_As_int(obj3));
16019 if (SWIG_arg_fail(4)) SWIG_fail;
16020 }
8edf1c75
RD
16021 }
16022 if (obj4) {
36ed4f51
RD
16023 {
16024 arg5 = (int)(SWIG_As_int(obj4));
16025 if (SWIG_arg_fail(5)) SWIG_fail;
16026 }
8edf1c75 16027 }
44127b65
RD
16028 {
16029 PyThreadState* __tstate = wxPyBeginAllowThreads();
16030 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
16031
16032 wxPyEndAllowThreads(__tstate);
16033 if (PyErr_Occurred()) SWIG_fail;
16034 }
16035 Py_INCREF(Py_None); resultobj = Py_None;
16036 return resultobj;
16037 fail:
16038 return NULL;
16039}
16040
16041
c370783e 16042static PyObject *_wrap_PyBitmapShape_base_OnRightClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
16043 PyObject *resultobj;
16044 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
16045 double arg2 ;
16046 double arg3 ;
16047 int arg4 = (int) 0 ;
16048 int arg5 = (int) 0 ;
16049 PyObject * obj0 = 0 ;
8edf1c75
RD
16050 PyObject * obj1 = 0 ;
16051 PyObject * obj2 = 0 ;
16052 PyObject * obj3 = 0 ;
16053 PyObject * obj4 = 0 ;
44127b65
RD
16054 char *kwnames[] = {
16055 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16056 };
16057
8edf1c75 16058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
16059 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyBitmapShape, SWIG_POINTER_EXCEPTION | 0);
16060 if (SWIG_arg_fail(1)) SWIG_fail;
16061 {
16062 arg2 = (double)(SWIG_As_double(obj1));
16063 if (SWIG_arg_fail(2)) SWIG_fail;
16064 }
16065 {
16066 arg3 = (double)(SWIG_As_double(obj2));
16067 if (SWIG_arg_fail(3)) SWIG_fail;
16068 }
8edf1c75 16069 if (obj3) {
36ed4f51
RD
16070 {
16071 arg4 = (int)(SWIG_As_int(obj3));
16072 if (SWIG_arg_fail(4)) SWIG_fail;
16073 }
8edf1c75
RD
16074 }
16075 if (obj4) {
36ed4f51
RD
16076 {
16077 arg5 = (int)(SWIG_As_int(obj4));
16078 if (SWIG_arg_fail(5)) SWIG_fail;
16079 }
8edf1c75 16080 }
44127b65
RD
16081 {
16082 PyThreadState* __tstate = wxPyBeginAllowThreads();
16083 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
16084
16085 wxPyEndAllowThreads(__tstate);
16086 if (PyErr_Occurred()) SWIG_fail;
16087 }
16088 Py_INCREF(Py_None); resultobj = Py_None;
16089 return resultobj;
16090 fail:
16091 return NULL;
16092}
16093
16094
c370783e 16095static PyObject *_wrap_PyBitmapShape_base_OnSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
16096 PyObject *resultobj;
16097 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
16098 double arg2 ;
16099 double arg3 ;
16100 PyObject * obj0 = 0 ;
8edf1c75
RD
16101 PyObject * obj1 = 0 ;
16102 PyObject * obj2 = 0 ;
44127b65
RD
16103 char *kwnames[] = {
16104 (char *) "self",(char *) "x",(char *) "y", NULL
16105 };
16106
8edf1c75 16107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
16108 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyBitmapShape, SWIG_POINTER_EXCEPTION | 0);
16109 if (SWIG_arg_fail(1)) SWIG_fail;
16110 {
16111 arg2 = (double)(SWIG_As_double(obj1));
16112 if (SWIG_arg_fail(2)) SWIG_fail;
16113 }
16114 {
16115 arg3 = (double)(SWIG_As_double(obj2));
16116 if (SWIG_arg_fail(3)) SWIG_fail;
16117 }
44127b65
RD
16118 {
16119 PyThreadState* __tstate = wxPyBeginAllowThreads();
16120 (arg1)->base_OnSize(arg2,arg3);
16121
16122 wxPyEndAllowThreads(__tstate);
16123 if (PyErr_Occurred()) SWIG_fail;
16124 }
16125 Py_INCREF(Py_None); resultobj = Py_None;
16126 return resultobj;
16127 fail:
16128 return NULL;
16129}
16130
16131
c370783e 16132static PyObject *_wrap_PyBitmapShape_base_OnMovePre(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
16133 PyObject *resultobj;
16134 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
16135 wxDC *arg2 = 0 ;
16136 double arg3 ;
16137 double arg4 ;
16138 double arg5 ;
16139 double arg6 ;
b411df4a 16140 bool arg7 = (bool) true ;
44127b65
RD
16141 bool result;
16142 PyObject * obj0 = 0 ;
16143 PyObject * obj1 = 0 ;
8edf1c75
RD
16144 PyObject * obj2 = 0 ;
16145 PyObject * obj3 = 0 ;
16146 PyObject * obj4 = 0 ;
16147 PyObject * obj5 = 0 ;
44127b65
RD
16148 PyObject * obj6 = 0 ;
16149 char *kwnames[] = {
16150 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
16151 };
16152
8edf1c75 16153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyBitmapShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
16154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyBitmapShape, SWIG_POINTER_EXCEPTION | 0);
16155 if (SWIG_arg_fail(1)) SWIG_fail;
16156 {
16157 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
16158 if (SWIG_arg_fail(2)) SWIG_fail;
16159 if (arg2 == NULL) {
16160 SWIG_null_ref("wxDC");
16161 }
16162 if (SWIG_arg_fail(2)) SWIG_fail;
16163 }
16164 {
16165 arg3 = (double)(SWIG_As_double(obj2));
16166 if (SWIG_arg_fail(3)) SWIG_fail;
16167 }
16168 {
16169 arg4 = (double)(SWIG_As_double(obj3));
16170 if (SWIG_arg_fail(4)) SWIG_fail;
16171 }
16172 {
16173 arg5 = (double)(SWIG_As_double(obj4));
16174 if (SWIG_arg_fail(5)) SWIG_fail;
16175 }
16176 {
16177 arg6 = (double)(SWIG_As_double(obj5));
16178 if (SWIG_arg_fail(6)) SWIG_fail;
16179 }
44127b65 16180 if (obj6) {
36ed4f51
RD
16181 {
16182 arg7 = (bool)(SWIG_As_bool(obj6));
16183 if (SWIG_arg_fail(7)) SWIG_fail;
16184 }
44127b65
RD
16185 }
16186 {
16187 PyThreadState* __tstate = wxPyBeginAllowThreads();
16188 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
16189
16190 wxPyEndAllowThreads(__tstate);
16191 if (PyErr_Occurred()) SWIG_fail;
16192 }
fbc46b20
RD
16193 {
16194 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16195 }
44127b65
RD
16196 return resultobj;
16197 fail:
16198 return NULL;
16199}
16200
16201
c370783e 16202static PyObject *_wrap_PyBitmapShape_base_OnMovePost(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
16203 PyObject *resultobj;
16204 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
16205 wxDC *arg2 = 0 ;
16206 double arg3 ;
16207 double arg4 ;
16208 double arg5 ;
16209 double arg6 ;
b411df4a 16210 bool arg7 = (bool) true ;
44127b65
RD
16211 PyObject * obj0 = 0 ;
16212 PyObject * obj1 = 0 ;
8edf1c75
RD
16213 PyObject * obj2 = 0 ;
16214 PyObject * obj3 = 0 ;
16215 PyObject * obj4 = 0 ;
16216 PyObject * obj5 = 0 ;
44127b65
RD
16217 PyObject * obj6 = 0 ;
16218 char *kwnames[] = {
16219 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
16220 };
16221
8edf1c75 16222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyBitmapShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
16223 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyBitmapShape, SWIG_POINTER_EXCEPTION | 0);
16224 if (SWIG_arg_fail(1)) SWIG_fail;
16225 {
16226 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
16227 if (SWIG_arg_fail(2)) SWIG_fail;
16228 if (arg2 == NULL) {
16229 SWIG_null_ref("wxDC");
16230 }
16231 if (SWIG_arg_fail(2)) SWIG_fail;
16232 }
16233 {
16234 arg3 = (double)(SWIG_As_double(obj2));
16235 if (SWIG_arg_fail(3)) SWIG_fail;
16236 }
16237 {
16238 arg4 = (double)(SWIG_As_double(obj3));
16239 if (SWIG_arg_fail(4)) SWIG_fail;
16240 }
16241 {
16242 arg5 = (double)(SWIG_As_double(obj4));
16243 if (SWIG_arg_fail(5)) SWIG_fail;
16244 }
16245 {
16246 arg6 = (double)(SWIG_As_double(obj5));
16247 if (SWIG_arg_fail(6)) SWIG_fail;
16248 }
44127b65 16249 if (obj6) {
36ed4f51
RD
16250 {
16251 arg7 = (bool)(SWIG_As_bool(obj6));
16252 if (SWIG_arg_fail(7)) SWIG_fail;
16253 }
44127b65
RD
16254 }
16255 {
16256 PyThreadState* __tstate = wxPyBeginAllowThreads();
16257 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
16258
16259 wxPyEndAllowThreads(__tstate);
16260 if (PyErr_Occurred()) SWIG_fail;
16261 }
16262 Py_INCREF(Py_None); resultobj = Py_None;
16263 return resultobj;
16264 fail:
16265 return NULL;
16266}
16267
16268
c370783e 16269static PyObject *_wrap_PyBitmapShape_base_OnDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
16270 PyObject *resultobj;
16271 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
16272 bool arg2 ;
16273 double arg3 ;
16274 double arg4 ;
16275 int arg5 = (int) 0 ;
16276 int arg6 = (int) 0 ;
16277 PyObject * obj0 = 0 ;
16278 PyObject * obj1 = 0 ;
8edf1c75
RD
16279 PyObject * obj2 = 0 ;
16280 PyObject * obj3 = 0 ;
16281 PyObject * obj4 = 0 ;
16282 PyObject * obj5 = 0 ;
44127b65
RD
16283 char *kwnames[] = {
16284 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16285 };
16286
8edf1c75 16287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyBitmapShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
16288 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyBitmapShape, SWIG_POINTER_EXCEPTION | 0);
16289 if (SWIG_arg_fail(1)) SWIG_fail;
16290 {
16291 arg2 = (bool)(SWIG_As_bool(obj1));
16292 if (SWIG_arg_fail(2)) SWIG_fail;
16293 }
16294 {
16295 arg3 = (double)(SWIG_As_double(obj2));
16296 if (SWIG_arg_fail(3)) SWIG_fail;
16297 }
16298 {
16299 arg4 = (double)(SWIG_As_double(obj3));
16300 if (SWIG_arg_fail(4)) SWIG_fail;
16301 }
8edf1c75 16302 if (obj4) {
36ed4f51
RD
16303 {
16304 arg5 = (int)(SWIG_As_int(obj4));
16305 if (SWIG_arg_fail(5)) SWIG_fail;
16306 }
8edf1c75
RD
16307 }
16308 if (obj5) {
36ed4f51
RD
16309 {
16310 arg6 = (int)(SWIG_As_int(obj5));
16311 if (SWIG_arg_fail(6)) SWIG_fail;
16312 }
8edf1c75 16313 }
44127b65
RD
16314 {
16315 PyThreadState* __tstate = wxPyBeginAllowThreads();
16316 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
16317
16318 wxPyEndAllowThreads(__tstate);
16319 if (PyErr_Occurred()) SWIG_fail;
16320 }
16321 Py_INCREF(Py_None); resultobj = Py_None;
16322 return resultobj;
16323 fail:
16324 return NULL;
16325}
16326
16327
c370783e 16328static PyObject *_wrap_PyBitmapShape_base_OnBeginDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
16329 PyObject *resultobj;
16330 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
16331 double arg2 ;
16332 double arg3 ;
16333 int arg4 = (int) 0 ;
16334 int arg5 = (int) 0 ;
16335 PyObject * obj0 = 0 ;
8edf1c75
RD
16336 PyObject * obj1 = 0 ;
16337 PyObject * obj2 = 0 ;
16338 PyObject * obj3 = 0 ;
16339 PyObject * obj4 = 0 ;
44127b65
RD
16340 char *kwnames[] = {
16341 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16342 };
16343
8edf1c75 16344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
16345 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyBitmapShape, SWIG_POINTER_EXCEPTION | 0);
16346 if (SWIG_arg_fail(1)) SWIG_fail;
16347 {
16348 arg2 = (double)(SWIG_As_double(obj1));
16349 if (SWIG_arg_fail(2)) SWIG_fail;
16350 }
16351 {
16352 arg3 = (double)(SWIG_As_double(obj2));
16353 if (SWIG_arg_fail(3)) SWIG_fail;
16354 }
8edf1c75 16355 if (obj3) {
36ed4f51
RD
16356 {
16357 arg4 = (int)(SWIG_As_int(obj3));
16358 if (SWIG_arg_fail(4)) SWIG_fail;
16359 }
8edf1c75
RD
16360 }
16361 if (obj4) {
36ed4f51
RD
16362 {
16363 arg5 = (int)(SWIG_As_int(obj4));
16364 if (SWIG_arg_fail(5)) SWIG_fail;
16365 }
8edf1c75 16366 }
44127b65
RD
16367 {
16368 PyThreadState* __tstate = wxPyBeginAllowThreads();
16369 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
16370
16371 wxPyEndAllowThreads(__tstate);
16372 if (PyErr_Occurred()) SWIG_fail;
16373 }
16374 Py_INCREF(Py_None); resultobj = Py_None;
16375 return resultobj;
16376 fail:
16377 return NULL;
16378}
16379
16380
c370783e 16381static PyObject *_wrap_PyBitmapShape_base_OnEndDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
16382 PyObject *resultobj;
16383 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
16384 double arg2 ;
16385 double arg3 ;
16386 int arg4 = (int) 0 ;
16387 int arg5 = (int) 0 ;
16388 PyObject * obj0 = 0 ;
8edf1c75
RD
16389 PyObject * obj1 = 0 ;
16390 PyObject * obj2 = 0 ;
16391 PyObject * obj3 = 0 ;
16392 PyObject * obj4 = 0 ;
44127b65
RD
16393 char *kwnames[] = {
16394 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16395 };
16396
8edf1c75 16397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
16398 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyBitmapShape, SWIG_POINTER_EXCEPTION | 0);
16399 if (SWIG_arg_fail(1)) SWIG_fail;
16400 {
16401 arg2 = (double)(SWIG_As_double(obj1));
16402 if (SWIG_arg_fail(2)) SWIG_fail;
16403 }
16404 {
16405 arg3 = (double)(SWIG_As_double(obj2));
16406 if (SWIG_arg_fail(3)) SWIG_fail;
16407 }
8edf1c75 16408 if (obj3) {
36ed4f51
RD
16409 {
16410 arg4 = (int)(SWIG_As_int(obj3));
16411 if (SWIG_arg_fail(4)) SWIG_fail;
16412 }
8edf1c75
RD
16413 }
16414 if (obj4) {
36ed4f51
RD
16415 {
16416 arg5 = (int)(SWIG_As_int(obj4));
16417 if (SWIG_arg_fail(5)) SWIG_fail;
16418 }
8edf1c75 16419 }
44127b65
RD
16420 {
16421 PyThreadState* __tstate = wxPyBeginAllowThreads();
16422 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
16423
16424 wxPyEndAllowThreads(__tstate);
16425 if (PyErr_Occurred()) SWIG_fail;
16426 }
16427 Py_INCREF(Py_None); resultobj = Py_None;
16428 return resultobj;
16429 fail:
16430 return NULL;
16431}
16432
16433
c370783e 16434static PyObject *_wrap_PyBitmapShape_base_OnDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
16435 PyObject *resultobj;
16436 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
16437 bool arg2 ;
16438 double arg3 ;
16439 double arg4 ;
16440 int arg5 = (int) 0 ;
16441 int arg6 = (int) 0 ;
16442 PyObject * obj0 = 0 ;
16443 PyObject * obj1 = 0 ;
8edf1c75
RD
16444 PyObject * obj2 = 0 ;
16445 PyObject * obj3 = 0 ;
16446 PyObject * obj4 = 0 ;
16447 PyObject * obj5 = 0 ;
44127b65
RD
16448 char *kwnames[] = {
16449 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16450 };
16451
8edf1c75 16452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyBitmapShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
16453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyBitmapShape, SWIG_POINTER_EXCEPTION | 0);
16454 if (SWIG_arg_fail(1)) SWIG_fail;
16455 {
16456 arg2 = (bool)(SWIG_As_bool(obj1));
16457 if (SWIG_arg_fail(2)) SWIG_fail;
16458 }
16459 {
16460 arg3 = (double)(SWIG_As_double(obj2));
16461 if (SWIG_arg_fail(3)) SWIG_fail;
16462 }
16463 {
16464 arg4 = (double)(SWIG_As_double(obj3));
16465 if (SWIG_arg_fail(4)) SWIG_fail;
16466 }
8edf1c75 16467 if (obj4) {
36ed4f51
RD
16468 {
16469 arg5 = (int)(SWIG_As_int(obj4));
16470 if (SWIG_arg_fail(5)) SWIG_fail;
16471 }
8edf1c75
RD
16472 }
16473 if (obj5) {
36ed4f51
RD
16474 {
16475 arg6 = (int)(SWIG_As_int(obj5));
16476 if (SWIG_arg_fail(6)) SWIG_fail;
16477 }
8edf1c75 16478 }
44127b65
RD
16479 {
16480 PyThreadState* __tstate = wxPyBeginAllowThreads();
16481 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
16482
16483 wxPyEndAllowThreads(__tstate);
16484 if (PyErr_Occurred()) SWIG_fail;
16485 }
16486 Py_INCREF(Py_None); resultobj = Py_None;
16487 return resultobj;
16488 fail:
16489 return NULL;
16490}
16491
16492
c370783e 16493static PyObject *_wrap_PyBitmapShape_base_OnBeginDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
16494 PyObject *resultobj;
16495 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
16496 double arg2 ;
16497 double arg3 ;
16498 int arg4 = (int) 0 ;
16499 int arg5 = (int) 0 ;
16500 PyObject * obj0 = 0 ;
8edf1c75
RD
16501 PyObject * obj1 = 0 ;
16502 PyObject * obj2 = 0 ;
16503 PyObject * obj3 = 0 ;
16504 PyObject * obj4 = 0 ;
44127b65
RD
16505 char *kwnames[] = {
16506 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16507 };
16508
8edf1c75 16509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
16510 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyBitmapShape, SWIG_POINTER_EXCEPTION | 0);
16511 if (SWIG_arg_fail(1)) SWIG_fail;
16512 {
16513 arg2 = (double)(SWIG_As_double(obj1));
16514 if (SWIG_arg_fail(2)) SWIG_fail;
16515 }
16516 {
16517 arg3 = (double)(SWIG_As_double(obj2));
16518 if (SWIG_arg_fail(3)) SWIG_fail;
16519 }
8edf1c75 16520 if (obj3) {
36ed4f51
RD
16521 {
16522 arg4 = (int)(SWIG_As_int(obj3));
16523 if (SWIG_arg_fail(4)) SWIG_fail;
16524 }
8edf1c75
RD
16525 }
16526 if (obj4) {
36ed4f51
RD
16527 {
16528 arg5 = (int)(SWIG_As_int(obj4));
16529 if (SWIG_arg_fail(5)) SWIG_fail;
16530 }
8edf1c75 16531 }
44127b65
RD
16532 {
16533 PyThreadState* __tstate = wxPyBeginAllowThreads();
16534 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
16535
16536 wxPyEndAllowThreads(__tstate);
16537 if (PyErr_Occurred()) SWIG_fail;
16538 }
16539 Py_INCREF(Py_None); resultobj = Py_None;
16540 return resultobj;
16541 fail:
16542 return NULL;
16543}
16544
16545
c370783e 16546static PyObject *_wrap_PyBitmapShape_base_OnEndDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
16547 PyObject *resultobj;
16548 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
16549 double arg2 ;
16550 double arg3 ;
16551 int arg4 = (int) 0 ;
16552 int arg5 = (int) 0 ;
16553 PyObject * obj0 = 0 ;
8edf1c75
RD
16554 PyObject * obj1 = 0 ;
16555 PyObject * obj2 = 0 ;
16556 PyObject * obj3 = 0 ;
16557 PyObject * obj4 = 0 ;
44127b65
RD
16558 char *kwnames[] = {
16559 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16560 };
16561
8edf1c75 16562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyBitmapShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
16563 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyBitmapShape, SWIG_POINTER_EXCEPTION | 0);
16564 if (SWIG_arg_fail(1)) SWIG_fail;
16565 {
16566 arg2 = (double)(SWIG_As_double(obj1));
16567 if (SWIG_arg_fail(2)) SWIG_fail;
16568 }
16569 {
16570 arg3 = (double)(SWIG_As_double(obj2));
16571 if (SWIG_arg_fail(3)) SWIG_fail;
16572 }
8edf1c75 16573 if (obj3) {
36ed4f51
RD
16574 {
16575 arg4 = (int)(SWIG_As_int(obj3));
16576 if (SWIG_arg_fail(4)) SWIG_fail;
16577 }
8edf1c75
RD
16578 }
16579 if (obj4) {
36ed4f51
RD
16580 {
16581 arg5 = (int)(SWIG_As_int(obj4));
16582 if (SWIG_arg_fail(5)) SWIG_fail;
16583 }
8edf1c75 16584 }
44127b65
RD
16585 {
16586 PyThreadState* __tstate = wxPyBeginAllowThreads();
16587 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
16588
16589 wxPyEndAllowThreads(__tstate);
16590 if (PyErr_Occurred()) SWIG_fail;
16591 }
16592 Py_INCREF(Py_None); resultobj = Py_None;
16593 return resultobj;
16594 fail:
16595 return NULL;
16596}
16597
16598
c370783e 16599static PyObject *_wrap_PyBitmapShape_base_OnDrawOutline(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
16600 PyObject *resultobj;
16601 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
16602 wxDC *arg2 = 0 ;
16603 double arg3 ;
16604 double arg4 ;
16605 double arg5 ;
16606 double arg6 ;
16607 PyObject * obj0 = 0 ;
16608 PyObject * obj1 = 0 ;
8edf1c75
RD
16609 PyObject * obj2 = 0 ;
16610 PyObject * obj3 = 0 ;
16611 PyObject * obj4 = 0 ;
16612 PyObject * obj5 = 0 ;
44127b65
RD
16613 char *kwnames[] = {
16614 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
16615 };
16616
8edf1c75 16617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyBitmapShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
16618 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyBitmapShape, SWIG_POINTER_EXCEPTION | 0);
16619 if (SWIG_arg_fail(1)) SWIG_fail;
16620 {
16621 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
16622 if (SWIG_arg_fail(2)) SWIG_fail;
16623 if (arg2 == NULL) {
16624 SWIG_null_ref("wxDC");
16625 }
16626 if (SWIG_arg_fail(2)) SWIG_fail;
16627 }
16628 {
16629 arg3 = (double)(SWIG_As_double(obj2));
16630 if (SWIG_arg_fail(3)) SWIG_fail;
16631 }
16632 {
16633 arg4 = (double)(SWIG_As_double(obj3));
16634 if (SWIG_arg_fail(4)) SWIG_fail;
16635 }
16636 {
16637 arg5 = (double)(SWIG_As_double(obj4));
16638 if (SWIG_arg_fail(5)) SWIG_fail;
16639 }
16640 {
16641 arg6 = (double)(SWIG_As_double(obj5));
16642 if (SWIG_arg_fail(6)) SWIG_fail;
16643 }
44127b65
RD
16644 {
16645 PyThreadState* __tstate = wxPyBeginAllowThreads();
16646 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
16647
16648 wxPyEndAllowThreads(__tstate);
16649 if (PyErr_Occurred()) SWIG_fail;
16650 }
16651 Py_INCREF(Py_None); resultobj = Py_None;
16652 return resultobj;
16653 fail:
16654 return NULL;
16655}
16656
16657
c370783e 16658static PyObject *_wrap_PyBitmapShape_base_OnDrawControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
16659 PyObject *resultobj;
16660 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
16661 wxDC *arg2 = 0 ;
16662 PyObject * obj0 = 0 ;
16663 PyObject * obj1 = 0 ;
16664 char *kwnames[] = {
16665 (char *) "self",(char *) "dc", NULL
16666 };
16667
16668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16669 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyBitmapShape, SWIG_POINTER_EXCEPTION | 0);
16670 if (SWIG_arg_fail(1)) SWIG_fail;
16671 {
16672 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
16673 if (SWIG_arg_fail(2)) SWIG_fail;
16674 if (arg2 == NULL) {
16675 SWIG_null_ref("wxDC");
16676 }
16677 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
16678 }
16679 {
16680 PyThreadState* __tstate = wxPyBeginAllowThreads();
16681 (arg1)->base_OnDrawControlPoints(*arg2);
16682
16683 wxPyEndAllowThreads(__tstate);
16684 if (PyErr_Occurred()) SWIG_fail;
16685 }
16686 Py_INCREF(Py_None); resultobj = Py_None;
16687 return resultobj;
16688 fail:
16689 return NULL;
16690}
16691
16692
c370783e 16693static PyObject *_wrap_PyBitmapShape_base_OnEraseControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
16694 PyObject *resultobj;
16695 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
16696 wxDC *arg2 = 0 ;
16697 PyObject * obj0 = 0 ;
16698 PyObject * obj1 = 0 ;
16699 char *kwnames[] = {
16700 (char *) "self",(char *) "dc", NULL
16701 };
16702
16703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyBitmapShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16704 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyBitmapShape, SWIG_POINTER_EXCEPTION | 0);
16705 if (SWIG_arg_fail(1)) SWIG_fail;
16706 {
16707 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
16708 if (SWIG_arg_fail(2)) SWIG_fail;
16709 if (arg2 == NULL) {
16710 SWIG_null_ref("wxDC");
16711 }
16712 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
16713 }
16714 {
16715 PyThreadState* __tstate = wxPyBeginAllowThreads();
16716 (arg1)->base_OnEraseControlPoints(*arg2);
16717
16718 wxPyEndAllowThreads(__tstate);
16719 if (PyErr_Occurred()) SWIG_fail;
16720 }
16721 Py_INCREF(Py_None); resultobj = Py_None;
16722 return resultobj;
16723 fail:
16724 return NULL;
16725}
16726
16727
c370783e 16728static PyObject *_wrap_PyBitmapShape_base_OnMoveLink(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
16729 PyObject *resultobj;
16730 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
16731 wxDC *arg2 = 0 ;
b411df4a 16732 bool arg3 = (bool) true ;
44127b65
RD
16733 PyObject * obj0 = 0 ;
16734 PyObject * obj1 = 0 ;
16735 PyObject * obj2 = 0 ;
16736 char *kwnames[] = {
16737 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
16738 };
16739
16740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyBitmapShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
16741 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyBitmapShape, SWIG_POINTER_EXCEPTION | 0);
16742 if (SWIG_arg_fail(1)) SWIG_fail;
16743 {
16744 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
16745 if (SWIG_arg_fail(2)) SWIG_fail;
16746 if (arg2 == NULL) {
16747 SWIG_null_ref("wxDC");
16748 }
16749 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
16750 }
16751 if (obj2) {
36ed4f51
RD
16752 {
16753 arg3 = (bool)(SWIG_As_bool(obj2));
16754 if (SWIG_arg_fail(3)) SWIG_fail;
16755 }
44127b65
RD
16756 }
16757 {
16758 PyThreadState* __tstate = wxPyBeginAllowThreads();
16759 (arg1)->base_OnMoveLink(*arg2,arg3);
16760
16761 wxPyEndAllowThreads(__tstate);
16762 if (PyErr_Occurred()) SWIG_fail;
16763 }
16764 Py_INCREF(Py_None); resultobj = Py_None;
16765 return resultobj;
16766 fail:
16767 return NULL;
16768}
16769
16770
c370783e 16771static PyObject *_wrap_PyBitmapShape_base_OnSizingDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
16772 PyObject *resultobj;
16773 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
16774 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
16775 bool arg3 ;
16776 double arg4 ;
16777 double arg5 ;
16778 int arg6 = (int) 0 ;
16779 int arg7 = (int) 0 ;
16780 PyObject * obj0 = 0 ;
16781 PyObject * obj1 = 0 ;
16782 PyObject * obj2 = 0 ;
8edf1c75
RD
16783 PyObject * obj3 = 0 ;
16784 PyObject * obj4 = 0 ;
16785 PyObject * obj5 = 0 ;
16786 PyObject * obj6 = 0 ;
44127b65
RD
16787 char *kwnames[] = {
16788 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16789 };
16790
8edf1c75 16791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyBitmapShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
16792 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyBitmapShape, SWIG_POINTER_EXCEPTION | 0);
16793 if (SWIG_arg_fail(1)) SWIG_fail;
16794 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
16795 if (SWIG_arg_fail(2)) SWIG_fail;
16796 {
16797 arg3 = (bool)(SWIG_As_bool(obj2));
16798 if (SWIG_arg_fail(3)) SWIG_fail;
16799 }
16800 {
16801 arg4 = (double)(SWIG_As_double(obj3));
16802 if (SWIG_arg_fail(4)) SWIG_fail;
16803 }
16804 {
16805 arg5 = (double)(SWIG_As_double(obj4));
16806 if (SWIG_arg_fail(5)) SWIG_fail;
16807 }
8edf1c75 16808 if (obj5) {
36ed4f51
RD
16809 {
16810 arg6 = (int)(SWIG_As_int(obj5));
16811 if (SWIG_arg_fail(6)) SWIG_fail;
16812 }
8edf1c75
RD
16813 }
16814 if (obj6) {
36ed4f51
RD
16815 {
16816 arg7 = (int)(SWIG_As_int(obj6));
16817 if (SWIG_arg_fail(7)) SWIG_fail;
16818 }
8edf1c75 16819 }
44127b65
RD
16820 {
16821 PyThreadState* __tstate = wxPyBeginAllowThreads();
16822 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
16823
16824 wxPyEndAllowThreads(__tstate);
16825 if (PyErr_Occurred()) SWIG_fail;
16826 }
16827 Py_INCREF(Py_None); resultobj = Py_None;
16828 return resultobj;
16829 fail:
16830 return NULL;
16831}
16832
16833
c370783e 16834static PyObject *_wrap_PyBitmapShape_base_OnSizingBeginDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
16835 PyObject *resultobj;
16836 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
16837 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
16838 double arg3 ;
16839 double arg4 ;
16840 int arg5 = (int) 0 ;
16841 int arg6 = (int) 0 ;
16842 PyObject * obj0 = 0 ;
16843 PyObject * obj1 = 0 ;
8edf1c75
RD
16844 PyObject * obj2 = 0 ;
16845 PyObject * obj3 = 0 ;
16846 PyObject * obj4 = 0 ;
16847 PyObject * obj5 = 0 ;
44127b65
RD
16848 char *kwnames[] = {
16849 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16850 };
16851
8edf1c75 16852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyBitmapShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
16853 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyBitmapShape, SWIG_POINTER_EXCEPTION | 0);
16854 if (SWIG_arg_fail(1)) SWIG_fail;
16855 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
16856 if (SWIG_arg_fail(2)) SWIG_fail;
16857 {
16858 arg3 = (double)(SWIG_As_double(obj2));
16859 if (SWIG_arg_fail(3)) SWIG_fail;
16860 }
16861 {
16862 arg4 = (double)(SWIG_As_double(obj3));
16863 if (SWIG_arg_fail(4)) SWIG_fail;
16864 }
2f4c0a16 16865 if (obj4) {
36ed4f51
RD
16866 {
16867 arg5 = (int)(SWIG_As_int(obj4));
16868 if (SWIG_arg_fail(5)) SWIG_fail;
16869 }
8edf1c75 16870 }
2f4c0a16 16871 if (obj5) {
36ed4f51
RD
16872 {
16873 arg6 = (int)(SWIG_As_int(obj5));
16874 if (SWIG_arg_fail(6)) SWIG_fail;
16875 }
8edf1c75 16876 }
44127b65
RD
16877 {
16878 PyThreadState* __tstate = wxPyBeginAllowThreads();
16879 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
16880
16881 wxPyEndAllowThreads(__tstate);
16882 if (PyErr_Occurred()) SWIG_fail;
16883 }
16884 Py_INCREF(Py_None); resultobj = Py_None;
16885 return resultobj;
16886 fail:
16887 return NULL;
16888}
16889
16890
c370783e 16891static PyObject *_wrap_PyBitmapShape_base_OnSizingEndDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
16892 PyObject *resultobj;
16893 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
16894 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
16895 double arg3 ;
16896 double arg4 ;
16897 int arg5 = (int) 0 ;
16898 int arg6 = (int) 0 ;
16899 PyObject * obj0 = 0 ;
16900 PyObject * obj1 = 0 ;
8edf1c75
RD
16901 PyObject * obj2 = 0 ;
16902 PyObject * obj3 = 0 ;
16903 PyObject * obj4 = 0 ;
16904 PyObject * obj5 = 0 ;
44127b65
RD
16905 char *kwnames[] = {
16906 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
16907 };
16908
8edf1c75 16909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyBitmapShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
16910 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyBitmapShape, SWIG_POINTER_EXCEPTION | 0);
16911 if (SWIG_arg_fail(1)) SWIG_fail;
16912 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
16913 if (SWIG_arg_fail(2)) SWIG_fail;
16914 {
16915 arg3 = (double)(SWIG_As_double(obj2));
16916 if (SWIG_arg_fail(3)) SWIG_fail;
16917 }
16918 {
16919 arg4 = (double)(SWIG_As_double(obj3));
16920 if (SWIG_arg_fail(4)) SWIG_fail;
16921 }
8edf1c75 16922 if (obj4) {
36ed4f51
RD
16923 {
16924 arg5 = (int)(SWIG_As_int(obj4));
16925 if (SWIG_arg_fail(5)) SWIG_fail;
16926 }
8edf1c75
RD
16927 }
16928 if (obj5) {
36ed4f51
RD
16929 {
16930 arg6 = (int)(SWIG_As_int(obj5));
16931 if (SWIG_arg_fail(6)) SWIG_fail;
16932 }
8edf1c75 16933 }
44127b65
RD
16934 {
16935 PyThreadState* __tstate = wxPyBeginAllowThreads();
16936 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
16937
16938 wxPyEndAllowThreads(__tstate);
16939 if (PyErr_Occurred()) SWIG_fail;
16940 }
16941 Py_INCREF(Py_None); resultobj = Py_None;
16942 return resultobj;
16943 fail:
16944 return NULL;
16945}
16946
16947
c370783e 16948static PyObject *_wrap_PyBitmapShape_base_OnBeginSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
16949 PyObject *resultobj;
16950 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
16951 double arg2 ;
16952 double arg3 ;
16953 PyObject * obj0 = 0 ;
8edf1c75
RD
16954 PyObject * obj1 = 0 ;
16955 PyObject * obj2 = 0 ;
44127b65
RD
16956 char *kwnames[] = {
16957 (char *) "self",(char *) "w",(char *) "h", NULL
16958 };
16959
8edf1c75 16960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
16961 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyBitmapShape, SWIG_POINTER_EXCEPTION | 0);
16962 if (SWIG_arg_fail(1)) SWIG_fail;
16963 {
16964 arg2 = (double)(SWIG_As_double(obj1));
16965 if (SWIG_arg_fail(2)) SWIG_fail;
16966 }
16967 {
16968 arg3 = (double)(SWIG_As_double(obj2));
16969 if (SWIG_arg_fail(3)) SWIG_fail;
16970 }
44127b65
RD
16971 {
16972 PyThreadState* __tstate = wxPyBeginAllowThreads();
16973 (arg1)->base_OnBeginSize(arg2,arg3);
16974
16975 wxPyEndAllowThreads(__tstate);
16976 if (PyErr_Occurred()) SWIG_fail;
16977 }
16978 Py_INCREF(Py_None); resultobj = Py_None;
16979 return resultobj;
16980 fail:
16981 return NULL;
16982}
16983
16984
c370783e 16985static PyObject *_wrap_PyBitmapShape_base_OnEndSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
16986 PyObject *resultobj;
16987 wxPyBitmapShape *arg1 = (wxPyBitmapShape *) 0 ;
16988 double arg2 ;
16989 double arg3 ;
16990 PyObject * obj0 = 0 ;
8edf1c75
RD
16991 PyObject * obj1 = 0 ;
16992 PyObject * obj2 = 0 ;
44127b65
RD
16993 char *kwnames[] = {
16994 (char *) "self",(char *) "w",(char *) "h", NULL
16995 };
16996
8edf1c75 16997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
16998 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyBitmapShape, SWIG_POINTER_EXCEPTION | 0);
16999 if (SWIG_arg_fail(1)) SWIG_fail;
17000 {
17001 arg2 = (double)(SWIG_As_double(obj1));
17002 if (SWIG_arg_fail(2)) SWIG_fail;
17003 }
17004 {
17005 arg3 = (double)(SWIG_As_double(obj2));
17006 if (SWIG_arg_fail(3)) SWIG_fail;
17007 }
44127b65
RD
17008 {
17009 PyThreadState* __tstate = wxPyBeginAllowThreads();
17010 (arg1)->base_OnEndSize(arg2,arg3);
17011
17012 wxPyEndAllowThreads(__tstate);
17013 if (PyErr_Occurred()) SWIG_fail;
17014 }
17015 Py_INCREF(Py_None); resultobj = Py_None;
17016 return resultobj;
17017 fail:
17018 return NULL;
17019}
17020
17021
c370783e 17022static PyObject * PyBitmapShape_swigregister(PyObject *, PyObject *args) {
44127b65
RD
17023 PyObject *obj;
17024 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17025 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapShape, obj);
17026 Py_INCREF(obj);
17027 return Py_BuildValue((char *)"");
17028}
c370783e 17029static PyObject *_wrap_new_PyDrawnShape(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
17030 PyObject *resultobj;
17031 wxPyDrawnShape *result;
17032 char *kwnames[] = {
17033 NULL
17034 };
17035
17036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyDrawnShape",kwnames)) goto fail;
17037 {
17038 PyThreadState* __tstate = wxPyBeginAllowThreads();
17039 result = (wxPyDrawnShape *)new wxPyDrawnShape();
17040
17041 wxPyEndAllowThreads(__tstate);
17042 if (PyErr_Occurred()) SWIG_fail;
17043 }
2f4c0a16 17044 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDrawnShape, 1);
44127b65
RD
17045 return resultobj;
17046 fail:
17047 return NULL;
17048}
17049
17050
c370783e 17051static PyObject *_wrap_PyDrawnShape__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
17052 PyObject *resultobj;
17053 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
17054 PyObject *arg2 = (PyObject *) 0 ;
17055 PyObject *arg3 = (PyObject *) 0 ;
17056 PyObject * obj0 = 0 ;
17057 PyObject * obj1 = 0 ;
17058 PyObject * obj2 = 0 ;
17059 char *kwnames[] = {
17060 (char *) "self",(char *) "self",(char *) "_class", NULL
17061 };
17062
17063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
17064 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDrawnShape, SWIG_POINTER_EXCEPTION | 0);
17065 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
17066 arg2 = obj1;
17067 arg3 = obj2;
17068 {
17069 PyThreadState* __tstate = wxPyBeginAllowThreads();
17070 (arg1)->_setCallbackInfo(arg2,arg3);
17071
17072 wxPyEndAllowThreads(__tstate);
17073 if (PyErr_Occurred()) SWIG_fail;
17074 }
17075 Py_INCREF(Py_None); resultobj = Py_None;
17076 return resultobj;
17077 fail:
17078 return NULL;
17079}
17080
17081
c370783e 17082static PyObject *_wrap_PyDrawnShape_CalculateSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
17083 PyObject *resultobj;
17084 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
17085 PyObject * obj0 = 0 ;
17086 char *kwnames[] = {
17087 (char *) "self", NULL
17088 };
17089
17090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_CalculateSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
17091 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDrawnShape, SWIG_POINTER_EXCEPTION | 0);
17092 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
17093 {
17094 PyThreadState* __tstate = wxPyBeginAllowThreads();
17095 (arg1)->CalculateSize();
17096
17097 wxPyEndAllowThreads(__tstate);
17098 if (PyErr_Occurred()) SWIG_fail;
17099 }
17100 Py_INCREF(Py_None); resultobj = Py_None;
17101 return resultobj;
17102 fail:
17103 return NULL;
17104}
17105
17106
c370783e 17107static PyObject *_wrap_PyDrawnShape_DestroyClippingRect(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
17108 PyObject *resultobj;
17109 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
17110 PyObject * obj0 = 0 ;
17111 char *kwnames[] = {
17112 (char *) "self", NULL
17113 };
17114
17115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_DestroyClippingRect",kwnames,&obj0)) goto fail;
36ed4f51
RD
17116 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDrawnShape, SWIG_POINTER_EXCEPTION | 0);
17117 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
17118 {
17119 PyThreadState* __tstate = wxPyBeginAllowThreads();
17120 (arg1)->DestroyClippingRect();
17121
17122 wxPyEndAllowThreads(__tstate);
17123 if (PyErr_Occurred()) SWIG_fail;
17124 }
17125 Py_INCREF(Py_None); resultobj = Py_None;
17126 return resultobj;
17127 fail:
17128 return NULL;
17129}
17130
17131
c370783e 17132static PyObject *_wrap_PyDrawnShape_DrawArc(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
17133 PyObject *resultobj;
17134 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
17135 wxPoint *arg2 = 0 ;
17136 wxPoint *arg3 = 0 ;
17137 wxPoint *arg4 = 0 ;
17138 wxPoint temp2 ;
17139 wxPoint temp3 ;
17140 wxPoint temp4 ;
17141 PyObject * obj0 = 0 ;
17142 PyObject * obj1 = 0 ;
17143 PyObject * obj2 = 0 ;
17144 PyObject * obj3 = 0 ;
17145 char *kwnames[] = {
17146 (char *) "self",(char *) "centrePoint",(char *) "startPoint",(char *) "endPoint", NULL
17147 };
17148
17149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyDrawnShape_DrawArc",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
17150 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDrawnShape, SWIG_POINTER_EXCEPTION | 0);
17151 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
17152 {
17153 arg2 = &temp2;
17154 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
17155 }
17156 {
17157 arg3 = &temp3;
17158 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17159 }
17160 {
17161 arg4 = &temp4;
17162 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17163 }
17164 {
17165 PyThreadState* __tstate = wxPyBeginAllowThreads();
17166 (arg1)->DrawArc((wxPoint const &)*arg2,(wxPoint const &)*arg3,(wxPoint const &)*arg4);
17167
17168 wxPyEndAllowThreads(__tstate);
17169 if (PyErr_Occurred()) SWIG_fail;
17170 }
17171 Py_INCREF(Py_None); resultobj = Py_None;
17172 return resultobj;
17173 fail:
17174 return NULL;
17175}
17176
17177
c370783e 17178static PyObject *_wrap_PyDrawnShape_DrawAtAngle(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
17179 PyObject *resultobj;
17180 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
17181 int arg2 ;
17182 PyObject * obj0 = 0 ;
8edf1c75 17183 PyObject * obj1 = 0 ;
44127b65
RD
17184 char *kwnames[] = {
17185 (char *) "self",(char *) "angle", NULL
17186 };
17187
8edf1c75 17188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_DrawAtAngle",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
17189 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDrawnShape, SWIG_POINTER_EXCEPTION | 0);
17190 if (SWIG_arg_fail(1)) SWIG_fail;
17191 {
17192 arg2 = (int)(SWIG_As_int(obj1));
17193 if (SWIG_arg_fail(2)) SWIG_fail;
17194 }
44127b65
RD
17195 {
17196 PyThreadState* __tstate = wxPyBeginAllowThreads();
17197 (arg1)->DrawAtAngle(arg2);
17198
17199 wxPyEndAllowThreads(__tstate);
17200 if (PyErr_Occurred()) SWIG_fail;
17201 }
17202 Py_INCREF(Py_None); resultobj = Py_None;
17203 return resultobj;
17204 fail:
17205 return NULL;
17206}
17207
17208
c370783e 17209static PyObject *_wrap_PyDrawnShape_DrawEllipticArc(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
17210 PyObject *resultobj;
17211 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
17212 wxRect *arg2 = 0 ;
17213 double arg3 ;
17214 double arg4 ;
17215 wxRect temp2 ;
17216 PyObject * obj0 = 0 ;
17217 PyObject * obj1 = 0 ;
8edf1c75
RD
17218 PyObject * obj2 = 0 ;
17219 PyObject * obj3 = 0 ;
44127b65
RD
17220 char *kwnames[] = {
17221 (char *) "self",(char *) "rect",(char *) "startAngle",(char *) "endAngle", NULL
17222 };
17223
8edf1c75 17224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyDrawnShape_DrawEllipticArc",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
17225 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDrawnShape, SWIG_POINTER_EXCEPTION | 0);
17226 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
17227 {
17228 arg2 = &temp2;
17229 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
17230 }
36ed4f51
RD
17231 {
17232 arg3 = (double)(SWIG_As_double(obj2));
17233 if (SWIG_arg_fail(3)) SWIG_fail;
17234 }
17235 {
17236 arg4 = (double)(SWIG_As_double(obj3));
17237 if (SWIG_arg_fail(4)) SWIG_fail;
17238 }
44127b65
RD
17239 {
17240 PyThreadState* __tstate = wxPyBeginAllowThreads();
17241 (arg1)->DrawEllipticArc((wxRect const &)*arg2,arg3,arg4);
17242
17243 wxPyEndAllowThreads(__tstate);
17244 if (PyErr_Occurred()) SWIG_fail;
17245 }
17246 Py_INCREF(Py_None); resultobj = Py_None;
17247 return resultobj;
17248 fail:
17249 return NULL;
17250}
17251
17252
c370783e 17253static PyObject *_wrap_PyDrawnShape_DrawLine(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
17254 PyObject *resultobj;
17255 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
17256 wxPoint *arg2 = 0 ;
17257 wxPoint *arg3 = 0 ;
17258 wxPoint temp2 ;
17259 wxPoint temp3 ;
17260 PyObject * obj0 = 0 ;
17261 PyObject * obj1 = 0 ;
17262 PyObject * obj2 = 0 ;
17263 char *kwnames[] = {
17264 (char *) "self",(char *) "point1",(char *) "point2", NULL
17265 };
17266
17267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_DrawLine",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
17268 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDrawnShape, SWIG_POINTER_EXCEPTION | 0);
17269 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
17270 {
17271 arg2 = &temp2;
17272 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
17273 }
17274 {
17275 arg3 = &temp3;
17276 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17277 }
17278 {
17279 PyThreadState* __tstate = wxPyBeginAllowThreads();
17280 (arg1)->DrawLine((wxPoint const &)*arg2,(wxPoint const &)*arg3);
17281
17282 wxPyEndAllowThreads(__tstate);
17283 if (PyErr_Occurred()) SWIG_fail;
17284 }
17285 Py_INCREF(Py_None); resultobj = Py_None;
17286 return resultobj;
17287 fail:
17288 return NULL;
17289}
17290
17291
c370783e 17292static PyObject *_wrap_PyDrawnShape_DrawLines(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
17293 PyObject *resultobj;
17294 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
17295 int arg2 ;
17296 wxPoint *arg3 = (wxPoint *) 0 ;
17297 PyObject * obj0 = 0 ;
8edf1c75 17298 PyObject * obj1 = 0 ;
44127b65 17299 char *kwnames[] = {
a5ee0656 17300 (char *) "self",(char *) "points", NULL
44127b65
RD
17301 };
17302
a5ee0656 17303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_DrawLines",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
17304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDrawnShape, SWIG_POINTER_EXCEPTION | 0);
17305 if (SWIG_arg_fail(1)) SWIG_fail;
a5ee0656
RD
17306 {
17307 arg3 = wxPoint_LIST_helper(obj1, &arg2);
17308 if (arg3 == NULL) SWIG_fail;
17309 }
44127b65
RD
17310 {
17311 PyThreadState* __tstate = wxPyBeginAllowThreads();
17312 (arg1)->DrawLines(arg2,arg3);
17313
17314 wxPyEndAllowThreads(__tstate);
17315 if (PyErr_Occurred()) SWIG_fail;
17316 }
17317 Py_INCREF(Py_None); resultobj = Py_None;
a5ee0656
RD
17318 {
17319 if (arg3) delete [] arg3;
17320 }
44127b65
RD
17321 return resultobj;
17322 fail:
a5ee0656
RD
17323 {
17324 if (arg3) delete [] arg3;
17325 }
44127b65
RD
17326 return NULL;
17327}
17328
17329
c370783e 17330static PyObject *_wrap_PyDrawnShape_DrawPoint(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
17331 PyObject *resultobj;
17332 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
17333 wxPoint *arg2 = 0 ;
17334 wxPoint temp2 ;
17335 PyObject * obj0 = 0 ;
17336 PyObject * obj1 = 0 ;
17337 char *kwnames[] = {
17338 (char *) "self",(char *) "point", NULL
17339 };
17340
17341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_DrawPoint",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
17342 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDrawnShape, SWIG_POINTER_EXCEPTION | 0);
17343 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
17344 {
17345 arg2 = &temp2;
17346 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
17347 }
17348 {
17349 PyThreadState* __tstate = wxPyBeginAllowThreads();
17350 (arg1)->DrawPoint((wxPoint const &)*arg2);
17351
17352 wxPyEndAllowThreads(__tstate);
17353 if (PyErr_Occurred()) SWIG_fail;
17354 }
17355 Py_INCREF(Py_None); resultobj = Py_None;
17356 return resultobj;
17357 fail:
17358 return NULL;
17359}
17360
17361
c370783e 17362static PyObject *_wrap_PyDrawnShape_DrawPolygon(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
17363 PyObject *resultobj;
17364 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
17365 int arg2 ;
17366 wxPoint *arg3 = (wxPoint *) 0 ;
17367 int arg4 = (int) 0 ;
17368 PyObject * obj0 = 0 ;
8edf1c75 17369 PyObject * obj1 = 0 ;
44127b65
RD
17370 PyObject * obj2 = 0 ;
17371 char *kwnames[] = {
a5ee0656 17372 (char *) "self",(char *) "points",(char *) "flags", NULL
44127b65
RD
17373 };
17374
a5ee0656 17375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_DrawPolygon",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
17376 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDrawnShape, SWIG_POINTER_EXCEPTION | 0);
17377 if (SWIG_arg_fail(1)) SWIG_fail;
a5ee0656
RD
17378 {
17379 arg3 = wxPoint_LIST_helper(obj1, &arg2);
17380 if (arg3 == NULL) SWIG_fail;
17381 }
17382 if (obj2) {
36ed4f51
RD
17383 {
17384 arg4 = (int)(SWIG_As_int(obj2));
17385 if (SWIG_arg_fail(4)) SWIG_fail;
17386 }
8edf1c75 17387 }
44127b65
RD
17388 {
17389 PyThreadState* __tstate = wxPyBeginAllowThreads();
17390 (arg1)->DrawPolygon(arg2,arg3,arg4);
17391
17392 wxPyEndAllowThreads(__tstate);
17393 if (PyErr_Occurred()) SWIG_fail;
17394 }
17395 Py_INCREF(Py_None); resultobj = Py_None;
a5ee0656
RD
17396 {
17397 if (arg3) delete [] arg3;
17398 }
44127b65
RD
17399 return resultobj;
17400 fail:
a5ee0656
RD
17401 {
17402 if (arg3) delete [] arg3;
17403 }
44127b65
RD
17404 return NULL;
17405}
17406
17407
c370783e 17408static PyObject *_wrap_PyDrawnShape_DrawRectangle(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
17409 PyObject *resultobj;
17410 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
17411 wxRect *arg2 = 0 ;
17412 wxRect temp2 ;
17413 PyObject * obj0 = 0 ;
17414 PyObject * obj1 = 0 ;
17415 char *kwnames[] = {
17416 (char *) "self",(char *) "rect", NULL
17417 };
17418
17419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_DrawRectangle",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
17420 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDrawnShape, SWIG_POINTER_EXCEPTION | 0);
17421 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
17422 {
17423 arg2 = &temp2;
17424 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
17425 }
17426 {
17427 PyThreadState* __tstate = wxPyBeginAllowThreads();
17428 (arg1)->DrawRectangle((wxRect const &)*arg2);
17429
17430 wxPyEndAllowThreads(__tstate);
17431 if (PyErr_Occurred()) SWIG_fail;
17432 }
17433 Py_INCREF(Py_None); resultobj = Py_None;
17434 return resultobj;
17435 fail:
17436 return NULL;
17437}
17438
17439
c370783e 17440static PyObject *_wrap_PyDrawnShape_DrawRoundedRectangle(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
17441 PyObject *resultobj;
17442 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
17443 wxRect *arg2 = 0 ;
17444 double arg3 ;
17445 wxRect temp2 ;
17446 PyObject * obj0 = 0 ;
17447 PyObject * obj1 = 0 ;
8edf1c75 17448 PyObject * obj2 = 0 ;
44127b65
RD
17449 char *kwnames[] = {
17450 (char *) "self",(char *) "rect",(char *) "radius", NULL
17451 };
17452
8edf1c75 17453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_DrawRoundedRectangle",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
17454 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDrawnShape, SWIG_POINTER_EXCEPTION | 0);
17455 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
17456 {
17457 arg2 = &temp2;
17458 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
17459 }
36ed4f51
RD
17460 {
17461 arg3 = (double)(SWIG_As_double(obj2));
17462 if (SWIG_arg_fail(3)) SWIG_fail;
17463 }
44127b65
RD
17464 {
17465 PyThreadState* __tstate = wxPyBeginAllowThreads();
17466 (arg1)->DrawRoundedRectangle((wxRect const &)*arg2,arg3);
17467
17468 wxPyEndAllowThreads(__tstate);
17469 if (PyErr_Occurred()) SWIG_fail;
17470 }
17471 Py_INCREF(Py_None); resultobj = Py_None;
17472 return resultobj;
17473 fail:
17474 return NULL;
17475}
17476
17477
c370783e 17478static PyObject *_wrap_PyDrawnShape_DrawSpline(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
17479 PyObject *resultobj;
17480 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
17481 int arg2 ;
17482 wxPoint *arg3 = (wxPoint *) 0 ;
17483 PyObject * obj0 = 0 ;
8edf1c75 17484 PyObject * obj1 = 0 ;
44127b65 17485 char *kwnames[] = {
a5ee0656 17486 (char *) "self",(char *) "points", NULL
44127b65
RD
17487 };
17488
a5ee0656 17489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_DrawSpline",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
17490 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDrawnShape, SWIG_POINTER_EXCEPTION | 0);
17491 if (SWIG_arg_fail(1)) SWIG_fail;
a5ee0656
RD
17492 {
17493 arg3 = wxPoint_LIST_helper(obj1, &arg2);
17494 if (arg3 == NULL) SWIG_fail;
17495 }
44127b65
RD
17496 {
17497 PyThreadState* __tstate = wxPyBeginAllowThreads();
17498 (arg1)->DrawSpline(arg2,arg3);
17499
17500 wxPyEndAllowThreads(__tstate);
17501 if (PyErr_Occurred()) SWIG_fail;
17502 }
17503 Py_INCREF(Py_None); resultobj = Py_None;
a5ee0656
RD
17504 {
17505 if (arg3) delete [] arg3;
17506 }
44127b65
RD
17507 return resultobj;
17508 fail:
a5ee0656
RD
17509 {
17510 if (arg3) delete [] arg3;
17511 }
44127b65
RD
17512 return NULL;
17513}
17514
17515
c370783e 17516static PyObject *_wrap_PyDrawnShape_DrawText(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
17517 PyObject *resultobj;
17518 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
17519 wxString *arg2 = 0 ;
17520 wxPoint *arg3 = 0 ;
b411df4a 17521 bool temp2 = false ;
44127b65
RD
17522 wxPoint temp3 ;
17523 PyObject * obj0 = 0 ;
17524 PyObject * obj1 = 0 ;
17525 PyObject * obj2 = 0 ;
17526 char *kwnames[] = {
17527 (char *) "self",(char *) "text",(char *) "point", NULL
17528 };
17529
17530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_DrawText",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
17531 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDrawnShape, SWIG_POINTER_EXCEPTION | 0);
17532 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
17533 {
17534 arg2 = wxString_in_helper(obj1);
17535 if (arg2 == NULL) SWIG_fail;
b411df4a 17536 temp2 = true;
44127b65
RD
17537 }
17538 {
17539 arg3 = &temp3;
17540 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17541 }
17542 {
17543 PyThreadState* __tstate = wxPyBeginAllowThreads();
17544 (arg1)->DrawText((wxString const &)*arg2,(wxPoint const &)*arg3);
17545
17546 wxPyEndAllowThreads(__tstate);
17547 if (PyErr_Occurred()) SWIG_fail;
17548 }
17549 Py_INCREF(Py_None); resultobj = Py_None;
17550 {
17551 if (temp2)
17552 delete arg2;
17553 }
17554 return resultobj;
17555 fail:
17556 {
17557 if (temp2)
17558 delete arg2;
17559 }
17560 return NULL;
17561}
17562
17563
c370783e 17564static PyObject *_wrap_PyDrawnShape_GetAngle(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
17565 PyObject *resultobj;
17566 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
17567 int result;
17568 PyObject * obj0 = 0 ;
17569 char *kwnames[] = {
17570 (char *) "self", NULL
17571 };
17572
17573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_GetAngle",kwnames,&obj0)) goto fail;
36ed4f51
RD
17574 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDrawnShape, SWIG_POINTER_EXCEPTION | 0);
17575 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
17576 {
17577 PyThreadState* __tstate = wxPyBeginAllowThreads();
17578 result = (int)(arg1)->GetAngle();
17579
17580 wxPyEndAllowThreads(__tstate);
17581 if (PyErr_Occurred()) SWIG_fail;
17582 }
36ed4f51
RD
17583 {
17584 resultobj = SWIG_From_int((int)(result));
17585 }
44127b65
RD
17586 return resultobj;
17587 fail:
17588 return NULL;
17589}
17590
17591
c370783e 17592static PyObject *_wrap_PyDrawnShape_GetMetaFile(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
17593 PyObject *resultobj;
17594 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
17595 wxPseudoMetaFile *result;
17596 PyObject * obj0 = 0 ;
17597 char *kwnames[] = {
17598 (char *) "self", NULL
17599 };
17600
17601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_GetMetaFile",kwnames,&obj0)) goto fail;
36ed4f51
RD
17602 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDrawnShape, SWIG_POINTER_EXCEPTION | 0);
17603 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
17604 {
17605 PyThreadState* __tstate = wxPyBeginAllowThreads();
17606 {
17607 wxPseudoMetaFile &_result_ref = (arg1)->GetMetaFile();
17608 result = (wxPseudoMetaFile *) &_result_ref;
17609 }
17610
17611 wxPyEndAllowThreads(__tstate);
17612 if (PyErr_Occurred()) SWIG_fail;
17613 }
2f4c0a16 17614 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPseudoMetaFile, 0);
44127b65
RD
17615 return resultobj;
17616 fail:
17617 return NULL;
17618}
17619
17620
c370783e 17621static PyObject *_wrap_PyDrawnShape_GetRotation(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
17622 PyObject *resultobj;
17623 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
17624 double result;
17625 PyObject * obj0 = 0 ;
17626 char *kwnames[] = {
17627 (char *) "self", NULL
17628 };
17629
17630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_GetRotation",kwnames,&obj0)) goto fail;
36ed4f51
RD
17631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDrawnShape, SWIG_POINTER_EXCEPTION | 0);
17632 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
17633 {
17634 PyThreadState* __tstate = wxPyBeginAllowThreads();
17635 result = (double)(arg1)->GetRotation();
17636
17637 wxPyEndAllowThreads(__tstate);
17638 if (PyErr_Occurred()) SWIG_fail;
17639 }
36ed4f51
RD
17640 {
17641 resultobj = SWIG_From_double((double)(result));
17642 }
44127b65
RD
17643 return resultobj;
17644 fail:
17645 return NULL;
17646}
17647
17648
c370783e 17649static PyObject *_wrap_PyDrawnShape_LoadFromMetaFile(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
17650 PyObject *resultobj;
17651 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
17652 wxString *arg2 = 0 ;
17653 bool result;
b411df4a 17654 bool temp2 = false ;
44127b65
RD
17655 PyObject * obj0 = 0 ;
17656 PyObject * obj1 = 0 ;
17657 char *kwnames[] = {
17658 (char *) "self",(char *) "filename", NULL
17659 };
17660
17661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_LoadFromMetaFile",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
17662 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDrawnShape, SWIG_POINTER_EXCEPTION | 0);
17663 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
17664 {
17665 arg2 = wxString_in_helper(obj1);
17666 if (arg2 == NULL) SWIG_fail;
b411df4a 17667 temp2 = true;
44127b65
RD
17668 }
17669 {
17670 PyThreadState* __tstate = wxPyBeginAllowThreads();
17671 result = (bool)(arg1)->LoadFromMetaFile((wxString const &)*arg2);
17672
17673 wxPyEndAllowThreads(__tstate);
17674 if (PyErr_Occurred()) SWIG_fail;
17675 }
fbc46b20
RD
17676 {
17677 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17678 }
44127b65
RD
17679 {
17680 if (temp2)
17681 delete arg2;
17682 }
17683 return resultobj;
17684 fail:
17685 {
17686 if (temp2)
17687 delete arg2;
17688 }
17689 return NULL;
17690}
17691
17692
c370783e 17693static PyObject *_wrap_PyDrawnShape_Rotate(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
17694 PyObject *resultobj;
17695 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
17696 double arg2 ;
17697 double arg3 ;
17698 double arg4 ;
17699 PyObject * obj0 = 0 ;
8edf1c75
RD
17700 PyObject * obj1 = 0 ;
17701 PyObject * obj2 = 0 ;
17702 PyObject * obj3 = 0 ;
44127b65
RD
17703 char *kwnames[] = {
17704 (char *) "self",(char *) "x",(char *) "y",(char *) "theta", NULL
17705 };
17706
8edf1c75 17707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyDrawnShape_Rotate",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
17708 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDrawnShape, SWIG_POINTER_EXCEPTION | 0);
17709 if (SWIG_arg_fail(1)) SWIG_fail;
17710 {
17711 arg2 = (double)(SWIG_As_double(obj1));
17712 if (SWIG_arg_fail(2)) SWIG_fail;
17713 }
17714 {
17715 arg3 = (double)(SWIG_As_double(obj2));
17716 if (SWIG_arg_fail(3)) SWIG_fail;
17717 }
17718 {
17719 arg4 = (double)(SWIG_As_double(obj3));
17720 if (SWIG_arg_fail(4)) SWIG_fail;
17721 }
44127b65
RD
17722 {
17723 PyThreadState* __tstate = wxPyBeginAllowThreads();
17724 (arg1)->Rotate(arg2,arg3,arg4);
17725
17726 wxPyEndAllowThreads(__tstate);
17727 if (PyErr_Occurred()) SWIG_fail;
17728 }
17729 Py_INCREF(Py_None); resultobj = Py_None;
17730 return resultobj;
17731 fail:
17732 return NULL;
17733}
17734
17735
c370783e 17736static PyObject *_wrap_PyDrawnShape_SetClippingRect(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
17737 PyObject *resultobj;
17738 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
17739 wxRect *arg2 = 0 ;
17740 wxRect temp2 ;
17741 PyObject * obj0 = 0 ;
17742 PyObject * obj1 = 0 ;
17743 char *kwnames[] = {
17744 (char *) "self",(char *) "rect", NULL
17745 };
17746
17747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetClippingRect",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
17748 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDrawnShape, SWIG_POINTER_EXCEPTION | 0);
17749 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
17750 {
17751 arg2 = &temp2;
17752 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
17753 }
17754 {
17755 PyThreadState* __tstate = wxPyBeginAllowThreads();
17756 (arg1)->SetClippingRect((wxRect const &)*arg2);
17757
17758 wxPyEndAllowThreads(__tstate);
17759 if (PyErr_Occurred()) SWIG_fail;
17760 }
17761 Py_INCREF(Py_None); resultobj = Py_None;
17762 return resultobj;
17763 fail:
17764 return NULL;
17765}
17766
17767
c370783e 17768static PyObject *_wrap_PyDrawnShape_SetDrawnBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
17769 PyObject *resultobj;
17770 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
17771 wxColour *arg2 = 0 ;
17772 wxColour temp2 ;
17773 PyObject * obj0 = 0 ;
17774 PyObject * obj1 = 0 ;
17775 char *kwnames[] = {
17776 (char *) "self",(char *) "colour", NULL
17777 };
17778
17779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetDrawnBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
17780 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDrawnShape, SWIG_POINTER_EXCEPTION | 0);
17781 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
17782 {
17783 arg2 = &temp2;
17784 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17785 }
17786 {
17787 PyThreadState* __tstate = wxPyBeginAllowThreads();
17788 (arg1)->SetDrawnBackgroundColour((wxColour const &)*arg2);
17789
17790 wxPyEndAllowThreads(__tstate);
17791 if (PyErr_Occurred()) SWIG_fail;
17792 }
17793 Py_INCREF(Py_None); resultobj = Py_None;
17794 return resultobj;
17795 fail:
17796 return NULL;
17797}
17798
17799
c370783e 17800static PyObject *_wrap_PyDrawnShape_SetDrawnBackgroundMode(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
17801 PyObject *resultobj;
17802 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
17803 int arg2 ;
17804 PyObject * obj0 = 0 ;
8edf1c75 17805 PyObject * obj1 = 0 ;
44127b65
RD
17806 char *kwnames[] = {
17807 (char *) "self",(char *) "mode", NULL
17808 };
17809
8edf1c75 17810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetDrawnBackgroundMode",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
17811 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDrawnShape, SWIG_POINTER_EXCEPTION | 0);
17812 if (SWIG_arg_fail(1)) SWIG_fail;
17813 {
17814 arg2 = (int)(SWIG_As_int(obj1));
17815 if (SWIG_arg_fail(2)) SWIG_fail;
17816 }
44127b65
RD
17817 {
17818 PyThreadState* __tstate = wxPyBeginAllowThreads();
17819 (arg1)->SetDrawnBackgroundMode(arg2);
17820
17821 wxPyEndAllowThreads(__tstate);
17822 if (PyErr_Occurred()) SWIG_fail;
17823 }
17824 Py_INCREF(Py_None); resultobj = Py_None;
17825 return resultobj;
17826 fail:
17827 return NULL;
17828}
17829
17830
c370783e 17831static PyObject *_wrap_PyDrawnShape_SetDrawnBrush(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
17832 PyObject *resultobj;
17833 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
17834 wxBrush *arg2 = (wxBrush *) 0 ;
17835 bool arg3 = (bool) FALSE ;
17836 PyObject * obj0 = 0 ;
17837 PyObject * obj1 = 0 ;
17838 PyObject * obj2 = 0 ;
17839 char *kwnames[] = {
17840 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
17841 };
17842
17843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_SetDrawnBrush",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
17844 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDrawnShape, SWIG_POINTER_EXCEPTION | 0);
17845 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
17846 {
17847 wxBrush* temp;
17848 if (obj1) {
17849 if (obj1 == Py_None) {
17850 temp = NULL;
17851 }
17852 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxBrush"))) {
17853 PyErr_SetString(PyExc_TypeError, "Type error, expected wxBrush.");
17854 return NULL;
17855 }
17856 }
17857 if (temp)
17858 arg2 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
17859 else
17860 arg2 = NULL;
17861 }
17862 if (obj2) {
36ed4f51
RD
17863 {
17864 arg3 = (bool)(SWIG_As_bool(obj2));
17865 if (SWIG_arg_fail(3)) SWIG_fail;
17866 }
44127b65
RD
17867 }
17868 {
17869 PyThreadState* __tstate = wxPyBeginAllowThreads();
17870 (arg1)->SetDrawnBrush(arg2,arg3);
17871
17872 wxPyEndAllowThreads(__tstate);
17873 if (PyErr_Occurred()) SWIG_fail;
17874 }
17875 Py_INCREF(Py_None); resultobj = Py_None;
17876 return resultobj;
17877 fail:
17878 return NULL;
17879}
17880
17881
c370783e 17882static PyObject *_wrap_PyDrawnShape_SetDrawnFont(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
17883 PyObject *resultobj;
17884 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
17885 wxFont *arg2 = (wxFont *) 0 ;
17886 PyObject * obj0 = 0 ;
17887 PyObject * obj1 = 0 ;
17888 char *kwnames[] = {
17889 (char *) "self",(char *) "font", NULL
17890 };
17891
17892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetDrawnFont",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
17893 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDrawnShape, SWIG_POINTER_EXCEPTION | 0);
17894 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
17895 {
17896 wxFont* temp;
17897 if (obj1) {
17898 if (obj1 == Py_None) {
17899 temp = NULL;
17900 }
17901 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxFont"))) {
17902 PyErr_SetString(PyExc_TypeError, "Type error, expected wxFont.");
17903 return NULL;
17904 }
17905 }
17906 if (temp)
17907 arg2 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
17908 temp->GetFamily(),
17909 temp->GetStyle(),
17910 temp->GetWeight(),
17911 temp->GetUnderlined(),
17912 temp->GetFaceName(),
17913 temp->GetEncoding());
17914 else
17915 arg2 = NULL;
17916 }
17917 {
17918 PyThreadState* __tstate = wxPyBeginAllowThreads();
17919 (arg1)->SetDrawnFont(arg2);
17920
17921 wxPyEndAllowThreads(__tstate);
17922 if (PyErr_Occurred()) SWIG_fail;
17923 }
17924 Py_INCREF(Py_None); resultobj = Py_None;
17925 return resultobj;
17926 fail:
17927 return NULL;
17928}
17929
17930
c370783e 17931static PyObject *_wrap_PyDrawnShape_SetDrawnPen(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
17932 PyObject *resultobj;
17933 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
17934 wxPen *arg2 = (wxPen *) 0 ;
17935 bool arg3 = (bool) FALSE ;
17936 PyObject * obj0 = 0 ;
17937 PyObject * obj1 = 0 ;
17938 PyObject * obj2 = 0 ;
17939 char *kwnames[] = {
17940 (char *) "self",(char *) "pen",(char *) "isOutline", NULL
17941 };
17942
17943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_SetDrawnPen",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
17944 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDrawnShape, SWIG_POINTER_EXCEPTION | 0);
17945 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
17946 {
17947 wxPen* temp;
17948 if (obj1) {
17949 if (obj1 == Py_None) {
17950 temp = NULL;
17951 }
17952 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
17953 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
17954 return NULL;
17955 }
17956 }
17957 if (temp)
17958 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
17959 temp->GetWidth(),
17960 temp->GetStyle());
17961 else
17962 arg2 = NULL;
17963 }
17964 if (obj2) {
36ed4f51
RD
17965 {
17966 arg3 = (bool)(SWIG_As_bool(obj2));
17967 if (SWIG_arg_fail(3)) SWIG_fail;
17968 }
44127b65
RD
17969 }
17970 {
17971 PyThreadState* __tstate = wxPyBeginAllowThreads();
17972 (arg1)->SetDrawnPen(arg2,arg3);
17973
17974 wxPyEndAllowThreads(__tstate);
17975 if (PyErr_Occurred()) SWIG_fail;
17976 }
17977 Py_INCREF(Py_None); resultobj = Py_None;
17978 return resultobj;
17979 fail:
17980 return NULL;
17981}
17982
17983
c370783e 17984static PyObject *_wrap_PyDrawnShape_SetDrawnTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
17985 PyObject *resultobj;
17986 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
17987 wxColour *arg2 = 0 ;
17988 wxColour temp2 ;
17989 PyObject * obj0 = 0 ;
17990 PyObject * obj1 = 0 ;
17991 char *kwnames[] = {
17992 (char *) "self",(char *) "colour", NULL
17993 };
17994
17995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetDrawnTextColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
17996 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDrawnShape, SWIG_POINTER_EXCEPTION | 0);
17997 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
17998 {
17999 arg2 = &temp2;
18000 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18001 }
18002 {
18003 PyThreadState* __tstate = wxPyBeginAllowThreads();
18004 (arg1)->SetDrawnTextColour((wxColour const &)*arg2);
18005
18006 wxPyEndAllowThreads(__tstate);
18007 if (PyErr_Occurred()) SWIG_fail;
18008 }
18009 Py_INCREF(Py_None); resultobj = Py_None;
18010 return resultobj;
18011 fail:
18012 return NULL;
18013}
18014
18015
c370783e 18016static PyObject *_wrap_PyDrawnShape_Scale(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
18017 PyObject *resultobj;
18018 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
18019 double arg2 ;
18020 double arg3 ;
18021 PyObject * obj0 = 0 ;
8edf1c75
RD
18022 PyObject * obj1 = 0 ;
18023 PyObject * obj2 = 0 ;
44127b65
RD
18024 char *kwnames[] = {
18025 (char *) "self",(char *) "sx",(char *) "sy", NULL
18026 };
18027
8edf1c75 18028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_Scale",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
18029 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDrawnShape, SWIG_POINTER_EXCEPTION | 0);
18030 if (SWIG_arg_fail(1)) SWIG_fail;
18031 {
18032 arg2 = (double)(SWIG_As_double(obj1));
18033 if (SWIG_arg_fail(2)) SWIG_fail;
18034 }
18035 {
18036 arg3 = (double)(SWIG_As_double(obj2));
18037 if (SWIG_arg_fail(3)) SWIG_fail;
18038 }
44127b65
RD
18039 {
18040 PyThreadState* __tstate = wxPyBeginAllowThreads();
18041 (arg1)->Scale(arg2,arg3);
18042
18043 wxPyEndAllowThreads(__tstate);
18044 if (PyErr_Occurred()) SWIG_fail;
18045 }
18046 Py_INCREF(Py_None); resultobj = Py_None;
18047 return resultobj;
18048 fail:
18049 return NULL;
18050}
18051
18052
c370783e 18053static PyObject *_wrap_PyDrawnShape_SetSaveToFile(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
18054 PyObject *resultobj;
18055 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
18056 bool arg2 ;
18057 PyObject * obj0 = 0 ;
18058 PyObject * obj1 = 0 ;
18059 char *kwnames[] = {
18060 (char *) "self",(char *) "save", NULL
18061 };
18062
18063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_SetSaveToFile",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
18064 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDrawnShape, SWIG_POINTER_EXCEPTION | 0);
18065 if (SWIG_arg_fail(1)) SWIG_fail;
18066 {
18067 arg2 = (bool)(SWIG_As_bool(obj1));
18068 if (SWIG_arg_fail(2)) SWIG_fail;
18069 }
44127b65
RD
18070 {
18071 PyThreadState* __tstate = wxPyBeginAllowThreads();
18072 (arg1)->SetSaveToFile(arg2);
18073
18074 wxPyEndAllowThreads(__tstate);
18075 if (PyErr_Occurred()) SWIG_fail;
18076 }
18077 Py_INCREF(Py_None); resultobj = Py_None;
18078 return resultobj;
18079 fail:
18080 return NULL;
18081}
18082
18083
c370783e 18084static PyObject *_wrap_PyDrawnShape_Translate(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
18085 PyObject *resultobj;
18086 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
18087 double arg2 ;
18088 double arg3 ;
18089 PyObject * obj0 = 0 ;
8edf1c75
RD
18090 PyObject * obj1 = 0 ;
18091 PyObject * obj2 = 0 ;
44127b65
RD
18092 char *kwnames[] = {
18093 (char *) "self",(char *) "x",(char *) "y", NULL
18094 };
18095
8edf1c75 18096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_Translate",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
18097 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDrawnShape, SWIG_POINTER_EXCEPTION | 0);
18098 if (SWIG_arg_fail(1)) SWIG_fail;
18099 {
18100 arg2 = (double)(SWIG_As_double(obj1));
18101 if (SWIG_arg_fail(2)) SWIG_fail;
18102 }
18103 {
18104 arg3 = (double)(SWIG_As_double(obj2));
18105 if (SWIG_arg_fail(3)) SWIG_fail;
18106 }
44127b65
RD
18107 {
18108 PyThreadState* __tstate = wxPyBeginAllowThreads();
18109 (arg1)->Translate(arg2,arg3);
18110
18111 wxPyEndAllowThreads(__tstate);
18112 if (PyErr_Occurred()) SWIG_fail;
18113 }
18114 Py_INCREF(Py_None); resultobj = Py_None;
18115 return resultobj;
18116 fail:
18117 return NULL;
18118}
18119
18120
c370783e 18121static PyObject *_wrap_PyDrawnShape_base_OnDelete(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
18122 PyObject *resultobj;
18123 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
18124 PyObject * obj0 = 0 ;
18125 char *kwnames[] = {
18126 (char *) "self", NULL
18127 };
18128
18129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDrawnShape_base_OnDelete",kwnames,&obj0)) goto fail;
36ed4f51
RD
18130 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDrawnShape, SWIG_POINTER_EXCEPTION | 0);
18131 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
18132 {
18133 PyThreadState* __tstate = wxPyBeginAllowThreads();
18134 (arg1)->base_OnDelete();
18135
18136 wxPyEndAllowThreads(__tstate);
18137 if (PyErr_Occurred()) SWIG_fail;
18138 }
18139 Py_INCREF(Py_None); resultobj = Py_None;
18140 return resultobj;
18141 fail:
18142 return NULL;
18143}
18144
18145
c370783e 18146static PyObject *_wrap_PyDrawnShape_base_OnDraw(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
18147 PyObject *resultobj;
18148 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
18149 wxDC *arg2 = 0 ;
18150 PyObject * obj0 = 0 ;
18151 PyObject * obj1 = 0 ;
18152 char *kwnames[] = {
18153 (char *) "self",(char *) "dc", NULL
18154 };
18155
18156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
18157 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDrawnShape, SWIG_POINTER_EXCEPTION | 0);
18158 if (SWIG_arg_fail(1)) SWIG_fail;
18159 {
18160 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
18161 if (SWIG_arg_fail(2)) SWIG_fail;
18162 if (arg2 == NULL) {
18163 SWIG_null_ref("wxDC");
18164 }
18165 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
18166 }
18167 {
18168 PyThreadState* __tstate = wxPyBeginAllowThreads();
18169 (arg1)->base_OnDraw(*arg2);
18170
18171 wxPyEndAllowThreads(__tstate);
18172 if (PyErr_Occurred()) SWIG_fail;
18173 }
18174 Py_INCREF(Py_None); resultobj = Py_None;
18175 return resultobj;
18176 fail:
18177 return NULL;
18178}
18179
18180
c370783e 18181static PyObject *_wrap_PyDrawnShape_base_OnDrawContents(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
18182 PyObject *resultobj;
18183 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
18184 wxDC *arg2 = 0 ;
18185 PyObject * obj0 = 0 ;
18186 PyObject * obj1 = 0 ;
18187 char *kwnames[] = {
18188 (char *) "self",(char *) "dc", NULL
18189 };
18190
18191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
18192 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDrawnShape, SWIG_POINTER_EXCEPTION | 0);
18193 if (SWIG_arg_fail(1)) SWIG_fail;
18194 {
18195 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
18196 if (SWIG_arg_fail(2)) SWIG_fail;
18197 if (arg2 == NULL) {
18198 SWIG_null_ref("wxDC");
18199 }
18200 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
18201 }
18202 {
18203 PyThreadState* __tstate = wxPyBeginAllowThreads();
18204 (arg1)->base_OnDrawContents(*arg2);
18205
18206 wxPyEndAllowThreads(__tstate);
18207 if (PyErr_Occurred()) SWIG_fail;
18208 }
18209 Py_INCREF(Py_None); resultobj = Py_None;
18210 return resultobj;
18211 fail:
18212 return NULL;
18213}
18214
18215
c370783e 18216static PyObject *_wrap_PyDrawnShape_base_OnDrawBranches(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
18217 PyObject *resultobj;
18218 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
18219 wxDC *arg2 = 0 ;
18220 bool arg3 = (bool) FALSE ;
18221 PyObject * obj0 = 0 ;
18222 PyObject * obj1 = 0 ;
18223 PyObject * obj2 = 0 ;
18224 char *kwnames[] = {
18225 (char *) "self",(char *) "dc",(char *) "erase", NULL
18226 };
18227
18228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
18229 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDrawnShape, SWIG_POINTER_EXCEPTION | 0);
18230 if (SWIG_arg_fail(1)) SWIG_fail;
18231 {
18232 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
18233 if (SWIG_arg_fail(2)) SWIG_fail;
18234 if (arg2 == NULL) {
18235 SWIG_null_ref("wxDC");
18236 }
18237 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
18238 }
18239 if (obj2) {
36ed4f51
RD
18240 {
18241 arg3 = (bool)(SWIG_As_bool(obj2));
18242 if (SWIG_arg_fail(3)) SWIG_fail;
18243 }
44127b65
RD
18244 }
18245 {
18246 PyThreadState* __tstate = wxPyBeginAllowThreads();
18247 (arg1)->base_OnDrawBranches(*arg2,arg3);
18248
18249 wxPyEndAllowThreads(__tstate);
18250 if (PyErr_Occurred()) SWIG_fail;
18251 }
18252 Py_INCREF(Py_None); resultobj = Py_None;
18253 return resultobj;
18254 fail:
18255 return NULL;
18256}
18257
18258
c370783e 18259static PyObject *_wrap_PyDrawnShape_base_OnMoveLinks(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
18260 PyObject *resultobj;
18261 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
18262 wxDC *arg2 = 0 ;
18263 PyObject * obj0 = 0 ;
18264 PyObject * obj1 = 0 ;
18265 char *kwnames[] = {
18266 (char *) "self",(char *) "dc", NULL
18267 };
18268
18269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
18270 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDrawnShape, SWIG_POINTER_EXCEPTION | 0);
18271 if (SWIG_arg_fail(1)) SWIG_fail;
18272 {
18273 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
18274 if (SWIG_arg_fail(2)) SWIG_fail;
18275 if (arg2 == NULL) {
18276 SWIG_null_ref("wxDC");
18277 }
18278 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
18279 }
18280 {
18281 PyThreadState* __tstate = wxPyBeginAllowThreads();
18282 (arg1)->base_OnMoveLinks(*arg2);
18283
18284 wxPyEndAllowThreads(__tstate);
18285 if (PyErr_Occurred()) SWIG_fail;
18286 }
18287 Py_INCREF(Py_None); resultobj = Py_None;
18288 return resultobj;
18289 fail:
18290 return NULL;
18291}
18292
18293
c370783e 18294static PyObject *_wrap_PyDrawnShape_base_OnErase(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
18295 PyObject *resultobj;
18296 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
18297 wxDC *arg2 = 0 ;
18298 PyObject * obj0 = 0 ;
18299 PyObject * obj1 = 0 ;
18300 char *kwnames[] = {
18301 (char *) "self",(char *) "dc", NULL
18302 };
18303
18304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
18305 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDrawnShape, SWIG_POINTER_EXCEPTION | 0);
18306 if (SWIG_arg_fail(1)) SWIG_fail;
18307 {
18308 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
18309 if (SWIG_arg_fail(2)) SWIG_fail;
18310 if (arg2 == NULL) {
18311 SWIG_null_ref("wxDC");
18312 }
18313 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
18314 }
18315 {
18316 PyThreadState* __tstate = wxPyBeginAllowThreads();
18317 (arg1)->base_OnErase(*arg2);
18318
18319 wxPyEndAllowThreads(__tstate);
18320 if (PyErr_Occurred()) SWIG_fail;
18321 }
18322 Py_INCREF(Py_None); resultobj = Py_None;
18323 return resultobj;
18324 fail:
18325 return NULL;
18326}
18327
18328
c370783e 18329static PyObject *_wrap_PyDrawnShape_base_OnEraseContents(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
18330 PyObject *resultobj;
18331 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
18332 wxDC *arg2 = 0 ;
18333 PyObject * obj0 = 0 ;
18334 PyObject * obj1 = 0 ;
18335 char *kwnames[] = {
18336 (char *) "self",(char *) "dc", NULL
18337 };
18338
18339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
18340 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDrawnShape, SWIG_POINTER_EXCEPTION | 0);
18341 if (SWIG_arg_fail(1)) SWIG_fail;
18342 {
18343 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
18344 if (SWIG_arg_fail(2)) SWIG_fail;
18345 if (arg2 == NULL) {
18346 SWIG_null_ref("wxDC");
18347 }
18348 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
18349 }
18350 {
18351 PyThreadState* __tstate = wxPyBeginAllowThreads();
18352 (arg1)->base_OnEraseContents(*arg2);
18353
18354 wxPyEndAllowThreads(__tstate);
18355 if (PyErr_Occurred()) SWIG_fail;
18356 }
18357 Py_INCREF(Py_None); resultobj = Py_None;
18358 return resultobj;
18359 fail:
18360 return NULL;
18361}
18362
18363
c370783e 18364static PyObject *_wrap_PyDrawnShape_base_OnHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
18365 PyObject *resultobj;
18366 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
18367 wxDC *arg2 = 0 ;
18368 PyObject * obj0 = 0 ;
18369 PyObject * obj1 = 0 ;
18370 char *kwnames[] = {
18371 (char *) "self",(char *) "dc", NULL
18372 };
18373
18374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
18375 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDrawnShape, SWIG_POINTER_EXCEPTION | 0);
18376 if (SWIG_arg_fail(1)) SWIG_fail;
18377 {
18378 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
18379 if (SWIG_arg_fail(2)) SWIG_fail;
18380 if (arg2 == NULL) {
18381 SWIG_null_ref("wxDC");
18382 }
18383 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
18384 }
18385 {
18386 PyThreadState* __tstate = wxPyBeginAllowThreads();
18387 (arg1)->base_OnHighlight(*arg2);
18388
18389 wxPyEndAllowThreads(__tstate);
18390 if (PyErr_Occurred()) SWIG_fail;
18391 }
18392 Py_INCREF(Py_None); resultobj = Py_None;
18393 return resultobj;
18394 fail:
18395 return NULL;
18396}
18397
18398
c370783e 18399static PyObject *_wrap_PyDrawnShape_base_OnLeftClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
18400 PyObject *resultobj;
18401 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
18402 double arg2 ;
18403 double arg3 ;
18404 int arg4 = (int) 0 ;
18405 int arg5 = (int) 0 ;
18406 PyObject * obj0 = 0 ;
8edf1c75
RD
18407 PyObject * obj1 = 0 ;
18408 PyObject * obj2 = 0 ;
18409 PyObject * obj3 = 0 ;
18410 PyObject * obj4 = 0 ;
44127b65
RD
18411 char *kwnames[] = {
18412 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18413 };
18414
8edf1c75 18415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
18416 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDrawnShape, SWIG_POINTER_EXCEPTION | 0);
18417 if (SWIG_arg_fail(1)) SWIG_fail;
18418 {
18419 arg2 = (double)(SWIG_As_double(obj1));
18420 if (SWIG_arg_fail(2)) SWIG_fail;
18421 }
18422 {
18423 arg3 = (double)(SWIG_As_double(obj2));
18424 if (SWIG_arg_fail(3)) SWIG_fail;
18425 }
8edf1c75 18426 if (obj3) {
36ed4f51
RD
18427 {
18428 arg4 = (int)(SWIG_As_int(obj3));
18429 if (SWIG_arg_fail(4)) SWIG_fail;
18430 }
8edf1c75
RD
18431 }
18432 if (obj4) {
36ed4f51
RD
18433 {
18434 arg5 = (int)(SWIG_As_int(obj4));
18435 if (SWIG_arg_fail(5)) SWIG_fail;
18436 }
8edf1c75 18437 }
44127b65
RD
18438 {
18439 PyThreadState* __tstate = wxPyBeginAllowThreads();
18440 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
18441
18442 wxPyEndAllowThreads(__tstate);
18443 if (PyErr_Occurred()) SWIG_fail;
18444 }
18445 Py_INCREF(Py_None); resultobj = Py_None;
18446 return resultobj;
18447 fail:
18448 return NULL;
18449}
18450
18451
c370783e 18452static PyObject *_wrap_PyDrawnShape_base_OnLeftDoubleClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
18453 PyObject *resultobj;
18454 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
18455 double arg2 ;
18456 double arg3 ;
18457 int arg4 = (int) 0 ;
18458 int arg5 = (int) 0 ;
18459 PyObject * obj0 = 0 ;
8edf1c75
RD
18460 PyObject * obj1 = 0 ;
18461 PyObject * obj2 = 0 ;
18462 PyObject * obj3 = 0 ;
18463 PyObject * obj4 = 0 ;
44127b65
RD
18464 char *kwnames[] = {
18465 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18466 };
18467
8edf1c75 18468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
18469 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDrawnShape, SWIG_POINTER_EXCEPTION | 0);
18470 if (SWIG_arg_fail(1)) SWIG_fail;
18471 {
18472 arg2 = (double)(SWIG_As_double(obj1));
18473 if (SWIG_arg_fail(2)) SWIG_fail;
18474 }
18475 {
18476 arg3 = (double)(SWIG_As_double(obj2));
18477 if (SWIG_arg_fail(3)) SWIG_fail;
18478 }
8edf1c75 18479 if (obj3) {
36ed4f51
RD
18480 {
18481 arg4 = (int)(SWIG_As_int(obj3));
18482 if (SWIG_arg_fail(4)) SWIG_fail;
18483 }
8edf1c75
RD
18484 }
18485 if (obj4) {
36ed4f51
RD
18486 {
18487 arg5 = (int)(SWIG_As_int(obj4));
18488 if (SWIG_arg_fail(5)) SWIG_fail;
18489 }
8edf1c75 18490 }
44127b65
RD
18491 {
18492 PyThreadState* __tstate = wxPyBeginAllowThreads();
18493 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
18494
18495 wxPyEndAllowThreads(__tstate);
18496 if (PyErr_Occurred()) SWIG_fail;
18497 }
18498 Py_INCREF(Py_None); resultobj = Py_None;
18499 return resultobj;
18500 fail:
18501 return NULL;
18502}
18503
18504
c370783e 18505static PyObject *_wrap_PyDrawnShape_base_OnRightClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
18506 PyObject *resultobj;
18507 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
18508 double arg2 ;
18509 double arg3 ;
18510 int arg4 = (int) 0 ;
18511 int arg5 = (int) 0 ;
18512 PyObject * obj0 = 0 ;
8edf1c75
RD
18513 PyObject * obj1 = 0 ;
18514 PyObject * obj2 = 0 ;
18515 PyObject * obj3 = 0 ;
18516 PyObject * obj4 = 0 ;
44127b65
RD
18517 char *kwnames[] = {
18518 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18519 };
18520
8edf1c75 18521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
18522 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDrawnShape, SWIG_POINTER_EXCEPTION | 0);
18523 if (SWIG_arg_fail(1)) SWIG_fail;
18524 {
18525 arg2 = (double)(SWIG_As_double(obj1));
18526 if (SWIG_arg_fail(2)) SWIG_fail;
18527 }
18528 {
18529 arg3 = (double)(SWIG_As_double(obj2));
18530 if (SWIG_arg_fail(3)) SWIG_fail;
18531 }
8edf1c75 18532 if (obj3) {
36ed4f51
RD
18533 {
18534 arg4 = (int)(SWIG_As_int(obj3));
18535 if (SWIG_arg_fail(4)) SWIG_fail;
18536 }
8edf1c75
RD
18537 }
18538 if (obj4) {
36ed4f51
RD
18539 {
18540 arg5 = (int)(SWIG_As_int(obj4));
18541 if (SWIG_arg_fail(5)) SWIG_fail;
18542 }
8edf1c75 18543 }
44127b65
RD
18544 {
18545 PyThreadState* __tstate = wxPyBeginAllowThreads();
18546 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
18547
18548 wxPyEndAllowThreads(__tstate);
18549 if (PyErr_Occurred()) SWIG_fail;
18550 }
18551 Py_INCREF(Py_None); resultobj = Py_None;
18552 return resultobj;
18553 fail:
18554 return NULL;
18555}
18556
18557
c370783e 18558static PyObject *_wrap_PyDrawnShape_base_OnSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
18559 PyObject *resultobj;
18560 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
18561 double arg2 ;
18562 double arg3 ;
18563 PyObject * obj0 = 0 ;
8edf1c75
RD
18564 PyObject * obj1 = 0 ;
18565 PyObject * obj2 = 0 ;
44127b65
RD
18566 char *kwnames[] = {
18567 (char *) "self",(char *) "x",(char *) "y", NULL
18568 };
18569
8edf1c75 18570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
18571 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDrawnShape, SWIG_POINTER_EXCEPTION | 0);
18572 if (SWIG_arg_fail(1)) SWIG_fail;
18573 {
18574 arg2 = (double)(SWIG_As_double(obj1));
18575 if (SWIG_arg_fail(2)) SWIG_fail;
18576 }
18577 {
18578 arg3 = (double)(SWIG_As_double(obj2));
18579 if (SWIG_arg_fail(3)) SWIG_fail;
18580 }
44127b65
RD
18581 {
18582 PyThreadState* __tstate = wxPyBeginAllowThreads();
18583 (arg1)->base_OnSize(arg2,arg3);
18584
18585 wxPyEndAllowThreads(__tstate);
18586 if (PyErr_Occurred()) SWIG_fail;
18587 }
18588 Py_INCREF(Py_None); resultobj = Py_None;
18589 return resultobj;
18590 fail:
18591 return NULL;
18592}
18593
18594
c370783e 18595static PyObject *_wrap_PyDrawnShape_base_OnMovePre(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
18596 PyObject *resultobj;
18597 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
18598 wxDC *arg2 = 0 ;
18599 double arg3 ;
18600 double arg4 ;
18601 double arg5 ;
18602 double arg6 ;
b411df4a 18603 bool arg7 = (bool) true ;
44127b65
RD
18604 bool result;
18605 PyObject * obj0 = 0 ;
18606 PyObject * obj1 = 0 ;
8edf1c75
RD
18607 PyObject * obj2 = 0 ;
18608 PyObject * obj3 = 0 ;
18609 PyObject * obj4 = 0 ;
18610 PyObject * obj5 = 0 ;
44127b65
RD
18611 PyObject * obj6 = 0 ;
18612 char *kwnames[] = {
18613 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
18614 };
18615
8edf1c75 18616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyDrawnShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
18617 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDrawnShape, SWIG_POINTER_EXCEPTION | 0);
18618 if (SWIG_arg_fail(1)) SWIG_fail;
18619 {
18620 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
18621 if (SWIG_arg_fail(2)) SWIG_fail;
18622 if (arg2 == NULL) {
18623 SWIG_null_ref("wxDC");
18624 }
18625 if (SWIG_arg_fail(2)) SWIG_fail;
18626 }
18627 {
18628 arg3 = (double)(SWIG_As_double(obj2));
18629 if (SWIG_arg_fail(3)) SWIG_fail;
18630 }
18631 {
18632 arg4 = (double)(SWIG_As_double(obj3));
18633 if (SWIG_arg_fail(4)) SWIG_fail;
18634 }
18635 {
18636 arg5 = (double)(SWIG_As_double(obj4));
18637 if (SWIG_arg_fail(5)) SWIG_fail;
18638 }
18639 {
18640 arg6 = (double)(SWIG_As_double(obj5));
18641 if (SWIG_arg_fail(6)) SWIG_fail;
18642 }
44127b65 18643 if (obj6) {
36ed4f51
RD
18644 {
18645 arg7 = (bool)(SWIG_As_bool(obj6));
18646 if (SWIG_arg_fail(7)) SWIG_fail;
18647 }
44127b65
RD
18648 }
18649 {
18650 PyThreadState* __tstate = wxPyBeginAllowThreads();
18651 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
18652
18653 wxPyEndAllowThreads(__tstate);
18654 if (PyErr_Occurred()) SWIG_fail;
18655 }
fbc46b20
RD
18656 {
18657 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18658 }
44127b65
RD
18659 return resultobj;
18660 fail:
18661 return NULL;
18662}
18663
18664
c370783e 18665static PyObject *_wrap_PyDrawnShape_base_OnMovePost(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
18666 PyObject *resultobj;
18667 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
18668 wxDC *arg2 = 0 ;
18669 double arg3 ;
18670 double arg4 ;
18671 double arg5 ;
18672 double arg6 ;
b411df4a 18673 bool arg7 = (bool) true ;
44127b65
RD
18674 PyObject * obj0 = 0 ;
18675 PyObject * obj1 = 0 ;
8edf1c75
RD
18676 PyObject * obj2 = 0 ;
18677 PyObject * obj3 = 0 ;
18678 PyObject * obj4 = 0 ;
18679 PyObject * obj5 = 0 ;
44127b65
RD
18680 PyObject * obj6 = 0 ;
18681 char *kwnames[] = {
18682 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
18683 };
18684
8edf1c75 18685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyDrawnShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
18686 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDrawnShape, SWIG_POINTER_EXCEPTION | 0);
18687 if (SWIG_arg_fail(1)) SWIG_fail;
18688 {
18689 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
18690 if (SWIG_arg_fail(2)) SWIG_fail;
18691 if (arg2 == NULL) {
18692 SWIG_null_ref("wxDC");
18693 }
18694 if (SWIG_arg_fail(2)) SWIG_fail;
18695 }
18696 {
18697 arg3 = (double)(SWIG_As_double(obj2));
18698 if (SWIG_arg_fail(3)) SWIG_fail;
18699 }
18700 {
18701 arg4 = (double)(SWIG_As_double(obj3));
18702 if (SWIG_arg_fail(4)) SWIG_fail;
18703 }
18704 {
18705 arg5 = (double)(SWIG_As_double(obj4));
18706 if (SWIG_arg_fail(5)) SWIG_fail;
18707 }
18708 {
18709 arg6 = (double)(SWIG_As_double(obj5));
18710 if (SWIG_arg_fail(6)) SWIG_fail;
18711 }
44127b65 18712 if (obj6) {
36ed4f51
RD
18713 {
18714 arg7 = (bool)(SWIG_As_bool(obj6));
18715 if (SWIG_arg_fail(7)) SWIG_fail;
18716 }
44127b65
RD
18717 }
18718 {
18719 PyThreadState* __tstate = wxPyBeginAllowThreads();
18720 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
18721
18722 wxPyEndAllowThreads(__tstate);
18723 if (PyErr_Occurred()) SWIG_fail;
18724 }
18725 Py_INCREF(Py_None); resultobj = Py_None;
18726 return resultobj;
18727 fail:
18728 return NULL;
18729}
18730
18731
c370783e 18732static PyObject *_wrap_PyDrawnShape_base_OnDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
18733 PyObject *resultobj;
18734 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
18735 bool arg2 ;
18736 double arg3 ;
18737 double arg4 ;
18738 int arg5 = (int) 0 ;
18739 int arg6 = (int) 0 ;
18740 PyObject * obj0 = 0 ;
18741 PyObject * obj1 = 0 ;
8edf1c75
RD
18742 PyObject * obj2 = 0 ;
18743 PyObject * obj3 = 0 ;
18744 PyObject * obj4 = 0 ;
18745 PyObject * obj5 = 0 ;
44127b65
RD
18746 char *kwnames[] = {
18747 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18748 };
18749
8edf1c75 18750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDrawnShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
18751 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDrawnShape, SWIG_POINTER_EXCEPTION | 0);
18752 if (SWIG_arg_fail(1)) SWIG_fail;
18753 {
18754 arg2 = (bool)(SWIG_As_bool(obj1));
18755 if (SWIG_arg_fail(2)) SWIG_fail;
18756 }
18757 {
18758 arg3 = (double)(SWIG_As_double(obj2));
18759 if (SWIG_arg_fail(3)) SWIG_fail;
18760 }
18761 {
18762 arg4 = (double)(SWIG_As_double(obj3));
18763 if (SWIG_arg_fail(4)) SWIG_fail;
18764 }
8edf1c75 18765 if (obj4) {
36ed4f51
RD
18766 {
18767 arg5 = (int)(SWIG_As_int(obj4));
18768 if (SWIG_arg_fail(5)) SWIG_fail;
18769 }
8edf1c75
RD
18770 }
18771 if (obj5) {
36ed4f51
RD
18772 {
18773 arg6 = (int)(SWIG_As_int(obj5));
18774 if (SWIG_arg_fail(6)) SWIG_fail;
18775 }
8edf1c75 18776 }
44127b65
RD
18777 {
18778 PyThreadState* __tstate = wxPyBeginAllowThreads();
18779 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
18780
18781 wxPyEndAllowThreads(__tstate);
18782 if (PyErr_Occurred()) SWIG_fail;
18783 }
18784 Py_INCREF(Py_None); resultobj = Py_None;
18785 return resultobj;
18786 fail:
18787 return NULL;
18788}
18789
18790
c370783e 18791static PyObject *_wrap_PyDrawnShape_base_OnBeginDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
18792 PyObject *resultobj;
18793 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
18794 double arg2 ;
18795 double arg3 ;
18796 int arg4 = (int) 0 ;
18797 int arg5 = (int) 0 ;
18798 PyObject * obj0 = 0 ;
8edf1c75
RD
18799 PyObject * obj1 = 0 ;
18800 PyObject * obj2 = 0 ;
18801 PyObject * obj3 = 0 ;
18802 PyObject * obj4 = 0 ;
44127b65
RD
18803 char *kwnames[] = {
18804 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18805 };
18806
8edf1c75 18807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
18808 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDrawnShape, SWIG_POINTER_EXCEPTION | 0);
18809 if (SWIG_arg_fail(1)) SWIG_fail;
18810 {
18811 arg2 = (double)(SWIG_As_double(obj1));
18812 if (SWIG_arg_fail(2)) SWIG_fail;
18813 }
18814 {
18815 arg3 = (double)(SWIG_As_double(obj2));
18816 if (SWIG_arg_fail(3)) SWIG_fail;
18817 }
8edf1c75 18818 if (obj3) {
36ed4f51
RD
18819 {
18820 arg4 = (int)(SWIG_As_int(obj3));
18821 if (SWIG_arg_fail(4)) SWIG_fail;
18822 }
8edf1c75
RD
18823 }
18824 if (obj4) {
36ed4f51
RD
18825 {
18826 arg5 = (int)(SWIG_As_int(obj4));
18827 if (SWIG_arg_fail(5)) SWIG_fail;
18828 }
8edf1c75 18829 }
44127b65
RD
18830 {
18831 PyThreadState* __tstate = wxPyBeginAllowThreads();
18832 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
18833
18834 wxPyEndAllowThreads(__tstate);
18835 if (PyErr_Occurred()) SWIG_fail;
18836 }
18837 Py_INCREF(Py_None); resultobj = Py_None;
18838 return resultobj;
18839 fail:
18840 return NULL;
18841}
18842
18843
c370783e 18844static PyObject *_wrap_PyDrawnShape_base_OnEndDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
18845 PyObject *resultobj;
18846 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
18847 double arg2 ;
18848 double arg3 ;
18849 int arg4 = (int) 0 ;
18850 int arg5 = (int) 0 ;
18851 PyObject * obj0 = 0 ;
8edf1c75
RD
18852 PyObject * obj1 = 0 ;
18853 PyObject * obj2 = 0 ;
18854 PyObject * obj3 = 0 ;
18855 PyObject * obj4 = 0 ;
44127b65
RD
18856 char *kwnames[] = {
18857 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18858 };
18859
8edf1c75 18860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
18861 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDrawnShape, SWIG_POINTER_EXCEPTION | 0);
18862 if (SWIG_arg_fail(1)) SWIG_fail;
18863 {
18864 arg2 = (double)(SWIG_As_double(obj1));
18865 if (SWIG_arg_fail(2)) SWIG_fail;
18866 }
18867 {
18868 arg3 = (double)(SWIG_As_double(obj2));
18869 if (SWIG_arg_fail(3)) SWIG_fail;
18870 }
8edf1c75 18871 if (obj3) {
36ed4f51
RD
18872 {
18873 arg4 = (int)(SWIG_As_int(obj3));
18874 if (SWIG_arg_fail(4)) SWIG_fail;
18875 }
8edf1c75
RD
18876 }
18877 if (obj4) {
36ed4f51
RD
18878 {
18879 arg5 = (int)(SWIG_As_int(obj4));
18880 if (SWIG_arg_fail(5)) SWIG_fail;
18881 }
8edf1c75 18882 }
44127b65
RD
18883 {
18884 PyThreadState* __tstate = wxPyBeginAllowThreads();
18885 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
18886
18887 wxPyEndAllowThreads(__tstate);
18888 if (PyErr_Occurred()) SWIG_fail;
18889 }
18890 Py_INCREF(Py_None); resultobj = Py_None;
18891 return resultobj;
18892 fail:
18893 return NULL;
18894}
18895
18896
c370783e 18897static PyObject *_wrap_PyDrawnShape_base_OnDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
18898 PyObject *resultobj;
18899 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
18900 bool arg2 ;
18901 double arg3 ;
18902 double arg4 ;
18903 int arg5 = (int) 0 ;
18904 int arg6 = (int) 0 ;
18905 PyObject * obj0 = 0 ;
18906 PyObject * obj1 = 0 ;
8edf1c75
RD
18907 PyObject * obj2 = 0 ;
18908 PyObject * obj3 = 0 ;
18909 PyObject * obj4 = 0 ;
18910 PyObject * obj5 = 0 ;
44127b65
RD
18911 char *kwnames[] = {
18912 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18913 };
18914
8edf1c75 18915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDrawnShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
18916 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDrawnShape, SWIG_POINTER_EXCEPTION | 0);
18917 if (SWIG_arg_fail(1)) SWIG_fail;
18918 {
18919 arg2 = (bool)(SWIG_As_bool(obj1));
18920 if (SWIG_arg_fail(2)) SWIG_fail;
18921 }
18922 {
18923 arg3 = (double)(SWIG_As_double(obj2));
18924 if (SWIG_arg_fail(3)) SWIG_fail;
18925 }
18926 {
18927 arg4 = (double)(SWIG_As_double(obj3));
18928 if (SWIG_arg_fail(4)) SWIG_fail;
18929 }
8edf1c75 18930 if (obj4) {
36ed4f51
RD
18931 {
18932 arg5 = (int)(SWIG_As_int(obj4));
18933 if (SWIG_arg_fail(5)) SWIG_fail;
18934 }
8edf1c75
RD
18935 }
18936 if (obj5) {
36ed4f51
RD
18937 {
18938 arg6 = (int)(SWIG_As_int(obj5));
18939 if (SWIG_arg_fail(6)) SWIG_fail;
18940 }
8edf1c75 18941 }
44127b65
RD
18942 {
18943 PyThreadState* __tstate = wxPyBeginAllowThreads();
18944 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
18945
18946 wxPyEndAllowThreads(__tstate);
18947 if (PyErr_Occurred()) SWIG_fail;
18948 }
18949 Py_INCREF(Py_None); resultobj = Py_None;
18950 return resultobj;
18951 fail:
18952 return NULL;
18953}
18954
18955
c370783e 18956static PyObject *_wrap_PyDrawnShape_base_OnBeginDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
18957 PyObject *resultobj;
18958 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
18959 double arg2 ;
18960 double arg3 ;
18961 int arg4 = (int) 0 ;
18962 int arg5 = (int) 0 ;
18963 PyObject * obj0 = 0 ;
8edf1c75
RD
18964 PyObject * obj1 = 0 ;
18965 PyObject * obj2 = 0 ;
18966 PyObject * obj3 = 0 ;
18967 PyObject * obj4 = 0 ;
44127b65
RD
18968 char *kwnames[] = {
18969 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
18970 };
18971
8edf1c75 18972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
18973 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDrawnShape, SWIG_POINTER_EXCEPTION | 0);
18974 if (SWIG_arg_fail(1)) SWIG_fail;
18975 {
18976 arg2 = (double)(SWIG_As_double(obj1));
18977 if (SWIG_arg_fail(2)) SWIG_fail;
18978 }
18979 {
18980 arg3 = (double)(SWIG_As_double(obj2));
18981 if (SWIG_arg_fail(3)) SWIG_fail;
18982 }
8edf1c75 18983 if (obj3) {
36ed4f51
RD
18984 {
18985 arg4 = (int)(SWIG_As_int(obj3));
18986 if (SWIG_arg_fail(4)) SWIG_fail;
18987 }
8edf1c75
RD
18988 }
18989 if (obj4) {
36ed4f51
RD
18990 {
18991 arg5 = (int)(SWIG_As_int(obj4));
18992 if (SWIG_arg_fail(5)) SWIG_fail;
18993 }
8edf1c75 18994 }
44127b65
RD
18995 {
18996 PyThreadState* __tstate = wxPyBeginAllowThreads();
18997 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
18998
18999 wxPyEndAllowThreads(__tstate);
19000 if (PyErr_Occurred()) SWIG_fail;
19001 }
19002 Py_INCREF(Py_None); resultobj = Py_None;
19003 return resultobj;
19004 fail:
19005 return NULL;
19006}
19007
19008
c370783e 19009static PyObject *_wrap_PyDrawnShape_base_OnEndDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
19010 PyObject *resultobj;
19011 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
19012 double arg2 ;
19013 double arg3 ;
19014 int arg4 = (int) 0 ;
19015 int arg5 = (int) 0 ;
19016 PyObject * obj0 = 0 ;
8edf1c75
RD
19017 PyObject * obj1 = 0 ;
19018 PyObject * obj2 = 0 ;
19019 PyObject * obj3 = 0 ;
19020 PyObject * obj4 = 0 ;
44127b65
RD
19021 char *kwnames[] = {
19022 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19023 };
19024
8edf1c75 19025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDrawnShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
19026 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDrawnShape, SWIG_POINTER_EXCEPTION | 0);
19027 if (SWIG_arg_fail(1)) SWIG_fail;
19028 {
19029 arg2 = (double)(SWIG_As_double(obj1));
19030 if (SWIG_arg_fail(2)) SWIG_fail;
19031 }
19032 {
19033 arg3 = (double)(SWIG_As_double(obj2));
19034 if (SWIG_arg_fail(3)) SWIG_fail;
19035 }
8edf1c75 19036 if (obj3) {
36ed4f51
RD
19037 {
19038 arg4 = (int)(SWIG_As_int(obj3));
19039 if (SWIG_arg_fail(4)) SWIG_fail;
19040 }
8edf1c75
RD
19041 }
19042 if (obj4) {
36ed4f51
RD
19043 {
19044 arg5 = (int)(SWIG_As_int(obj4));
19045 if (SWIG_arg_fail(5)) SWIG_fail;
19046 }
8edf1c75 19047 }
44127b65
RD
19048 {
19049 PyThreadState* __tstate = wxPyBeginAllowThreads();
19050 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
19051
19052 wxPyEndAllowThreads(__tstate);
19053 if (PyErr_Occurred()) SWIG_fail;
19054 }
19055 Py_INCREF(Py_None); resultobj = Py_None;
19056 return resultobj;
19057 fail:
19058 return NULL;
19059}
19060
19061
c370783e 19062static PyObject *_wrap_PyDrawnShape_base_OnDrawOutline(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
19063 PyObject *resultobj;
19064 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
19065 wxDC *arg2 = 0 ;
19066 double arg3 ;
19067 double arg4 ;
19068 double arg5 ;
19069 double arg6 ;
19070 PyObject * obj0 = 0 ;
19071 PyObject * obj1 = 0 ;
8edf1c75
RD
19072 PyObject * obj2 = 0 ;
19073 PyObject * obj3 = 0 ;
19074 PyObject * obj4 = 0 ;
19075 PyObject * obj5 = 0 ;
44127b65
RD
19076 char *kwnames[] = {
19077 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
19078 };
19079
8edf1c75 19080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyDrawnShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
19081 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDrawnShape, SWIG_POINTER_EXCEPTION | 0);
19082 if (SWIG_arg_fail(1)) SWIG_fail;
19083 {
19084 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
19085 if (SWIG_arg_fail(2)) SWIG_fail;
19086 if (arg2 == NULL) {
19087 SWIG_null_ref("wxDC");
19088 }
19089 if (SWIG_arg_fail(2)) SWIG_fail;
19090 }
19091 {
19092 arg3 = (double)(SWIG_As_double(obj2));
19093 if (SWIG_arg_fail(3)) SWIG_fail;
19094 }
19095 {
19096 arg4 = (double)(SWIG_As_double(obj3));
19097 if (SWIG_arg_fail(4)) SWIG_fail;
19098 }
19099 {
19100 arg5 = (double)(SWIG_As_double(obj4));
19101 if (SWIG_arg_fail(5)) SWIG_fail;
19102 }
19103 {
19104 arg6 = (double)(SWIG_As_double(obj5));
19105 if (SWIG_arg_fail(6)) SWIG_fail;
19106 }
44127b65
RD
19107 {
19108 PyThreadState* __tstate = wxPyBeginAllowThreads();
19109 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
19110
19111 wxPyEndAllowThreads(__tstate);
19112 if (PyErr_Occurred()) SWIG_fail;
19113 }
19114 Py_INCREF(Py_None); resultobj = Py_None;
19115 return resultobj;
19116 fail:
19117 return NULL;
19118}
19119
19120
c370783e 19121static PyObject *_wrap_PyDrawnShape_base_OnDrawControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
19122 PyObject *resultobj;
19123 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
19124 wxDC *arg2 = 0 ;
19125 PyObject * obj0 = 0 ;
19126 PyObject * obj1 = 0 ;
19127 char *kwnames[] = {
19128 (char *) "self",(char *) "dc", NULL
19129 };
19130
19131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19132 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDrawnShape, SWIG_POINTER_EXCEPTION | 0);
19133 if (SWIG_arg_fail(1)) SWIG_fail;
19134 {
19135 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
19136 if (SWIG_arg_fail(2)) SWIG_fail;
19137 if (arg2 == NULL) {
19138 SWIG_null_ref("wxDC");
19139 }
19140 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
19141 }
19142 {
19143 PyThreadState* __tstate = wxPyBeginAllowThreads();
19144 (arg1)->base_OnDrawControlPoints(*arg2);
19145
19146 wxPyEndAllowThreads(__tstate);
19147 if (PyErr_Occurred()) SWIG_fail;
19148 }
19149 Py_INCREF(Py_None); resultobj = Py_None;
19150 return resultobj;
19151 fail:
19152 return NULL;
19153}
19154
19155
c370783e 19156static PyObject *_wrap_PyDrawnShape_base_OnEraseControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
19157 PyObject *resultobj;
19158 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
19159 wxDC *arg2 = 0 ;
19160 PyObject * obj0 = 0 ;
19161 PyObject * obj1 = 0 ;
19162 char *kwnames[] = {
19163 (char *) "self",(char *) "dc", NULL
19164 };
19165
19166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDrawnShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19167 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDrawnShape, SWIG_POINTER_EXCEPTION | 0);
19168 if (SWIG_arg_fail(1)) SWIG_fail;
19169 {
19170 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
19171 if (SWIG_arg_fail(2)) SWIG_fail;
19172 if (arg2 == NULL) {
19173 SWIG_null_ref("wxDC");
19174 }
19175 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
19176 }
19177 {
19178 PyThreadState* __tstate = wxPyBeginAllowThreads();
19179 (arg1)->base_OnEraseControlPoints(*arg2);
19180
19181 wxPyEndAllowThreads(__tstate);
19182 if (PyErr_Occurred()) SWIG_fail;
19183 }
19184 Py_INCREF(Py_None); resultobj = Py_None;
19185 return resultobj;
19186 fail:
19187 return NULL;
19188}
19189
19190
c370783e 19191static PyObject *_wrap_PyDrawnShape_base_OnMoveLink(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
19192 PyObject *resultobj;
19193 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
19194 wxDC *arg2 = 0 ;
b411df4a 19195 bool arg3 = (bool) true ;
44127b65
RD
19196 PyObject * obj0 = 0 ;
19197 PyObject * obj1 = 0 ;
19198 PyObject * obj2 = 0 ;
19199 char *kwnames[] = {
19200 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
19201 };
19202
19203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDrawnShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
19204 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDrawnShape, SWIG_POINTER_EXCEPTION | 0);
19205 if (SWIG_arg_fail(1)) SWIG_fail;
19206 {
19207 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
19208 if (SWIG_arg_fail(2)) SWIG_fail;
19209 if (arg2 == NULL) {
19210 SWIG_null_ref("wxDC");
19211 }
19212 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
19213 }
19214 if (obj2) {
36ed4f51
RD
19215 {
19216 arg3 = (bool)(SWIG_As_bool(obj2));
19217 if (SWIG_arg_fail(3)) SWIG_fail;
19218 }
44127b65
RD
19219 }
19220 {
19221 PyThreadState* __tstate = wxPyBeginAllowThreads();
19222 (arg1)->base_OnMoveLink(*arg2,arg3);
19223
19224 wxPyEndAllowThreads(__tstate);
19225 if (PyErr_Occurred()) SWIG_fail;
19226 }
19227 Py_INCREF(Py_None); resultobj = Py_None;
19228 return resultobj;
19229 fail:
19230 return NULL;
19231}
19232
19233
c370783e 19234static PyObject *_wrap_PyDrawnShape_base_OnSizingDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
19235 PyObject *resultobj;
19236 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
19237 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
19238 bool arg3 ;
19239 double arg4 ;
19240 double arg5 ;
19241 int arg6 = (int) 0 ;
19242 int arg7 = (int) 0 ;
19243 PyObject * obj0 = 0 ;
19244 PyObject * obj1 = 0 ;
19245 PyObject * obj2 = 0 ;
8edf1c75
RD
19246 PyObject * obj3 = 0 ;
19247 PyObject * obj4 = 0 ;
19248 PyObject * obj5 = 0 ;
19249 PyObject * obj6 = 0 ;
44127b65
RD
19250 char *kwnames[] = {
19251 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19252 };
19253
8edf1c75 19254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyDrawnShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
19255 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDrawnShape, SWIG_POINTER_EXCEPTION | 0);
19256 if (SWIG_arg_fail(1)) SWIG_fail;
19257 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
19258 if (SWIG_arg_fail(2)) SWIG_fail;
19259 {
19260 arg3 = (bool)(SWIG_As_bool(obj2));
19261 if (SWIG_arg_fail(3)) SWIG_fail;
19262 }
19263 {
19264 arg4 = (double)(SWIG_As_double(obj3));
19265 if (SWIG_arg_fail(4)) SWIG_fail;
19266 }
19267 {
19268 arg5 = (double)(SWIG_As_double(obj4));
19269 if (SWIG_arg_fail(5)) SWIG_fail;
19270 }
8edf1c75 19271 if (obj5) {
36ed4f51
RD
19272 {
19273 arg6 = (int)(SWIG_As_int(obj5));
19274 if (SWIG_arg_fail(6)) SWIG_fail;
19275 }
8edf1c75
RD
19276 }
19277 if (obj6) {
36ed4f51
RD
19278 {
19279 arg7 = (int)(SWIG_As_int(obj6));
19280 if (SWIG_arg_fail(7)) SWIG_fail;
19281 }
8edf1c75 19282 }
44127b65
RD
19283 {
19284 PyThreadState* __tstate = wxPyBeginAllowThreads();
19285 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
19286
19287 wxPyEndAllowThreads(__tstate);
19288 if (PyErr_Occurred()) SWIG_fail;
19289 }
19290 Py_INCREF(Py_None); resultobj = Py_None;
19291 return resultobj;
19292 fail:
19293 return NULL;
19294}
19295
19296
c370783e 19297static PyObject *_wrap_PyDrawnShape_base_OnSizingBeginDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
19298 PyObject *resultobj;
19299 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
19300 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
19301 double arg3 ;
19302 double arg4 ;
19303 int arg5 = (int) 0 ;
19304 int arg6 = (int) 0 ;
19305 PyObject * obj0 = 0 ;
19306 PyObject * obj1 = 0 ;
8edf1c75
RD
19307 PyObject * obj2 = 0 ;
19308 PyObject * obj3 = 0 ;
19309 PyObject * obj4 = 0 ;
19310 PyObject * obj5 = 0 ;
44127b65
RD
19311 char *kwnames[] = {
19312 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19313 };
19314
8edf1c75 19315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDrawnShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
19316 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDrawnShape, SWIG_POINTER_EXCEPTION | 0);
19317 if (SWIG_arg_fail(1)) SWIG_fail;
19318 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
19319 if (SWIG_arg_fail(2)) SWIG_fail;
19320 {
19321 arg3 = (double)(SWIG_As_double(obj2));
19322 if (SWIG_arg_fail(3)) SWIG_fail;
19323 }
19324 {
19325 arg4 = (double)(SWIG_As_double(obj3));
19326 if (SWIG_arg_fail(4)) SWIG_fail;
19327 }
8edf1c75 19328 if (obj4) {
36ed4f51
RD
19329 {
19330 arg5 = (int)(SWIG_As_int(obj4));
19331 if (SWIG_arg_fail(5)) SWIG_fail;
19332 }
8edf1c75
RD
19333 }
19334 if (obj5) {
36ed4f51
RD
19335 {
19336 arg6 = (int)(SWIG_As_int(obj5));
19337 if (SWIG_arg_fail(6)) SWIG_fail;
19338 }
8edf1c75 19339 }
44127b65
RD
19340 {
19341 PyThreadState* __tstate = wxPyBeginAllowThreads();
19342 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
19343
19344 wxPyEndAllowThreads(__tstate);
19345 if (PyErr_Occurred()) SWIG_fail;
19346 }
19347 Py_INCREF(Py_None); resultobj = Py_None;
19348 return resultobj;
19349 fail:
19350 return NULL;
19351}
19352
19353
c370783e 19354static PyObject *_wrap_PyDrawnShape_base_OnSizingEndDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
19355 PyObject *resultobj;
19356 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
19357 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
19358 double arg3 ;
19359 double arg4 ;
19360 int arg5 = (int) 0 ;
19361 int arg6 = (int) 0 ;
19362 PyObject * obj0 = 0 ;
19363 PyObject * obj1 = 0 ;
8edf1c75
RD
19364 PyObject * obj2 = 0 ;
19365 PyObject * obj3 = 0 ;
19366 PyObject * obj4 = 0 ;
19367 PyObject * obj5 = 0 ;
44127b65
RD
19368 char *kwnames[] = {
19369 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
19370 };
19371
8edf1c75 19372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDrawnShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
19373 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDrawnShape, SWIG_POINTER_EXCEPTION | 0);
19374 if (SWIG_arg_fail(1)) SWIG_fail;
19375 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
19376 if (SWIG_arg_fail(2)) SWIG_fail;
19377 {
19378 arg3 = (double)(SWIG_As_double(obj2));
19379 if (SWIG_arg_fail(3)) SWIG_fail;
19380 }
19381 {
19382 arg4 = (double)(SWIG_As_double(obj3));
19383 if (SWIG_arg_fail(4)) SWIG_fail;
19384 }
8edf1c75 19385 if (obj4) {
36ed4f51
RD
19386 {
19387 arg5 = (int)(SWIG_As_int(obj4));
19388 if (SWIG_arg_fail(5)) SWIG_fail;
19389 }
8edf1c75
RD
19390 }
19391 if (obj5) {
36ed4f51
RD
19392 {
19393 arg6 = (int)(SWIG_As_int(obj5));
19394 if (SWIG_arg_fail(6)) SWIG_fail;
19395 }
8edf1c75 19396 }
44127b65
RD
19397 {
19398 PyThreadState* __tstate = wxPyBeginAllowThreads();
19399 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
19400
19401 wxPyEndAllowThreads(__tstate);
19402 if (PyErr_Occurred()) SWIG_fail;
19403 }
19404 Py_INCREF(Py_None); resultobj = Py_None;
19405 return resultobj;
19406 fail:
19407 return NULL;
19408}
19409
19410
c370783e 19411static PyObject *_wrap_PyDrawnShape_base_OnBeginSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
19412 PyObject *resultobj;
19413 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
19414 double arg2 ;
19415 double arg3 ;
19416 PyObject * obj0 = 0 ;
8edf1c75
RD
19417 PyObject * obj1 = 0 ;
19418 PyObject * obj2 = 0 ;
44127b65
RD
19419 char *kwnames[] = {
19420 (char *) "self",(char *) "w",(char *) "h", NULL
19421 };
19422
8edf1c75 19423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
19424 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDrawnShape, SWIG_POINTER_EXCEPTION | 0);
19425 if (SWIG_arg_fail(1)) SWIG_fail;
19426 {
19427 arg2 = (double)(SWIG_As_double(obj1));
19428 if (SWIG_arg_fail(2)) SWIG_fail;
19429 }
19430 {
19431 arg3 = (double)(SWIG_As_double(obj2));
19432 if (SWIG_arg_fail(3)) SWIG_fail;
19433 }
44127b65
RD
19434 {
19435 PyThreadState* __tstate = wxPyBeginAllowThreads();
19436 (arg1)->base_OnBeginSize(arg2,arg3);
19437
19438 wxPyEndAllowThreads(__tstate);
19439 if (PyErr_Occurred()) SWIG_fail;
19440 }
19441 Py_INCREF(Py_None); resultobj = Py_None;
19442 return resultobj;
19443 fail:
19444 return NULL;
19445}
19446
19447
c370783e 19448static PyObject *_wrap_PyDrawnShape_base_OnEndSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
19449 PyObject *resultobj;
19450 wxPyDrawnShape *arg1 = (wxPyDrawnShape *) 0 ;
19451 double arg2 ;
19452 double arg3 ;
19453 PyObject * obj0 = 0 ;
8edf1c75
RD
19454 PyObject * obj1 = 0 ;
19455 PyObject * obj2 = 0 ;
44127b65
RD
19456 char *kwnames[] = {
19457 (char *) "self",(char *) "w",(char *) "h", NULL
19458 };
19459
8edf1c75 19460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDrawnShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
19461 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDrawnShape, SWIG_POINTER_EXCEPTION | 0);
19462 if (SWIG_arg_fail(1)) SWIG_fail;
19463 {
19464 arg2 = (double)(SWIG_As_double(obj1));
19465 if (SWIG_arg_fail(2)) SWIG_fail;
19466 }
19467 {
19468 arg3 = (double)(SWIG_As_double(obj2));
19469 if (SWIG_arg_fail(3)) SWIG_fail;
19470 }
44127b65
RD
19471 {
19472 PyThreadState* __tstate = wxPyBeginAllowThreads();
19473 (arg1)->base_OnEndSize(arg2,arg3);
19474
19475 wxPyEndAllowThreads(__tstate);
19476 if (PyErr_Occurred()) SWIG_fail;
19477 }
19478 Py_INCREF(Py_None); resultobj = Py_None;
19479 return resultobj;
19480 fail:
19481 return NULL;
19482}
19483
19484
c370783e 19485static PyObject * PyDrawnShape_swigregister(PyObject *, PyObject *args) {
44127b65
RD
19486 PyObject *obj;
19487 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19488 SWIG_TypeClientData(SWIGTYPE_p_wxPyDrawnShape, obj);
19489 Py_INCREF(obj);
19490 return Py_BuildValue((char *)"");
19491}
c370783e 19492static PyObject *_wrap_new_OGLConstraint(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
19493 PyObject *resultobj;
19494 int arg1 ;
19495 wxPyShape *arg2 = (wxPyShape *) 0 ;
19496 PyObject *arg3 = (PyObject *) 0 ;
19497 wxOGLConstraint *result;
8edf1c75 19498 PyObject * obj0 = 0 ;
44127b65
RD
19499 PyObject * obj1 = 0 ;
19500 PyObject * obj2 = 0 ;
19501 char *kwnames[] = {
19502 (char *) "type",(char *) "constraining",(char *) "constrained", NULL
19503 };
19504
8edf1c75 19505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_OGLConstraint",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
19506 {
19507 arg1 = (int)(SWIG_As_int(obj0));
19508 if (SWIG_arg_fail(1)) SWIG_fail;
19509 }
19510 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
19511 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
19512 arg3 = obj2;
19513 {
19514 PyThreadState* __tstate = wxPyBeginAllowThreads();
19515 result = (wxOGLConstraint *)new_wxOGLConstraint(arg1,arg2,arg3);
19516
19517 wxPyEndAllowThreads(__tstate);
19518 if (PyErr_Occurred()) SWIG_fail;
19519 }
19520 {
412d302d 19521 resultobj = wxPyMake_wxObject(result, 1);
44127b65
RD
19522 }
19523 return resultobj;
19524 fail:
19525 return NULL;
19526}
19527
19528
c370783e 19529static PyObject *_wrap_OGLConstraint_Evaluate(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
19530 PyObject *resultobj;
19531 wxOGLConstraint *arg1 = (wxOGLConstraint *) 0 ;
19532 bool result;
19533 PyObject * obj0 = 0 ;
19534 char *kwnames[] = {
19535 (char *) "self", NULL
19536 };
19537
19538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:OGLConstraint_Evaluate",kwnames,&obj0)) goto fail;
36ed4f51
RD
19539 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxOGLConstraint, SWIG_POINTER_EXCEPTION | 0);
19540 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
19541 {
19542 PyThreadState* __tstate = wxPyBeginAllowThreads();
19543 result = (bool)(arg1)->Evaluate();
19544
19545 wxPyEndAllowThreads(__tstate);
19546 if (PyErr_Occurred()) SWIG_fail;
19547 }
fbc46b20
RD
19548 {
19549 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19550 }
44127b65
RD
19551 return resultobj;
19552 fail:
19553 return NULL;
19554}
19555
19556
c370783e 19557static PyObject *_wrap_OGLConstraint_SetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
19558 PyObject *resultobj;
19559 wxOGLConstraint *arg1 = (wxOGLConstraint *) 0 ;
19560 double arg2 ;
19561 double arg3 ;
19562 PyObject * obj0 = 0 ;
8edf1c75
RD
19563 PyObject * obj1 = 0 ;
19564 PyObject * obj2 = 0 ;
44127b65
RD
19565 char *kwnames[] = {
19566 (char *) "self",(char *) "x",(char *) "y", NULL
19567 };
19568
8edf1c75 19569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:OGLConstraint_SetSpacing",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
19570 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxOGLConstraint, SWIG_POINTER_EXCEPTION | 0);
19571 if (SWIG_arg_fail(1)) SWIG_fail;
19572 {
19573 arg2 = (double)(SWIG_As_double(obj1));
19574 if (SWIG_arg_fail(2)) SWIG_fail;
19575 }
19576 {
19577 arg3 = (double)(SWIG_As_double(obj2));
19578 if (SWIG_arg_fail(3)) SWIG_fail;
19579 }
44127b65
RD
19580 {
19581 PyThreadState* __tstate = wxPyBeginAllowThreads();
19582 (arg1)->SetSpacing(arg2,arg3);
19583
19584 wxPyEndAllowThreads(__tstate);
19585 if (PyErr_Occurred()) SWIG_fail;
19586 }
19587 Py_INCREF(Py_None); resultobj = Py_None;
19588 return resultobj;
19589 fail:
19590 return NULL;
19591}
19592
19593
c370783e 19594static PyObject *_wrap_OGLConstraint_Equals(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
19595 PyObject *resultobj;
19596 wxOGLConstraint *arg1 = (wxOGLConstraint *) 0 ;
19597 double arg2 ;
19598 double arg3 ;
19599 bool result;
19600 PyObject * obj0 = 0 ;
8edf1c75
RD
19601 PyObject * obj1 = 0 ;
19602 PyObject * obj2 = 0 ;
44127b65
RD
19603 char *kwnames[] = {
19604 (char *) "self",(char *) "a",(char *) "b", NULL
19605 };
19606
8edf1c75 19607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:OGLConstraint_Equals",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
19608 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxOGLConstraint, SWIG_POINTER_EXCEPTION | 0);
19609 if (SWIG_arg_fail(1)) SWIG_fail;
19610 {
19611 arg2 = (double)(SWIG_As_double(obj1));
19612 if (SWIG_arg_fail(2)) SWIG_fail;
19613 }
19614 {
19615 arg3 = (double)(SWIG_As_double(obj2));
19616 if (SWIG_arg_fail(3)) SWIG_fail;
19617 }
44127b65
RD
19618 {
19619 PyThreadState* __tstate = wxPyBeginAllowThreads();
19620 result = (bool)(arg1)->Equals(arg2,arg3);
19621
19622 wxPyEndAllowThreads(__tstate);
19623 if (PyErr_Occurred()) SWIG_fail;
19624 }
fbc46b20
RD
19625 {
19626 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19627 }
44127b65
RD
19628 return resultobj;
19629 fail:
19630 return NULL;
19631}
19632
19633
c370783e 19634static PyObject * OGLConstraint_swigregister(PyObject *, PyObject *args) {
44127b65
RD
19635 PyObject *obj;
19636 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19637 SWIG_TypeClientData(SWIGTYPE_p_wxOGLConstraint, obj);
19638 Py_INCREF(obj);
19639 return Py_BuildValue((char *)"");
19640}
c370783e 19641static PyObject *_wrap_new_PyCompositeShape(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
19642 PyObject *resultobj;
19643 wxPyCompositeShape *result;
19644 char *kwnames[] = {
19645 NULL
19646 };
19647
19648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyCompositeShape",kwnames)) goto fail;
19649 {
19650 PyThreadState* __tstate = wxPyBeginAllowThreads();
19651 result = (wxPyCompositeShape *)new wxPyCompositeShape();
19652
19653 wxPyEndAllowThreads(__tstate);
19654 if (PyErr_Occurred()) SWIG_fail;
19655 }
2f4c0a16 19656 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyCompositeShape, 1);
44127b65
RD
19657 return resultobj;
19658 fail:
19659 return NULL;
19660}
19661
19662
c370783e 19663static PyObject *_wrap_PyCompositeShape__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
19664 PyObject *resultobj;
19665 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
19666 PyObject *arg2 = (PyObject *) 0 ;
19667 PyObject *arg3 = (PyObject *) 0 ;
19668 PyObject * obj0 = 0 ;
19669 PyObject * obj1 = 0 ;
19670 PyObject * obj2 = 0 ;
19671 char *kwnames[] = {
19672 (char *) "self",(char *) "self",(char *) "_class", NULL
19673 };
19674
19675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCompositeShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
19676 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCompositeShape, SWIG_POINTER_EXCEPTION | 0);
19677 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
19678 arg2 = obj1;
19679 arg3 = obj2;
19680 {
19681 PyThreadState* __tstate = wxPyBeginAllowThreads();
19682 (arg1)->_setCallbackInfo(arg2,arg3);
19683
19684 wxPyEndAllowThreads(__tstate);
19685 if (PyErr_Occurred()) SWIG_fail;
19686 }
19687 Py_INCREF(Py_None); resultobj = Py_None;
19688 return resultobj;
19689 fail:
19690 return NULL;
19691}
19692
19693
c370783e 19694static PyObject *_wrap_PyCompositeShape_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
19695 PyObject *resultobj;
19696 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
19697 wxPyShape *arg2 = (wxPyShape *) 0 ;
19698 wxPyShape *arg3 = (wxPyShape *) NULL ;
19699 PyObject * obj0 = 0 ;
19700 PyObject * obj1 = 0 ;
19701 PyObject * obj2 = 0 ;
19702 char *kwnames[] = {
19703 (char *) "self",(char *) "child",(char *) "addAfter", NULL
19704 };
19705
19706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCompositeShape_AddChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
19707 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCompositeShape, SWIG_POINTER_EXCEPTION | 0);
19708 if (SWIG_arg_fail(1)) SWIG_fail;
19709 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
19710 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65 19711 if (obj2) {
36ed4f51
RD
19712 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
19713 if (SWIG_arg_fail(3)) SWIG_fail;
44127b65
RD
19714 }
19715 {
19716 PyThreadState* __tstate = wxPyBeginAllowThreads();
19717 (arg1)->AddChild(arg2,arg3);
19718
19719 wxPyEndAllowThreads(__tstate);
19720 if (PyErr_Occurred()) SWIG_fail;
19721 }
19722 Py_INCREF(Py_None); resultobj = Py_None;
19723 return resultobj;
19724 fail:
19725 return NULL;
19726}
19727
19728
c370783e 19729static PyObject *_wrap_PyCompositeShape_AddConstraint(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
19730 PyObject *resultobj;
19731 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
19732 wxOGLConstraint *arg2 = (wxOGLConstraint *) 0 ;
19733 wxOGLConstraint *result;
19734 PyObject * obj0 = 0 ;
19735 PyObject * obj1 = 0 ;
19736 char *kwnames[] = {
19737 (char *) "self",(char *) "constraint", NULL
19738 };
19739
19740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_AddConstraint",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19741 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCompositeShape, SWIG_POINTER_EXCEPTION | 0);
19742 if (SWIG_arg_fail(1)) SWIG_fail;
19743 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxOGLConstraint, SWIG_POINTER_EXCEPTION | 0);
19744 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
19745 {
19746 PyThreadState* __tstate = wxPyBeginAllowThreads();
19747 result = (wxOGLConstraint *)(arg1)->AddConstraint(arg2);
19748
19749 wxPyEndAllowThreads(__tstate);
19750 if (PyErr_Occurred()) SWIG_fail;
19751 }
19752 {
412d302d 19753 resultobj = wxPyMake_wxObject(result, 0);
44127b65
RD
19754 }
19755 return resultobj;
19756 fail:
19757 return NULL;
19758}
19759
19760
c370783e 19761static PyObject *_wrap_PyCompositeShape_AddConstrainedShapes(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
19762 PyObject *resultobj;
19763 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
19764 int arg2 ;
19765 wxPyShape *arg3 = (wxPyShape *) 0 ;
19766 PyObject *arg4 = (PyObject *) 0 ;
19767 wxOGLConstraint *result;
19768 PyObject * obj0 = 0 ;
8edf1c75 19769 PyObject * obj1 = 0 ;
44127b65
RD
19770 PyObject * obj2 = 0 ;
19771 PyObject * obj3 = 0 ;
19772 char *kwnames[] = {
19773 (char *) "self",(char *) "type",(char *) "constraining",(char *) "constrained", NULL
19774 };
19775
8edf1c75 19776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyCompositeShape_AddConstrainedShapes",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
19777 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCompositeShape, SWIG_POINTER_EXCEPTION | 0);
19778 if (SWIG_arg_fail(1)) SWIG_fail;
19779 {
19780 arg2 = (int)(SWIG_As_int(obj1));
19781 if (SWIG_arg_fail(2)) SWIG_fail;
19782 }
19783 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
19784 if (SWIG_arg_fail(3)) SWIG_fail;
44127b65
RD
19785 arg4 = obj3;
19786 {
19787 PyThreadState* __tstate = wxPyBeginAllowThreads();
19788 result = (wxOGLConstraint *)wxPyCompositeShape_AddConstrainedShapes(arg1,arg2,arg3,arg4);
19789
19790 wxPyEndAllowThreads(__tstate);
19791 if (PyErr_Occurred()) SWIG_fail;
19792 }
19793 {
412d302d 19794 resultobj = wxPyMake_wxObject(result, 0);
44127b65
RD
19795 }
19796 return resultobj;
19797 fail:
19798 return NULL;
19799}
19800
19801
c370783e 19802static PyObject *_wrap_PyCompositeShape_AddSimpleConstraint(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
19803 PyObject *resultobj;
19804 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
19805 int arg2 ;
19806 wxPyShape *arg3 = (wxPyShape *) 0 ;
19807 wxPyShape *arg4 = (wxPyShape *) 0 ;
19808 wxOGLConstraint *result;
19809 PyObject * obj0 = 0 ;
8edf1c75 19810 PyObject * obj1 = 0 ;
44127b65
RD
19811 PyObject * obj2 = 0 ;
19812 PyObject * obj3 = 0 ;
19813 char *kwnames[] = {
19814 (char *) "self",(char *) "type",(char *) "constraining",(char *) "constrained", NULL
19815 };
19816
8edf1c75 19817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyCompositeShape_AddSimpleConstraint",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
19818 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCompositeShape, SWIG_POINTER_EXCEPTION | 0);
19819 if (SWIG_arg_fail(1)) SWIG_fail;
19820 {
19821 arg2 = (int)(SWIG_As_int(obj1));
19822 if (SWIG_arg_fail(2)) SWIG_fail;
19823 }
19824 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
19825 if (SWIG_arg_fail(3)) SWIG_fail;
19826 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
19827 if (SWIG_arg_fail(4)) SWIG_fail;
44127b65
RD
19828 {
19829 PyThreadState* __tstate = wxPyBeginAllowThreads();
19830 result = (wxOGLConstraint *)(arg1)->AddConstraint(arg2,arg3,arg4);
19831
19832 wxPyEndAllowThreads(__tstate);
19833 if (PyErr_Occurred()) SWIG_fail;
19834 }
19835 {
412d302d 19836 resultobj = wxPyMake_wxObject(result, 0);
44127b65
RD
19837 }
19838 return resultobj;
19839 fail:
19840 return NULL;
19841}
19842
19843
c370783e 19844static PyObject *_wrap_PyCompositeShape_CalculateSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
19845 PyObject *resultobj;
19846 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
19847 PyObject * obj0 = 0 ;
19848 char *kwnames[] = {
19849 (char *) "self", NULL
19850 };
19851
19852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_CalculateSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
19853 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCompositeShape, SWIG_POINTER_EXCEPTION | 0);
19854 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
19855 {
19856 PyThreadState* __tstate = wxPyBeginAllowThreads();
19857 (arg1)->CalculateSize();
19858
19859 wxPyEndAllowThreads(__tstate);
19860 if (PyErr_Occurred()) SWIG_fail;
19861 }
19862 Py_INCREF(Py_None); resultobj = Py_None;
19863 return resultobj;
19864 fail:
19865 return NULL;
19866}
19867
19868
c370783e 19869static PyObject *_wrap_PyCompositeShape_ContainsDivision(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
19870 PyObject *resultobj;
19871 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
19872 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
19873 bool result;
19874 PyObject * obj0 = 0 ;
19875 PyObject * obj1 = 0 ;
19876 char *kwnames[] = {
19877 (char *) "self",(char *) "division", NULL
19878 };
19879
19880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_ContainsDivision",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19881 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCompositeShape, SWIG_POINTER_EXCEPTION | 0);
19882 if (SWIG_arg_fail(1)) SWIG_fail;
19883 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyDivisionShape, SWIG_POINTER_EXCEPTION | 0);
19884 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
19885 {
19886 PyThreadState* __tstate = wxPyBeginAllowThreads();
19887 result = (bool)(arg1)->ContainsDivision(arg2);
19888
19889 wxPyEndAllowThreads(__tstate);
19890 if (PyErr_Occurred()) SWIG_fail;
19891 }
fbc46b20
RD
19892 {
19893 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19894 }
44127b65
RD
19895 return resultobj;
19896 fail:
19897 return NULL;
19898}
19899
19900
c370783e 19901static PyObject *_wrap_PyCompositeShape_DeleteConstraint(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
19902 PyObject *resultobj;
19903 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
19904 wxOGLConstraint *arg2 = (wxOGLConstraint *) 0 ;
19905 PyObject * obj0 = 0 ;
19906 PyObject * obj1 = 0 ;
19907 char *kwnames[] = {
19908 (char *) "self",(char *) "constraint", NULL
19909 };
19910
19911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_DeleteConstraint",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCompositeShape, SWIG_POINTER_EXCEPTION | 0);
19913 if (SWIG_arg_fail(1)) SWIG_fail;
19914 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxOGLConstraint, SWIG_POINTER_EXCEPTION | 0);
19915 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
19916 {
19917 PyThreadState* __tstate = wxPyBeginAllowThreads();
19918 (arg1)->DeleteConstraint(arg2);
19919
19920 wxPyEndAllowThreads(__tstate);
19921 if (PyErr_Occurred()) SWIG_fail;
19922 }
19923 Py_INCREF(Py_None); resultobj = Py_None;
19924 return resultobj;
19925 fail:
19926 return NULL;
19927}
19928
19929
c370783e 19930static PyObject *_wrap_PyCompositeShape_DeleteConstraintsInvolvingChild(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
19931 PyObject *resultobj;
19932 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
19933 wxPyShape *arg2 = (wxPyShape *) 0 ;
19934 PyObject * obj0 = 0 ;
19935 PyObject * obj1 = 0 ;
19936 char *kwnames[] = {
19937 (char *) "self",(char *) "child", NULL
19938 };
19939
19940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_DeleteConstraintsInvolvingChild",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19941 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCompositeShape, SWIG_POINTER_EXCEPTION | 0);
19942 if (SWIG_arg_fail(1)) SWIG_fail;
19943 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
19944 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
19945 {
19946 PyThreadState* __tstate = wxPyBeginAllowThreads();
19947 (arg1)->DeleteConstraintsInvolvingChild(arg2);
19948
19949 wxPyEndAllowThreads(__tstate);
19950 if (PyErr_Occurred()) SWIG_fail;
19951 }
19952 Py_INCREF(Py_None); resultobj = Py_None;
19953 return resultobj;
19954 fail:
19955 return NULL;
19956}
19957
19958
c370783e 19959static PyObject *_wrap_PyCompositeShape_FindContainerImage(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
19960 PyObject *resultobj;
19961 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
19962 wxPyShape *result;
19963 PyObject * obj0 = 0 ;
19964 char *kwnames[] = {
19965 (char *) "self", NULL
19966 };
19967
19968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_FindContainerImage",kwnames,&obj0)) goto fail;
36ed4f51
RD
19969 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCompositeShape, SWIG_POINTER_EXCEPTION | 0);
19970 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
19971 {
19972 PyThreadState* __tstate = wxPyBeginAllowThreads();
19973 result = (wxPyShape *)(arg1)->FindContainerImage();
19974
19975 wxPyEndAllowThreads(__tstate);
19976 if (PyErr_Occurred()) SWIG_fail;
19977 }
19978 {
412d302d 19979 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
44127b65
RD
19980 }
19981 return resultobj;
19982 fail:
19983 return NULL;
19984}
19985
19986
c370783e 19987static PyObject *_wrap_PyCompositeShape_GetConstraints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
19988 PyObject *resultobj;
19989 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
19990 PyObject *result;
19991 PyObject * obj0 = 0 ;
19992 char *kwnames[] = {
19993 (char *) "self", NULL
19994 };
19995
19996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_GetConstraints",kwnames,&obj0)) goto fail;
36ed4f51
RD
19997 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCompositeShape, SWIG_POINTER_EXCEPTION | 0);
19998 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
19999 {
20000 PyThreadState* __tstate = wxPyBeginAllowThreads();
20001 result = (PyObject *)wxPyCompositeShape_GetConstraints(arg1);
20002
20003 wxPyEndAllowThreads(__tstate);
20004 if (PyErr_Occurred()) SWIG_fail;
20005 }
20006 resultobj = result;
20007 return resultobj;
20008 fail:
20009 return NULL;
20010}
20011
20012
c370783e 20013static PyObject *_wrap_PyCompositeShape_GetDivisions(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
20014 PyObject *resultobj;
20015 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
20016 PyObject *result;
20017 PyObject * obj0 = 0 ;
20018 char *kwnames[] = {
20019 (char *) "self", NULL
20020 };
20021
20022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_GetDivisions",kwnames,&obj0)) goto fail;
36ed4f51
RD
20023 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCompositeShape, SWIG_POINTER_EXCEPTION | 0);
20024 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
20025 {
20026 PyThreadState* __tstate = wxPyBeginAllowThreads();
20027 result = (PyObject *)wxPyCompositeShape_GetDivisions(arg1);
20028
20029 wxPyEndAllowThreads(__tstate);
20030 if (PyErr_Occurred()) SWIG_fail;
20031 }
20032 resultobj = result;
20033 return resultobj;
20034 fail:
20035 return NULL;
20036}
20037
20038
c370783e 20039static PyObject *_wrap_PyCompositeShape_MakeContainer(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
20040 PyObject *resultobj;
20041 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
20042 PyObject * obj0 = 0 ;
20043 char *kwnames[] = {
20044 (char *) "self", NULL
20045 };
20046
20047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_MakeContainer",kwnames,&obj0)) goto fail;
36ed4f51
RD
20048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCompositeShape, SWIG_POINTER_EXCEPTION | 0);
20049 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
20050 {
20051 PyThreadState* __tstate = wxPyBeginAllowThreads();
20052 (arg1)->MakeContainer();
20053
20054 wxPyEndAllowThreads(__tstate);
20055 if (PyErr_Occurred()) SWIG_fail;
20056 }
20057 Py_INCREF(Py_None); resultobj = Py_None;
20058 return resultobj;
20059 fail:
20060 return NULL;
20061}
20062
20063
c370783e 20064static PyObject *_wrap_PyCompositeShape_Recompute(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
20065 PyObject *resultobj;
20066 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
20067 bool result;
20068 PyObject * obj0 = 0 ;
20069 char *kwnames[] = {
20070 (char *) "self", NULL
20071 };
20072
20073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_Recompute",kwnames,&obj0)) goto fail;
36ed4f51
RD
20074 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCompositeShape, SWIG_POINTER_EXCEPTION | 0);
20075 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
20076 {
20077 PyThreadState* __tstate = wxPyBeginAllowThreads();
20078 result = (bool)(arg1)->Recompute();
20079
20080 wxPyEndAllowThreads(__tstate);
20081 if (PyErr_Occurred()) SWIG_fail;
20082 }
fbc46b20
RD
20083 {
20084 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20085 }
44127b65
RD
20086 return resultobj;
20087 fail:
20088 return NULL;
20089}
20090
20091
c370783e 20092static PyObject *_wrap_PyCompositeShape_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
20093 PyObject *resultobj;
20094 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
20095 wxPyShape *arg2 = (wxPyShape *) 0 ;
20096 PyObject * obj0 = 0 ;
20097 PyObject * obj1 = 0 ;
20098 char *kwnames[] = {
20099 (char *) "self",(char *) "child", NULL
20100 };
20101
20102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20103 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCompositeShape, SWIG_POINTER_EXCEPTION | 0);
20104 if (SWIG_arg_fail(1)) SWIG_fail;
20105 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
20106 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
20107 {
20108 PyThreadState* __tstate = wxPyBeginAllowThreads();
20109 (arg1)->RemoveChild(arg2);
20110
20111 wxPyEndAllowThreads(__tstate);
20112 if (PyErr_Occurred()) SWIG_fail;
20113 }
20114 Py_INCREF(Py_None); resultobj = Py_None;
20115 return resultobj;
20116 fail:
20117 return NULL;
20118}
20119
20120
c370783e 20121static PyObject *_wrap_PyCompositeShape_base_OnDelete(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
20122 PyObject *resultobj;
20123 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
20124 PyObject * obj0 = 0 ;
20125 char *kwnames[] = {
20126 (char *) "self", NULL
20127 };
20128
20129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCompositeShape_base_OnDelete",kwnames,&obj0)) goto fail;
36ed4f51
RD
20130 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCompositeShape, SWIG_POINTER_EXCEPTION | 0);
20131 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
20132 {
20133 PyThreadState* __tstate = wxPyBeginAllowThreads();
20134 (arg1)->base_OnDelete();
20135
20136 wxPyEndAllowThreads(__tstate);
20137 if (PyErr_Occurred()) SWIG_fail;
20138 }
20139 Py_INCREF(Py_None); resultobj = Py_None;
20140 return resultobj;
20141 fail:
20142 return NULL;
20143}
20144
20145
c370783e 20146static PyObject *_wrap_PyCompositeShape_base_OnDraw(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
20147 PyObject *resultobj;
20148 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
20149 wxDC *arg2 = 0 ;
20150 PyObject * obj0 = 0 ;
20151 PyObject * obj1 = 0 ;
20152 char *kwnames[] = {
20153 (char *) "self",(char *) "dc", NULL
20154 };
20155
20156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20157 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCompositeShape, SWIG_POINTER_EXCEPTION | 0);
20158 if (SWIG_arg_fail(1)) SWIG_fail;
20159 {
20160 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
20161 if (SWIG_arg_fail(2)) SWIG_fail;
20162 if (arg2 == NULL) {
20163 SWIG_null_ref("wxDC");
20164 }
20165 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
20166 }
20167 {
20168 PyThreadState* __tstate = wxPyBeginAllowThreads();
20169 (arg1)->base_OnDraw(*arg2);
20170
20171 wxPyEndAllowThreads(__tstate);
20172 if (PyErr_Occurred()) SWIG_fail;
20173 }
20174 Py_INCREF(Py_None); resultobj = Py_None;
20175 return resultobj;
20176 fail:
20177 return NULL;
20178}
20179
20180
c370783e 20181static PyObject *_wrap_PyCompositeShape_base_OnDrawContents(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
20182 PyObject *resultobj;
20183 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
20184 wxDC *arg2 = 0 ;
20185 PyObject * obj0 = 0 ;
20186 PyObject * obj1 = 0 ;
20187 char *kwnames[] = {
20188 (char *) "self",(char *) "dc", NULL
20189 };
20190
20191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20192 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCompositeShape, SWIG_POINTER_EXCEPTION | 0);
20193 if (SWIG_arg_fail(1)) SWIG_fail;
20194 {
20195 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
20196 if (SWIG_arg_fail(2)) SWIG_fail;
20197 if (arg2 == NULL) {
20198 SWIG_null_ref("wxDC");
20199 }
20200 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
20201 }
20202 {
20203 PyThreadState* __tstate = wxPyBeginAllowThreads();
20204 (arg1)->base_OnDrawContents(*arg2);
20205
20206 wxPyEndAllowThreads(__tstate);
20207 if (PyErr_Occurred()) SWIG_fail;
20208 }
20209 Py_INCREF(Py_None); resultobj = Py_None;
20210 return resultobj;
20211 fail:
20212 return NULL;
20213}
20214
20215
c370783e 20216static PyObject *_wrap_PyCompositeShape_base_OnDrawBranches(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
20217 PyObject *resultobj;
20218 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
20219 wxDC *arg2 = 0 ;
20220 bool arg3 = (bool) FALSE ;
20221 PyObject * obj0 = 0 ;
20222 PyObject * obj1 = 0 ;
20223 PyObject * obj2 = 0 ;
20224 char *kwnames[] = {
20225 (char *) "self",(char *) "dc",(char *) "erase", NULL
20226 };
20227
20228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCompositeShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
20229 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCompositeShape, SWIG_POINTER_EXCEPTION | 0);
20230 if (SWIG_arg_fail(1)) SWIG_fail;
20231 {
20232 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
20233 if (SWIG_arg_fail(2)) SWIG_fail;
20234 if (arg2 == NULL) {
20235 SWIG_null_ref("wxDC");
20236 }
20237 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
20238 }
20239 if (obj2) {
36ed4f51
RD
20240 {
20241 arg3 = (bool)(SWIG_As_bool(obj2));
20242 if (SWIG_arg_fail(3)) SWIG_fail;
20243 }
44127b65
RD
20244 }
20245 {
20246 PyThreadState* __tstate = wxPyBeginAllowThreads();
20247 (arg1)->base_OnDrawBranches(*arg2,arg3);
20248
20249 wxPyEndAllowThreads(__tstate);
20250 if (PyErr_Occurred()) SWIG_fail;
20251 }
20252 Py_INCREF(Py_None); resultobj = Py_None;
20253 return resultobj;
20254 fail:
20255 return NULL;
20256}
20257
20258
c370783e 20259static PyObject *_wrap_PyCompositeShape_base_OnMoveLinks(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
20260 PyObject *resultobj;
20261 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
20262 wxDC *arg2 = 0 ;
20263 PyObject * obj0 = 0 ;
20264 PyObject * obj1 = 0 ;
20265 char *kwnames[] = {
20266 (char *) "self",(char *) "dc", NULL
20267 };
20268
20269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20270 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCompositeShape, SWIG_POINTER_EXCEPTION | 0);
20271 if (SWIG_arg_fail(1)) SWIG_fail;
20272 {
20273 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
20274 if (SWIG_arg_fail(2)) SWIG_fail;
20275 if (arg2 == NULL) {
20276 SWIG_null_ref("wxDC");
20277 }
20278 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
20279 }
20280 {
20281 PyThreadState* __tstate = wxPyBeginAllowThreads();
20282 (arg1)->base_OnMoveLinks(*arg2);
20283
20284 wxPyEndAllowThreads(__tstate);
20285 if (PyErr_Occurred()) SWIG_fail;
20286 }
20287 Py_INCREF(Py_None); resultobj = Py_None;
20288 return resultobj;
20289 fail:
20290 return NULL;
20291}
20292
20293
c370783e 20294static PyObject *_wrap_PyCompositeShape_base_OnErase(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
20295 PyObject *resultobj;
20296 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
20297 wxDC *arg2 = 0 ;
20298 PyObject * obj0 = 0 ;
20299 PyObject * obj1 = 0 ;
20300 char *kwnames[] = {
20301 (char *) "self",(char *) "dc", NULL
20302 };
20303
20304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20305 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCompositeShape, SWIG_POINTER_EXCEPTION | 0);
20306 if (SWIG_arg_fail(1)) SWIG_fail;
20307 {
20308 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
20309 if (SWIG_arg_fail(2)) SWIG_fail;
20310 if (arg2 == NULL) {
20311 SWIG_null_ref("wxDC");
20312 }
20313 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
20314 }
20315 {
20316 PyThreadState* __tstate = wxPyBeginAllowThreads();
20317 (arg1)->base_OnErase(*arg2);
20318
20319 wxPyEndAllowThreads(__tstate);
20320 if (PyErr_Occurred()) SWIG_fail;
20321 }
20322 Py_INCREF(Py_None); resultobj = Py_None;
20323 return resultobj;
20324 fail:
20325 return NULL;
20326}
20327
20328
c370783e 20329static PyObject *_wrap_PyCompositeShape_base_OnEraseContents(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
20330 PyObject *resultobj;
20331 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
20332 wxDC *arg2 = 0 ;
20333 PyObject * obj0 = 0 ;
20334 PyObject * obj1 = 0 ;
20335 char *kwnames[] = {
20336 (char *) "self",(char *) "dc", NULL
20337 };
20338
20339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20340 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCompositeShape, SWIG_POINTER_EXCEPTION | 0);
20341 if (SWIG_arg_fail(1)) SWIG_fail;
20342 {
20343 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
20344 if (SWIG_arg_fail(2)) SWIG_fail;
20345 if (arg2 == NULL) {
20346 SWIG_null_ref("wxDC");
20347 }
20348 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
20349 }
20350 {
20351 PyThreadState* __tstate = wxPyBeginAllowThreads();
20352 (arg1)->base_OnEraseContents(*arg2);
20353
20354 wxPyEndAllowThreads(__tstate);
20355 if (PyErr_Occurred()) SWIG_fail;
20356 }
20357 Py_INCREF(Py_None); resultobj = Py_None;
20358 return resultobj;
20359 fail:
20360 return NULL;
20361}
20362
20363
c370783e 20364static PyObject *_wrap_PyCompositeShape_base_OnHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
20365 PyObject *resultobj;
20366 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
20367 wxDC *arg2 = 0 ;
20368 PyObject * obj0 = 0 ;
20369 PyObject * obj1 = 0 ;
20370 char *kwnames[] = {
20371 (char *) "self",(char *) "dc", NULL
20372 };
20373
20374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20375 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCompositeShape, SWIG_POINTER_EXCEPTION | 0);
20376 if (SWIG_arg_fail(1)) SWIG_fail;
20377 {
20378 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
20379 if (SWIG_arg_fail(2)) SWIG_fail;
20380 if (arg2 == NULL) {
20381 SWIG_null_ref("wxDC");
20382 }
20383 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
20384 }
20385 {
20386 PyThreadState* __tstate = wxPyBeginAllowThreads();
20387 (arg1)->base_OnHighlight(*arg2);
20388
20389 wxPyEndAllowThreads(__tstate);
20390 if (PyErr_Occurred()) SWIG_fail;
20391 }
20392 Py_INCREF(Py_None); resultobj = Py_None;
20393 return resultobj;
20394 fail:
20395 return NULL;
20396}
20397
20398
c370783e 20399static PyObject *_wrap_PyCompositeShape_base_OnLeftClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
20400 PyObject *resultobj;
20401 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
20402 double arg2 ;
20403 double arg3 ;
20404 int arg4 = (int) 0 ;
20405 int arg5 = (int) 0 ;
20406 PyObject * obj0 = 0 ;
8edf1c75
RD
20407 PyObject * obj1 = 0 ;
20408 PyObject * obj2 = 0 ;
20409 PyObject * obj3 = 0 ;
20410 PyObject * obj4 = 0 ;
44127b65
RD
20411 char *kwnames[] = {
20412 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
20413 };
20414
8edf1c75 20415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
20416 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCompositeShape, SWIG_POINTER_EXCEPTION | 0);
20417 if (SWIG_arg_fail(1)) SWIG_fail;
20418 {
20419 arg2 = (double)(SWIG_As_double(obj1));
20420 if (SWIG_arg_fail(2)) SWIG_fail;
20421 }
20422 {
20423 arg3 = (double)(SWIG_As_double(obj2));
20424 if (SWIG_arg_fail(3)) SWIG_fail;
20425 }
8edf1c75 20426 if (obj3) {
36ed4f51
RD
20427 {
20428 arg4 = (int)(SWIG_As_int(obj3));
20429 if (SWIG_arg_fail(4)) SWIG_fail;
20430 }
8edf1c75
RD
20431 }
20432 if (obj4) {
36ed4f51
RD
20433 {
20434 arg5 = (int)(SWIG_As_int(obj4));
20435 if (SWIG_arg_fail(5)) SWIG_fail;
20436 }
8edf1c75 20437 }
44127b65
RD
20438 {
20439 PyThreadState* __tstate = wxPyBeginAllowThreads();
20440 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
20441
20442 wxPyEndAllowThreads(__tstate);
20443 if (PyErr_Occurred()) SWIG_fail;
20444 }
20445 Py_INCREF(Py_None); resultobj = Py_None;
20446 return resultobj;
20447 fail:
20448 return NULL;
20449}
20450
20451
c370783e 20452static PyObject *_wrap_PyCompositeShape_base_OnLeftDoubleClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
20453 PyObject *resultobj;
20454 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
20455 double arg2 ;
20456 double arg3 ;
20457 int arg4 = (int) 0 ;
20458 int arg5 = (int) 0 ;
20459 PyObject * obj0 = 0 ;
8edf1c75
RD
20460 PyObject * obj1 = 0 ;
20461 PyObject * obj2 = 0 ;
20462 PyObject * obj3 = 0 ;
20463 PyObject * obj4 = 0 ;
44127b65
RD
20464 char *kwnames[] = {
20465 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
20466 };
20467
8edf1c75 20468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
20469 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCompositeShape, SWIG_POINTER_EXCEPTION | 0);
20470 if (SWIG_arg_fail(1)) SWIG_fail;
20471 {
20472 arg2 = (double)(SWIG_As_double(obj1));
20473 if (SWIG_arg_fail(2)) SWIG_fail;
20474 }
20475 {
20476 arg3 = (double)(SWIG_As_double(obj2));
20477 if (SWIG_arg_fail(3)) SWIG_fail;
20478 }
8edf1c75 20479 if (obj3) {
36ed4f51
RD
20480 {
20481 arg4 = (int)(SWIG_As_int(obj3));
20482 if (SWIG_arg_fail(4)) SWIG_fail;
20483 }
8edf1c75
RD
20484 }
20485 if (obj4) {
36ed4f51
RD
20486 {
20487 arg5 = (int)(SWIG_As_int(obj4));
20488 if (SWIG_arg_fail(5)) SWIG_fail;
20489 }
8edf1c75 20490 }
44127b65
RD
20491 {
20492 PyThreadState* __tstate = wxPyBeginAllowThreads();
20493 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
20494
20495 wxPyEndAllowThreads(__tstate);
20496 if (PyErr_Occurred()) SWIG_fail;
20497 }
20498 Py_INCREF(Py_None); resultobj = Py_None;
20499 return resultobj;
20500 fail:
20501 return NULL;
20502}
20503
20504
c370783e 20505static PyObject *_wrap_PyCompositeShape_base_OnRightClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
20506 PyObject *resultobj;
20507 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
20508 double arg2 ;
20509 double arg3 ;
20510 int arg4 = (int) 0 ;
20511 int arg5 = (int) 0 ;
20512 PyObject * obj0 = 0 ;
8edf1c75
RD
20513 PyObject * obj1 = 0 ;
20514 PyObject * obj2 = 0 ;
20515 PyObject * obj3 = 0 ;
20516 PyObject * obj4 = 0 ;
44127b65
RD
20517 char *kwnames[] = {
20518 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
20519 };
20520
8edf1c75 20521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
20522 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCompositeShape, SWIG_POINTER_EXCEPTION | 0);
20523 if (SWIG_arg_fail(1)) SWIG_fail;
20524 {
20525 arg2 = (double)(SWIG_As_double(obj1));
20526 if (SWIG_arg_fail(2)) SWIG_fail;
20527 }
20528 {
20529 arg3 = (double)(SWIG_As_double(obj2));
20530 if (SWIG_arg_fail(3)) SWIG_fail;
20531 }
8edf1c75 20532 if (obj3) {
36ed4f51
RD
20533 {
20534 arg4 = (int)(SWIG_As_int(obj3));
20535 if (SWIG_arg_fail(4)) SWIG_fail;
20536 }
8edf1c75
RD
20537 }
20538 if (obj4) {
36ed4f51
RD
20539 {
20540 arg5 = (int)(SWIG_As_int(obj4));
20541 if (SWIG_arg_fail(5)) SWIG_fail;
20542 }
8edf1c75 20543 }
44127b65
RD
20544 {
20545 PyThreadState* __tstate = wxPyBeginAllowThreads();
20546 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
20547
20548 wxPyEndAllowThreads(__tstate);
20549 if (PyErr_Occurred()) SWIG_fail;
20550 }
20551 Py_INCREF(Py_None); resultobj = Py_None;
20552 return resultobj;
20553 fail:
20554 return NULL;
20555}
20556
20557
c370783e 20558static PyObject *_wrap_PyCompositeShape_base_OnSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
20559 PyObject *resultobj;
20560 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
20561 double arg2 ;
20562 double arg3 ;
20563 PyObject * obj0 = 0 ;
8edf1c75
RD
20564 PyObject * obj1 = 0 ;
20565 PyObject * obj2 = 0 ;
44127b65
RD
20566 char *kwnames[] = {
20567 (char *) "self",(char *) "x",(char *) "y", NULL
20568 };
20569
8edf1c75 20570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCompositeShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
20571 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCompositeShape, SWIG_POINTER_EXCEPTION | 0);
20572 if (SWIG_arg_fail(1)) SWIG_fail;
20573 {
20574 arg2 = (double)(SWIG_As_double(obj1));
20575 if (SWIG_arg_fail(2)) SWIG_fail;
20576 }
20577 {
20578 arg3 = (double)(SWIG_As_double(obj2));
20579 if (SWIG_arg_fail(3)) SWIG_fail;
20580 }
44127b65
RD
20581 {
20582 PyThreadState* __tstate = wxPyBeginAllowThreads();
20583 (arg1)->base_OnSize(arg2,arg3);
20584
20585 wxPyEndAllowThreads(__tstate);
20586 if (PyErr_Occurred()) SWIG_fail;
20587 }
20588 Py_INCREF(Py_None); resultobj = Py_None;
20589 return resultobj;
20590 fail:
20591 return NULL;
20592}
20593
20594
c370783e 20595static PyObject *_wrap_PyCompositeShape_base_OnMovePre(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
20596 PyObject *resultobj;
20597 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
20598 wxDC *arg2 = 0 ;
20599 double arg3 ;
20600 double arg4 ;
20601 double arg5 ;
20602 double arg6 ;
b411df4a 20603 bool arg7 = (bool) true ;
44127b65
RD
20604 bool result;
20605 PyObject * obj0 = 0 ;
20606 PyObject * obj1 = 0 ;
8edf1c75
RD
20607 PyObject * obj2 = 0 ;
20608 PyObject * obj3 = 0 ;
20609 PyObject * obj4 = 0 ;
20610 PyObject * obj5 = 0 ;
44127b65
RD
20611 PyObject * obj6 = 0 ;
20612 char *kwnames[] = {
20613 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
20614 };
20615
8edf1c75 20616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyCompositeShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
20617 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCompositeShape, SWIG_POINTER_EXCEPTION | 0);
20618 if (SWIG_arg_fail(1)) SWIG_fail;
20619 {
20620 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
20621 if (SWIG_arg_fail(2)) SWIG_fail;
20622 if (arg2 == NULL) {
20623 SWIG_null_ref("wxDC");
20624 }
20625 if (SWIG_arg_fail(2)) SWIG_fail;
20626 }
20627 {
20628 arg3 = (double)(SWIG_As_double(obj2));
20629 if (SWIG_arg_fail(3)) SWIG_fail;
20630 }
20631 {
20632 arg4 = (double)(SWIG_As_double(obj3));
20633 if (SWIG_arg_fail(4)) SWIG_fail;
20634 }
20635 {
20636 arg5 = (double)(SWIG_As_double(obj4));
20637 if (SWIG_arg_fail(5)) SWIG_fail;
20638 }
20639 {
20640 arg6 = (double)(SWIG_As_double(obj5));
20641 if (SWIG_arg_fail(6)) SWIG_fail;
20642 }
44127b65 20643 if (obj6) {
36ed4f51
RD
20644 {
20645 arg7 = (bool)(SWIG_As_bool(obj6));
20646 if (SWIG_arg_fail(7)) SWIG_fail;
20647 }
44127b65
RD
20648 }
20649 {
20650 PyThreadState* __tstate = wxPyBeginAllowThreads();
20651 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
20652
20653 wxPyEndAllowThreads(__tstate);
20654 if (PyErr_Occurred()) SWIG_fail;
20655 }
fbc46b20
RD
20656 {
20657 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20658 }
44127b65
RD
20659 return resultobj;
20660 fail:
20661 return NULL;
20662}
20663
20664
c370783e 20665static PyObject *_wrap_PyCompositeShape_base_OnMovePost(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
20666 PyObject *resultobj;
20667 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
20668 wxDC *arg2 = 0 ;
20669 double arg3 ;
20670 double arg4 ;
20671 double arg5 ;
20672 double arg6 ;
b411df4a 20673 bool arg7 = (bool) true ;
44127b65
RD
20674 PyObject * obj0 = 0 ;
20675 PyObject * obj1 = 0 ;
8edf1c75
RD
20676 PyObject * obj2 = 0 ;
20677 PyObject * obj3 = 0 ;
20678 PyObject * obj4 = 0 ;
20679 PyObject * obj5 = 0 ;
44127b65
RD
20680 PyObject * obj6 = 0 ;
20681 char *kwnames[] = {
20682 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
20683 };
20684
8edf1c75 20685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyCompositeShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
20686 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCompositeShape, SWIG_POINTER_EXCEPTION | 0);
20687 if (SWIG_arg_fail(1)) SWIG_fail;
20688 {
20689 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
20690 if (SWIG_arg_fail(2)) SWIG_fail;
20691 if (arg2 == NULL) {
20692 SWIG_null_ref("wxDC");
20693 }
20694 if (SWIG_arg_fail(2)) SWIG_fail;
20695 }
20696 {
20697 arg3 = (double)(SWIG_As_double(obj2));
20698 if (SWIG_arg_fail(3)) SWIG_fail;
20699 }
20700 {
20701 arg4 = (double)(SWIG_As_double(obj3));
20702 if (SWIG_arg_fail(4)) SWIG_fail;
20703 }
20704 {
20705 arg5 = (double)(SWIG_As_double(obj4));
20706 if (SWIG_arg_fail(5)) SWIG_fail;
20707 }
20708 {
20709 arg6 = (double)(SWIG_As_double(obj5));
20710 if (SWIG_arg_fail(6)) SWIG_fail;
20711 }
44127b65 20712 if (obj6) {
36ed4f51
RD
20713 {
20714 arg7 = (bool)(SWIG_As_bool(obj6));
20715 if (SWIG_arg_fail(7)) SWIG_fail;
20716 }
44127b65
RD
20717 }
20718 {
20719 PyThreadState* __tstate = wxPyBeginAllowThreads();
20720 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
20721
20722 wxPyEndAllowThreads(__tstate);
20723 if (PyErr_Occurred()) SWIG_fail;
20724 }
20725 Py_INCREF(Py_None); resultobj = Py_None;
20726 return resultobj;
20727 fail:
20728 return NULL;
20729}
20730
20731
c370783e 20732static PyObject *_wrap_PyCompositeShape_base_OnDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
20733 PyObject *resultobj;
20734 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
20735 bool arg2 ;
20736 double arg3 ;
20737 double arg4 ;
20738 int arg5 = (int) 0 ;
20739 int arg6 = (int) 0 ;
20740 PyObject * obj0 = 0 ;
20741 PyObject * obj1 = 0 ;
8edf1c75
RD
20742 PyObject * obj2 = 0 ;
20743 PyObject * obj3 = 0 ;
20744 PyObject * obj4 = 0 ;
20745 PyObject * obj5 = 0 ;
44127b65
RD
20746 char *kwnames[] = {
20747 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
20748 };
20749
8edf1c75 20750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCompositeShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
20751 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCompositeShape, SWIG_POINTER_EXCEPTION | 0);
20752 if (SWIG_arg_fail(1)) SWIG_fail;
20753 {
20754 arg2 = (bool)(SWIG_As_bool(obj1));
20755 if (SWIG_arg_fail(2)) SWIG_fail;
20756 }
20757 {
20758 arg3 = (double)(SWIG_As_double(obj2));
20759 if (SWIG_arg_fail(3)) SWIG_fail;
20760 }
20761 {
20762 arg4 = (double)(SWIG_As_double(obj3));
20763 if (SWIG_arg_fail(4)) SWIG_fail;
20764 }
8edf1c75 20765 if (obj4) {
36ed4f51
RD
20766 {
20767 arg5 = (int)(SWIG_As_int(obj4));
20768 if (SWIG_arg_fail(5)) SWIG_fail;
20769 }
8edf1c75
RD
20770 }
20771 if (obj5) {
36ed4f51
RD
20772 {
20773 arg6 = (int)(SWIG_As_int(obj5));
20774 if (SWIG_arg_fail(6)) SWIG_fail;
20775 }
8edf1c75 20776 }
44127b65
RD
20777 {
20778 PyThreadState* __tstate = wxPyBeginAllowThreads();
20779 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
20780
20781 wxPyEndAllowThreads(__tstate);
20782 if (PyErr_Occurred()) SWIG_fail;
20783 }
20784 Py_INCREF(Py_None); resultobj = Py_None;
20785 return resultobj;
20786 fail:
20787 return NULL;
20788}
20789
20790
c370783e 20791static PyObject *_wrap_PyCompositeShape_base_OnBeginDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
20792 PyObject *resultobj;
20793 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
20794 double arg2 ;
20795 double arg3 ;
20796 int arg4 = (int) 0 ;
20797 int arg5 = (int) 0 ;
20798 PyObject * obj0 = 0 ;
8edf1c75
RD
20799 PyObject * obj1 = 0 ;
20800 PyObject * obj2 = 0 ;
20801 PyObject * obj3 = 0 ;
20802 PyObject * obj4 = 0 ;
44127b65
RD
20803 char *kwnames[] = {
20804 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
20805 };
20806
8edf1c75 20807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
20808 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCompositeShape, SWIG_POINTER_EXCEPTION | 0);
20809 if (SWIG_arg_fail(1)) SWIG_fail;
20810 {
20811 arg2 = (double)(SWIG_As_double(obj1));
20812 if (SWIG_arg_fail(2)) SWIG_fail;
20813 }
20814 {
20815 arg3 = (double)(SWIG_As_double(obj2));
20816 if (SWIG_arg_fail(3)) SWIG_fail;
20817 }
8edf1c75 20818 if (obj3) {
36ed4f51
RD
20819 {
20820 arg4 = (int)(SWIG_As_int(obj3));
20821 if (SWIG_arg_fail(4)) SWIG_fail;
20822 }
8edf1c75
RD
20823 }
20824 if (obj4) {
36ed4f51
RD
20825 {
20826 arg5 = (int)(SWIG_As_int(obj4));
20827 if (SWIG_arg_fail(5)) SWIG_fail;
20828 }
8edf1c75 20829 }
44127b65
RD
20830 {
20831 PyThreadState* __tstate = wxPyBeginAllowThreads();
20832 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
20833
20834 wxPyEndAllowThreads(__tstate);
20835 if (PyErr_Occurred()) SWIG_fail;
20836 }
20837 Py_INCREF(Py_None); resultobj = Py_None;
20838 return resultobj;
20839 fail:
20840 return NULL;
20841}
20842
20843
c370783e 20844static PyObject *_wrap_PyCompositeShape_base_OnEndDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
20845 PyObject *resultobj;
20846 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
20847 double arg2 ;
20848 double arg3 ;
20849 int arg4 = (int) 0 ;
20850 int arg5 = (int) 0 ;
20851 PyObject * obj0 = 0 ;
8edf1c75
RD
20852 PyObject * obj1 = 0 ;
20853 PyObject * obj2 = 0 ;
20854 PyObject * obj3 = 0 ;
20855 PyObject * obj4 = 0 ;
44127b65
RD
20856 char *kwnames[] = {
20857 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
20858 };
20859
8edf1c75 20860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
20861 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCompositeShape, SWIG_POINTER_EXCEPTION | 0);
20862 if (SWIG_arg_fail(1)) SWIG_fail;
20863 {
20864 arg2 = (double)(SWIG_As_double(obj1));
20865 if (SWIG_arg_fail(2)) SWIG_fail;
20866 }
20867 {
20868 arg3 = (double)(SWIG_As_double(obj2));
20869 if (SWIG_arg_fail(3)) SWIG_fail;
20870 }
8edf1c75 20871 if (obj3) {
36ed4f51
RD
20872 {
20873 arg4 = (int)(SWIG_As_int(obj3));
20874 if (SWIG_arg_fail(4)) SWIG_fail;
20875 }
8edf1c75
RD
20876 }
20877 if (obj4) {
36ed4f51
RD
20878 {
20879 arg5 = (int)(SWIG_As_int(obj4));
20880 if (SWIG_arg_fail(5)) SWIG_fail;
20881 }
8edf1c75 20882 }
44127b65
RD
20883 {
20884 PyThreadState* __tstate = wxPyBeginAllowThreads();
20885 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
20886
20887 wxPyEndAllowThreads(__tstate);
20888 if (PyErr_Occurred()) SWIG_fail;
20889 }
20890 Py_INCREF(Py_None); resultobj = Py_None;
20891 return resultobj;
20892 fail:
20893 return NULL;
20894}
20895
20896
c370783e 20897static PyObject *_wrap_PyCompositeShape_base_OnDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
20898 PyObject *resultobj;
20899 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
20900 bool arg2 ;
20901 double arg3 ;
20902 double arg4 ;
20903 int arg5 = (int) 0 ;
20904 int arg6 = (int) 0 ;
20905 PyObject * obj0 = 0 ;
20906 PyObject * obj1 = 0 ;
8edf1c75
RD
20907 PyObject * obj2 = 0 ;
20908 PyObject * obj3 = 0 ;
20909 PyObject * obj4 = 0 ;
20910 PyObject * obj5 = 0 ;
44127b65
RD
20911 char *kwnames[] = {
20912 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
20913 };
20914
8edf1c75 20915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCompositeShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
20916 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCompositeShape, SWIG_POINTER_EXCEPTION | 0);
20917 if (SWIG_arg_fail(1)) SWIG_fail;
20918 {
20919 arg2 = (bool)(SWIG_As_bool(obj1));
20920 if (SWIG_arg_fail(2)) SWIG_fail;
20921 }
20922 {
20923 arg3 = (double)(SWIG_As_double(obj2));
20924 if (SWIG_arg_fail(3)) SWIG_fail;
20925 }
20926 {
20927 arg4 = (double)(SWIG_As_double(obj3));
20928 if (SWIG_arg_fail(4)) SWIG_fail;
20929 }
8edf1c75 20930 if (obj4) {
36ed4f51
RD
20931 {
20932 arg5 = (int)(SWIG_As_int(obj4));
20933 if (SWIG_arg_fail(5)) SWIG_fail;
20934 }
8edf1c75
RD
20935 }
20936 if (obj5) {
36ed4f51
RD
20937 {
20938 arg6 = (int)(SWIG_As_int(obj5));
20939 if (SWIG_arg_fail(6)) SWIG_fail;
20940 }
8edf1c75 20941 }
44127b65
RD
20942 {
20943 PyThreadState* __tstate = wxPyBeginAllowThreads();
20944 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
20945
20946 wxPyEndAllowThreads(__tstate);
20947 if (PyErr_Occurred()) SWIG_fail;
20948 }
20949 Py_INCREF(Py_None); resultobj = Py_None;
20950 return resultobj;
20951 fail:
20952 return NULL;
20953}
20954
20955
c370783e 20956static PyObject *_wrap_PyCompositeShape_base_OnBeginDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
20957 PyObject *resultobj;
20958 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
20959 double arg2 ;
20960 double arg3 ;
20961 int arg4 = (int) 0 ;
20962 int arg5 = (int) 0 ;
20963 PyObject * obj0 = 0 ;
8edf1c75
RD
20964 PyObject * obj1 = 0 ;
20965 PyObject * obj2 = 0 ;
20966 PyObject * obj3 = 0 ;
20967 PyObject * obj4 = 0 ;
44127b65
RD
20968 char *kwnames[] = {
20969 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
20970 };
20971
8edf1c75 20972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
20973 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCompositeShape, SWIG_POINTER_EXCEPTION | 0);
20974 if (SWIG_arg_fail(1)) SWIG_fail;
20975 {
20976 arg2 = (double)(SWIG_As_double(obj1));
20977 if (SWIG_arg_fail(2)) SWIG_fail;
20978 }
20979 {
20980 arg3 = (double)(SWIG_As_double(obj2));
20981 if (SWIG_arg_fail(3)) SWIG_fail;
20982 }
8edf1c75 20983 if (obj3) {
36ed4f51
RD
20984 {
20985 arg4 = (int)(SWIG_As_int(obj3));
20986 if (SWIG_arg_fail(4)) SWIG_fail;
20987 }
8edf1c75
RD
20988 }
20989 if (obj4) {
36ed4f51
RD
20990 {
20991 arg5 = (int)(SWIG_As_int(obj4));
20992 if (SWIG_arg_fail(5)) SWIG_fail;
20993 }
8edf1c75 20994 }
44127b65
RD
20995 {
20996 PyThreadState* __tstate = wxPyBeginAllowThreads();
20997 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
20998
20999 wxPyEndAllowThreads(__tstate);
21000 if (PyErr_Occurred()) SWIG_fail;
21001 }
21002 Py_INCREF(Py_None); resultobj = Py_None;
21003 return resultobj;
21004 fail:
21005 return NULL;
21006}
21007
21008
c370783e 21009static PyObject *_wrap_PyCompositeShape_base_OnEndDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
21010 PyObject *resultobj;
21011 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
21012 double arg2 ;
21013 double arg3 ;
21014 int arg4 = (int) 0 ;
21015 int arg5 = (int) 0 ;
21016 PyObject * obj0 = 0 ;
8edf1c75
RD
21017 PyObject * obj1 = 0 ;
21018 PyObject * obj2 = 0 ;
21019 PyObject * obj3 = 0 ;
21020 PyObject * obj4 = 0 ;
44127b65
RD
21021 char *kwnames[] = {
21022 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21023 };
21024
8edf1c75 21025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCompositeShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
21026 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCompositeShape, SWIG_POINTER_EXCEPTION | 0);
21027 if (SWIG_arg_fail(1)) SWIG_fail;
21028 {
21029 arg2 = (double)(SWIG_As_double(obj1));
21030 if (SWIG_arg_fail(2)) SWIG_fail;
21031 }
21032 {
21033 arg3 = (double)(SWIG_As_double(obj2));
21034 if (SWIG_arg_fail(3)) SWIG_fail;
21035 }
8edf1c75 21036 if (obj3) {
36ed4f51
RD
21037 {
21038 arg4 = (int)(SWIG_As_int(obj3));
21039 if (SWIG_arg_fail(4)) SWIG_fail;
21040 }
8edf1c75
RD
21041 }
21042 if (obj4) {
36ed4f51
RD
21043 {
21044 arg5 = (int)(SWIG_As_int(obj4));
21045 if (SWIG_arg_fail(5)) SWIG_fail;
21046 }
8edf1c75 21047 }
44127b65
RD
21048 {
21049 PyThreadState* __tstate = wxPyBeginAllowThreads();
21050 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
21051
21052 wxPyEndAllowThreads(__tstate);
21053 if (PyErr_Occurred()) SWIG_fail;
21054 }
21055 Py_INCREF(Py_None); resultobj = Py_None;
21056 return resultobj;
21057 fail:
21058 return NULL;
21059}
21060
21061
c370783e 21062static PyObject *_wrap_PyCompositeShape_base_OnDrawOutline(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
21063 PyObject *resultobj;
21064 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
21065 wxDC *arg2 = 0 ;
21066 double arg3 ;
21067 double arg4 ;
21068 double arg5 ;
21069 double arg6 ;
21070 PyObject * obj0 = 0 ;
21071 PyObject * obj1 = 0 ;
8edf1c75
RD
21072 PyObject * obj2 = 0 ;
21073 PyObject * obj3 = 0 ;
21074 PyObject * obj4 = 0 ;
21075 PyObject * obj5 = 0 ;
44127b65
RD
21076 char *kwnames[] = {
21077 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
21078 };
21079
8edf1c75 21080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyCompositeShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
21081 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCompositeShape, SWIG_POINTER_EXCEPTION | 0);
21082 if (SWIG_arg_fail(1)) SWIG_fail;
21083 {
21084 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
21085 if (SWIG_arg_fail(2)) SWIG_fail;
21086 if (arg2 == NULL) {
21087 SWIG_null_ref("wxDC");
21088 }
21089 if (SWIG_arg_fail(2)) SWIG_fail;
21090 }
21091 {
21092 arg3 = (double)(SWIG_As_double(obj2));
21093 if (SWIG_arg_fail(3)) SWIG_fail;
21094 }
21095 {
21096 arg4 = (double)(SWIG_As_double(obj3));
21097 if (SWIG_arg_fail(4)) SWIG_fail;
21098 }
21099 {
21100 arg5 = (double)(SWIG_As_double(obj4));
21101 if (SWIG_arg_fail(5)) SWIG_fail;
21102 }
21103 {
21104 arg6 = (double)(SWIG_As_double(obj5));
21105 if (SWIG_arg_fail(6)) SWIG_fail;
21106 }
44127b65
RD
21107 {
21108 PyThreadState* __tstate = wxPyBeginAllowThreads();
21109 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
21110
21111 wxPyEndAllowThreads(__tstate);
21112 if (PyErr_Occurred()) SWIG_fail;
21113 }
21114 Py_INCREF(Py_None); resultobj = Py_None;
21115 return resultobj;
21116 fail:
21117 return NULL;
21118}
21119
21120
c370783e 21121static PyObject *_wrap_PyCompositeShape_base_OnDrawControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
21122 PyObject *resultobj;
21123 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
21124 wxDC *arg2 = 0 ;
21125 PyObject * obj0 = 0 ;
21126 PyObject * obj1 = 0 ;
21127 char *kwnames[] = {
21128 (char *) "self",(char *) "dc", NULL
21129 };
21130
21131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21132 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCompositeShape, SWIG_POINTER_EXCEPTION | 0);
21133 if (SWIG_arg_fail(1)) SWIG_fail;
21134 {
21135 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
21136 if (SWIG_arg_fail(2)) SWIG_fail;
21137 if (arg2 == NULL) {
21138 SWIG_null_ref("wxDC");
21139 }
21140 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
21141 }
21142 {
21143 PyThreadState* __tstate = wxPyBeginAllowThreads();
21144 (arg1)->base_OnDrawControlPoints(*arg2);
21145
21146 wxPyEndAllowThreads(__tstate);
21147 if (PyErr_Occurred()) SWIG_fail;
21148 }
21149 Py_INCREF(Py_None); resultobj = Py_None;
21150 return resultobj;
21151 fail:
21152 return NULL;
21153}
21154
21155
c370783e 21156static PyObject *_wrap_PyCompositeShape_base_OnEraseControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
21157 PyObject *resultobj;
21158 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
21159 wxDC *arg2 = 0 ;
21160 PyObject * obj0 = 0 ;
21161 PyObject * obj1 = 0 ;
21162 char *kwnames[] = {
21163 (char *) "self",(char *) "dc", NULL
21164 };
21165
21166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCompositeShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21167 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCompositeShape, SWIG_POINTER_EXCEPTION | 0);
21168 if (SWIG_arg_fail(1)) SWIG_fail;
21169 {
21170 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
21171 if (SWIG_arg_fail(2)) SWIG_fail;
21172 if (arg2 == NULL) {
21173 SWIG_null_ref("wxDC");
21174 }
21175 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
21176 }
21177 {
21178 PyThreadState* __tstate = wxPyBeginAllowThreads();
21179 (arg1)->base_OnEraseControlPoints(*arg2);
21180
21181 wxPyEndAllowThreads(__tstate);
21182 if (PyErr_Occurred()) SWIG_fail;
21183 }
21184 Py_INCREF(Py_None); resultobj = Py_None;
21185 return resultobj;
21186 fail:
21187 return NULL;
21188}
21189
21190
c370783e 21191static PyObject *_wrap_PyCompositeShape_base_OnMoveLink(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
21192 PyObject *resultobj;
21193 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
21194 wxDC *arg2 = 0 ;
b411df4a 21195 bool arg3 = (bool) true ;
44127b65
RD
21196 PyObject * obj0 = 0 ;
21197 PyObject * obj1 = 0 ;
21198 PyObject * obj2 = 0 ;
21199 char *kwnames[] = {
21200 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
21201 };
21202
21203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCompositeShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
21204 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCompositeShape, SWIG_POINTER_EXCEPTION | 0);
21205 if (SWIG_arg_fail(1)) SWIG_fail;
21206 {
21207 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
21208 if (SWIG_arg_fail(2)) SWIG_fail;
21209 if (arg2 == NULL) {
21210 SWIG_null_ref("wxDC");
21211 }
21212 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
21213 }
21214 if (obj2) {
36ed4f51
RD
21215 {
21216 arg3 = (bool)(SWIG_As_bool(obj2));
21217 if (SWIG_arg_fail(3)) SWIG_fail;
21218 }
44127b65
RD
21219 }
21220 {
21221 PyThreadState* __tstate = wxPyBeginAllowThreads();
21222 (arg1)->base_OnMoveLink(*arg2,arg3);
21223
21224 wxPyEndAllowThreads(__tstate);
21225 if (PyErr_Occurred()) SWIG_fail;
21226 }
21227 Py_INCREF(Py_None); resultobj = Py_None;
21228 return resultobj;
21229 fail:
21230 return NULL;
21231}
21232
21233
c370783e 21234static PyObject *_wrap_PyCompositeShape_base_OnSizingDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
21235 PyObject *resultobj;
21236 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
21237 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
21238 bool arg3 ;
21239 double arg4 ;
21240 double arg5 ;
21241 int arg6 = (int) 0 ;
21242 int arg7 = (int) 0 ;
21243 PyObject * obj0 = 0 ;
21244 PyObject * obj1 = 0 ;
21245 PyObject * obj2 = 0 ;
8edf1c75
RD
21246 PyObject * obj3 = 0 ;
21247 PyObject * obj4 = 0 ;
21248 PyObject * obj5 = 0 ;
21249 PyObject * obj6 = 0 ;
44127b65
RD
21250 char *kwnames[] = {
21251 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21252 };
21253
8edf1c75 21254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyCompositeShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
21255 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCompositeShape, SWIG_POINTER_EXCEPTION | 0);
21256 if (SWIG_arg_fail(1)) SWIG_fail;
21257 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
21258 if (SWIG_arg_fail(2)) SWIG_fail;
21259 {
21260 arg3 = (bool)(SWIG_As_bool(obj2));
21261 if (SWIG_arg_fail(3)) SWIG_fail;
21262 }
21263 {
21264 arg4 = (double)(SWIG_As_double(obj3));
21265 if (SWIG_arg_fail(4)) SWIG_fail;
21266 }
21267 {
21268 arg5 = (double)(SWIG_As_double(obj4));
21269 if (SWIG_arg_fail(5)) SWIG_fail;
21270 }
2f4c0a16 21271 if (obj5) {
36ed4f51
RD
21272 {
21273 arg6 = (int)(SWIG_As_int(obj5));
21274 if (SWIG_arg_fail(6)) SWIG_fail;
21275 }
2dbef272 21276 }
2f4c0a16 21277 if (obj6) {
36ed4f51
RD
21278 {
21279 arg7 = (int)(SWIG_As_int(obj6));
21280 if (SWIG_arg_fail(7)) SWIG_fail;
21281 }
8edf1c75
RD
21282 }
21283 {
2f4c0a16
RD
21284 PyThreadState* __tstate = wxPyBeginAllowThreads();
21285 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
21286
21287 wxPyEndAllowThreads(__tstate);
44127b65
RD
21288 if (PyErr_Occurred()) SWIG_fail;
21289 }
21290 Py_INCREF(Py_None); resultobj = Py_None;
21291 return resultobj;
21292 fail:
21293 return NULL;
21294}
21295
21296
c370783e 21297static PyObject *_wrap_PyCompositeShape_base_OnSizingBeginDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
21298 PyObject *resultobj;
21299 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
21300 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
21301 double arg3 ;
21302 double arg4 ;
21303 int arg5 = (int) 0 ;
21304 int arg6 = (int) 0 ;
21305 PyObject * obj0 = 0 ;
21306 PyObject * obj1 = 0 ;
8edf1c75
RD
21307 PyObject * obj2 = 0 ;
21308 PyObject * obj3 = 0 ;
21309 PyObject * obj4 = 0 ;
21310 PyObject * obj5 = 0 ;
44127b65
RD
21311 char *kwnames[] = {
21312 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21313 };
21314
8edf1c75 21315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCompositeShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
21316 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCompositeShape, SWIG_POINTER_EXCEPTION | 0);
21317 if (SWIG_arg_fail(1)) SWIG_fail;
21318 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
21319 if (SWIG_arg_fail(2)) SWIG_fail;
21320 {
21321 arg3 = (double)(SWIG_As_double(obj2));
21322 if (SWIG_arg_fail(3)) SWIG_fail;
21323 }
21324 {
21325 arg4 = (double)(SWIG_As_double(obj3));
21326 if (SWIG_arg_fail(4)) SWIG_fail;
21327 }
8edf1c75 21328 if (obj4) {
36ed4f51
RD
21329 {
21330 arg5 = (int)(SWIG_As_int(obj4));
21331 if (SWIG_arg_fail(5)) SWIG_fail;
21332 }
8edf1c75
RD
21333 }
21334 if (obj5) {
36ed4f51
RD
21335 {
21336 arg6 = (int)(SWIG_As_int(obj5));
21337 if (SWIG_arg_fail(6)) SWIG_fail;
21338 }
8edf1c75 21339 }
44127b65
RD
21340 {
21341 PyThreadState* __tstate = wxPyBeginAllowThreads();
21342 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
21343
21344 wxPyEndAllowThreads(__tstate);
21345 if (PyErr_Occurred()) SWIG_fail;
21346 }
21347 Py_INCREF(Py_None); resultobj = Py_None;
21348 return resultobj;
21349 fail:
21350 return NULL;
21351}
21352
21353
c370783e 21354static PyObject *_wrap_PyCompositeShape_base_OnSizingEndDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
21355 PyObject *resultobj;
21356 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
21357 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
21358 double arg3 ;
21359 double arg4 ;
21360 int arg5 = (int) 0 ;
21361 int arg6 = (int) 0 ;
21362 PyObject * obj0 = 0 ;
21363 PyObject * obj1 = 0 ;
8edf1c75
RD
21364 PyObject * obj2 = 0 ;
21365 PyObject * obj3 = 0 ;
21366 PyObject * obj4 = 0 ;
21367 PyObject * obj5 = 0 ;
44127b65
RD
21368 char *kwnames[] = {
21369 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21370 };
21371
8edf1c75 21372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCompositeShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
21373 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCompositeShape, SWIG_POINTER_EXCEPTION | 0);
21374 if (SWIG_arg_fail(1)) SWIG_fail;
21375 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
21376 if (SWIG_arg_fail(2)) SWIG_fail;
21377 {
21378 arg3 = (double)(SWIG_As_double(obj2));
21379 if (SWIG_arg_fail(3)) SWIG_fail;
21380 }
21381 {
21382 arg4 = (double)(SWIG_As_double(obj3));
21383 if (SWIG_arg_fail(4)) SWIG_fail;
21384 }
8edf1c75 21385 if (obj4) {
36ed4f51
RD
21386 {
21387 arg5 = (int)(SWIG_As_int(obj4));
21388 if (SWIG_arg_fail(5)) SWIG_fail;
21389 }
8edf1c75
RD
21390 }
21391 if (obj5) {
36ed4f51
RD
21392 {
21393 arg6 = (int)(SWIG_As_int(obj5));
21394 if (SWIG_arg_fail(6)) SWIG_fail;
21395 }
8edf1c75 21396 }
44127b65
RD
21397 {
21398 PyThreadState* __tstate = wxPyBeginAllowThreads();
21399 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
21400
21401 wxPyEndAllowThreads(__tstate);
21402 if (PyErr_Occurred()) SWIG_fail;
21403 }
21404 Py_INCREF(Py_None); resultobj = Py_None;
21405 return resultobj;
21406 fail:
21407 return NULL;
21408}
21409
21410
c370783e 21411static PyObject *_wrap_PyCompositeShape_base_OnBeginSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
21412 PyObject *resultobj;
21413 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
21414 double arg2 ;
21415 double arg3 ;
21416 PyObject * obj0 = 0 ;
8edf1c75
RD
21417 PyObject * obj1 = 0 ;
21418 PyObject * obj2 = 0 ;
44127b65
RD
21419 char *kwnames[] = {
21420 (char *) "self",(char *) "w",(char *) "h", NULL
21421 };
21422
8edf1c75 21423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCompositeShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
21424 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCompositeShape, SWIG_POINTER_EXCEPTION | 0);
21425 if (SWIG_arg_fail(1)) SWIG_fail;
21426 {
21427 arg2 = (double)(SWIG_As_double(obj1));
21428 if (SWIG_arg_fail(2)) SWIG_fail;
21429 }
21430 {
21431 arg3 = (double)(SWIG_As_double(obj2));
21432 if (SWIG_arg_fail(3)) SWIG_fail;
21433 }
44127b65
RD
21434 {
21435 PyThreadState* __tstate = wxPyBeginAllowThreads();
21436 (arg1)->base_OnBeginSize(arg2,arg3);
21437
21438 wxPyEndAllowThreads(__tstate);
21439 if (PyErr_Occurred()) SWIG_fail;
21440 }
21441 Py_INCREF(Py_None); resultobj = Py_None;
21442 return resultobj;
21443 fail:
21444 return NULL;
21445}
21446
21447
c370783e 21448static PyObject *_wrap_PyCompositeShape_base_OnEndSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
21449 PyObject *resultobj;
21450 wxPyCompositeShape *arg1 = (wxPyCompositeShape *) 0 ;
21451 double arg2 ;
21452 double arg3 ;
21453 PyObject * obj0 = 0 ;
8edf1c75
RD
21454 PyObject * obj1 = 0 ;
21455 PyObject * obj2 = 0 ;
44127b65
RD
21456 char *kwnames[] = {
21457 (char *) "self",(char *) "w",(char *) "h", NULL
21458 };
21459
8edf1c75 21460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCompositeShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
21461 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCompositeShape, SWIG_POINTER_EXCEPTION | 0);
21462 if (SWIG_arg_fail(1)) SWIG_fail;
21463 {
21464 arg2 = (double)(SWIG_As_double(obj1));
21465 if (SWIG_arg_fail(2)) SWIG_fail;
21466 }
21467 {
21468 arg3 = (double)(SWIG_As_double(obj2));
21469 if (SWIG_arg_fail(3)) SWIG_fail;
21470 }
44127b65
RD
21471 {
21472 PyThreadState* __tstate = wxPyBeginAllowThreads();
21473 (arg1)->base_OnEndSize(arg2,arg3);
21474
21475 wxPyEndAllowThreads(__tstate);
21476 if (PyErr_Occurred()) SWIG_fail;
21477 }
21478 Py_INCREF(Py_None); resultobj = Py_None;
21479 return resultobj;
21480 fail:
21481 return NULL;
21482}
21483
21484
c370783e 21485static PyObject * PyCompositeShape_swigregister(PyObject *, PyObject *args) {
44127b65
RD
21486 PyObject *obj;
21487 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21488 SWIG_TypeClientData(SWIGTYPE_p_wxPyCompositeShape, obj);
21489 Py_INCREF(obj);
21490 return Py_BuildValue((char *)"");
21491}
c370783e 21492static PyObject *_wrap_new_PyDividedShape(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
21493 PyObject *resultobj;
21494 double arg1 = (double) 0.0 ;
21495 double arg2 = (double) 0.0 ;
21496 wxPyDividedShape *result;
8edf1c75
RD
21497 PyObject * obj0 = 0 ;
21498 PyObject * obj1 = 0 ;
44127b65
RD
21499 char *kwnames[] = {
21500 (char *) "width",(char *) "height", NULL
21501 };
21502
8edf1c75
RD
21503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyDividedShape",kwnames,&obj0,&obj1)) goto fail;
21504 if (obj0) {
36ed4f51
RD
21505 {
21506 arg1 = (double)(SWIG_As_double(obj0));
21507 if (SWIG_arg_fail(1)) SWIG_fail;
21508 }
8edf1c75
RD
21509 }
21510 if (obj1) {
36ed4f51
RD
21511 {
21512 arg2 = (double)(SWIG_As_double(obj1));
21513 if (SWIG_arg_fail(2)) SWIG_fail;
21514 }
8edf1c75 21515 }
44127b65
RD
21516 {
21517 PyThreadState* __tstate = wxPyBeginAllowThreads();
21518 result = (wxPyDividedShape *)new wxPyDividedShape(arg1,arg2);
21519
21520 wxPyEndAllowThreads(__tstate);
21521 if (PyErr_Occurred()) SWIG_fail;
21522 }
2f4c0a16 21523 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDividedShape, 1);
44127b65
RD
21524 return resultobj;
21525 fail:
21526 return NULL;
21527}
21528
21529
c370783e 21530static PyObject *_wrap_PyDividedShape__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
21531 PyObject *resultobj;
21532 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
21533 PyObject *arg2 = (PyObject *) 0 ;
21534 PyObject *arg3 = (PyObject *) 0 ;
21535 PyObject * obj0 = 0 ;
21536 PyObject * obj1 = 0 ;
21537 PyObject * obj2 = 0 ;
21538 char *kwnames[] = {
21539 (char *) "self",(char *) "self",(char *) "_class", NULL
21540 };
21541
21542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDividedShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
21543 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDividedShape, SWIG_POINTER_EXCEPTION | 0);
21544 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
21545 arg2 = obj1;
21546 arg3 = obj2;
21547 {
21548 PyThreadState* __tstate = wxPyBeginAllowThreads();
21549 (arg1)->_setCallbackInfo(arg2,arg3);
21550
21551 wxPyEndAllowThreads(__tstate);
21552 if (PyErr_Occurred()) SWIG_fail;
21553 }
21554 Py_INCREF(Py_None); resultobj = Py_None;
21555 return resultobj;
21556 fail:
21557 return NULL;
21558}
21559
21560
c370783e 21561static PyObject *_wrap_PyDividedShape_EditRegions(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
21562 PyObject *resultobj;
21563 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
21564 PyObject * obj0 = 0 ;
21565 char *kwnames[] = {
21566 (char *) "self", NULL
21567 };
21568
21569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDividedShape_EditRegions",kwnames,&obj0)) goto fail;
36ed4f51
RD
21570 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDividedShape, SWIG_POINTER_EXCEPTION | 0);
21571 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
21572 {
21573 PyThreadState* __tstate = wxPyBeginAllowThreads();
21574 (arg1)->EditRegions();
21575
21576 wxPyEndAllowThreads(__tstate);
21577 if (PyErr_Occurred()) SWIG_fail;
21578 }
21579 Py_INCREF(Py_None); resultobj = Py_None;
21580 return resultobj;
21581 fail:
21582 return NULL;
21583}
21584
21585
c370783e 21586static PyObject *_wrap_PyDividedShape_SetRegionSizes(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
21587 PyObject *resultobj;
21588 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
21589 PyObject * obj0 = 0 ;
21590 char *kwnames[] = {
21591 (char *) "self", NULL
21592 };
21593
21594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDividedShape_SetRegionSizes",kwnames,&obj0)) goto fail;
36ed4f51
RD
21595 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDividedShape, SWIG_POINTER_EXCEPTION | 0);
21596 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
21597 {
21598 PyThreadState* __tstate = wxPyBeginAllowThreads();
21599 (arg1)->SetRegionSizes();
21600
21601 wxPyEndAllowThreads(__tstate);
21602 if (PyErr_Occurred()) SWIG_fail;
21603 }
21604 Py_INCREF(Py_None); resultobj = Py_None;
21605 return resultobj;
21606 fail:
21607 return NULL;
21608}
21609
21610
c370783e 21611static PyObject *_wrap_PyDividedShape_base_OnDelete(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
21612 PyObject *resultobj;
21613 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
21614 PyObject * obj0 = 0 ;
21615 char *kwnames[] = {
21616 (char *) "self", NULL
21617 };
21618
21619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDividedShape_base_OnDelete",kwnames,&obj0)) goto fail;
36ed4f51
RD
21620 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDividedShape, SWIG_POINTER_EXCEPTION | 0);
21621 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
21622 {
21623 PyThreadState* __tstate = wxPyBeginAllowThreads();
21624 (arg1)->base_OnDelete();
21625
21626 wxPyEndAllowThreads(__tstate);
21627 if (PyErr_Occurred()) SWIG_fail;
21628 }
21629 Py_INCREF(Py_None); resultobj = Py_None;
21630 return resultobj;
21631 fail:
21632 return NULL;
21633}
21634
21635
c370783e 21636static PyObject *_wrap_PyDividedShape_base_OnDraw(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
21637 PyObject *resultobj;
21638 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
21639 wxDC *arg2 = 0 ;
21640 PyObject * obj0 = 0 ;
21641 PyObject * obj1 = 0 ;
21642 char *kwnames[] = {
21643 (char *) "self",(char *) "dc", NULL
21644 };
21645
21646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21647 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDividedShape, SWIG_POINTER_EXCEPTION | 0);
21648 if (SWIG_arg_fail(1)) SWIG_fail;
21649 {
21650 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
21651 if (SWIG_arg_fail(2)) SWIG_fail;
21652 if (arg2 == NULL) {
21653 SWIG_null_ref("wxDC");
21654 }
21655 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
21656 }
21657 {
21658 PyThreadState* __tstate = wxPyBeginAllowThreads();
21659 (arg1)->base_OnDraw(*arg2);
21660
21661 wxPyEndAllowThreads(__tstate);
21662 if (PyErr_Occurred()) SWIG_fail;
21663 }
21664 Py_INCREF(Py_None); resultobj = Py_None;
21665 return resultobj;
21666 fail:
21667 return NULL;
21668}
21669
21670
c370783e 21671static PyObject *_wrap_PyDividedShape_base_OnDrawContents(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
21672 PyObject *resultobj;
21673 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
21674 wxDC *arg2 = 0 ;
21675 PyObject * obj0 = 0 ;
21676 PyObject * obj1 = 0 ;
21677 char *kwnames[] = {
21678 (char *) "self",(char *) "dc", NULL
21679 };
21680
21681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21682 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDividedShape, SWIG_POINTER_EXCEPTION | 0);
21683 if (SWIG_arg_fail(1)) SWIG_fail;
21684 {
21685 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
21686 if (SWIG_arg_fail(2)) SWIG_fail;
21687 if (arg2 == NULL) {
21688 SWIG_null_ref("wxDC");
21689 }
21690 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
21691 }
21692 {
21693 PyThreadState* __tstate = wxPyBeginAllowThreads();
21694 (arg1)->base_OnDrawContents(*arg2);
21695
21696 wxPyEndAllowThreads(__tstate);
21697 if (PyErr_Occurred()) SWIG_fail;
21698 }
21699 Py_INCREF(Py_None); resultobj = Py_None;
21700 return resultobj;
21701 fail:
21702 return NULL;
21703}
21704
21705
c370783e 21706static PyObject *_wrap_PyDividedShape_base_OnDrawBranches(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
21707 PyObject *resultobj;
21708 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
21709 wxDC *arg2 = 0 ;
21710 bool arg3 = (bool) FALSE ;
21711 PyObject * obj0 = 0 ;
21712 PyObject * obj1 = 0 ;
21713 PyObject * obj2 = 0 ;
21714 char *kwnames[] = {
21715 (char *) "self",(char *) "dc",(char *) "erase", NULL
21716 };
21717
21718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDividedShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
21719 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDividedShape, SWIG_POINTER_EXCEPTION | 0);
21720 if (SWIG_arg_fail(1)) SWIG_fail;
21721 {
21722 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
21723 if (SWIG_arg_fail(2)) SWIG_fail;
21724 if (arg2 == NULL) {
21725 SWIG_null_ref("wxDC");
21726 }
21727 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
21728 }
21729 if (obj2) {
36ed4f51
RD
21730 {
21731 arg3 = (bool)(SWIG_As_bool(obj2));
21732 if (SWIG_arg_fail(3)) SWIG_fail;
21733 }
44127b65
RD
21734 }
21735 {
21736 PyThreadState* __tstate = wxPyBeginAllowThreads();
21737 (arg1)->base_OnDrawBranches(*arg2,arg3);
21738
21739 wxPyEndAllowThreads(__tstate);
21740 if (PyErr_Occurred()) SWIG_fail;
21741 }
21742 Py_INCREF(Py_None); resultobj = Py_None;
21743 return resultobj;
21744 fail:
21745 return NULL;
21746}
21747
21748
c370783e 21749static PyObject *_wrap_PyDividedShape_base_OnMoveLinks(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
21750 PyObject *resultobj;
21751 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
21752 wxDC *arg2 = 0 ;
21753 PyObject * obj0 = 0 ;
21754 PyObject * obj1 = 0 ;
21755 char *kwnames[] = {
21756 (char *) "self",(char *) "dc", NULL
21757 };
21758
21759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21760 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDividedShape, SWIG_POINTER_EXCEPTION | 0);
21761 if (SWIG_arg_fail(1)) SWIG_fail;
21762 {
21763 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
21764 if (SWIG_arg_fail(2)) SWIG_fail;
21765 if (arg2 == NULL) {
21766 SWIG_null_ref("wxDC");
21767 }
21768 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
21769 }
21770 {
21771 PyThreadState* __tstate = wxPyBeginAllowThreads();
21772 (arg1)->base_OnMoveLinks(*arg2);
21773
21774 wxPyEndAllowThreads(__tstate);
21775 if (PyErr_Occurred()) SWIG_fail;
21776 }
21777 Py_INCREF(Py_None); resultobj = Py_None;
21778 return resultobj;
21779 fail:
21780 return NULL;
21781}
21782
21783
c370783e 21784static PyObject *_wrap_PyDividedShape_base_OnErase(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
21785 PyObject *resultobj;
21786 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
21787 wxDC *arg2 = 0 ;
21788 PyObject * obj0 = 0 ;
21789 PyObject * obj1 = 0 ;
21790 char *kwnames[] = {
21791 (char *) "self",(char *) "dc", NULL
21792 };
21793
21794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21795 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDividedShape, SWIG_POINTER_EXCEPTION | 0);
21796 if (SWIG_arg_fail(1)) SWIG_fail;
21797 {
21798 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
21799 if (SWIG_arg_fail(2)) SWIG_fail;
21800 if (arg2 == NULL) {
21801 SWIG_null_ref("wxDC");
21802 }
21803 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
21804 }
21805 {
21806 PyThreadState* __tstate = wxPyBeginAllowThreads();
21807 (arg1)->base_OnErase(*arg2);
21808
21809 wxPyEndAllowThreads(__tstate);
21810 if (PyErr_Occurred()) SWIG_fail;
21811 }
21812 Py_INCREF(Py_None); resultobj = Py_None;
21813 return resultobj;
21814 fail:
21815 return NULL;
21816}
21817
21818
c370783e 21819static PyObject *_wrap_PyDividedShape_base_OnEraseContents(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
21820 PyObject *resultobj;
21821 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
21822 wxDC *arg2 = 0 ;
21823 PyObject * obj0 = 0 ;
21824 PyObject * obj1 = 0 ;
21825 char *kwnames[] = {
21826 (char *) "self",(char *) "dc", NULL
21827 };
21828
21829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21830 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDividedShape, SWIG_POINTER_EXCEPTION | 0);
21831 if (SWIG_arg_fail(1)) SWIG_fail;
21832 {
21833 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
21834 if (SWIG_arg_fail(2)) SWIG_fail;
21835 if (arg2 == NULL) {
21836 SWIG_null_ref("wxDC");
21837 }
21838 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
21839 }
21840 {
21841 PyThreadState* __tstate = wxPyBeginAllowThreads();
21842 (arg1)->base_OnEraseContents(*arg2);
21843
21844 wxPyEndAllowThreads(__tstate);
21845 if (PyErr_Occurred()) SWIG_fail;
21846 }
21847 Py_INCREF(Py_None); resultobj = Py_None;
21848 return resultobj;
21849 fail:
21850 return NULL;
21851}
21852
21853
c370783e 21854static PyObject *_wrap_PyDividedShape_base_OnHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
21855 PyObject *resultobj;
21856 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
21857 wxDC *arg2 = 0 ;
21858 PyObject * obj0 = 0 ;
21859 PyObject * obj1 = 0 ;
21860 char *kwnames[] = {
21861 (char *) "self",(char *) "dc", NULL
21862 };
21863
21864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21865 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDividedShape, SWIG_POINTER_EXCEPTION | 0);
21866 if (SWIG_arg_fail(1)) SWIG_fail;
21867 {
21868 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
21869 if (SWIG_arg_fail(2)) SWIG_fail;
21870 if (arg2 == NULL) {
21871 SWIG_null_ref("wxDC");
21872 }
21873 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
21874 }
21875 {
21876 PyThreadState* __tstate = wxPyBeginAllowThreads();
21877 (arg1)->base_OnHighlight(*arg2);
21878
21879 wxPyEndAllowThreads(__tstate);
21880 if (PyErr_Occurred()) SWIG_fail;
21881 }
21882 Py_INCREF(Py_None); resultobj = Py_None;
21883 return resultobj;
21884 fail:
21885 return NULL;
21886}
21887
21888
c370783e 21889static PyObject *_wrap_PyDividedShape_base_OnLeftClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
21890 PyObject *resultobj;
21891 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
21892 double arg2 ;
21893 double arg3 ;
21894 int arg4 = (int) 0 ;
21895 int arg5 = (int) 0 ;
21896 PyObject * obj0 = 0 ;
8edf1c75
RD
21897 PyObject * obj1 = 0 ;
21898 PyObject * obj2 = 0 ;
21899 PyObject * obj3 = 0 ;
21900 PyObject * obj4 = 0 ;
44127b65
RD
21901 char *kwnames[] = {
21902 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21903 };
21904
8edf1c75 21905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
21906 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDividedShape, SWIG_POINTER_EXCEPTION | 0);
21907 if (SWIG_arg_fail(1)) SWIG_fail;
21908 {
21909 arg2 = (double)(SWIG_As_double(obj1));
21910 if (SWIG_arg_fail(2)) SWIG_fail;
21911 }
21912 {
21913 arg3 = (double)(SWIG_As_double(obj2));
21914 if (SWIG_arg_fail(3)) SWIG_fail;
21915 }
8edf1c75 21916 if (obj3) {
36ed4f51
RD
21917 {
21918 arg4 = (int)(SWIG_As_int(obj3));
21919 if (SWIG_arg_fail(4)) SWIG_fail;
21920 }
8edf1c75
RD
21921 }
21922 if (obj4) {
36ed4f51
RD
21923 {
21924 arg5 = (int)(SWIG_As_int(obj4));
21925 if (SWIG_arg_fail(5)) SWIG_fail;
21926 }
8edf1c75 21927 }
44127b65
RD
21928 {
21929 PyThreadState* __tstate = wxPyBeginAllowThreads();
21930 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
21931
21932 wxPyEndAllowThreads(__tstate);
21933 if (PyErr_Occurred()) SWIG_fail;
21934 }
21935 Py_INCREF(Py_None); resultobj = Py_None;
21936 return resultobj;
21937 fail:
21938 return NULL;
21939}
21940
21941
c370783e 21942static PyObject *_wrap_PyDividedShape_base_OnLeftDoubleClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
21943 PyObject *resultobj;
21944 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
21945 double arg2 ;
21946 double arg3 ;
21947 int arg4 = (int) 0 ;
21948 int arg5 = (int) 0 ;
21949 PyObject * obj0 = 0 ;
8edf1c75
RD
21950 PyObject * obj1 = 0 ;
21951 PyObject * obj2 = 0 ;
21952 PyObject * obj3 = 0 ;
21953 PyObject * obj4 = 0 ;
44127b65
RD
21954 char *kwnames[] = {
21955 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
21956 };
21957
8edf1c75 21958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
21959 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDividedShape, SWIG_POINTER_EXCEPTION | 0);
21960 if (SWIG_arg_fail(1)) SWIG_fail;
21961 {
21962 arg2 = (double)(SWIG_As_double(obj1));
21963 if (SWIG_arg_fail(2)) SWIG_fail;
21964 }
21965 {
21966 arg3 = (double)(SWIG_As_double(obj2));
21967 if (SWIG_arg_fail(3)) SWIG_fail;
21968 }
8edf1c75 21969 if (obj3) {
36ed4f51
RD
21970 {
21971 arg4 = (int)(SWIG_As_int(obj3));
21972 if (SWIG_arg_fail(4)) SWIG_fail;
21973 }
8edf1c75
RD
21974 }
21975 if (obj4) {
36ed4f51
RD
21976 {
21977 arg5 = (int)(SWIG_As_int(obj4));
21978 if (SWIG_arg_fail(5)) SWIG_fail;
21979 }
8edf1c75 21980 }
44127b65
RD
21981 {
21982 PyThreadState* __tstate = wxPyBeginAllowThreads();
21983 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
21984
21985 wxPyEndAllowThreads(__tstate);
21986 if (PyErr_Occurred()) SWIG_fail;
21987 }
21988 Py_INCREF(Py_None); resultobj = Py_None;
21989 return resultobj;
21990 fail:
21991 return NULL;
21992}
21993
21994
c370783e 21995static PyObject *_wrap_PyDividedShape_base_OnRightClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
21996 PyObject *resultobj;
21997 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
21998 double arg2 ;
21999 double arg3 ;
22000 int arg4 = (int) 0 ;
22001 int arg5 = (int) 0 ;
22002 PyObject * obj0 = 0 ;
8edf1c75
RD
22003 PyObject * obj1 = 0 ;
22004 PyObject * obj2 = 0 ;
22005 PyObject * obj3 = 0 ;
22006 PyObject * obj4 = 0 ;
44127b65
RD
22007 char *kwnames[] = {
22008 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22009 };
22010
8edf1c75 22011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
22012 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDividedShape, SWIG_POINTER_EXCEPTION | 0);
22013 if (SWIG_arg_fail(1)) SWIG_fail;
22014 {
22015 arg2 = (double)(SWIG_As_double(obj1));
22016 if (SWIG_arg_fail(2)) SWIG_fail;
22017 }
22018 {
22019 arg3 = (double)(SWIG_As_double(obj2));
22020 if (SWIG_arg_fail(3)) SWIG_fail;
22021 }
8edf1c75 22022 if (obj3) {
36ed4f51
RD
22023 {
22024 arg4 = (int)(SWIG_As_int(obj3));
22025 if (SWIG_arg_fail(4)) SWIG_fail;
22026 }
8edf1c75
RD
22027 }
22028 if (obj4) {
36ed4f51
RD
22029 {
22030 arg5 = (int)(SWIG_As_int(obj4));
22031 if (SWIG_arg_fail(5)) SWIG_fail;
22032 }
8edf1c75 22033 }
44127b65
RD
22034 {
22035 PyThreadState* __tstate = wxPyBeginAllowThreads();
22036 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
22037
22038 wxPyEndAllowThreads(__tstate);
22039 if (PyErr_Occurred()) SWIG_fail;
22040 }
22041 Py_INCREF(Py_None); resultobj = Py_None;
22042 return resultobj;
22043 fail:
22044 return NULL;
22045}
22046
22047
c370783e 22048static PyObject *_wrap_PyDividedShape_base_OnSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
22049 PyObject *resultobj;
22050 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
22051 double arg2 ;
22052 double arg3 ;
22053 PyObject * obj0 = 0 ;
8edf1c75
RD
22054 PyObject * obj1 = 0 ;
22055 PyObject * obj2 = 0 ;
44127b65
RD
22056 char *kwnames[] = {
22057 (char *) "self",(char *) "x",(char *) "y", NULL
22058 };
22059
8edf1c75 22060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDividedShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
22061 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDividedShape, SWIG_POINTER_EXCEPTION | 0);
22062 if (SWIG_arg_fail(1)) SWIG_fail;
22063 {
22064 arg2 = (double)(SWIG_As_double(obj1));
22065 if (SWIG_arg_fail(2)) SWIG_fail;
22066 }
22067 {
22068 arg3 = (double)(SWIG_As_double(obj2));
22069 if (SWIG_arg_fail(3)) SWIG_fail;
22070 }
44127b65
RD
22071 {
22072 PyThreadState* __tstate = wxPyBeginAllowThreads();
22073 (arg1)->base_OnSize(arg2,arg3);
22074
22075 wxPyEndAllowThreads(__tstate);
22076 if (PyErr_Occurred()) SWIG_fail;
22077 }
22078 Py_INCREF(Py_None); resultobj = Py_None;
22079 return resultobj;
22080 fail:
22081 return NULL;
22082}
22083
22084
c370783e 22085static PyObject *_wrap_PyDividedShape_base_OnMovePre(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
22086 PyObject *resultobj;
22087 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
22088 wxDC *arg2 = 0 ;
22089 double arg3 ;
22090 double arg4 ;
22091 double arg5 ;
22092 double arg6 ;
b411df4a 22093 bool arg7 = (bool) true ;
44127b65
RD
22094 bool result;
22095 PyObject * obj0 = 0 ;
22096 PyObject * obj1 = 0 ;
8edf1c75
RD
22097 PyObject * obj2 = 0 ;
22098 PyObject * obj3 = 0 ;
22099 PyObject * obj4 = 0 ;
22100 PyObject * obj5 = 0 ;
44127b65
RD
22101 PyObject * obj6 = 0 ;
22102 char *kwnames[] = {
22103 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
22104 };
22105
8edf1c75 22106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyDividedShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
22107 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDividedShape, SWIG_POINTER_EXCEPTION | 0);
22108 if (SWIG_arg_fail(1)) SWIG_fail;
22109 {
22110 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
22111 if (SWIG_arg_fail(2)) SWIG_fail;
22112 if (arg2 == NULL) {
22113 SWIG_null_ref("wxDC");
22114 }
22115 if (SWIG_arg_fail(2)) SWIG_fail;
22116 }
22117 {
22118 arg3 = (double)(SWIG_As_double(obj2));
22119 if (SWIG_arg_fail(3)) SWIG_fail;
22120 }
22121 {
22122 arg4 = (double)(SWIG_As_double(obj3));
22123 if (SWIG_arg_fail(4)) SWIG_fail;
22124 }
22125 {
22126 arg5 = (double)(SWIG_As_double(obj4));
22127 if (SWIG_arg_fail(5)) SWIG_fail;
22128 }
22129 {
22130 arg6 = (double)(SWIG_As_double(obj5));
22131 if (SWIG_arg_fail(6)) SWIG_fail;
22132 }
44127b65 22133 if (obj6) {
36ed4f51
RD
22134 {
22135 arg7 = (bool)(SWIG_As_bool(obj6));
22136 if (SWIG_arg_fail(7)) SWIG_fail;
22137 }
44127b65
RD
22138 }
22139 {
22140 PyThreadState* __tstate = wxPyBeginAllowThreads();
22141 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
22142
22143 wxPyEndAllowThreads(__tstate);
22144 if (PyErr_Occurred()) SWIG_fail;
22145 }
fbc46b20
RD
22146 {
22147 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22148 }
44127b65
RD
22149 return resultobj;
22150 fail:
22151 return NULL;
22152}
22153
22154
c370783e 22155static PyObject *_wrap_PyDividedShape_base_OnMovePost(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
22156 PyObject *resultobj;
22157 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
22158 wxDC *arg2 = 0 ;
22159 double arg3 ;
22160 double arg4 ;
22161 double arg5 ;
22162 double arg6 ;
b411df4a 22163 bool arg7 = (bool) true ;
44127b65
RD
22164 PyObject * obj0 = 0 ;
22165 PyObject * obj1 = 0 ;
8edf1c75
RD
22166 PyObject * obj2 = 0 ;
22167 PyObject * obj3 = 0 ;
22168 PyObject * obj4 = 0 ;
22169 PyObject * obj5 = 0 ;
44127b65
RD
22170 PyObject * obj6 = 0 ;
22171 char *kwnames[] = {
22172 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
22173 };
22174
8edf1c75 22175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyDividedShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
22176 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDividedShape, SWIG_POINTER_EXCEPTION | 0);
22177 if (SWIG_arg_fail(1)) SWIG_fail;
22178 {
22179 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
22180 if (SWIG_arg_fail(2)) SWIG_fail;
22181 if (arg2 == NULL) {
22182 SWIG_null_ref("wxDC");
22183 }
22184 if (SWIG_arg_fail(2)) SWIG_fail;
22185 }
22186 {
22187 arg3 = (double)(SWIG_As_double(obj2));
22188 if (SWIG_arg_fail(3)) SWIG_fail;
22189 }
22190 {
22191 arg4 = (double)(SWIG_As_double(obj3));
22192 if (SWIG_arg_fail(4)) SWIG_fail;
22193 }
22194 {
22195 arg5 = (double)(SWIG_As_double(obj4));
22196 if (SWIG_arg_fail(5)) SWIG_fail;
22197 }
22198 {
22199 arg6 = (double)(SWIG_As_double(obj5));
22200 if (SWIG_arg_fail(6)) SWIG_fail;
22201 }
44127b65 22202 if (obj6) {
36ed4f51
RD
22203 {
22204 arg7 = (bool)(SWIG_As_bool(obj6));
22205 if (SWIG_arg_fail(7)) SWIG_fail;
22206 }
44127b65
RD
22207 }
22208 {
22209 PyThreadState* __tstate = wxPyBeginAllowThreads();
22210 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
22211
22212 wxPyEndAllowThreads(__tstate);
22213 if (PyErr_Occurred()) SWIG_fail;
22214 }
22215 Py_INCREF(Py_None); resultobj = Py_None;
22216 return resultobj;
22217 fail:
22218 return NULL;
22219}
22220
22221
c370783e 22222static PyObject *_wrap_PyDividedShape_base_OnDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
22223 PyObject *resultobj;
22224 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
22225 bool arg2 ;
22226 double arg3 ;
22227 double arg4 ;
22228 int arg5 = (int) 0 ;
22229 int arg6 = (int) 0 ;
22230 PyObject * obj0 = 0 ;
22231 PyObject * obj1 = 0 ;
8edf1c75
RD
22232 PyObject * obj2 = 0 ;
22233 PyObject * obj3 = 0 ;
22234 PyObject * obj4 = 0 ;
22235 PyObject * obj5 = 0 ;
44127b65
RD
22236 char *kwnames[] = {
22237 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22238 };
22239
8edf1c75 22240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDividedShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
22241 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDividedShape, SWIG_POINTER_EXCEPTION | 0);
22242 if (SWIG_arg_fail(1)) SWIG_fail;
22243 {
22244 arg2 = (bool)(SWIG_As_bool(obj1));
22245 if (SWIG_arg_fail(2)) SWIG_fail;
22246 }
22247 {
22248 arg3 = (double)(SWIG_As_double(obj2));
22249 if (SWIG_arg_fail(3)) SWIG_fail;
22250 }
22251 {
22252 arg4 = (double)(SWIG_As_double(obj3));
22253 if (SWIG_arg_fail(4)) SWIG_fail;
22254 }
8edf1c75 22255 if (obj4) {
36ed4f51
RD
22256 {
22257 arg5 = (int)(SWIG_As_int(obj4));
22258 if (SWIG_arg_fail(5)) SWIG_fail;
22259 }
8edf1c75
RD
22260 }
22261 if (obj5) {
36ed4f51
RD
22262 {
22263 arg6 = (int)(SWIG_As_int(obj5));
22264 if (SWIG_arg_fail(6)) SWIG_fail;
22265 }
8edf1c75 22266 }
44127b65
RD
22267 {
22268 PyThreadState* __tstate = wxPyBeginAllowThreads();
22269 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
22270
22271 wxPyEndAllowThreads(__tstate);
22272 if (PyErr_Occurred()) SWIG_fail;
22273 }
22274 Py_INCREF(Py_None); resultobj = Py_None;
22275 return resultobj;
22276 fail:
22277 return NULL;
22278}
22279
22280
c370783e 22281static PyObject *_wrap_PyDividedShape_base_OnBeginDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
22282 PyObject *resultobj;
22283 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
22284 double arg2 ;
22285 double arg3 ;
22286 int arg4 = (int) 0 ;
22287 int arg5 = (int) 0 ;
22288 PyObject * obj0 = 0 ;
8edf1c75
RD
22289 PyObject * obj1 = 0 ;
22290 PyObject * obj2 = 0 ;
22291 PyObject * obj3 = 0 ;
22292 PyObject * obj4 = 0 ;
44127b65
RD
22293 char *kwnames[] = {
22294 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22295 };
22296
8edf1c75 22297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
22298 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDividedShape, SWIG_POINTER_EXCEPTION | 0);
22299 if (SWIG_arg_fail(1)) SWIG_fail;
22300 {
22301 arg2 = (double)(SWIG_As_double(obj1));
22302 if (SWIG_arg_fail(2)) SWIG_fail;
22303 }
22304 {
22305 arg3 = (double)(SWIG_As_double(obj2));
22306 if (SWIG_arg_fail(3)) SWIG_fail;
22307 }
8edf1c75 22308 if (obj3) {
36ed4f51
RD
22309 {
22310 arg4 = (int)(SWIG_As_int(obj3));
22311 if (SWIG_arg_fail(4)) SWIG_fail;
22312 }
8edf1c75
RD
22313 }
22314 if (obj4) {
36ed4f51
RD
22315 {
22316 arg5 = (int)(SWIG_As_int(obj4));
22317 if (SWIG_arg_fail(5)) SWIG_fail;
22318 }
8edf1c75 22319 }
44127b65
RD
22320 {
22321 PyThreadState* __tstate = wxPyBeginAllowThreads();
22322 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
22323
22324 wxPyEndAllowThreads(__tstate);
22325 if (PyErr_Occurred()) SWIG_fail;
22326 }
22327 Py_INCREF(Py_None); resultobj = Py_None;
22328 return resultobj;
22329 fail:
22330 return NULL;
22331}
22332
22333
c370783e 22334static PyObject *_wrap_PyDividedShape_base_OnEndDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
22335 PyObject *resultobj;
22336 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
22337 double arg2 ;
22338 double arg3 ;
22339 int arg4 = (int) 0 ;
22340 int arg5 = (int) 0 ;
22341 PyObject * obj0 = 0 ;
8edf1c75
RD
22342 PyObject * obj1 = 0 ;
22343 PyObject * obj2 = 0 ;
22344 PyObject * obj3 = 0 ;
22345 PyObject * obj4 = 0 ;
44127b65
RD
22346 char *kwnames[] = {
22347 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22348 };
22349
8edf1c75 22350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
22351 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDividedShape, SWIG_POINTER_EXCEPTION | 0);
22352 if (SWIG_arg_fail(1)) SWIG_fail;
22353 {
22354 arg2 = (double)(SWIG_As_double(obj1));
22355 if (SWIG_arg_fail(2)) SWIG_fail;
22356 }
22357 {
22358 arg3 = (double)(SWIG_As_double(obj2));
22359 if (SWIG_arg_fail(3)) SWIG_fail;
22360 }
8edf1c75 22361 if (obj3) {
36ed4f51
RD
22362 {
22363 arg4 = (int)(SWIG_As_int(obj3));
22364 if (SWIG_arg_fail(4)) SWIG_fail;
22365 }
8edf1c75
RD
22366 }
22367 if (obj4) {
36ed4f51
RD
22368 {
22369 arg5 = (int)(SWIG_As_int(obj4));
22370 if (SWIG_arg_fail(5)) SWIG_fail;
22371 }
8edf1c75 22372 }
44127b65
RD
22373 {
22374 PyThreadState* __tstate = wxPyBeginAllowThreads();
22375 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
22376
22377 wxPyEndAllowThreads(__tstate);
22378 if (PyErr_Occurred()) SWIG_fail;
22379 }
22380 Py_INCREF(Py_None); resultobj = Py_None;
22381 return resultobj;
22382 fail:
22383 return NULL;
22384}
22385
22386
c370783e 22387static PyObject *_wrap_PyDividedShape_base_OnDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
22388 PyObject *resultobj;
22389 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
22390 bool arg2 ;
22391 double arg3 ;
22392 double arg4 ;
22393 int arg5 = (int) 0 ;
22394 int arg6 = (int) 0 ;
22395 PyObject * obj0 = 0 ;
22396 PyObject * obj1 = 0 ;
8edf1c75
RD
22397 PyObject * obj2 = 0 ;
22398 PyObject * obj3 = 0 ;
22399 PyObject * obj4 = 0 ;
22400 PyObject * obj5 = 0 ;
44127b65
RD
22401 char *kwnames[] = {
22402 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22403 };
22404
8edf1c75 22405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDividedShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
22406 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDividedShape, SWIG_POINTER_EXCEPTION | 0);
22407 if (SWIG_arg_fail(1)) SWIG_fail;
22408 {
22409 arg2 = (bool)(SWIG_As_bool(obj1));
22410 if (SWIG_arg_fail(2)) SWIG_fail;
22411 }
22412 {
22413 arg3 = (double)(SWIG_As_double(obj2));
22414 if (SWIG_arg_fail(3)) SWIG_fail;
22415 }
22416 {
22417 arg4 = (double)(SWIG_As_double(obj3));
22418 if (SWIG_arg_fail(4)) SWIG_fail;
22419 }
8edf1c75 22420 if (obj4) {
36ed4f51
RD
22421 {
22422 arg5 = (int)(SWIG_As_int(obj4));
22423 if (SWIG_arg_fail(5)) SWIG_fail;
22424 }
8edf1c75
RD
22425 }
22426 if (obj5) {
36ed4f51
RD
22427 {
22428 arg6 = (int)(SWIG_As_int(obj5));
22429 if (SWIG_arg_fail(6)) SWIG_fail;
22430 }
8edf1c75 22431 }
44127b65
RD
22432 {
22433 PyThreadState* __tstate = wxPyBeginAllowThreads();
22434 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
22435
22436 wxPyEndAllowThreads(__tstate);
22437 if (PyErr_Occurred()) SWIG_fail;
22438 }
22439 Py_INCREF(Py_None); resultobj = Py_None;
22440 return resultobj;
22441 fail:
22442 return NULL;
22443}
22444
22445
c370783e 22446static PyObject *_wrap_PyDividedShape_base_OnBeginDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
22447 PyObject *resultobj;
22448 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
22449 double arg2 ;
22450 double arg3 ;
22451 int arg4 = (int) 0 ;
22452 int arg5 = (int) 0 ;
22453 PyObject * obj0 = 0 ;
8edf1c75
RD
22454 PyObject * obj1 = 0 ;
22455 PyObject * obj2 = 0 ;
22456 PyObject * obj3 = 0 ;
22457 PyObject * obj4 = 0 ;
44127b65
RD
22458 char *kwnames[] = {
22459 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22460 };
22461
8edf1c75 22462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
22463 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDividedShape, SWIG_POINTER_EXCEPTION | 0);
22464 if (SWIG_arg_fail(1)) SWIG_fail;
22465 {
22466 arg2 = (double)(SWIG_As_double(obj1));
22467 if (SWIG_arg_fail(2)) SWIG_fail;
22468 }
22469 {
22470 arg3 = (double)(SWIG_As_double(obj2));
22471 if (SWIG_arg_fail(3)) SWIG_fail;
22472 }
8edf1c75 22473 if (obj3) {
36ed4f51
RD
22474 {
22475 arg4 = (int)(SWIG_As_int(obj3));
22476 if (SWIG_arg_fail(4)) SWIG_fail;
22477 }
8edf1c75
RD
22478 }
22479 if (obj4) {
36ed4f51
RD
22480 {
22481 arg5 = (int)(SWIG_As_int(obj4));
22482 if (SWIG_arg_fail(5)) SWIG_fail;
22483 }
8edf1c75 22484 }
44127b65
RD
22485 {
22486 PyThreadState* __tstate = wxPyBeginAllowThreads();
22487 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
22488
22489 wxPyEndAllowThreads(__tstate);
22490 if (PyErr_Occurred()) SWIG_fail;
22491 }
22492 Py_INCREF(Py_None); resultobj = Py_None;
22493 return resultobj;
22494 fail:
22495 return NULL;
22496}
22497
22498
c370783e 22499static PyObject *_wrap_PyDividedShape_base_OnEndDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
22500 PyObject *resultobj;
22501 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
22502 double arg2 ;
22503 double arg3 ;
22504 int arg4 = (int) 0 ;
22505 int arg5 = (int) 0 ;
22506 PyObject * obj0 = 0 ;
8edf1c75
RD
22507 PyObject * obj1 = 0 ;
22508 PyObject * obj2 = 0 ;
22509 PyObject * obj3 = 0 ;
22510 PyObject * obj4 = 0 ;
44127b65
RD
22511 char *kwnames[] = {
22512 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22513 };
22514
8edf1c75 22515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDividedShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
22516 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDividedShape, SWIG_POINTER_EXCEPTION | 0);
22517 if (SWIG_arg_fail(1)) SWIG_fail;
22518 {
22519 arg2 = (double)(SWIG_As_double(obj1));
22520 if (SWIG_arg_fail(2)) SWIG_fail;
22521 }
22522 {
22523 arg3 = (double)(SWIG_As_double(obj2));
22524 if (SWIG_arg_fail(3)) SWIG_fail;
22525 }
8edf1c75 22526 if (obj3) {
36ed4f51
RD
22527 {
22528 arg4 = (int)(SWIG_As_int(obj3));
22529 if (SWIG_arg_fail(4)) SWIG_fail;
22530 }
8edf1c75
RD
22531 }
22532 if (obj4) {
36ed4f51
RD
22533 {
22534 arg5 = (int)(SWIG_As_int(obj4));
22535 if (SWIG_arg_fail(5)) SWIG_fail;
22536 }
8edf1c75 22537 }
44127b65
RD
22538 {
22539 PyThreadState* __tstate = wxPyBeginAllowThreads();
22540 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
22541
22542 wxPyEndAllowThreads(__tstate);
22543 if (PyErr_Occurred()) SWIG_fail;
22544 }
22545 Py_INCREF(Py_None); resultobj = Py_None;
22546 return resultobj;
22547 fail:
22548 return NULL;
22549}
22550
22551
c370783e 22552static PyObject *_wrap_PyDividedShape_base_OnDrawOutline(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
22553 PyObject *resultobj;
22554 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
22555 wxDC *arg2 = 0 ;
22556 double arg3 ;
22557 double arg4 ;
22558 double arg5 ;
22559 double arg6 ;
22560 PyObject * obj0 = 0 ;
22561 PyObject * obj1 = 0 ;
8edf1c75
RD
22562 PyObject * obj2 = 0 ;
22563 PyObject * obj3 = 0 ;
22564 PyObject * obj4 = 0 ;
22565 PyObject * obj5 = 0 ;
44127b65
RD
22566 char *kwnames[] = {
22567 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
22568 };
22569
8edf1c75 22570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyDividedShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
22571 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDividedShape, SWIG_POINTER_EXCEPTION | 0);
22572 if (SWIG_arg_fail(1)) SWIG_fail;
22573 {
22574 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
22575 if (SWIG_arg_fail(2)) SWIG_fail;
22576 if (arg2 == NULL) {
22577 SWIG_null_ref("wxDC");
22578 }
22579 if (SWIG_arg_fail(2)) SWIG_fail;
22580 }
22581 {
22582 arg3 = (double)(SWIG_As_double(obj2));
22583 if (SWIG_arg_fail(3)) SWIG_fail;
22584 }
22585 {
22586 arg4 = (double)(SWIG_As_double(obj3));
22587 if (SWIG_arg_fail(4)) SWIG_fail;
22588 }
22589 {
22590 arg5 = (double)(SWIG_As_double(obj4));
22591 if (SWIG_arg_fail(5)) SWIG_fail;
22592 }
22593 {
22594 arg6 = (double)(SWIG_As_double(obj5));
22595 if (SWIG_arg_fail(6)) SWIG_fail;
22596 }
44127b65
RD
22597 {
22598 PyThreadState* __tstate = wxPyBeginAllowThreads();
22599 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
22600
22601 wxPyEndAllowThreads(__tstate);
22602 if (PyErr_Occurred()) SWIG_fail;
22603 }
22604 Py_INCREF(Py_None); resultobj = Py_None;
22605 return resultobj;
22606 fail:
22607 return NULL;
22608}
22609
22610
c370783e 22611static PyObject *_wrap_PyDividedShape_base_OnDrawControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
22612 PyObject *resultobj;
22613 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
22614 wxDC *arg2 = 0 ;
22615 PyObject * obj0 = 0 ;
22616 PyObject * obj1 = 0 ;
22617 char *kwnames[] = {
22618 (char *) "self",(char *) "dc", NULL
22619 };
22620
22621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22622 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDividedShape, SWIG_POINTER_EXCEPTION | 0);
22623 if (SWIG_arg_fail(1)) SWIG_fail;
22624 {
22625 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
22626 if (SWIG_arg_fail(2)) SWIG_fail;
22627 if (arg2 == NULL) {
22628 SWIG_null_ref("wxDC");
22629 }
22630 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
22631 }
22632 {
22633 PyThreadState* __tstate = wxPyBeginAllowThreads();
22634 (arg1)->base_OnDrawControlPoints(*arg2);
22635
22636 wxPyEndAllowThreads(__tstate);
22637 if (PyErr_Occurred()) SWIG_fail;
22638 }
22639 Py_INCREF(Py_None); resultobj = Py_None;
22640 return resultobj;
22641 fail:
22642 return NULL;
22643}
22644
22645
c370783e 22646static PyObject *_wrap_PyDividedShape_base_OnEraseControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
22647 PyObject *resultobj;
22648 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
22649 wxDC *arg2 = 0 ;
22650 PyObject * obj0 = 0 ;
22651 PyObject * obj1 = 0 ;
22652 char *kwnames[] = {
22653 (char *) "self",(char *) "dc", NULL
22654 };
22655
22656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDividedShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22657 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDividedShape, SWIG_POINTER_EXCEPTION | 0);
22658 if (SWIG_arg_fail(1)) SWIG_fail;
22659 {
22660 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
22661 if (SWIG_arg_fail(2)) SWIG_fail;
22662 if (arg2 == NULL) {
22663 SWIG_null_ref("wxDC");
22664 }
22665 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
22666 }
22667 {
22668 PyThreadState* __tstate = wxPyBeginAllowThreads();
22669 (arg1)->base_OnEraseControlPoints(*arg2);
22670
22671 wxPyEndAllowThreads(__tstate);
22672 if (PyErr_Occurred()) SWIG_fail;
22673 }
22674 Py_INCREF(Py_None); resultobj = Py_None;
22675 return resultobj;
22676 fail:
22677 return NULL;
22678}
22679
22680
c370783e 22681static PyObject *_wrap_PyDividedShape_base_OnMoveLink(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
22682 PyObject *resultobj;
22683 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
22684 wxDC *arg2 = 0 ;
b411df4a 22685 bool arg3 = (bool) true ;
44127b65
RD
22686 PyObject * obj0 = 0 ;
22687 PyObject * obj1 = 0 ;
22688 PyObject * obj2 = 0 ;
22689 char *kwnames[] = {
22690 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
22691 };
22692
22693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDividedShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
22694 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDividedShape, SWIG_POINTER_EXCEPTION | 0);
22695 if (SWIG_arg_fail(1)) SWIG_fail;
22696 {
22697 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
22698 if (SWIG_arg_fail(2)) SWIG_fail;
22699 if (arg2 == NULL) {
22700 SWIG_null_ref("wxDC");
22701 }
22702 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
22703 }
22704 if (obj2) {
36ed4f51
RD
22705 {
22706 arg3 = (bool)(SWIG_As_bool(obj2));
22707 if (SWIG_arg_fail(3)) SWIG_fail;
22708 }
44127b65
RD
22709 }
22710 {
22711 PyThreadState* __tstate = wxPyBeginAllowThreads();
22712 (arg1)->base_OnMoveLink(*arg2,arg3);
22713
22714 wxPyEndAllowThreads(__tstate);
22715 if (PyErr_Occurred()) SWIG_fail;
22716 }
22717 Py_INCREF(Py_None); resultobj = Py_None;
22718 return resultobj;
22719 fail:
22720 return NULL;
22721}
22722
22723
c370783e 22724static PyObject *_wrap_PyDividedShape_base_OnSizingDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
22725 PyObject *resultobj;
22726 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
22727 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
22728 bool arg3 ;
22729 double arg4 ;
22730 double arg5 ;
22731 int arg6 = (int) 0 ;
22732 int arg7 = (int) 0 ;
22733 PyObject * obj0 = 0 ;
22734 PyObject * obj1 = 0 ;
22735 PyObject * obj2 = 0 ;
8edf1c75
RD
22736 PyObject * obj3 = 0 ;
22737 PyObject * obj4 = 0 ;
22738 PyObject * obj5 = 0 ;
22739 PyObject * obj6 = 0 ;
44127b65
RD
22740 char *kwnames[] = {
22741 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22742 };
22743
8edf1c75 22744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyDividedShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
22745 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDividedShape, SWIG_POINTER_EXCEPTION | 0);
22746 if (SWIG_arg_fail(1)) SWIG_fail;
22747 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
22748 if (SWIG_arg_fail(2)) SWIG_fail;
22749 {
22750 arg3 = (bool)(SWIG_As_bool(obj2));
22751 if (SWIG_arg_fail(3)) SWIG_fail;
22752 }
22753 {
22754 arg4 = (double)(SWIG_As_double(obj3));
22755 if (SWIG_arg_fail(4)) SWIG_fail;
22756 }
22757 {
22758 arg5 = (double)(SWIG_As_double(obj4));
22759 if (SWIG_arg_fail(5)) SWIG_fail;
22760 }
8edf1c75 22761 if (obj5) {
36ed4f51
RD
22762 {
22763 arg6 = (int)(SWIG_As_int(obj5));
22764 if (SWIG_arg_fail(6)) SWIG_fail;
22765 }
8edf1c75
RD
22766 }
22767 if (obj6) {
36ed4f51
RD
22768 {
22769 arg7 = (int)(SWIG_As_int(obj6));
22770 if (SWIG_arg_fail(7)) SWIG_fail;
22771 }
8edf1c75 22772 }
44127b65
RD
22773 {
22774 PyThreadState* __tstate = wxPyBeginAllowThreads();
22775 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
22776
22777 wxPyEndAllowThreads(__tstate);
22778 if (PyErr_Occurred()) SWIG_fail;
22779 }
22780 Py_INCREF(Py_None); resultobj = Py_None;
22781 return resultobj;
22782 fail:
22783 return NULL;
22784}
22785
22786
c370783e 22787static PyObject *_wrap_PyDividedShape_base_OnSizingBeginDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
22788 PyObject *resultobj;
22789 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
22790 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
22791 double arg3 ;
22792 double arg4 ;
22793 int arg5 = (int) 0 ;
22794 int arg6 = (int) 0 ;
22795 PyObject * obj0 = 0 ;
22796 PyObject * obj1 = 0 ;
8edf1c75
RD
22797 PyObject * obj2 = 0 ;
22798 PyObject * obj3 = 0 ;
22799 PyObject * obj4 = 0 ;
22800 PyObject * obj5 = 0 ;
44127b65
RD
22801 char *kwnames[] = {
22802 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22803 };
22804
8edf1c75 22805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDividedShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
22806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDividedShape, SWIG_POINTER_EXCEPTION | 0);
22807 if (SWIG_arg_fail(1)) SWIG_fail;
22808 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
22809 if (SWIG_arg_fail(2)) SWIG_fail;
22810 {
22811 arg3 = (double)(SWIG_As_double(obj2));
22812 if (SWIG_arg_fail(3)) SWIG_fail;
22813 }
22814 {
22815 arg4 = (double)(SWIG_As_double(obj3));
22816 if (SWIG_arg_fail(4)) SWIG_fail;
22817 }
8edf1c75 22818 if (obj4) {
36ed4f51
RD
22819 {
22820 arg5 = (int)(SWIG_As_int(obj4));
22821 if (SWIG_arg_fail(5)) SWIG_fail;
22822 }
8edf1c75
RD
22823 }
22824 if (obj5) {
36ed4f51
RD
22825 {
22826 arg6 = (int)(SWIG_As_int(obj5));
22827 if (SWIG_arg_fail(6)) SWIG_fail;
22828 }
8edf1c75 22829 }
44127b65
RD
22830 {
22831 PyThreadState* __tstate = wxPyBeginAllowThreads();
22832 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
22833
22834 wxPyEndAllowThreads(__tstate);
22835 if (PyErr_Occurred()) SWIG_fail;
22836 }
22837 Py_INCREF(Py_None); resultobj = Py_None;
22838 return resultobj;
22839 fail:
22840 return NULL;
22841}
22842
22843
c370783e 22844static PyObject *_wrap_PyDividedShape_base_OnSizingEndDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
22845 PyObject *resultobj;
22846 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
22847 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
22848 double arg3 ;
22849 double arg4 ;
22850 int arg5 = (int) 0 ;
22851 int arg6 = (int) 0 ;
22852 PyObject * obj0 = 0 ;
22853 PyObject * obj1 = 0 ;
8edf1c75
RD
22854 PyObject * obj2 = 0 ;
22855 PyObject * obj3 = 0 ;
22856 PyObject * obj4 = 0 ;
22857 PyObject * obj5 = 0 ;
44127b65
RD
22858 char *kwnames[] = {
22859 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
22860 };
22861
8edf1c75 22862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDividedShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
22863 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDividedShape, SWIG_POINTER_EXCEPTION | 0);
22864 if (SWIG_arg_fail(1)) SWIG_fail;
22865 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
22866 if (SWIG_arg_fail(2)) SWIG_fail;
22867 {
22868 arg3 = (double)(SWIG_As_double(obj2));
22869 if (SWIG_arg_fail(3)) SWIG_fail;
22870 }
22871 {
22872 arg4 = (double)(SWIG_As_double(obj3));
22873 if (SWIG_arg_fail(4)) SWIG_fail;
22874 }
2f4c0a16 22875 if (obj4) {
36ed4f51
RD
22876 {
22877 arg5 = (int)(SWIG_As_int(obj4));
22878 if (SWIG_arg_fail(5)) SWIG_fail;
22879 }
8edf1c75 22880 }
2f4c0a16 22881 if (obj5) {
36ed4f51
RD
22882 {
22883 arg6 = (int)(SWIG_As_int(obj5));
22884 if (SWIG_arg_fail(6)) SWIG_fail;
22885 }
8edf1c75 22886 }
44127b65
RD
22887 {
22888 PyThreadState* __tstate = wxPyBeginAllowThreads();
22889 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
22890
22891 wxPyEndAllowThreads(__tstate);
22892 if (PyErr_Occurred()) SWIG_fail;
22893 }
22894 Py_INCREF(Py_None); resultobj = Py_None;
22895 return resultobj;
22896 fail:
22897 return NULL;
22898}
22899
22900
c370783e 22901static PyObject *_wrap_PyDividedShape_base_OnBeginSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
22902 PyObject *resultobj;
22903 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
22904 double arg2 ;
22905 double arg3 ;
22906 PyObject * obj0 = 0 ;
8edf1c75
RD
22907 PyObject * obj1 = 0 ;
22908 PyObject * obj2 = 0 ;
44127b65
RD
22909 char *kwnames[] = {
22910 (char *) "self",(char *) "w",(char *) "h", NULL
22911 };
22912
8edf1c75 22913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDividedShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
22914 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDividedShape, SWIG_POINTER_EXCEPTION | 0);
22915 if (SWIG_arg_fail(1)) SWIG_fail;
22916 {
22917 arg2 = (double)(SWIG_As_double(obj1));
22918 if (SWIG_arg_fail(2)) SWIG_fail;
22919 }
22920 {
22921 arg3 = (double)(SWIG_As_double(obj2));
22922 if (SWIG_arg_fail(3)) SWIG_fail;
22923 }
44127b65
RD
22924 {
22925 PyThreadState* __tstate = wxPyBeginAllowThreads();
22926 (arg1)->base_OnBeginSize(arg2,arg3);
22927
22928 wxPyEndAllowThreads(__tstate);
22929 if (PyErr_Occurred()) SWIG_fail;
22930 }
22931 Py_INCREF(Py_None); resultobj = Py_None;
22932 return resultobj;
22933 fail:
22934 return NULL;
22935}
22936
22937
c370783e 22938static PyObject *_wrap_PyDividedShape_base_OnEndSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
22939 PyObject *resultobj;
22940 wxPyDividedShape *arg1 = (wxPyDividedShape *) 0 ;
22941 double arg2 ;
22942 double arg3 ;
22943 PyObject * obj0 = 0 ;
8edf1c75
RD
22944 PyObject * obj1 = 0 ;
22945 PyObject * obj2 = 0 ;
44127b65
RD
22946 char *kwnames[] = {
22947 (char *) "self",(char *) "w",(char *) "h", NULL
22948 };
22949
8edf1c75 22950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDividedShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
22951 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDividedShape, SWIG_POINTER_EXCEPTION | 0);
22952 if (SWIG_arg_fail(1)) SWIG_fail;
22953 {
22954 arg2 = (double)(SWIG_As_double(obj1));
22955 if (SWIG_arg_fail(2)) SWIG_fail;
22956 }
22957 {
22958 arg3 = (double)(SWIG_As_double(obj2));
22959 if (SWIG_arg_fail(3)) SWIG_fail;
22960 }
44127b65
RD
22961 {
22962 PyThreadState* __tstate = wxPyBeginAllowThreads();
22963 (arg1)->base_OnEndSize(arg2,arg3);
22964
22965 wxPyEndAllowThreads(__tstate);
22966 if (PyErr_Occurred()) SWIG_fail;
22967 }
22968 Py_INCREF(Py_None); resultobj = Py_None;
22969 return resultobj;
22970 fail:
22971 return NULL;
22972}
22973
22974
c370783e 22975static PyObject * PyDividedShape_swigregister(PyObject *, PyObject *args) {
44127b65
RD
22976 PyObject *obj;
22977 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22978 SWIG_TypeClientData(SWIGTYPE_p_wxPyDividedShape, obj);
22979 Py_INCREF(obj);
22980 return Py_BuildValue((char *)"");
22981}
c370783e 22982static PyObject *_wrap_new_PyDivisionShape(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
22983 PyObject *resultobj;
22984 wxPyDivisionShape *result;
22985 char *kwnames[] = {
22986 NULL
22987 };
22988
22989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyDivisionShape",kwnames)) goto fail;
22990 {
22991 PyThreadState* __tstate = wxPyBeginAllowThreads();
22992 result = (wxPyDivisionShape *)new wxPyDivisionShape();
22993
22994 wxPyEndAllowThreads(__tstate);
22995 if (PyErr_Occurred()) SWIG_fail;
22996 }
b0f7404b 22997 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDivisionShape, 1);
44127b65
RD
22998 return resultobj;
22999 fail:
23000 return NULL;
23001}
23002
23003
c370783e 23004static PyObject *_wrap_PyDivisionShape__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
23005 PyObject *resultobj;
23006 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
23007 PyObject *arg2 = (PyObject *) 0 ;
23008 PyObject *arg3 = (PyObject *) 0 ;
23009 PyObject * obj0 = 0 ;
23010 PyObject * obj1 = 0 ;
23011 PyObject * obj2 = 0 ;
23012 char *kwnames[] = {
23013 (char *) "self",(char *) "self",(char *) "_class", NULL
23014 };
23015
23016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
23017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDivisionShape, SWIG_POINTER_EXCEPTION | 0);
23018 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
23019 arg2 = obj1;
23020 arg3 = obj2;
23021 {
23022 PyThreadState* __tstate = wxPyBeginAllowThreads();
23023 (arg1)->_setCallbackInfo(arg2,arg3);
23024
23025 wxPyEndAllowThreads(__tstate);
23026 if (PyErr_Occurred()) SWIG_fail;
23027 }
23028 Py_INCREF(Py_None); resultobj = Py_None;
23029 return resultobj;
23030 fail:
23031 return NULL;
23032}
23033
23034
c370783e 23035static PyObject *_wrap_PyDivisionShape_AdjustBottom(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
23036 PyObject *resultobj;
23037 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
23038 double arg2 ;
23039 bool arg3 ;
23040 PyObject * obj0 = 0 ;
8edf1c75 23041 PyObject * obj1 = 0 ;
44127b65
RD
23042 PyObject * obj2 = 0 ;
23043 char *kwnames[] = {
23044 (char *) "self",(char *) "bottom",(char *) "test", NULL
23045 };
23046
8edf1c75 23047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_AdjustBottom",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
23048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDivisionShape, SWIG_POINTER_EXCEPTION | 0);
23049 if (SWIG_arg_fail(1)) SWIG_fail;
23050 {
23051 arg2 = (double)(SWIG_As_double(obj1));
23052 if (SWIG_arg_fail(2)) SWIG_fail;
23053 }
23054 {
23055 arg3 = (bool)(SWIG_As_bool(obj2));
23056 if (SWIG_arg_fail(3)) SWIG_fail;
23057 }
44127b65
RD
23058 {
23059 PyThreadState* __tstate = wxPyBeginAllowThreads();
23060 (arg1)->AdjustBottom(arg2,arg3);
23061
23062 wxPyEndAllowThreads(__tstate);
23063 if (PyErr_Occurred()) SWIG_fail;
23064 }
23065 Py_INCREF(Py_None); resultobj = Py_None;
23066 return resultobj;
23067 fail:
23068 return NULL;
23069}
23070
23071
c370783e 23072static PyObject *_wrap_PyDivisionShape_AdjustLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
23073 PyObject *resultobj;
23074 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
23075 double arg2 ;
23076 bool arg3 ;
23077 PyObject * obj0 = 0 ;
8edf1c75 23078 PyObject * obj1 = 0 ;
44127b65
RD
23079 PyObject * obj2 = 0 ;
23080 char *kwnames[] = {
23081 (char *) "self",(char *) "left",(char *) "test", NULL
23082 };
23083
8edf1c75 23084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_AdjustLeft",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
23085 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDivisionShape, SWIG_POINTER_EXCEPTION | 0);
23086 if (SWIG_arg_fail(1)) SWIG_fail;
23087 {
23088 arg2 = (double)(SWIG_As_double(obj1));
23089 if (SWIG_arg_fail(2)) SWIG_fail;
23090 }
23091 {
23092 arg3 = (bool)(SWIG_As_bool(obj2));
23093 if (SWIG_arg_fail(3)) SWIG_fail;
23094 }
44127b65
RD
23095 {
23096 PyThreadState* __tstate = wxPyBeginAllowThreads();
23097 (arg1)->AdjustLeft(arg2,arg3);
23098
23099 wxPyEndAllowThreads(__tstate);
23100 if (PyErr_Occurred()) SWIG_fail;
23101 }
23102 Py_INCREF(Py_None); resultobj = Py_None;
23103 return resultobj;
23104 fail:
23105 return NULL;
23106}
23107
23108
c370783e 23109static PyObject *_wrap_PyDivisionShape_AdjustRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
23110 PyObject *resultobj;
23111 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
23112 double arg2 ;
23113 bool arg3 ;
23114 PyObject * obj0 = 0 ;
8edf1c75 23115 PyObject * obj1 = 0 ;
44127b65
RD
23116 PyObject * obj2 = 0 ;
23117 char *kwnames[] = {
23118 (char *) "self",(char *) "right",(char *) "test", NULL
23119 };
23120
8edf1c75 23121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_AdjustRight",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
23122 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDivisionShape, SWIG_POINTER_EXCEPTION | 0);
23123 if (SWIG_arg_fail(1)) SWIG_fail;
23124 {
23125 arg2 = (double)(SWIG_As_double(obj1));
23126 if (SWIG_arg_fail(2)) SWIG_fail;
23127 }
23128 {
23129 arg3 = (bool)(SWIG_As_bool(obj2));
23130 if (SWIG_arg_fail(3)) SWIG_fail;
23131 }
44127b65
RD
23132 {
23133 PyThreadState* __tstate = wxPyBeginAllowThreads();
23134 (arg1)->AdjustRight(arg2,arg3);
23135
23136 wxPyEndAllowThreads(__tstate);
23137 if (PyErr_Occurred()) SWIG_fail;
23138 }
23139 Py_INCREF(Py_None); resultobj = Py_None;
23140 return resultobj;
23141 fail:
23142 return NULL;
23143}
23144
23145
c370783e 23146static PyObject *_wrap_PyDivisionShape_AdjustTop(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
23147 PyObject *resultobj;
23148 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
23149 double arg2 ;
23150 bool arg3 ;
23151 PyObject * obj0 = 0 ;
8edf1c75 23152 PyObject * obj1 = 0 ;
44127b65
RD
23153 PyObject * obj2 = 0 ;
23154 char *kwnames[] = {
23155 (char *) "self",(char *) "top",(char *) "test", NULL
23156 };
23157
8edf1c75 23158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_AdjustTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
23159 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDivisionShape, SWIG_POINTER_EXCEPTION | 0);
23160 if (SWIG_arg_fail(1)) SWIG_fail;
23161 {
23162 arg2 = (double)(SWIG_As_double(obj1));
23163 if (SWIG_arg_fail(2)) SWIG_fail;
23164 }
23165 {
23166 arg3 = (bool)(SWIG_As_bool(obj2));
23167 if (SWIG_arg_fail(3)) SWIG_fail;
23168 }
44127b65
RD
23169 {
23170 PyThreadState* __tstate = wxPyBeginAllowThreads();
23171 (arg1)->AdjustTop(arg2,arg3);
23172
23173 wxPyEndAllowThreads(__tstate);
23174 if (PyErr_Occurred()) SWIG_fail;
23175 }
23176 Py_INCREF(Py_None); resultobj = Py_None;
23177 return resultobj;
23178 fail:
23179 return NULL;
23180}
23181
23182
c370783e 23183static PyObject *_wrap_PyDivisionShape_Divide(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
23184 PyObject *resultobj;
23185 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
23186 int arg2 ;
23187 PyObject * obj0 = 0 ;
8edf1c75 23188 PyObject * obj1 = 0 ;
44127b65
RD
23189 char *kwnames[] = {
23190 (char *) "self",(char *) "direction", NULL
23191 };
23192
8edf1c75 23193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_Divide",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23194 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDivisionShape, SWIG_POINTER_EXCEPTION | 0);
23195 if (SWIG_arg_fail(1)) SWIG_fail;
23196 {
23197 arg2 = (int)(SWIG_As_int(obj1));
23198 if (SWIG_arg_fail(2)) SWIG_fail;
23199 }
44127b65
RD
23200 {
23201 PyThreadState* __tstate = wxPyBeginAllowThreads();
23202 (arg1)->Divide(arg2);
23203
23204 wxPyEndAllowThreads(__tstate);
23205 if (PyErr_Occurred()) SWIG_fail;
23206 }
23207 Py_INCREF(Py_None); resultobj = Py_None;
23208 return resultobj;
23209 fail:
23210 return NULL;
23211}
23212
23213
c370783e 23214static PyObject *_wrap_PyDivisionShape_EditEdge(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
23215 PyObject *resultobj;
23216 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
23217 int arg2 ;
23218 PyObject * obj0 = 0 ;
8edf1c75 23219 PyObject * obj1 = 0 ;
44127b65
RD
23220 char *kwnames[] = {
23221 (char *) "self",(char *) "side", NULL
23222 };
23223
8edf1c75 23224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_EditEdge",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23225 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDivisionShape, SWIG_POINTER_EXCEPTION | 0);
23226 if (SWIG_arg_fail(1)) SWIG_fail;
23227 {
23228 arg2 = (int)(SWIG_As_int(obj1));
23229 if (SWIG_arg_fail(2)) SWIG_fail;
23230 }
44127b65
RD
23231 {
23232 PyThreadState* __tstate = wxPyBeginAllowThreads();
23233 (arg1)->EditEdge(arg2);
23234
23235 wxPyEndAllowThreads(__tstate);
23236 if (PyErr_Occurred()) SWIG_fail;
23237 }
23238 Py_INCREF(Py_None); resultobj = Py_None;
23239 return resultobj;
23240 fail:
23241 return NULL;
23242}
23243
23244
c370783e 23245static PyObject *_wrap_PyDivisionShape_GetBottomSide(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
23246 PyObject *resultobj;
23247 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
23248 wxPyDivisionShape *result;
23249 PyObject * obj0 = 0 ;
23250 char *kwnames[] = {
23251 (char *) "self", NULL
23252 };
23253
23254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetBottomSide",kwnames,&obj0)) goto fail;
36ed4f51
RD
23255 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDivisionShape, SWIG_POINTER_EXCEPTION | 0);
23256 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
23257 {
23258 PyThreadState* __tstate = wxPyBeginAllowThreads();
23259 result = (wxPyDivisionShape *)(arg1)->GetBottomSide();
23260
23261 wxPyEndAllowThreads(__tstate);
23262 if (PyErr_Occurred()) SWIG_fail;
23263 }
23264 {
412d302d 23265 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
44127b65
RD
23266 }
23267 return resultobj;
23268 fail:
23269 return NULL;
23270}
23271
23272
c370783e 23273static PyObject *_wrap_PyDivisionShape_GetHandleSide(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
23274 PyObject *resultobj;
23275 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
23276 int result;
23277 PyObject * obj0 = 0 ;
23278 char *kwnames[] = {
23279 (char *) "self", NULL
23280 };
23281
23282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetHandleSide",kwnames,&obj0)) goto fail;
36ed4f51
RD
23283 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDivisionShape, SWIG_POINTER_EXCEPTION | 0);
23284 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
23285 {
23286 PyThreadState* __tstate = wxPyBeginAllowThreads();
23287 result = (int)(arg1)->GetHandleSide();
23288
23289 wxPyEndAllowThreads(__tstate);
23290 if (PyErr_Occurred()) SWIG_fail;
23291 }
36ed4f51
RD
23292 {
23293 resultobj = SWIG_From_int((int)(result));
23294 }
44127b65
RD
23295 return resultobj;
23296 fail:
23297 return NULL;
23298}
23299
23300
c370783e 23301static PyObject *_wrap_PyDivisionShape_GetLeftSide(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
23302 PyObject *resultobj;
23303 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
23304 wxPyDivisionShape *result;
23305 PyObject * obj0 = 0 ;
23306 char *kwnames[] = {
23307 (char *) "self", NULL
23308 };
23309
23310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetLeftSide",kwnames,&obj0)) goto fail;
36ed4f51
RD
23311 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDivisionShape, SWIG_POINTER_EXCEPTION | 0);
23312 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
23313 {
23314 PyThreadState* __tstate = wxPyBeginAllowThreads();
23315 result = (wxPyDivisionShape *)(arg1)->GetLeftSide();
23316
23317 wxPyEndAllowThreads(__tstate);
23318 if (PyErr_Occurred()) SWIG_fail;
23319 }
23320 {
412d302d 23321 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
44127b65
RD
23322 }
23323 return resultobj;
23324 fail:
23325 return NULL;
23326}
23327
23328
c370783e 23329static PyObject *_wrap_PyDivisionShape_GetLeftSideColour(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
23330 PyObject *resultobj;
23331 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
23332 wxString result;
23333 PyObject * obj0 = 0 ;
23334 char *kwnames[] = {
23335 (char *) "self", NULL
23336 };
23337
23338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetLeftSideColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
23339 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDivisionShape, SWIG_POINTER_EXCEPTION | 0);
23340 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
23341 {
23342 PyThreadState* __tstate = wxPyBeginAllowThreads();
23343 result = (arg1)->GetLeftSideColour();
23344
23345 wxPyEndAllowThreads(__tstate);
23346 if (PyErr_Occurred()) SWIG_fail;
23347 }
23348 {
23349#if wxUSE_UNICODE
23350 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23351#else
23352 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23353#endif
23354 }
23355 return resultobj;
23356 fail:
23357 return NULL;
23358}
23359
23360
c370783e 23361static PyObject *_wrap_PyDivisionShape_GetLeftSidePen(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
23362 PyObject *resultobj;
23363 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
23364 wxPen *result;
23365 PyObject * obj0 = 0 ;
23366 char *kwnames[] = {
23367 (char *) "self", NULL
23368 };
23369
23370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetLeftSidePen",kwnames,&obj0)) goto fail;
36ed4f51
RD
23371 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDivisionShape, SWIG_POINTER_EXCEPTION | 0);
23372 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
23373 {
23374 PyThreadState* __tstate = wxPyBeginAllowThreads();
23375 result = (wxPen *)(arg1)->GetLeftSidePen();
23376
23377 wxPyEndAllowThreads(__tstate);
23378 if (PyErr_Occurred()) SWIG_fail;
23379 }
2f4c0a16 23380 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPen, 0);
44127b65
RD
23381 return resultobj;
23382 fail:
23383 return NULL;
23384}
23385
23386
c370783e 23387static PyObject *_wrap_PyDivisionShape_GetRightSide(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
23388 PyObject *resultobj;
23389 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
23390 wxPyDivisionShape *result;
23391 PyObject * obj0 = 0 ;
23392 char *kwnames[] = {
23393 (char *) "self", NULL
23394 };
23395
23396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetRightSide",kwnames,&obj0)) goto fail;
36ed4f51
RD
23397 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDivisionShape, SWIG_POINTER_EXCEPTION | 0);
23398 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
23399 {
23400 PyThreadState* __tstate = wxPyBeginAllowThreads();
23401 result = (wxPyDivisionShape *)(arg1)->GetRightSide();
23402
23403 wxPyEndAllowThreads(__tstate);
23404 if (PyErr_Occurred()) SWIG_fail;
23405 }
23406 {
412d302d 23407 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
44127b65
RD
23408 }
23409 return resultobj;
23410 fail:
23411 return NULL;
23412}
23413
23414
c370783e 23415static PyObject *_wrap_PyDivisionShape_GetTopSide(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
23416 PyObject *resultobj;
23417 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
23418 wxPyDivisionShape *result;
23419 PyObject * obj0 = 0 ;
23420 char *kwnames[] = {
23421 (char *) "self", NULL
23422 };
23423
23424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetTopSide",kwnames,&obj0)) goto fail;
36ed4f51
RD
23425 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDivisionShape, SWIG_POINTER_EXCEPTION | 0);
23426 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
23427 {
23428 PyThreadState* __tstate = wxPyBeginAllowThreads();
23429 result = (wxPyDivisionShape *)(arg1)->GetTopSide();
23430
23431 wxPyEndAllowThreads(__tstate);
23432 if (PyErr_Occurred()) SWIG_fail;
23433 }
23434 {
412d302d 23435 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
44127b65
RD
23436 }
23437 return resultobj;
23438 fail:
23439 return NULL;
23440}
23441
23442
c370783e 23443static PyObject *_wrap_PyDivisionShape_GetTopSidePen(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
23444 PyObject *resultobj;
23445 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
23446 wxPen *result;
23447 PyObject * obj0 = 0 ;
23448 char *kwnames[] = {
23449 (char *) "self", NULL
23450 };
23451
23452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_GetTopSidePen",kwnames,&obj0)) goto fail;
36ed4f51
RD
23453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDivisionShape, SWIG_POINTER_EXCEPTION | 0);
23454 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
23455 {
23456 PyThreadState* __tstate = wxPyBeginAllowThreads();
23457 result = (wxPen *)(arg1)->GetTopSidePen();
23458
23459 wxPyEndAllowThreads(__tstate);
23460 if (PyErr_Occurred()) SWIG_fail;
23461 }
2f4c0a16 23462 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPen, 0);
44127b65
RD
23463 return resultobj;
23464 fail:
23465 return NULL;
23466}
23467
23468
c370783e 23469static PyObject *_wrap_PyDivisionShape_ResizeAdjoining(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
23470 PyObject *resultobj;
23471 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
23472 int arg2 ;
23473 double arg3 ;
23474 bool arg4 ;
23475 PyObject * obj0 = 0 ;
8edf1c75
RD
23476 PyObject * obj1 = 0 ;
23477 PyObject * obj2 = 0 ;
44127b65
RD
23478 PyObject * obj3 = 0 ;
23479 char *kwnames[] = {
23480 (char *) "self",(char *) "side",(char *) "newPos",(char *) "test", NULL
23481 };
23482
8edf1c75 23483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyDivisionShape_ResizeAdjoining",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
23484 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDivisionShape, SWIG_POINTER_EXCEPTION | 0);
23485 if (SWIG_arg_fail(1)) SWIG_fail;
23486 {
23487 arg2 = (int)(SWIG_As_int(obj1));
23488 if (SWIG_arg_fail(2)) SWIG_fail;
23489 }
23490 {
23491 arg3 = (double)(SWIG_As_double(obj2));
23492 if (SWIG_arg_fail(3)) SWIG_fail;
23493 }
23494 {
23495 arg4 = (bool)(SWIG_As_bool(obj3));
23496 if (SWIG_arg_fail(4)) SWIG_fail;
23497 }
44127b65
RD
23498 {
23499 PyThreadState* __tstate = wxPyBeginAllowThreads();
23500 (arg1)->ResizeAdjoining(arg2,arg3,arg4);
23501
23502 wxPyEndAllowThreads(__tstate);
23503 if (PyErr_Occurred()) SWIG_fail;
23504 }
23505 Py_INCREF(Py_None); resultobj = Py_None;
23506 return resultobj;
23507 fail:
23508 return NULL;
23509}
23510
23511
c370783e 23512static PyObject *_wrap_PyDivisionShape_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
23513 PyObject *resultobj;
23514 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
23515 double arg2 ;
23516 double arg3 ;
23517 PyObject * obj0 = 0 ;
8edf1c75
RD
23518 PyObject * obj1 = 0 ;
23519 PyObject * obj2 = 0 ;
44127b65
RD
23520 char *kwnames[] = {
23521 (char *) "self",(char *) "x",(char *) "y", NULL
23522 };
23523
8edf1c75 23524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_PopupMenu",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
23525 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDivisionShape, SWIG_POINTER_EXCEPTION | 0);
23526 if (SWIG_arg_fail(1)) SWIG_fail;
23527 {
23528 arg2 = (double)(SWIG_As_double(obj1));
23529 if (SWIG_arg_fail(2)) SWIG_fail;
23530 }
23531 {
23532 arg3 = (double)(SWIG_As_double(obj2));
23533 if (SWIG_arg_fail(3)) SWIG_fail;
23534 }
44127b65
RD
23535 {
23536 PyThreadState* __tstate = wxPyBeginAllowThreads();
23537 (arg1)->PopupMenu(arg2,arg3);
23538
23539 wxPyEndAllowThreads(__tstate);
23540 if (PyErr_Occurred()) SWIG_fail;
23541 }
23542 Py_INCREF(Py_None); resultobj = Py_None;
23543 return resultobj;
23544 fail:
23545 return NULL;
23546}
23547
23548
c370783e 23549static PyObject *_wrap_PyDivisionShape_SetBottomSide(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
23550 PyObject *resultobj;
23551 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
23552 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
23553 PyObject * obj0 = 0 ;
23554 PyObject * obj1 = 0 ;
23555 char *kwnames[] = {
23556 (char *) "self",(char *) "shape", NULL
23557 };
23558
23559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetBottomSide",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23560 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDivisionShape, SWIG_POINTER_EXCEPTION | 0);
23561 if (SWIG_arg_fail(1)) SWIG_fail;
23562 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyDivisionShape, SWIG_POINTER_EXCEPTION | 0);
23563 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
23564 {
23565 PyThreadState* __tstate = wxPyBeginAllowThreads();
23566 (arg1)->SetBottomSide(arg2);
23567
23568 wxPyEndAllowThreads(__tstate);
23569 if (PyErr_Occurred()) SWIG_fail;
23570 }
23571 Py_INCREF(Py_None); resultobj = Py_None;
23572 return resultobj;
23573 fail:
23574 return NULL;
23575}
23576
23577
c370783e 23578static PyObject *_wrap_PyDivisionShape_SetHandleSide(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
23579 PyObject *resultobj;
23580 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
23581 int arg2 ;
23582 PyObject * obj0 = 0 ;
8edf1c75 23583 PyObject * obj1 = 0 ;
44127b65
RD
23584 char *kwnames[] = {
23585 (char *) "self",(char *) "side", NULL
23586 };
23587
8edf1c75 23588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetHandleSide",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23589 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDivisionShape, SWIG_POINTER_EXCEPTION | 0);
23590 if (SWIG_arg_fail(1)) SWIG_fail;
23591 {
23592 arg2 = (int)(SWIG_As_int(obj1));
23593 if (SWIG_arg_fail(2)) SWIG_fail;
23594 }
44127b65
RD
23595 {
23596 PyThreadState* __tstate = wxPyBeginAllowThreads();
23597 (arg1)->SetHandleSide(arg2);
23598
23599 wxPyEndAllowThreads(__tstate);
23600 if (PyErr_Occurred()) SWIG_fail;
23601 }
23602 Py_INCREF(Py_None); resultobj = Py_None;
23603 return resultobj;
23604 fail:
23605 return NULL;
23606}
23607
23608
c370783e 23609static PyObject *_wrap_PyDivisionShape_SetLeftSide(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
23610 PyObject *resultobj;
23611 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
23612 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
23613 PyObject * obj0 = 0 ;
23614 PyObject * obj1 = 0 ;
23615 char *kwnames[] = {
23616 (char *) "self",(char *) "shape", NULL
23617 };
23618
23619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetLeftSide",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23620 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDivisionShape, SWIG_POINTER_EXCEPTION | 0);
23621 if (SWIG_arg_fail(1)) SWIG_fail;
23622 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyDivisionShape, SWIG_POINTER_EXCEPTION | 0);
23623 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
23624 {
23625 PyThreadState* __tstate = wxPyBeginAllowThreads();
23626 (arg1)->SetLeftSide(arg2);
23627
23628 wxPyEndAllowThreads(__tstate);
23629 if (PyErr_Occurred()) SWIG_fail;
23630 }
23631 Py_INCREF(Py_None); resultobj = Py_None;
23632 return resultobj;
23633 fail:
23634 return NULL;
23635}
23636
23637
c370783e 23638static PyObject *_wrap_PyDivisionShape_SetLeftSideColour(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
23639 PyObject *resultobj;
23640 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
23641 wxString *arg2 = 0 ;
b411df4a 23642 bool temp2 = false ;
44127b65
RD
23643 PyObject * obj0 = 0 ;
23644 PyObject * obj1 = 0 ;
23645 char *kwnames[] = {
23646 (char *) "self",(char *) "colour", NULL
23647 };
23648
23649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetLeftSideColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23650 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDivisionShape, SWIG_POINTER_EXCEPTION | 0);
23651 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
23652 {
23653 arg2 = wxString_in_helper(obj1);
23654 if (arg2 == NULL) SWIG_fail;
b411df4a 23655 temp2 = true;
44127b65
RD
23656 }
23657 {
23658 PyThreadState* __tstate = wxPyBeginAllowThreads();
23659 (arg1)->SetLeftSideColour((wxString const &)*arg2);
23660
23661 wxPyEndAllowThreads(__tstate);
23662 if (PyErr_Occurred()) SWIG_fail;
23663 }
23664 Py_INCREF(Py_None); resultobj = Py_None;
23665 {
23666 if (temp2)
23667 delete arg2;
23668 }
23669 return resultobj;
23670 fail:
23671 {
23672 if (temp2)
23673 delete arg2;
23674 }
23675 return NULL;
23676}
23677
23678
c370783e 23679static PyObject *_wrap_PyDivisionShape_SetLeftSidePen(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
23680 PyObject *resultobj;
23681 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
23682 wxPen *arg2 = (wxPen *) 0 ;
23683 PyObject * obj0 = 0 ;
23684 PyObject * obj1 = 0 ;
23685 char *kwnames[] = {
23686 (char *) "self",(char *) "pen", NULL
23687 };
23688
23689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetLeftSidePen",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23690 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDivisionShape, SWIG_POINTER_EXCEPTION | 0);
23691 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
23692 {
23693 wxPen* temp;
23694 if (obj1) {
23695 if (obj1 == Py_None) {
23696 temp = NULL;
23697 }
23698 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
23699 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
23700 return NULL;
23701 }
23702 }
23703 if (temp)
23704 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
23705 temp->GetWidth(),
23706 temp->GetStyle());
23707 else
23708 arg2 = NULL;
23709 }
23710 {
23711 PyThreadState* __tstate = wxPyBeginAllowThreads();
23712 (arg1)->SetLeftSidePen(arg2);
23713
23714 wxPyEndAllowThreads(__tstate);
23715 if (PyErr_Occurred()) SWIG_fail;
23716 }
23717 Py_INCREF(Py_None); resultobj = Py_None;
23718 return resultobj;
23719 fail:
23720 return NULL;
23721}
23722
23723
c370783e 23724static PyObject *_wrap_PyDivisionShape_SetRightSide(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
23725 PyObject *resultobj;
23726 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
23727 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
23728 PyObject * obj0 = 0 ;
23729 PyObject * obj1 = 0 ;
23730 char *kwnames[] = {
23731 (char *) "self",(char *) "shape", NULL
23732 };
23733
23734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetRightSide",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23735 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDivisionShape, SWIG_POINTER_EXCEPTION | 0);
23736 if (SWIG_arg_fail(1)) SWIG_fail;
23737 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyDivisionShape, SWIG_POINTER_EXCEPTION | 0);
23738 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
23739 {
23740 PyThreadState* __tstate = wxPyBeginAllowThreads();
23741 (arg1)->SetRightSide(arg2);
23742
23743 wxPyEndAllowThreads(__tstate);
23744 if (PyErr_Occurred()) SWIG_fail;
23745 }
23746 Py_INCREF(Py_None); resultobj = Py_None;
23747 return resultobj;
23748 fail:
23749 return NULL;
23750}
23751
23752
c370783e 23753static PyObject *_wrap_PyDivisionShape_SetTopSide(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
23754 PyObject *resultobj;
23755 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
23756 wxPyDivisionShape *arg2 = (wxPyDivisionShape *) 0 ;
23757 PyObject * obj0 = 0 ;
23758 PyObject * obj1 = 0 ;
23759 char *kwnames[] = {
23760 (char *) "self",(char *) "shape", NULL
23761 };
23762
23763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetTopSide",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23764 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDivisionShape, SWIG_POINTER_EXCEPTION | 0);
23765 if (SWIG_arg_fail(1)) SWIG_fail;
23766 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyDivisionShape, SWIG_POINTER_EXCEPTION | 0);
23767 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
23768 {
23769 PyThreadState* __tstate = wxPyBeginAllowThreads();
23770 (arg1)->SetTopSide(arg2);
23771
23772 wxPyEndAllowThreads(__tstate);
23773 if (PyErr_Occurred()) SWIG_fail;
23774 }
23775 Py_INCREF(Py_None); resultobj = Py_None;
23776 return resultobj;
23777 fail:
23778 return NULL;
23779}
23780
23781
c370783e 23782static PyObject *_wrap_PyDivisionShape_SetTopSideColour(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
23783 PyObject *resultobj;
23784 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
23785 wxString *arg2 = 0 ;
b411df4a 23786 bool temp2 = false ;
44127b65
RD
23787 PyObject * obj0 = 0 ;
23788 PyObject * obj1 = 0 ;
23789 char *kwnames[] = {
23790 (char *) "self",(char *) "colour", NULL
23791 };
23792
23793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetTopSideColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23794 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDivisionShape, SWIG_POINTER_EXCEPTION | 0);
23795 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
23796 {
23797 arg2 = wxString_in_helper(obj1);
23798 if (arg2 == NULL) SWIG_fail;
b411df4a 23799 temp2 = true;
44127b65
RD
23800 }
23801 {
23802 PyThreadState* __tstate = wxPyBeginAllowThreads();
23803 (arg1)->SetTopSideColour((wxString const &)*arg2);
23804
23805 wxPyEndAllowThreads(__tstate);
23806 if (PyErr_Occurred()) SWIG_fail;
23807 }
23808 Py_INCREF(Py_None); resultobj = Py_None;
23809 {
23810 if (temp2)
23811 delete arg2;
23812 }
23813 return resultobj;
23814 fail:
23815 {
23816 if (temp2)
23817 delete arg2;
23818 }
23819 return NULL;
23820}
23821
23822
c370783e 23823static PyObject *_wrap_PyDivisionShape_SetTopSidePen(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
23824 PyObject *resultobj;
23825 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
23826 wxPen *arg2 = (wxPen *) 0 ;
23827 PyObject * obj0 = 0 ;
23828 PyObject * obj1 = 0 ;
23829 char *kwnames[] = {
23830 (char *) "self",(char *) "pen", NULL
23831 };
23832
23833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_SetTopSidePen",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23834 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDivisionShape, SWIG_POINTER_EXCEPTION | 0);
23835 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
23836 {
23837 wxPen* temp;
23838 if (obj1) {
23839 if (obj1 == Py_None) {
23840 temp = NULL;
23841 }
23842 else if (! wxPyConvertSwigPtr(obj1, (void **) &temp, wxT("wxPen"))) {
23843 PyErr_SetString(PyExc_TypeError, "Type error, expected wxPen.");
23844 return NULL;
23845 }
23846 }
23847 if (temp)
23848 arg2 = wxThePenList->FindOrCreatePen(temp->GetColour(),
23849 temp->GetWidth(),
23850 temp->GetStyle());
23851 else
23852 arg2 = NULL;
23853 }
23854 {
23855 PyThreadState* __tstate = wxPyBeginAllowThreads();
23856 (arg1)->SetTopSidePen(arg2);
23857
23858 wxPyEndAllowThreads(__tstate);
23859 if (PyErr_Occurred()) SWIG_fail;
23860 }
23861 Py_INCREF(Py_None); resultobj = Py_None;
23862 return resultobj;
23863 fail:
23864 return NULL;
23865}
23866
23867
c370783e 23868static PyObject *_wrap_PyDivisionShape_base_OnDelete(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
23869 PyObject *resultobj;
23870 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
23871 PyObject * obj0 = 0 ;
23872 char *kwnames[] = {
23873 (char *) "self", NULL
23874 };
23875
23876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyDivisionShape_base_OnDelete",kwnames,&obj0)) goto fail;
36ed4f51
RD
23877 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDivisionShape, SWIG_POINTER_EXCEPTION | 0);
23878 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
23879 {
23880 PyThreadState* __tstate = wxPyBeginAllowThreads();
23881 (arg1)->base_OnDelete();
23882
23883 wxPyEndAllowThreads(__tstate);
23884 if (PyErr_Occurred()) SWIG_fail;
23885 }
23886 Py_INCREF(Py_None); resultobj = Py_None;
23887 return resultobj;
23888 fail:
23889 return NULL;
23890}
23891
23892
c370783e 23893static PyObject *_wrap_PyDivisionShape_base_OnDraw(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
23894 PyObject *resultobj;
23895 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
23896 wxDC *arg2 = 0 ;
23897 PyObject * obj0 = 0 ;
23898 PyObject * obj1 = 0 ;
23899 char *kwnames[] = {
23900 (char *) "self",(char *) "dc", NULL
23901 };
23902
23903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23904 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDivisionShape, SWIG_POINTER_EXCEPTION | 0);
23905 if (SWIG_arg_fail(1)) SWIG_fail;
23906 {
23907 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
23908 if (SWIG_arg_fail(2)) SWIG_fail;
23909 if (arg2 == NULL) {
23910 SWIG_null_ref("wxDC");
23911 }
23912 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
23913 }
23914 {
23915 PyThreadState* __tstate = wxPyBeginAllowThreads();
23916 (arg1)->base_OnDraw(*arg2);
23917
23918 wxPyEndAllowThreads(__tstate);
23919 if (PyErr_Occurred()) SWIG_fail;
23920 }
23921 Py_INCREF(Py_None); resultobj = Py_None;
23922 return resultobj;
23923 fail:
23924 return NULL;
23925}
23926
23927
c370783e 23928static PyObject *_wrap_PyDivisionShape_base_OnDrawContents(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
23929 PyObject *resultobj;
23930 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
23931 wxDC *arg2 = 0 ;
23932 PyObject * obj0 = 0 ;
23933 PyObject * obj1 = 0 ;
23934 char *kwnames[] = {
23935 (char *) "self",(char *) "dc", NULL
23936 };
23937
23938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23939 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDivisionShape, SWIG_POINTER_EXCEPTION | 0);
23940 if (SWIG_arg_fail(1)) SWIG_fail;
23941 {
23942 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
23943 if (SWIG_arg_fail(2)) SWIG_fail;
23944 if (arg2 == NULL) {
23945 SWIG_null_ref("wxDC");
23946 }
23947 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
23948 }
23949 {
23950 PyThreadState* __tstate = wxPyBeginAllowThreads();
23951 (arg1)->base_OnDrawContents(*arg2);
23952
23953 wxPyEndAllowThreads(__tstate);
23954 if (PyErr_Occurred()) SWIG_fail;
23955 }
23956 Py_INCREF(Py_None); resultobj = Py_None;
23957 return resultobj;
23958 fail:
23959 return NULL;
23960}
23961
23962
c370783e 23963static PyObject *_wrap_PyDivisionShape_base_OnDrawBranches(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
23964 PyObject *resultobj;
23965 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
23966 wxDC *arg2 = 0 ;
23967 bool arg3 = (bool) FALSE ;
23968 PyObject * obj0 = 0 ;
23969 PyObject * obj1 = 0 ;
23970 PyObject * obj2 = 0 ;
23971 char *kwnames[] = {
23972 (char *) "self",(char *) "dc",(char *) "erase", NULL
23973 };
23974
23975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDivisionShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
23976 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDivisionShape, SWIG_POINTER_EXCEPTION | 0);
23977 if (SWIG_arg_fail(1)) SWIG_fail;
23978 {
23979 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
23980 if (SWIG_arg_fail(2)) SWIG_fail;
23981 if (arg2 == NULL) {
23982 SWIG_null_ref("wxDC");
23983 }
23984 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
23985 }
23986 if (obj2) {
36ed4f51
RD
23987 {
23988 arg3 = (bool)(SWIG_As_bool(obj2));
23989 if (SWIG_arg_fail(3)) SWIG_fail;
23990 }
44127b65
RD
23991 }
23992 {
23993 PyThreadState* __tstate = wxPyBeginAllowThreads();
23994 (arg1)->base_OnDrawBranches(*arg2,arg3);
23995
23996 wxPyEndAllowThreads(__tstate);
23997 if (PyErr_Occurred()) SWIG_fail;
23998 }
23999 Py_INCREF(Py_None); resultobj = Py_None;
24000 return resultobj;
24001 fail:
24002 return NULL;
24003}
24004
24005
c370783e 24006static PyObject *_wrap_PyDivisionShape_base_OnMoveLinks(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
24007 PyObject *resultobj;
24008 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
24009 wxDC *arg2 = 0 ;
24010 PyObject * obj0 = 0 ;
24011 PyObject * obj1 = 0 ;
24012 char *kwnames[] = {
24013 (char *) "self",(char *) "dc", NULL
24014 };
24015
24016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDivisionShape, SWIG_POINTER_EXCEPTION | 0);
24018 if (SWIG_arg_fail(1)) SWIG_fail;
24019 {
24020 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
24021 if (SWIG_arg_fail(2)) SWIG_fail;
24022 if (arg2 == NULL) {
24023 SWIG_null_ref("wxDC");
24024 }
24025 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
24026 }
24027 {
24028 PyThreadState* __tstate = wxPyBeginAllowThreads();
24029 (arg1)->base_OnMoveLinks(*arg2);
24030
24031 wxPyEndAllowThreads(__tstate);
24032 if (PyErr_Occurred()) SWIG_fail;
24033 }
24034 Py_INCREF(Py_None); resultobj = Py_None;
24035 return resultobj;
24036 fail:
24037 return NULL;
24038}
24039
24040
c370783e 24041static PyObject *_wrap_PyDivisionShape_base_OnErase(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
24042 PyObject *resultobj;
24043 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
24044 wxDC *arg2 = 0 ;
24045 PyObject * obj0 = 0 ;
24046 PyObject * obj1 = 0 ;
24047 char *kwnames[] = {
24048 (char *) "self",(char *) "dc", NULL
24049 };
24050
24051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24052 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDivisionShape, SWIG_POINTER_EXCEPTION | 0);
24053 if (SWIG_arg_fail(1)) SWIG_fail;
24054 {
24055 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
24056 if (SWIG_arg_fail(2)) SWIG_fail;
24057 if (arg2 == NULL) {
24058 SWIG_null_ref("wxDC");
24059 }
24060 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
24061 }
24062 {
24063 PyThreadState* __tstate = wxPyBeginAllowThreads();
24064 (arg1)->base_OnErase(*arg2);
24065
24066 wxPyEndAllowThreads(__tstate);
24067 if (PyErr_Occurred()) SWIG_fail;
24068 }
24069 Py_INCREF(Py_None); resultobj = Py_None;
24070 return resultobj;
24071 fail:
24072 return NULL;
24073}
24074
24075
c370783e 24076static PyObject *_wrap_PyDivisionShape_base_OnEraseContents(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
24077 PyObject *resultobj;
24078 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
24079 wxDC *arg2 = 0 ;
24080 PyObject * obj0 = 0 ;
24081 PyObject * obj1 = 0 ;
24082 char *kwnames[] = {
24083 (char *) "self",(char *) "dc", NULL
24084 };
24085
24086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24087 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDivisionShape, SWIG_POINTER_EXCEPTION | 0);
24088 if (SWIG_arg_fail(1)) SWIG_fail;
24089 {
24090 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
24091 if (SWIG_arg_fail(2)) SWIG_fail;
24092 if (arg2 == NULL) {
24093 SWIG_null_ref("wxDC");
24094 }
24095 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
24096 }
24097 {
24098 PyThreadState* __tstate = wxPyBeginAllowThreads();
24099 (arg1)->base_OnEraseContents(*arg2);
24100
24101 wxPyEndAllowThreads(__tstate);
24102 if (PyErr_Occurred()) SWIG_fail;
24103 }
24104 Py_INCREF(Py_None); resultobj = Py_None;
24105 return resultobj;
24106 fail:
24107 return NULL;
24108}
24109
24110
c370783e 24111static PyObject *_wrap_PyDivisionShape_base_OnHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
24112 PyObject *resultobj;
24113 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
24114 wxDC *arg2 = 0 ;
24115 PyObject * obj0 = 0 ;
24116 PyObject * obj1 = 0 ;
24117 char *kwnames[] = {
24118 (char *) "self",(char *) "dc", NULL
24119 };
24120
24121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24122 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDivisionShape, SWIG_POINTER_EXCEPTION | 0);
24123 if (SWIG_arg_fail(1)) SWIG_fail;
24124 {
24125 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
24126 if (SWIG_arg_fail(2)) SWIG_fail;
24127 if (arg2 == NULL) {
24128 SWIG_null_ref("wxDC");
24129 }
24130 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
24131 }
24132 {
24133 PyThreadState* __tstate = wxPyBeginAllowThreads();
24134 (arg1)->base_OnHighlight(*arg2);
24135
24136 wxPyEndAllowThreads(__tstate);
24137 if (PyErr_Occurred()) SWIG_fail;
24138 }
24139 Py_INCREF(Py_None); resultobj = Py_None;
24140 return resultobj;
24141 fail:
24142 return NULL;
24143}
24144
24145
c370783e 24146static PyObject *_wrap_PyDivisionShape_base_OnLeftClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
24147 PyObject *resultobj;
24148 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
24149 double arg2 ;
24150 double arg3 ;
24151 int arg4 = (int) 0 ;
24152 int arg5 = (int) 0 ;
24153 PyObject * obj0 = 0 ;
8edf1c75
RD
24154 PyObject * obj1 = 0 ;
24155 PyObject * obj2 = 0 ;
24156 PyObject * obj3 = 0 ;
24157 PyObject * obj4 = 0 ;
44127b65
RD
24158 char *kwnames[] = {
24159 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24160 };
24161
8edf1c75 24162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
24163 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDivisionShape, SWIG_POINTER_EXCEPTION | 0);
24164 if (SWIG_arg_fail(1)) SWIG_fail;
24165 {
24166 arg2 = (double)(SWIG_As_double(obj1));
24167 if (SWIG_arg_fail(2)) SWIG_fail;
24168 }
24169 {
24170 arg3 = (double)(SWIG_As_double(obj2));
24171 if (SWIG_arg_fail(3)) SWIG_fail;
24172 }
8edf1c75 24173 if (obj3) {
36ed4f51
RD
24174 {
24175 arg4 = (int)(SWIG_As_int(obj3));
24176 if (SWIG_arg_fail(4)) SWIG_fail;
24177 }
8edf1c75
RD
24178 }
24179 if (obj4) {
36ed4f51
RD
24180 {
24181 arg5 = (int)(SWIG_As_int(obj4));
24182 if (SWIG_arg_fail(5)) SWIG_fail;
24183 }
8edf1c75 24184 }
44127b65
RD
24185 {
24186 PyThreadState* __tstate = wxPyBeginAllowThreads();
24187 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
24188
24189 wxPyEndAllowThreads(__tstate);
24190 if (PyErr_Occurred()) SWIG_fail;
24191 }
24192 Py_INCREF(Py_None); resultobj = Py_None;
24193 return resultobj;
24194 fail:
24195 return NULL;
24196}
24197
24198
c370783e 24199static PyObject *_wrap_PyDivisionShape_base_OnLeftDoubleClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
24200 PyObject *resultobj;
24201 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
24202 double arg2 ;
24203 double arg3 ;
24204 int arg4 = (int) 0 ;
24205 int arg5 = (int) 0 ;
24206 PyObject * obj0 = 0 ;
8edf1c75
RD
24207 PyObject * obj1 = 0 ;
24208 PyObject * obj2 = 0 ;
24209 PyObject * obj3 = 0 ;
24210 PyObject * obj4 = 0 ;
44127b65
RD
24211 char *kwnames[] = {
24212 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24213 };
24214
8edf1c75 24215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
24216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDivisionShape, SWIG_POINTER_EXCEPTION | 0);
24217 if (SWIG_arg_fail(1)) SWIG_fail;
24218 {
24219 arg2 = (double)(SWIG_As_double(obj1));
24220 if (SWIG_arg_fail(2)) SWIG_fail;
24221 }
24222 {
24223 arg3 = (double)(SWIG_As_double(obj2));
24224 if (SWIG_arg_fail(3)) SWIG_fail;
24225 }
8edf1c75 24226 if (obj3) {
36ed4f51
RD
24227 {
24228 arg4 = (int)(SWIG_As_int(obj3));
24229 if (SWIG_arg_fail(4)) SWIG_fail;
24230 }
8edf1c75
RD
24231 }
24232 if (obj4) {
36ed4f51
RD
24233 {
24234 arg5 = (int)(SWIG_As_int(obj4));
24235 if (SWIG_arg_fail(5)) SWIG_fail;
24236 }
8edf1c75 24237 }
44127b65
RD
24238 {
24239 PyThreadState* __tstate = wxPyBeginAllowThreads();
24240 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
24241
24242 wxPyEndAllowThreads(__tstate);
24243 if (PyErr_Occurred()) SWIG_fail;
24244 }
24245 Py_INCREF(Py_None); resultobj = Py_None;
24246 return resultobj;
24247 fail:
24248 return NULL;
24249}
24250
24251
c370783e 24252static PyObject *_wrap_PyDivisionShape_base_OnRightClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
24253 PyObject *resultobj;
24254 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
24255 double arg2 ;
24256 double arg3 ;
24257 int arg4 = (int) 0 ;
24258 int arg5 = (int) 0 ;
24259 PyObject * obj0 = 0 ;
8edf1c75
RD
24260 PyObject * obj1 = 0 ;
24261 PyObject * obj2 = 0 ;
24262 PyObject * obj3 = 0 ;
24263 PyObject * obj4 = 0 ;
44127b65
RD
24264 char *kwnames[] = {
24265 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24266 };
24267
8edf1c75 24268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
24269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDivisionShape, SWIG_POINTER_EXCEPTION | 0);
24270 if (SWIG_arg_fail(1)) SWIG_fail;
24271 {
24272 arg2 = (double)(SWIG_As_double(obj1));
24273 if (SWIG_arg_fail(2)) SWIG_fail;
24274 }
24275 {
24276 arg3 = (double)(SWIG_As_double(obj2));
24277 if (SWIG_arg_fail(3)) SWIG_fail;
24278 }
8edf1c75 24279 if (obj3) {
36ed4f51
RD
24280 {
24281 arg4 = (int)(SWIG_As_int(obj3));
24282 if (SWIG_arg_fail(4)) SWIG_fail;
24283 }
8edf1c75
RD
24284 }
24285 if (obj4) {
36ed4f51
RD
24286 {
24287 arg5 = (int)(SWIG_As_int(obj4));
24288 if (SWIG_arg_fail(5)) SWIG_fail;
24289 }
8edf1c75 24290 }
44127b65
RD
24291 {
24292 PyThreadState* __tstate = wxPyBeginAllowThreads();
24293 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
24294
24295 wxPyEndAllowThreads(__tstate);
24296 if (PyErr_Occurred()) SWIG_fail;
24297 }
24298 Py_INCREF(Py_None); resultobj = Py_None;
24299 return resultobj;
24300 fail:
24301 return NULL;
24302}
24303
24304
c370783e 24305static PyObject *_wrap_PyDivisionShape_base_OnSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
24306 PyObject *resultobj;
24307 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
24308 double arg2 ;
24309 double arg3 ;
24310 PyObject * obj0 = 0 ;
8edf1c75
RD
24311 PyObject * obj1 = 0 ;
24312 PyObject * obj2 = 0 ;
44127b65
RD
24313 char *kwnames[] = {
24314 (char *) "self",(char *) "x",(char *) "y", NULL
24315 };
24316
8edf1c75 24317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
24318 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDivisionShape, SWIG_POINTER_EXCEPTION | 0);
24319 if (SWIG_arg_fail(1)) SWIG_fail;
24320 {
24321 arg2 = (double)(SWIG_As_double(obj1));
24322 if (SWIG_arg_fail(2)) SWIG_fail;
24323 }
24324 {
24325 arg3 = (double)(SWIG_As_double(obj2));
24326 if (SWIG_arg_fail(3)) SWIG_fail;
24327 }
44127b65
RD
24328 {
24329 PyThreadState* __tstate = wxPyBeginAllowThreads();
24330 (arg1)->base_OnSize(arg2,arg3);
24331
24332 wxPyEndAllowThreads(__tstate);
24333 if (PyErr_Occurred()) SWIG_fail;
24334 }
24335 Py_INCREF(Py_None); resultobj = Py_None;
24336 return resultobj;
24337 fail:
24338 return NULL;
24339}
24340
24341
c370783e 24342static PyObject *_wrap_PyDivisionShape_base_OnMovePre(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
24343 PyObject *resultobj;
24344 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
24345 wxDC *arg2 = 0 ;
24346 double arg3 ;
24347 double arg4 ;
24348 double arg5 ;
24349 double arg6 ;
b411df4a 24350 bool arg7 = (bool) true ;
44127b65
RD
24351 bool result;
24352 PyObject * obj0 = 0 ;
24353 PyObject * obj1 = 0 ;
8edf1c75
RD
24354 PyObject * obj2 = 0 ;
24355 PyObject * obj3 = 0 ;
24356 PyObject * obj4 = 0 ;
24357 PyObject * obj5 = 0 ;
44127b65
RD
24358 PyObject * obj6 = 0 ;
24359 char *kwnames[] = {
24360 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
24361 };
24362
8edf1c75 24363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyDivisionShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
24364 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDivisionShape, SWIG_POINTER_EXCEPTION | 0);
24365 if (SWIG_arg_fail(1)) SWIG_fail;
24366 {
24367 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
24368 if (SWIG_arg_fail(2)) SWIG_fail;
24369 if (arg2 == NULL) {
24370 SWIG_null_ref("wxDC");
24371 }
24372 if (SWIG_arg_fail(2)) SWIG_fail;
24373 }
24374 {
24375 arg3 = (double)(SWIG_As_double(obj2));
24376 if (SWIG_arg_fail(3)) SWIG_fail;
24377 }
24378 {
24379 arg4 = (double)(SWIG_As_double(obj3));
24380 if (SWIG_arg_fail(4)) SWIG_fail;
24381 }
24382 {
24383 arg5 = (double)(SWIG_As_double(obj4));
24384 if (SWIG_arg_fail(5)) SWIG_fail;
24385 }
24386 {
24387 arg6 = (double)(SWIG_As_double(obj5));
24388 if (SWIG_arg_fail(6)) SWIG_fail;
24389 }
44127b65 24390 if (obj6) {
36ed4f51
RD
24391 {
24392 arg7 = (bool)(SWIG_As_bool(obj6));
24393 if (SWIG_arg_fail(7)) SWIG_fail;
24394 }
44127b65
RD
24395 }
24396 {
24397 PyThreadState* __tstate = wxPyBeginAllowThreads();
24398 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
24399
24400 wxPyEndAllowThreads(__tstate);
24401 if (PyErr_Occurred()) SWIG_fail;
24402 }
fbc46b20
RD
24403 {
24404 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24405 }
44127b65
RD
24406 return resultobj;
24407 fail:
24408 return NULL;
24409}
24410
24411
c370783e 24412static PyObject *_wrap_PyDivisionShape_base_OnMovePost(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
24413 PyObject *resultobj;
24414 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
24415 wxDC *arg2 = 0 ;
24416 double arg3 ;
24417 double arg4 ;
24418 double arg5 ;
24419 double arg6 ;
b411df4a 24420 bool arg7 = (bool) true ;
44127b65
RD
24421 PyObject * obj0 = 0 ;
24422 PyObject * obj1 = 0 ;
8edf1c75
RD
24423 PyObject * obj2 = 0 ;
24424 PyObject * obj3 = 0 ;
24425 PyObject * obj4 = 0 ;
24426 PyObject * obj5 = 0 ;
44127b65
RD
24427 PyObject * obj6 = 0 ;
24428 char *kwnames[] = {
24429 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
24430 };
24431
8edf1c75 24432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyDivisionShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
24433 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDivisionShape, SWIG_POINTER_EXCEPTION | 0);
24434 if (SWIG_arg_fail(1)) SWIG_fail;
24435 {
24436 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
24437 if (SWIG_arg_fail(2)) SWIG_fail;
24438 if (arg2 == NULL) {
24439 SWIG_null_ref("wxDC");
24440 }
24441 if (SWIG_arg_fail(2)) SWIG_fail;
24442 }
24443 {
24444 arg3 = (double)(SWIG_As_double(obj2));
24445 if (SWIG_arg_fail(3)) SWIG_fail;
24446 }
24447 {
24448 arg4 = (double)(SWIG_As_double(obj3));
24449 if (SWIG_arg_fail(4)) SWIG_fail;
24450 }
24451 {
24452 arg5 = (double)(SWIG_As_double(obj4));
24453 if (SWIG_arg_fail(5)) SWIG_fail;
24454 }
24455 {
24456 arg6 = (double)(SWIG_As_double(obj5));
24457 if (SWIG_arg_fail(6)) SWIG_fail;
24458 }
44127b65 24459 if (obj6) {
36ed4f51
RD
24460 {
24461 arg7 = (bool)(SWIG_As_bool(obj6));
24462 if (SWIG_arg_fail(7)) SWIG_fail;
24463 }
44127b65
RD
24464 }
24465 {
24466 PyThreadState* __tstate = wxPyBeginAllowThreads();
24467 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
24468
24469 wxPyEndAllowThreads(__tstate);
24470 if (PyErr_Occurred()) SWIG_fail;
24471 }
24472 Py_INCREF(Py_None); resultobj = Py_None;
24473 return resultobj;
24474 fail:
24475 return NULL;
24476}
24477
24478
c370783e 24479static PyObject *_wrap_PyDivisionShape_base_OnDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
24480 PyObject *resultobj;
24481 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
24482 bool arg2 ;
24483 double arg3 ;
24484 double arg4 ;
24485 int arg5 = (int) 0 ;
24486 int arg6 = (int) 0 ;
24487 PyObject * obj0 = 0 ;
24488 PyObject * obj1 = 0 ;
8edf1c75
RD
24489 PyObject * obj2 = 0 ;
24490 PyObject * obj3 = 0 ;
24491 PyObject * obj4 = 0 ;
24492 PyObject * obj5 = 0 ;
44127b65
RD
24493 char *kwnames[] = {
24494 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24495 };
24496
8edf1c75 24497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDivisionShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
24498 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDivisionShape, SWIG_POINTER_EXCEPTION | 0);
24499 if (SWIG_arg_fail(1)) SWIG_fail;
24500 {
24501 arg2 = (bool)(SWIG_As_bool(obj1));
24502 if (SWIG_arg_fail(2)) SWIG_fail;
24503 }
24504 {
24505 arg3 = (double)(SWIG_As_double(obj2));
24506 if (SWIG_arg_fail(3)) SWIG_fail;
24507 }
24508 {
24509 arg4 = (double)(SWIG_As_double(obj3));
24510 if (SWIG_arg_fail(4)) SWIG_fail;
24511 }
8edf1c75 24512 if (obj4) {
36ed4f51
RD
24513 {
24514 arg5 = (int)(SWIG_As_int(obj4));
24515 if (SWIG_arg_fail(5)) SWIG_fail;
24516 }
8edf1c75
RD
24517 }
24518 if (obj5) {
36ed4f51
RD
24519 {
24520 arg6 = (int)(SWIG_As_int(obj5));
24521 if (SWIG_arg_fail(6)) SWIG_fail;
24522 }
8edf1c75 24523 }
44127b65
RD
24524 {
24525 PyThreadState* __tstate = wxPyBeginAllowThreads();
24526 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
24527
24528 wxPyEndAllowThreads(__tstate);
24529 if (PyErr_Occurred()) SWIG_fail;
24530 }
24531 Py_INCREF(Py_None); resultobj = Py_None;
24532 return resultobj;
24533 fail:
24534 return NULL;
24535}
24536
24537
c370783e 24538static PyObject *_wrap_PyDivisionShape_base_OnBeginDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
24539 PyObject *resultobj;
24540 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
24541 double arg2 ;
24542 double arg3 ;
24543 int arg4 = (int) 0 ;
24544 int arg5 = (int) 0 ;
24545 PyObject * obj0 = 0 ;
8edf1c75
RD
24546 PyObject * obj1 = 0 ;
24547 PyObject * obj2 = 0 ;
24548 PyObject * obj3 = 0 ;
24549 PyObject * obj4 = 0 ;
44127b65
RD
24550 char *kwnames[] = {
24551 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24552 };
24553
8edf1c75 24554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
24555 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDivisionShape, SWIG_POINTER_EXCEPTION | 0);
24556 if (SWIG_arg_fail(1)) SWIG_fail;
24557 {
24558 arg2 = (double)(SWIG_As_double(obj1));
24559 if (SWIG_arg_fail(2)) SWIG_fail;
24560 }
24561 {
24562 arg3 = (double)(SWIG_As_double(obj2));
24563 if (SWIG_arg_fail(3)) SWIG_fail;
24564 }
8edf1c75 24565 if (obj3) {
36ed4f51
RD
24566 {
24567 arg4 = (int)(SWIG_As_int(obj3));
24568 if (SWIG_arg_fail(4)) SWIG_fail;
24569 }
8edf1c75
RD
24570 }
24571 if (obj4) {
36ed4f51
RD
24572 {
24573 arg5 = (int)(SWIG_As_int(obj4));
24574 if (SWIG_arg_fail(5)) SWIG_fail;
24575 }
8edf1c75 24576 }
44127b65
RD
24577 {
24578 PyThreadState* __tstate = wxPyBeginAllowThreads();
24579 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
24580
24581 wxPyEndAllowThreads(__tstate);
24582 if (PyErr_Occurred()) SWIG_fail;
24583 }
24584 Py_INCREF(Py_None); resultobj = Py_None;
24585 return resultobj;
24586 fail:
24587 return NULL;
24588}
24589
24590
c370783e 24591static PyObject *_wrap_PyDivisionShape_base_OnEndDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
24592 PyObject *resultobj;
24593 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
24594 double arg2 ;
24595 double arg3 ;
24596 int arg4 = (int) 0 ;
24597 int arg5 = (int) 0 ;
24598 PyObject * obj0 = 0 ;
8edf1c75
RD
24599 PyObject * obj1 = 0 ;
24600 PyObject * obj2 = 0 ;
24601 PyObject * obj3 = 0 ;
24602 PyObject * obj4 = 0 ;
44127b65
RD
24603 char *kwnames[] = {
24604 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24605 };
24606
8edf1c75 24607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
24608 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDivisionShape, SWIG_POINTER_EXCEPTION | 0);
24609 if (SWIG_arg_fail(1)) SWIG_fail;
24610 {
24611 arg2 = (double)(SWIG_As_double(obj1));
24612 if (SWIG_arg_fail(2)) SWIG_fail;
24613 }
24614 {
24615 arg3 = (double)(SWIG_As_double(obj2));
24616 if (SWIG_arg_fail(3)) SWIG_fail;
24617 }
8edf1c75 24618 if (obj3) {
36ed4f51
RD
24619 {
24620 arg4 = (int)(SWIG_As_int(obj3));
24621 if (SWIG_arg_fail(4)) SWIG_fail;
24622 }
8edf1c75
RD
24623 }
24624 if (obj4) {
36ed4f51
RD
24625 {
24626 arg5 = (int)(SWIG_As_int(obj4));
24627 if (SWIG_arg_fail(5)) SWIG_fail;
24628 }
8edf1c75 24629 }
44127b65
RD
24630 {
24631 PyThreadState* __tstate = wxPyBeginAllowThreads();
24632 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
24633
24634 wxPyEndAllowThreads(__tstate);
24635 if (PyErr_Occurred()) SWIG_fail;
24636 }
24637 Py_INCREF(Py_None); resultobj = Py_None;
24638 return resultobj;
24639 fail:
24640 return NULL;
24641}
24642
24643
c370783e 24644static PyObject *_wrap_PyDivisionShape_base_OnDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
24645 PyObject *resultobj;
24646 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
24647 bool arg2 ;
24648 double arg3 ;
24649 double arg4 ;
24650 int arg5 = (int) 0 ;
24651 int arg6 = (int) 0 ;
24652 PyObject * obj0 = 0 ;
24653 PyObject * obj1 = 0 ;
8edf1c75
RD
24654 PyObject * obj2 = 0 ;
24655 PyObject * obj3 = 0 ;
24656 PyObject * obj4 = 0 ;
24657 PyObject * obj5 = 0 ;
44127b65
RD
24658 char *kwnames[] = {
24659 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24660 };
24661
8edf1c75 24662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDivisionShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
24663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDivisionShape, SWIG_POINTER_EXCEPTION | 0);
24664 if (SWIG_arg_fail(1)) SWIG_fail;
24665 {
24666 arg2 = (bool)(SWIG_As_bool(obj1));
24667 if (SWIG_arg_fail(2)) SWIG_fail;
24668 }
24669 {
24670 arg3 = (double)(SWIG_As_double(obj2));
24671 if (SWIG_arg_fail(3)) SWIG_fail;
24672 }
24673 {
24674 arg4 = (double)(SWIG_As_double(obj3));
24675 if (SWIG_arg_fail(4)) SWIG_fail;
24676 }
8edf1c75 24677 if (obj4) {
36ed4f51
RD
24678 {
24679 arg5 = (int)(SWIG_As_int(obj4));
24680 if (SWIG_arg_fail(5)) SWIG_fail;
24681 }
8edf1c75
RD
24682 }
24683 if (obj5) {
36ed4f51
RD
24684 {
24685 arg6 = (int)(SWIG_As_int(obj5));
24686 if (SWIG_arg_fail(6)) SWIG_fail;
24687 }
8edf1c75 24688 }
44127b65
RD
24689 {
24690 PyThreadState* __tstate = wxPyBeginAllowThreads();
24691 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
24692
24693 wxPyEndAllowThreads(__tstate);
24694 if (PyErr_Occurred()) SWIG_fail;
24695 }
24696 Py_INCREF(Py_None); resultobj = Py_None;
24697 return resultobj;
24698 fail:
24699 return NULL;
24700}
24701
24702
c370783e 24703static PyObject *_wrap_PyDivisionShape_base_OnBeginDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
24704 PyObject *resultobj;
24705 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
24706 double arg2 ;
24707 double arg3 ;
24708 int arg4 = (int) 0 ;
24709 int arg5 = (int) 0 ;
24710 PyObject * obj0 = 0 ;
8edf1c75
RD
24711 PyObject * obj1 = 0 ;
24712 PyObject * obj2 = 0 ;
24713 PyObject * obj3 = 0 ;
24714 PyObject * obj4 = 0 ;
44127b65
RD
24715 char *kwnames[] = {
24716 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24717 };
24718
8edf1c75 24719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
24720 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDivisionShape, SWIG_POINTER_EXCEPTION | 0);
24721 if (SWIG_arg_fail(1)) SWIG_fail;
24722 {
24723 arg2 = (double)(SWIG_As_double(obj1));
24724 if (SWIG_arg_fail(2)) SWIG_fail;
24725 }
24726 {
24727 arg3 = (double)(SWIG_As_double(obj2));
24728 if (SWIG_arg_fail(3)) SWIG_fail;
24729 }
8edf1c75 24730 if (obj3) {
36ed4f51
RD
24731 {
24732 arg4 = (int)(SWIG_As_int(obj3));
24733 if (SWIG_arg_fail(4)) SWIG_fail;
24734 }
8edf1c75
RD
24735 }
24736 if (obj4) {
36ed4f51
RD
24737 {
24738 arg5 = (int)(SWIG_As_int(obj4));
24739 if (SWIG_arg_fail(5)) SWIG_fail;
24740 }
8edf1c75 24741 }
44127b65
RD
24742 {
24743 PyThreadState* __tstate = wxPyBeginAllowThreads();
24744 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
24745
24746 wxPyEndAllowThreads(__tstate);
24747 if (PyErr_Occurred()) SWIG_fail;
24748 }
24749 Py_INCREF(Py_None); resultobj = Py_None;
24750 return resultobj;
24751 fail:
24752 return NULL;
24753}
24754
24755
c370783e 24756static PyObject *_wrap_PyDivisionShape_base_OnEndDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
24757 PyObject *resultobj;
24758 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
24759 double arg2 ;
24760 double arg3 ;
24761 int arg4 = (int) 0 ;
24762 int arg5 = (int) 0 ;
24763 PyObject * obj0 = 0 ;
8edf1c75
RD
24764 PyObject * obj1 = 0 ;
24765 PyObject * obj2 = 0 ;
24766 PyObject * obj3 = 0 ;
24767 PyObject * obj4 = 0 ;
44127b65
RD
24768 char *kwnames[] = {
24769 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24770 };
24771
8edf1c75 24772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyDivisionShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
24773 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDivisionShape, SWIG_POINTER_EXCEPTION | 0);
24774 if (SWIG_arg_fail(1)) SWIG_fail;
24775 {
24776 arg2 = (double)(SWIG_As_double(obj1));
24777 if (SWIG_arg_fail(2)) SWIG_fail;
24778 }
24779 {
24780 arg3 = (double)(SWIG_As_double(obj2));
24781 if (SWIG_arg_fail(3)) SWIG_fail;
24782 }
8edf1c75 24783 if (obj3) {
36ed4f51
RD
24784 {
24785 arg4 = (int)(SWIG_As_int(obj3));
24786 if (SWIG_arg_fail(4)) SWIG_fail;
24787 }
8edf1c75
RD
24788 }
24789 if (obj4) {
36ed4f51
RD
24790 {
24791 arg5 = (int)(SWIG_As_int(obj4));
24792 if (SWIG_arg_fail(5)) SWIG_fail;
24793 }
8edf1c75 24794 }
44127b65
RD
24795 {
24796 PyThreadState* __tstate = wxPyBeginAllowThreads();
24797 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
24798
24799 wxPyEndAllowThreads(__tstate);
24800 if (PyErr_Occurred()) SWIG_fail;
24801 }
24802 Py_INCREF(Py_None); resultobj = Py_None;
24803 return resultobj;
24804 fail:
24805 return NULL;
24806}
24807
24808
c370783e 24809static PyObject *_wrap_PyDivisionShape_base_OnDrawOutline(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
24810 PyObject *resultobj;
24811 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
24812 wxDC *arg2 = 0 ;
24813 double arg3 ;
24814 double arg4 ;
24815 double arg5 ;
24816 double arg6 ;
24817 PyObject * obj0 = 0 ;
24818 PyObject * obj1 = 0 ;
8edf1c75
RD
24819 PyObject * obj2 = 0 ;
24820 PyObject * obj3 = 0 ;
24821 PyObject * obj4 = 0 ;
24822 PyObject * obj5 = 0 ;
44127b65
RD
24823 char *kwnames[] = {
24824 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
24825 };
24826
8edf1c75 24827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyDivisionShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
24828 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDivisionShape, SWIG_POINTER_EXCEPTION | 0);
24829 if (SWIG_arg_fail(1)) SWIG_fail;
24830 {
24831 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
24832 if (SWIG_arg_fail(2)) SWIG_fail;
24833 if (arg2 == NULL) {
24834 SWIG_null_ref("wxDC");
24835 }
24836 if (SWIG_arg_fail(2)) SWIG_fail;
24837 }
24838 {
24839 arg3 = (double)(SWIG_As_double(obj2));
24840 if (SWIG_arg_fail(3)) SWIG_fail;
24841 }
24842 {
24843 arg4 = (double)(SWIG_As_double(obj3));
24844 if (SWIG_arg_fail(4)) SWIG_fail;
24845 }
24846 {
24847 arg5 = (double)(SWIG_As_double(obj4));
24848 if (SWIG_arg_fail(5)) SWIG_fail;
24849 }
24850 {
24851 arg6 = (double)(SWIG_As_double(obj5));
24852 if (SWIG_arg_fail(6)) SWIG_fail;
24853 }
44127b65
RD
24854 {
24855 PyThreadState* __tstate = wxPyBeginAllowThreads();
24856 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
24857
24858 wxPyEndAllowThreads(__tstate);
24859 if (PyErr_Occurred()) SWIG_fail;
24860 }
24861 Py_INCREF(Py_None); resultobj = Py_None;
24862 return resultobj;
24863 fail:
24864 return NULL;
24865}
24866
24867
c370783e 24868static PyObject *_wrap_PyDivisionShape_base_OnDrawControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
24869 PyObject *resultobj;
24870 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
24871 wxDC *arg2 = 0 ;
24872 PyObject * obj0 = 0 ;
24873 PyObject * obj1 = 0 ;
24874 char *kwnames[] = {
24875 (char *) "self",(char *) "dc", NULL
24876 };
24877
24878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24879 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDivisionShape, SWIG_POINTER_EXCEPTION | 0);
24880 if (SWIG_arg_fail(1)) SWIG_fail;
24881 {
24882 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
24883 if (SWIG_arg_fail(2)) SWIG_fail;
24884 if (arg2 == NULL) {
24885 SWIG_null_ref("wxDC");
24886 }
24887 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
24888 }
24889 {
24890 PyThreadState* __tstate = wxPyBeginAllowThreads();
24891 (arg1)->base_OnDrawControlPoints(*arg2);
24892
24893 wxPyEndAllowThreads(__tstate);
24894 if (PyErr_Occurred()) SWIG_fail;
24895 }
24896 Py_INCREF(Py_None); resultobj = Py_None;
24897 return resultobj;
24898 fail:
24899 return NULL;
24900}
24901
24902
c370783e 24903static PyObject *_wrap_PyDivisionShape_base_OnEraseControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
24904 PyObject *resultobj;
24905 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
24906 wxDC *arg2 = 0 ;
24907 PyObject * obj0 = 0 ;
24908 PyObject * obj1 = 0 ;
24909 char *kwnames[] = {
24910 (char *) "self",(char *) "dc", NULL
24911 };
24912
24913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyDivisionShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24914 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDivisionShape, SWIG_POINTER_EXCEPTION | 0);
24915 if (SWIG_arg_fail(1)) SWIG_fail;
24916 {
24917 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
24918 if (SWIG_arg_fail(2)) SWIG_fail;
24919 if (arg2 == NULL) {
24920 SWIG_null_ref("wxDC");
24921 }
24922 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
24923 }
24924 {
24925 PyThreadState* __tstate = wxPyBeginAllowThreads();
24926 (arg1)->base_OnEraseControlPoints(*arg2);
24927
24928 wxPyEndAllowThreads(__tstate);
24929 if (PyErr_Occurred()) SWIG_fail;
24930 }
24931 Py_INCREF(Py_None); resultobj = Py_None;
24932 return resultobj;
24933 fail:
24934 return NULL;
24935}
24936
24937
c370783e 24938static PyObject *_wrap_PyDivisionShape_base_OnMoveLink(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
24939 PyObject *resultobj;
24940 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
24941 wxDC *arg2 = 0 ;
b411df4a 24942 bool arg3 = (bool) true ;
44127b65
RD
24943 PyObject * obj0 = 0 ;
24944 PyObject * obj1 = 0 ;
24945 PyObject * obj2 = 0 ;
24946 char *kwnames[] = {
24947 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
24948 };
24949
24950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyDivisionShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
24951 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDivisionShape, SWIG_POINTER_EXCEPTION | 0);
24952 if (SWIG_arg_fail(1)) SWIG_fail;
24953 {
24954 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
24955 if (SWIG_arg_fail(2)) SWIG_fail;
24956 if (arg2 == NULL) {
24957 SWIG_null_ref("wxDC");
24958 }
24959 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
24960 }
24961 if (obj2) {
36ed4f51
RD
24962 {
24963 arg3 = (bool)(SWIG_As_bool(obj2));
24964 if (SWIG_arg_fail(3)) SWIG_fail;
24965 }
44127b65
RD
24966 }
24967 {
24968 PyThreadState* __tstate = wxPyBeginAllowThreads();
24969 (arg1)->base_OnMoveLink(*arg2,arg3);
24970
24971 wxPyEndAllowThreads(__tstate);
24972 if (PyErr_Occurred()) SWIG_fail;
24973 }
24974 Py_INCREF(Py_None); resultobj = Py_None;
24975 return resultobj;
24976 fail:
24977 return NULL;
24978}
24979
24980
c370783e 24981static PyObject *_wrap_PyDivisionShape_base_OnSizingDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
24982 PyObject *resultobj;
24983 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
24984 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
24985 bool arg3 ;
24986 double arg4 ;
24987 double arg5 ;
24988 int arg6 = (int) 0 ;
24989 int arg7 = (int) 0 ;
24990 PyObject * obj0 = 0 ;
24991 PyObject * obj1 = 0 ;
24992 PyObject * obj2 = 0 ;
8edf1c75
RD
24993 PyObject * obj3 = 0 ;
24994 PyObject * obj4 = 0 ;
24995 PyObject * obj5 = 0 ;
24996 PyObject * obj6 = 0 ;
44127b65
RD
24997 char *kwnames[] = {
24998 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
24999 };
25000
8edf1c75 25001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyDivisionShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
25002 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDivisionShape, SWIG_POINTER_EXCEPTION | 0);
25003 if (SWIG_arg_fail(1)) SWIG_fail;
25004 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
25005 if (SWIG_arg_fail(2)) SWIG_fail;
25006 {
25007 arg3 = (bool)(SWIG_As_bool(obj2));
25008 if (SWIG_arg_fail(3)) SWIG_fail;
25009 }
25010 {
25011 arg4 = (double)(SWIG_As_double(obj3));
25012 if (SWIG_arg_fail(4)) SWIG_fail;
25013 }
25014 {
25015 arg5 = (double)(SWIG_As_double(obj4));
25016 if (SWIG_arg_fail(5)) SWIG_fail;
25017 }
8edf1c75 25018 if (obj5) {
36ed4f51
RD
25019 {
25020 arg6 = (int)(SWIG_As_int(obj5));
25021 if (SWIG_arg_fail(6)) SWIG_fail;
25022 }
8edf1c75
RD
25023 }
25024 if (obj6) {
36ed4f51
RD
25025 {
25026 arg7 = (int)(SWIG_As_int(obj6));
25027 if (SWIG_arg_fail(7)) SWIG_fail;
25028 }
8edf1c75 25029 }
44127b65
RD
25030 {
25031 PyThreadState* __tstate = wxPyBeginAllowThreads();
25032 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
25033
25034 wxPyEndAllowThreads(__tstate);
25035 if (PyErr_Occurred()) SWIG_fail;
25036 }
25037 Py_INCREF(Py_None); resultobj = Py_None;
25038 return resultobj;
25039 fail:
25040 return NULL;
25041}
25042
25043
c370783e 25044static PyObject *_wrap_PyDivisionShape_base_OnSizingBeginDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
25045 PyObject *resultobj;
25046 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
25047 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
25048 double arg3 ;
25049 double arg4 ;
25050 int arg5 = (int) 0 ;
25051 int arg6 = (int) 0 ;
25052 PyObject * obj0 = 0 ;
25053 PyObject * obj1 = 0 ;
8edf1c75
RD
25054 PyObject * obj2 = 0 ;
25055 PyObject * obj3 = 0 ;
25056 PyObject * obj4 = 0 ;
25057 PyObject * obj5 = 0 ;
44127b65
RD
25058 char *kwnames[] = {
25059 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
25060 };
25061
8edf1c75 25062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDivisionShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
25063 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDivisionShape, SWIG_POINTER_EXCEPTION | 0);
25064 if (SWIG_arg_fail(1)) SWIG_fail;
25065 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
25066 if (SWIG_arg_fail(2)) SWIG_fail;
25067 {
25068 arg3 = (double)(SWIG_As_double(obj2));
25069 if (SWIG_arg_fail(3)) SWIG_fail;
25070 }
25071 {
25072 arg4 = (double)(SWIG_As_double(obj3));
25073 if (SWIG_arg_fail(4)) SWIG_fail;
25074 }
2f4c0a16 25075 if (obj4) {
36ed4f51
RD
25076 {
25077 arg5 = (int)(SWIG_As_int(obj4));
25078 if (SWIG_arg_fail(5)) SWIG_fail;
25079 }
8edf1c75 25080 }
2f4c0a16 25081 if (obj5) {
36ed4f51
RD
25082 {
25083 arg6 = (int)(SWIG_As_int(obj5));
25084 if (SWIG_arg_fail(6)) SWIG_fail;
25085 }
8edf1c75 25086 }
44127b65
RD
25087 {
25088 PyThreadState* __tstate = wxPyBeginAllowThreads();
25089 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
25090
25091 wxPyEndAllowThreads(__tstate);
25092 if (PyErr_Occurred()) SWIG_fail;
25093 }
25094 Py_INCREF(Py_None); resultobj = Py_None;
25095 return resultobj;
25096 fail:
25097 return NULL;
25098}
25099
25100
c370783e 25101static PyObject *_wrap_PyDivisionShape_base_OnSizingEndDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
25102 PyObject *resultobj;
25103 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
25104 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
25105 double arg3 ;
25106 double arg4 ;
25107 int arg5 = (int) 0 ;
25108 int arg6 = (int) 0 ;
25109 PyObject * obj0 = 0 ;
25110 PyObject * obj1 = 0 ;
8edf1c75
RD
25111 PyObject * obj2 = 0 ;
25112 PyObject * obj3 = 0 ;
25113 PyObject * obj4 = 0 ;
25114 PyObject * obj5 = 0 ;
44127b65
RD
25115 char *kwnames[] = {
25116 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
25117 };
25118
8edf1c75 25119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyDivisionShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
25120 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDivisionShape, SWIG_POINTER_EXCEPTION | 0);
25121 if (SWIG_arg_fail(1)) SWIG_fail;
25122 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
25123 if (SWIG_arg_fail(2)) SWIG_fail;
25124 {
25125 arg3 = (double)(SWIG_As_double(obj2));
25126 if (SWIG_arg_fail(3)) SWIG_fail;
25127 }
25128 {
25129 arg4 = (double)(SWIG_As_double(obj3));
25130 if (SWIG_arg_fail(4)) SWIG_fail;
25131 }
8edf1c75 25132 if (obj4) {
36ed4f51
RD
25133 {
25134 arg5 = (int)(SWIG_As_int(obj4));
25135 if (SWIG_arg_fail(5)) SWIG_fail;
25136 }
8edf1c75
RD
25137 }
25138 if (obj5) {
36ed4f51
RD
25139 {
25140 arg6 = (int)(SWIG_As_int(obj5));
25141 if (SWIG_arg_fail(6)) SWIG_fail;
25142 }
8edf1c75 25143 }
44127b65
RD
25144 {
25145 PyThreadState* __tstate = wxPyBeginAllowThreads();
25146 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
25147
25148 wxPyEndAllowThreads(__tstate);
25149 if (PyErr_Occurred()) SWIG_fail;
25150 }
25151 Py_INCREF(Py_None); resultobj = Py_None;
25152 return resultobj;
25153 fail:
25154 return NULL;
25155}
25156
25157
c370783e 25158static PyObject *_wrap_PyDivisionShape_base_OnBeginSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
25159 PyObject *resultobj;
25160 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
25161 double arg2 ;
25162 double arg3 ;
25163 PyObject * obj0 = 0 ;
8edf1c75
RD
25164 PyObject * obj1 = 0 ;
25165 PyObject * obj2 = 0 ;
44127b65
RD
25166 char *kwnames[] = {
25167 (char *) "self",(char *) "w",(char *) "h", NULL
25168 };
25169
8edf1c75 25170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
25171 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDivisionShape, SWIG_POINTER_EXCEPTION | 0);
25172 if (SWIG_arg_fail(1)) SWIG_fail;
25173 {
25174 arg2 = (double)(SWIG_As_double(obj1));
25175 if (SWIG_arg_fail(2)) SWIG_fail;
25176 }
25177 {
25178 arg3 = (double)(SWIG_As_double(obj2));
25179 if (SWIG_arg_fail(3)) SWIG_fail;
25180 }
44127b65
RD
25181 {
25182 PyThreadState* __tstate = wxPyBeginAllowThreads();
25183 (arg1)->base_OnBeginSize(arg2,arg3);
25184
25185 wxPyEndAllowThreads(__tstate);
25186 if (PyErr_Occurred()) SWIG_fail;
25187 }
25188 Py_INCREF(Py_None); resultobj = Py_None;
25189 return resultobj;
25190 fail:
25191 return NULL;
25192}
25193
25194
c370783e 25195static PyObject *_wrap_PyDivisionShape_base_OnEndSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
25196 PyObject *resultobj;
25197 wxPyDivisionShape *arg1 = (wxPyDivisionShape *) 0 ;
25198 double arg2 ;
25199 double arg3 ;
25200 PyObject * obj0 = 0 ;
8edf1c75
RD
25201 PyObject * obj1 = 0 ;
25202 PyObject * obj2 = 0 ;
44127b65
RD
25203 char *kwnames[] = {
25204 (char *) "self",(char *) "w",(char *) "h", NULL
25205 };
25206
8edf1c75 25207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDivisionShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
25208 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDivisionShape, SWIG_POINTER_EXCEPTION | 0);
25209 if (SWIG_arg_fail(1)) SWIG_fail;
25210 {
25211 arg2 = (double)(SWIG_As_double(obj1));
25212 if (SWIG_arg_fail(2)) SWIG_fail;
25213 }
25214 {
25215 arg3 = (double)(SWIG_As_double(obj2));
25216 if (SWIG_arg_fail(3)) SWIG_fail;
25217 }
44127b65
RD
25218 {
25219 PyThreadState* __tstate = wxPyBeginAllowThreads();
25220 (arg1)->base_OnEndSize(arg2,arg3);
25221
25222 wxPyEndAllowThreads(__tstate);
25223 if (PyErr_Occurred()) SWIG_fail;
25224 }
25225 Py_INCREF(Py_None); resultobj = Py_None;
25226 return resultobj;
25227 fail:
25228 return NULL;
25229}
25230
25231
c370783e 25232static PyObject * PyDivisionShape_swigregister(PyObject *, PyObject *args) {
44127b65
RD
25233 PyObject *obj;
25234 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25235 SWIG_TypeClientData(SWIGTYPE_p_wxPyDivisionShape, obj);
25236 Py_INCREF(obj);
25237 return Py_BuildValue((char *)"");
25238}
c370783e 25239static PyObject *_wrap_new_PyEllipseShape(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
25240 PyObject *resultobj;
25241 double arg1 = (double) 0.0 ;
25242 double arg2 = (double) 0.0 ;
25243 wxPyEllipseShape *result;
8edf1c75
RD
25244 PyObject * obj0 = 0 ;
25245 PyObject * obj1 = 0 ;
44127b65
RD
25246 char *kwnames[] = {
25247 (char *) "width",(char *) "height", NULL
25248 };
25249
8edf1c75
RD
25250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyEllipseShape",kwnames,&obj0,&obj1)) goto fail;
25251 if (obj0) {
36ed4f51
RD
25252 {
25253 arg1 = (double)(SWIG_As_double(obj0));
25254 if (SWIG_arg_fail(1)) SWIG_fail;
25255 }
8edf1c75
RD
25256 }
25257 if (obj1) {
36ed4f51
RD
25258 {
25259 arg2 = (double)(SWIG_As_double(obj1));
25260 if (SWIG_arg_fail(2)) SWIG_fail;
25261 }
8edf1c75 25262 }
44127b65
RD
25263 {
25264 PyThreadState* __tstate = wxPyBeginAllowThreads();
25265 result = (wxPyEllipseShape *)new wxPyEllipseShape(arg1,arg2);
25266
25267 wxPyEndAllowThreads(__tstate);
25268 if (PyErr_Occurred()) SWIG_fail;
25269 }
2f4c0a16 25270 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyEllipseShape, 1);
44127b65
RD
25271 return resultobj;
25272 fail:
25273 return NULL;
25274}
25275
25276
c370783e 25277static PyObject *_wrap_PyEllipseShape__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
25278 PyObject *resultobj;
25279 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
25280 PyObject *arg2 = (PyObject *) 0 ;
25281 PyObject *arg3 = (PyObject *) 0 ;
25282 PyObject * obj0 = 0 ;
25283 PyObject * obj1 = 0 ;
25284 PyObject * obj2 = 0 ;
25285 char *kwnames[] = {
25286 (char *) "self",(char *) "self",(char *) "_class", NULL
25287 };
25288
25289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyEllipseShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
25290 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyEllipseShape, SWIG_POINTER_EXCEPTION | 0);
25291 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
25292 arg2 = obj1;
25293 arg3 = obj2;
25294 {
25295 PyThreadState* __tstate = wxPyBeginAllowThreads();
25296 (arg1)->_setCallbackInfo(arg2,arg3);
25297
25298 wxPyEndAllowThreads(__tstate);
25299 if (PyErr_Occurred()) SWIG_fail;
25300 }
25301 Py_INCREF(Py_None); resultobj = Py_None;
25302 return resultobj;
25303 fail:
25304 return NULL;
25305}
25306
25307
c370783e 25308static PyObject *_wrap_PyEllipseShape_base_OnDraw(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
25309 PyObject *resultobj;
25310 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
25311 wxDC *arg2 = 0 ;
25312 PyObject * obj0 = 0 ;
25313 PyObject * obj1 = 0 ;
25314 char *kwnames[] = {
25315 (char *) "self",(char *) "dc", NULL
25316 };
25317
25318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25319 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyEllipseShape, SWIG_POINTER_EXCEPTION | 0);
25320 if (SWIG_arg_fail(1)) SWIG_fail;
25321 {
25322 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
25323 if (SWIG_arg_fail(2)) SWIG_fail;
25324 if (arg2 == NULL) {
25325 SWIG_null_ref("wxDC");
25326 }
25327 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
25328 }
25329 {
25330 PyThreadState* __tstate = wxPyBeginAllowThreads();
25331 (arg1)->base_OnDraw(*arg2);
25332
25333 wxPyEndAllowThreads(__tstate);
25334 if (PyErr_Occurred()) SWIG_fail;
25335 }
25336 Py_INCREF(Py_None); resultobj = Py_None;
25337 return resultobj;
25338 fail:
25339 return NULL;
25340}
25341
25342
c370783e 25343static PyObject *_wrap_PyEllipseShape_base_OnDrawContents(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
25344 PyObject *resultobj;
25345 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
25346 wxDC *arg2 = 0 ;
25347 PyObject * obj0 = 0 ;
25348 PyObject * obj1 = 0 ;
25349 char *kwnames[] = {
25350 (char *) "self",(char *) "dc", NULL
25351 };
25352
25353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25354 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyEllipseShape, SWIG_POINTER_EXCEPTION | 0);
25355 if (SWIG_arg_fail(1)) SWIG_fail;
25356 {
25357 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
25358 if (SWIG_arg_fail(2)) SWIG_fail;
25359 if (arg2 == NULL) {
25360 SWIG_null_ref("wxDC");
25361 }
25362 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
25363 }
25364 {
25365 PyThreadState* __tstate = wxPyBeginAllowThreads();
25366 (arg1)->base_OnDrawContents(*arg2);
25367
25368 wxPyEndAllowThreads(__tstate);
25369 if (PyErr_Occurred()) SWIG_fail;
25370 }
25371 Py_INCREF(Py_None); resultobj = Py_None;
25372 return resultobj;
25373 fail:
25374 return NULL;
25375}
25376
25377
c370783e 25378static PyObject *_wrap_PyEllipseShape_base_OnDrawBranches(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
25379 PyObject *resultobj;
25380 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
25381 wxDC *arg2 = 0 ;
25382 bool arg3 = (bool) FALSE ;
25383 PyObject * obj0 = 0 ;
25384 PyObject * obj1 = 0 ;
25385 PyObject * obj2 = 0 ;
25386 char *kwnames[] = {
25387 (char *) "self",(char *) "dc",(char *) "erase", NULL
25388 };
25389
25390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyEllipseShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
25391 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyEllipseShape, SWIG_POINTER_EXCEPTION | 0);
25392 if (SWIG_arg_fail(1)) SWIG_fail;
25393 {
25394 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
25395 if (SWIG_arg_fail(2)) SWIG_fail;
25396 if (arg2 == NULL) {
25397 SWIG_null_ref("wxDC");
25398 }
25399 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
25400 }
25401 if (obj2) {
36ed4f51
RD
25402 {
25403 arg3 = (bool)(SWIG_As_bool(obj2));
25404 if (SWIG_arg_fail(3)) SWIG_fail;
25405 }
44127b65
RD
25406 }
25407 {
25408 PyThreadState* __tstate = wxPyBeginAllowThreads();
25409 (arg1)->base_OnDrawBranches(*arg2,arg3);
25410
25411 wxPyEndAllowThreads(__tstate);
25412 if (PyErr_Occurred()) SWIG_fail;
25413 }
25414 Py_INCREF(Py_None); resultobj = Py_None;
25415 return resultobj;
25416 fail:
25417 return NULL;
25418}
25419
25420
c370783e 25421static PyObject *_wrap_PyEllipseShape_base_OnMoveLinks(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
25422 PyObject *resultobj;
25423 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
25424 wxDC *arg2 = 0 ;
25425 PyObject * obj0 = 0 ;
25426 PyObject * obj1 = 0 ;
25427 char *kwnames[] = {
25428 (char *) "self",(char *) "dc", NULL
25429 };
25430
25431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25432 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyEllipseShape, SWIG_POINTER_EXCEPTION | 0);
25433 if (SWIG_arg_fail(1)) SWIG_fail;
25434 {
25435 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
25436 if (SWIG_arg_fail(2)) SWIG_fail;
25437 if (arg2 == NULL) {
25438 SWIG_null_ref("wxDC");
25439 }
25440 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
25441 }
25442 {
25443 PyThreadState* __tstate = wxPyBeginAllowThreads();
25444 (arg1)->base_OnMoveLinks(*arg2);
25445
25446 wxPyEndAllowThreads(__tstate);
25447 if (PyErr_Occurred()) SWIG_fail;
25448 }
25449 Py_INCREF(Py_None); resultobj = Py_None;
25450 return resultobj;
25451 fail:
25452 return NULL;
25453}
25454
25455
c370783e 25456static PyObject *_wrap_PyEllipseShape_base_OnErase(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
25457 PyObject *resultobj;
25458 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
25459 wxDC *arg2 = 0 ;
25460 PyObject * obj0 = 0 ;
25461 PyObject * obj1 = 0 ;
25462 char *kwnames[] = {
25463 (char *) "self",(char *) "dc", NULL
25464 };
25465
25466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25467 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyEllipseShape, SWIG_POINTER_EXCEPTION | 0);
25468 if (SWIG_arg_fail(1)) SWIG_fail;
25469 {
25470 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
25471 if (SWIG_arg_fail(2)) SWIG_fail;
25472 if (arg2 == NULL) {
25473 SWIG_null_ref("wxDC");
25474 }
25475 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
25476 }
25477 {
25478 PyThreadState* __tstate = wxPyBeginAllowThreads();
25479 (arg1)->base_OnErase(*arg2);
25480
25481 wxPyEndAllowThreads(__tstate);
25482 if (PyErr_Occurred()) SWIG_fail;
25483 }
25484 Py_INCREF(Py_None); resultobj = Py_None;
25485 return resultobj;
25486 fail:
25487 return NULL;
25488}
25489
25490
c370783e 25491static PyObject *_wrap_PyEllipseShape_base_OnEraseContents(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
25492 PyObject *resultobj;
25493 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
25494 wxDC *arg2 = 0 ;
25495 PyObject * obj0 = 0 ;
25496 PyObject * obj1 = 0 ;
25497 char *kwnames[] = {
25498 (char *) "self",(char *) "dc", NULL
25499 };
25500
25501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25502 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyEllipseShape, SWIG_POINTER_EXCEPTION | 0);
25503 if (SWIG_arg_fail(1)) SWIG_fail;
25504 {
25505 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
25506 if (SWIG_arg_fail(2)) SWIG_fail;
25507 if (arg2 == NULL) {
25508 SWIG_null_ref("wxDC");
25509 }
25510 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
25511 }
25512 {
25513 PyThreadState* __tstate = wxPyBeginAllowThreads();
25514 (arg1)->base_OnEraseContents(*arg2);
25515
25516 wxPyEndAllowThreads(__tstate);
25517 if (PyErr_Occurred()) SWIG_fail;
25518 }
25519 Py_INCREF(Py_None); resultobj = Py_None;
25520 return resultobj;
25521 fail:
25522 return NULL;
25523}
25524
25525
c370783e 25526static PyObject *_wrap_PyEllipseShape_base_OnHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
25527 PyObject *resultobj;
25528 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
25529 wxDC *arg2 = 0 ;
25530 PyObject * obj0 = 0 ;
25531 PyObject * obj1 = 0 ;
25532 char *kwnames[] = {
25533 (char *) "self",(char *) "dc", NULL
25534 };
25535
25536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25537 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyEllipseShape, SWIG_POINTER_EXCEPTION | 0);
25538 if (SWIG_arg_fail(1)) SWIG_fail;
25539 {
25540 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
25541 if (SWIG_arg_fail(2)) SWIG_fail;
25542 if (arg2 == NULL) {
25543 SWIG_null_ref("wxDC");
25544 }
25545 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
25546 }
25547 {
25548 PyThreadState* __tstate = wxPyBeginAllowThreads();
25549 (arg1)->base_OnHighlight(*arg2);
25550
25551 wxPyEndAllowThreads(__tstate);
25552 if (PyErr_Occurred()) SWIG_fail;
25553 }
25554 Py_INCREF(Py_None); resultobj = Py_None;
25555 return resultobj;
25556 fail:
25557 return NULL;
25558}
25559
25560
c370783e 25561static PyObject *_wrap_PyEllipseShape_base_OnLeftClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
25562 PyObject *resultobj;
25563 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
25564 double arg2 ;
25565 double arg3 ;
25566 int arg4 = (int) 0 ;
25567 int arg5 = (int) 0 ;
25568 PyObject * obj0 = 0 ;
8edf1c75
RD
25569 PyObject * obj1 = 0 ;
25570 PyObject * obj2 = 0 ;
25571 PyObject * obj3 = 0 ;
25572 PyObject * obj4 = 0 ;
44127b65
RD
25573 char *kwnames[] = {
25574 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
25575 };
25576
8edf1c75 25577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
25578 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyEllipseShape, SWIG_POINTER_EXCEPTION | 0);
25579 if (SWIG_arg_fail(1)) SWIG_fail;
25580 {
25581 arg2 = (double)(SWIG_As_double(obj1));
25582 if (SWIG_arg_fail(2)) SWIG_fail;
25583 }
25584 {
25585 arg3 = (double)(SWIG_As_double(obj2));
25586 if (SWIG_arg_fail(3)) SWIG_fail;
25587 }
8edf1c75 25588 if (obj3) {
36ed4f51
RD
25589 {
25590 arg4 = (int)(SWIG_As_int(obj3));
25591 if (SWIG_arg_fail(4)) SWIG_fail;
25592 }
8edf1c75
RD
25593 }
25594 if (obj4) {
36ed4f51
RD
25595 {
25596 arg5 = (int)(SWIG_As_int(obj4));
25597 if (SWIG_arg_fail(5)) SWIG_fail;
25598 }
8edf1c75 25599 }
44127b65
RD
25600 {
25601 PyThreadState* __tstate = wxPyBeginAllowThreads();
25602 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
25603
25604 wxPyEndAllowThreads(__tstate);
25605 if (PyErr_Occurred()) SWIG_fail;
25606 }
25607 Py_INCREF(Py_None); resultobj = Py_None;
25608 return resultobj;
25609 fail:
25610 return NULL;
25611}
25612
25613
c370783e 25614static PyObject *_wrap_PyEllipseShape_base_OnLeftDoubleClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
25615 PyObject *resultobj;
25616 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
25617 double arg2 ;
25618 double arg3 ;
25619 int arg4 = (int) 0 ;
25620 int arg5 = (int) 0 ;
25621 PyObject * obj0 = 0 ;
8edf1c75
RD
25622 PyObject * obj1 = 0 ;
25623 PyObject * obj2 = 0 ;
25624 PyObject * obj3 = 0 ;
25625 PyObject * obj4 = 0 ;
44127b65
RD
25626 char *kwnames[] = {
25627 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
25628 };
25629
8edf1c75 25630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
25631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyEllipseShape, SWIG_POINTER_EXCEPTION | 0);
25632 if (SWIG_arg_fail(1)) SWIG_fail;
25633 {
25634 arg2 = (double)(SWIG_As_double(obj1));
25635 if (SWIG_arg_fail(2)) SWIG_fail;
25636 }
25637 {
25638 arg3 = (double)(SWIG_As_double(obj2));
25639 if (SWIG_arg_fail(3)) SWIG_fail;
25640 }
8edf1c75 25641 if (obj3) {
36ed4f51
RD
25642 {
25643 arg4 = (int)(SWIG_As_int(obj3));
25644 if (SWIG_arg_fail(4)) SWIG_fail;
25645 }
8edf1c75
RD
25646 }
25647 if (obj4) {
36ed4f51
RD
25648 {
25649 arg5 = (int)(SWIG_As_int(obj4));
25650 if (SWIG_arg_fail(5)) SWIG_fail;
25651 }
8edf1c75 25652 }
44127b65
RD
25653 {
25654 PyThreadState* __tstate = wxPyBeginAllowThreads();
25655 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
25656
25657 wxPyEndAllowThreads(__tstate);
25658 if (PyErr_Occurred()) SWIG_fail;
25659 }
25660 Py_INCREF(Py_None); resultobj = Py_None;
25661 return resultobj;
25662 fail:
25663 return NULL;
25664}
25665
25666
c370783e 25667static PyObject *_wrap_PyEllipseShape_base_OnRightClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
25668 PyObject *resultobj;
25669 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
25670 double arg2 ;
25671 double arg3 ;
25672 int arg4 = (int) 0 ;
25673 int arg5 = (int) 0 ;
25674 PyObject * obj0 = 0 ;
8edf1c75
RD
25675 PyObject * obj1 = 0 ;
25676 PyObject * obj2 = 0 ;
25677 PyObject * obj3 = 0 ;
25678 PyObject * obj4 = 0 ;
44127b65
RD
25679 char *kwnames[] = {
25680 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
25681 };
25682
8edf1c75 25683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
25684 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyEllipseShape, SWIG_POINTER_EXCEPTION | 0);
25685 if (SWIG_arg_fail(1)) SWIG_fail;
25686 {
25687 arg2 = (double)(SWIG_As_double(obj1));
25688 if (SWIG_arg_fail(2)) SWIG_fail;
25689 }
25690 {
25691 arg3 = (double)(SWIG_As_double(obj2));
25692 if (SWIG_arg_fail(3)) SWIG_fail;
25693 }
8edf1c75 25694 if (obj3) {
36ed4f51
RD
25695 {
25696 arg4 = (int)(SWIG_As_int(obj3));
25697 if (SWIG_arg_fail(4)) SWIG_fail;
25698 }
8edf1c75
RD
25699 }
25700 if (obj4) {
36ed4f51
RD
25701 {
25702 arg5 = (int)(SWIG_As_int(obj4));
25703 if (SWIG_arg_fail(5)) SWIG_fail;
25704 }
8edf1c75 25705 }
44127b65
RD
25706 {
25707 PyThreadState* __tstate = wxPyBeginAllowThreads();
25708 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
25709
25710 wxPyEndAllowThreads(__tstate);
25711 if (PyErr_Occurred()) SWIG_fail;
25712 }
25713 Py_INCREF(Py_None); resultobj = Py_None;
25714 return resultobj;
25715 fail:
25716 return NULL;
25717}
25718
25719
c370783e 25720static PyObject *_wrap_PyEllipseShape_base_OnSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
25721 PyObject *resultobj;
25722 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
25723 double arg2 ;
25724 double arg3 ;
25725 PyObject * obj0 = 0 ;
8edf1c75
RD
25726 PyObject * obj1 = 0 ;
25727 PyObject * obj2 = 0 ;
44127b65
RD
25728 char *kwnames[] = {
25729 (char *) "self",(char *) "x",(char *) "y", NULL
25730 };
25731
8edf1c75 25732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyEllipseShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
25733 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyEllipseShape, SWIG_POINTER_EXCEPTION | 0);
25734 if (SWIG_arg_fail(1)) SWIG_fail;
25735 {
25736 arg2 = (double)(SWIG_As_double(obj1));
25737 if (SWIG_arg_fail(2)) SWIG_fail;
25738 }
25739 {
25740 arg3 = (double)(SWIG_As_double(obj2));
25741 if (SWIG_arg_fail(3)) SWIG_fail;
25742 }
44127b65
RD
25743 {
25744 PyThreadState* __tstate = wxPyBeginAllowThreads();
25745 (arg1)->base_OnSize(arg2,arg3);
25746
25747 wxPyEndAllowThreads(__tstate);
25748 if (PyErr_Occurred()) SWIG_fail;
25749 }
25750 Py_INCREF(Py_None); resultobj = Py_None;
25751 return resultobj;
25752 fail:
25753 return NULL;
25754}
25755
25756
c370783e 25757static PyObject *_wrap_PyEllipseShape_base_OnMovePre(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
25758 PyObject *resultobj;
25759 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
25760 wxDC *arg2 = 0 ;
25761 double arg3 ;
25762 double arg4 ;
25763 double arg5 ;
25764 double arg6 ;
b411df4a 25765 bool arg7 = (bool) true ;
44127b65
RD
25766 bool result;
25767 PyObject * obj0 = 0 ;
25768 PyObject * obj1 = 0 ;
8edf1c75
RD
25769 PyObject * obj2 = 0 ;
25770 PyObject * obj3 = 0 ;
25771 PyObject * obj4 = 0 ;
25772 PyObject * obj5 = 0 ;
44127b65
RD
25773 PyObject * obj6 = 0 ;
25774 char *kwnames[] = {
25775 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
25776 };
25777
8edf1c75 25778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyEllipseShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
25779 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyEllipseShape, SWIG_POINTER_EXCEPTION | 0);
25780 if (SWIG_arg_fail(1)) SWIG_fail;
25781 {
25782 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
25783 if (SWIG_arg_fail(2)) SWIG_fail;
25784 if (arg2 == NULL) {
25785 SWIG_null_ref("wxDC");
25786 }
25787 if (SWIG_arg_fail(2)) SWIG_fail;
25788 }
25789 {
25790 arg3 = (double)(SWIG_As_double(obj2));
25791 if (SWIG_arg_fail(3)) SWIG_fail;
25792 }
25793 {
25794 arg4 = (double)(SWIG_As_double(obj3));
25795 if (SWIG_arg_fail(4)) SWIG_fail;
25796 }
25797 {
25798 arg5 = (double)(SWIG_As_double(obj4));
25799 if (SWIG_arg_fail(5)) SWIG_fail;
25800 }
25801 {
25802 arg6 = (double)(SWIG_As_double(obj5));
25803 if (SWIG_arg_fail(6)) SWIG_fail;
25804 }
44127b65 25805 if (obj6) {
36ed4f51
RD
25806 {
25807 arg7 = (bool)(SWIG_As_bool(obj6));
25808 if (SWIG_arg_fail(7)) SWIG_fail;
25809 }
44127b65
RD
25810 }
25811 {
25812 PyThreadState* __tstate = wxPyBeginAllowThreads();
25813 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
25814
25815 wxPyEndAllowThreads(__tstate);
25816 if (PyErr_Occurred()) SWIG_fail;
25817 }
fbc46b20
RD
25818 {
25819 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25820 }
44127b65
RD
25821 return resultobj;
25822 fail:
25823 return NULL;
25824}
25825
25826
c370783e 25827static PyObject *_wrap_PyEllipseShape_base_OnMovePost(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
25828 PyObject *resultobj;
25829 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
25830 wxDC *arg2 = 0 ;
25831 double arg3 ;
25832 double arg4 ;
25833 double arg5 ;
25834 double arg6 ;
b411df4a 25835 bool arg7 = (bool) true ;
44127b65
RD
25836 PyObject * obj0 = 0 ;
25837 PyObject * obj1 = 0 ;
8edf1c75
RD
25838 PyObject * obj2 = 0 ;
25839 PyObject * obj3 = 0 ;
25840 PyObject * obj4 = 0 ;
25841 PyObject * obj5 = 0 ;
44127b65
RD
25842 PyObject * obj6 = 0 ;
25843 char *kwnames[] = {
25844 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
25845 };
25846
8edf1c75 25847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyEllipseShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
25848 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyEllipseShape, SWIG_POINTER_EXCEPTION | 0);
25849 if (SWIG_arg_fail(1)) SWIG_fail;
25850 {
25851 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
25852 if (SWIG_arg_fail(2)) SWIG_fail;
25853 if (arg2 == NULL) {
25854 SWIG_null_ref("wxDC");
25855 }
25856 if (SWIG_arg_fail(2)) SWIG_fail;
25857 }
25858 {
25859 arg3 = (double)(SWIG_As_double(obj2));
25860 if (SWIG_arg_fail(3)) SWIG_fail;
25861 }
25862 {
25863 arg4 = (double)(SWIG_As_double(obj3));
25864 if (SWIG_arg_fail(4)) SWIG_fail;
25865 }
25866 {
25867 arg5 = (double)(SWIG_As_double(obj4));
25868 if (SWIG_arg_fail(5)) SWIG_fail;
25869 }
25870 {
25871 arg6 = (double)(SWIG_As_double(obj5));
25872 if (SWIG_arg_fail(6)) SWIG_fail;
25873 }
44127b65 25874 if (obj6) {
36ed4f51
RD
25875 {
25876 arg7 = (bool)(SWIG_As_bool(obj6));
25877 if (SWIG_arg_fail(7)) SWIG_fail;
25878 }
44127b65
RD
25879 }
25880 {
25881 PyThreadState* __tstate = wxPyBeginAllowThreads();
25882 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
25883
25884 wxPyEndAllowThreads(__tstate);
25885 if (PyErr_Occurred()) SWIG_fail;
25886 }
25887 Py_INCREF(Py_None); resultobj = Py_None;
25888 return resultobj;
25889 fail:
25890 return NULL;
25891}
25892
25893
c370783e 25894static PyObject *_wrap_PyEllipseShape_base_OnDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
25895 PyObject *resultobj;
25896 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
25897 bool arg2 ;
25898 double arg3 ;
25899 double arg4 ;
25900 int arg5 = (int) 0 ;
25901 int arg6 = (int) 0 ;
25902 PyObject * obj0 = 0 ;
25903 PyObject * obj1 = 0 ;
8edf1c75
RD
25904 PyObject * obj2 = 0 ;
25905 PyObject * obj3 = 0 ;
25906 PyObject * obj4 = 0 ;
25907 PyObject * obj5 = 0 ;
44127b65
RD
25908 char *kwnames[] = {
25909 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
25910 };
25911
8edf1c75 25912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyEllipseShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
25913 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyEllipseShape, SWIG_POINTER_EXCEPTION | 0);
25914 if (SWIG_arg_fail(1)) SWIG_fail;
25915 {
25916 arg2 = (bool)(SWIG_As_bool(obj1));
25917 if (SWIG_arg_fail(2)) SWIG_fail;
25918 }
25919 {
25920 arg3 = (double)(SWIG_As_double(obj2));
25921 if (SWIG_arg_fail(3)) SWIG_fail;
25922 }
25923 {
25924 arg4 = (double)(SWIG_As_double(obj3));
25925 if (SWIG_arg_fail(4)) SWIG_fail;
25926 }
8edf1c75 25927 if (obj4) {
36ed4f51
RD
25928 {
25929 arg5 = (int)(SWIG_As_int(obj4));
25930 if (SWIG_arg_fail(5)) SWIG_fail;
25931 }
8edf1c75
RD
25932 }
25933 if (obj5) {
36ed4f51
RD
25934 {
25935 arg6 = (int)(SWIG_As_int(obj5));
25936 if (SWIG_arg_fail(6)) SWIG_fail;
25937 }
8edf1c75 25938 }
44127b65
RD
25939 {
25940 PyThreadState* __tstate = wxPyBeginAllowThreads();
25941 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
25942
25943 wxPyEndAllowThreads(__tstate);
25944 if (PyErr_Occurred()) SWIG_fail;
25945 }
25946 Py_INCREF(Py_None); resultobj = Py_None;
25947 return resultobj;
25948 fail:
25949 return NULL;
25950}
25951
25952
c370783e 25953static PyObject *_wrap_PyEllipseShape_base_OnBeginDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
25954 PyObject *resultobj;
25955 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
25956 double arg2 ;
25957 double arg3 ;
25958 int arg4 = (int) 0 ;
25959 int arg5 = (int) 0 ;
25960 PyObject * obj0 = 0 ;
8edf1c75
RD
25961 PyObject * obj1 = 0 ;
25962 PyObject * obj2 = 0 ;
25963 PyObject * obj3 = 0 ;
25964 PyObject * obj4 = 0 ;
44127b65
RD
25965 char *kwnames[] = {
25966 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
25967 };
25968
8edf1c75 25969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
25970 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyEllipseShape, SWIG_POINTER_EXCEPTION | 0);
25971 if (SWIG_arg_fail(1)) SWIG_fail;
25972 {
25973 arg2 = (double)(SWIG_As_double(obj1));
25974 if (SWIG_arg_fail(2)) SWIG_fail;
25975 }
25976 {
25977 arg3 = (double)(SWIG_As_double(obj2));
25978 if (SWIG_arg_fail(3)) SWIG_fail;
25979 }
8edf1c75 25980 if (obj3) {
36ed4f51
RD
25981 {
25982 arg4 = (int)(SWIG_As_int(obj3));
25983 if (SWIG_arg_fail(4)) SWIG_fail;
25984 }
8edf1c75
RD
25985 }
25986 if (obj4) {
36ed4f51
RD
25987 {
25988 arg5 = (int)(SWIG_As_int(obj4));
25989 if (SWIG_arg_fail(5)) SWIG_fail;
25990 }
8edf1c75 25991 }
44127b65
RD
25992 {
25993 PyThreadState* __tstate = wxPyBeginAllowThreads();
25994 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
25995
25996 wxPyEndAllowThreads(__tstate);
25997 if (PyErr_Occurred()) SWIG_fail;
25998 }
25999 Py_INCREF(Py_None); resultobj = Py_None;
26000 return resultobj;
26001 fail:
26002 return NULL;
26003}
26004
26005
c370783e 26006static PyObject *_wrap_PyEllipseShape_base_OnEndDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
26007 PyObject *resultobj;
26008 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
26009 double arg2 ;
26010 double arg3 ;
26011 int arg4 = (int) 0 ;
26012 int arg5 = (int) 0 ;
26013 PyObject * obj0 = 0 ;
8edf1c75
RD
26014 PyObject * obj1 = 0 ;
26015 PyObject * obj2 = 0 ;
26016 PyObject * obj3 = 0 ;
26017 PyObject * obj4 = 0 ;
44127b65
RD
26018 char *kwnames[] = {
26019 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
26020 };
26021
8edf1c75 26022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
26023 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyEllipseShape, SWIG_POINTER_EXCEPTION | 0);
26024 if (SWIG_arg_fail(1)) SWIG_fail;
26025 {
26026 arg2 = (double)(SWIG_As_double(obj1));
26027 if (SWIG_arg_fail(2)) SWIG_fail;
26028 }
26029 {
26030 arg3 = (double)(SWIG_As_double(obj2));
26031 if (SWIG_arg_fail(3)) SWIG_fail;
26032 }
8edf1c75 26033 if (obj3) {
36ed4f51
RD
26034 {
26035 arg4 = (int)(SWIG_As_int(obj3));
26036 if (SWIG_arg_fail(4)) SWIG_fail;
26037 }
8edf1c75
RD
26038 }
26039 if (obj4) {
36ed4f51
RD
26040 {
26041 arg5 = (int)(SWIG_As_int(obj4));
26042 if (SWIG_arg_fail(5)) SWIG_fail;
26043 }
8edf1c75 26044 }
44127b65
RD
26045 {
26046 PyThreadState* __tstate = wxPyBeginAllowThreads();
26047 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
26048
26049 wxPyEndAllowThreads(__tstate);
26050 if (PyErr_Occurred()) SWIG_fail;
26051 }
26052 Py_INCREF(Py_None); resultobj = Py_None;
26053 return resultobj;
26054 fail:
26055 return NULL;
26056}
26057
26058
c370783e 26059static PyObject *_wrap_PyEllipseShape_base_OnDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
26060 PyObject *resultobj;
26061 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
26062 bool arg2 ;
26063 double arg3 ;
26064 double arg4 ;
26065 int arg5 = (int) 0 ;
26066 int arg6 = (int) 0 ;
26067 PyObject * obj0 = 0 ;
26068 PyObject * obj1 = 0 ;
8edf1c75
RD
26069 PyObject * obj2 = 0 ;
26070 PyObject * obj3 = 0 ;
26071 PyObject * obj4 = 0 ;
26072 PyObject * obj5 = 0 ;
44127b65
RD
26073 char *kwnames[] = {
26074 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
26075 };
26076
8edf1c75 26077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyEllipseShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
26078 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyEllipseShape, SWIG_POINTER_EXCEPTION | 0);
26079 if (SWIG_arg_fail(1)) SWIG_fail;
26080 {
26081 arg2 = (bool)(SWIG_As_bool(obj1));
26082 if (SWIG_arg_fail(2)) SWIG_fail;
26083 }
26084 {
26085 arg3 = (double)(SWIG_As_double(obj2));
26086 if (SWIG_arg_fail(3)) SWIG_fail;
26087 }
26088 {
26089 arg4 = (double)(SWIG_As_double(obj3));
26090 if (SWIG_arg_fail(4)) SWIG_fail;
26091 }
8edf1c75 26092 if (obj4) {
36ed4f51
RD
26093 {
26094 arg5 = (int)(SWIG_As_int(obj4));
26095 if (SWIG_arg_fail(5)) SWIG_fail;
26096 }
8edf1c75
RD
26097 }
26098 if (obj5) {
36ed4f51
RD
26099 {
26100 arg6 = (int)(SWIG_As_int(obj5));
26101 if (SWIG_arg_fail(6)) SWIG_fail;
26102 }
8edf1c75 26103 }
44127b65
RD
26104 {
26105 PyThreadState* __tstate = wxPyBeginAllowThreads();
26106 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
26107
26108 wxPyEndAllowThreads(__tstate);
26109 if (PyErr_Occurred()) SWIG_fail;
26110 }
26111 Py_INCREF(Py_None); resultobj = Py_None;
26112 return resultobj;
26113 fail:
26114 return NULL;
26115}
26116
26117
c370783e 26118static PyObject *_wrap_PyEllipseShape_base_OnBeginDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
26119 PyObject *resultobj;
26120 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
26121 double arg2 ;
26122 double arg3 ;
26123 int arg4 = (int) 0 ;
26124 int arg5 = (int) 0 ;
26125 PyObject * obj0 = 0 ;
8edf1c75
RD
26126 PyObject * obj1 = 0 ;
26127 PyObject * obj2 = 0 ;
26128 PyObject * obj3 = 0 ;
26129 PyObject * obj4 = 0 ;
44127b65
RD
26130 char *kwnames[] = {
26131 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
26132 };
26133
8edf1c75 26134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
26135 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyEllipseShape, SWIG_POINTER_EXCEPTION | 0);
26136 if (SWIG_arg_fail(1)) SWIG_fail;
26137 {
26138 arg2 = (double)(SWIG_As_double(obj1));
26139 if (SWIG_arg_fail(2)) SWIG_fail;
26140 }
26141 {
26142 arg3 = (double)(SWIG_As_double(obj2));
26143 if (SWIG_arg_fail(3)) SWIG_fail;
26144 }
8edf1c75 26145 if (obj3) {
36ed4f51
RD
26146 {
26147 arg4 = (int)(SWIG_As_int(obj3));
26148 if (SWIG_arg_fail(4)) SWIG_fail;
26149 }
8edf1c75
RD
26150 }
26151 if (obj4) {
36ed4f51
RD
26152 {
26153 arg5 = (int)(SWIG_As_int(obj4));
26154 if (SWIG_arg_fail(5)) SWIG_fail;
26155 }
8edf1c75 26156 }
44127b65
RD
26157 {
26158 PyThreadState* __tstate = wxPyBeginAllowThreads();
26159 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
26160
26161 wxPyEndAllowThreads(__tstate);
26162 if (PyErr_Occurred()) SWIG_fail;
26163 }
26164 Py_INCREF(Py_None); resultobj = Py_None;
26165 return resultobj;
26166 fail:
26167 return NULL;
26168}
26169
26170
c370783e 26171static PyObject *_wrap_PyEllipseShape_base_OnEndDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
26172 PyObject *resultobj;
26173 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
26174 double arg2 ;
26175 double arg3 ;
26176 int arg4 = (int) 0 ;
26177 int arg5 = (int) 0 ;
26178 PyObject * obj0 = 0 ;
8edf1c75
RD
26179 PyObject * obj1 = 0 ;
26180 PyObject * obj2 = 0 ;
26181 PyObject * obj3 = 0 ;
26182 PyObject * obj4 = 0 ;
44127b65
RD
26183 char *kwnames[] = {
26184 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
26185 };
26186
8edf1c75 26187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyEllipseShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
26188 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyEllipseShape, SWIG_POINTER_EXCEPTION | 0);
26189 if (SWIG_arg_fail(1)) SWIG_fail;
26190 {
26191 arg2 = (double)(SWIG_As_double(obj1));
26192 if (SWIG_arg_fail(2)) SWIG_fail;
26193 }
26194 {
26195 arg3 = (double)(SWIG_As_double(obj2));
26196 if (SWIG_arg_fail(3)) SWIG_fail;
26197 }
8edf1c75 26198 if (obj3) {
36ed4f51
RD
26199 {
26200 arg4 = (int)(SWIG_As_int(obj3));
26201 if (SWIG_arg_fail(4)) SWIG_fail;
26202 }
8edf1c75
RD
26203 }
26204 if (obj4) {
36ed4f51
RD
26205 {
26206 arg5 = (int)(SWIG_As_int(obj4));
26207 if (SWIG_arg_fail(5)) SWIG_fail;
26208 }
8edf1c75 26209 }
44127b65
RD
26210 {
26211 PyThreadState* __tstate = wxPyBeginAllowThreads();
26212 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
26213
26214 wxPyEndAllowThreads(__tstate);
26215 if (PyErr_Occurred()) SWIG_fail;
26216 }
26217 Py_INCREF(Py_None); resultobj = Py_None;
26218 return resultobj;
26219 fail:
26220 return NULL;
26221}
26222
26223
c370783e 26224static PyObject *_wrap_PyEllipseShape_base_OnDrawOutline(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
26225 PyObject *resultobj;
26226 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
26227 wxDC *arg2 = 0 ;
26228 double arg3 ;
26229 double arg4 ;
26230 double arg5 ;
26231 double arg6 ;
26232 PyObject * obj0 = 0 ;
26233 PyObject * obj1 = 0 ;
8edf1c75
RD
26234 PyObject * obj2 = 0 ;
26235 PyObject * obj3 = 0 ;
26236 PyObject * obj4 = 0 ;
26237 PyObject * obj5 = 0 ;
44127b65
RD
26238 char *kwnames[] = {
26239 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26240 };
26241
8edf1c75 26242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyEllipseShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
26243 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyEllipseShape, SWIG_POINTER_EXCEPTION | 0);
26244 if (SWIG_arg_fail(1)) SWIG_fail;
26245 {
26246 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26247 if (SWIG_arg_fail(2)) SWIG_fail;
26248 if (arg2 == NULL) {
26249 SWIG_null_ref("wxDC");
26250 }
26251 if (SWIG_arg_fail(2)) SWIG_fail;
26252 }
26253 {
26254 arg3 = (double)(SWIG_As_double(obj2));
26255 if (SWIG_arg_fail(3)) SWIG_fail;
26256 }
26257 {
26258 arg4 = (double)(SWIG_As_double(obj3));
26259 if (SWIG_arg_fail(4)) SWIG_fail;
26260 }
26261 {
26262 arg5 = (double)(SWIG_As_double(obj4));
26263 if (SWIG_arg_fail(5)) SWIG_fail;
26264 }
26265 {
26266 arg6 = (double)(SWIG_As_double(obj5));
26267 if (SWIG_arg_fail(6)) SWIG_fail;
26268 }
44127b65
RD
26269 {
26270 PyThreadState* __tstate = wxPyBeginAllowThreads();
26271 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
26272
26273 wxPyEndAllowThreads(__tstate);
26274 if (PyErr_Occurred()) SWIG_fail;
26275 }
26276 Py_INCREF(Py_None); resultobj = Py_None;
26277 return resultobj;
26278 fail:
26279 return NULL;
26280}
26281
26282
c370783e 26283static PyObject *_wrap_PyEllipseShape_base_OnDrawControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
26284 PyObject *resultobj;
26285 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
26286 wxDC *arg2 = 0 ;
26287 PyObject * obj0 = 0 ;
26288 PyObject * obj1 = 0 ;
26289 char *kwnames[] = {
26290 (char *) "self",(char *) "dc", NULL
26291 };
26292
26293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26294 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyEllipseShape, SWIG_POINTER_EXCEPTION | 0);
26295 if (SWIG_arg_fail(1)) SWIG_fail;
26296 {
26297 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26298 if (SWIG_arg_fail(2)) SWIG_fail;
26299 if (arg2 == NULL) {
26300 SWIG_null_ref("wxDC");
26301 }
26302 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
26303 }
26304 {
26305 PyThreadState* __tstate = wxPyBeginAllowThreads();
26306 (arg1)->base_OnDrawControlPoints(*arg2);
26307
26308 wxPyEndAllowThreads(__tstate);
26309 if (PyErr_Occurred()) SWIG_fail;
26310 }
26311 Py_INCREF(Py_None); resultobj = Py_None;
26312 return resultobj;
26313 fail:
26314 return NULL;
26315}
26316
26317
c370783e 26318static PyObject *_wrap_PyEllipseShape_base_OnEraseControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
26319 PyObject *resultobj;
26320 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
26321 wxDC *arg2 = 0 ;
26322 PyObject * obj0 = 0 ;
26323 PyObject * obj1 = 0 ;
26324 char *kwnames[] = {
26325 (char *) "self",(char *) "dc", NULL
26326 };
26327
26328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEllipseShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26329 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyEllipseShape, SWIG_POINTER_EXCEPTION | 0);
26330 if (SWIG_arg_fail(1)) SWIG_fail;
26331 {
26332 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26333 if (SWIG_arg_fail(2)) SWIG_fail;
26334 if (arg2 == NULL) {
26335 SWIG_null_ref("wxDC");
26336 }
26337 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
26338 }
26339 {
26340 PyThreadState* __tstate = wxPyBeginAllowThreads();
26341 (arg1)->base_OnEraseControlPoints(*arg2);
26342
26343 wxPyEndAllowThreads(__tstate);
26344 if (PyErr_Occurred()) SWIG_fail;
26345 }
26346 Py_INCREF(Py_None); resultobj = Py_None;
26347 return resultobj;
26348 fail:
26349 return NULL;
26350}
26351
26352
c370783e 26353static PyObject *_wrap_PyEllipseShape_base_OnMoveLink(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
26354 PyObject *resultobj;
26355 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
26356 wxDC *arg2 = 0 ;
b411df4a 26357 bool arg3 = (bool) true ;
44127b65
RD
26358 PyObject * obj0 = 0 ;
26359 PyObject * obj1 = 0 ;
26360 PyObject * obj2 = 0 ;
26361 char *kwnames[] = {
26362 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
26363 };
26364
26365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyEllipseShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
26366 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyEllipseShape, SWIG_POINTER_EXCEPTION | 0);
26367 if (SWIG_arg_fail(1)) SWIG_fail;
26368 {
26369 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26370 if (SWIG_arg_fail(2)) SWIG_fail;
26371 if (arg2 == NULL) {
26372 SWIG_null_ref("wxDC");
26373 }
26374 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
26375 }
26376 if (obj2) {
36ed4f51
RD
26377 {
26378 arg3 = (bool)(SWIG_As_bool(obj2));
26379 if (SWIG_arg_fail(3)) SWIG_fail;
26380 }
44127b65
RD
26381 }
26382 {
26383 PyThreadState* __tstate = wxPyBeginAllowThreads();
26384 (arg1)->base_OnMoveLink(*arg2,arg3);
26385
26386 wxPyEndAllowThreads(__tstate);
26387 if (PyErr_Occurred()) SWIG_fail;
26388 }
26389 Py_INCREF(Py_None); resultobj = Py_None;
26390 return resultobj;
26391 fail:
26392 return NULL;
26393}
26394
26395
c370783e 26396static PyObject *_wrap_PyEllipseShape_base_OnSizingDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
26397 PyObject *resultobj;
26398 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
26399 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
26400 bool arg3 ;
26401 double arg4 ;
26402 double arg5 ;
26403 int arg6 = (int) 0 ;
26404 int arg7 = (int) 0 ;
26405 PyObject * obj0 = 0 ;
26406 PyObject * obj1 = 0 ;
26407 PyObject * obj2 = 0 ;
8edf1c75
RD
26408 PyObject * obj3 = 0 ;
26409 PyObject * obj4 = 0 ;
26410 PyObject * obj5 = 0 ;
26411 PyObject * obj6 = 0 ;
44127b65
RD
26412 char *kwnames[] = {
26413 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
26414 };
26415
8edf1c75 26416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyEllipseShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
26417 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyEllipseShape, SWIG_POINTER_EXCEPTION | 0);
26418 if (SWIG_arg_fail(1)) SWIG_fail;
26419 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
26420 if (SWIG_arg_fail(2)) SWIG_fail;
26421 {
26422 arg3 = (bool)(SWIG_As_bool(obj2));
26423 if (SWIG_arg_fail(3)) SWIG_fail;
26424 }
26425 {
26426 arg4 = (double)(SWIG_As_double(obj3));
26427 if (SWIG_arg_fail(4)) SWIG_fail;
26428 }
26429 {
26430 arg5 = (double)(SWIG_As_double(obj4));
26431 if (SWIG_arg_fail(5)) SWIG_fail;
26432 }
8edf1c75 26433 if (obj5) {
36ed4f51
RD
26434 {
26435 arg6 = (int)(SWIG_As_int(obj5));
26436 if (SWIG_arg_fail(6)) SWIG_fail;
26437 }
8edf1c75
RD
26438 }
26439 if (obj6) {
36ed4f51
RD
26440 {
26441 arg7 = (int)(SWIG_As_int(obj6));
26442 if (SWIG_arg_fail(7)) SWIG_fail;
26443 }
8edf1c75 26444 }
44127b65
RD
26445 {
26446 PyThreadState* __tstate = wxPyBeginAllowThreads();
26447 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
26448
26449 wxPyEndAllowThreads(__tstate);
26450 if (PyErr_Occurred()) SWIG_fail;
26451 }
26452 Py_INCREF(Py_None); resultobj = Py_None;
26453 return resultobj;
26454 fail:
26455 return NULL;
26456}
26457
26458
c370783e 26459static PyObject *_wrap_PyEllipseShape_base_OnSizingBeginDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
26460 PyObject *resultobj;
26461 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
26462 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
26463 double arg3 ;
26464 double arg4 ;
26465 int arg5 = (int) 0 ;
26466 int arg6 = (int) 0 ;
26467 PyObject * obj0 = 0 ;
26468 PyObject * obj1 = 0 ;
8edf1c75
RD
26469 PyObject * obj2 = 0 ;
26470 PyObject * obj3 = 0 ;
26471 PyObject * obj4 = 0 ;
26472 PyObject * obj5 = 0 ;
44127b65
RD
26473 char *kwnames[] = {
26474 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
26475 };
26476
8edf1c75 26477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyEllipseShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
26478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyEllipseShape, SWIG_POINTER_EXCEPTION | 0);
26479 if (SWIG_arg_fail(1)) SWIG_fail;
26480 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
26481 if (SWIG_arg_fail(2)) SWIG_fail;
26482 {
26483 arg3 = (double)(SWIG_As_double(obj2));
26484 if (SWIG_arg_fail(3)) SWIG_fail;
26485 }
26486 {
26487 arg4 = (double)(SWIG_As_double(obj3));
26488 if (SWIG_arg_fail(4)) SWIG_fail;
26489 }
8edf1c75 26490 if (obj4) {
36ed4f51
RD
26491 {
26492 arg5 = (int)(SWIG_As_int(obj4));
26493 if (SWIG_arg_fail(5)) SWIG_fail;
26494 }
8edf1c75
RD
26495 }
26496 if (obj5) {
36ed4f51
RD
26497 {
26498 arg6 = (int)(SWIG_As_int(obj5));
26499 if (SWIG_arg_fail(6)) SWIG_fail;
26500 }
8edf1c75 26501 }
44127b65
RD
26502 {
26503 PyThreadState* __tstate = wxPyBeginAllowThreads();
26504 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
26505
26506 wxPyEndAllowThreads(__tstate);
26507 if (PyErr_Occurred()) SWIG_fail;
26508 }
26509 Py_INCREF(Py_None); resultobj = Py_None;
26510 return resultobj;
26511 fail:
26512 return NULL;
26513}
26514
26515
c370783e 26516static PyObject *_wrap_PyEllipseShape_base_OnSizingEndDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
26517 PyObject *resultobj;
26518 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
26519 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
26520 double arg3 ;
26521 double arg4 ;
26522 int arg5 = (int) 0 ;
26523 int arg6 = (int) 0 ;
26524 PyObject * obj0 = 0 ;
26525 PyObject * obj1 = 0 ;
8edf1c75
RD
26526 PyObject * obj2 = 0 ;
26527 PyObject * obj3 = 0 ;
26528 PyObject * obj4 = 0 ;
26529 PyObject * obj5 = 0 ;
44127b65
RD
26530 char *kwnames[] = {
26531 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
26532 };
26533
8edf1c75 26534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyEllipseShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
26535 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyEllipseShape, SWIG_POINTER_EXCEPTION | 0);
26536 if (SWIG_arg_fail(1)) SWIG_fail;
26537 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
26538 if (SWIG_arg_fail(2)) SWIG_fail;
26539 {
26540 arg3 = (double)(SWIG_As_double(obj2));
26541 if (SWIG_arg_fail(3)) SWIG_fail;
26542 }
26543 {
26544 arg4 = (double)(SWIG_As_double(obj3));
26545 if (SWIG_arg_fail(4)) SWIG_fail;
26546 }
8edf1c75 26547 if (obj4) {
36ed4f51
RD
26548 {
26549 arg5 = (int)(SWIG_As_int(obj4));
26550 if (SWIG_arg_fail(5)) SWIG_fail;
26551 }
8edf1c75
RD
26552 }
26553 if (obj5) {
36ed4f51
RD
26554 {
26555 arg6 = (int)(SWIG_As_int(obj5));
26556 if (SWIG_arg_fail(6)) SWIG_fail;
26557 }
8edf1c75 26558 }
44127b65
RD
26559 {
26560 PyThreadState* __tstate = wxPyBeginAllowThreads();
26561 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
26562
26563 wxPyEndAllowThreads(__tstate);
26564 if (PyErr_Occurred()) SWIG_fail;
26565 }
26566 Py_INCREF(Py_None); resultobj = Py_None;
26567 return resultobj;
26568 fail:
26569 return NULL;
26570}
26571
26572
c370783e 26573static PyObject *_wrap_PyEllipseShape_base_OnBeginSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
26574 PyObject *resultobj;
26575 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
26576 double arg2 ;
26577 double arg3 ;
26578 PyObject * obj0 = 0 ;
8edf1c75
RD
26579 PyObject * obj1 = 0 ;
26580 PyObject * obj2 = 0 ;
44127b65
RD
26581 char *kwnames[] = {
26582 (char *) "self",(char *) "w",(char *) "h", NULL
26583 };
26584
8edf1c75 26585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyEllipseShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
26586 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyEllipseShape, SWIG_POINTER_EXCEPTION | 0);
26587 if (SWIG_arg_fail(1)) SWIG_fail;
26588 {
26589 arg2 = (double)(SWIG_As_double(obj1));
26590 if (SWIG_arg_fail(2)) SWIG_fail;
26591 }
26592 {
26593 arg3 = (double)(SWIG_As_double(obj2));
26594 if (SWIG_arg_fail(3)) SWIG_fail;
26595 }
44127b65
RD
26596 {
26597 PyThreadState* __tstate = wxPyBeginAllowThreads();
26598 (arg1)->base_OnBeginSize(arg2,arg3);
26599
26600 wxPyEndAllowThreads(__tstate);
26601 if (PyErr_Occurred()) SWIG_fail;
26602 }
26603 Py_INCREF(Py_None); resultobj = Py_None;
26604 return resultobj;
26605 fail:
26606 return NULL;
26607}
26608
26609
c370783e 26610static PyObject *_wrap_PyEllipseShape_base_OnEndSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
26611 PyObject *resultobj;
26612 wxPyEllipseShape *arg1 = (wxPyEllipseShape *) 0 ;
26613 double arg2 ;
26614 double arg3 ;
26615 PyObject * obj0 = 0 ;
8edf1c75
RD
26616 PyObject * obj1 = 0 ;
26617 PyObject * obj2 = 0 ;
44127b65
RD
26618 char *kwnames[] = {
26619 (char *) "self",(char *) "w",(char *) "h", NULL
26620 };
26621
8edf1c75 26622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyEllipseShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
26623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyEllipseShape, SWIG_POINTER_EXCEPTION | 0);
26624 if (SWIG_arg_fail(1)) SWIG_fail;
26625 {
26626 arg2 = (double)(SWIG_As_double(obj1));
26627 if (SWIG_arg_fail(2)) SWIG_fail;
26628 }
26629 {
26630 arg3 = (double)(SWIG_As_double(obj2));
26631 if (SWIG_arg_fail(3)) SWIG_fail;
26632 }
8edf1c75 26633 {
2f4c0a16
RD
26634 PyThreadState* __tstate = wxPyBeginAllowThreads();
26635 (arg1)->base_OnEndSize(arg2,arg3);
26636
26637 wxPyEndAllowThreads(__tstate);
44127b65
RD
26638 if (PyErr_Occurred()) SWIG_fail;
26639 }
26640 Py_INCREF(Py_None); resultobj = Py_None;
26641 return resultobj;
26642 fail:
26643 return NULL;
26644}
26645
26646
c370783e 26647static PyObject * PyEllipseShape_swigregister(PyObject *, PyObject *args) {
44127b65
RD
26648 PyObject *obj;
26649 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26650 SWIG_TypeClientData(SWIGTYPE_p_wxPyEllipseShape, obj);
26651 Py_INCREF(obj);
26652 return Py_BuildValue((char *)"");
26653}
c370783e 26654static PyObject *_wrap_new_PyCircleShape(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
26655 PyObject *resultobj;
26656 double arg1 = (double) 0.0 ;
26657 wxPyCircleShape *result;
8edf1c75 26658 PyObject * obj0 = 0 ;
44127b65
RD
26659 char *kwnames[] = {
26660 (char *) "width", NULL
26661 };
26662
8edf1c75
RD
26663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyCircleShape",kwnames,&obj0)) goto fail;
26664 if (obj0) {
36ed4f51
RD
26665 {
26666 arg1 = (double)(SWIG_As_double(obj0));
26667 if (SWIG_arg_fail(1)) SWIG_fail;
26668 }
8edf1c75 26669 }
44127b65
RD
26670 {
26671 PyThreadState* __tstate = wxPyBeginAllowThreads();
26672 result = (wxPyCircleShape *)new wxPyCircleShape(arg1);
26673
26674 wxPyEndAllowThreads(__tstate);
26675 if (PyErr_Occurred()) SWIG_fail;
26676 }
2f4c0a16 26677 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyCircleShape, 1);
44127b65
RD
26678 return resultobj;
26679 fail:
26680 return NULL;
26681}
26682
26683
c370783e 26684static PyObject *_wrap_PyCircleShape__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
26685 PyObject *resultobj;
26686 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
26687 PyObject *arg2 = (PyObject *) 0 ;
26688 PyObject *arg3 = (PyObject *) 0 ;
26689 PyObject * obj0 = 0 ;
26690 PyObject * obj1 = 0 ;
26691 PyObject * obj2 = 0 ;
26692 char *kwnames[] = {
26693 (char *) "self",(char *) "self",(char *) "_class", NULL
26694 };
26695
26696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCircleShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
26697 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCircleShape, SWIG_POINTER_EXCEPTION | 0);
26698 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
26699 arg2 = obj1;
26700 arg3 = obj2;
26701 {
26702 PyThreadState* __tstate = wxPyBeginAllowThreads();
26703 (arg1)->_setCallbackInfo(arg2,arg3);
26704
26705 wxPyEndAllowThreads(__tstate);
26706 if (PyErr_Occurred()) SWIG_fail;
26707 }
26708 Py_INCREF(Py_None); resultobj = Py_None;
26709 return resultobj;
26710 fail:
26711 return NULL;
26712}
26713
26714
c370783e 26715static PyObject *_wrap_PyCircleShape_base_OnDraw(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
26716 PyObject *resultobj;
26717 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
26718 wxDC *arg2 = 0 ;
26719 PyObject * obj0 = 0 ;
26720 PyObject * obj1 = 0 ;
26721 char *kwnames[] = {
26722 (char *) "self",(char *) "dc", NULL
26723 };
26724
26725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26726 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCircleShape, SWIG_POINTER_EXCEPTION | 0);
26727 if (SWIG_arg_fail(1)) SWIG_fail;
26728 {
26729 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26730 if (SWIG_arg_fail(2)) SWIG_fail;
26731 if (arg2 == NULL) {
26732 SWIG_null_ref("wxDC");
26733 }
26734 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
26735 }
26736 {
26737 PyThreadState* __tstate = wxPyBeginAllowThreads();
26738 (arg1)->base_OnDraw(*arg2);
26739
26740 wxPyEndAllowThreads(__tstate);
26741 if (PyErr_Occurred()) SWIG_fail;
26742 }
26743 Py_INCREF(Py_None); resultobj = Py_None;
26744 return resultobj;
26745 fail:
26746 return NULL;
26747}
26748
26749
c370783e 26750static PyObject *_wrap_PyCircleShape_base_OnDrawContents(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
26751 PyObject *resultobj;
26752 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
26753 wxDC *arg2 = 0 ;
26754 PyObject * obj0 = 0 ;
26755 PyObject * obj1 = 0 ;
26756 char *kwnames[] = {
26757 (char *) "self",(char *) "dc", NULL
26758 };
26759
26760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCircleShape, SWIG_POINTER_EXCEPTION | 0);
26762 if (SWIG_arg_fail(1)) SWIG_fail;
26763 {
26764 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26765 if (SWIG_arg_fail(2)) SWIG_fail;
26766 if (arg2 == NULL) {
26767 SWIG_null_ref("wxDC");
26768 }
26769 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
26770 }
26771 {
26772 PyThreadState* __tstate = wxPyBeginAllowThreads();
26773 (arg1)->base_OnDrawContents(*arg2);
26774
26775 wxPyEndAllowThreads(__tstate);
26776 if (PyErr_Occurred()) SWIG_fail;
26777 }
26778 Py_INCREF(Py_None); resultobj = Py_None;
26779 return resultobj;
26780 fail:
26781 return NULL;
26782}
26783
26784
c370783e 26785static PyObject *_wrap_PyCircleShape_base_OnDrawBranches(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
26786 PyObject *resultobj;
26787 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
26788 wxDC *arg2 = 0 ;
26789 bool arg3 = (bool) FALSE ;
26790 PyObject * obj0 = 0 ;
26791 PyObject * obj1 = 0 ;
26792 PyObject * obj2 = 0 ;
26793 char *kwnames[] = {
26794 (char *) "self",(char *) "dc",(char *) "erase", NULL
26795 };
26796
26797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCircleShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
26798 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCircleShape, SWIG_POINTER_EXCEPTION | 0);
26799 if (SWIG_arg_fail(1)) SWIG_fail;
26800 {
26801 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26802 if (SWIG_arg_fail(2)) SWIG_fail;
26803 if (arg2 == NULL) {
26804 SWIG_null_ref("wxDC");
26805 }
26806 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
26807 }
26808 if (obj2) {
36ed4f51
RD
26809 {
26810 arg3 = (bool)(SWIG_As_bool(obj2));
26811 if (SWIG_arg_fail(3)) SWIG_fail;
26812 }
44127b65
RD
26813 }
26814 {
26815 PyThreadState* __tstate = wxPyBeginAllowThreads();
26816 (arg1)->base_OnDrawBranches(*arg2,arg3);
26817
26818 wxPyEndAllowThreads(__tstate);
26819 if (PyErr_Occurred()) SWIG_fail;
26820 }
26821 Py_INCREF(Py_None); resultobj = Py_None;
26822 return resultobj;
26823 fail:
26824 return NULL;
26825}
26826
26827
c370783e 26828static PyObject *_wrap_PyCircleShape_base_OnMoveLinks(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
26829 PyObject *resultobj;
26830 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
26831 wxDC *arg2 = 0 ;
26832 PyObject * obj0 = 0 ;
26833 PyObject * obj1 = 0 ;
26834 char *kwnames[] = {
26835 (char *) "self",(char *) "dc", NULL
26836 };
26837
26838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26839 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCircleShape, SWIG_POINTER_EXCEPTION | 0);
26840 if (SWIG_arg_fail(1)) SWIG_fail;
26841 {
26842 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26843 if (SWIG_arg_fail(2)) SWIG_fail;
26844 if (arg2 == NULL) {
26845 SWIG_null_ref("wxDC");
26846 }
26847 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
26848 }
26849 {
26850 PyThreadState* __tstate = wxPyBeginAllowThreads();
26851 (arg1)->base_OnMoveLinks(*arg2);
26852
26853 wxPyEndAllowThreads(__tstate);
26854 if (PyErr_Occurred()) SWIG_fail;
26855 }
26856 Py_INCREF(Py_None); resultobj = Py_None;
26857 return resultobj;
26858 fail:
26859 return NULL;
26860}
26861
26862
c370783e 26863static PyObject *_wrap_PyCircleShape_base_OnErase(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
26864 PyObject *resultobj;
26865 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
26866 wxDC *arg2 = 0 ;
26867 PyObject * obj0 = 0 ;
26868 PyObject * obj1 = 0 ;
26869 char *kwnames[] = {
26870 (char *) "self",(char *) "dc", NULL
26871 };
26872
26873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26874 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCircleShape, SWIG_POINTER_EXCEPTION | 0);
26875 if (SWIG_arg_fail(1)) SWIG_fail;
26876 {
26877 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26878 if (SWIG_arg_fail(2)) SWIG_fail;
26879 if (arg2 == NULL) {
26880 SWIG_null_ref("wxDC");
26881 }
26882 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
26883 }
26884 {
26885 PyThreadState* __tstate = wxPyBeginAllowThreads();
26886 (arg1)->base_OnErase(*arg2);
26887
26888 wxPyEndAllowThreads(__tstate);
26889 if (PyErr_Occurred()) SWIG_fail;
26890 }
26891 Py_INCREF(Py_None); resultobj = Py_None;
26892 return resultobj;
26893 fail:
26894 return NULL;
26895}
26896
26897
c370783e 26898static PyObject *_wrap_PyCircleShape_base_OnEraseContents(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
26899 PyObject *resultobj;
26900 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
26901 wxDC *arg2 = 0 ;
26902 PyObject * obj0 = 0 ;
26903 PyObject * obj1 = 0 ;
26904 char *kwnames[] = {
26905 (char *) "self",(char *) "dc", NULL
26906 };
26907
26908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26909 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCircleShape, SWIG_POINTER_EXCEPTION | 0);
26910 if (SWIG_arg_fail(1)) SWIG_fail;
26911 {
26912 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26913 if (SWIG_arg_fail(2)) SWIG_fail;
26914 if (arg2 == NULL) {
26915 SWIG_null_ref("wxDC");
26916 }
26917 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
26918 }
26919 {
26920 PyThreadState* __tstate = wxPyBeginAllowThreads();
26921 (arg1)->base_OnEraseContents(*arg2);
26922
26923 wxPyEndAllowThreads(__tstate);
26924 if (PyErr_Occurred()) SWIG_fail;
26925 }
26926 Py_INCREF(Py_None); resultobj = Py_None;
26927 return resultobj;
26928 fail:
26929 return NULL;
26930}
26931
26932
c370783e 26933static PyObject *_wrap_PyCircleShape_base_OnHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
26934 PyObject *resultobj;
26935 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
26936 wxDC *arg2 = 0 ;
26937 PyObject * obj0 = 0 ;
26938 PyObject * obj1 = 0 ;
26939 char *kwnames[] = {
26940 (char *) "self",(char *) "dc", NULL
26941 };
26942
26943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26944 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCircleShape, SWIG_POINTER_EXCEPTION | 0);
26945 if (SWIG_arg_fail(1)) SWIG_fail;
26946 {
26947 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26948 if (SWIG_arg_fail(2)) SWIG_fail;
26949 if (arg2 == NULL) {
26950 SWIG_null_ref("wxDC");
26951 }
26952 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
26953 }
26954 {
26955 PyThreadState* __tstate = wxPyBeginAllowThreads();
26956 (arg1)->base_OnHighlight(*arg2);
26957
26958 wxPyEndAllowThreads(__tstate);
26959 if (PyErr_Occurred()) SWIG_fail;
26960 }
26961 Py_INCREF(Py_None); resultobj = Py_None;
26962 return resultobj;
26963 fail:
26964 return NULL;
26965}
26966
26967
c370783e 26968static PyObject *_wrap_PyCircleShape_base_OnLeftClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
26969 PyObject *resultobj;
26970 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
26971 double arg2 ;
26972 double arg3 ;
26973 int arg4 = (int) 0 ;
26974 int arg5 = (int) 0 ;
26975 PyObject * obj0 = 0 ;
8edf1c75
RD
26976 PyObject * obj1 = 0 ;
26977 PyObject * obj2 = 0 ;
26978 PyObject * obj3 = 0 ;
26979 PyObject * obj4 = 0 ;
44127b65
RD
26980 char *kwnames[] = {
26981 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
26982 };
26983
8edf1c75 26984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
26985 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCircleShape, SWIG_POINTER_EXCEPTION | 0);
26986 if (SWIG_arg_fail(1)) SWIG_fail;
26987 {
26988 arg2 = (double)(SWIG_As_double(obj1));
26989 if (SWIG_arg_fail(2)) SWIG_fail;
26990 }
26991 {
26992 arg3 = (double)(SWIG_As_double(obj2));
26993 if (SWIG_arg_fail(3)) SWIG_fail;
26994 }
8edf1c75 26995 if (obj3) {
36ed4f51
RD
26996 {
26997 arg4 = (int)(SWIG_As_int(obj3));
26998 if (SWIG_arg_fail(4)) SWIG_fail;
26999 }
8edf1c75
RD
27000 }
27001 if (obj4) {
36ed4f51
RD
27002 {
27003 arg5 = (int)(SWIG_As_int(obj4));
27004 if (SWIG_arg_fail(5)) SWIG_fail;
27005 }
8edf1c75 27006 }
44127b65
RD
27007 {
27008 PyThreadState* __tstate = wxPyBeginAllowThreads();
27009 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
27010
27011 wxPyEndAllowThreads(__tstate);
27012 if (PyErr_Occurred()) SWIG_fail;
27013 }
27014 Py_INCREF(Py_None); resultobj = Py_None;
27015 return resultobj;
27016 fail:
27017 return NULL;
27018}
27019
27020
c370783e 27021static PyObject *_wrap_PyCircleShape_base_OnLeftDoubleClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
27022 PyObject *resultobj;
27023 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
27024 double arg2 ;
27025 double arg3 ;
27026 int arg4 = (int) 0 ;
27027 int arg5 = (int) 0 ;
27028 PyObject * obj0 = 0 ;
8edf1c75
RD
27029 PyObject * obj1 = 0 ;
27030 PyObject * obj2 = 0 ;
27031 PyObject * obj3 = 0 ;
27032 PyObject * obj4 = 0 ;
44127b65
RD
27033 char *kwnames[] = {
27034 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27035 };
27036
8edf1c75 27037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
27038 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCircleShape, SWIG_POINTER_EXCEPTION | 0);
27039 if (SWIG_arg_fail(1)) SWIG_fail;
27040 {
27041 arg2 = (double)(SWIG_As_double(obj1));
27042 if (SWIG_arg_fail(2)) SWIG_fail;
27043 }
27044 {
27045 arg3 = (double)(SWIG_As_double(obj2));
27046 if (SWIG_arg_fail(3)) SWIG_fail;
27047 }
8edf1c75 27048 if (obj3) {
36ed4f51
RD
27049 {
27050 arg4 = (int)(SWIG_As_int(obj3));
27051 if (SWIG_arg_fail(4)) SWIG_fail;
27052 }
8edf1c75
RD
27053 }
27054 if (obj4) {
36ed4f51
RD
27055 {
27056 arg5 = (int)(SWIG_As_int(obj4));
27057 if (SWIG_arg_fail(5)) SWIG_fail;
27058 }
8edf1c75 27059 }
44127b65
RD
27060 {
27061 PyThreadState* __tstate = wxPyBeginAllowThreads();
27062 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
27063
27064 wxPyEndAllowThreads(__tstate);
27065 if (PyErr_Occurred()) SWIG_fail;
27066 }
27067 Py_INCREF(Py_None); resultobj = Py_None;
27068 return resultobj;
27069 fail:
27070 return NULL;
27071}
27072
27073
c370783e 27074static PyObject *_wrap_PyCircleShape_base_OnRightClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
27075 PyObject *resultobj;
27076 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
27077 double arg2 ;
27078 double arg3 ;
27079 int arg4 = (int) 0 ;
27080 int arg5 = (int) 0 ;
27081 PyObject * obj0 = 0 ;
8edf1c75
RD
27082 PyObject * obj1 = 0 ;
27083 PyObject * obj2 = 0 ;
27084 PyObject * obj3 = 0 ;
27085 PyObject * obj4 = 0 ;
44127b65
RD
27086 char *kwnames[] = {
27087 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27088 };
27089
8edf1c75 27090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
27091 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCircleShape, SWIG_POINTER_EXCEPTION | 0);
27092 if (SWIG_arg_fail(1)) SWIG_fail;
27093 {
27094 arg2 = (double)(SWIG_As_double(obj1));
27095 if (SWIG_arg_fail(2)) SWIG_fail;
27096 }
27097 {
27098 arg3 = (double)(SWIG_As_double(obj2));
27099 if (SWIG_arg_fail(3)) SWIG_fail;
27100 }
8edf1c75 27101 if (obj3) {
36ed4f51
RD
27102 {
27103 arg4 = (int)(SWIG_As_int(obj3));
27104 if (SWIG_arg_fail(4)) SWIG_fail;
27105 }
8edf1c75
RD
27106 }
27107 if (obj4) {
36ed4f51
RD
27108 {
27109 arg5 = (int)(SWIG_As_int(obj4));
27110 if (SWIG_arg_fail(5)) SWIG_fail;
27111 }
8edf1c75 27112 }
44127b65
RD
27113 {
27114 PyThreadState* __tstate = wxPyBeginAllowThreads();
27115 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
27116
27117 wxPyEndAllowThreads(__tstate);
27118 if (PyErr_Occurred()) SWIG_fail;
27119 }
27120 Py_INCREF(Py_None); resultobj = Py_None;
27121 return resultobj;
27122 fail:
27123 return NULL;
27124}
27125
27126
c370783e 27127static PyObject *_wrap_PyCircleShape_base_OnSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
27128 PyObject *resultobj;
27129 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
27130 double arg2 ;
27131 double arg3 ;
27132 PyObject * obj0 = 0 ;
8edf1c75
RD
27133 PyObject * obj1 = 0 ;
27134 PyObject * obj2 = 0 ;
44127b65
RD
27135 char *kwnames[] = {
27136 (char *) "self",(char *) "x",(char *) "y", NULL
27137 };
27138
8edf1c75 27139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCircleShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
27140 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCircleShape, SWIG_POINTER_EXCEPTION | 0);
27141 if (SWIG_arg_fail(1)) SWIG_fail;
27142 {
27143 arg2 = (double)(SWIG_As_double(obj1));
27144 if (SWIG_arg_fail(2)) SWIG_fail;
27145 }
27146 {
27147 arg3 = (double)(SWIG_As_double(obj2));
27148 if (SWIG_arg_fail(3)) SWIG_fail;
27149 }
44127b65
RD
27150 {
27151 PyThreadState* __tstate = wxPyBeginAllowThreads();
27152 (arg1)->base_OnSize(arg2,arg3);
27153
27154 wxPyEndAllowThreads(__tstate);
27155 if (PyErr_Occurred()) SWIG_fail;
27156 }
27157 Py_INCREF(Py_None); resultobj = Py_None;
27158 return resultobj;
27159 fail:
27160 return NULL;
27161}
27162
27163
c370783e 27164static PyObject *_wrap_PyCircleShape_base_OnMovePre(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
27165 PyObject *resultobj;
27166 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
27167 wxDC *arg2 = 0 ;
27168 double arg3 ;
27169 double arg4 ;
27170 double arg5 ;
27171 double arg6 ;
b411df4a 27172 bool arg7 = (bool) true ;
44127b65
RD
27173 bool result;
27174 PyObject * obj0 = 0 ;
27175 PyObject * obj1 = 0 ;
8edf1c75
RD
27176 PyObject * obj2 = 0 ;
27177 PyObject * obj3 = 0 ;
27178 PyObject * obj4 = 0 ;
27179 PyObject * obj5 = 0 ;
44127b65
RD
27180 PyObject * obj6 = 0 ;
27181 char *kwnames[] = {
27182 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
27183 };
27184
8edf1c75 27185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyCircleShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
27186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCircleShape, SWIG_POINTER_EXCEPTION | 0);
27187 if (SWIG_arg_fail(1)) SWIG_fail;
27188 {
27189 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
27190 if (SWIG_arg_fail(2)) SWIG_fail;
27191 if (arg2 == NULL) {
27192 SWIG_null_ref("wxDC");
27193 }
27194 if (SWIG_arg_fail(2)) SWIG_fail;
27195 }
27196 {
27197 arg3 = (double)(SWIG_As_double(obj2));
27198 if (SWIG_arg_fail(3)) SWIG_fail;
27199 }
27200 {
27201 arg4 = (double)(SWIG_As_double(obj3));
27202 if (SWIG_arg_fail(4)) SWIG_fail;
27203 }
27204 {
27205 arg5 = (double)(SWIG_As_double(obj4));
27206 if (SWIG_arg_fail(5)) SWIG_fail;
27207 }
27208 {
27209 arg6 = (double)(SWIG_As_double(obj5));
27210 if (SWIG_arg_fail(6)) SWIG_fail;
27211 }
44127b65 27212 if (obj6) {
36ed4f51
RD
27213 {
27214 arg7 = (bool)(SWIG_As_bool(obj6));
27215 if (SWIG_arg_fail(7)) SWIG_fail;
27216 }
44127b65
RD
27217 }
27218 {
27219 PyThreadState* __tstate = wxPyBeginAllowThreads();
27220 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
27221
27222 wxPyEndAllowThreads(__tstate);
27223 if (PyErr_Occurred()) SWIG_fail;
27224 }
fbc46b20
RD
27225 {
27226 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27227 }
44127b65
RD
27228 return resultobj;
27229 fail:
27230 return NULL;
27231}
27232
27233
c370783e 27234static PyObject *_wrap_PyCircleShape_base_OnMovePost(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
27235 PyObject *resultobj;
27236 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
27237 wxDC *arg2 = 0 ;
27238 double arg3 ;
27239 double arg4 ;
27240 double arg5 ;
27241 double arg6 ;
b411df4a 27242 bool arg7 = (bool) true ;
44127b65
RD
27243 PyObject * obj0 = 0 ;
27244 PyObject * obj1 = 0 ;
8edf1c75
RD
27245 PyObject * obj2 = 0 ;
27246 PyObject * obj3 = 0 ;
27247 PyObject * obj4 = 0 ;
27248 PyObject * obj5 = 0 ;
44127b65
RD
27249 PyObject * obj6 = 0 ;
27250 char *kwnames[] = {
27251 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
27252 };
27253
8edf1c75 27254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyCircleShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
27255 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCircleShape, SWIG_POINTER_EXCEPTION | 0);
27256 if (SWIG_arg_fail(1)) SWIG_fail;
27257 {
27258 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
27259 if (SWIG_arg_fail(2)) SWIG_fail;
27260 if (arg2 == NULL) {
27261 SWIG_null_ref("wxDC");
27262 }
27263 if (SWIG_arg_fail(2)) SWIG_fail;
27264 }
27265 {
27266 arg3 = (double)(SWIG_As_double(obj2));
27267 if (SWIG_arg_fail(3)) SWIG_fail;
27268 }
27269 {
27270 arg4 = (double)(SWIG_As_double(obj3));
27271 if (SWIG_arg_fail(4)) SWIG_fail;
27272 }
27273 {
27274 arg5 = (double)(SWIG_As_double(obj4));
27275 if (SWIG_arg_fail(5)) SWIG_fail;
27276 }
27277 {
27278 arg6 = (double)(SWIG_As_double(obj5));
27279 if (SWIG_arg_fail(6)) SWIG_fail;
27280 }
44127b65 27281 if (obj6) {
36ed4f51
RD
27282 {
27283 arg7 = (bool)(SWIG_As_bool(obj6));
27284 if (SWIG_arg_fail(7)) SWIG_fail;
27285 }
44127b65
RD
27286 }
27287 {
27288 PyThreadState* __tstate = wxPyBeginAllowThreads();
27289 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
27290
27291 wxPyEndAllowThreads(__tstate);
27292 if (PyErr_Occurred()) SWIG_fail;
27293 }
27294 Py_INCREF(Py_None); resultobj = Py_None;
27295 return resultobj;
27296 fail:
27297 return NULL;
27298}
27299
27300
c370783e 27301static PyObject *_wrap_PyCircleShape_base_OnDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
27302 PyObject *resultobj;
27303 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
27304 bool arg2 ;
27305 double arg3 ;
27306 double arg4 ;
27307 int arg5 = (int) 0 ;
27308 int arg6 = (int) 0 ;
27309 PyObject * obj0 = 0 ;
27310 PyObject * obj1 = 0 ;
8edf1c75
RD
27311 PyObject * obj2 = 0 ;
27312 PyObject * obj3 = 0 ;
27313 PyObject * obj4 = 0 ;
27314 PyObject * obj5 = 0 ;
44127b65
RD
27315 char *kwnames[] = {
27316 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27317 };
27318
8edf1c75 27319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCircleShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
27320 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCircleShape, SWIG_POINTER_EXCEPTION | 0);
27321 if (SWIG_arg_fail(1)) SWIG_fail;
27322 {
27323 arg2 = (bool)(SWIG_As_bool(obj1));
27324 if (SWIG_arg_fail(2)) SWIG_fail;
27325 }
27326 {
27327 arg3 = (double)(SWIG_As_double(obj2));
27328 if (SWIG_arg_fail(3)) SWIG_fail;
27329 }
27330 {
27331 arg4 = (double)(SWIG_As_double(obj3));
27332 if (SWIG_arg_fail(4)) SWIG_fail;
27333 }
8edf1c75 27334 if (obj4) {
36ed4f51
RD
27335 {
27336 arg5 = (int)(SWIG_As_int(obj4));
27337 if (SWIG_arg_fail(5)) SWIG_fail;
27338 }
8edf1c75
RD
27339 }
27340 if (obj5) {
36ed4f51
RD
27341 {
27342 arg6 = (int)(SWIG_As_int(obj5));
27343 if (SWIG_arg_fail(6)) SWIG_fail;
27344 }
8edf1c75 27345 }
44127b65
RD
27346 {
27347 PyThreadState* __tstate = wxPyBeginAllowThreads();
27348 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
27349
27350 wxPyEndAllowThreads(__tstate);
27351 if (PyErr_Occurred()) SWIG_fail;
27352 }
27353 Py_INCREF(Py_None); resultobj = Py_None;
27354 return resultobj;
27355 fail:
27356 return NULL;
27357}
27358
27359
c370783e 27360static PyObject *_wrap_PyCircleShape_base_OnBeginDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
27361 PyObject *resultobj;
27362 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
27363 double arg2 ;
27364 double arg3 ;
27365 int arg4 = (int) 0 ;
27366 int arg5 = (int) 0 ;
27367 PyObject * obj0 = 0 ;
8edf1c75
RD
27368 PyObject * obj1 = 0 ;
27369 PyObject * obj2 = 0 ;
27370 PyObject * obj3 = 0 ;
27371 PyObject * obj4 = 0 ;
44127b65
RD
27372 char *kwnames[] = {
27373 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27374 };
27375
8edf1c75 27376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
27377 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCircleShape, SWIG_POINTER_EXCEPTION | 0);
27378 if (SWIG_arg_fail(1)) SWIG_fail;
27379 {
27380 arg2 = (double)(SWIG_As_double(obj1));
27381 if (SWIG_arg_fail(2)) SWIG_fail;
27382 }
27383 {
27384 arg3 = (double)(SWIG_As_double(obj2));
27385 if (SWIG_arg_fail(3)) SWIG_fail;
27386 }
8edf1c75 27387 if (obj3) {
36ed4f51
RD
27388 {
27389 arg4 = (int)(SWIG_As_int(obj3));
27390 if (SWIG_arg_fail(4)) SWIG_fail;
27391 }
8edf1c75
RD
27392 }
27393 if (obj4) {
36ed4f51
RD
27394 {
27395 arg5 = (int)(SWIG_As_int(obj4));
27396 if (SWIG_arg_fail(5)) SWIG_fail;
27397 }
8edf1c75 27398 }
44127b65
RD
27399 {
27400 PyThreadState* __tstate = wxPyBeginAllowThreads();
27401 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
27402
27403 wxPyEndAllowThreads(__tstate);
27404 if (PyErr_Occurred()) SWIG_fail;
27405 }
27406 Py_INCREF(Py_None); resultobj = Py_None;
27407 return resultobj;
27408 fail:
27409 return NULL;
27410}
27411
27412
c370783e 27413static PyObject *_wrap_PyCircleShape_base_OnEndDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
27414 PyObject *resultobj;
27415 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
27416 double arg2 ;
27417 double arg3 ;
27418 int arg4 = (int) 0 ;
27419 int arg5 = (int) 0 ;
27420 PyObject * obj0 = 0 ;
8edf1c75
RD
27421 PyObject * obj1 = 0 ;
27422 PyObject * obj2 = 0 ;
27423 PyObject * obj3 = 0 ;
27424 PyObject * obj4 = 0 ;
44127b65
RD
27425 char *kwnames[] = {
27426 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27427 };
27428
8edf1c75 27429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
27430 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCircleShape, SWIG_POINTER_EXCEPTION | 0);
27431 if (SWIG_arg_fail(1)) SWIG_fail;
27432 {
27433 arg2 = (double)(SWIG_As_double(obj1));
27434 if (SWIG_arg_fail(2)) SWIG_fail;
27435 }
27436 {
27437 arg3 = (double)(SWIG_As_double(obj2));
27438 if (SWIG_arg_fail(3)) SWIG_fail;
27439 }
8edf1c75 27440 if (obj3) {
36ed4f51
RD
27441 {
27442 arg4 = (int)(SWIG_As_int(obj3));
27443 if (SWIG_arg_fail(4)) SWIG_fail;
27444 }
8edf1c75
RD
27445 }
27446 if (obj4) {
36ed4f51
RD
27447 {
27448 arg5 = (int)(SWIG_As_int(obj4));
27449 if (SWIG_arg_fail(5)) SWIG_fail;
27450 }
8edf1c75 27451 }
44127b65
RD
27452 {
27453 PyThreadState* __tstate = wxPyBeginAllowThreads();
27454 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
27455
27456 wxPyEndAllowThreads(__tstate);
27457 if (PyErr_Occurred()) SWIG_fail;
27458 }
27459 Py_INCREF(Py_None); resultobj = Py_None;
27460 return resultobj;
27461 fail:
27462 return NULL;
27463}
27464
27465
c370783e 27466static PyObject *_wrap_PyCircleShape_base_OnDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
27467 PyObject *resultobj;
27468 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
27469 bool arg2 ;
27470 double arg3 ;
27471 double arg4 ;
27472 int arg5 = (int) 0 ;
27473 int arg6 = (int) 0 ;
27474 PyObject * obj0 = 0 ;
27475 PyObject * obj1 = 0 ;
8edf1c75
RD
27476 PyObject * obj2 = 0 ;
27477 PyObject * obj3 = 0 ;
27478 PyObject * obj4 = 0 ;
27479 PyObject * obj5 = 0 ;
44127b65
RD
27480 char *kwnames[] = {
27481 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27482 };
27483
8edf1c75 27484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCircleShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
27485 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCircleShape, SWIG_POINTER_EXCEPTION | 0);
27486 if (SWIG_arg_fail(1)) SWIG_fail;
27487 {
27488 arg2 = (bool)(SWIG_As_bool(obj1));
27489 if (SWIG_arg_fail(2)) SWIG_fail;
27490 }
27491 {
27492 arg3 = (double)(SWIG_As_double(obj2));
27493 if (SWIG_arg_fail(3)) SWIG_fail;
27494 }
27495 {
27496 arg4 = (double)(SWIG_As_double(obj3));
27497 if (SWIG_arg_fail(4)) SWIG_fail;
27498 }
8edf1c75 27499 if (obj4) {
36ed4f51
RD
27500 {
27501 arg5 = (int)(SWIG_As_int(obj4));
27502 if (SWIG_arg_fail(5)) SWIG_fail;
27503 }
8edf1c75
RD
27504 }
27505 if (obj5) {
36ed4f51
RD
27506 {
27507 arg6 = (int)(SWIG_As_int(obj5));
27508 if (SWIG_arg_fail(6)) SWIG_fail;
27509 }
8edf1c75 27510 }
44127b65
RD
27511 {
27512 PyThreadState* __tstate = wxPyBeginAllowThreads();
27513 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
27514
27515 wxPyEndAllowThreads(__tstate);
27516 if (PyErr_Occurred()) SWIG_fail;
27517 }
27518 Py_INCREF(Py_None); resultobj = Py_None;
27519 return resultobj;
27520 fail:
27521 return NULL;
27522}
27523
27524
c370783e 27525static PyObject *_wrap_PyCircleShape_base_OnBeginDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
27526 PyObject *resultobj;
27527 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
27528 double arg2 ;
27529 double arg3 ;
27530 int arg4 = (int) 0 ;
27531 int arg5 = (int) 0 ;
27532 PyObject * obj0 = 0 ;
8edf1c75
RD
27533 PyObject * obj1 = 0 ;
27534 PyObject * obj2 = 0 ;
27535 PyObject * obj3 = 0 ;
27536 PyObject * obj4 = 0 ;
44127b65
RD
27537 char *kwnames[] = {
27538 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27539 };
27540
8edf1c75 27541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
27542 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCircleShape, SWIG_POINTER_EXCEPTION | 0);
27543 if (SWIG_arg_fail(1)) SWIG_fail;
27544 {
27545 arg2 = (double)(SWIG_As_double(obj1));
27546 if (SWIG_arg_fail(2)) SWIG_fail;
27547 }
27548 {
27549 arg3 = (double)(SWIG_As_double(obj2));
27550 if (SWIG_arg_fail(3)) SWIG_fail;
27551 }
8edf1c75 27552 if (obj3) {
36ed4f51
RD
27553 {
27554 arg4 = (int)(SWIG_As_int(obj3));
27555 if (SWIG_arg_fail(4)) SWIG_fail;
27556 }
8edf1c75
RD
27557 }
27558 if (obj4) {
36ed4f51
RD
27559 {
27560 arg5 = (int)(SWIG_As_int(obj4));
27561 if (SWIG_arg_fail(5)) SWIG_fail;
27562 }
8edf1c75 27563 }
44127b65
RD
27564 {
27565 PyThreadState* __tstate = wxPyBeginAllowThreads();
27566 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
27567
27568 wxPyEndAllowThreads(__tstate);
27569 if (PyErr_Occurred()) SWIG_fail;
27570 }
27571 Py_INCREF(Py_None); resultobj = Py_None;
27572 return resultobj;
27573 fail:
27574 return NULL;
27575}
27576
27577
c370783e 27578static PyObject *_wrap_PyCircleShape_base_OnEndDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
27579 PyObject *resultobj;
27580 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
27581 double arg2 ;
27582 double arg3 ;
27583 int arg4 = (int) 0 ;
27584 int arg5 = (int) 0 ;
27585 PyObject * obj0 = 0 ;
8edf1c75
RD
27586 PyObject * obj1 = 0 ;
27587 PyObject * obj2 = 0 ;
27588 PyObject * obj3 = 0 ;
27589 PyObject * obj4 = 0 ;
44127b65
RD
27590 char *kwnames[] = {
27591 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27592 };
27593
8edf1c75 27594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyCircleShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
27595 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCircleShape, SWIG_POINTER_EXCEPTION | 0);
27596 if (SWIG_arg_fail(1)) SWIG_fail;
27597 {
27598 arg2 = (double)(SWIG_As_double(obj1));
27599 if (SWIG_arg_fail(2)) SWIG_fail;
27600 }
27601 {
27602 arg3 = (double)(SWIG_As_double(obj2));
27603 if (SWIG_arg_fail(3)) SWIG_fail;
27604 }
8edf1c75 27605 if (obj3) {
36ed4f51
RD
27606 {
27607 arg4 = (int)(SWIG_As_int(obj3));
27608 if (SWIG_arg_fail(4)) SWIG_fail;
27609 }
8edf1c75
RD
27610 }
27611 if (obj4) {
36ed4f51
RD
27612 {
27613 arg5 = (int)(SWIG_As_int(obj4));
27614 if (SWIG_arg_fail(5)) SWIG_fail;
27615 }
8edf1c75 27616 }
44127b65
RD
27617 {
27618 PyThreadState* __tstate = wxPyBeginAllowThreads();
27619 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
27620
27621 wxPyEndAllowThreads(__tstate);
27622 if (PyErr_Occurred()) SWIG_fail;
27623 }
27624 Py_INCREF(Py_None); resultobj = Py_None;
27625 return resultobj;
27626 fail:
27627 return NULL;
27628}
27629
27630
c370783e 27631static PyObject *_wrap_PyCircleShape_base_OnDrawOutline(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
27632 PyObject *resultobj;
27633 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
27634 wxDC *arg2 = 0 ;
27635 double arg3 ;
27636 double arg4 ;
27637 double arg5 ;
27638 double arg6 ;
27639 PyObject * obj0 = 0 ;
27640 PyObject * obj1 = 0 ;
8edf1c75
RD
27641 PyObject * obj2 = 0 ;
27642 PyObject * obj3 = 0 ;
27643 PyObject * obj4 = 0 ;
27644 PyObject * obj5 = 0 ;
44127b65
RD
27645 char *kwnames[] = {
27646 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27647 };
27648
8edf1c75 27649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyCircleShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
27650 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCircleShape, SWIG_POINTER_EXCEPTION | 0);
27651 if (SWIG_arg_fail(1)) SWIG_fail;
27652 {
27653 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
27654 if (SWIG_arg_fail(2)) SWIG_fail;
27655 if (arg2 == NULL) {
27656 SWIG_null_ref("wxDC");
27657 }
27658 if (SWIG_arg_fail(2)) SWIG_fail;
27659 }
27660 {
27661 arg3 = (double)(SWIG_As_double(obj2));
27662 if (SWIG_arg_fail(3)) SWIG_fail;
27663 }
27664 {
27665 arg4 = (double)(SWIG_As_double(obj3));
27666 if (SWIG_arg_fail(4)) SWIG_fail;
27667 }
27668 {
27669 arg5 = (double)(SWIG_As_double(obj4));
27670 if (SWIG_arg_fail(5)) SWIG_fail;
27671 }
27672 {
27673 arg6 = (double)(SWIG_As_double(obj5));
27674 if (SWIG_arg_fail(6)) SWIG_fail;
27675 }
44127b65
RD
27676 {
27677 PyThreadState* __tstate = wxPyBeginAllowThreads();
27678 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
27679
27680 wxPyEndAllowThreads(__tstate);
27681 if (PyErr_Occurred()) SWIG_fail;
27682 }
27683 Py_INCREF(Py_None); resultobj = Py_None;
27684 return resultobj;
27685 fail:
27686 return NULL;
27687}
27688
27689
c370783e 27690static PyObject *_wrap_PyCircleShape_base_OnDrawControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
27691 PyObject *resultobj;
27692 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
27693 wxDC *arg2 = 0 ;
27694 PyObject * obj0 = 0 ;
27695 PyObject * obj1 = 0 ;
27696 char *kwnames[] = {
27697 (char *) "self",(char *) "dc", NULL
27698 };
27699
27700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27701 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCircleShape, SWIG_POINTER_EXCEPTION | 0);
27702 if (SWIG_arg_fail(1)) SWIG_fail;
27703 {
27704 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
27705 if (SWIG_arg_fail(2)) SWIG_fail;
27706 if (arg2 == NULL) {
27707 SWIG_null_ref("wxDC");
27708 }
27709 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
27710 }
27711 {
27712 PyThreadState* __tstate = wxPyBeginAllowThreads();
27713 (arg1)->base_OnDrawControlPoints(*arg2);
27714
27715 wxPyEndAllowThreads(__tstate);
27716 if (PyErr_Occurred()) SWIG_fail;
27717 }
27718 Py_INCREF(Py_None); resultobj = Py_None;
27719 return resultobj;
27720 fail:
27721 return NULL;
27722}
27723
27724
c370783e 27725static PyObject *_wrap_PyCircleShape_base_OnEraseControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
27726 PyObject *resultobj;
27727 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
27728 wxDC *arg2 = 0 ;
27729 PyObject * obj0 = 0 ;
27730 PyObject * obj1 = 0 ;
27731 char *kwnames[] = {
27732 (char *) "self",(char *) "dc", NULL
27733 };
27734
27735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCircleShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27736 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCircleShape, SWIG_POINTER_EXCEPTION | 0);
27737 if (SWIG_arg_fail(1)) SWIG_fail;
27738 {
27739 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
27740 if (SWIG_arg_fail(2)) SWIG_fail;
27741 if (arg2 == NULL) {
27742 SWIG_null_ref("wxDC");
27743 }
27744 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
27745 }
27746 {
27747 PyThreadState* __tstate = wxPyBeginAllowThreads();
27748 (arg1)->base_OnEraseControlPoints(*arg2);
27749
27750 wxPyEndAllowThreads(__tstate);
27751 if (PyErr_Occurred()) SWIG_fail;
27752 }
27753 Py_INCREF(Py_None); resultobj = Py_None;
27754 return resultobj;
27755 fail:
27756 return NULL;
27757}
27758
27759
c370783e 27760static PyObject *_wrap_PyCircleShape_base_OnMoveLink(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
27761 PyObject *resultobj;
27762 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
27763 wxDC *arg2 = 0 ;
b411df4a 27764 bool arg3 = (bool) true ;
44127b65
RD
27765 PyObject * obj0 = 0 ;
27766 PyObject * obj1 = 0 ;
27767 PyObject * obj2 = 0 ;
27768 char *kwnames[] = {
27769 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
27770 };
27771
27772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyCircleShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
27773 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCircleShape, SWIG_POINTER_EXCEPTION | 0);
27774 if (SWIG_arg_fail(1)) SWIG_fail;
27775 {
27776 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
27777 if (SWIG_arg_fail(2)) SWIG_fail;
27778 if (arg2 == NULL) {
27779 SWIG_null_ref("wxDC");
27780 }
27781 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
27782 }
27783 if (obj2) {
36ed4f51
RD
27784 {
27785 arg3 = (bool)(SWIG_As_bool(obj2));
27786 if (SWIG_arg_fail(3)) SWIG_fail;
27787 }
44127b65
RD
27788 }
27789 {
27790 PyThreadState* __tstate = wxPyBeginAllowThreads();
27791 (arg1)->base_OnMoveLink(*arg2,arg3);
27792
27793 wxPyEndAllowThreads(__tstate);
27794 if (PyErr_Occurred()) SWIG_fail;
27795 }
27796 Py_INCREF(Py_None); resultobj = Py_None;
27797 return resultobj;
27798 fail:
27799 return NULL;
27800}
27801
27802
c370783e 27803static PyObject *_wrap_PyCircleShape_base_OnSizingDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
27804 PyObject *resultobj;
27805 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
27806 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
27807 bool arg3 ;
27808 double arg4 ;
27809 double arg5 ;
27810 int arg6 = (int) 0 ;
27811 int arg7 = (int) 0 ;
27812 PyObject * obj0 = 0 ;
27813 PyObject * obj1 = 0 ;
27814 PyObject * obj2 = 0 ;
8edf1c75
RD
27815 PyObject * obj3 = 0 ;
27816 PyObject * obj4 = 0 ;
27817 PyObject * obj5 = 0 ;
27818 PyObject * obj6 = 0 ;
44127b65
RD
27819 char *kwnames[] = {
27820 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27821 };
27822
8edf1c75 27823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyCircleShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
27824 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCircleShape, SWIG_POINTER_EXCEPTION | 0);
27825 if (SWIG_arg_fail(1)) SWIG_fail;
27826 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
27827 if (SWIG_arg_fail(2)) SWIG_fail;
27828 {
27829 arg3 = (bool)(SWIG_As_bool(obj2));
27830 if (SWIG_arg_fail(3)) SWIG_fail;
27831 }
27832 {
27833 arg4 = (double)(SWIG_As_double(obj3));
27834 if (SWIG_arg_fail(4)) SWIG_fail;
27835 }
27836 {
27837 arg5 = (double)(SWIG_As_double(obj4));
27838 if (SWIG_arg_fail(5)) SWIG_fail;
27839 }
8edf1c75 27840 if (obj5) {
36ed4f51
RD
27841 {
27842 arg6 = (int)(SWIG_As_int(obj5));
27843 if (SWIG_arg_fail(6)) SWIG_fail;
27844 }
8edf1c75
RD
27845 }
27846 if (obj6) {
36ed4f51
RD
27847 {
27848 arg7 = (int)(SWIG_As_int(obj6));
27849 if (SWIG_arg_fail(7)) SWIG_fail;
27850 }
8edf1c75 27851 }
44127b65
RD
27852 {
27853 PyThreadState* __tstate = wxPyBeginAllowThreads();
27854 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
27855
27856 wxPyEndAllowThreads(__tstate);
27857 if (PyErr_Occurred()) SWIG_fail;
27858 }
27859 Py_INCREF(Py_None); resultobj = Py_None;
27860 return resultobj;
27861 fail:
27862 return NULL;
27863}
27864
27865
c370783e 27866static PyObject *_wrap_PyCircleShape_base_OnSizingBeginDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
27867 PyObject *resultobj;
27868 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
27869 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
27870 double arg3 ;
27871 double arg4 ;
27872 int arg5 = (int) 0 ;
27873 int arg6 = (int) 0 ;
27874 PyObject * obj0 = 0 ;
27875 PyObject * obj1 = 0 ;
8edf1c75
RD
27876 PyObject * obj2 = 0 ;
27877 PyObject * obj3 = 0 ;
27878 PyObject * obj4 = 0 ;
27879 PyObject * obj5 = 0 ;
44127b65
RD
27880 char *kwnames[] = {
27881 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27882 };
27883
8edf1c75 27884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCircleShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
27885 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCircleShape, SWIG_POINTER_EXCEPTION | 0);
27886 if (SWIG_arg_fail(1)) SWIG_fail;
27887 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
27888 if (SWIG_arg_fail(2)) SWIG_fail;
27889 {
27890 arg3 = (double)(SWIG_As_double(obj2));
27891 if (SWIG_arg_fail(3)) SWIG_fail;
27892 }
27893 {
27894 arg4 = (double)(SWIG_As_double(obj3));
27895 if (SWIG_arg_fail(4)) SWIG_fail;
27896 }
8edf1c75 27897 if (obj4) {
36ed4f51
RD
27898 {
27899 arg5 = (int)(SWIG_As_int(obj4));
27900 if (SWIG_arg_fail(5)) SWIG_fail;
27901 }
8edf1c75
RD
27902 }
27903 if (obj5) {
36ed4f51
RD
27904 {
27905 arg6 = (int)(SWIG_As_int(obj5));
27906 if (SWIG_arg_fail(6)) SWIG_fail;
27907 }
8edf1c75 27908 }
44127b65
RD
27909 {
27910 PyThreadState* __tstate = wxPyBeginAllowThreads();
27911 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
27912
27913 wxPyEndAllowThreads(__tstate);
27914 if (PyErr_Occurred()) SWIG_fail;
27915 }
27916 Py_INCREF(Py_None); resultobj = Py_None;
27917 return resultobj;
27918 fail:
27919 return NULL;
27920}
27921
27922
c370783e 27923static PyObject *_wrap_PyCircleShape_base_OnSizingEndDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
27924 PyObject *resultobj;
27925 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
27926 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
27927 double arg3 ;
27928 double arg4 ;
27929 int arg5 = (int) 0 ;
27930 int arg6 = (int) 0 ;
27931 PyObject * obj0 = 0 ;
27932 PyObject * obj1 = 0 ;
8edf1c75
RD
27933 PyObject * obj2 = 0 ;
27934 PyObject * obj3 = 0 ;
27935 PyObject * obj4 = 0 ;
27936 PyObject * obj5 = 0 ;
44127b65
RD
27937 char *kwnames[] = {
27938 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
27939 };
27940
8edf1c75 27941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyCircleShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
27942 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCircleShape, SWIG_POINTER_EXCEPTION | 0);
27943 if (SWIG_arg_fail(1)) SWIG_fail;
27944 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
27945 if (SWIG_arg_fail(2)) SWIG_fail;
27946 {
27947 arg3 = (double)(SWIG_As_double(obj2));
27948 if (SWIG_arg_fail(3)) SWIG_fail;
27949 }
27950 {
27951 arg4 = (double)(SWIG_As_double(obj3));
27952 if (SWIG_arg_fail(4)) SWIG_fail;
27953 }
8edf1c75 27954 if (obj4) {
36ed4f51
RD
27955 {
27956 arg5 = (int)(SWIG_As_int(obj4));
27957 if (SWIG_arg_fail(5)) SWIG_fail;
27958 }
8edf1c75
RD
27959 }
27960 if (obj5) {
36ed4f51
RD
27961 {
27962 arg6 = (int)(SWIG_As_int(obj5));
27963 if (SWIG_arg_fail(6)) SWIG_fail;
27964 }
8edf1c75 27965 }
44127b65
RD
27966 {
27967 PyThreadState* __tstate = wxPyBeginAllowThreads();
27968 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
27969
27970 wxPyEndAllowThreads(__tstate);
27971 if (PyErr_Occurred()) SWIG_fail;
27972 }
27973 Py_INCREF(Py_None); resultobj = Py_None;
27974 return resultobj;
27975 fail:
27976 return NULL;
27977}
27978
27979
c370783e 27980static PyObject *_wrap_PyCircleShape_base_OnBeginSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
27981 PyObject *resultobj;
27982 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
27983 double arg2 ;
27984 double arg3 ;
27985 PyObject * obj0 = 0 ;
8edf1c75
RD
27986 PyObject * obj1 = 0 ;
27987 PyObject * obj2 = 0 ;
44127b65
RD
27988 char *kwnames[] = {
27989 (char *) "self",(char *) "w",(char *) "h", NULL
27990 };
27991
8edf1c75 27992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCircleShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
27993 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCircleShape, SWIG_POINTER_EXCEPTION | 0);
27994 if (SWIG_arg_fail(1)) SWIG_fail;
27995 {
27996 arg2 = (double)(SWIG_As_double(obj1));
27997 if (SWIG_arg_fail(2)) SWIG_fail;
27998 }
27999 {
28000 arg3 = (double)(SWIG_As_double(obj2));
28001 if (SWIG_arg_fail(3)) SWIG_fail;
28002 }
44127b65
RD
28003 {
28004 PyThreadState* __tstate = wxPyBeginAllowThreads();
28005 (arg1)->base_OnBeginSize(arg2,arg3);
28006
28007 wxPyEndAllowThreads(__tstate);
28008 if (PyErr_Occurred()) SWIG_fail;
28009 }
28010 Py_INCREF(Py_None); resultobj = Py_None;
28011 return resultobj;
28012 fail:
28013 return NULL;
28014}
28015
28016
c370783e 28017static PyObject *_wrap_PyCircleShape_base_OnEndSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
28018 PyObject *resultobj;
28019 wxPyCircleShape *arg1 = (wxPyCircleShape *) 0 ;
28020 double arg2 ;
28021 double arg3 ;
28022 PyObject * obj0 = 0 ;
8edf1c75
RD
28023 PyObject * obj1 = 0 ;
28024 PyObject * obj2 = 0 ;
44127b65
RD
28025 char *kwnames[] = {
28026 (char *) "self",(char *) "w",(char *) "h", NULL
28027 };
28028
8edf1c75 28029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyCircleShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
28030 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCircleShape, SWIG_POINTER_EXCEPTION | 0);
28031 if (SWIG_arg_fail(1)) SWIG_fail;
28032 {
28033 arg2 = (double)(SWIG_As_double(obj1));
28034 if (SWIG_arg_fail(2)) SWIG_fail;
28035 }
28036 {
28037 arg3 = (double)(SWIG_As_double(obj2));
28038 if (SWIG_arg_fail(3)) SWIG_fail;
28039 }
44127b65
RD
28040 {
28041 PyThreadState* __tstate = wxPyBeginAllowThreads();
28042 (arg1)->base_OnEndSize(arg2,arg3);
28043
28044 wxPyEndAllowThreads(__tstate);
28045 if (PyErr_Occurred()) SWIG_fail;
28046 }
28047 Py_INCREF(Py_None); resultobj = Py_None;
28048 return resultobj;
28049 fail:
28050 return NULL;
28051}
28052
28053
c370783e 28054static PyObject * PyCircleShape_swigregister(PyObject *, PyObject *args) {
44127b65
RD
28055 PyObject *obj;
28056 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28057 SWIG_TypeClientData(SWIGTYPE_p_wxPyCircleShape, obj);
28058 Py_INCREF(obj);
28059 return Py_BuildValue((char *)"");
28060}
c370783e 28061static PyObject *_wrap_new_ArrowHead(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
28062 PyObject *resultobj;
28063 int arg1 = (int) 0 ;
28064 int arg2 = (int) 0 ;
28065 double arg3 = (double) 0.0 ;
28066 double arg4 = (double) 0.0 ;
28067 wxString const &arg5_defvalue = wxPyEmptyString ;
28068 wxString *arg5 = (wxString *) &arg5_defvalue ;
28069 wxPseudoMetaFile *arg6 = (wxPseudoMetaFile *) NULL ;
28070 long arg7 = (long) -1 ;
28071 wxArrowHead *result;
b411df4a 28072 bool temp5 = false ;
8edf1c75
RD
28073 PyObject * obj0 = 0 ;
28074 PyObject * obj1 = 0 ;
28075 PyObject * obj2 = 0 ;
28076 PyObject * obj3 = 0 ;
44127b65
RD
28077 PyObject * obj4 = 0 ;
28078 PyObject * obj5 = 0 ;
8edf1c75 28079 PyObject * obj6 = 0 ;
44127b65
RD
28080 char *kwnames[] = {
28081 (char *) "type",(char *) "end",(char *) "size",(char *) "dist",(char *) "name",(char *) "mf",(char *) "arrowId", NULL
28082 };
28083
8edf1c75
RD
28084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOOO:new_ArrowHead",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
28085 if (obj0) {
36ed4f51
RD
28086 {
28087 arg1 = (int)(SWIG_As_int(obj0));
28088 if (SWIG_arg_fail(1)) SWIG_fail;
28089 }
8edf1c75
RD
28090 }
28091 if (obj1) {
36ed4f51
RD
28092 {
28093 arg2 = (int)(SWIG_As_int(obj1));
28094 if (SWIG_arg_fail(2)) SWIG_fail;
28095 }
8edf1c75
RD
28096 }
28097 if (obj2) {
36ed4f51
RD
28098 {
28099 arg3 = (double)(SWIG_As_double(obj2));
28100 if (SWIG_arg_fail(3)) SWIG_fail;
28101 }
8edf1c75
RD
28102 }
28103 if (obj3) {
36ed4f51
RD
28104 {
28105 arg4 = (double)(SWIG_As_double(obj3));
28106 if (SWIG_arg_fail(4)) SWIG_fail;
28107 }
8edf1c75 28108 }
44127b65
RD
28109 if (obj4) {
28110 {
28111 arg5 = wxString_in_helper(obj4);
28112 if (arg5 == NULL) SWIG_fail;
b411df4a 28113 temp5 = true;
44127b65
RD
28114 }
28115 }
28116 if (obj5) {
36ed4f51
RD
28117 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPseudoMetaFile, SWIG_POINTER_EXCEPTION | 0);
28118 if (SWIG_arg_fail(6)) SWIG_fail;
44127b65 28119 }
8edf1c75 28120 if (obj6) {
36ed4f51
RD
28121 {
28122 arg7 = (long)(SWIG_As_long(obj6));
28123 if (SWIG_arg_fail(7)) SWIG_fail;
28124 }
8edf1c75 28125 }
44127b65
RD
28126 {
28127 PyThreadState* __tstate = wxPyBeginAllowThreads();
28128 result = (wxArrowHead *)new wxArrowHead(arg1,arg2,arg3,arg4,(wxString const &)*arg5,arg6,arg7);
28129
28130 wxPyEndAllowThreads(__tstate);
28131 if (PyErr_Occurred()) SWIG_fail;
28132 }
28133 {
412d302d 28134 resultobj = wxPyMake_wxObject(result, 1);
44127b65
RD
28135 }
28136 {
28137 if (temp5)
28138 delete arg5;
28139 }
28140 return resultobj;
28141 fail:
28142 {
28143 if (temp5)
28144 delete arg5;
28145 }
28146 return NULL;
28147}
28148
28149
c370783e 28150static PyObject *_wrap_delete_ArrowHead(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
28151 PyObject *resultobj;
28152 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
28153 PyObject * obj0 = 0 ;
28154 char *kwnames[] = {
28155 (char *) "self", NULL
28156 };
28157
28158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ArrowHead",kwnames,&obj0)) goto fail;
36ed4f51
RD
28159 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxArrowHead, SWIG_POINTER_EXCEPTION | 0);
28160 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
28161 {
28162 PyThreadState* __tstate = wxPyBeginAllowThreads();
28163 delete arg1;
28164
28165 wxPyEndAllowThreads(__tstate);
28166 if (PyErr_Occurred()) SWIG_fail;
28167 }
28168 Py_INCREF(Py_None); resultobj = Py_None;
28169 return resultobj;
28170 fail:
28171 return NULL;
28172}
28173
28174
c370783e 28175static PyObject *_wrap_ArrowHead__GetType(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
28176 PyObject *resultobj;
28177 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
28178 int result;
28179 PyObject * obj0 = 0 ;
28180 char *kwnames[] = {
28181 (char *) "self", NULL
28182 };
28183
28184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead__GetType",kwnames,&obj0)) goto fail;
36ed4f51
RD
28185 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxArrowHead, SWIG_POINTER_EXCEPTION | 0);
28186 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
28187 {
28188 PyThreadState* __tstate = wxPyBeginAllowThreads();
28189 result = (int)(arg1)->_GetType();
28190
28191 wxPyEndAllowThreads(__tstate);
28192 if (PyErr_Occurred()) SWIG_fail;
28193 }
36ed4f51
RD
28194 {
28195 resultobj = SWIG_From_int((int)(result));
28196 }
44127b65
RD
28197 return resultobj;
28198 fail:
28199 return NULL;
28200}
28201
28202
c370783e 28203static PyObject *_wrap_ArrowHead_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
28204 PyObject *resultobj;
28205 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
28206 int result;
28207 PyObject * obj0 = 0 ;
28208 char *kwnames[] = {
28209 (char *) "self", NULL
28210 };
28211
28212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetPosition",kwnames,&obj0)) goto fail;
36ed4f51
RD
28213 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxArrowHead, SWIG_POINTER_EXCEPTION | 0);
28214 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
28215 {
28216 PyThreadState* __tstate = wxPyBeginAllowThreads();
28217 result = (int)(arg1)->GetPosition();
28218
28219 wxPyEndAllowThreads(__tstate);
28220 if (PyErr_Occurred()) SWIG_fail;
28221 }
36ed4f51
RD
28222 {
28223 resultobj = SWIG_From_int((int)(result));
28224 }
44127b65
RD
28225 return resultobj;
28226 fail:
28227 return NULL;
28228}
28229
28230
c370783e 28231static PyObject *_wrap_ArrowHead_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
28232 PyObject *resultobj;
28233 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
28234 int arg2 ;
28235 PyObject * obj0 = 0 ;
8edf1c75 28236 PyObject * obj1 = 0 ;
44127b65
RD
28237 char *kwnames[] = {
28238 (char *) "self",(char *) "pos", NULL
28239 };
28240
8edf1c75 28241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ArrowHead_SetPosition",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28242 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxArrowHead, SWIG_POINTER_EXCEPTION | 0);
28243 if (SWIG_arg_fail(1)) SWIG_fail;
28244 {
28245 arg2 = (int)(SWIG_As_int(obj1));
28246 if (SWIG_arg_fail(2)) SWIG_fail;
28247 }
44127b65
RD
28248 {
28249 PyThreadState* __tstate = wxPyBeginAllowThreads();
28250 (arg1)->SetPosition(arg2);
28251
28252 wxPyEndAllowThreads(__tstate);
28253 if (PyErr_Occurred()) SWIG_fail;
28254 }
28255 Py_INCREF(Py_None); resultobj = Py_None;
28256 return resultobj;
28257 fail:
28258 return NULL;
28259}
28260
28261
c370783e 28262static PyObject *_wrap_ArrowHead_GetXOffset(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
28263 PyObject *resultobj;
28264 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
28265 double result;
28266 PyObject * obj0 = 0 ;
28267 char *kwnames[] = {
28268 (char *) "self", NULL
28269 };
28270
28271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetXOffset",kwnames,&obj0)) goto fail;
36ed4f51
RD
28272 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxArrowHead, SWIG_POINTER_EXCEPTION | 0);
28273 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
28274 {
28275 PyThreadState* __tstate = wxPyBeginAllowThreads();
28276 result = (double)(arg1)->GetXOffset();
28277
28278 wxPyEndAllowThreads(__tstate);
28279 if (PyErr_Occurred()) SWIG_fail;
28280 }
36ed4f51
RD
28281 {
28282 resultobj = SWIG_From_double((double)(result));
28283 }
44127b65
RD
28284 return resultobj;
28285 fail:
28286 return NULL;
28287}
28288
28289
c370783e 28290static PyObject *_wrap_ArrowHead_GetYOffset(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
28291 PyObject *resultobj;
28292 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
28293 double result;
28294 PyObject * obj0 = 0 ;
28295 char *kwnames[] = {
28296 (char *) "self", NULL
28297 };
28298
28299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetYOffset",kwnames,&obj0)) goto fail;
36ed4f51
RD
28300 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxArrowHead, SWIG_POINTER_EXCEPTION | 0);
28301 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
28302 {
28303 PyThreadState* __tstate = wxPyBeginAllowThreads();
28304 result = (double)(arg1)->GetYOffset();
28305
28306 wxPyEndAllowThreads(__tstate);
28307 if (PyErr_Occurred()) SWIG_fail;
28308 }
36ed4f51
RD
28309 {
28310 resultobj = SWIG_From_double((double)(result));
28311 }
44127b65
RD
28312 return resultobj;
28313 fail:
28314 return NULL;
28315}
28316
28317
c370783e 28318static PyObject *_wrap_ArrowHead_GetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
28319 PyObject *resultobj;
28320 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
28321 double result;
28322 PyObject * obj0 = 0 ;
28323 char *kwnames[] = {
28324 (char *) "self", NULL
28325 };
28326
28327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetSpacing",kwnames,&obj0)) goto fail;
36ed4f51
RD
28328 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxArrowHead, SWIG_POINTER_EXCEPTION | 0);
28329 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
28330 {
28331 PyThreadState* __tstate = wxPyBeginAllowThreads();
28332 result = (double)(arg1)->GetSpacing();
28333
28334 wxPyEndAllowThreads(__tstate);
28335 if (PyErr_Occurred()) SWIG_fail;
28336 }
36ed4f51
RD
28337 {
28338 resultobj = SWIG_From_double((double)(result));
28339 }
44127b65
RD
28340 return resultobj;
28341 fail:
28342 return NULL;
28343}
28344
28345
c370783e 28346static PyObject *_wrap_ArrowHead_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
28347 PyObject *resultobj;
28348 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
28349 double result;
28350 PyObject * obj0 = 0 ;
28351 char *kwnames[] = {
28352 (char *) "self", NULL
28353 };
28354
28355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
28356 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxArrowHead, SWIG_POINTER_EXCEPTION | 0);
28357 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
28358 {
28359 PyThreadState* __tstate = wxPyBeginAllowThreads();
28360 result = (double)(arg1)->GetSize();
28361
28362 wxPyEndAllowThreads(__tstate);
28363 if (PyErr_Occurred()) SWIG_fail;
28364 }
36ed4f51
RD
28365 {
28366 resultobj = SWIG_From_double((double)(result));
28367 }
44127b65
RD
28368 return resultobj;
28369 fail:
28370 return NULL;
28371}
28372
28373
c370783e 28374static PyObject *_wrap_ArrowHead_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
28375 PyObject *resultobj;
28376 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
28377 wxString result;
28378 PyObject * obj0 = 0 ;
28379 char *kwnames[] = {
28380 (char *) "self", NULL
28381 };
28382
28383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetName",kwnames,&obj0)) goto fail;
36ed4f51
RD
28384 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxArrowHead, SWIG_POINTER_EXCEPTION | 0);
28385 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
28386 {
28387 PyThreadState* __tstate = wxPyBeginAllowThreads();
28388 result = (arg1)->GetName();
28389
28390 wxPyEndAllowThreads(__tstate);
28391 if (PyErr_Occurred()) SWIG_fail;
28392 }
28393 {
28394#if wxUSE_UNICODE
28395 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28396#else
28397 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28398#endif
28399 }
28400 return resultobj;
28401 fail:
28402 return NULL;
28403}
28404
28405
c370783e 28406static PyObject *_wrap_ArrowHead_SetXOffset(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
28407 PyObject *resultobj;
28408 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
28409 double arg2 ;
28410 PyObject * obj0 = 0 ;
8edf1c75 28411 PyObject * obj1 = 0 ;
44127b65
RD
28412 char *kwnames[] = {
28413 (char *) "self",(char *) "x", NULL
28414 };
28415
8edf1c75 28416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ArrowHead_SetXOffset",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28417 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxArrowHead, SWIG_POINTER_EXCEPTION | 0);
28418 if (SWIG_arg_fail(1)) SWIG_fail;
28419 {
28420 arg2 = (double)(SWIG_As_double(obj1));
28421 if (SWIG_arg_fail(2)) SWIG_fail;
28422 }
44127b65
RD
28423 {
28424 PyThreadState* __tstate = wxPyBeginAllowThreads();
28425 (arg1)->SetXOffset(arg2);
28426
28427 wxPyEndAllowThreads(__tstate);
28428 if (PyErr_Occurred()) SWIG_fail;
28429 }
28430 Py_INCREF(Py_None); resultobj = Py_None;
28431 return resultobj;
28432 fail:
28433 return NULL;
28434}
28435
28436
c370783e 28437static PyObject *_wrap_ArrowHead_SetYOffset(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
28438 PyObject *resultobj;
28439 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
28440 double arg2 ;
28441 PyObject * obj0 = 0 ;
8edf1c75 28442 PyObject * obj1 = 0 ;
44127b65
RD
28443 char *kwnames[] = {
28444 (char *) "self",(char *) "y", NULL
28445 };
28446
8edf1c75 28447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ArrowHead_SetYOffset",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28448 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxArrowHead, SWIG_POINTER_EXCEPTION | 0);
28449 if (SWIG_arg_fail(1)) SWIG_fail;
28450 {
28451 arg2 = (double)(SWIG_As_double(obj1));
28452 if (SWIG_arg_fail(2)) SWIG_fail;
28453 }
44127b65
RD
28454 {
28455 PyThreadState* __tstate = wxPyBeginAllowThreads();
28456 (arg1)->SetYOffset(arg2);
28457
28458 wxPyEndAllowThreads(__tstate);
28459 if (PyErr_Occurred()) SWIG_fail;
28460 }
28461 Py_INCREF(Py_None); resultobj = Py_None;
28462 return resultobj;
28463 fail:
28464 return NULL;
28465}
28466
28467
c370783e 28468static PyObject *_wrap_ArrowHead_GetMetaFile(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
28469 PyObject *resultobj;
28470 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
28471 wxPseudoMetaFile *result;
28472 PyObject * obj0 = 0 ;
28473 char *kwnames[] = {
28474 (char *) "self", NULL
28475 };
28476
28477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetMetaFile",kwnames,&obj0)) goto fail;
36ed4f51
RD
28478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxArrowHead, SWIG_POINTER_EXCEPTION | 0);
28479 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
28480 {
28481 PyThreadState* __tstate = wxPyBeginAllowThreads();
28482 result = (wxPseudoMetaFile *)(arg1)->GetMetaFile();
28483
28484 wxPyEndAllowThreads(__tstate);
28485 if (PyErr_Occurred()) SWIG_fail;
28486 }
28487 {
412d302d 28488 resultobj = wxPyMake_wxObject(result, 0);
44127b65
RD
28489 }
28490 return resultobj;
28491 fail:
28492 return NULL;
28493}
28494
28495
c370783e 28496static PyObject *_wrap_ArrowHead_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
28497 PyObject *resultobj;
28498 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
28499 long result;
28500 PyObject * obj0 = 0 ;
28501 char *kwnames[] = {
28502 (char *) "self", NULL
28503 };
28504
28505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetId",kwnames,&obj0)) goto fail;
36ed4f51
RD
28506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxArrowHead, SWIG_POINTER_EXCEPTION | 0);
28507 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
28508 {
28509 PyThreadState* __tstate = wxPyBeginAllowThreads();
28510 result = (long)(arg1)->GetId();
28511
28512 wxPyEndAllowThreads(__tstate);
28513 if (PyErr_Occurred()) SWIG_fail;
28514 }
36ed4f51
RD
28515 {
28516 resultobj = SWIG_From_long((long)(result));
28517 }
44127b65
RD
28518 return resultobj;
28519 fail:
28520 return NULL;
28521}
28522
28523
c370783e 28524static PyObject *_wrap_ArrowHead_GetArrowEnd(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
28525 PyObject *resultobj;
28526 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
28527 int result;
28528 PyObject * obj0 = 0 ;
28529 char *kwnames[] = {
28530 (char *) "self", NULL
28531 };
28532
28533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetArrowEnd",kwnames,&obj0)) goto fail;
36ed4f51
RD
28534 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxArrowHead, SWIG_POINTER_EXCEPTION | 0);
28535 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
28536 {
28537 PyThreadState* __tstate = wxPyBeginAllowThreads();
28538 result = (int)(arg1)->GetArrowEnd();
28539
28540 wxPyEndAllowThreads(__tstate);
28541 if (PyErr_Occurred()) SWIG_fail;
28542 }
36ed4f51
RD
28543 {
28544 resultobj = SWIG_From_int((int)(result));
28545 }
44127b65
RD
28546 return resultobj;
28547 fail:
28548 return NULL;
28549}
28550
28551
c370783e 28552static PyObject *_wrap_ArrowHead_GetArrowSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
28553 PyObject *resultobj;
28554 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
28555 double result;
28556 PyObject * obj0 = 0 ;
28557 char *kwnames[] = {
28558 (char *) "self", NULL
28559 };
28560
28561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArrowHead_GetArrowSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
28562 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxArrowHead, SWIG_POINTER_EXCEPTION | 0);
28563 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
28564 {
28565 PyThreadState* __tstate = wxPyBeginAllowThreads();
28566 result = (double)(arg1)->GetArrowSize();
28567
28568 wxPyEndAllowThreads(__tstate);
28569 if (PyErr_Occurred()) SWIG_fail;
28570 }
36ed4f51
RD
28571 {
28572 resultobj = SWIG_From_double((double)(result));
28573 }
44127b65
RD
28574 return resultobj;
28575 fail:
28576 return NULL;
28577}
28578
28579
c370783e 28580static PyObject *_wrap_ArrowHead_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
28581 PyObject *resultobj;
28582 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
28583 double arg2 ;
28584 PyObject * obj0 = 0 ;
8edf1c75 28585 PyObject * obj1 = 0 ;
44127b65
RD
28586 char *kwnames[] = {
28587 (char *) "self",(char *) "size", NULL
28588 };
28589
8edf1c75 28590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ArrowHead_SetSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxArrowHead, SWIG_POINTER_EXCEPTION | 0);
28592 if (SWIG_arg_fail(1)) SWIG_fail;
28593 {
28594 arg2 = (double)(SWIG_As_double(obj1));
28595 if (SWIG_arg_fail(2)) SWIG_fail;
28596 }
44127b65
RD
28597 {
28598 PyThreadState* __tstate = wxPyBeginAllowThreads();
28599 (arg1)->SetSize(arg2);
28600
28601 wxPyEndAllowThreads(__tstate);
28602 if (PyErr_Occurred()) SWIG_fail;
28603 }
28604 Py_INCREF(Py_None); resultobj = Py_None;
28605 return resultobj;
28606 fail:
28607 return NULL;
28608}
28609
28610
c370783e 28611static PyObject *_wrap_ArrowHead_SetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
28612 PyObject *resultobj;
28613 wxArrowHead *arg1 = (wxArrowHead *) 0 ;
28614 double arg2 ;
28615 PyObject * obj0 = 0 ;
8edf1c75 28616 PyObject * obj1 = 0 ;
44127b65
RD
28617 char *kwnames[] = {
28618 (char *) "self",(char *) "sp", NULL
28619 };
28620
8edf1c75 28621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ArrowHead_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28622 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxArrowHead, SWIG_POINTER_EXCEPTION | 0);
28623 if (SWIG_arg_fail(1)) SWIG_fail;
28624 {
28625 arg2 = (double)(SWIG_As_double(obj1));
28626 if (SWIG_arg_fail(2)) SWIG_fail;
28627 }
44127b65
RD
28628 {
28629 PyThreadState* __tstate = wxPyBeginAllowThreads();
28630 (arg1)->SetSpacing(arg2);
28631
28632 wxPyEndAllowThreads(__tstate);
28633 if (PyErr_Occurred()) SWIG_fail;
28634 }
28635 Py_INCREF(Py_None); resultobj = Py_None;
28636 return resultobj;
28637 fail:
28638 return NULL;
28639}
28640
28641
c370783e 28642static PyObject * ArrowHead_swigregister(PyObject *, PyObject *args) {
44127b65
RD
28643 PyObject *obj;
28644 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28645 SWIG_TypeClientData(SWIGTYPE_p_wxArrowHead, obj);
28646 Py_INCREF(obj);
28647 return Py_BuildValue((char *)"");
28648}
c370783e 28649static PyObject *_wrap_new_PyLineShape(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
28650 PyObject *resultobj;
28651 wxPyLineShape *result;
28652 char *kwnames[] = {
28653 NULL
28654 };
28655
28656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyLineShape",kwnames)) goto fail;
28657 {
28658 PyThreadState* __tstate = wxPyBeginAllowThreads();
28659 result = (wxPyLineShape *)new wxPyLineShape();
28660
28661 wxPyEndAllowThreads(__tstate);
28662 if (PyErr_Occurred()) SWIG_fail;
28663 }
2f4c0a16 28664 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyLineShape, 1);
44127b65
RD
28665 return resultobj;
28666 fail:
28667 return NULL;
28668}
28669
28670
c370783e 28671static PyObject *_wrap_PyLineShape__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
28672 PyObject *resultobj;
28673 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
28674 PyObject *arg2 = (PyObject *) 0 ;
28675 PyObject *arg3 = (PyObject *) 0 ;
28676 PyObject * obj0 = 0 ;
28677 PyObject * obj1 = 0 ;
28678 PyObject * obj2 = 0 ;
28679 char *kwnames[] = {
28680 (char *) "self",(char *) "self",(char *) "_class", NULL
28681 };
28682
28683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
28684 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
28685 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
28686 arg2 = obj1;
28687 arg3 = obj2;
28688 {
28689 PyThreadState* __tstate = wxPyBeginAllowThreads();
28690 (arg1)->_setCallbackInfo(arg2,arg3);
28691
28692 wxPyEndAllowThreads(__tstate);
28693 if (PyErr_Occurred()) SWIG_fail;
28694 }
28695 Py_INCREF(Py_None); resultobj = Py_None;
28696 return resultobj;
28697 fail:
28698 return NULL;
28699}
28700
28701
c370783e 28702static PyObject *_wrap_PyLineShape_AddArrow(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
28703 PyObject *resultobj;
28704 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
28705 int arg2 ;
28706 int arg3 = (int) ARROW_POSITION_END ;
28707 double arg4 = (double) 10.0 ;
28708 double arg5 = (double) 0.0 ;
28709 wxString const &arg6_defvalue = wxPyEmptyString ;
28710 wxString *arg6 = (wxString *) &arg6_defvalue ;
28711 wxPseudoMetaFile *arg7 = (wxPseudoMetaFile *) NULL ;
28712 long arg8 = (long) -1 ;
b411df4a 28713 bool temp6 = false ;
44127b65 28714 PyObject * obj0 = 0 ;
8edf1c75
RD
28715 PyObject * obj1 = 0 ;
28716 PyObject * obj2 = 0 ;
28717 PyObject * obj3 = 0 ;
28718 PyObject * obj4 = 0 ;
44127b65
RD
28719 PyObject * obj5 = 0 ;
28720 PyObject * obj6 = 0 ;
8edf1c75 28721 PyObject * obj7 = 0 ;
44127b65
RD
28722 char *kwnames[] = {
28723 (char *) "self",(char *) "type",(char *) "end",(char *) "arrowSize",(char *) "xOffset",(char *) "name",(char *) "mf",(char *) "arrowId", NULL
28724 };
28725
8edf1c75 28726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:PyLineShape_AddArrow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
28727 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
28728 if (SWIG_arg_fail(1)) SWIG_fail;
28729 {
28730 arg2 = (int)(SWIG_As_int(obj1));
28731 if (SWIG_arg_fail(2)) SWIG_fail;
28732 }
8edf1c75 28733 if (obj2) {
36ed4f51
RD
28734 {
28735 arg3 = (int)(SWIG_As_int(obj2));
28736 if (SWIG_arg_fail(3)) SWIG_fail;
28737 }
8edf1c75
RD
28738 }
28739 if (obj3) {
36ed4f51
RD
28740 {
28741 arg4 = (double)(SWIG_As_double(obj3));
28742 if (SWIG_arg_fail(4)) SWIG_fail;
28743 }
8edf1c75
RD
28744 }
28745 if (obj4) {
36ed4f51
RD
28746 {
28747 arg5 = (double)(SWIG_As_double(obj4));
28748 if (SWIG_arg_fail(5)) SWIG_fail;
28749 }
8edf1c75 28750 }
44127b65
RD
28751 if (obj5) {
28752 {
28753 arg6 = wxString_in_helper(obj5);
28754 if (arg6 == NULL) SWIG_fail;
b411df4a 28755 temp6 = true;
44127b65
RD
28756 }
28757 }
28758 if (obj6) {
36ed4f51
RD
28759 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPseudoMetaFile, SWIG_POINTER_EXCEPTION | 0);
28760 if (SWIG_arg_fail(7)) SWIG_fail;
44127b65 28761 }
8edf1c75 28762 if (obj7) {
36ed4f51
RD
28763 {
28764 arg8 = (long)(SWIG_As_long(obj7));
28765 if (SWIG_arg_fail(8)) SWIG_fail;
28766 }
8edf1c75 28767 }
44127b65
RD
28768 {
28769 PyThreadState* __tstate = wxPyBeginAllowThreads();
28770 (arg1)->AddArrow(arg2,arg3,arg4,arg5,(wxString const &)*arg6,arg7,arg8);
28771
28772 wxPyEndAllowThreads(__tstate);
28773 if (PyErr_Occurred()) SWIG_fail;
28774 }
28775 Py_INCREF(Py_None); resultobj = Py_None;
28776 {
28777 if (temp6)
28778 delete arg6;
28779 }
28780 return resultobj;
28781 fail:
28782 {
28783 if (temp6)
28784 delete arg6;
28785 }
28786 return NULL;
28787}
28788
28789
c370783e 28790static PyObject *_wrap_PyLineShape_AddArrowOrdered(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
28791 PyObject *resultobj;
28792 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
28793 wxArrowHead *arg2 = (wxArrowHead *) 0 ;
28794 PyObject *arg3 = (PyObject *) 0 ;
28795 int arg4 ;
28796 PyObject * obj0 = 0 ;
28797 PyObject * obj1 = 0 ;
28798 PyObject * obj2 = 0 ;
8edf1c75 28799 PyObject * obj3 = 0 ;
44127b65
RD
28800 char *kwnames[] = {
28801 (char *) "self",(char *) "arrow",(char *) "referenceList",(char *) "end", NULL
28802 };
28803
8edf1c75 28804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyLineShape_AddArrowOrdered",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
28805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
28806 if (SWIG_arg_fail(1)) SWIG_fail;
28807 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxArrowHead, SWIG_POINTER_EXCEPTION | 0);
28808 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65 28809 arg3 = obj2;
36ed4f51
RD
28810 {
28811 arg4 = (int)(SWIG_As_int(obj3));
28812 if (SWIG_arg_fail(4)) SWIG_fail;
28813 }
44127b65
RD
28814 {
28815 PyThreadState* __tstate = wxPyBeginAllowThreads();
28816 wxPyLineShape_AddArrowOrdered(arg1,arg2,arg3,arg4);
28817
28818 wxPyEndAllowThreads(__tstate);
28819 if (PyErr_Occurred()) SWIG_fail;
28820 }
28821 Py_INCREF(Py_None); resultobj = Py_None;
28822 return resultobj;
28823 fail:
28824 return NULL;
28825}
28826
28827
c370783e 28828static PyObject *_wrap_PyLineShape_ClearArrow(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
28829 PyObject *resultobj;
28830 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
28831 wxString *arg2 = 0 ;
28832 bool result;
b411df4a 28833 bool temp2 = false ;
44127b65
RD
28834 PyObject * obj0 = 0 ;
28835 PyObject * obj1 = 0 ;
28836 char *kwnames[] = {
28837 (char *) "self",(char *) "name", NULL
28838 };
28839
28840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_ClearArrow",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28841 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
28842 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
28843 {
28844 arg2 = wxString_in_helper(obj1);
28845 if (arg2 == NULL) SWIG_fail;
b411df4a 28846 temp2 = true;
44127b65
RD
28847 }
28848 {
28849 PyThreadState* __tstate = wxPyBeginAllowThreads();
28850 result = (bool)(arg1)->ClearArrow((wxString const &)*arg2);
28851
28852 wxPyEndAllowThreads(__tstate);
28853 if (PyErr_Occurred()) SWIG_fail;
28854 }
fbc46b20
RD
28855 {
28856 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28857 }
44127b65
RD
28858 {
28859 if (temp2)
28860 delete arg2;
28861 }
28862 return resultobj;
28863 fail:
28864 {
28865 if (temp2)
28866 delete arg2;
28867 }
28868 return NULL;
28869}
28870
28871
c370783e 28872static PyObject *_wrap_PyLineShape_ClearArrowsAtPosition(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
28873 PyObject *resultobj;
28874 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
28875 int arg2 = (int) -1 ;
28876 PyObject * obj0 = 0 ;
8edf1c75 28877 PyObject * obj1 = 0 ;
44127b65
RD
28878 char *kwnames[] = {
28879 (char *) "self",(char *) "position", NULL
28880 };
28881
8edf1c75 28882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyLineShape_ClearArrowsAtPosition",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28883 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
28884 if (SWIG_arg_fail(1)) SWIG_fail;
8edf1c75 28885 if (obj1) {
36ed4f51
RD
28886 {
28887 arg2 = (int)(SWIG_As_int(obj1));
28888 if (SWIG_arg_fail(2)) SWIG_fail;
28889 }
8edf1c75 28890 }
44127b65
RD
28891 {
28892 PyThreadState* __tstate = wxPyBeginAllowThreads();
28893 (arg1)->ClearArrowsAtPosition(arg2);
28894
28895 wxPyEndAllowThreads(__tstate);
28896 if (PyErr_Occurred()) SWIG_fail;
28897 }
28898 Py_INCREF(Py_None); resultobj = Py_None;
28899 return resultobj;
28900 fail:
28901 return NULL;
28902}
28903
28904
c370783e 28905static PyObject *_wrap_PyLineShape_DrawArrow(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
28906 PyObject *resultobj;
28907 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
28908 wxDC *arg2 = 0 ;
28909 wxArrowHead *arg3 = (wxArrowHead *) 0 ;
28910 double arg4 ;
28911 bool arg5 ;
28912 PyObject * obj0 = 0 ;
28913 PyObject * obj1 = 0 ;
28914 PyObject * obj2 = 0 ;
8edf1c75 28915 PyObject * obj3 = 0 ;
44127b65
RD
28916 PyObject * obj4 = 0 ;
28917 char *kwnames[] = {
28918 (char *) "self",(char *) "dc",(char *) "arrow",(char *) "xOffset",(char *) "proportionalOffset", NULL
28919 };
28920
8edf1c75 28921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyLineShape_DrawArrow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
28922 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
28923 if (SWIG_arg_fail(1)) SWIG_fail;
28924 {
28925 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
28926 if (SWIG_arg_fail(2)) SWIG_fail;
28927 if (arg2 == NULL) {
28928 SWIG_null_ref("wxDC");
28929 }
28930 if (SWIG_arg_fail(2)) SWIG_fail;
28931 }
28932 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxArrowHead, SWIG_POINTER_EXCEPTION | 0);
28933 if (SWIG_arg_fail(3)) SWIG_fail;
28934 {
28935 arg4 = (double)(SWIG_As_double(obj3));
28936 if (SWIG_arg_fail(4)) SWIG_fail;
28937 }
28938 {
28939 arg5 = (bool)(SWIG_As_bool(obj4));
28940 if (SWIG_arg_fail(5)) SWIG_fail;
28941 }
44127b65
RD
28942 {
28943 PyThreadState* __tstate = wxPyBeginAllowThreads();
28944 (arg1)->DrawArrow(*arg2,arg3,arg4,arg5);
28945
28946 wxPyEndAllowThreads(__tstate);
28947 if (PyErr_Occurred()) SWIG_fail;
28948 }
28949 Py_INCREF(Py_None); resultobj = Py_None;
28950 return resultobj;
28951 fail:
28952 return NULL;
28953}
28954
28955
c370783e 28956static PyObject *_wrap_PyLineShape_DeleteArrowHeadId(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
28957 PyObject *resultobj;
28958 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
28959 long arg2 ;
28960 bool result;
28961 PyObject * obj0 = 0 ;
8edf1c75 28962 PyObject * obj1 = 0 ;
44127b65
RD
28963 char *kwnames[] = {
28964 (char *) "self",(char *) "arrowId", NULL
28965 };
28966
8edf1c75 28967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_DeleteArrowHeadId",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28968 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
28969 if (SWIG_arg_fail(1)) SWIG_fail;
28970 {
28971 arg2 = (long)(SWIG_As_long(obj1));
28972 if (SWIG_arg_fail(2)) SWIG_fail;
28973 }
44127b65
RD
28974 {
28975 PyThreadState* __tstate = wxPyBeginAllowThreads();
28976 result = (bool)(arg1)->DeleteArrowHead(arg2);
28977
28978 wxPyEndAllowThreads(__tstate);
28979 if (PyErr_Occurred()) SWIG_fail;
28980 }
fbc46b20
RD
28981 {
28982 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28983 }
44127b65
RD
28984 return resultobj;
28985 fail:
28986 return NULL;
28987}
28988
28989
c370783e 28990static PyObject *_wrap_PyLineShape_DeleteArrowHead(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
28991 PyObject *resultobj;
28992 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
28993 int arg2 ;
28994 wxString *arg3 = 0 ;
28995 bool result;
b411df4a 28996 bool temp3 = false ;
44127b65 28997 PyObject * obj0 = 0 ;
8edf1c75 28998 PyObject * obj1 = 0 ;
44127b65
RD
28999 PyObject * obj2 = 0 ;
29000 char *kwnames[] = {
29001 (char *) "self",(char *) "position",(char *) "name", NULL
29002 };
29003
8edf1c75 29004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_DeleteArrowHead",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
29005 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
29006 if (SWIG_arg_fail(1)) SWIG_fail;
29007 {
29008 arg2 = (int)(SWIG_As_int(obj1));
29009 if (SWIG_arg_fail(2)) SWIG_fail;
29010 }
44127b65
RD
29011 {
29012 arg3 = wxString_in_helper(obj2);
29013 if (arg3 == NULL) SWIG_fail;
b411df4a 29014 temp3 = true;
44127b65
RD
29015 }
29016 {
29017 PyThreadState* __tstate = wxPyBeginAllowThreads();
29018 result = (bool)(arg1)->DeleteArrowHead(arg2,(wxString const &)*arg3);
29019
29020 wxPyEndAllowThreads(__tstate);
29021 if (PyErr_Occurred()) SWIG_fail;
29022 }
fbc46b20
RD
29023 {
29024 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29025 }
44127b65
RD
29026 {
29027 if (temp3)
29028 delete arg3;
29029 }
29030 return resultobj;
29031 fail:
29032 {
29033 if (temp3)
29034 delete arg3;
29035 }
29036 return NULL;
29037}
29038
29039
c370783e 29040static PyObject *_wrap_PyLineShape_DeleteLineControlPoint(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
29041 PyObject *resultobj;
29042 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
29043 bool result;
29044 PyObject * obj0 = 0 ;
29045 char *kwnames[] = {
29046 (char *) "self", NULL
29047 };
29048
29049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_DeleteLineControlPoint",kwnames,&obj0)) goto fail;
36ed4f51
RD
29050 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
29051 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
29052 {
29053 PyThreadState* __tstate = wxPyBeginAllowThreads();
29054 result = (bool)(arg1)->DeleteLineControlPoint();
29055
29056 wxPyEndAllowThreads(__tstate);
29057 if (PyErr_Occurred()) SWIG_fail;
29058 }
fbc46b20
RD
29059 {
29060 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29061 }
44127b65
RD
29062 return resultobj;
29063 fail:
29064 return NULL;
29065}
29066
29067
c370783e 29068static PyObject *_wrap_PyLineShape_DrawArrows(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
29069 PyObject *resultobj;
29070 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
29071 wxDC *arg2 = 0 ;
29072 PyObject * obj0 = 0 ;
29073 PyObject * obj1 = 0 ;
29074 char *kwnames[] = {
29075 (char *) "self",(char *) "dc", NULL
29076 };
29077
29078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_DrawArrows",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29079 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
29080 if (SWIG_arg_fail(1)) SWIG_fail;
29081 {
29082 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
29083 if (SWIG_arg_fail(2)) SWIG_fail;
29084 if (arg2 == NULL) {
29085 SWIG_null_ref("wxDC");
29086 }
29087 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
29088 }
29089 {
29090 PyThreadState* __tstate = wxPyBeginAllowThreads();
29091 (arg1)->DrawArrows(*arg2);
29092
29093 wxPyEndAllowThreads(__tstate);
29094 if (PyErr_Occurred()) SWIG_fail;
29095 }
29096 Py_INCREF(Py_None); resultobj = Py_None;
29097 return resultobj;
29098 fail:
29099 return NULL;
29100}
29101
29102
c370783e 29103static PyObject *_wrap_PyLineShape_DrawRegion(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
29104 PyObject *resultobj;
29105 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
29106 wxDC *arg2 = 0 ;
29107 wxShapeRegion *arg3 = (wxShapeRegion *) 0 ;
29108 double arg4 ;
29109 double arg5 ;
29110 PyObject * obj0 = 0 ;
29111 PyObject * obj1 = 0 ;
29112 PyObject * obj2 = 0 ;
8edf1c75
RD
29113 PyObject * obj3 = 0 ;
29114 PyObject * obj4 = 0 ;
44127b65
RD
29115 char *kwnames[] = {
29116 (char *) "self",(char *) "dc",(char *) "region",(char *) "x",(char *) "y", NULL
29117 };
29118
8edf1c75 29119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyLineShape_DrawRegion",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
29120 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
29121 if (SWIG_arg_fail(1)) SWIG_fail;
29122 {
29123 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
29124 if (SWIG_arg_fail(2)) SWIG_fail;
29125 if (arg2 == NULL) {
29126 SWIG_null_ref("wxDC");
29127 }
29128 if (SWIG_arg_fail(2)) SWIG_fail;
29129 }
29130 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxShapeRegion, SWIG_POINTER_EXCEPTION | 0);
29131 if (SWIG_arg_fail(3)) SWIG_fail;
29132 {
29133 arg4 = (double)(SWIG_As_double(obj3));
29134 if (SWIG_arg_fail(4)) SWIG_fail;
29135 }
29136 {
29137 arg5 = (double)(SWIG_As_double(obj4));
29138 if (SWIG_arg_fail(5)) SWIG_fail;
29139 }
44127b65
RD
29140 {
29141 PyThreadState* __tstate = wxPyBeginAllowThreads();
29142 (arg1)->DrawRegion(*arg2,arg3,arg4,arg5);
29143
29144 wxPyEndAllowThreads(__tstate);
29145 if (PyErr_Occurred()) SWIG_fail;
29146 }
29147 Py_INCREF(Py_None); resultobj = Py_None;
29148 return resultobj;
29149 fail:
29150 return NULL;
29151}
29152
29153
c370783e 29154static PyObject *_wrap_PyLineShape_EraseRegion(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
29155 PyObject *resultobj;
29156 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
29157 wxDC *arg2 = 0 ;
29158 wxShapeRegion *arg3 = (wxShapeRegion *) 0 ;
29159 double arg4 ;
29160 double arg5 ;
29161 PyObject * obj0 = 0 ;
29162 PyObject * obj1 = 0 ;
29163 PyObject * obj2 = 0 ;
8edf1c75
RD
29164 PyObject * obj3 = 0 ;
29165 PyObject * obj4 = 0 ;
44127b65
RD
29166 char *kwnames[] = {
29167 (char *) "self",(char *) "dc",(char *) "region",(char *) "x",(char *) "y", NULL
29168 };
29169
8edf1c75 29170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyLineShape_EraseRegion",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
29171 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
29172 if (SWIG_arg_fail(1)) SWIG_fail;
29173 {
29174 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
29175 if (SWIG_arg_fail(2)) SWIG_fail;
29176 if (arg2 == NULL) {
29177 SWIG_null_ref("wxDC");
29178 }
29179 if (SWIG_arg_fail(2)) SWIG_fail;
29180 }
29181 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxShapeRegion, SWIG_POINTER_EXCEPTION | 0);
29182 if (SWIG_arg_fail(3)) SWIG_fail;
29183 {
29184 arg4 = (double)(SWIG_As_double(obj3));
29185 if (SWIG_arg_fail(4)) SWIG_fail;
29186 }
29187 {
29188 arg5 = (double)(SWIG_As_double(obj4));
29189 if (SWIG_arg_fail(5)) SWIG_fail;
29190 }
44127b65
RD
29191 {
29192 PyThreadState* __tstate = wxPyBeginAllowThreads();
29193 (arg1)->EraseRegion(*arg2,arg3,arg4,arg5);
29194
29195 wxPyEndAllowThreads(__tstate);
29196 if (PyErr_Occurred()) SWIG_fail;
29197 }
29198 Py_INCREF(Py_None); resultobj = Py_None;
29199 return resultobj;
29200 fail:
29201 return NULL;
29202}
29203
29204
c370783e 29205static PyObject *_wrap_PyLineShape_FindArrowHeadId(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
29206 PyObject *resultobj;
29207 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
29208 long arg2 ;
29209 wxArrowHead *result;
29210 PyObject * obj0 = 0 ;
8edf1c75 29211 PyObject * obj1 = 0 ;
44127b65
RD
29212 char *kwnames[] = {
29213 (char *) "self",(char *) "arrowId", NULL
29214 };
29215
8edf1c75 29216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_FindArrowHeadId",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29217 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
29218 if (SWIG_arg_fail(1)) SWIG_fail;
29219 {
29220 arg2 = (long)(SWIG_As_long(obj1));
29221 if (SWIG_arg_fail(2)) SWIG_fail;
29222 }
44127b65
RD
29223 {
29224 PyThreadState* __tstate = wxPyBeginAllowThreads();
29225 result = (wxArrowHead *)(arg1)->FindArrowHead(arg2);
29226
29227 wxPyEndAllowThreads(__tstate);
29228 if (PyErr_Occurred()) SWIG_fail;
29229 }
29230 {
412d302d 29231 resultobj = wxPyMake_wxObject(result, 0);
44127b65
RD
29232 }
29233 return resultobj;
29234 fail:
29235 return NULL;
29236}
29237
29238
c370783e 29239static PyObject *_wrap_PyLineShape_FindArrowHead(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
29240 PyObject *resultobj;
29241 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
29242 int arg2 ;
29243 wxString *arg3 = 0 ;
29244 wxArrowHead *result;
b411df4a 29245 bool temp3 = false ;
44127b65 29246 PyObject * obj0 = 0 ;
8edf1c75 29247 PyObject * obj1 = 0 ;
44127b65
RD
29248 PyObject * obj2 = 0 ;
29249 char *kwnames[] = {
29250 (char *) "self",(char *) "position",(char *) "name", NULL
29251 };
29252
8edf1c75 29253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_FindArrowHead",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
29254 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
29255 if (SWIG_arg_fail(1)) SWIG_fail;
29256 {
29257 arg2 = (int)(SWIG_As_int(obj1));
29258 if (SWIG_arg_fail(2)) SWIG_fail;
29259 }
44127b65
RD
29260 {
29261 arg3 = wxString_in_helper(obj2);
29262 if (arg3 == NULL) SWIG_fail;
b411df4a 29263 temp3 = true;
44127b65
RD
29264 }
29265 {
29266 PyThreadState* __tstate = wxPyBeginAllowThreads();
29267 result = (wxArrowHead *)(arg1)->FindArrowHead(arg2,(wxString const &)*arg3);
29268
29269 wxPyEndAllowThreads(__tstate);
29270 if (PyErr_Occurred()) SWIG_fail;
29271 }
29272 {
412d302d 29273 resultobj = wxPyMake_wxObject(result, 0);
44127b65
RD
29274 }
29275 {
29276 if (temp3)
29277 delete arg3;
29278 }
29279 return resultobj;
29280 fail:
29281 {
29282 if (temp3)
29283 delete arg3;
29284 }
29285 return NULL;
29286}
29287
29288
c370783e 29289static PyObject *_wrap_PyLineShape_FindLineEndPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
29290 PyObject *resultobj;
29291 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
29292 double *arg2 = (double *) 0 ;
29293 double *arg3 = (double *) 0 ;
29294 double *arg4 = (double *) 0 ;
29295 double *arg5 = (double *) 0 ;
29296 double temp2 ;
c370783e 29297 int res2 = 0 ;
44127b65 29298 double temp3 ;
c370783e 29299 int res3 = 0 ;
44127b65 29300 double temp4 ;
c370783e 29301 int res4 = 0 ;
44127b65 29302 double temp5 ;
c370783e 29303 int res5 = 0 ;
44127b65
RD
29304 PyObject * obj0 = 0 ;
29305 char *kwnames[] = {
29306 (char *) "self", NULL
29307 };
29308
c370783e
RD
29309 arg2 = &temp2; res2 = SWIG_NEWOBJ;
29310 arg3 = &temp3; res3 = SWIG_NEWOBJ;
29311 arg4 = &temp4; res4 = SWIG_NEWOBJ;
29312 arg5 = &temp5; res5 = SWIG_NEWOBJ;
44127b65 29313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_FindLineEndPoints",kwnames,&obj0)) goto fail;
36ed4f51
RD
29314 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
29315 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
29316 {
29317 PyThreadState* __tstate = wxPyBeginAllowThreads();
29318 (arg1)->FindLineEndPoints(arg2,arg3,arg4,arg5);
29319
29320 wxPyEndAllowThreads(__tstate);
29321 if (PyErr_Occurred()) SWIG_fail;
29322 }
29323 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
29324 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
29325 SWIG_From_double((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, 0)));
29326 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
29327 SWIG_From_double((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, 0)));
29328 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
29329 SWIG_From_double((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, 0)));
29330 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
29331 SWIG_From_double((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_double, 0)));
44127b65
RD
29332 return resultobj;
29333 fail:
29334 return NULL;
29335}
29336
29337
c370783e 29338static PyObject *_wrap_PyLineShape_FindLinePosition(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
29339 PyObject *resultobj;
29340 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
29341 double arg2 ;
29342 double arg3 ;
29343 int result;
29344 PyObject * obj0 = 0 ;
8edf1c75
RD
29345 PyObject * obj1 = 0 ;
29346 PyObject * obj2 = 0 ;
44127b65
RD
29347 char *kwnames[] = {
29348 (char *) "self",(char *) "x",(char *) "y", NULL
29349 };
29350
8edf1c75 29351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_FindLinePosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
29352 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
29353 if (SWIG_arg_fail(1)) SWIG_fail;
29354 {
29355 arg2 = (double)(SWIG_As_double(obj1));
29356 if (SWIG_arg_fail(2)) SWIG_fail;
29357 }
29358 {
29359 arg3 = (double)(SWIG_As_double(obj2));
29360 if (SWIG_arg_fail(3)) SWIG_fail;
29361 }
44127b65
RD
29362 {
29363 PyThreadState* __tstate = wxPyBeginAllowThreads();
29364 result = (int)(arg1)->FindLinePosition(arg2,arg3);
29365
29366 wxPyEndAllowThreads(__tstate);
29367 if (PyErr_Occurred()) SWIG_fail;
29368 }
36ed4f51
RD
29369 {
29370 resultobj = SWIG_From_int((int)(result));
29371 }
44127b65
RD
29372 return resultobj;
29373 fail:
29374 return NULL;
29375}
29376
29377
c370783e 29378static PyObject *_wrap_PyLineShape_FindMinimumWidth(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
29379 PyObject *resultobj;
29380 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
29381 double result;
29382 PyObject * obj0 = 0 ;
29383 char *kwnames[] = {
29384 (char *) "self", NULL
29385 };
29386
29387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_FindMinimumWidth",kwnames,&obj0)) goto fail;
36ed4f51
RD
29388 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
29389 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
29390 {
29391 PyThreadState* __tstate = wxPyBeginAllowThreads();
29392 result = (double)(arg1)->FindMinimumWidth();
29393
29394 wxPyEndAllowThreads(__tstate);
29395 if (PyErr_Occurred()) SWIG_fail;
29396 }
36ed4f51
RD
29397 {
29398 resultobj = SWIG_From_double((double)(result));
29399 }
44127b65
RD
29400 return resultobj;
29401 fail:
29402 return NULL;
29403}
29404
29405
c370783e 29406static PyObject *_wrap_PyLineShape_FindNth(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
29407 PyObject *resultobj;
29408 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
29409 wxPyShape *arg2 = (wxPyShape *) 0 ;
29410 int *arg3 = (int *) 0 ;
29411 int *arg4 = (int *) 0 ;
29412 bool arg5 ;
29413 int temp3 ;
c370783e 29414 int res3 = 0 ;
44127b65 29415 int temp4 ;
c370783e 29416 int res4 = 0 ;
44127b65
RD
29417 PyObject * obj0 = 0 ;
29418 PyObject * obj1 = 0 ;
29419 PyObject * obj2 = 0 ;
29420 char *kwnames[] = {
29421 (char *) "self",(char *) "image",(char *) "incoming", NULL
29422 };
29423
c370783e
RD
29424 arg3 = &temp3; res3 = SWIG_NEWOBJ;
29425 arg4 = &temp4; res4 = SWIG_NEWOBJ;
44127b65 29426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_FindNth",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
29427 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
29428 if (SWIG_arg_fail(1)) SWIG_fail;
29429 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
29430 if (SWIG_arg_fail(2)) SWIG_fail;
29431 {
29432 arg5 = (bool)(SWIG_As_bool(obj2));
29433 if (SWIG_arg_fail(5)) SWIG_fail;
29434 }
44127b65
RD
29435 {
29436 PyThreadState* __tstate = wxPyBeginAllowThreads();
29437 (arg1)->FindNth(arg2,arg3,arg4,arg5);
29438
29439 wxPyEndAllowThreads(__tstate);
29440 if (PyErr_Occurred()) SWIG_fail;
29441 }
29442 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
29443 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
29444 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
29445 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
29446 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
44127b65
RD
29447 return resultobj;
29448 fail:
29449 return NULL;
29450}
29451
29452
c370783e 29453static PyObject *_wrap_PyLineShape_GetAttachmentFrom(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
29454 PyObject *resultobj;
29455 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
29456 int result;
29457 PyObject * obj0 = 0 ;
29458 char *kwnames[] = {
29459 (char *) "self", NULL
29460 };
29461
29462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetAttachmentFrom",kwnames,&obj0)) goto fail;
36ed4f51
RD
29463 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
29464 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
29465 {
29466 PyThreadState* __tstate = wxPyBeginAllowThreads();
29467 result = (int)(arg1)->GetAttachmentFrom();
29468
29469 wxPyEndAllowThreads(__tstate);
29470 if (PyErr_Occurred()) SWIG_fail;
29471 }
36ed4f51
RD
29472 {
29473 resultobj = SWIG_From_int((int)(result));
29474 }
44127b65
RD
29475 return resultobj;
29476 fail:
29477 return NULL;
29478}
29479
29480
c370783e 29481static PyObject *_wrap_PyLineShape_GetAttachmentTo(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
29482 PyObject *resultobj;
29483 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
29484 int result;
29485 PyObject * obj0 = 0 ;
29486 char *kwnames[] = {
29487 (char *) "self", NULL
29488 };
29489
29490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetAttachmentTo",kwnames,&obj0)) goto fail;
36ed4f51
RD
29491 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
29492 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
29493 {
29494 PyThreadState* __tstate = wxPyBeginAllowThreads();
29495 result = (int)(arg1)->GetAttachmentTo();
29496
29497 wxPyEndAllowThreads(__tstate);
29498 if (PyErr_Occurred()) SWIG_fail;
29499 }
36ed4f51
RD
29500 {
29501 resultobj = SWIG_From_int((int)(result));
29502 }
44127b65
RD
29503 return resultobj;
29504 fail:
29505 return NULL;
29506}
29507
29508
c370783e 29509static PyObject *_wrap_PyLineShape_GetEnds(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
29510 PyObject *resultobj;
29511 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
29512 double *arg2 = (double *) 0 ;
29513 double *arg3 = (double *) 0 ;
29514 double *arg4 = (double *) 0 ;
29515 double *arg5 = (double *) 0 ;
29516 double temp2 ;
c370783e 29517 int res2 = 0 ;
44127b65 29518 double temp3 ;
c370783e 29519 int res3 = 0 ;
44127b65 29520 double temp4 ;
c370783e 29521 int res4 = 0 ;
44127b65 29522 double temp5 ;
c370783e 29523 int res5 = 0 ;
44127b65
RD
29524 PyObject * obj0 = 0 ;
29525 char *kwnames[] = {
29526 (char *) "self", NULL
29527 };
29528
c370783e
RD
29529 arg2 = &temp2; res2 = SWIG_NEWOBJ;
29530 arg3 = &temp3; res3 = SWIG_NEWOBJ;
29531 arg4 = &temp4; res4 = SWIG_NEWOBJ;
29532 arg5 = &temp5; res5 = SWIG_NEWOBJ;
44127b65 29533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetEnds",kwnames,&obj0)) goto fail;
36ed4f51
RD
29534 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
29535 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
29536 {
29537 PyThreadState* __tstate = wxPyBeginAllowThreads();
29538 (arg1)->GetEnds(arg2,arg3,arg4,arg5);
29539
29540 wxPyEndAllowThreads(__tstate);
29541 if (PyErr_Occurred()) SWIG_fail;
29542 }
29543 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
29544 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
29545 SWIG_From_double((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, 0)));
29546 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
29547 SWIG_From_double((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, 0)));
29548 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
29549 SWIG_From_double((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, 0)));
29550 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
29551 SWIG_From_double((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_double, 0)));
44127b65
RD
29552 return resultobj;
29553 fail:
29554 return NULL;
29555}
29556
29557
c370783e 29558static PyObject *_wrap_PyLineShape_GetFrom(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
29559 PyObject *resultobj;
29560 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
29561 wxPyShape *result;
29562 PyObject * obj0 = 0 ;
29563 char *kwnames[] = {
29564 (char *) "self", NULL
29565 };
29566
29567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetFrom",kwnames,&obj0)) goto fail;
36ed4f51
RD
29568 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
29569 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
29570 {
29571 PyThreadState* __tstate = wxPyBeginAllowThreads();
29572 result = (wxPyShape *)(arg1)->GetFrom();
29573
29574 wxPyEndAllowThreads(__tstate);
29575 if (PyErr_Occurred()) SWIG_fail;
29576 }
29577 {
412d302d 29578 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
44127b65
RD
29579 }
29580 return resultobj;
29581 fail:
29582 return NULL;
29583}
29584
29585
c370783e 29586static PyObject *_wrap_PyLineShape_GetLabelPosition(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
29587 PyObject *resultobj;
29588 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
29589 int arg2 ;
29590 double *arg3 = (double *) 0 ;
29591 double *arg4 = (double *) 0 ;
29592 double temp3 ;
c370783e 29593 int res3 = 0 ;
44127b65 29594 double temp4 ;
c370783e 29595 int res4 = 0 ;
44127b65 29596 PyObject * obj0 = 0 ;
8edf1c75 29597 PyObject * obj1 = 0 ;
44127b65
RD
29598 char *kwnames[] = {
29599 (char *) "self",(char *) "position", NULL
29600 };
29601
c370783e
RD
29602 arg3 = &temp3; res3 = SWIG_NEWOBJ;
29603 arg4 = &temp4; res4 = SWIG_NEWOBJ;
8edf1c75 29604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_GetLabelPosition",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29605 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
29606 if (SWIG_arg_fail(1)) SWIG_fail;
29607 {
29608 arg2 = (int)(SWIG_As_int(obj1));
29609 if (SWIG_arg_fail(2)) SWIG_fail;
29610 }
44127b65
RD
29611 {
29612 PyThreadState* __tstate = wxPyBeginAllowThreads();
29613 (arg1)->GetLabelPosition(arg2,arg3,arg4);
29614
29615 wxPyEndAllowThreads(__tstate);
29616 if (PyErr_Occurred()) SWIG_fail;
29617 }
29618 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
29619 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
29620 SWIG_From_double((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, 0)));
29621 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
29622 SWIG_From_double((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, 0)));
44127b65
RD
29623 return resultobj;
29624 fail:
29625 return NULL;
29626}
29627
29628
c370783e 29629static PyObject *_wrap_PyLineShape_GetNextControlPoint(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
29630 PyObject *resultobj;
29631 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
29632 wxPyShape *arg2 = (wxPyShape *) 0 ;
29633 wxRealPoint *result;
29634 PyObject * obj0 = 0 ;
29635 PyObject * obj1 = 0 ;
29636 char *kwnames[] = {
29637 (char *) "self",(char *) "shape", NULL
29638 };
29639
29640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_GetNextControlPoint",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29641 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
29642 if (SWIG_arg_fail(1)) SWIG_fail;
29643 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
29644 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
29645 {
29646 PyThreadState* __tstate = wxPyBeginAllowThreads();
29647 result = (wxRealPoint *)(arg1)->GetNextControlPoint(arg2);
29648
29649 wxPyEndAllowThreads(__tstate);
29650 if (PyErr_Occurred()) SWIG_fail;
29651 }
2f4c0a16 29652 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRealPoint, 0);
44127b65
RD
29653 return resultobj;
29654 fail:
29655 return NULL;
29656}
29657
29658
c370783e 29659static PyObject *_wrap_PyLineShape_GetTo(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
29660 PyObject *resultobj;
29661 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
29662 wxPyShape *result;
29663 PyObject * obj0 = 0 ;
29664 char *kwnames[] = {
29665 (char *) "self", NULL
29666 };
29667
29668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetTo",kwnames,&obj0)) goto fail;
36ed4f51
RD
29669 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
29670 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
29671 {
29672 PyThreadState* __tstate = wxPyBeginAllowThreads();
29673 result = (wxPyShape *)(arg1)->GetTo();
29674
29675 wxPyEndAllowThreads(__tstate);
29676 if (PyErr_Occurred()) SWIG_fail;
29677 }
29678 {
412d302d 29679 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
44127b65
RD
29680 }
29681 return resultobj;
29682 fail:
29683 return NULL;
29684}
29685
29686
c370783e 29687static PyObject *_wrap_PyLineShape_Initialise(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
29688 PyObject *resultobj;
29689 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
29690 PyObject * obj0 = 0 ;
29691 char *kwnames[] = {
29692 (char *) "self", NULL
29693 };
29694
29695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_Initialise",kwnames,&obj0)) goto fail;
36ed4f51
RD
29696 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
29697 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
29698 {
29699 PyThreadState* __tstate = wxPyBeginAllowThreads();
29700 (arg1)->Initialise();
29701
29702 wxPyEndAllowThreads(__tstate);
29703 if (PyErr_Occurred()) SWIG_fail;
29704 }
29705 Py_INCREF(Py_None); resultobj = Py_None;
29706 return resultobj;
29707 fail:
29708 return NULL;
29709}
29710
29711
c370783e 29712static PyObject *_wrap_PyLineShape_InsertLineControlPoint(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
29713 PyObject *resultobj;
29714 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
29715 wxDC *arg2 = (wxDC *) 0 ;
29716 PyObject * obj0 = 0 ;
29717 PyObject * obj1 = 0 ;
29718 char *kwnames[] = {
29719 (char *) "self",(char *) "dc", NULL
29720 };
29721
29722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_InsertLineControlPoint",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
29724 if (SWIG_arg_fail(1)) SWIG_fail;
29725 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
29726 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
29727 {
29728 PyThreadState* __tstate = wxPyBeginAllowThreads();
29729 (arg1)->InsertLineControlPoint(arg2);
29730
29731 wxPyEndAllowThreads(__tstate);
29732 if (PyErr_Occurred()) SWIG_fail;
29733 }
29734 Py_INCREF(Py_None); resultobj = Py_None;
29735 return resultobj;
29736 fail:
29737 return NULL;
29738}
29739
29740
c370783e 29741static PyObject *_wrap_PyLineShape_IsEnd(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
29742 PyObject *resultobj;
29743 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
29744 wxPyShape *arg2 = (wxPyShape *) 0 ;
29745 bool result;
29746 PyObject * obj0 = 0 ;
29747 PyObject * obj1 = 0 ;
29748 char *kwnames[] = {
29749 (char *) "self",(char *) "shape", NULL
29750 };
29751
29752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_IsEnd",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29753 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
29754 if (SWIG_arg_fail(1)) SWIG_fail;
29755 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
29756 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
29757 {
29758 PyThreadState* __tstate = wxPyBeginAllowThreads();
29759 result = (bool)(arg1)->IsEnd(arg2);
29760
29761 wxPyEndAllowThreads(__tstate);
29762 if (PyErr_Occurred()) SWIG_fail;
29763 }
fbc46b20
RD
29764 {
29765 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29766 }
44127b65
RD
29767 return resultobj;
29768 fail:
29769 return NULL;
29770}
29771
29772
c370783e 29773static PyObject *_wrap_PyLineShape_IsSpline(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
29774 PyObject *resultobj;
29775 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
29776 bool result;
29777 PyObject * obj0 = 0 ;
29778 char *kwnames[] = {
29779 (char *) "self", NULL
29780 };
29781
29782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_IsSpline",kwnames,&obj0)) goto fail;
36ed4f51
RD
29783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
29784 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
29785 {
29786 PyThreadState* __tstate = wxPyBeginAllowThreads();
29787 result = (bool)(arg1)->IsSpline();
29788
29789 wxPyEndAllowThreads(__tstate);
29790 if (PyErr_Occurred()) SWIG_fail;
29791 }
fbc46b20
RD
29792 {
29793 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29794 }
44127b65
RD
29795 return resultobj;
29796 fail:
29797 return NULL;
29798}
29799
29800
c370783e 29801static PyObject *_wrap_PyLineShape_MakeLineControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
29802 PyObject *resultobj;
29803 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
29804 int arg2 ;
29805 PyObject * obj0 = 0 ;
8edf1c75 29806 PyObject * obj1 = 0 ;
44127b65
RD
29807 char *kwnames[] = {
29808 (char *) "self",(char *) "n", NULL
29809 };
29810
8edf1c75 29811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_MakeLineControlPoints",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29812 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
29813 if (SWIG_arg_fail(1)) SWIG_fail;
29814 {
29815 arg2 = (int)(SWIG_As_int(obj1));
29816 if (SWIG_arg_fail(2)) SWIG_fail;
29817 }
44127b65
RD
29818 {
29819 PyThreadState* __tstate = wxPyBeginAllowThreads();
29820 (arg1)->MakeLineControlPoints(arg2);
29821
29822 wxPyEndAllowThreads(__tstate);
29823 if (PyErr_Occurred()) SWIG_fail;
29824 }
29825 Py_INCREF(Py_None); resultobj = Py_None;
29826 return resultobj;
29827 fail:
29828 return NULL;
29829}
29830
29831
c370783e 29832static PyObject *_wrap_PyLineShape_GetLineControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
29833 PyObject *resultobj;
29834 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
29835 PyObject *result;
29836 PyObject * obj0 = 0 ;
29837 char *kwnames[] = {
29838 (char *) "self", NULL
29839 };
29840
29841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetLineControlPoints",kwnames,&obj0)) goto fail;
36ed4f51
RD
29842 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
29843 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
29844 {
29845 PyThreadState* __tstate = wxPyBeginAllowThreads();
29846 result = (PyObject *)wxPyLineShape_GetLineControlPoints(arg1);
29847
29848 wxPyEndAllowThreads(__tstate);
29849 if (PyErr_Occurred()) SWIG_fail;
29850 }
29851 resultobj = result;
29852 return resultobj;
29853 fail:
29854 return NULL;
29855}
29856
29857
c370783e 29858static PyObject *_wrap_PyLineShape_SetLineControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
0346c964
RD
29859 PyObject *resultobj;
29860 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
29861 PyObject *arg2 = (PyObject *) 0 ;
29862 PyObject * obj0 = 0 ;
29863 PyObject * obj1 = 0 ;
29864 char *kwnames[] = {
29865 (char *) "self",(char *) "list", NULL
29866 };
29867
29868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetLineControlPoints",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29869 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
29870 if (SWIG_arg_fail(1)) SWIG_fail;
0346c964
RD
29871 arg2 = obj1;
29872 {
29873 PyThreadState* __tstate = wxPyBeginAllowThreads();
29874 wxPyLineShape_SetLineControlPoints(arg1,arg2);
29875
29876 wxPyEndAllowThreads(__tstate);
29877 if (PyErr_Occurred()) SWIG_fail;
29878 }
29879 Py_INCREF(Py_None); resultobj = Py_None;
29880 return resultobj;
29881 fail:
29882 return NULL;
29883}
29884
29885
c370783e 29886static PyObject *_wrap_PyLineShape_SetAttachmentFrom(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
29887 PyObject *resultobj;
29888 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
29889 int arg2 ;
29890 PyObject * obj0 = 0 ;
8edf1c75 29891 PyObject * obj1 = 0 ;
44127b65
RD
29892 char *kwnames[] = {
29893 (char *) "self",(char *) "fromAttach", NULL
29894 };
29895
8edf1c75 29896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetAttachmentFrom",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29897 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
29898 if (SWIG_arg_fail(1)) SWIG_fail;
29899 {
29900 arg2 = (int)(SWIG_As_int(obj1));
29901 if (SWIG_arg_fail(2)) SWIG_fail;
29902 }
44127b65
RD
29903 {
29904 PyThreadState* __tstate = wxPyBeginAllowThreads();
29905 (arg1)->SetAttachmentFrom(arg2);
29906
29907 wxPyEndAllowThreads(__tstate);
29908 if (PyErr_Occurred()) SWIG_fail;
29909 }
29910 Py_INCREF(Py_None); resultobj = Py_None;
29911 return resultobj;
29912 fail:
29913 return NULL;
29914}
29915
29916
c370783e 29917static PyObject *_wrap_PyLineShape_SetAttachments(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
29918 PyObject *resultobj;
29919 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
29920 int arg2 ;
29921 int arg3 ;
29922 PyObject * obj0 = 0 ;
8edf1c75
RD
29923 PyObject * obj1 = 0 ;
29924 PyObject * obj2 = 0 ;
44127b65
RD
29925 char *kwnames[] = {
29926 (char *) "self",(char *) "fromAttach",(char *) "toAttach", NULL
29927 };
29928
8edf1c75 29929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_SetAttachments",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
29930 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
29931 if (SWIG_arg_fail(1)) SWIG_fail;
29932 {
29933 arg2 = (int)(SWIG_As_int(obj1));
29934 if (SWIG_arg_fail(2)) SWIG_fail;
29935 }
29936 {
29937 arg3 = (int)(SWIG_As_int(obj2));
29938 if (SWIG_arg_fail(3)) SWIG_fail;
29939 }
44127b65
RD
29940 {
29941 PyThreadState* __tstate = wxPyBeginAllowThreads();
29942 (arg1)->SetAttachments(arg2,arg3);
29943
29944 wxPyEndAllowThreads(__tstate);
29945 if (PyErr_Occurred()) SWIG_fail;
29946 }
29947 Py_INCREF(Py_None); resultobj = Py_None;
29948 return resultobj;
29949 fail:
29950 return NULL;
29951}
29952
29953
c370783e 29954static PyObject *_wrap_PyLineShape_SetAttachmentTo(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
29955 PyObject *resultobj;
29956 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
29957 int arg2 ;
29958 PyObject * obj0 = 0 ;
8edf1c75 29959 PyObject * obj1 = 0 ;
44127b65
RD
29960 char *kwnames[] = {
29961 (char *) "self",(char *) "toAttach", NULL
29962 };
29963
8edf1c75 29964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetAttachmentTo",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29965 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
29966 if (SWIG_arg_fail(1)) SWIG_fail;
29967 {
29968 arg2 = (int)(SWIG_As_int(obj1));
29969 if (SWIG_arg_fail(2)) SWIG_fail;
29970 }
44127b65
RD
29971 {
29972 PyThreadState* __tstate = wxPyBeginAllowThreads();
29973 (arg1)->SetAttachmentTo(arg2);
29974
29975 wxPyEndAllowThreads(__tstate);
29976 if (PyErr_Occurred()) SWIG_fail;
29977 }
29978 Py_INCREF(Py_None); resultobj = Py_None;
29979 return resultobj;
29980 fail:
29981 return NULL;
29982}
29983
29984
c370783e 29985static PyObject *_wrap_PyLineShape_SetEnds(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
29986 PyObject *resultobj;
29987 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
29988 double arg2 ;
29989 double arg3 ;
29990 double arg4 ;
29991 double arg5 ;
29992 PyObject * obj0 = 0 ;
8edf1c75
RD
29993 PyObject * obj1 = 0 ;
29994 PyObject * obj2 = 0 ;
29995 PyObject * obj3 = 0 ;
29996 PyObject * obj4 = 0 ;
44127b65
RD
29997 char *kwnames[] = {
29998 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
29999 };
30000
8edf1c75 30001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyLineShape_SetEnds",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
30002 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
30003 if (SWIG_arg_fail(1)) SWIG_fail;
30004 {
30005 arg2 = (double)(SWIG_As_double(obj1));
30006 if (SWIG_arg_fail(2)) SWIG_fail;
30007 }
30008 {
30009 arg3 = (double)(SWIG_As_double(obj2));
30010 if (SWIG_arg_fail(3)) SWIG_fail;
30011 }
30012 {
30013 arg4 = (double)(SWIG_As_double(obj3));
30014 if (SWIG_arg_fail(4)) SWIG_fail;
30015 }
30016 {
30017 arg5 = (double)(SWIG_As_double(obj4));
30018 if (SWIG_arg_fail(5)) SWIG_fail;
30019 }
44127b65
RD
30020 {
30021 PyThreadState* __tstate = wxPyBeginAllowThreads();
30022 (arg1)->SetEnds(arg2,arg3,arg4,arg5);
30023
30024 wxPyEndAllowThreads(__tstate);
30025 if (PyErr_Occurred()) SWIG_fail;
30026 }
30027 Py_INCREF(Py_None); resultobj = Py_None;
30028 return resultobj;
30029 fail:
30030 return NULL;
30031}
30032
30033
c370783e 30034static PyObject *_wrap_PyLineShape_SetFrom(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
30035 PyObject *resultobj;
30036 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
30037 wxPyShape *arg2 = (wxPyShape *) 0 ;
30038 PyObject * obj0 = 0 ;
30039 PyObject * obj1 = 0 ;
30040 char *kwnames[] = {
30041 (char *) "self",(char *) "object", NULL
30042 };
30043
30044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetFrom",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30045 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
30046 if (SWIG_arg_fail(1)) SWIG_fail;
30047 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
30048 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
30049 {
30050 PyThreadState* __tstate = wxPyBeginAllowThreads();
30051 (arg1)->SetFrom(arg2);
30052
30053 wxPyEndAllowThreads(__tstate);
30054 if (PyErr_Occurred()) SWIG_fail;
30055 }
30056 Py_INCREF(Py_None); resultobj = Py_None;
30057 return resultobj;
30058 fail:
30059 return NULL;
30060}
30061
30062
c370783e 30063static PyObject *_wrap_PyLineShape_SetIgnoreOffsets(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
30064 PyObject *resultobj;
30065 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
30066 bool arg2 ;
30067 PyObject * obj0 = 0 ;
30068 PyObject * obj1 = 0 ;
30069 char *kwnames[] = {
30070 (char *) "self",(char *) "ignore", NULL
30071 };
30072
30073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetIgnoreOffsets",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30074 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
30075 if (SWIG_arg_fail(1)) SWIG_fail;
30076 {
30077 arg2 = (bool)(SWIG_As_bool(obj1));
30078 if (SWIG_arg_fail(2)) SWIG_fail;
30079 }
44127b65
RD
30080 {
30081 PyThreadState* __tstate = wxPyBeginAllowThreads();
30082 (arg1)->SetIgnoreOffsets(arg2);
30083
30084 wxPyEndAllowThreads(__tstate);
30085 if (PyErr_Occurred()) SWIG_fail;
30086 }
30087 Py_INCREF(Py_None); resultobj = Py_None;
30088 return resultobj;
30089 fail:
30090 return NULL;
30091}
30092
30093
c370783e 30094static PyObject *_wrap_PyLineShape_SetSpline(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
30095 PyObject *resultobj;
30096 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
30097 bool arg2 ;
30098 PyObject * obj0 = 0 ;
30099 PyObject * obj1 = 0 ;
30100 char *kwnames[] = {
30101 (char *) "self",(char *) "spline", NULL
30102 };
30103
30104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetSpline",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30105 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
30106 if (SWIG_arg_fail(1)) SWIG_fail;
30107 {
30108 arg2 = (bool)(SWIG_As_bool(obj1));
30109 if (SWIG_arg_fail(2)) SWIG_fail;
30110 }
44127b65
RD
30111 {
30112 PyThreadState* __tstate = wxPyBeginAllowThreads();
30113 (arg1)->SetSpline(arg2);
30114
30115 wxPyEndAllowThreads(__tstate);
30116 if (PyErr_Occurred()) SWIG_fail;
30117 }
30118 Py_INCREF(Py_None); resultobj = Py_None;
30119 return resultobj;
30120 fail:
30121 return NULL;
30122}
30123
30124
c370783e 30125static PyObject *_wrap_PyLineShape_SetTo(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
30126 PyObject *resultobj;
30127 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
30128 wxPyShape *arg2 = (wxPyShape *) 0 ;
30129 PyObject * obj0 = 0 ;
30130 PyObject * obj1 = 0 ;
30131 char *kwnames[] = {
30132 (char *) "self",(char *) "object", NULL
30133 };
30134
30135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_SetTo",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30136 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
30137 if (SWIG_arg_fail(1)) SWIG_fail;
30138 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
30139 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
30140 {
30141 PyThreadState* __tstate = wxPyBeginAllowThreads();
30142 (arg1)->SetTo(arg2);
30143
30144 wxPyEndAllowThreads(__tstate);
30145 if (PyErr_Occurred()) SWIG_fail;
30146 }
30147 Py_INCREF(Py_None); resultobj = Py_None;
30148 return resultobj;
30149 fail:
30150 return NULL;
30151}
30152
30153
c370783e 30154static PyObject *_wrap_PyLineShape_Straighten(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
30155 PyObject *resultobj;
30156 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
30157 wxDC *arg2 = (wxDC *) NULL ;
30158 PyObject * obj0 = 0 ;
30159 PyObject * obj1 = 0 ;
30160 char *kwnames[] = {
30161 (char *) "self",(char *) "dc", NULL
30162 };
30163
30164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyLineShape_Straighten",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30165 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
30166 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65 30167 if (obj1) {
36ed4f51
RD
30168 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
30169 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
30170 }
30171 {
30172 PyThreadState* __tstate = wxPyBeginAllowThreads();
30173 (arg1)->Straighten(arg2);
30174
30175 wxPyEndAllowThreads(__tstate);
30176 if (PyErr_Occurred()) SWIG_fail;
30177 }
30178 Py_INCREF(Py_None); resultobj = Py_None;
30179 return resultobj;
30180 fail:
30181 return NULL;
30182}
30183
30184
c370783e 30185static PyObject *_wrap_PyLineShape_Unlink(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
30186 PyObject *resultobj;
30187 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
30188 PyObject * obj0 = 0 ;
30189 char *kwnames[] = {
30190 (char *) "self", NULL
30191 };
30192
30193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_Unlink",kwnames,&obj0)) goto fail;
36ed4f51
RD
30194 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
30195 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
30196 {
30197 PyThreadState* __tstate = wxPyBeginAllowThreads();
30198 (arg1)->Unlink();
30199
30200 wxPyEndAllowThreads(__tstate);
30201 if (PyErr_Occurred()) SWIG_fail;
30202 }
30203 Py_INCREF(Py_None); resultobj = Py_None;
30204 return resultobj;
30205 fail:
30206 return NULL;
30207}
30208
30209
c370783e 30210static PyObject *_wrap_PyLineShape_SetAlignmentOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
30211 PyObject *resultobj;
30212 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
30213 bool arg2 ;
30214 bool arg3 ;
30215 PyObject * obj0 = 0 ;
30216 PyObject * obj1 = 0 ;
30217 PyObject * obj2 = 0 ;
30218 char *kwnames[] = {
30219 (char *) "self",(char *) "isEnd",(char *) "isHoriz", NULL
30220 };
30221
30222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_SetAlignmentOrientation",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
30223 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
30224 if (SWIG_arg_fail(1)) SWIG_fail;
30225 {
30226 arg2 = (bool)(SWIG_As_bool(obj1));
30227 if (SWIG_arg_fail(2)) SWIG_fail;
30228 }
30229 {
30230 arg3 = (bool)(SWIG_As_bool(obj2));
30231 if (SWIG_arg_fail(3)) SWIG_fail;
30232 }
7a0a63ae
RD
30233 {
30234 PyThreadState* __tstate = wxPyBeginAllowThreads();
30235 (arg1)->SetAlignmentOrientation(arg2,arg3);
30236
30237 wxPyEndAllowThreads(__tstate);
30238 if (PyErr_Occurred()) SWIG_fail;
30239 }
30240 Py_INCREF(Py_None); resultobj = Py_None;
30241 return resultobj;
30242 fail:
30243 return NULL;
30244}
30245
30246
c370783e 30247static PyObject *_wrap_PyLineShape_SetAlignmentType(PyObject *, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
30248 PyObject *resultobj;
30249 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
30250 bool arg2 ;
30251 int arg3 ;
30252 PyObject * obj0 = 0 ;
30253 PyObject * obj1 = 0 ;
8edf1c75 30254 PyObject * obj2 = 0 ;
7a0a63ae
RD
30255 char *kwnames[] = {
30256 (char *) "self",(char *) "isEnd",(char *) "alignType", NULL
30257 };
30258
8edf1c75 30259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_SetAlignmentType",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
30260 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
30261 if (SWIG_arg_fail(1)) SWIG_fail;
30262 {
30263 arg2 = (bool)(SWIG_As_bool(obj1));
30264 if (SWIG_arg_fail(2)) SWIG_fail;
30265 }
30266 {
30267 arg3 = (int)(SWIG_As_int(obj2));
30268 if (SWIG_arg_fail(3)) SWIG_fail;
30269 }
7a0a63ae
RD
30270 {
30271 PyThreadState* __tstate = wxPyBeginAllowThreads();
30272 (arg1)->SetAlignmentType(arg2,arg3);
30273
30274 wxPyEndAllowThreads(__tstate);
30275 if (PyErr_Occurred()) SWIG_fail;
30276 }
30277 Py_INCREF(Py_None); resultobj = Py_None;
30278 return resultobj;
30279 fail:
30280 return NULL;
30281}
30282
30283
c370783e 30284static PyObject *_wrap_PyLineShape_GetAlignmentOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
30285 PyObject *resultobj;
30286 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
30287 bool arg2 ;
30288 bool result;
30289 PyObject * obj0 = 0 ;
30290 PyObject * obj1 = 0 ;
30291 char *kwnames[] = {
30292 (char *) "self",(char *) "isEnd", NULL
30293 };
30294
30295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_GetAlignmentOrientation",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30296 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
30297 if (SWIG_arg_fail(1)) SWIG_fail;
30298 {
30299 arg2 = (bool)(SWIG_As_bool(obj1));
30300 if (SWIG_arg_fail(2)) SWIG_fail;
30301 }
7a0a63ae
RD
30302 {
30303 PyThreadState* __tstate = wxPyBeginAllowThreads();
30304 result = (bool)(arg1)->GetAlignmentOrientation(arg2);
30305
30306 wxPyEndAllowThreads(__tstate);
30307 if (PyErr_Occurred()) SWIG_fail;
30308 }
fbc46b20
RD
30309 {
30310 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30311 }
7a0a63ae
RD
30312 return resultobj;
30313 fail:
30314 return NULL;
30315}
30316
30317
c370783e 30318static PyObject *_wrap_PyLineShape_GetAlignmentType(PyObject *, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
30319 PyObject *resultobj;
30320 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
30321 bool arg2 ;
30322 int result;
30323 PyObject * obj0 = 0 ;
30324 PyObject * obj1 = 0 ;
30325 char *kwnames[] = {
30326 (char *) "self",(char *) "isEnd", NULL
30327 };
30328
30329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_GetAlignmentType",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30330 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
30331 if (SWIG_arg_fail(1)) SWIG_fail;
30332 {
30333 arg2 = (bool)(SWIG_As_bool(obj1));
30334 if (SWIG_arg_fail(2)) SWIG_fail;
30335 }
7a0a63ae
RD
30336 {
30337 PyThreadState* __tstate = wxPyBeginAllowThreads();
30338 result = (int)(arg1)->GetAlignmentType(arg2);
30339
30340 wxPyEndAllowThreads(__tstate);
30341 if (PyErr_Occurred()) SWIG_fail;
30342 }
36ed4f51
RD
30343 {
30344 resultobj = SWIG_From_int((int)(result));
30345 }
7a0a63ae
RD
30346 return resultobj;
30347 fail:
30348 return NULL;
30349}
30350
30351
c370783e 30352static PyObject *_wrap_PyLineShape_GetAlignmentStart(PyObject *, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
30353 PyObject *resultobj;
30354 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
30355 int result;
30356 PyObject * obj0 = 0 ;
30357 char *kwnames[] = {
30358 (char *) "self", NULL
30359 };
30360
30361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetAlignmentStart",kwnames,&obj0)) goto fail;
36ed4f51
RD
30362 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
30363 if (SWIG_arg_fail(1)) SWIG_fail;
7a0a63ae
RD
30364 {
30365 PyThreadState* __tstate = wxPyBeginAllowThreads();
30366 result = (int)((wxPyLineShape const *)arg1)->GetAlignmentStart();
30367
30368 wxPyEndAllowThreads(__tstate);
30369 if (PyErr_Occurred()) SWIG_fail;
30370 }
36ed4f51
RD
30371 {
30372 resultobj = SWIG_From_int((int)(result));
30373 }
7a0a63ae
RD
30374 return resultobj;
30375 fail:
30376 return NULL;
30377}
30378
30379
c370783e 30380static PyObject *_wrap_PyLineShape_GetAlignmentEnd(PyObject *, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
30381 PyObject *resultobj;
30382 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
30383 int result;
30384 PyObject * obj0 = 0 ;
30385 char *kwnames[] = {
30386 (char *) "self", NULL
30387 };
30388
30389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyLineShape_GetAlignmentEnd",kwnames,&obj0)) goto fail;
36ed4f51
RD
30390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
30391 if (SWIG_arg_fail(1)) SWIG_fail;
7a0a63ae
RD
30392 {
30393 PyThreadState* __tstate = wxPyBeginAllowThreads();
30394 result = (int)((wxPyLineShape const *)arg1)->GetAlignmentEnd();
30395
30396 wxPyEndAllowThreads(__tstate);
30397 if (PyErr_Occurred()) SWIG_fail;
30398 }
36ed4f51
RD
30399 {
30400 resultobj = SWIG_From_int((int)(result));
30401 }
7a0a63ae
RD
30402 return resultobj;
30403 fail:
30404 return NULL;
30405}
30406
30407
c370783e 30408static PyObject *_wrap_PyLineShape_base_OnDraw(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
30409 PyObject *resultobj;
30410 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
30411 wxDC *arg2 = 0 ;
30412 PyObject * obj0 = 0 ;
30413 PyObject * obj1 = 0 ;
30414 char *kwnames[] = {
30415 (char *) "self",(char *) "dc", NULL
30416 };
30417
30418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30419 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
30420 if (SWIG_arg_fail(1)) SWIG_fail;
30421 {
30422 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
30423 if (SWIG_arg_fail(2)) SWIG_fail;
30424 if (arg2 == NULL) {
30425 SWIG_null_ref("wxDC");
30426 }
30427 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
30428 }
30429 {
30430 PyThreadState* __tstate = wxPyBeginAllowThreads();
30431 (arg1)->base_OnDraw(*arg2);
30432
30433 wxPyEndAllowThreads(__tstate);
30434 if (PyErr_Occurred()) SWIG_fail;
30435 }
30436 Py_INCREF(Py_None); resultobj = Py_None;
30437 return resultobj;
30438 fail:
30439 return NULL;
30440}
30441
30442
c370783e 30443static PyObject *_wrap_PyLineShape_base_OnDrawContents(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
30444 PyObject *resultobj;
30445 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
30446 wxDC *arg2 = 0 ;
30447 PyObject * obj0 = 0 ;
30448 PyObject * obj1 = 0 ;
30449 char *kwnames[] = {
30450 (char *) "self",(char *) "dc", NULL
30451 };
30452
30453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30454 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
30455 if (SWIG_arg_fail(1)) SWIG_fail;
30456 {
30457 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
30458 if (SWIG_arg_fail(2)) SWIG_fail;
30459 if (arg2 == NULL) {
30460 SWIG_null_ref("wxDC");
30461 }
30462 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
30463 }
30464 {
30465 PyThreadState* __tstate = wxPyBeginAllowThreads();
30466 (arg1)->base_OnDrawContents(*arg2);
30467
30468 wxPyEndAllowThreads(__tstate);
30469 if (PyErr_Occurred()) SWIG_fail;
30470 }
30471 Py_INCREF(Py_None); resultobj = Py_None;
30472 return resultobj;
30473 fail:
30474 return NULL;
30475}
30476
30477
c370783e 30478static PyObject *_wrap_PyLineShape_base_OnDrawBranches(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
30479 PyObject *resultobj;
30480 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
30481 wxDC *arg2 = 0 ;
30482 bool arg3 = (bool) FALSE ;
30483 PyObject * obj0 = 0 ;
30484 PyObject * obj1 = 0 ;
30485 PyObject * obj2 = 0 ;
30486 char *kwnames[] = {
30487 (char *) "self",(char *) "dc",(char *) "erase", NULL
30488 };
30489
30490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyLineShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
30491 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
30492 if (SWIG_arg_fail(1)) SWIG_fail;
30493 {
30494 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
30495 if (SWIG_arg_fail(2)) SWIG_fail;
30496 if (arg2 == NULL) {
30497 SWIG_null_ref("wxDC");
30498 }
30499 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
30500 }
30501 if (obj2) {
36ed4f51
RD
30502 {
30503 arg3 = (bool)(SWIG_As_bool(obj2));
30504 if (SWIG_arg_fail(3)) SWIG_fail;
30505 }
44127b65
RD
30506 }
30507 {
30508 PyThreadState* __tstate = wxPyBeginAllowThreads();
30509 (arg1)->base_OnDrawBranches(*arg2,arg3);
30510
30511 wxPyEndAllowThreads(__tstate);
30512 if (PyErr_Occurred()) SWIG_fail;
30513 }
30514 Py_INCREF(Py_None); resultobj = Py_None;
30515 return resultobj;
30516 fail:
30517 return NULL;
30518}
30519
30520
c370783e 30521static PyObject *_wrap_PyLineShape_base_OnMoveLinks(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
30522 PyObject *resultobj;
30523 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
30524 wxDC *arg2 = 0 ;
30525 PyObject * obj0 = 0 ;
30526 PyObject * obj1 = 0 ;
30527 char *kwnames[] = {
30528 (char *) "self",(char *) "dc", NULL
30529 };
30530
30531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30532 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
30533 if (SWIG_arg_fail(1)) SWIG_fail;
30534 {
30535 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
30536 if (SWIG_arg_fail(2)) SWIG_fail;
30537 if (arg2 == NULL) {
30538 SWIG_null_ref("wxDC");
30539 }
30540 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
30541 }
30542 {
30543 PyThreadState* __tstate = wxPyBeginAllowThreads();
30544 (arg1)->base_OnMoveLinks(*arg2);
30545
30546 wxPyEndAllowThreads(__tstate);
30547 if (PyErr_Occurred()) SWIG_fail;
30548 }
30549 Py_INCREF(Py_None); resultobj = Py_None;
30550 return resultobj;
30551 fail:
30552 return NULL;
30553}
30554
30555
c370783e 30556static PyObject *_wrap_PyLineShape_base_OnErase(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
30557 PyObject *resultobj;
30558 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
30559 wxDC *arg2 = 0 ;
30560 PyObject * obj0 = 0 ;
30561 PyObject * obj1 = 0 ;
30562 char *kwnames[] = {
30563 (char *) "self",(char *) "dc", NULL
30564 };
30565
30566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30567 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
30568 if (SWIG_arg_fail(1)) SWIG_fail;
30569 {
30570 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
30571 if (SWIG_arg_fail(2)) SWIG_fail;
30572 if (arg2 == NULL) {
30573 SWIG_null_ref("wxDC");
30574 }
30575 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
30576 }
30577 {
30578 PyThreadState* __tstate = wxPyBeginAllowThreads();
30579 (arg1)->base_OnErase(*arg2);
30580
30581 wxPyEndAllowThreads(__tstate);
30582 if (PyErr_Occurred()) SWIG_fail;
30583 }
30584 Py_INCREF(Py_None); resultobj = Py_None;
30585 return resultobj;
30586 fail:
30587 return NULL;
30588}
30589
30590
c370783e 30591static PyObject *_wrap_PyLineShape_base_OnEraseContents(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
30592 PyObject *resultobj;
30593 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
30594 wxDC *arg2 = 0 ;
30595 PyObject * obj0 = 0 ;
30596 PyObject * obj1 = 0 ;
30597 char *kwnames[] = {
30598 (char *) "self",(char *) "dc", NULL
30599 };
30600
30601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30602 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
30603 if (SWIG_arg_fail(1)) SWIG_fail;
30604 {
30605 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
30606 if (SWIG_arg_fail(2)) SWIG_fail;
30607 if (arg2 == NULL) {
30608 SWIG_null_ref("wxDC");
30609 }
30610 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
30611 }
30612 {
30613 PyThreadState* __tstate = wxPyBeginAllowThreads();
30614 (arg1)->base_OnEraseContents(*arg2);
30615
30616 wxPyEndAllowThreads(__tstate);
30617 if (PyErr_Occurred()) SWIG_fail;
30618 }
30619 Py_INCREF(Py_None); resultobj = Py_None;
30620 return resultobj;
30621 fail:
30622 return NULL;
30623}
30624
30625
c370783e 30626static PyObject *_wrap_PyLineShape_base_OnHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
30627 PyObject *resultobj;
30628 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
30629 wxDC *arg2 = 0 ;
30630 PyObject * obj0 = 0 ;
30631 PyObject * obj1 = 0 ;
30632 char *kwnames[] = {
30633 (char *) "self",(char *) "dc", NULL
30634 };
30635
30636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30637 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
30638 if (SWIG_arg_fail(1)) SWIG_fail;
30639 {
30640 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
30641 if (SWIG_arg_fail(2)) SWIG_fail;
30642 if (arg2 == NULL) {
30643 SWIG_null_ref("wxDC");
30644 }
30645 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
30646 }
30647 {
30648 PyThreadState* __tstate = wxPyBeginAllowThreads();
30649 (arg1)->base_OnHighlight(*arg2);
30650
30651 wxPyEndAllowThreads(__tstate);
30652 if (PyErr_Occurred()) SWIG_fail;
30653 }
30654 Py_INCREF(Py_None); resultobj = Py_None;
30655 return resultobj;
30656 fail:
30657 return NULL;
30658}
30659
30660
c370783e 30661static PyObject *_wrap_PyLineShape_base_OnLeftClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
30662 PyObject *resultobj;
30663 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
30664 double arg2 ;
30665 double arg3 ;
30666 int arg4 = (int) 0 ;
30667 int arg5 = (int) 0 ;
30668 PyObject * obj0 = 0 ;
8edf1c75
RD
30669 PyObject * obj1 = 0 ;
30670 PyObject * obj2 = 0 ;
30671 PyObject * obj3 = 0 ;
30672 PyObject * obj4 = 0 ;
44127b65
RD
30673 char *kwnames[] = {
30674 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30675 };
30676
8edf1c75 30677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
30678 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
30679 if (SWIG_arg_fail(1)) SWIG_fail;
30680 {
30681 arg2 = (double)(SWIG_As_double(obj1));
30682 if (SWIG_arg_fail(2)) SWIG_fail;
30683 }
30684 {
30685 arg3 = (double)(SWIG_As_double(obj2));
30686 if (SWIG_arg_fail(3)) SWIG_fail;
30687 }
8edf1c75 30688 if (obj3) {
36ed4f51
RD
30689 {
30690 arg4 = (int)(SWIG_As_int(obj3));
30691 if (SWIG_arg_fail(4)) SWIG_fail;
30692 }
8edf1c75
RD
30693 }
30694 if (obj4) {
36ed4f51
RD
30695 {
30696 arg5 = (int)(SWIG_As_int(obj4));
30697 if (SWIG_arg_fail(5)) SWIG_fail;
30698 }
8edf1c75 30699 }
44127b65
RD
30700 {
30701 PyThreadState* __tstate = wxPyBeginAllowThreads();
30702 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
30703
30704 wxPyEndAllowThreads(__tstate);
30705 if (PyErr_Occurred()) SWIG_fail;
30706 }
30707 Py_INCREF(Py_None); resultobj = Py_None;
30708 return resultobj;
30709 fail:
30710 return NULL;
30711}
30712
30713
c370783e 30714static PyObject *_wrap_PyLineShape_base_OnLeftDoubleClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
30715 PyObject *resultobj;
30716 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
30717 double arg2 ;
30718 double arg3 ;
30719 int arg4 = (int) 0 ;
30720 int arg5 = (int) 0 ;
30721 PyObject * obj0 = 0 ;
8edf1c75
RD
30722 PyObject * obj1 = 0 ;
30723 PyObject * obj2 = 0 ;
30724 PyObject * obj3 = 0 ;
30725 PyObject * obj4 = 0 ;
44127b65
RD
30726 char *kwnames[] = {
30727 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30728 };
30729
8edf1c75 30730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
30731 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
30732 if (SWIG_arg_fail(1)) SWIG_fail;
30733 {
30734 arg2 = (double)(SWIG_As_double(obj1));
30735 if (SWIG_arg_fail(2)) SWIG_fail;
30736 }
30737 {
30738 arg3 = (double)(SWIG_As_double(obj2));
30739 if (SWIG_arg_fail(3)) SWIG_fail;
30740 }
8edf1c75 30741 if (obj3) {
36ed4f51
RD
30742 {
30743 arg4 = (int)(SWIG_As_int(obj3));
30744 if (SWIG_arg_fail(4)) SWIG_fail;
30745 }
8edf1c75
RD
30746 }
30747 if (obj4) {
36ed4f51
RD
30748 {
30749 arg5 = (int)(SWIG_As_int(obj4));
30750 if (SWIG_arg_fail(5)) SWIG_fail;
30751 }
8edf1c75 30752 }
44127b65
RD
30753 {
30754 PyThreadState* __tstate = wxPyBeginAllowThreads();
30755 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
30756
30757 wxPyEndAllowThreads(__tstate);
30758 if (PyErr_Occurred()) SWIG_fail;
30759 }
30760 Py_INCREF(Py_None); resultobj = Py_None;
30761 return resultobj;
30762 fail:
30763 return NULL;
30764}
30765
30766
c370783e 30767static PyObject *_wrap_PyLineShape_base_OnRightClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
30768 PyObject *resultobj;
30769 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
30770 double arg2 ;
30771 double arg3 ;
30772 int arg4 = (int) 0 ;
30773 int arg5 = (int) 0 ;
30774 PyObject * obj0 = 0 ;
8edf1c75
RD
30775 PyObject * obj1 = 0 ;
30776 PyObject * obj2 = 0 ;
30777 PyObject * obj3 = 0 ;
30778 PyObject * obj4 = 0 ;
44127b65
RD
30779 char *kwnames[] = {
30780 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
30781 };
30782
8edf1c75 30783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
30784 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
30785 if (SWIG_arg_fail(1)) SWIG_fail;
30786 {
30787 arg2 = (double)(SWIG_As_double(obj1));
30788 if (SWIG_arg_fail(2)) SWIG_fail;
30789 }
30790 {
30791 arg3 = (double)(SWIG_As_double(obj2));
30792 if (SWIG_arg_fail(3)) SWIG_fail;
30793 }
8edf1c75 30794 if (obj3) {
36ed4f51
RD
30795 {
30796 arg4 = (int)(SWIG_As_int(obj3));
30797 if (SWIG_arg_fail(4)) SWIG_fail;
30798 }
8edf1c75
RD
30799 }
30800 if (obj4) {
36ed4f51
RD
30801 {
30802 arg5 = (int)(SWIG_As_int(obj4));
30803 if (SWIG_arg_fail(5)) SWIG_fail;
30804 }
8edf1c75 30805 }
44127b65
RD
30806 {
30807 PyThreadState* __tstate = wxPyBeginAllowThreads();
30808 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
30809
30810 wxPyEndAllowThreads(__tstate);
30811 if (PyErr_Occurred()) SWIG_fail;
30812 }
30813 Py_INCREF(Py_None); resultobj = Py_None;
30814 return resultobj;
30815 fail:
30816 return NULL;
30817}
30818
30819
c370783e 30820static PyObject *_wrap_PyLineShape_base_OnSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
30821 PyObject *resultobj;
30822 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
30823 double arg2 ;
30824 double arg3 ;
30825 PyObject * obj0 = 0 ;
8edf1c75
RD
30826 PyObject * obj1 = 0 ;
30827 PyObject * obj2 = 0 ;
44127b65
RD
30828 char *kwnames[] = {
30829 (char *) "self",(char *) "x",(char *) "y", NULL
30830 };
30831
8edf1c75 30832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
30833 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
30834 if (SWIG_arg_fail(1)) SWIG_fail;
30835 {
30836 arg2 = (double)(SWIG_As_double(obj1));
30837 if (SWIG_arg_fail(2)) SWIG_fail;
30838 }
30839 {
30840 arg3 = (double)(SWIG_As_double(obj2));
30841 if (SWIG_arg_fail(3)) SWIG_fail;
30842 }
44127b65
RD
30843 {
30844 PyThreadState* __tstate = wxPyBeginAllowThreads();
30845 (arg1)->base_OnSize(arg2,arg3);
30846
30847 wxPyEndAllowThreads(__tstate);
30848 if (PyErr_Occurred()) SWIG_fail;
30849 }
30850 Py_INCREF(Py_None); resultobj = Py_None;
30851 return resultobj;
30852 fail:
30853 return NULL;
30854}
30855
30856
c370783e 30857static PyObject *_wrap_PyLineShape_base_OnMovePre(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
30858 PyObject *resultobj;
30859 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
30860 wxDC *arg2 = 0 ;
30861 double arg3 ;
30862 double arg4 ;
30863 double arg5 ;
30864 double arg6 ;
b411df4a 30865 bool arg7 = (bool) true ;
44127b65
RD
30866 bool result;
30867 PyObject * obj0 = 0 ;
30868 PyObject * obj1 = 0 ;
8edf1c75
RD
30869 PyObject * obj2 = 0 ;
30870 PyObject * obj3 = 0 ;
30871 PyObject * obj4 = 0 ;
30872 PyObject * obj5 = 0 ;
44127b65
RD
30873 PyObject * obj6 = 0 ;
30874 char *kwnames[] = {
30875 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
30876 };
30877
8edf1c75 30878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyLineShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
30879 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
30880 if (SWIG_arg_fail(1)) SWIG_fail;
30881 {
30882 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
30883 if (SWIG_arg_fail(2)) SWIG_fail;
30884 if (arg2 == NULL) {
30885 SWIG_null_ref("wxDC");
30886 }
30887 if (SWIG_arg_fail(2)) SWIG_fail;
30888 }
30889 {
30890 arg3 = (double)(SWIG_As_double(obj2));
30891 if (SWIG_arg_fail(3)) SWIG_fail;
30892 }
30893 {
30894 arg4 = (double)(SWIG_As_double(obj3));
30895 if (SWIG_arg_fail(4)) SWIG_fail;
30896 }
30897 {
30898 arg5 = (double)(SWIG_As_double(obj4));
30899 if (SWIG_arg_fail(5)) SWIG_fail;
30900 }
30901 {
30902 arg6 = (double)(SWIG_As_double(obj5));
30903 if (SWIG_arg_fail(6)) SWIG_fail;
30904 }
44127b65 30905 if (obj6) {
36ed4f51
RD
30906 {
30907 arg7 = (bool)(SWIG_As_bool(obj6));
30908 if (SWIG_arg_fail(7)) SWIG_fail;
30909 }
44127b65
RD
30910 }
30911 {
30912 PyThreadState* __tstate = wxPyBeginAllowThreads();
30913 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
30914
30915 wxPyEndAllowThreads(__tstate);
30916 if (PyErr_Occurred()) SWIG_fail;
30917 }
fbc46b20
RD
30918 {
30919 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30920 }
44127b65
RD
30921 return resultobj;
30922 fail:
30923 return NULL;
30924}
30925
30926
c370783e 30927static PyObject *_wrap_PyLineShape_base_OnMovePost(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
30928 PyObject *resultobj;
30929 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
30930 wxDC *arg2 = 0 ;
30931 double arg3 ;
30932 double arg4 ;
30933 double arg5 ;
30934 double arg6 ;
b411df4a 30935 bool arg7 = (bool) true ;
44127b65
RD
30936 PyObject * obj0 = 0 ;
30937 PyObject * obj1 = 0 ;
8edf1c75
RD
30938 PyObject * obj2 = 0 ;
30939 PyObject * obj3 = 0 ;
30940 PyObject * obj4 = 0 ;
30941 PyObject * obj5 = 0 ;
44127b65
RD
30942 PyObject * obj6 = 0 ;
30943 char *kwnames[] = {
30944 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
30945 };
30946
8edf1c75 30947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyLineShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
30948 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
30949 if (SWIG_arg_fail(1)) SWIG_fail;
30950 {
30951 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
30952 if (SWIG_arg_fail(2)) SWIG_fail;
30953 if (arg2 == NULL) {
30954 SWIG_null_ref("wxDC");
30955 }
30956 if (SWIG_arg_fail(2)) SWIG_fail;
30957 }
30958 {
30959 arg3 = (double)(SWIG_As_double(obj2));
30960 if (SWIG_arg_fail(3)) SWIG_fail;
30961 }
30962 {
30963 arg4 = (double)(SWIG_As_double(obj3));
30964 if (SWIG_arg_fail(4)) SWIG_fail;
30965 }
30966 {
30967 arg5 = (double)(SWIG_As_double(obj4));
30968 if (SWIG_arg_fail(5)) SWIG_fail;
30969 }
30970 {
30971 arg6 = (double)(SWIG_As_double(obj5));
30972 if (SWIG_arg_fail(6)) SWIG_fail;
30973 }
44127b65 30974 if (obj6) {
36ed4f51
RD
30975 {
30976 arg7 = (bool)(SWIG_As_bool(obj6));
30977 if (SWIG_arg_fail(7)) SWIG_fail;
30978 }
44127b65
RD
30979 }
30980 {
30981 PyThreadState* __tstate = wxPyBeginAllowThreads();
30982 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
30983
30984 wxPyEndAllowThreads(__tstate);
30985 if (PyErr_Occurred()) SWIG_fail;
30986 }
30987 Py_INCREF(Py_None); resultobj = Py_None;
30988 return resultobj;
30989 fail:
30990 return NULL;
30991}
30992
30993
c370783e 30994static PyObject *_wrap_PyLineShape_base_OnDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
30995 PyObject *resultobj;
30996 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
30997 bool arg2 ;
30998 double arg3 ;
30999 double arg4 ;
31000 int arg5 = (int) 0 ;
31001 int arg6 = (int) 0 ;
31002 PyObject * obj0 = 0 ;
31003 PyObject * obj1 = 0 ;
8edf1c75
RD
31004 PyObject * obj2 = 0 ;
31005 PyObject * obj3 = 0 ;
31006 PyObject * obj4 = 0 ;
31007 PyObject * obj5 = 0 ;
44127b65
RD
31008 char *kwnames[] = {
31009 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
31010 };
31011
8edf1c75 31012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyLineShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
31013 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
31014 if (SWIG_arg_fail(1)) SWIG_fail;
31015 {
31016 arg2 = (bool)(SWIG_As_bool(obj1));
31017 if (SWIG_arg_fail(2)) SWIG_fail;
31018 }
31019 {
31020 arg3 = (double)(SWIG_As_double(obj2));
31021 if (SWIG_arg_fail(3)) SWIG_fail;
31022 }
31023 {
31024 arg4 = (double)(SWIG_As_double(obj3));
31025 if (SWIG_arg_fail(4)) SWIG_fail;
31026 }
8edf1c75 31027 if (obj4) {
36ed4f51
RD
31028 {
31029 arg5 = (int)(SWIG_As_int(obj4));
31030 if (SWIG_arg_fail(5)) SWIG_fail;
31031 }
8edf1c75
RD
31032 }
31033 if (obj5) {
36ed4f51
RD
31034 {
31035 arg6 = (int)(SWIG_As_int(obj5));
31036 if (SWIG_arg_fail(6)) SWIG_fail;
31037 }
8edf1c75 31038 }
44127b65
RD
31039 {
31040 PyThreadState* __tstate = wxPyBeginAllowThreads();
31041 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
31042
31043 wxPyEndAllowThreads(__tstate);
31044 if (PyErr_Occurred()) SWIG_fail;
31045 }
31046 Py_INCREF(Py_None); resultobj = Py_None;
31047 return resultobj;
31048 fail:
31049 return NULL;
31050}
31051
31052
c370783e 31053static PyObject *_wrap_PyLineShape_base_OnBeginDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
31054 PyObject *resultobj;
31055 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
31056 double arg2 ;
31057 double arg3 ;
31058 int arg4 = (int) 0 ;
31059 int arg5 = (int) 0 ;
31060 PyObject * obj0 = 0 ;
8edf1c75
RD
31061 PyObject * obj1 = 0 ;
31062 PyObject * obj2 = 0 ;
31063 PyObject * obj3 = 0 ;
31064 PyObject * obj4 = 0 ;
44127b65
RD
31065 char *kwnames[] = {
31066 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
31067 };
31068
8edf1c75 31069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
31070 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
31071 if (SWIG_arg_fail(1)) SWIG_fail;
31072 {
31073 arg2 = (double)(SWIG_As_double(obj1));
31074 if (SWIG_arg_fail(2)) SWIG_fail;
31075 }
31076 {
31077 arg3 = (double)(SWIG_As_double(obj2));
31078 if (SWIG_arg_fail(3)) SWIG_fail;
31079 }
8edf1c75 31080 if (obj3) {
36ed4f51
RD
31081 {
31082 arg4 = (int)(SWIG_As_int(obj3));
31083 if (SWIG_arg_fail(4)) SWIG_fail;
31084 }
8edf1c75
RD
31085 }
31086 if (obj4) {
36ed4f51
RD
31087 {
31088 arg5 = (int)(SWIG_As_int(obj4));
31089 if (SWIG_arg_fail(5)) SWIG_fail;
31090 }
8edf1c75 31091 }
44127b65
RD
31092 {
31093 PyThreadState* __tstate = wxPyBeginAllowThreads();
31094 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
31095
31096 wxPyEndAllowThreads(__tstate);
31097 if (PyErr_Occurred()) SWIG_fail;
31098 }
31099 Py_INCREF(Py_None); resultobj = Py_None;
31100 return resultobj;
31101 fail:
31102 return NULL;
31103}
31104
31105
c370783e 31106static PyObject *_wrap_PyLineShape_base_OnEndDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
31107 PyObject *resultobj;
31108 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
31109 double arg2 ;
31110 double arg3 ;
31111 int arg4 = (int) 0 ;
31112 int arg5 = (int) 0 ;
31113 PyObject * obj0 = 0 ;
8edf1c75
RD
31114 PyObject * obj1 = 0 ;
31115 PyObject * obj2 = 0 ;
31116 PyObject * obj3 = 0 ;
31117 PyObject * obj4 = 0 ;
44127b65
RD
31118 char *kwnames[] = {
31119 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
31120 };
31121
8edf1c75 31122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
31123 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
31124 if (SWIG_arg_fail(1)) SWIG_fail;
31125 {
31126 arg2 = (double)(SWIG_As_double(obj1));
31127 if (SWIG_arg_fail(2)) SWIG_fail;
31128 }
31129 {
31130 arg3 = (double)(SWIG_As_double(obj2));
31131 if (SWIG_arg_fail(3)) SWIG_fail;
31132 }
8edf1c75 31133 if (obj3) {
36ed4f51
RD
31134 {
31135 arg4 = (int)(SWIG_As_int(obj3));
31136 if (SWIG_arg_fail(4)) SWIG_fail;
31137 }
8edf1c75
RD
31138 }
31139 if (obj4) {
36ed4f51
RD
31140 {
31141 arg5 = (int)(SWIG_As_int(obj4));
31142 if (SWIG_arg_fail(5)) SWIG_fail;
31143 }
8edf1c75 31144 }
44127b65
RD
31145 {
31146 PyThreadState* __tstate = wxPyBeginAllowThreads();
31147 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
31148
31149 wxPyEndAllowThreads(__tstate);
31150 if (PyErr_Occurred()) SWIG_fail;
31151 }
31152 Py_INCREF(Py_None); resultobj = Py_None;
31153 return resultobj;
31154 fail:
31155 return NULL;
31156}
31157
31158
c370783e 31159static PyObject *_wrap_PyLineShape_base_OnDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
31160 PyObject *resultobj;
31161 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
31162 bool arg2 ;
31163 double arg3 ;
31164 double arg4 ;
31165 int arg5 = (int) 0 ;
31166 int arg6 = (int) 0 ;
31167 PyObject * obj0 = 0 ;
31168 PyObject * obj1 = 0 ;
8edf1c75
RD
31169 PyObject * obj2 = 0 ;
31170 PyObject * obj3 = 0 ;
31171 PyObject * obj4 = 0 ;
31172 PyObject * obj5 = 0 ;
44127b65
RD
31173 char *kwnames[] = {
31174 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
31175 };
31176
8edf1c75 31177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyLineShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
31178 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
31179 if (SWIG_arg_fail(1)) SWIG_fail;
31180 {
31181 arg2 = (bool)(SWIG_As_bool(obj1));
31182 if (SWIG_arg_fail(2)) SWIG_fail;
31183 }
31184 {
31185 arg3 = (double)(SWIG_As_double(obj2));
31186 if (SWIG_arg_fail(3)) SWIG_fail;
31187 }
31188 {
31189 arg4 = (double)(SWIG_As_double(obj3));
31190 if (SWIG_arg_fail(4)) SWIG_fail;
31191 }
8edf1c75 31192 if (obj4) {
36ed4f51
RD
31193 {
31194 arg5 = (int)(SWIG_As_int(obj4));
31195 if (SWIG_arg_fail(5)) SWIG_fail;
31196 }
8edf1c75
RD
31197 }
31198 if (obj5) {
36ed4f51
RD
31199 {
31200 arg6 = (int)(SWIG_As_int(obj5));
31201 if (SWIG_arg_fail(6)) SWIG_fail;
31202 }
8edf1c75 31203 }
44127b65
RD
31204 {
31205 PyThreadState* __tstate = wxPyBeginAllowThreads();
31206 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
31207
31208 wxPyEndAllowThreads(__tstate);
31209 if (PyErr_Occurred()) SWIG_fail;
31210 }
31211 Py_INCREF(Py_None); resultobj = Py_None;
31212 return resultobj;
31213 fail:
31214 return NULL;
31215}
31216
31217
c370783e 31218static PyObject *_wrap_PyLineShape_base_OnBeginDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
31219 PyObject *resultobj;
31220 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
31221 double arg2 ;
31222 double arg3 ;
31223 int arg4 = (int) 0 ;
31224 int arg5 = (int) 0 ;
31225 PyObject * obj0 = 0 ;
8edf1c75
RD
31226 PyObject * obj1 = 0 ;
31227 PyObject * obj2 = 0 ;
31228 PyObject * obj3 = 0 ;
31229 PyObject * obj4 = 0 ;
44127b65
RD
31230 char *kwnames[] = {
31231 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
31232 };
31233
8edf1c75 31234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
31235 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
31236 if (SWIG_arg_fail(1)) SWIG_fail;
31237 {
31238 arg2 = (double)(SWIG_As_double(obj1));
31239 if (SWIG_arg_fail(2)) SWIG_fail;
31240 }
31241 {
31242 arg3 = (double)(SWIG_As_double(obj2));
31243 if (SWIG_arg_fail(3)) SWIG_fail;
31244 }
2f4c0a16 31245 if (obj3) {
36ed4f51
RD
31246 {
31247 arg4 = (int)(SWIG_As_int(obj3));
31248 if (SWIG_arg_fail(4)) SWIG_fail;
31249 }
8edf1c75 31250 }
2f4c0a16 31251 if (obj4) {
36ed4f51
RD
31252 {
31253 arg5 = (int)(SWIG_As_int(obj4));
31254 if (SWIG_arg_fail(5)) SWIG_fail;
31255 }
8edf1c75 31256 }
44127b65
RD
31257 {
31258 PyThreadState* __tstate = wxPyBeginAllowThreads();
31259 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
31260
31261 wxPyEndAllowThreads(__tstate);
31262 if (PyErr_Occurred()) SWIG_fail;
31263 }
31264 Py_INCREF(Py_None); resultobj = Py_None;
31265 return resultobj;
31266 fail:
31267 return NULL;
31268}
31269
31270
c370783e 31271static PyObject *_wrap_PyLineShape_base_OnEndDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
31272 PyObject *resultobj;
31273 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
31274 double arg2 ;
31275 double arg3 ;
31276 int arg4 = (int) 0 ;
31277 int arg5 = (int) 0 ;
31278 PyObject * obj0 = 0 ;
8edf1c75
RD
31279 PyObject * obj1 = 0 ;
31280 PyObject * obj2 = 0 ;
31281 PyObject * obj3 = 0 ;
31282 PyObject * obj4 = 0 ;
44127b65
RD
31283 char *kwnames[] = {
31284 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
31285 };
31286
8edf1c75 31287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyLineShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
31288 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
31289 if (SWIG_arg_fail(1)) SWIG_fail;
31290 {
31291 arg2 = (double)(SWIG_As_double(obj1));
31292 if (SWIG_arg_fail(2)) SWIG_fail;
31293 }
31294 {
31295 arg3 = (double)(SWIG_As_double(obj2));
31296 if (SWIG_arg_fail(3)) SWIG_fail;
31297 }
8edf1c75 31298 if (obj3) {
36ed4f51
RD
31299 {
31300 arg4 = (int)(SWIG_As_int(obj3));
31301 if (SWIG_arg_fail(4)) SWIG_fail;
31302 }
8edf1c75
RD
31303 }
31304 if (obj4) {
36ed4f51
RD
31305 {
31306 arg5 = (int)(SWIG_As_int(obj4));
31307 if (SWIG_arg_fail(5)) SWIG_fail;
31308 }
8edf1c75 31309 }
44127b65
RD
31310 {
31311 PyThreadState* __tstate = wxPyBeginAllowThreads();
31312 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
31313
31314 wxPyEndAllowThreads(__tstate);
31315 if (PyErr_Occurred()) SWIG_fail;
31316 }
31317 Py_INCREF(Py_None); resultobj = Py_None;
31318 return resultobj;
31319 fail:
31320 return NULL;
31321}
31322
31323
c370783e 31324static PyObject *_wrap_PyLineShape_base_OnDrawOutline(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
31325 PyObject *resultobj;
31326 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
31327 wxDC *arg2 = 0 ;
31328 double arg3 ;
31329 double arg4 ;
31330 double arg5 ;
31331 double arg6 ;
31332 PyObject * obj0 = 0 ;
31333 PyObject * obj1 = 0 ;
8edf1c75
RD
31334 PyObject * obj2 = 0 ;
31335 PyObject * obj3 = 0 ;
31336 PyObject * obj4 = 0 ;
31337 PyObject * obj5 = 0 ;
44127b65
RD
31338 char *kwnames[] = {
31339 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
31340 };
31341
8edf1c75 31342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyLineShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
31343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
31344 if (SWIG_arg_fail(1)) SWIG_fail;
31345 {
31346 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
31347 if (SWIG_arg_fail(2)) SWIG_fail;
31348 if (arg2 == NULL) {
31349 SWIG_null_ref("wxDC");
31350 }
31351 if (SWIG_arg_fail(2)) SWIG_fail;
31352 }
31353 {
31354 arg3 = (double)(SWIG_As_double(obj2));
31355 if (SWIG_arg_fail(3)) SWIG_fail;
31356 }
31357 {
31358 arg4 = (double)(SWIG_As_double(obj3));
31359 if (SWIG_arg_fail(4)) SWIG_fail;
31360 }
31361 {
31362 arg5 = (double)(SWIG_As_double(obj4));
31363 if (SWIG_arg_fail(5)) SWIG_fail;
31364 }
31365 {
31366 arg6 = (double)(SWIG_As_double(obj5));
31367 if (SWIG_arg_fail(6)) SWIG_fail;
31368 }
44127b65
RD
31369 {
31370 PyThreadState* __tstate = wxPyBeginAllowThreads();
31371 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
31372
31373 wxPyEndAllowThreads(__tstate);
31374 if (PyErr_Occurred()) SWIG_fail;
31375 }
31376 Py_INCREF(Py_None); resultobj = Py_None;
31377 return resultobj;
31378 fail:
31379 return NULL;
31380}
31381
31382
c370783e 31383static PyObject *_wrap_PyLineShape_base_OnDrawControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
31384 PyObject *resultobj;
31385 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
31386 wxDC *arg2 = 0 ;
31387 PyObject * obj0 = 0 ;
31388 PyObject * obj1 = 0 ;
31389 char *kwnames[] = {
31390 (char *) "self",(char *) "dc", NULL
31391 };
31392
31393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
31394 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
31395 if (SWIG_arg_fail(1)) SWIG_fail;
31396 {
31397 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
31398 if (SWIG_arg_fail(2)) SWIG_fail;
31399 if (arg2 == NULL) {
31400 SWIG_null_ref("wxDC");
31401 }
31402 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
31403 }
31404 {
31405 PyThreadState* __tstate = wxPyBeginAllowThreads();
31406 (arg1)->base_OnDrawControlPoints(*arg2);
31407
31408 wxPyEndAllowThreads(__tstate);
31409 if (PyErr_Occurred()) SWIG_fail;
31410 }
31411 Py_INCREF(Py_None); resultobj = Py_None;
31412 return resultobj;
31413 fail:
31414 return NULL;
31415}
31416
31417
c370783e 31418static PyObject *_wrap_PyLineShape_base_OnEraseControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
31419 PyObject *resultobj;
31420 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
31421 wxDC *arg2 = 0 ;
31422 PyObject * obj0 = 0 ;
31423 PyObject * obj1 = 0 ;
31424 char *kwnames[] = {
31425 (char *) "self",(char *) "dc", NULL
31426 };
31427
31428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyLineShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
31429 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
31430 if (SWIG_arg_fail(1)) SWIG_fail;
31431 {
31432 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
31433 if (SWIG_arg_fail(2)) SWIG_fail;
31434 if (arg2 == NULL) {
31435 SWIG_null_ref("wxDC");
31436 }
31437 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
31438 }
31439 {
31440 PyThreadState* __tstate = wxPyBeginAllowThreads();
31441 (arg1)->base_OnEraseControlPoints(*arg2);
31442
31443 wxPyEndAllowThreads(__tstate);
31444 if (PyErr_Occurred()) SWIG_fail;
31445 }
31446 Py_INCREF(Py_None); resultobj = Py_None;
31447 return resultobj;
31448 fail:
31449 return NULL;
31450}
31451
31452
c370783e 31453static PyObject *_wrap_PyLineShape_base_OnMoveLink(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
31454 PyObject *resultobj;
31455 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
31456 wxDC *arg2 = 0 ;
b411df4a 31457 bool arg3 = (bool) true ;
44127b65
RD
31458 PyObject * obj0 = 0 ;
31459 PyObject * obj1 = 0 ;
31460 PyObject * obj2 = 0 ;
31461 char *kwnames[] = {
31462 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
31463 };
31464
31465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyLineShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
31466 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
31467 if (SWIG_arg_fail(1)) SWIG_fail;
31468 {
31469 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
31470 if (SWIG_arg_fail(2)) SWIG_fail;
31471 if (arg2 == NULL) {
31472 SWIG_null_ref("wxDC");
31473 }
31474 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
31475 }
31476 if (obj2) {
36ed4f51
RD
31477 {
31478 arg3 = (bool)(SWIG_As_bool(obj2));
31479 if (SWIG_arg_fail(3)) SWIG_fail;
31480 }
44127b65
RD
31481 }
31482 {
31483 PyThreadState* __tstate = wxPyBeginAllowThreads();
31484 (arg1)->base_OnMoveLink(*arg2,arg3);
31485
31486 wxPyEndAllowThreads(__tstate);
31487 if (PyErr_Occurred()) SWIG_fail;
31488 }
31489 Py_INCREF(Py_None); resultobj = Py_None;
31490 return resultobj;
31491 fail:
31492 return NULL;
31493}
31494
31495
c370783e 31496static PyObject *_wrap_PyLineShape_base_OnSizingDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
31497 PyObject *resultobj;
31498 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
31499 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
31500 bool arg3 ;
31501 double arg4 ;
31502 double arg5 ;
31503 int arg6 = (int) 0 ;
31504 int arg7 = (int) 0 ;
31505 PyObject * obj0 = 0 ;
31506 PyObject * obj1 = 0 ;
31507 PyObject * obj2 = 0 ;
8edf1c75
RD
31508 PyObject * obj3 = 0 ;
31509 PyObject * obj4 = 0 ;
31510 PyObject * obj5 = 0 ;
31511 PyObject * obj6 = 0 ;
44127b65
RD
31512 char *kwnames[] = {
31513 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
31514 };
31515
8edf1c75 31516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyLineShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
31517 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
31518 if (SWIG_arg_fail(1)) SWIG_fail;
31519 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
31520 if (SWIG_arg_fail(2)) SWIG_fail;
31521 {
31522 arg3 = (bool)(SWIG_As_bool(obj2));
31523 if (SWIG_arg_fail(3)) SWIG_fail;
31524 }
31525 {
31526 arg4 = (double)(SWIG_As_double(obj3));
31527 if (SWIG_arg_fail(4)) SWIG_fail;
31528 }
31529 {
31530 arg5 = (double)(SWIG_As_double(obj4));
31531 if (SWIG_arg_fail(5)) SWIG_fail;
31532 }
8edf1c75 31533 if (obj5) {
36ed4f51
RD
31534 {
31535 arg6 = (int)(SWIG_As_int(obj5));
31536 if (SWIG_arg_fail(6)) SWIG_fail;
31537 }
8edf1c75
RD
31538 }
31539 if (obj6) {
36ed4f51
RD
31540 {
31541 arg7 = (int)(SWIG_As_int(obj6));
31542 if (SWIG_arg_fail(7)) SWIG_fail;
31543 }
8edf1c75 31544 }
44127b65
RD
31545 {
31546 PyThreadState* __tstate = wxPyBeginAllowThreads();
31547 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
31548
31549 wxPyEndAllowThreads(__tstate);
31550 if (PyErr_Occurred()) SWIG_fail;
31551 }
31552 Py_INCREF(Py_None); resultobj = Py_None;
31553 return resultobj;
31554 fail:
31555 return NULL;
31556}
31557
31558
c370783e 31559static PyObject *_wrap_PyLineShape_base_OnSizingBeginDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
31560 PyObject *resultobj;
31561 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
31562 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
31563 double arg3 ;
31564 double arg4 ;
31565 int arg5 = (int) 0 ;
31566 int arg6 = (int) 0 ;
31567 PyObject * obj0 = 0 ;
31568 PyObject * obj1 = 0 ;
8edf1c75
RD
31569 PyObject * obj2 = 0 ;
31570 PyObject * obj3 = 0 ;
31571 PyObject * obj4 = 0 ;
31572 PyObject * obj5 = 0 ;
44127b65
RD
31573 char *kwnames[] = {
31574 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
31575 };
31576
8edf1c75 31577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyLineShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
31578 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
31579 if (SWIG_arg_fail(1)) SWIG_fail;
31580 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
31581 if (SWIG_arg_fail(2)) SWIG_fail;
31582 {
31583 arg3 = (double)(SWIG_As_double(obj2));
31584 if (SWIG_arg_fail(3)) SWIG_fail;
31585 }
31586 {
31587 arg4 = (double)(SWIG_As_double(obj3));
31588 if (SWIG_arg_fail(4)) SWIG_fail;
31589 }
8edf1c75 31590 if (obj4) {
36ed4f51
RD
31591 {
31592 arg5 = (int)(SWIG_As_int(obj4));
31593 if (SWIG_arg_fail(5)) SWIG_fail;
31594 }
8edf1c75
RD
31595 }
31596 if (obj5) {
36ed4f51
RD
31597 {
31598 arg6 = (int)(SWIG_As_int(obj5));
31599 if (SWIG_arg_fail(6)) SWIG_fail;
31600 }
8edf1c75 31601 }
44127b65
RD
31602 {
31603 PyThreadState* __tstate = wxPyBeginAllowThreads();
31604 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
31605
31606 wxPyEndAllowThreads(__tstate);
31607 if (PyErr_Occurred()) SWIG_fail;
31608 }
31609 Py_INCREF(Py_None); resultobj = Py_None;
31610 return resultobj;
31611 fail:
31612 return NULL;
31613}
31614
31615
c370783e 31616static PyObject *_wrap_PyLineShape_base_OnSizingEndDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
31617 PyObject *resultobj;
31618 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
31619 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
31620 double arg3 ;
31621 double arg4 ;
31622 int arg5 = (int) 0 ;
31623 int arg6 = (int) 0 ;
31624 PyObject * obj0 = 0 ;
31625 PyObject * obj1 = 0 ;
8edf1c75
RD
31626 PyObject * obj2 = 0 ;
31627 PyObject * obj3 = 0 ;
31628 PyObject * obj4 = 0 ;
31629 PyObject * obj5 = 0 ;
44127b65
RD
31630 char *kwnames[] = {
31631 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
31632 };
31633
8edf1c75 31634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyLineShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
31635 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
31636 if (SWIG_arg_fail(1)) SWIG_fail;
31637 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
31638 if (SWIG_arg_fail(2)) SWIG_fail;
31639 {
31640 arg3 = (double)(SWIG_As_double(obj2));
31641 if (SWIG_arg_fail(3)) SWIG_fail;
31642 }
31643 {
31644 arg4 = (double)(SWIG_As_double(obj3));
31645 if (SWIG_arg_fail(4)) SWIG_fail;
31646 }
8edf1c75 31647 if (obj4) {
36ed4f51
RD
31648 {
31649 arg5 = (int)(SWIG_As_int(obj4));
31650 if (SWIG_arg_fail(5)) SWIG_fail;
31651 }
8edf1c75
RD
31652 }
31653 if (obj5) {
36ed4f51
RD
31654 {
31655 arg6 = (int)(SWIG_As_int(obj5));
31656 if (SWIG_arg_fail(6)) SWIG_fail;
31657 }
8edf1c75 31658 }
44127b65
RD
31659 {
31660 PyThreadState* __tstate = wxPyBeginAllowThreads();
31661 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
31662
31663 wxPyEndAllowThreads(__tstate);
31664 if (PyErr_Occurred()) SWIG_fail;
31665 }
31666 Py_INCREF(Py_None); resultobj = Py_None;
31667 return resultobj;
31668 fail:
31669 return NULL;
31670}
31671
31672
c370783e 31673static PyObject *_wrap_PyLineShape_base_OnBeginSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
31674 PyObject *resultobj;
31675 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
31676 double arg2 ;
31677 double arg3 ;
31678 PyObject * obj0 = 0 ;
8edf1c75
RD
31679 PyObject * obj1 = 0 ;
31680 PyObject * obj2 = 0 ;
44127b65
RD
31681 char *kwnames[] = {
31682 (char *) "self",(char *) "w",(char *) "h", NULL
31683 };
31684
8edf1c75 31685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
31686 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
31687 if (SWIG_arg_fail(1)) SWIG_fail;
31688 {
31689 arg2 = (double)(SWIG_As_double(obj1));
31690 if (SWIG_arg_fail(2)) SWIG_fail;
31691 }
31692 {
31693 arg3 = (double)(SWIG_As_double(obj2));
31694 if (SWIG_arg_fail(3)) SWIG_fail;
31695 }
44127b65
RD
31696 {
31697 PyThreadState* __tstate = wxPyBeginAllowThreads();
31698 (arg1)->base_OnBeginSize(arg2,arg3);
31699
31700 wxPyEndAllowThreads(__tstate);
31701 if (PyErr_Occurred()) SWIG_fail;
31702 }
31703 Py_INCREF(Py_None); resultobj = Py_None;
31704 return resultobj;
31705 fail:
31706 return NULL;
31707}
31708
31709
c370783e 31710static PyObject *_wrap_PyLineShape_base_OnEndSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
31711 PyObject *resultobj;
31712 wxPyLineShape *arg1 = (wxPyLineShape *) 0 ;
31713 double arg2 ;
31714 double arg3 ;
31715 PyObject * obj0 = 0 ;
8edf1c75
RD
31716 PyObject * obj1 = 0 ;
31717 PyObject * obj2 = 0 ;
44127b65
RD
31718 char *kwnames[] = {
31719 (char *) "self",(char *) "w",(char *) "h", NULL
31720 };
31721
8edf1c75 31722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLineShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
31723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLineShape, SWIG_POINTER_EXCEPTION | 0);
31724 if (SWIG_arg_fail(1)) SWIG_fail;
31725 {
31726 arg2 = (double)(SWIG_As_double(obj1));
31727 if (SWIG_arg_fail(2)) SWIG_fail;
31728 }
31729 {
31730 arg3 = (double)(SWIG_As_double(obj2));
31731 if (SWIG_arg_fail(3)) SWIG_fail;
31732 }
44127b65
RD
31733 {
31734 PyThreadState* __tstate = wxPyBeginAllowThreads();
31735 (arg1)->base_OnEndSize(arg2,arg3);
31736
31737 wxPyEndAllowThreads(__tstate);
31738 if (PyErr_Occurred()) SWIG_fail;
31739 }
31740 Py_INCREF(Py_None); resultobj = Py_None;
31741 return resultobj;
31742 fail:
31743 return NULL;
31744}
31745
31746
c370783e 31747static PyObject * PyLineShape_swigregister(PyObject *, PyObject *args) {
44127b65
RD
31748 PyObject *obj;
31749 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31750 SWIG_TypeClientData(SWIGTYPE_p_wxPyLineShape, obj);
31751 Py_INCREF(obj);
31752 return Py_BuildValue((char *)"");
31753}
c370783e 31754static PyObject *_wrap_new_PyPolygonShape(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
31755 PyObject *resultobj;
31756 wxPyPolygonShape *result;
31757 char *kwnames[] = {
31758 NULL
31759 };
31760
31761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyPolygonShape",kwnames)) goto fail;
31762 {
31763 PyThreadState* __tstate = wxPyBeginAllowThreads();
31764 result = (wxPyPolygonShape *)new wxPyPolygonShape();
31765
31766 wxPyEndAllowThreads(__tstate);
31767 if (PyErr_Occurred()) SWIG_fail;
31768 }
2f4c0a16 31769 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPolygonShape, 1);
44127b65
RD
31770 return resultobj;
31771 fail:
31772 return NULL;
31773}
31774
31775
c370783e 31776static PyObject *_wrap_PyPolygonShape__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
31777 PyObject *resultobj;
31778 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
31779 PyObject *arg2 = (PyObject *) 0 ;
31780 PyObject *arg3 = (PyObject *) 0 ;
31781 PyObject * obj0 = 0 ;
31782 PyObject * obj1 = 0 ;
31783 PyObject * obj2 = 0 ;
31784 char *kwnames[] = {
31785 (char *) "self",(char *) "self",(char *) "_class", NULL
31786 };
31787
31788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPolygonShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
31789 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPolygonShape, SWIG_POINTER_EXCEPTION | 0);
31790 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
31791 arg2 = obj1;
31792 arg3 = obj2;
31793 {
31794 PyThreadState* __tstate = wxPyBeginAllowThreads();
31795 (arg1)->_setCallbackInfo(arg2,arg3);
31796
31797 wxPyEndAllowThreads(__tstate);
31798 if (PyErr_Occurred()) SWIG_fail;
31799 }
31800 Py_INCREF(Py_None); resultobj = Py_None;
31801 return resultobj;
31802 fail:
31803 return NULL;
31804}
31805
31806
c370783e 31807static PyObject *_wrap_PyPolygonShape_Create(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
31808 PyObject *resultobj;
31809 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
31810 PyObject *arg2 = (PyObject *) 0 ;
31811 PyObject *result;
31812 PyObject * obj0 = 0 ;
31813 PyObject * obj1 = 0 ;
31814 char *kwnames[] = {
31815 (char *) "self",(char *) "points", NULL
31816 };
31817
31818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_Create",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
31819 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPolygonShape, SWIG_POINTER_EXCEPTION | 0);
31820 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
31821 arg2 = obj1;
31822 {
31823 PyThreadState* __tstate = wxPyBeginAllowThreads();
31824 result = (PyObject *)wxPyPolygonShape_Create(arg1,arg2);
31825
31826 wxPyEndAllowThreads(__tstate);
31827 if (PyErr_Occurred()) SWIG_fail;
31828 }
31829 resultobj = result;
31830 return resultobj;
31831 fail:
31832 return NULL;
31833}
31834
31835
c370783e 31836static PyObject *_wrap_PyPolygonShape_AddPolygonPoint(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
31837 PyObject *resultobj;
31838 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
31839 int arg2 = (int) 0 ;
31840 PyObject * obj0 = 0 ;
8edf1c75 31841 PyObject * obj1 = 0 ;
44127b65
RD
31842 char *kwnames[] = {
31843 (char *) "self",(char *) "pos", NULL
31844 };
31845
8edf1c75 31846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyPolygonShape_AddPolygonPoint",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
31847 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPolygonShape, SWIG_POINTER_EXCEPTION | 0);
31848 if (SWIG_arg_fail(1)) SWIG_fail;
8edf1c75 31849 if (obj1) {
36ed4f51
RD
31850 {
31851 arg2 = (int)(SWIG_As_int(obj1));
31852 if (SWIG_arg_fail(2)) SWIG_fail;
31853 }
8edf1c75 31854 }
44127b65
RD
31855 {
31856 PyThreadState* __tstate = wxPyBeginAllowThreads();
31857 (arg1)->AddPolygonPoint(arg2);
31858
31859 wxPyEndAllowThreads(__tstate);
31860 if (PyErr_Occurred()) SWIG_fail;
31861 }
31862 Py_INCREF(Py_None); resultobj = Py_None;
31863 return resultobj;
31864 fail:
31865 return NULL;
31866}
31867
31868
c370783e 31869static PyObject *_wrap_PyPolygonShape_CalculatePolygonCentre(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
31870 PyObject *resultobj;
31871 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
31872 PyObject * obj0 = 0 ;
31873 char *kwnames[] = {
31874 (char *) "self", NULL
31875 };
31876
31877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_CalculatePolygonCentre",kwnames,&obj0)) goto fail;
36ed4f51
RD
31878 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPolygonShape, SWIG_POINTER_EXCEPTION | 0);
31879 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
31880 {
31881 PyThreadState* __tstate = wxPyBeginAllowThreads();
31882 (arg1)->CalculatePolygonCentre();
31883
31884 wxPyEndAllowThreads(__tstate);
31885 if (PyErr_Occurred()) SWIG_fail;
31886 }
31887 Py_INCREF(Py_None); resultobj = Py_None;
31888 return resultobj;
31889 fail:
31890 return NULL;
31891}
31892
31893
c370783e 31894static PyObject *_wrap_PyPolygonShape_DeletePolygonPoint(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
31895 PyObject *resultobj;
31896 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
31897 int arg2 = (int) 0 ;
31898 PyObject * obj0 = 0 ;
8edf1c75 31899 PyObject * obj1 = 0 ;
44127b65
RD
31900 char *kwnames[] = {
31901 (char *) "self",(char *) "pos", NULL
31902 };
31903
8edf1c75 31904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyPolygonShape_DeletePolygonPoint",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
31905 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPolygonShape, SWIG_POINTER_EXCEPTION | 0);
31906 if (SWIG_arg_fail(1)) SWIG_fail;
8edf1c75 31907 if (obj1) {
36ed4f51
RD
31908 {
31909 arg2 = (int)(SWIG_As_int(obj1));
31910 if (SWIG_arg_fail(2)) SWIG_fail;
31911 }
8edf1c75 31912 }
44127b65
RD
31913 {
31914 PyThreadState* __tstate = wxPyBeginAllowThreads();
31915 (arg1)->DeletePolygonPoint(arg2);
31916
31917 wxPyEndAllowThreads(__tstate);
31918 if (PyErr_Occurred()) SWIG_fail;
31919 }
31920 Py_INCREF(Py_None); resultobj = Py_None;
31921 return resultobj;
31922 fail:
31923 return NULL;
31924}
31925
31926
c370783e 31927static PyObject *_wrap_PyPolygonShape_GetPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
31928 PyObject *resultobj;
31929 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
31930 PyObject *result;
31931 PyObject * obj0 = 0 ;
31932 char *kwnames[] = {
31933 (char *) "self", NULL
31934 };
31935
31936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_GetPoints",kwnames,&obj0)) goto fail;
36ed4f51
RD
31937 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPolygonShape, SWIG_POINTER_EXCEPTION | 0);
31938 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
31939 {
31940 PyThreadState* __tstate = wxPyBeginAllowThreads();
31941 result = (PyObject *)wxPyPolygonShape_GetPoints(arg1);
31942
31943 wxPyEndAllowThreads(__tstate);
31944 if (PyErr_Occurred()) SWIG_fail;
31945 }
31946 resultobj = result;
31947 return resultobj;
31948 fail:
31949 return NULL;
31950}
31951
31952
c370783e 31953static PyObject *_wrap_PyPolygonShape_GetOriginalPoints(PyObject *, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
31954 PyObject *resultobj;
31955 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
31956 PyObject *result;
31957 PyObject * obj0 = 0 ;
31958 char *kwnames[] = {
31959 (char *) "self", NULL
31960 };
31961
31962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_GetOriginalPoints",kwnames,&obj0)) goto fail;
36ed4f51
RD
31963 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPolygonShape, SWIG_POINTER_EXCEPTION | 0);
31964 if (SWIG_arg_fail(1)) SWIG_fail;
7a0a63ae
RD
31965 {
31966 PyThreadState* __tstate = wxPyBeginAllowThreads();
31967 result = (PyObject *)wxPyPolygonShape_GetOriginalPoints(arg1);
31968
31969 wxPyEndAllowThreads(__tstate);
31970 if (PyErr_Occurred()) SWIG_fail;
31971 }
31972 resultobj = result;
31973 return resultobj;
31974 fail:
31975 return NULL;
31976}
31977
31978
c370783e 31979static PyObject *_wrap_PyPolygonShape_GetOriginalWidth(PyObject *, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
31980 PyObject *resultobj;
31981 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
31982 double result;
31983 PyObject * obj0 = 0 ;
31984 char *kwnames[] = {
31985 (char *) "self", NULL
31986 };
31987
31988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_GetOriginalWidth",kwnames,&obj0)) goto fail;
36ed4f51
RD
31989 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPolygonShape, SWIG_POINTER_EXCEPTION | 0);
31990 if (SWIG_arg_fail(1)) SWIG_fail;
7a0a63ae
RD
31991 {
31992 PyThreadState* __tstate = wxPyBeginAllowThreads();
31993 result = (double)((wxPyPolygonShape const *)arg1)->GetOriginalWidth();
31994
31995 wxPyEndAllowThreads(__tstate);
31996 if (PyErr_Occurred()) SWIG_fail;
31997 }
36ed4f51
RD
31998 {
31999 resultobj = SWIG_From_double((double)(result));
32000 }
7a0a63ae
RD
32001 return resultobj;
32002 fail:
32003 return NULL;
32004}
32005
32006
c370783e 32007static PyObject *_wrap_PyPolygonShape_GetOriginalHeight(PyObject *, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
32008 PyObject *resultobj;
32009 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
32010 double result;
32011 PyObject * obj0 = 0 ;
32012 char *kwnames[] = {
32013 (char *) "self", NULL
32014 };
32015
32016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_GetOriginalHeight",kwnames,&obj0)) goto fail;
36ed4f51
RD
32017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPolygonShape, SWIG_POINTER_EXCEPTION | 0);
32018 if (SWIG_arg_fail(1)) SWIG_fail;
7a0a63ae
RD
32019 {
32020 PyThreadState* __tstate = wxPyBeginAllowThreads();
32021 result = (double)((wxPyPolygonShape const *)arg1)->GetOriginalHeight();
32022
32023 wxPyEndAllowThreads(__tstate);
32024 if (PyErr_Occurred()) SWIG_fail;
32025 }
36ed4f51
RD
32026 {
32027 resultobj = SWIG_From_double((double)(result));
32028 }
7a0a63ae
RD
32029 return resultobj;
32030 fail:
32031 return NULL;
32032}
32033
32034
c370783e 32035static PyObject *_wrap_PyPolygonShape_SetOriginalWidth(PyObject *, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
32036 PyObject *resultobj;
32037 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
32038 double arg2 ;
32039 PyObject * obj0 = 0 ;
8edf1c75 32040 PyObject * obj1 = 0 ;
7a0a63ae
RD
32041 char *kwnames[] = {
32042 (char *) "self",(char *) "w", NULL
32043 };
32044
8edf1c75 32045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_SetOriginalWidth",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
32046 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPolygonShape, SWIG_POINTER_EXCEPTION | 0);
32047 if (SWIG_arg_fail(1)) SWIG_fail;
32048 {
32049 arg2 = (double)(SWIG_As_double(obj1));
32050 if (SWIG_arg_fail(2)) SWIG_fail;
32051 }
7a0a63ae
RD
32052 {
32053 PyThreadState* __tstate = wxPyBeginAllowThreads();
32054 (arg1)->SetOriginalWidth(arg2);
32055
32056 wxPyEndAllowThreads(__tstate);
32057 if (PyErr_Occurred()) SWIG_fail;
32058 }
32059 Py_INCREF(Py_None); resultobj = Py_None;
32060 return resultobj;
32061 fail:
32062 return NULL;
32063}
32064
32065
c370783e 32066static PyObject *_wrap_PyPolygonShape_SetOriginalHeight(PyObject *, PyObject *args, PyObject *kwargs) {
7a0a63ae
RD
32067 PyObject *resultobj;
32068 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
32069 double arg2 ;
32070 PyObject * obj0 = 0 ;
8edf1c75 32071 PyObject * obj1 = 0 ;
7a0a63ae
RD
32072 char *kwnames[] = {
32073 (char *) "self",(char *) "h", NULL
32074 };
32075
8edf1c75 32076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_SetOriginalHeight",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
32077 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPolygonShape, SWIG_POINTER_EXCEPTION | 0);
32078 if (SWIG_arg_fail(1)) SWIG_fail;
32079 {
32080 arg2 = (double)(SWIG_As_double(obj1));
32081 if (SWIG_arg_fail(2)) SWIG_fail;
32082 }
7a0a63ae
RD
32083 {
32084 PyThreadState* __tstate = wxPyBeginAllowThreads();
32085 (arg1)->SetOriginalHeight(arg2);
32086
32087 wxPyEndAllowThreads(__tstate);
32088 if (PyErr_Occurred()) SWIG_fail;
32089 }
32090 Py_INCREF(Py_None); resultobj = Py_None;
32091 return resultobj;
32092 fail:
32093 return NULL;
32094}
32095
32096
c370783e 32097static PyObject *_wrap_PyPolygonShape_UpdateOriginalPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
32098 PyObject *resultobj;
32099 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
32100 PyObject * obj0 = 0 ;
32101 char *kwnames[] = {
32102 (char *) "self", NULL
32103 };
32104
32105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPolygonShape_UpdateOriginalPoints",kwnames,&obj0)) goto fail;
36ed4f51
RD
32106 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPolygonShape, SWIG_POINTER_EXCEPTION | 0);
32107 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
32108 {
32109 PyThreadState* __tstate = wxPyBeginAllowThreads();
32110 (arg1)->UpdateOriginalPoints();
32111
32112 wxPyEndAllowThreads(__tstate);
32113 if (PyErr_Occurred()) SWIG_fail;
32114 }
32115 Py_INCREF(Py_None); resultobj = Py_None;
32116 return resultobj;
32117 fail:
32118 return NULL;
32119}
32120
32121
c370783e 32122static PyObject *_wrap_PyPolygonShape_base_OnDraw(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
32123 PyObject *resultobj;
32124 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
32125 wxDC *arg2 = 0 ;
32126 PyObject * obj0 = 0 ;
32127 PyObject * obj1 = 0 ;
32128 char *kwnames[] = {
32129 (char *) "self",(char *) "dc", NULL
32130 };
32131
32132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
32133 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPolygonShape, SWIG_POINTER_EXCEPTION | 0);
32134 if (SWIG_arg_fail(1)) SWIG_fail;
32135 {
32136 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
32137 if (SWIG_arg_fail(2)) SWIG_fail;
32138 if (arg2 == NULL) {
32139 SWIG_null_ref("wxDC");
32140 }
32141 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
32142 }
32143 {
32144 PyThreadState* __tstate = wxPyBeginAllowThreads();
32145 (arg1)->base_OnDraw(*arg2);
32146
32147 wxPyEndAllowThreads(__tstate);
32148 if (PyErr_Occurred()) SWIG_fail;
32149 }
32150 Py_INCREF(Py_None); resultobj = Py_None;
32151 return resultobj;
32152 fail:
32153 return NULL;
32154}
32155
32156
c370783e 32157static PyObject *_wrap_PyPolygonShape_base_OnDrawContents(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
32158 PyObject *resultobj;
32159 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
32160 wxDC *arg2 = 0 ;
32161 PyObject * obj0 = 0 ;
32162 PyObject * obj1 = 0 ;
32163 char *kwnames[] = {
32164 (char *) "self",(char *) "dc", NULL
32165 };
32166
32167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
32168 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPolygonShape, SWIG_POINTER_EXCEPTION | 0);
32169 if (SWIG_arg_fail(1)) SWIG_fail;
32170 {
32171 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
32172 if (SWIG_arg_fail(2)) SWIG_fail;
32173 if (arg2 == NULL) {
32174 SWIG_null_ref("wxDC");
32175 }
32176 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
32177 }
32178 {
32179 PyThreadState* __tstate = wxPyBeginAllowThreads();
32180 (arg1)->base_OnDrawContents(*arg2);
32181
32182 wxPyEndAllowThreads(__tstate);
32183 if (PyErr_Occurred()) SWIG_fail;
32184 }
32185 Py_INCREF(Py_None); resultobj = Py_None;
32186 return resultobj;
32187 fail:
32188 return NULL;
32189}
32190
32191
c370783e 32192static PyObject *_wrap_PyPolygonShape_base_OnDrawBranches(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
32193 PyObject *resultobj;
32194 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
32195 wxDC *arg2 = 0 ;
32196 bool arg3 = (bool) FALSE ;
32197 PyObject * obj0 = 0 ;
32198 PyObject * obj1 = 0 ;
32199 PyObject * obj2 = 0 ;
32200 char *kwnames[] = {
32201 (char *) "self",(char *) "dc",(char *) "erase", NULL
32202 };
32203
32204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyPolygonShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
32205 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPolygonShape, SWIG_POINTER_EXCEPTION | 0);
32206 if (SWIG_arg_fail(1)) SWIG_fail;
32207 {
32208 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
32209 if (SWIG_arg_fail(2)) SWIG_fail;
32210 if (arg2 == NULL) {
32211 SWIG_null_ref("wxDC");
32212 }
32213 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
32214 }
32215 if (obj2) {
36ed4f51
RD
32216 {
32217 arg3 = (bool)(SWIG_As_bool(obj2));
32218 if (SWIG_arg_fail(3)) SWIG_fail;
32219 }
44127b65
RD
32220 }
32221 {
32222 PyThreadState* __tstate = wxPyBeginAllowThreads();
32223 (arg1)->base_OnDrawBranches(*arg2,arg3);
32224
32225 wxPyEndAllowThreads(__tstate);
32226 if (PyErr_Occurred()) SWIG_fail;
32227 }
32228 Py_INCREF(Py_None); resultobj = Py_None;
32229 return resultobj;
32230 fail:
32231 return NULL;
32232}
32233
32234
c370783e 32235static PyObject *_wrap_PyPolygonShape_base_OnMoveLinks(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
32236 PyObject *resultobj;
32237 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
32238 wxDC *arg2 = 0 ;
32239 PyObject * obj0 = 0 ;
32240 PyObject * obj1 = 0 ;
32241 char *kwnames[] = {
32242 (char *) "self",(char *) "dc", NULL
32243 };
32244
32245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
32246 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPolygonShape, SWIG_POINTER_EXCEPTION | 0);
32247 if (SWIG_arg_fail(1)) SWIG_fail;
32248 {
32249 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
32250 if (SWIG_arg_fail(2)) SWIG_fail;
32251 if (arg2 == NULL) {
32252 SWIG_null_ref("wxDC");
32253 }
32254 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
32255 }
32256 {
32257 PyThreadState* __tstate = wxPyBeginAllowThreads();
32258 (arg1)->base_OnMoveLinks(*arg2);
32259
32260 wxPyEndAllowThreads(__tstate);
32261 if (PyErr_Occurred()) SWIG_fail;
32262 }
32263 Py_INCREF(Py_None); resultobj = Py_None;
32264 return resultobj;
32265 fail:
32266 return NULL;
32267}
32268
32269
c370783e 32270static PyObject *_wrap_PyPolygonShape_base_OnErase(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
32271 PyObject *resultobj;
32272 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
32273 wxDC *arg2 = 0 ;
32274 PyObject * obj0 = 0 ;
32275 PyObject * obj1 = 0 ;
32276 char *kwnames[] = {
32277 (char *) "self",(char *) "dc", NULL
32278 };
32279
32280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
32281 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPolygonShape, SWIG_POINTER_EXCEPTION | 0);
32282 if (SWIG_arg_fail(1)) SWIG_fail;
32283 {
32284 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
32285 if (SWIG_arg_fail(2)) SWIG_fail;
32286 if (arg2 == NULL) {
32287 SWIG_null_ref("wxDC");
32288 }
32289 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
32290 }
32291 {
32292 PyThreadState* __tstate = wxPyBeginAllowThreads();
32293 (arg1)->base_OnErase(*arg2);
32294
32295 wxPyEndAllowThreads(__tstate);
32296 if (PyErr_Occurred()) SWIG_fail;
32297 }
32298 Py_INCREF(Py_None); resultobj = Py_None;
32299 return resultobj;
32300 fail:
32301 return NULL;
32302}
32303
32304
c370783e 32305static PyObject *_wrap_PyPolygonShape_base_OnEraseContents(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
32306 PyObject *resultobj;
32307 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
32308 wxDC *arg2 = 0 ;
32309 PyObject * obj0 = 0 ;
32310 PyObject * obj1 = 0 ;
32311 char *kwnames[] = {
32312 (char *) "self",(char *) "dc", NULL
32313 };
32314
32315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
32316 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPolygonShape, SWIG_POINTER_EXCEPTION | 0);
32317 if (SWIG_arg_fail(1)) SWIG_fail;
32318 {
32319 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
32320 if (SWIG_arg_fail(2)) SWIG_fail;
32321 if (arg2 == NULL) {
32322 SWIG_null_ref("wxDC");
32323 }
32324 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
32325 }
32326 {
32327 PyThreadState* __tstate = wxPyBeginAllowThreads();
32328 (arg1)->base_OnEraseContents(*arg2);
32329
32330 wxPyEndAllowThreads(__tstate);
32331 if (PyErr_Occurred()) SWIG_fail;
32332 }
32333 Py_INCREF(Py_None); resultobj = Py_None;
32334 return resultobj;
32335 fail:
32336 return NULL;
32337}
32338
32339
c370783e 32340static PyObject *_wrap_PyPolygonShape_base_OnHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
32341 PyObject *resultobj;
32342 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
32343 wxDC *arg2 = 0 ;
32344 PyObject * obj0 = 0 ;
32345 PyObject * obj1 = 0 ;
32346 char *kwnames[] = {
32347 (char *) "self",(char *) "dc", NULL
32348 };
32349
32350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
32351 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPolygonShape, SWIG_POINTER_EXCEPTION | 0);
32352 if (SWIG_arg_fail(1)) SWIG_fail;
32353 {
32354 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
32355 if (SWIG_arg_fail(2)) SWIG_fail;
32356 if (arg2 == NULL) {
32357 SWIG_null_ref("wxDC");
32358 }
32359 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
32360 }
32361 {
32362 PyThreadState* __tstate = wxPyBeginAllowThreads();
32363 (arg1)->base_OnHighlight(*arg2);
32364
32365 wxPyEndAllowThreads(__tstate);
32366 if (PyErr_Occurred()) SWIG_fail;
32367 }
32368 Py_INCREF(Py_None); resultobj = Py_None;
32369 return resultobj;
32370 fail:
32371 return NULL;
32372}
32373
32374
c370783e 32375static PyObject *_wrap_PyPolygonShape_base_OnLeftClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
32376 PyObject *resultobj;
32377 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
32378 double arg2 ;
32379 double arg3 ;
32380 int arg4 = (int) 0 ;
32381 int arg5 = (int) 0 ;
32382 PyObject * obj0 = 0 ;
8edf1c75
RD
32383 PyObject * obj1 = 0 ;
32384 PyObject * obj2 = 0 ;
32385 PyObject * obj3 = 0 ;
32386 PyObject * obj4 = 0 ;
44127b65
RD
32387 char *kwnames[] = {
32388 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
32389 };
32390
8edf1c75 32391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
32392 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPolygonShape, SWIG_POINTER_EXCEPTION | 0);
32393 if (SWIG_arg_fail(1)) SWIG_fail;
32394 {
32395 arg2 = (double)(SWIG_As_double(obj1));
32396 if (SWIG_arg_fail(2)) SWIG_fail;
32397 }
32398 {
32399 arg3 = (double)(SWIG_As_double(obj2));
32400 if (SWIG_arg_fail(3)) SWIG_fail;
32401 }
8edf1c75 32402 if (obj3) {
36ed4f51
RD
32403 {
32404 arg4 = (int)(SWIG_As_int(obj3));
32405 if (SWIG_arg_fail(4)) SWIG_fail;
32406 }
8edf1c75
RD
32407 }
32408 if (obj4) {
36ed4f51
RD
32409 {
32410 arg5 = (int)(SWIG_As_int(obj4));
32411 if (SWIG_arg_fail(5)) SWIG_fail;
32412 }
8edf1c75 32413 }
44127b65
RD
32414 {
32415 PyThreadState* __tstate = wxPyBeginAllowThreads();
32416 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
32417
32418 wxPyEndAllowThreads(__tstate);
32419 if (PyErr_Occurred()) SWIG_fail;
32420 }
32421 Py_INCREF(Py_None); resultobj = Py_None;
32422 return resultobj;
32423 fail:
32424 return NULL;
32425}
32426
32427
c370783e 32428static PyObject *_wrap_PyPolygonShape_base_OnLeftDoubleClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
32429 PyObject *resultobj;
32430 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
32431 double arg2 ;
32432 double arg3 ;
32433 int arg4 = (int) 0 ;
32434 int arg5 = (int) 0 ;
32435 PyObject * obj0 = 0 ;
8edf1c75
RD
32436 PyObject * obj1 = 0 ;
32437 PyObject * obj2 = 0 ;
32438 PyObject * obj3 = 0 ;
32439 PyObject * obj4 = 0 ;
44127b65
RD
32440 char *kwnames[] = {
32441 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
32442 };
32443
8edf1c75 32444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
32445 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPolygonShape, SWIG_POINTER_EXCEPTION | 0);
32446 if (SWIG_arg_fail(1)) SWIG_fail;
32447 {
32448 arg2 = (double)(SWIG_As_double(obj1));
32449 if (SWIG_arg_fail(2)) SWIG_fail;
32450 }
32451 {
32452 arg3 = (double)(SWIG_As_double(obj2));
32453 if (SWIG_arg_fail(3)) SWIG_fail;
32454 }
8edf1c75 32455 if (obj3) {
36ed4f51
RD
32456 {
32457 arg4 = (int)(SWIG_As_int(obj3));
32458 if (SWIG_arg_fail(4)) SWIG_fail;
32459 }
8edf1c75
RD
32460 }
32461 if (obj4) {
36ed4f51
RD
32462 {
32463 arg5 = (int)(SWIG_As_int(obj4));
32464 if (SWIG_arg_fail(5)) SWIG_fail;
32465 }
8edf1c75 32466 }
44127b65
RD
32467 {
32468 PyThreadState* __tstate = wxPyBeginAllowThreads();
32469 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
32470
32471 wxPyEndAllowThreads(__tstate);
32472 if (PyErr_Occurred()) SWIG_fail;
32473 }
32474 Py_INCREF(Py_None); resultobj = Py_None;
32475 return resultobj;
32476 fail:
32477 return NULL;
32478}
32479
32480
c370783e 32481static PyObject *_wrap_PyPolygonShape_base_OnRightClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
32482 PyObject *resultobj;
32483 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
32484 double arg2 ;
32485 double arg3 ;
32486 int arg4 = (int) 0 ;
32487 int arg5 = (int) 0 ;
32488 PyObject * obj0 = 0 ;
8edf1c75
RD
32489 PyObject * obj1 = 0 ;
32490 PyObject * obj2 = 0 ;
32491 PyObject * obj3 = 0 ;
32492 PyObject * obj4 = 0 ;
44127b65
RD
32493 char *kwnames[] = {
32494 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
32495 };
32496
8edf1c75 32497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
32498 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPolygonShape, SWIG_POINTER_EXCEPTION | 0);
32499 if (SWIG_arg_fail(1)) SWIG_fail;
32500 {
32501 arg2 = (double)(SWIG_As_double(obj1));
32502 if (SWIG_arg_fail(2)) SWIG_fail;
32503 }
32504 {
32505 arg3 = (double)(SWIG_As_double(obj2));
32506 if (SWIG_arg_fail(3)) SWIG_fail;
32507 }
8edf1c75 32508 if (obj3) {
36ed4f51
RD
32509 {
32510 arg4 = (int)(SWIG_As_int(obj3));
32511 if (SWIG_arg_fail(4)) SWIG_fail;
32512 }
8edf1c75
RD
32513 }
32514 if (obj4) {
36ed4f51
RD
32515 {
32516 arg5 = (int)(SWIG_As_int(obj4));
32517 if (SWIG_arg_fail(5)) SWIG_fail;
32518 }
8edf1c75 32519 }
44127b65
RD
32520 {
32521 PyThreadState* __tstate = wxPyBeginAllowThreads();
32522 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
32523
32524 wxPyEndAllowThreads(__tstate);
32525 if (PyErr_Occurred()) SWIG_fail;
32526 }
32527 Py_INCREF(Py_None); resultobj = Py_None;
32528 return resultobj;
32529 fail:
32530 return NULL;
32531}
32532
32533
c370783e 32534static PyObject *_wrap_PyPolygonShape_base_OnSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
32535 PyObject *resultobj;
32536 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
32537 double arg2 ;
32538 double arg3 ;
32539 PyObject * obj0 = 0 ;
8edf1c75
RD
32540 PyObject * obj1 = 0 ;
32541 PyObject * obj2 = 0 ;
44127b65
RD
32542 char *kwnames[] = {
32543 (char *) "self",(char *) "x",(char *) "y", NULL
32544 };
32545
8edf1c75 32546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPolygonShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
32547 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPolygonShape, SWIG_POINTER_EXCEPTION | 0);
32548 if (SWIG_arg_fail(1)) SWIG_fail;
32549 {
32550 arg2 = (double)(SWIG_As_double(obj1));
32551 if (SWIG_arg_fail(2)) SWIG_fail;
32552 }
32553 {
32554 arg3 = (double)(SWIG_As_double(obj2));
32555 if (SWIG_arg_fail(3)) SWIG_fail;
32556 }
44127b65
RD
32557 {
32558 PyThreadState* __tstate = wxPyBeginAllowThreads();
32559 (arg1)->base_OnSize(arg2,arg3);
32560
32561 wxPyEndAllowThreads(__tstate);
32562 if (PyErr_Occurred()) SWIG_fail;
32563 }
32564 Py_INCREF(Py_None); resultobj = Py_None;
32565 return resultobj;
32566 fail:
32567 return NULL;
32568}
32569
32570
c370783e 32571static PyObject *_wrap_PyPolygonShape_base_OnMovePre(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
32572 PyObject *resultobj;
32573 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
32574 wxDC *arg2 = 0 ;
32575 double arg3 ;
32576 double arg4 ;
32577 double arg5 ;
32578 double arg6 ;
b411df4a 32579 bool arg7 = (bool) true ;
44127b65
RD
32580 bool result;
32581 PyObject * obj0 = 0 ;
32582 PyObject * obj1 = 0 ;
8edf1c75
RD
32583 PyObject * obj2 = 0 ;
32584 PyObject * obj3 = 0 ;
32585 PyObject * obj4 = 0 ;
32586 PyObject * obj5 = 0 ;
44127b65
RD
32587 PyObject * obj6 = 0 ;
32588 char *kwnames[] = {
32589 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
32590 };
32591
8edf1c75 32592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyPolygonShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
32593 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPolygonShape, SWIG_POINTER_EXCEPTION | 0);
32594 if (SWIG_arg_fail(1)) SWIG_fail;
32595 {
32596 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
32597 if (SWIG_arg_fail(2)) SWIG_fail;
32598 if (arg2 == NULL) {
32599 SWIG_null_ref("wxDC");
32600 }
32601 if (SWIG_arg_fail(2)) SWIG_fail;
32602 }
32603 {
32604 arg3 = (double)(SWIG_As_double(obj2));
32605 if (SWIG_arg_fail(3)) SWIG_fail;
32606 }
32607 {
32608 arg4 = (double)(SWIG_As_double(obj3));
32609 if (SWIG_arg_fail(4)) SWIG_fail;
32610 }
32611 {
32612 arg5 = (double)(SWIG_As_double(obj4));
32613 if (SWIG_arg_fail(5)) SWIG_fail;
32614 }
32615 {
32616 arg6 = (double)(SWIG_As_double(obj5));
32617 if (SWIG_arg_fail(6)) SWIG_fail;
32618 }
44127b65 32619 if (obj6) {
36ed4f51
RD
32620 {
32621 arg7 = (bool)(SWIG_As_bool(obj6));
32622 if (SWIG_arg_fail(7)) SWIG_fail;
32623 }
44127b65
RD
32624 }
32625 {
32626 PyThreadState* __tstate = wxPyBeginAllowThreads();
32627 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
32628
32629 wxPyEndAllowThreads(__tstate);
32630 if (PyErr_Occurred()) SWIG_fail;
32631 }
fbc46b20
RD
32632 {
32633 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32634 }
44127b65
RD
32635 return resultobj;
32636 fail:
32637 return NULL;
32638}
32639
32640
c370783e 32641static PyObject *_wrap_PyPolygonShape_base_OnMovePost(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
32642 PyObject *resultobj;
32643 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
32644 wxDC *arg2 = 0 ;
32645 double arg3 ;
32646 double arg4 ;
32647 double arg5 ;
32648 double arg6 ;
b411df4a 32649 bool arg7 = (bool) true ;
44127b65
RD
32650 PyObject * obj0 = 0 ;
32651 PyObject * obj1 = 0 ;
8edf1c75
RD
32652 PyObject * obj2 = 0 ;
32653 PyObject * obj3 = 0 ;
32654 PyObject * obj4 = 0 ;
32655 PyObject * obj5 = 0 ;
44127b65
RD
32656 PyObject * obj6 = 0 ;
32657 char *kwnames[] = {
32658 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
32659 };
32660
8edf1c75 32661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyPolygonShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
32662 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPolygonShape, SWIG_POINTER_EXCEPTION | 0);
32663 if (SWIG_arg_fail(1)) SWIG_fail;
32664 {
32665 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
32666 if (SWIG_arg_fail(2)) SWIG_fail;
32667 if (arg2 == NULL) {
32668 SWIG_null_ref("wxDC");
32669 }
32670 if (SWIG_arg_fail(2)) SWIG_fail;
32671 }
32672 {
32673 arg3 = (double)(SWIG_As_double(obj2));
32674 if (SWIG_arg_fail(3)) SWIG_fail;
32675 }
32676 {
32677 arg4 = (double)(SWIG_As_double(obj3));
32678 if (SWIG_arg_fail(4)) SWIG_fail;
32679 }
32680 {
32681 arg5 = (double)(SWIG_As_double(obj4));
32682 if (SWIG_arg_fail(5)) SWIG_fail;
32683 }
32684 {
32685 arg6 = (double)(SWIG_As_double(obj5));
32686 if (SWIG_arg_fail(6)) SWIG_fail;
32687 }
44127b65 32688 if (obj6) {
36ed4f51
RD
32689 {
32690 arg7 = (bool)(SWIG_As_bool(obj6));
32691 if (SWIG_arg_fail(7)) SWIG_fail;
32692 }
44127b65
RD
32693 }
32694 {
32695 PyThreadState* __tstate = wxPyBeginAllowThreads();
32696 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
32697
32698 wxPyEndAllowThreads(__tstate);
32699 if (PyErr_Occurred()) SWIG_fail;
32700 }
32701 Py_INCREF(Py_None); resultobj = Py_None;
32702 return resultobj;
32703 fail:
32704 return NULL;
32705}
32706
32707
c370783e 32708static PyObject *_wrap_PyPolygonShape_base_OnDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
32709 PyObject *resultobj;
32710 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
32711 bool arg2 ;
32712 double arg3 ;
32713 double arg4 ;
32714 int arg5 = (int) 0 ;
32715 int arg6 = (int) 0 ;
32716 PyObject * obj0 = 0 ;
32717 PyObject * obj1 = 0 ;
8edf1c75
RD
32718 PyObject * obj2 = 0 ;
32719 PyObject * obj3 = 0 ;
32720 PyObject * obj4 = 0 ;
32721 PyObject * obj5 = 0 ;
44127b65
RD
32722 char *kwnames[] = {
32723 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
32724 };
32725
8edf1c75 32726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyPolygonShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
32727 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPolygonShape, SWIG_POINTER_EXCEPTION | 0);
32728 if (SWIG_arg_fail(1)) SWIG_fail;
32729 {
32730 arg2 = (bool)(SWIG_As_bool(obj1));
32731 if (SWIG_arg_fail(2)) SWIG_fail;
32732 }
32733 {
32734 arg3 = (double)(SWIG_As_double(obj2));
32735 if (SWIG_arg_fail(3)) SWIG_fail;
32736 }
32737 {
32738 arg4 = (double)(SWIG_As_double(obj3));
32739 if (SWIG_arg_fail(4)) SWIG_fail;
32740 }
8edf1c75 32741 if (obj4) {
36ed4f51
RD
32742 {
32743 arg5 = (int)(SWIG_As_int(obj4));
32744 if (SWIG_arg_fail(5)) SWIG_fail;
32745 }
8edf1c75
RD
32746 }
32747 if (obj5) {
36ed4f51
RD
32748 {
32749 arg6 = (int)(SWIG_As_int(obj5));
32750 if (SWIG_arg_fail(6)) SWIG_fail;
32751 }
8edf1c75 32752 }
44127b65
RD
32753 {
32754 PyThreadState* __tstate = wxPyBeginAllowThreads();
32755 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
32756
32757 wxPyEndAllowThreads(__tstate);
32758 if (PyErr_Occurred()) SWIG_fail;
32759 }
32760 Py_INCREF(Py_None); resultobj = Py_None;
32761 return resultobj;
32762 fail:
32763 return NULL;
32764}
32765
32766
c370783e 32767static PyObject *_wrap_PyPolygonShape_base_OnBeginDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
32768 PyObject *resultobj;
32769 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
32770 double arg2 ;
32771 double arg3 ;
32772 int arg4 = (int) 0 ;
32773 int arg5 = (int) 0 ;
32774 PyObject * obj0 = 0 ;
8edf1c75
RD
32775 PyObject * obj1 = 0 ;
32776 PyObject * obj2 = 0 ;
32777 PyObject * obj3 = 0 ;
32778 PyObject * obj4 = 0 ;
44127b65
RD
32779 char *kwnames[] = {
32780 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
32781 };
32782
8edf1c75 32783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
32784 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPolygonShape, SWIG_POINTER_EXCEPTION | 0);
32785 if (SWIG_arg_fail(1)) SWIG_fail;
32786 {
32787 arg2 = (double)(SWIG_As_double(obj1));
32788 if (SWIG_arg_fail(2)) SWIG_fail;
32789 }
32790 {
32791 arg3 = (double)(SWIG_As_double(obj2));
32792 if (SWIG_arg_fail(3)) SWIG_fail;
32793 }
8edf1c75 32794 if (obj3) {
36ed4f51
RD
32795 {
32796 arg4 = (int)(SWIG_As_int(obj3));
32797 if (SWIG_arg_fail(4)) SWIG_fail;
32798 }
8edf1c75
RD
32799 }
32800 if (obj4) {
36ed4f51
RD
32801 {
32802 arg5 = (int)(SWIG_As_int(obj4));
32803 if (SWIG_arg_fail(5)) SWIG_fail;
32804 }
8edf1c75 32805 }
44127b65
RD
32806 {
32807 PyThreadState* __tstate = wxPyBeginAllowThreads();
32808 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
32809
32810 wxPyEndAllowThreads(__tstate);
32811 if (PyErr_Occurred()) SWIG_fail;
32812 }
32813 Py_INCREF(Py_None); resultobj = Py_None;
32814 return resultobj;
32815 fail:
32816 return NULL;
32817}
32818
32819
c370783e 32820static PyObject *_wrap_PyPolygonShape_base_OnEndDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
32821 PyObject *resultobj;
32822 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
32823 double arg2 ;
32824 double arg3 ;
32825 int arg4 = (int) 0 ;
32826 int arg5 = (int) 0 ;
32827 PyObject * obj0 = 0 ;
8edf1c75
RD
32828 PyObject * obj1 = 0 ;
32829 PyObject * obj2 = 0 ;
32830 PyObject * obj3 = 0 ;
32831 PyObject * obj4 = 0 ;
44127b65
RD
32832 char *kwnames[] = {
32833 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
32834 };
32835
8edf1c75 32836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
32837 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPolygonShape, SWIG_POINTER_EXCEPTION | 0);
32838 if (SWIG_arg_fail(1)) SWIG_fail;
32839 {
32840 arg2 = (double)(SWIG_As_double(obj1));
32841 if (SWIG_arg_fail(2)) SWIG_fail;
32842 }
32843 {
32844 arg3 = (double)(SWIG_As_double(obj2));
32845 if (SWIG_arg_fail(3)) SWIG_fail;
32846 }
8edf1c75 32847 if (obj3) {
36ed4f51
RD
32848 {
32849 arg4 = (int)(SWIG_As_int(obj3));
32850 if (SWIG_arg_fail(4)) SWIG_fail;
32851 }
8edf1c75
RD
32852 }
32853 if (obj4) {
36ed4f51
RD
32854 {
32855 arg5 = (int)(SWIG_As_int(obj4));
32856 if (SWIG_arg_fail(5)) SWIG_fail;
32857 }
8edf1c75 32858 }
44127b65
RD
32859 {
32860 PyThreadState* __tstate = wxPyBeginAllowThreads();
32861 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
32862
32863 wxPyEndAllowThreads(__tstate);
32864 if (PyErr_Occurred()) SWIG_fail;
32865 }
32866 Py_INCREF(Py_None); resultobj = Py_None;
32867 return resultobj;
32868 fail:
32869 return NULL;
32870}
32871
32872
c370783e 32873static PyObject *_wrap_PyPolygonShape_base_OnDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
32874 PyObject *resultobj;
32875 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
32876 bool arg2 ;
32877 double arg3 ;
32878 double arg4 ;
32879 int arg5 = (int) 0 ;
32880 int arg6 = (int) 0 ;
32881 PyObject * obj0 = 0 ;
32882 PyObject * obj1 = 0 ;
8edf1c75
RD
32883 PyObject * obj2 = 0 ;
32884 PyObject * obj3 = 0 ;
32885 PyObject * obj4 = 0 ;
32886 PyObject * obj5 = 0 ;
44127b65
RD
32887 char *kwnames[] = {
32888 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
32889 };
32890
8edf1c75 32891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyPolygonShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
32892 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPolygonShape, SWIG_POINTER_EXCEPTION | 0);
32893 if (SWIG_arg_fail(1)) SWIG_fail;
32894 {
32895 arg2 = (bool)(SWIG_As_bool(obj1));
32896 if (SWIG_arg_fail(2)) SWIG_fail;
32897 }
32898 {
32899 arg3 = (double)(SWIG_As_double(obj2));
32900 if (SWIG_arg_fail(3)) SWIG_fail;
32901 }
32902 {
32903 arg4 = (double)(SWIG_As_double(obj3));
32904 if (SWIG_arg_fail(4)) SWIG_fail;
32905 }
8edf1c75 32906 if (obj4) {
36ed4f51
RD
32907 {
32908 arg5 = (int)(SWIG_As_int(obj4));
32909 if (SWIG_arg_fail(5)) SWIG_fail;
32910 }
8edf1c75
RD
32911 }
32912 if (obj5) {
36ed4f51
RD
32913 {
32914 arg6 = (int)(SWIG_As_int(obj5));
32915 if (SWIG_arg_fail(6)) SWIG_fail;
32916 }
8edf1c75 32917 }
44127b65
RD
32918 {
32919 PyThreadState* __tstate = wxPyBeginAllowThreads();
32920 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
32921
32922 wxPyEndAllowThreads(__tstate);
32923 if (PyErr_Occurred()) SWIG_fail;
32924 }
32925 Py_INCREF(Py_None); resultobj = Py_None;
32926 return resultobj;
32927 fail:
32928 return NULL;
32929}
32930
32931
c370783e 32932static PyObject *_wrap_PyPolygonShape_base_OnBeginDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
32933 PyObject *resultobj;
32934 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
32935 double arg2 ;
32936 double arg3 ;
32937 int arg4 = (int) 0 ;
32938 int arg5 = (int) 0 ;
32939 PyObject * obj0 = 0 ;
8edf1c75
RD
32940 PyObject * obj1 = 0 ;
32941 PyObject * obj2 = 0 ;
32942 PyObject * obj3 = 0 ;
32943 PyObject * obj4 = 0 ;
44127b65
RD
32944 char *kwnames[] = {
32945 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
32946 };
32947
8edf1c75 32948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
32949 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPolygonShape, SWIG_POINTER_EXCEPTION | 0);
32950 if (SWIG_arg_fail(1)) SWIG_fail;
32951 {
32952 arg2 = (double)(SWIG_As_double(obj1));
32953 if (SWIG_arg_fail(2)) SWIG_fail;
32954 }
32955 {
32956 arg3 = (double)(SWIG_As_double(obj2));
32957 if (SWIG_arg_fail(3)) SWIG_fail;
32958 }
8edf1c75 32959 if (obj3) {
36ed4f51
RD
32960 {
32961 arg4 = (int)(SWIG_As_int(obj3));
32962 if (SWIG_arg_fail(4)) SWIG_fail;
32963 }
8edf1c75
RD
32964 }
32965 if (obj4) {
36ed4f51
RD
32966 {
32967 arg5 = (int)(SWIG_As_int(obj4));
32968 if (SWIG_arg_fail(5)) SWIG_fail;
32969 }
8edf1c75 32970 }
44127b65
RD
32971 {
32972 PyThreadState* __tstate = wxPyBeginAllowThreads();
32973 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
32974
32975 wxPyEndAllowThreads(__tstate);
32976 if (PyErr_Occurred()) SWIG_fail;
32977 }
32978 Py_INCREF(Py_None); resultobj = Py_None;
32979 return resultobj;
32980 fail:
32981 return NULL;
32982}
32983
32984
c370783e 32985static PyObject *_wrap_PyPolygonShape_base_OnEndDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
32986 PyObject *resultobj;
32987 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
32988 double arg2 ;
32989 double arg3 ;
32990 int arg4 = (int) 0 ;
32991 int arg5 = (int) 0 ;
32992 PyObject * obj0 = 0 ;
8edf1c75
RD
32993 PyObject * obj1 = 0 ;
32994 PyObject * obj2 = 0 ;
32995 PyObject * obj3 = 0 ;
32996 PyObject * obj4 = 0 ;
44127b65
RD
32997 char *kwnames[] = {
32998 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
32999 };
33000
8edf1c75 33001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyPolygonShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
33002 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPolygonShape, SWIG_POINTER_EXCEPTION | 0);
33003 if (SWIG_arg_fail(1)) SWIG_fail;
33004 {
33005 arg2 = (double)(SWIG_As_double(obj1));
33006 if (SWIG_arg_fail(2)) SWIG_fail;
33007 }
33008 {
33009 arg3 = (double)(SWIG_As_double(obj2));
33010 if (SWIG_arg_fail(3)) SWIG_fail;
33011 }
8edf1c75 33012 if (obj3) {
36ed4f51
RD
33013 {
33014 arg4 = (int)(SWIG_As_int(obj3));
33015 if (SWIG_arg_fail(4)) SWIG_fail;
33016 }
8edf1c75
RD
33017 }
33018 if (obj4) {
36ed4f51
RD
33019 {
33020 arg5 = (int)(SWIG_As_int(obj4));
33021 if (SWIG_arg_fail(5)) SWIG_fail;
33022 }
8edf1c75 33023 }
44127b65
RD
33024 {
33025 PyThreadState* __tstate = wxPyBeginAllowThreads();
33026 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
33027
33028 wxPyEndAllowThreads(__tstate);
33029 if (PyErr_Occurred()) SWIG_fail;
33030 }
33031 Py_INCREF(Py_None); resultobj = Py_None;
33032 return resultobj;
33033 fail:
33034 return NULL;
33035}
33036
33037
c370783e 33038static PyObject *_wrap_PyPolygonShape_base_OnDrawOutline(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
33039 PyObject *resultobj;
33040 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
33041 wxDC *arg2 = 0 ;
33042 double arg3 ;
33043 double arg4 ;
33044 double arg5 ;
33045 double arg6 ;
33046 PyObject * obj0 = 0 ;
33047 PyObject * obj1 = 0 ;
8edf1c75
RD
33048 PyObject * obj2 = 0 ;
33049 PyObject * obj3 = 0 ;
33050 PyObject * obj4 = 0 ;
33051 PyObject * obj5 = 0 ;
44127b65
RD
33052 char *kwnames[] = {
33053 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
33054 };
33055
8edf1c75 33056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyPolygonShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
33057 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPolygonShape, SWIG_POINTER_EXCEPTION | 0);
33058 if (SWIG_arg_fail(1)) SWIG_fail;
33059 {
33060 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
33061 if (SWIG_arg_fail(2)) SWIG_fail;
33062 if (arg2 == NULL) {
33063 SWIG_null_ref("wxDC");
33064 }
33065 if (SWIG_arg_fail(2)) SWIG_fail;
33066 }
33067 {
33068 arg3 = (double)(SWIG_As_double(obj2));
33069 if (SWIG_arg_fail(3)) SWIG_fail;
33070 }
33071 {
33072 arg4 = (double)(SWIG_As_double(obj3));
33073 if (SWIG_arg_fail(4)) SWIG_fail;
33074 }
33075 {
33076 arg5 = (double)(SWIG_As_double(obj4));
33077 if (SWIG_arg_fail(5)) SWIG_fail;
33078 }
33079 {
33080 arg6 = (double)(SWIG_As_double(obj5));
33081 if (SWIG_arg_fail(6)) SWIG_fail;
33082 }
44127b65
RD
33083 {
33084 PyThreadState* __tstate = wxPyBeginAllowThreads();
33085 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
33086
33087 wxPyEndAllowThreads(__tstate);
33088 if (PyErr_Occurred()) SWIG_fail;
33089 }
33090 Py_INCREF(Py_None); resultobj = Py_None;
33091 return resultobj;
33092 fail:
33093 return NULL;
33094}
33095
33096
c370783e 33097static PyObject *_wrap_PyPolygonShape_base_OnDrawControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
33098 PyObject *resultobj;
33099 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
33100 wxDC *arg2 = 0 ;
33101 PyObject * obj0 = 0 ;
33102 PyObject * obj1 = 0 ;
33103 char *kwnames[] = {
33104 (char *) "self",(char *) "dc", NULL
33105 };
33106
33107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
33108 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPolygonShape, SWIG_POINTER_EXCEPTION | 0);
33109 if (SWIG_arg_fail(1)) SWIG_fail;
33110 {
33111 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
33112 if (SWIG_arg_fail(2)) SWIG_fail;
33113 if (arg2 == NULL) {
33114 SWIG_null_ref("wxDC");
33115 }
33116 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
33117 }
33118 {
33119 PyThreadState* __tstate = wxPyBeginAllowThreads();
33120 (arg1)->base_OnDrawControlPoints(*arg2);
33121
33122 wxPyEndAllowThreads(__tstate);
33123 if (PyErr_Occurred()) SWIG_fail;
33124 }
33125 Py_INCREF(Py_None); resultobj = Py_None;
33126 return resultobj;
33127 fail:
33128 return NULL;
33129}
33130
33131
c370783e 33132static PyObject *_wrap_PyPolygonShape_base_OnEraseControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
33133 PyObject *resultobj;
33134 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
33135 wxDC *arg2 = 0 ;
33136 PyObject * obj0 = 0 ;
33137 PyObject * obj1 = 0 ;
33138 char *kwnames[] = {
33139 (char *) "self",(char *) "dc", NULL
33140 };
33141
33142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPolygonShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
33143 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPolygonShape, SWIG_POINTER_EXCEPTION | 0);
33144 if (SWIG_arg_fail(1)) SWIG_fail;
33145 {
33146 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
33147 if (SWIG_arg_fail(2)) SWIG_fail;
33148 if (arg2 == NULL) {
33149 SWIG_null_ref("wxDC");
33150 }
33151 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
33152 }
33153 {
33154 PyThreadState* __tstate = wxPyBeginAllowThreads();
33155 (arg1)->base_OnEraseControlPoints(*arg2);
33156
33157 wxPyEndAllowThreads(__tstate);
33158 if (PyErr_Occurred()) SWIG_fail;
33159 }
33160 Py_INCREF(Py_None); resultobj = Py_None;
33161 return resultobj;
33162 fail:
33163 return NULL;
33164}
33165
33166
c370783e 33167static PyObject *_wrap_PyPolygonShape_base_OnMoveLink(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
33168 PyObject *resultobj;
33169 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
33170 wxDC *arg2 = 0 ;
b411df4a 33171 bool arg3 = (bool) true ;
44127b65
RD
33172 PyObject * obj0 = 0 ;
33173 PyObject * obj1 = 0 ;
33174 PyObject * obj2 = 0 ;
33175 char *kwnames[] = {
33176 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
33177 };
33178
33179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyPolygonShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
33180 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPolygonShape, SWIG_POINTER_EXCEPTION | 0);
33181 if (SWIG_arg_fail(1)) SWIG_fail;
33182 {
33183 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
33184 if (SWIG_arg_fail(2)) SWIG_fail;
33185 if (arg2 == NULL) {
33186 SWIG_null_ref("wxDC");
33187 }
33188 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
33189 }
33190 if (obj2) {
36ed4f51
RD
33191 {
33192 arg3 = (bool)(SWIG_As_bool(obj2));
33193 if (SWIG_arg_fail(3)) SWIG_fail;
33194 }
44127b65
RD
33195 }
33196 {
33197 PyThreadState* __tstate = wxPyBeginAllowThreads();
33198 (arg1)->base_OnMoveLink(*arg2,arg3);
33199
33200 wxPyEndAllowThreads(__tstate);
33201 if (PyErr_Occurred()) SWIG_fail;
33202 }
33203 Py_INCREF(Py_None); resultobj = Py_None;
33204 return resultobj;
33205 fail:
33206 return NULL;
33207}
33208
33209
c370783e 33210static PyObject *_wrap_PyPolygonShape_base_OnSizingDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
33211 PyObject *resultobj;
33212 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
33213 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
33214 bool arg3 ;
33215 double arg4 ;
33216 double arg5 ;
33217 int arg6 = (int) 0 ;
33218 int arg7 = (int) 0 ;
33219 PyObject * obj0 = 0 ;
33220 PyObject * obj1 = 0 ;
33221 PyObject * obj2 = 0 ;
8edf1c75
RD
33222 PyObject * obj3 = 0 ;
33223 PyObject * obj4 = 0 ;
33224 PyObject * obj5 = 0 ;
33225 PyObject * obj6 = 0 ;
44127b65
RD
33226 char *kwnames[] = {
33227 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
33228 };
33229
8edf1c75 33230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyPolygonShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
33231 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPolygonShape, SWIG_POINTER_EXCEPTION | 0);
33232 if (SWIG_arg_fail(1)) SWIG_fail;
33233 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
33234 if (SWIG_arg_fail(2)) SWIG_fail;
33235 {
33236 arg3 = (bool)(SWIG_As_bool(obj2));
33237 if (SWIG_arg_fail(3)) SWIG_fail;
33238 }
33239 {
33240 arg4 = (double)(SWIG_As_double(obj3));
33241 if (SWIG_arg_fail(4)) SWIG_fail;
33242 }
33243 {
33244 arg5 = (double)(SWIG_As_double(obj4));
33245 if (SWIG_arg_fail(5)) SWIG_fail;
33246 }
8edf1c75 33247 if (obj5) {
36ed4f51
RD
33248 {
33249 arg6 = (int)(SWIG_As_int(obj5));
33250 if (SWIG_arg_fail(6)) SWIG_fail;
33251 }
8edf1c75
RD
33252 }
33253 if (obj6) {
36ed4f51
RD
33254 {
33255 arg7 = (int)(SWIG_As_int(obj6));
33256 if (SWIG_arg_fail(7)) SWIG_fail;
33257 }
8edf1c75 33258 }
44127b65
RD
33259 {
33260 PyThreadState* __tstate = wxPyBeginAllowThreads();
33261 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
33262
33263 wxPyEndAllowThreads(__tstate);
33264 if (PyErr_Occurred()) SWIG_fail;
33265 }
33266 Py_INCREF(Py_None); resultobj = Py_None;
33267 return resultobj;
33268 fail:
33269 return NULL;
33270}
33271
33272
c370783e 33273static PyObject *_wrap_PyPolygonShape_base_OnSizingBeginDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
33274 PyObject *resultobj;
33275 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
33276 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
33277 double arg3 ;
33278 double arg4 ;
33279 int arg5 = (int) 0 ;
33280 int arg6 = (int) 0 ;
33281 PyObject * obj0 = 0 ;
33282 PyObject * obj1 = 0 ;
8edf1c75
RD
33283 PyObject * obj2 = 0 ;
33284 PyObject * obj3 = 0 ;
33285 PyObject * obj4 = 0 ;
33286 PyObject * obj5 = 0 ;
44127b65
RD
33287 char *kwnames[] = {
33288 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
33289 };
33290
8edf1c75 33291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyPolygonShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
33292 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPolygonShape, SWIG_POINTER_EXCEPTION | 0);
33293 if (SWIG_arg_fail(1)) SWIG_fail;
33294 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
33295 if (SWIG_arg_fail(2)) SWIG_fail;
33296 {
33297 arg3 = (double)(SWIG_As_double(obj2));
33298 if (SWIG_arg_fail(3)) SWIG_fail;
33299 }
33300 {
33301 arg4 = (double)(SWIG_As_double(obj3));
33302 if (SWIG_arg_fail(4)) SWIG_fail;
33303 }
8edf1c75 33304 if (obj4) {
36ed4f51
RD
33305 {
33306 arg5 = (int)(SWIG_As_int(obj4));
33307 if (SWIG_arg_fail(5)) SWIG_fail;
33308 }
8edf1c75
RD
33309 }
33310 if (obj5) {
36ed4f51
RD
33311 {
33312 arg6 = (int)(SWIG_As_int(obj5));
33313 if (SWIG_arg_fail(6)) SWIG_fail;
33314 }
8edf1c75 33315 }
44127b65
RD
33316 {
33317 PyThreadState* __tstate = wxPyBeginAllowThreads();
33318 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
33319
33320 wxPyEndAllowThreads(__tstate);
33321 if (PyErr_Occurred()) SWIG_fail;
33322 }
33323 Py_INCREF(Py_None); resultobj = Py_None;
33324 return resultobj;
33325 fail:
33326 return NULL;
33327}
33328
33329
c370783e 33330static PyObject *_wrap_PyPolygonShape_base_OnSizingEndDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
33331 PyObject *resultobj;
33332 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
33333 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
33334 double arg3 ;
33335 double arg4 ;
33336 int arg5 = (int) 0 ;
33337 int arg6 = (int) 0 ;
33338 PyObject * obj0 = 0 ;
33339 PyObject * obj1 = 0 ;
8edf1c75
RD
33340 PyObject * obj2 = 0 ;
33341 PyObject * obj3 = 0 ;
33342 PyObject * obj4 = 0 ;
33343 PyObject * obj5 = 0 ;
44127b65
RD
33344 char *kwnames[] = {
33345 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
33346 };
33347
8edf1c75 33348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyPolygonShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
33349 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPolygonShape, SWIG_POINTER_EXCEPTION | 0);
33350 if (SWIG_arg_fail(1)) SWIG_fail;
33351 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
33352 if (SWIG_arg_fail(2)) SWIG_fail;
33353 {
33354 arg3 = (double)(SWIG_As_double(obj2));
33355 if (SWIG_arg_fail(3)) SWIG_fail;
33356 }
33357 {
33358 arg4 = (double)(SWIG_As_double(obj3));
33359 if (SWIG_arg_fail(4)) SWIG_fail;
33360 }
8edf1c75 33361 if (obj4) {
36ed4f51
RD
33362 {
33363 arg5 = (int)(SWIG_As_int(obj4));
33364 if (SWIG_arg_fail(5)) SWIG_fail;
33365 }
8edf1c75
RD
33366 }
33367 if (obj5) {
36ed4f51
RD
33368 {
33369 arg6 = (int)(SWIG_As_int(obj5));
33370 if (SWIG_arg_fail(6)) SWIG_fail;
33371 }
8edf1c75 33372 }
44127b65
RD
33373 {
33374 PyThreadState* __tstate = wxPyBeginAllowThreads();
33375 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
33376
33377 wxPyEndAllowThreads(__tstate);
33378 if (PyErr_Occurred()) SWIG_fail;
33379 }
33380 Py_INCREF(Py_None); resultobj = Py_None;
33381 return resultobj;
33382 fail:
33383 return NULL;
33384}
33385
33386
c370783e 33387static PyObject *_wrap_PyPolygonShape_base_OnBeginSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
33388 PyObject *resultobj;
33389 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
33390 double arg2 ;
33391 double arg3 ;
33392 PyObject * obj0 = 0 ;
8edf1c75
RD
33393 PyObject * obj1 = 0 ;
33394 PyObject * obj2 = 0 ;
44127b65
RD
33395 char *kwnames[] = {
33396 (char *) "self",(char *) "w",(char *) "h", NULL
33397 };
33398
8edf1c75 33399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPolygonShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
33400 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPolygonShape, SWIG_POINTER_EXCEPTION | 0);
33401 if (SWIG_arg_fail(1)) SWIG_fail;
33402 {
33403 arg2 = (double)(SWIG_As_double(obj1));
33404 if (SWIG_arg_fail(2)) SWIG_fail;
33405 }
33406 {
33407 arg3 = (double)(SWIG_As_double(obj2));
33408 if (SWIG_arg_fail(3)) SWIG_fail;
33409 }
44127b65
RD
33410 {
33411 PyThreadState* __tstate = wxPyBeginAllowThreads();
33412 (arg1)->base_OnBeginSize(arg2,arg3);
33413
33414 wxPyEndAllowThreads(__tstate);
33415 if (PyErr_Occurred()) SWIG_fail;
33416 }
33417 Py_INCREF(Py_None); resultobj = Py_None;
33418 return resultobj;
33419 fail:
33420 return NULL;
33421}
33422
33423
c370783e 33424static PyObject *_wrap_PyPolygonShape_base_OnEndSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
33425 PyObject *resultobj;
33426 wxPyPolygonShape *arg1 = (wxPyPolygonShape *) 0 ;
33427 double arg2 ;
33428 double arg3 ;
33429 PyObject * obj0 = 0 ;
8edf1c75
RD
33430 PyObject * obj1 = 0 ;
33431 PyObject * obj2 = 0 ;
44127b65
RD
33432 char *kwnames[] = {
33433 (char *) "self",(char *) "w",(char *) "h", NULL
33434 };
33435
8edf1c75 33436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPolygonShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
33437 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPolygonShape, SWIG_POINTER_EXCEPTION | 0);
33438 if (SWIG_arg_fail(1)) SWIG_fail;
33439 {
33440 arg2 = (double)(SWIG_As_double(obj1));
33441 if (SWIG_arg_fail(2)) SWIG_fail;
33442 }
33443 {
33444 arg3 = (double)(SWIG_As_double(obj2));
33445 if (SWIG_arg_fail(3)) SWIG_fail;
33446 }
44127b65
RD
33447 {
33448 PyThreadState* __tstate = wxPyBeginAllowThreads();
33449 (arg1)->base_OnEndSize(arg2,arg3);
33450
33451 wxPyEndAllowThreads(__tstate);
33452 if (PyErr_Occurred()) SWIG_fail;
33453 }
33454 Py_INCREF(Py_None); resultobj = Py_None;
33455 return resultobj;
33456 fail:
33457 return NULL;
33458}
33459
33460
c370783e 33461static PyObject * PyPolygonShape_swigregister(PyObject *, PyObject *args) {
44127b65
RD
33462 PyObject *obj;
33463 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33464 SWIG_TypeClientData(SWIGTYPE_p_wxPyPolygonShape, obj);
33465 Py_INCREF(obj);
33466 return Py_BuildValue((char *)"");
33467}
c370783e 33468static PyObject *_wrap_new_PyTextShape(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
33469 PyObject *resultobj;
33470 double arg1 = (double) 0.0 ;
33471 double arg2 = (double) 0.0 ;
33472 wxPyTextShape *result;
8edf1c75
RD
33473 PyObject * obj0 = 0 ;
33474 PyObject * obj1 = 0 ;
44127b65
RD
33475 char *kwnames[] = {
33476 (char *) "width",(char *) "height", NULL
33477 };
33478
8edf1c75
RD
33479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyTextShape",kwnames,&obj0,&obj1)) goto fail;
33480 if (obj0) {
36ed4f51
RD
33481 {
33482 arg1 = (double)(SWIG_As_double(obj0));
33483 if (SWIG_arg_fail(1)) SWIG_fail;
33484 }
8edf1c75
RD
33485 }
33486 if (obj1) {
36ed4f51
RD
33487 {
33488 arg2 = (double)(SWIG_As_double(obj1));
33489 if (SWIG_arg_fail(2)) SWIG_fail;
33490 }
8edf1c75 33491 }
44127b65
RD
33492 {
33493 PyThreadState* __tstate = wxPyBeginAllowThreads();
33494 result = (wxPyTextShape *)new wxPyTextShape(arg1,arg2);
33495
33496 wxPyEndAllowThreads(__tstate);
33497 if (PyErr_Occurred()) SWIG_fail;
33498 }
2f4c0a16 33499 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTextShape, 1);
44127b65
RD
33500 return resultobj;
33501 fail:
33502 return NULL;
33503}
33504
33505
c370783e 33506static PyObject *_wrap_PyTextShape__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
33507 PyObject *resultobj;
33508 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
33509 PyObject *arg2 = (PyObject *) 0 ;
33510 PyObject *arg3 = (PyObject *) 0 ;
33511 PyObject * obj0 = 0 ;
33512 PyObject * obj1 = 0 ;
33513 PyObject * obj2 = 0 ;
33514 char *kwnames[] = {
33515 (char *) "self",(char *) "self",(char *) "_class", NULL
33516 };
33517
33518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextShape__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
33519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextShape, SWIG_POINTER_EXCEPTION | 0);
33520 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
33521 arg2 = obj1;
33522 arg3 = obj2;
33523 {
33524 PyThreadState* __tstate = wxPyBeginAllowThreads();
33525 (arg1)->_setCallbackInfo(arg2,arg3);
33526
33527 wxPyEndAllowThreads(__tstate);
33528 if (PyErr_Occurred()) SWIG_fail;
33529 }
33530 Py_INCREF(Py_None); resultobj = Py_None;
33531 return resultobj;
33532 fail:
33533 return NULL;
33534}
33535
33536
c370783e 33537static PyObject *_wrap_PyTextShape_base_OnDelete(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
33538 PyObject *resultobj;
33539 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
33540 PyObject * obj0 = 0 ;
33541 char *kwnames[] = {
33542 (char *) "self", NULL
33543 };
33544
33545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyTextShape_base_OnDelete",kwnames,&obj0)) goto fail;
36ed4f51
RD
33546 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextShape, SWIG_POINTER_EXCEPTION | 0);
33547 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
33548 {
33549 PyThreadState* __tstate = wxPyBeginAllowThreads();
33550 (arg1)->base_OnDelete();
33551
33552 wxPyEndAllowThreads(__tstate);
33553 if (PyErr_Occurred()) SWIG_fail;
33554 }
33555 Py_INCREF(Py_None); resultobj = Py_None;
33556 return resultobj;
33557 fail:
33558 return NULL;
33559}
33560
33561
c370783e 33562static PyObject *_wrap_PyTextShape_base_OnDraw(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
33563 PyObject *resultobj;
33564 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
33565 wxDC *arg2 = 0 ;
33566 PyObject * obj0 = 0 ;
33567 PyObject * obj1 = 0 ;
33568 char *kwnames[] = {
33569 (char *) "self",(char *) "dc", NULL
33570 };
33571
33572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnDraw",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
33573 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextShape, SWIG_POINTER_EXCEPTION | 0);
33574 if (SWIG_arg_fail(1)) SWIG_fail;
33575 {
33576 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
33577 if (SWIG_arg_fail(2)) SWIG_fail;
33578 if (arg2 == NULL) {
33579 SWIG_null_ref("wxDC");
33580 }
33581 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
33582 }
33583 {
33584 PyThreadState* __tstate = wxPyBeginAllowThreads();
33585 (arg1)->base_OnDraw(*arg2);
33586
33587 wxPyEndAllowThreads(__tstate);
33588 if (PyErr_Occurred()) SWIG_fail;
33589 }
33590 Py_INCREF(Py_None); resultobj = Py_None;
33591 return resultobj;
33592 fail:
33593 return NULL;
33594}
33595
33596
c370783e 33597static PyObject *_wrap_PyTextShape_base_OnDrawContents(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
33598 PyObject *resultobj;
33599 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
33600 wxDC *arg2 = 0 ;
33601 PyObject * obj0 = 0 ;
33602 PyObject * obj1 = 0 ;
33603 char *kwnames[] = {
33604 (char *) "self",(char *) "dc", NULL
33605 };
33606
33607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnDrawContents",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
33608 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextShape, SWIG_POINTER_EXCEPTION | 0);
33609 if (SWIG_arg_fail(1)) SWIG_fail;
33610 {
33611 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
33612 if (SWIG_arg_fail(2)) SWIG_fail;
33613 if (arg2 == NULL) {
33614 SWIG_null_ref("wxDC");
33615 }
33616 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
33617 }
33618 {
33619 PyThreadState* __tstate = wxPyBeginAllowThreads();
33620 (arg1)->base_OnDrawContents(*arg2);
33621
33622 wxPyEndAllowThreads(__tstate);
33623 if (PyErr_Occurred()) SWIG_fail;
33624 }
33625 Py_INCREF(Py_None); resultobj = Py_None;
33626 return resultobj;
33627 fail:
33628 return NULL;
33629}
33630
33631
c370783e 33632static PyObject *_wrap_PyTextShape_base_OnDrawBranches(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
33633 PyObject *resultobj;
33634 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
33635 wxDC *arg2 = 0 ;
33636 bool arg3 = (bool) FALSE ;
33637 PyObject * obj0 = 0 ;
33638 PyObject * obj1 = 0 ;
33639 PyObject * obj2 = 0 ;
33640 char *kwnames[] = {
33641 (char *) "self",(char *) "dc",(char *) "erase", NULL
33642 };
33643
33644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyTextShape_base_OnDrawBranches",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
33645 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextShape, SWIG_POINTER_EXCEPTION | 0);
33646 if (SWIG_arg_fail(1)) SWIG_fail;
33647 {
33648 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
33649 if (SWIG_arg_fail(2)) SWIG_fail;
33650 if (arg2 == NULL) {
33651 SWIG_null_ref("wxDC");
33652 }
33653 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
33654 }
33655 if (obj2) {
36ed4f51
RD
33656 {
33657 arg3 = (bool)(SWIG_As_bool(obj2));
33658 if (SWIG_arg_fail(3)) SWIG_fail;
33659 }
44127b65
RD
33660 }
33661 {
33662 PyThreadState* __tstate = wxPyBeginAllowThreads();
33663 (arg1)->base_OnDrawBranches(*arg2,arg3);
33664
33665 wxPyEndAllowThreads(__tstate);
33666 if (PyErr_Occurred()) SWIG_fail;
33667 }
33668 Py_INCREF(Py_None); resultobj = Py_None;
33669 return resultobj;
33670 fail:
33671 return NULL;
33672}
33673
33674
c370783e 33675static PyObject *_wrap_PyTextShape_base_OnMoveLinks(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
33676 PyObject *resultobj;
33677 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
33678 wxDC *arg2 = 0 ;
33679 PyObject * obj0 = 0 ;
33680 PyObject * obj1 = 0 ;
33681 char *kwnames[] = {
33682 (char *) "self",(char *) "dc", NULL
33683 };
33684
33685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnMoveLinks",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
33686 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextShape, SWIG_POINTER_EXCEPTION | 0);
33687 if (SWIG_arg_fail(1)) SWIG_fail;
33688 {
33689 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
33690 if (SWIG_arg_fail(2)) SWIG_fail;
33691 if (arg2 == NULL) {
33692 SWIG_null_ref("wxDC");
33693 }
33694 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
33695 }
33696 {
33697 PyThreadState* __tstate = wxPyBeginAllowThreads();
33698 (arg1)->base_OnMoveLinks(*arg2);
33699
33700 wxPyEndAllowThreads(__tstate);
33701 if (PyErr_Occurred()) SWIG_fail;
33702 }
33703 Py_INCREF(Py_None); resultobj = Py_None;
33704 return resultobj;
33705 fail:
33706 return NULL;
33707}
33708
33709
c370783e 33710static PyObject *_wrap_PyTextShape_base_OnErase(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
33711 PyObject *resultobj;
33712 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
33713 wxDC *arg2 = 0 ;
33714 PyObject * obj0 = 0 ;
33715 PyObject * obj1 = 0 ;
33716 char *kwnames[] = {
33717 (char *) "self",(char *) "dc", NULL
33718 };
33719
33720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnErase",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
33721 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextShape, SWIG_POINTER_EXCEPTION | 0);
33722 if (SWIG_arg_fail(1)) SWIG_fail;
33723 {
33724 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
33725 if (SWIG_arg_fail(2)) SWIG_fail;
33726 if (arg2 == NULL) {
33727 SWIG_null_ref("wxDC");
33728 }
33729 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
33730 }
33731 {
33732 PyThreadState* __tstate = wxPyBeginAllowThreads();
33733 (arg1)->base_OnErase(*arg2);
33734
33735 wxPyEndAllowThreads(__tstate);
33736 if (PyErr_Occurred()) SWIG_fail;
33737 }
33738 Py_INCREF(Py_None); resultobj = Py_None;
33739 return resultobj;
33740 fail:
33741 return NULL;
33742}
33743
33744
c370783e 33745static PyObject *_wrap_PyTextShape_base_OnEraseContents(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
33746 PyObject *resultobj;
33747 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
33748 wxDC *arg2 = 0 ;
33749 PyObject * obj0 = 0 ;
33750 PyObject * obj1 = 0 ;
33751 char *kwnames[] = {
33752 (char *) "self",(char *) "dc", NULL
33753 };
33754
33755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnEraseContents",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
33756 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextShape, SWIG_POINTER_EXCEPTION | 0);
33757 if (SWIG_arg_fail(1)) SWIG_fail;
33758 {
33759 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
33760 if (SWIG_arg_fail(2)) SWIG_fail;
33761 if (arg2 == NULL) {
33762 SWIG_null_ref("wxDC");
33763 }
33764 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
33765 }
33766 {
33767 PyThreadState* __tstate = wxPyBeginAllowThreads();
33768 (arg1)->base_OnEraseContents(*arg2);
33769
33770 wxPyEndAllowThreads(__tstate);
33771 if (PyErr_Occurred()) SWIG_fail;
33772 }
33773 Py_INCREF(Py_None); resultobj = Py_None;
33774 return resultobj;
33775 fail:
33776 return NULL;
33777}
33778
33779
c370783e 33780static PyObject *_wrap_PyTextShape_base_OnHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
33781 PyObject *resultobj;
33782 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
33783 wxDC *arg2 = 0 ;
33784 PyObject * obj0 = 0 ;
33785 PyObject * obj1 = 0 ;
33786 char *kwnames[] = {
33787 (char *) "self",(char *) "dc", NULL
33788 };
33789
33790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnHighlight",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
33791 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextShape, SWIG_POINTER_EXCEPTION | 0);
33792 if (SWIG_arg_fail(1)) SWIG_fail;
33793 {
33794 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
33795 if (SWIG_arg_fail(2)) SWIG_fail;
33796 if (arg2 == NULL) {
33797 SWIG_null_ref("wxDC");
33798 }
33799 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
33800 }
33801 {
33802 PyThreadState* __tstate = wxPyBeginAllowThreads();
33803 (arg1)->base_OnHighlight(*arg2);
33804
33805 wxPyEndAllowThreads(__tstate);
33806 if (PyErr_Occurred()) SWIG_fail;
33807 }
33808 Py_INCREF(Py_None); resultobj = Py_None;
33809 return resultobj;
33810 fail:
33811 return NULL;
33812}
33813
33814
c370783e 33815static PyObject *_wrap_PyTextShape_base_OnLeftClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
33816 PyObject *resultobj;
33817 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
33818 double arg2 ;
33819 double arg3 ;
33820 int arg4 = (int) 0 ;
33821 int arg5 = (int) 0 ;
33822 PyObject * obj0 = 0 ;
8edf1c75
RD
33823 PyObject * obj1 = 0 ;
33824 PyObject * obj2 = 0 ;
33825 PyObject * obj3 = 0 ;
33826 PyObject * obj4 = 0 ;
44127b65
RD
33827 char *kwnames[] = {
33828 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
33829 };
33830
8edf1c75 33831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
33832 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextShape, SWIG_POINTER_EXCEPTION | 0);
33833 if (SWIG_arg_fail(1)) SWIG_fail;
33834 {
33835 arg2 = (double)(SWIG_As_double(obj1));
33836 if (SWIG_arg_fail(2)) SWIG_fail;
33837 }
33838 {
33839 arg3 = (double)(SWIG_As_double(obj2));
33840 if (SWIG_arg_fail(3)) SWIG_fail;
33841 }
8edf1c75 33842 if (obj3) {
36ed4f51
RD
33843 {
33844 arg4 = (int)(SWIG_As_int(obj3));
33845 if (SWIG_arg_fail(4)) SWIG_fail;
33846 }
8edf1c75
RD
33847 }
33848 if (obj4) {
36ed4f51
RD
33849 {
33850 arg5 = (int)(SWIG_As_int(obj4));
33851 if (SWIG_arg_fail(5)) SWIG_fail;
33852 }
8edf1c75 33853 }
44127b65
RD
33854 {
33855 PyThreadState* __tstate = wxPyBeginAllowThreads();
33856 (arg1)->base_OnLeftClick(arg2,arg3,arg4,arg5);
33857
33858 wxPyEndAllowThreads(__tstate);
33859 if (PyErr_Occurred()) SWIG_fail;
33860 }
33861 Py_INCREF(Py_None); resultobj = Py_None;
33862 return resultobj;
33863 fail:
33864 return NULL;
33865}
33866
33867
c370783e 33868static PyObject *_wrap_PyTextShape_base_OnLeftDoubleClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
33869 PyObject *resultobj;
33870 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
33871 double arg2 ;
33872 double arg3 ;
33873 int arg4 = (int) 0 ;
33874 int arg5 = (int) 0 ;
33875 PyObject * obj0 = 0 ;
8edf1c75
RD
33876 PyObject * obj1 = 0 ;
33877 PyObject * obj2 = 0 ;
33878 PyObject * obj3 = 0 ;
33879 PyObject * obj4 = 0 ;
44127b65
RD
33880 char *kwnames[] = {
33881 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
33882 };
33883
8edf1c75 33884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnLeftDoubleClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
33885 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextShape, SWIG_POINTER_EXCEPTION | 0);
33886 if (SWIG_arg_fail(1)) SWIG_fail;
33887 {
33888 arg2 = (double)(SWIG_As_double(obj1));
33889 if (SWIG_arg_fail(2)) SWIG_fail;
33890 }
33891 {
33892 arg3 = (double)(SWIG_As_double(obj2));
33893 if (SWIG_arg_fail(3)) SWIG_fail;
33894 }
8edf1c75 33895 if (obj3) {
36ed4f51
RD
33896 {
33897 arg4 = (int)(SWIG_As_int(obj3));
33898 if (SWIG_arg_fail(4)) SWIG_fail;
33899 }
8edf1c75
RD
33900 }
33901 if (obj4) {
36ed4f51
RD
33902 {
33903 arg5 = (int)(SWIG_As_int(obj4));
33904 if (SWIG_arg_fail(5)) SWIG_fail;
33905 }
8edf1c75 33906 }
44127b65
RD
33907 {
33908 PyThreadState* __tstate = wxPyBeginAllowThreads();
33909 (arg1)->base_OnLeftDoubleClick(arg2,arg3,arg4,arg5);
33910
33911 wxPyEndAllowThreads(__tstate);
33912 if (PyErr_Occurred()) SWIG_fail;
33913 }
33914 Py_INCREF(Py_None); resultobj = Py_None;
33915 return resultobj;
33916 fail:
33917 return NULL;
33918}
33919
33920
c370783e 33921static PyObject *_wrap_PyTextShape_base_OnRightClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
33922 PyObject *resultobj;
33923 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
33924 double arg2 ;
33925 double arg3 ;
33926 int arg4 = (int) 0 ;
33927 int arg5 = (int) 0 ;
33928 PyObject * obj0 = 0 ;
8edf1c75
RD
33929 PyObject * obj1 = 0 ;
33930 PyObject * obj2 = 0 ;
33931 PyObject * obj3 = 0 ;
33932 PyObject * obj4 = 0 ;
44127b65
RD
33933 char *kwnames[] = {
33934 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
33935 };
33936
8edf1c75 33937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
33938 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextShape, SWIG_POINTER_EXCEPTION | 0);
33939 if (SWIG_arg_fail(1)) SWIG_fail;
33940 {
33941 arg2 = (double)(SWIG_As_double(obj1));
33942 if (SWIG_arg_fail(2)) SWIG_fail;
33943 }
33944 {
33945 arg3 = (double)(SWIG_As_double(obj2));
33946 if (SWIG_arg_fail(3)) SWIG_fail;
33947 }
8edf1c75 33948 if (obj3) {
36ed4f51
RD
33949 {
33950 arg4 = (int)(SWIG_As_int(obj3));
33951 if (SWIG_arg_fail(4)) SWIG_fail;
33952 }
8edf1c75
RD
33953 }
33954 if (obj4) {
36ed4f51
RD
33955 {
33956 arg5 = (int)(SWIG_As_int(obj4));
33957 if (SWIG_arg_fail(5)) SWIG_fail;
33958 }
8edf1c75 33959 }
44127b65
RD
33960 {
33961 PyThreadState* __tstate = wxPyBeginAllowThreads();
33962 (arg1)->base_OnRightClick(arg2,arg3,arg4,arg5);
33963
33964 wxPyEndAllowThreads(__tstate);
33965 if (PyErr_Occurred()) SWIG_fail;
33966 }
33967 Py_INCREF(Py_None); resultobj = Py_None;
33968 return resultobj;
33969 fail:
33970 return NULL;
33971}
33972
33973
c370783e 33974static PyObject *_wrap_PyTextShape_base_OnSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
33975 PyObject *resultobj;
33976 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
33977 double arg2 ;
33978 double arg3 ;
33979 PyObject * obj0 = 0 ;
8edf1c75
RD
33980 PyObject * obj1 = 0 ;
33981 PyObject * obj2 = 0 ;
44127b65
RD
33982 char *kwnames[] = {
33983 (char *) "self",(char *) "x",(char *) "y", NULL
33984 };
33985
8edf1c75 33986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextShape_base_OnSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
33987 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextShape, SWIG_POINTER_EXCEPTION | 0);
33988 if (SWIG_arg_fail(1)) SWIG_fail;
33989 {
33990 arg2 = (double)(SWIG_As_double(obj1));
33991 if (SWIG_arg_fail(2)) SWIG_fail;
33992 }
33993 {
33994 arg3 = (double)(SWIG_As_double(obj2));
33995 if (SWIG_arg_fail(3)) SWIG_fail;
33996 }
44127b65
RD
33997 {
33998 PyThreadState* __tstate = wxPyBeginAllowThreads();
33999 (arg1)->base_OnSize(arg2,arg3);
34000
34001 wxPyEndAllowThreads(__tstate);
34002 if (PyErr_Occurred()) SWIG_fail;
34003 }
34004 Py_INCREF(Py_None); resultobj = Py_None;
34005 return resultobj;
34006 fail:
34007 return NULL;
34008}
34009
34010
c370783e 34011static PyObject *_wrap_PyTextShape_base_OnMovePre(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
34012 PyObject *resultobj;
34013 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
34014 wxDC *arg2 = 0 ;
34015 double arg3 ;
34016 double arg4 ;
34017 double arg5 ;
34018 double arg6 ;
b411df4a 34019 bool arg7 = (bool) true ;
44127b65
RD
34020 bool result;
34021 PyObject * obj0 = 0 ;
34022 PyObject * obj1 = 0 ;
8edf1c75
RD
34023 PyObject * obj2 = 0 ;
34024 PyObject * obj3 = 0 ;
34025 PyObject * obj4 = 0 ;
34026 PyObject * obj5 = 0 ;
44127b65
RD
34027 PyObject * obj6 = 0 ;
34028 char *kwnames[] = {
34029 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
34030 };
34031
8edf1c75 34032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyTextShape_base_OnMovePre",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
34033 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextShape, SWIG_POINTER_EXCEPTION | 0);
34034 if (SWIG_arg_fail(1)) SWIG_fail;
34035 {
34036 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
34037 if (SWIG_arg_fail(2)) SWIG_fail;
34038 if (arg2 == NULL) {
34039 SWIG_null_ref("wxDC");
34040 }
34041 if (SWIG_arg_fail(2)) SWIG_fail;
34042 }
34043 {
34044 arg3 = (double)(SWIG_As_double(obj2));
34045 if (SWIG_arg_fail(3)) SWIG_fail;
34046 }
34047 {
34048 arg4 = (double)(SWIG_As_double(obj3));
34049 if (SWIG_arg_fail(4)) SWIG_fail;
34050 }
34051 {
34052 arg5 = (double)(SWIG_As_double(obj4));
34053 if (SWIG_arg_fail(5)) SWIG_fail;
34054 }
34055 {
34056 arg6 = (double)(SWIG_As_double(obj5));
34057 if (SWIG_arg_fail(6)) SWIG_fail;
34058 }
44127b65 34059 if (obj6) {
36ed4f51
RD
34060 {
34061 arg7 = (bool)(SWIG_As_bool(obj6));
34062 if (SWIG_arg_fail(7)) SWIG_fail;
34063 }
44127b65
RD
34064 }
34065 {
34066 PyThreadState* __tstate = wxPyBeginAllowThreads();
34067 result = (bool)(arg1)->base_OnMovePre(*arg2,arg3,arg4,arg5,arg6,arg7);
34068
34069 wxPyEndAllowThreads(__tstate);
34070 if (PyErr_Occurred()) SWIG_fail;
34071 }
fbc46b20
RD
34072 {
34073 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34074 }
44127b65
RD
34075 return resultobj;
34076 fail:
34077 return NULL;
34078}
34079
34080
c370783e 34081static PyObject *_wrap_PyTextShape_base_OnMovePost(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
34082 PyObject *resultobj;
34083 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
34084 wxDC *arg2 = 0 ;
34085 double arg3 ;
34086 double arg4 ;
34087 double arg5 ;
34088 double arg6 ;
b411df4a 34089 bool arg7 = (bool) true ;
44127b65
RD
34090 PyObject * obj0 = 0 ;
34091 PyObject * obj1 = 0 ;
8edf1c75
RD
34092 PyObject * obj2 = 0 ;
34093 PyObject * obj3 = 0 ;
34094 PyObject * obj4 = 0 ;
34095 PyObject * obj5 = 0 ;
44127b65
RD
34096 PyObject * obj6 = 0 ;
34097 char *kwnames[] = {
34098 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "old_x",(char *) "old_y",(char *) "display", NULL
34099 };
34100
8edf1c75 34101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:PyTextShape_base_OnMovePost",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
34102 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextShape, SWIG_POINTER_EXCEPTION | 0);
34103 if (SWIG_arg_fail(1)) SWIG_fail;
34104 {
34105 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
34106 if (SWIG_arg_fail(2)) SWIG_fail;
34107 if (arg2 == NULL) {
34108 SWIG_null_ref("wxDC");
34109 }
34110 if (SWIG_arg_fail(2)) SWIG_fail;
34111 }
34112 {
34113 arg3 = (double)(SWIG_As_double(obj2));
34114 if (SWIG_arg_fail(3)) SWIG_fail;
34115 }
34116 {
34117 arg4 = (double)(SWIG_As_double(obj3));
34118 if (SWIG_arg_fail(4)) SWIG_fail;
34119 }
34120 {
34121 arg5 = (double)(SWIG_As_double(obj4));
34122 if (SWIG_arg_fail(5)) SWIG_fail;
34123 }
34124 {
34125 arg6 = (double)(SWIG_As_double(obj5));
34126 if (SWIG_arg_fail(6)) SWIG_fail;
34127 }
44127b65 34128 if (obj6) {
36ed4f51
RD
34129 {
34130 arg7 = (bool)(SWIG_As_bool(obj6));
34131 if (SWIG_arg_fail(7)) SWIG_fail;
34132 }
44127b65
RD
34133 }
34134 {
34135 PyThreadState* __tstate = wxPyBeginAllowThreads();
34136 (arg1)->base_OnMovePost(*arg2,arg3,arg4,arg5,arg6,arg7);
34137
34138 wxPyEndAllowThreads(__tstate);
34139 if (PyErr_Occurred()) SWIG_fail;
34140 }
34141 Py_INCREF(Py_None); resultobj = Py_None;
34142 return resultobj;
34143 fail:
34144 return NULL;
34145}
34146
34147
c370783e 34148static PyObject *_wrap_PyTextShape_base_OnDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
34149 PyObject *resultobj;
34150 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
34151 bool arg2 ;
34152 double arg3 ;
34153 double arg4 ;
34154 int arg5 = (int) 0 ;
34155 int arg6 = (int) 0 ;
34156 PyObject * obj0 = 0 ;
34157 PyObject * obj1 = 0 ;
8edf1c75
RD
34158 PyObject * obj2 = 0 ;
34159 PyObject * obj3 = 0 ;
34160 PyObject * obj4 = 0 ;
34161 PyObject * obj5 = 0 ;
44127b65
RD
34162 char *kwnames[] = {
34163 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
34164 };
34165
8edf1c75 34166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyTextShape_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
34167 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextShape, SWIG_POINTER_EXCEPTION | 0);
34168 if (SWIG_arg_fail(1)) SWIG_fail;
34169 {
34170 arg2 = (bool)(SWIG_As_bool(obj1));
34171 if (SWIG_arg_fail(2)) SWIG_fail;
34172 }
34173 {
34174 arg3 = (double)(SWIG_As_double(obj2));
34175 if (SWIG_arg_fail(3)) SWIG_fail;
34176 }
34177 {
34178 arg4 = (double)(SWIG_As_double(obj3));
34179 if (SWIG_arg_fail(4)) SWIG_fail;
34180 }
8edf1c75 34181 if (obj4) {
36ed4f51
RD
34182 {
34183 arg5 = (int)(SWIG_As_int(obj4));
34184 if (SWIG_arg_fail(5)) SWIG_fail;
34185 }
8edf1c75
RD
34186 }
34187 if (obj5) {
36ed4f51
RD
34188 {
34189 arg6 = (int)(SWIG_As_int(obj5));
34190 if (SWIG_arg_fail(6)) SWIG_fail;
34191 }
8edf1c75 34192 }
44127b65
RD
34193 {
34194 PyThreadState* __tstate = wxPyBeginAllowThreads();
34195 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5,arg6);
34196
34197 wxPyEndAllowThreads(__tstate);
34198 if (PyErr_Occurred()) SWIG_fail;
34199 }
34200 Py_INCREF(Py_None); resultobj = Py_None;
34201 return resultobj;
34202 fail:
34203 return NULL;
34204}
34205
34206
c370783e 34207static PyObject *_wrap_PyTextShape_base_OnBeginDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
34208 PyObject *resultobj;
34209 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
34210 double arg2 ;
34211 double arg3 ;
34212 int arg4 = (int) 0 ;
34213 int arg5 = (int) 0 ;
34214 PyObject * obj0 = 0 ;
8edf1c75
RD
34215 PyObject * obj1 = 0 ;
34216 PyObject * obj2 = 0 ;
34217 PyObject * obj3 = 0 ;
34218 PyObject * obj4 = 0 ;
44127b65 34219 char *kwnames[] = {
2f4c0a16
RD
34220 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
34221 };
34222
34223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
34224 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextShape, SWIG_POINTER_EXCEPTION | 0);
34225 if (SWIG_arg_fail(1)) SWIG_fail;
34226 {
34227 arg2 = (double)(SWIG_As_double(obj1));
34228 if (SWIG_arg_fail(2)) SWIG_fail;
34229 }
34230 {
34231 arg3 = (double)(SWIG_As_double(obj2));
34232 if (SWIG_arg_fail(3)) SWIG_fail;
34233 }
8edf1c75 34234 if (obj3) {
36ed4f51
RD
34235 {
34236 arg4 = (int)(SWIG_As_int(obj3));
34237 if (SWIG_arg_fail(4)) SWIG_fail;
34238 }
8edf1c75
RD
34239 }
34240 if (obj4) {
36ed4f51
RD
34241 {
34242 arg5 = (int)(SWIG_As_int(obj4));
34243 if (SWIG_arg_fail(5)) SWIG_fail;
34244 }
8edf1c75 34245 }
44127b65
RD
34246 {
34247 PyThreadState* __tstate = wxPyBeginAllowThreads();
34248 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4,arg5);
34249
34250 wxPyEndAllowThreads(__tstate);
34251 if (PyErr_Occurred()) SWIG_fail;
34252 }
34253 Py_INCREF(Py_None); resultobj = Py_None;
34254 return resultobj;
34255 fail:
34256 return NULL;
34257}
34258
34259
c370783e 34260static PyObject *_wrap_PyTextShape_base_OnEndDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
34261 PyObject *resultobj;
34262 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
34263 double arg2 ;
34264 double arg3 ;
34265 int arg4 = (int) 0 ;
34266 int arg5 = (int) 0 ;
34267 PyObject * obj0 = 0 ;
8edf1c75
RD
34268 PyObject * obj1 = 0 ;
34269 PyObject * obj2 = 0 ;
34270 PyObject * obj3 = 0 ;
34271 PyObject * obj4 = 0 ;
44127b65
RD
34272 char *kwnames[] = {
34273 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
34274 };
34275
8edf1c75 34276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
34277 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextShape, SWIG_POINTER_EXCEPTION | 0);
34278 if (SWIG_arg_fail(1)) SWIG_fail;
34279 {
34280 arg2 = (double)(SWIG_As_double(obj1));
34281 if (SWIG_arg_fail(2)) SWIG_fail;
34282 }
34283 {
34284 arg3 = (double)(SWIG_As_double(obj2));
34285 if (SWIG_arg_fail(3)) SWIG_fail;
34286 }
8edf1c75 34287 if (obj3) {
36ed4f51
RD
34288 {
34289 arg4 = (int)(SWIG_As_int(obj3));
34290 if (SWIG_arg_fail(4)) SWIG_fail;
34291 }
8edf1c75
RD
34292 }
34293 if (obj4) {
36ed4f51
RD
34294 {
34295 arg5 = (int)(SWIG_As_int(obj4));
34296 if (SWIG_arg_fail(5)) SWIG_fail;
34297 }
8edf1c75 34298 }
44127b65
RD
34299 {
34300 PyThreadState* __tstate = wxPyBeginAllowThreads();
34301 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4,arg5);
34302
34303 wxPyEndAllowThreads(__tstate);
34304 if (PyErr_Occurred()) SWIG_fail;
34305 }
34306 Py_INCREF(Py_None); resultobj = Py_None;
34307 return resultobj;
34308 fail:
34309 return NULL;
34310}
34311
34312
c370783e 34313static PyObject *_wrap_PyTextShape_base_OnDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
34314 PyObject *resultobj;
34315 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
34316 bool arg2 ;
34317 double arg3 ;
34318 double arg4 ;
34319 int arg5 = (int) 0 ;
34320 int arg6 = (int) 0 ;
34321 PyObject * obj0 = 0 ;
34322 PyObject * obj1 = 0 ;
8edf1c75
RD
34323 PyObject * obj2 = 0 ;
34324 PyObject * obj3 = 0 ;
34325 PyObject * obj4 = 0 ;
34326 PyObject * obj5 = 0 ;
44127b65
RD
34327 char *kwnames[] = {
34328 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
34329 };
34330
8edf1c75 34331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyTextShape_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
34332 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextShape, SWIG_POINTER_EXCEPTION | 0);
34333 if (SWIG_arg_fail(1)) SWIG_fail;
34334 {
34335 arg2 = (bool)(SWIG_As_bool(obj1));
34336 if (SWIG_arg_fail(2)) SWIG_fail;
34337 }
34338 {
34339 arg3 = (double)(SWIG_As_double(obj2));
34340 if (SWIG_arg_fail(3)) SWIG_fail;
34341 }
34342 {
34343 arg4 = (double)(SWIG_As_double(obj3));
34344 if (SWIG_arg_fail(4)) SWIG_fail;
34345 }
8edf1c75 34346 if (obj4) {
36ed4f51
RD
34347 {
34348 arg5 = (int)(SWIG_As_int(obj4));
34349 if (SWIG_arg_fail(5)) SWIG_fail;
34350 }
8edf1c75
RD
34351 }
34352 if (obj5) {
36ed4f51
RD
34353 {
34354 arg6 = (int)(SWIG_As_int(obj5));
34355 if (SWIG_arg_fail(6)) SWIG_fail;
34356 }
8edf1c75 34357 }
44127b65
RD
34358 {
34359 PyThreadState* __tstate = wxPyBeginAllowThreads();
34360 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5,arg6);
34361
34362 wxPyEndAllowThreads(__tstate);
34363 if (PyErr_Occurred()) SWIG_fail;
34364 }
34365 Py_INCREF(Py_None); resultobj = Py_None;
34366 return resultobj;
34367 fail:
34368 return NULL;
34369}
34370
34371
c370783e 34372static PyObject *_wrap_PyTextShape_base_OnBeginDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
34373 PyObject *resultobj;
34374 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
34375 double arg2 ;
34376 double arg3 ;
34377 int arg4 = (int) 0 ;
34378 int arg5 = (int) 0 ;
34379 PyObject * obj0 = 0 ;
8edf1c75
RD
34380 PyObject * obj1 = 0 ;
34381 PyObject * obj2 = 0 ;
34382 PyObject * obj3 = 0 ;
34383 PyObject * obj4 = 0 ;
44127b65
RD
34384 char *kwnames[] = {
34385 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
34386 };
34387
8edf1c75 34388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
34389 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextShape, SWIG_POINTER_EXCEPTION | 0);
34390 if (SWIG_arg_fail(1)) SWIG_fail;
34391 {
34392 arg2 = (double)(SWIG_As_double(obj1));
34393 if (SWIG_arg_fail(2)) SWIG_fail;
34394 }
34395 {
34396 arg3 = (double)(SWIG_As_double(obj2));
34397 if (SWIG_arg_fail(3)) SWIG_fail;
34398 }
8edf1c75 34399 if (obj3) {
36ed4f51
RD
34400 {
34401 arg4 = (int)(SWIG_As_int(obj3));
34402 if (SWIG_arg_fail(4)) SWIG_fail;
34403 }
8edf1c75
RD
34404 }
34405 if (obj4) {
36ed4f51
RD
34406 {
34407 arg5 = (int)(SWIG_As_int(obj4));
34408 if (SWIG_arg_fail(5)) SWIG_fail;
34409 }
8edf1c75 34410 }
44127b65
RD
34411 {
34412 PyThreadState* __tstate = wxPyBeginAllowThreads();
34413 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4,arg5);
34414
34415 wxPyEndAllowThreads(__tstate);
34416 if (PyErr_Occurred()) SWIG_fail;
34417 }
34418 Py_INCREF(Py_None); resultobj = Py_None;
34419 return resultobj;
34420 fail:
34421 return NULL;
34422}
34423
34424
c370783e 34425static PyObject *_wrap_PyTextShape_base_OnEndDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
34426 PyObject *resultobj;
34427 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
34428 double arg2 ;
34429 double arg3 ;
34430 int arg4 = (int) 0 ;
34431 int arg5 = (int) 0 ;
34432 PyObject * obj0 = 0 ;
8edf1c75
RD
34433 PyObject * obj1 = 0 ;
34434 PyObject * obj2 = 0 ;
34435 PyObject * obj3 = 0 ;
34436 PyObject * obj4 = 0 ;
44127b65
RD
34437 char *kwnames[] = {
34438 (char *) "self",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
34439 };
34440
8edf1c75 34441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyTextShape_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
34442 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextShape, SWIG_POINTER_EXCEPTION | 0);
34443 if (SWIG_arg_fail(1)) SWIG_fail;
34444 {
34445 arg2 = (double)(SWIG_As_double(obj1));
34446 if (SWIG_arg_fail(2)) SWIG_fail;
34447 }
34448 {
34449 arg3 = (double)(SWIG_As_double(obj2));
34450 if (SWIG_arg_fail(3)) SWIG_fail;
34451 }
8edf1c75 34452 if (obj3) {
36ed4f51
RD
34453 {
34454 arg4 = (int)(SWIG_As_int(obj3));
34455 if (SWIG_arg_fail(4)) SWIG_fail;
34456 }
8edf1c75
RD
34457 }
34458 if (obj4) {
36ed4f51
RD
34459 {
34460 arg5 = (int)(SWIG_As_int(obj4));
34461 if (SWIG_arg_fail(5)) SWIG_fail;
34462 }
8edf1c75 34463 }
44127b65
RD
34464 {
34465 PyThreadState* __tstate = wxPyBeginAllowThreads();
34466 (arg1)->base_OnEndDragRight(arg2,arg3,arg4,arg5);
34467
34468 wxPyEndAllowThreads(__tstate);
34469 if (PyErr_Occurred()) SWIG_fail;
34470 }
34471 Py_INCREF(Py_None); resultobj = Py_None;
34472 return resultobj;
34473 fail:
34474 return NULL;
34475}
34476
34477
c370783e 34478static PyObject *_wrap_PyTextShape_base_OnDrawOutline(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
34479 PyObject *resultobj;
34480 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
34481 wxDC *arg2 = 0 ;
34482 double arg3 ;
34483 double arg4 ;
34484 double arg5 ;
34485 double arg6 ;
34486 PyObject * obj0 = 0 ;
34487 PyObject * obj1 = 0 ;
8edf1c75
RD
34488 PyObject * obj2 = 0 ;
34489 PyObject * obj3 = 0 ;
34490 PyObject * obj4 = 0 ;
34491 PyObject * obj5 = 0 ;
44127b65
RD
34492 char *kwnames[] = {
34493 (char *) "self",(char *) "dc",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
34494 };
34495
8edf1c75 34496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:PyTextShape_base_OnDrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
34497 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextShape, SWIG_POINTER_EXCEPTION | 0);
34498 if (SWIG_arg_fail(1)) SWIG_fail;
34499 {
34500 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
34501 if (SWIG_arg_fail(2)) SWIG_fail;
34502 if (arg2 == NULL) {
34503 SWIG_null_ref("wxDC");
34504 }
34505 if (SWIG_arg_fail(2)) SWIG_fail;
34506 }
34507 {
34508 arg3 = (double)(SWIG_As_double(obj2));
34509 if (SWIG_arg_fail(3)) SWIG_fail;
34510 }
34511 {
34512 arg4 = (double)(SWIG_As_double(obj3));
34513 if (SWIG_arg_fail(4)) SWIG_fail;
34514 }
34515 {
34516 arg5 = (double)(SWIG_As_double(obj4));
34517 if (SWIG_arg_fail(5)) SWIG_fail;
34518 }
34519 {
34520 arg6 = (double)(SWIG_As_double(obj5));
34521 if (SWIG_arg_fail(6)) SWIG_fail;
34522 }
44127b65
RD
34523 {
34524 PyThreadState* __tstate = wxPyBeginAllowThreads();
34525 (arg1)->base_OnDrawOutline(*arg2,arg3,arg4,arg5,arg6);
34526
34527 wxPyEndAllowThreads(__tstate);
34528 if (PyErr_Occurred()) SWIG_fail;
34529 }
34530 Py_INCREF(Py_None); resultobj = Py_None;
34531 return resultobj;
34532 fail:
34533 return NULL;
34534}
34535
34536
c370783e 34537static PyObject *_wrap_PyTextShape_base_OnDrawControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
34538 PyObject *resultobj;
34539 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
34540 wxDC *arg2 = 0 ;
34541 PyObject * obj0 = 0 ;
34542 PyObject * obj1 = 0 ;
34543 char *kwnames[] = {
34544 (char *) "self",(char *) "dc", NULL
34545 };
34546
34547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnDrawControlPoints",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
34548 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextShape, SWIG_POINTER_EXCEPTION | 0);
34549 if (SWIG_arg_fail(1)) SWIG_fail;
34550 {
34551 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
34552 if (SWIG_arg_fail(2)) SWIG_fail;
34553 if (arg2 == NULL) {
34554 SWIG_null_ref("wxDC");
34555 }
34556 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
34557 }
34558 {
34559 PyThreadState* __tstate = wxPyBeginAllowThreads();
34560 (arg1)->base_OnDrawControlPoints(*arg2);
34561
34562 wxPyEndAllowThreads(__tstate);
34563 if (PyErr_Occurred()) SWIG_fail;
34564 }
34565 Py_INCREF(Py_None); resultobj = Py_None;
34566 return resultobj;
34567 fail:
34568 return NULL;
34569}
34570
34571
c370783e 34572static PyObject *_wrap_PyTextShape_base_OnEraseControlPoints(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
34573 PyObject *resultobj;
34574 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
34575 wxDC *arg2 = 0 ;
34576 PyObject * obj0 = 0 ;
34577 PyObject * obj1 = 0 ;
34578 char *kwnames[] = {
34579 (char *) "self",(char *) "dc", NULL
34580 };
34581
34582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyTextShape_base_OnEraseControlPoints",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
34583 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextShape, SWIG_POINTER_EXCEPTION | 0);
34584 if (SWIG_arg_fail(1)) SWIG_fail;
34585 {
34586 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
34587 if (SWIG_arg_fail(2)) SWIG_fail;
34588 if (arg2 == NULL) {
34589 SWIG_null_ref("wxDC");
34590 }
34591 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
34592 }
34593 {
34594 PyThreadState* __tstate = wxPyBeginAllowThreads();
34595 (arg1)->base_OnEraseControlPoints(*arg2);
34596
34597 wxPyEndAllowThreads(__tstate);
34598 if (PyErr_Occurred()) SWIG_fail;
34599 }
34600 Py_INCREF(Py_None); resultobj = Py_None;
34601 return resultobj;
34602 fail:
34603 return NULL;
34604}
34605
34606
c370783e 34607static PyObject *_wrap_PyTextShape_base_OnMoveLink(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
34608 PyObject *resultobj;
34609 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
34610 wxDC *arg2 = 0 ;
b411df4a 34611 bool arg3 = (bool) true ;
44127b65
RD
34612 PyObject * obj0 = 0 ;
34613 PyObject * obj1 = 0 ;
34614 PyObject * obj2 = 0 ;
34615 char *kwnames[] = {
34616 (char *) "self",(char *) "dc",(char *) "moveControlPoints", NULL
34617 };
34618
34619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyTextShape_base_OnMoveLink",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
34620 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextShape, SWIG_POINTER_EXCEPTION | 0);
34621 if (SWIG_arg_fail(1)) SWIG_fail;
34622 {
34623 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
34624 if (SWIG_arg_fail(2)) SWIG_fail;
34625 if (arg2 == NULL) {
34626 SWIG_null_ref("wxDC");
34627 }
34628 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
34629 }
34630 if (obj2) {
36ed4f51
RD
34631 {
34632 arg3 = (bool)(SWIG_As_bool(obj2));
34633 if (SWIG_arg_fail(3)) SWIG_fail;
34634 }
44127b65
RD
34635 }
34636 {
34637 PyThreadState* __tstate = wxPyBeginAllowThreads();
34638 (arg1)->base_OnMoveLink(*arg2,arg3);
34639
34640 wxPyEndAllowThreads(__tstate);
34641 if (PyErr_Occurred()) SWIG_fail;
34642 }
34643 Py_INCREF(Py_None); resultobj = Py_None;
34644 return resultobj;
34645 fail:
34646 return NULL;
34647}
34648
34649
c370783e 34650static PyObject *_wrap_PyTextShape_base_OnSizingDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
34651 PyObject *resultobj;
34652 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
34653 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
34654 bool arg3 ;
34655 double arg4 ;
34656 double arg5 ;
34657 int arg6 = (int) 0 ;
34658 int arg7 = (int) 0 ;
34659 PyObject * obj0 = 0 ;
34660 PyObject * obj1 = 0 ;
34661 PyObject * obj2 = 0 ;
8edf1c75
RD
34662 PyObject * obj3 = 0 ;
34663 PyObject * obj4 = 0 ;
34664 PyObject * obj5 = 0 ;
34665 PyObject * obj6 = 0 ;
44127b65
RD
34666 char *kwnames[] = {
34667 (char *) "self",(char *) "pt",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
34668 };
34669
8edf1c75 34670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OO:PyTextShape_base_OnSizingDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
34671 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextShape, SWIG_POINTER_EXCEPTION | 0);
34672 if (SWIG_arg_fail(1)) SWIG_fail;
34673 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
34674 if (SWIG_arg_fail(2)) SWIG_fail;
34675 {
34676 arg3 = (bool)(SWIG_As_bool(obj2));
34677 if (SWIG_arg_fail(3)) SWIG_fail;
34678 }
34679 {
34680 arg4 = (double)(SWIG_As_double(obj3));
34681 if (SWIG_arg_fail(4)) SWIG_fail;
34682 }
34683 {
34684 arg5 = (double)(SWIG_As_double(obj4));
34685 if (SWIG_arg_fail(5)) SWIG_fail;
34686 }
8edf1c75 34687 if (obj5) {
36ed4f51
RD
34688 {
34689 arg6 = (int)(SWIG_As_int(obj5));
34690 if (SWIG_arg_fail(6)) SWIG_fail;
34691 }
8edf1c75
RD
34692 }
34693 if (obj6) {
36ed4f51
RD
34694 {
34695 arg7 = (int)(SWIG_As_int(obj6));
34696 if (SWIG_arg_fail(7)) SWIG_fail;
34697 }
8edf1c75 34698 }
44127b65
RD
34699 {
34700 PyThreadState* __tstate = wxPyBeginAllowThreads();
34701 (arg1)->base_OnSizingDragLeft(arg2,arg3,arg4,arg5,arg6,arg7);
34702
34703 wxPyEndAllowThreads(__tstate);
34704 if (PyErr_Occurred()) SWIG_fail;
34705 }
34706 Py_INCREF(Py_None); resultobj = Py_None;
34707 return resultobj;
34708 fail:
34709 return NULL;
34710}
34711
34712
c370783e 34713static PyObject *_wrap_PyTextShape_base_OnSizingBeginDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
34714 PyObject *resultobj;
34715 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
34716 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
34717 double arg3 ;
34718 double arg4 ;
34719 int arg5 = (int) 0 ;
34720 int arg6 = (int) 0 ;
34721 PyObject * obj0 = 0 ;
34722 PyObject * obj1 = 0 ;
8edf1c75
RD
34723 PyObject * obj2 = 0 ;
34724 PyObject * obj3 = 0 ;
34725 PyObject * obj4 = 0 ;
34726 PyObject * obj5 = 0 ;
44127b65
RD
34727 char *kwnames[] = {
34728 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
34729 };
34730
8edf1c75 34731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyTextShape_base_OnSizingBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
34732 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextShape, SWIG_POINTER_EXCEPTION | 0);
34733 if (SWIG_arg_fail(1)) SWIG_fail;
34734 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
34735 if (SWIG_arg_fail(2)) SWIG_fail;
34736 {
34737 arg3 = (double)(SWIG_As_double(obj2));
34738 if (SWIG_arg_fail(3)) SWIG_fail;
34739 }
34740 {
34741 arg4 = (double)(SWIG_As_double(obj3));
34742 if (SWIG_arg_fail(4)) SWIG_fail;
34743 }
8edf1c75 34744 if (obj4) {
36ed4f51
RD
34745 {
34746 arg5 = (int)(SWIG_As_int(obj4));
34747 if (SWIG_arg_fail(5)) SWIG_fail;
34748 }
8edf1c75
RD
34749 }
34750 if (obj5) {
36ed4f51
RD
34751 {
34752 arg6 = (int)(SWIG_As_int(obj5));
34753 if (SWIG_arg_fail(6)) SWIG_fail;
34754 }
8edf1c75 34755 }
44127b65
RD
34756 {
34757 PyThreadState* __tstate = wxPyBeginAllowThreads();
34758 (arg1)->base_OnSizingBeginDragLeft(arg2,arg3,arg4,arg5,arg6);
34759
34760 wxPyEndAllowThreads(__tstate);
34761 if (PyErr_Occurred()) SWIG_fail;
34762 }
34763 Py_INCREF(Py_None); resultobj = Py_None;
34764 return resultobj;
34765 fail:
34766 return NULL;
34767}
34768
34769
c370783e 34770static PyObject *_wrap_PyTextShape_base_OnSizingEndDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
34771 PyObject *resultobj;
34772 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
34773 wxPyControlPoint *arg2 = (wxPyControlPoint *) 0 ;
34774 double arg3 ;
34775 double arg4 ;
34776 int arg5 = (int) 0 ;
34777 int arg6 = (int) 0 ;
34778 PyObject * obj0 = 0 ;
34779 PyObject * obj1 = 0 ;
8edf1c75
RD
34780 PyObject * obj2 = 0 ;
34781 PyObject * obj3 = 0 ;
34782 PyObject * obj4 = 0 ;
34783 PyObject * obj5 = 0 ;
44127b65
RD
34784 char *kwnames[] = {
34785 (char *) "self",(char *) "pt",(char *) "x",(char *) "y",(char *) "keys",(char *) "attachment", NULL
34786 };
34787
8edf1c75 34788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:PyTextShape_base_OnSizingEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
34789 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextShape, SWIG_POINTER_EXCEPTION | 0);
34790 if (SWIG_arg_fail(1)) SWIG_fail;
34791 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyControlPoint, SWIG_POINTER_EXCEPTION | 0);
34792 if (SWIG_arg_fail(2)) SWIG_fail;
34793 {
34794 arg3 = (double)(SWIG_As_double(obj2));
34795 if (SWIG_arg_fail(3)) SWIG_fail;
34796 }
34797 {
34798 arg4 = (double)(SWIG_As_double(obj3));
34799 if (SWIG_arg_fail(4)) SWIG_fail;
34800 }
8edf1c75 34801 if (obj4) {
36ed4f51
RD
34802 {
34803 arg5 = (int)(SWIG_As_int(obj4));
34804 if (SWIG_arg_fail(5)) SWIG_fail;
34805 }
8edf1c75
RD
34806 }
34807 if (obj5) {
36ed4f51
RD
34808 {
34809 arg6 = (int)(SWIG_As_int(obj5));
34810 if (SWIG_arg_fail(6)) SWIG_fail;
34811 }
8edf1c75 34812 }
44127b65
RD
34813 {
34814 PyThreadState* __tstate = wxPyBeginAllowThreads();
34815 (arg1)->base_OnSizingEndDragLeft(arg2,arg3,arg4,arg5,arg6);
34816
34817 wxPyEndAllowThreads(__tstate);
34818 if (PyErr_Occurred()) SWIG_fail;
34819 }
34820 Py_INCREF(Py_None); resultobj = Py_None;
34821 return resultobj;
34822 fail:
34823 return NULL;
34824}
34825
34826
c370783e 34827static PyObject *_wrap_PyTextShape_base_OnBeginSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
34828 PyObject *resultobj;
34829 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
34830 double arg2 ;
34831 double arg3 ;
34832 PyObject * obj0 = 0 ;
8edf1c75
RD
34833 PyObject * obj1 = 0 ;
34834 PyObject * obj2 = 0 ;
44127b65
RD
34835 char *kwnames[] = {
34836 (char *) "self",(char *) "w",(char *) "h", NULL
34837 };
34838
8edf1c75 34839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextShape_base_OnBeginSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
34840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextShape, SWIG_POINTER_EXCEPTION | 0);
34841 if (SWIG_arg_fail(1)) SWIG_fail;
34842 {
34843 arg2 = (double)(SWIG_As_double(obj1));
34844 if (SWIG_arg_fail(2)) SWIG_fail;
34845 }
34846 {
34847 arg3 = (double)(SWIG_As_double(obj2));
34848 if (SWIG_arg_fail(3)) SWIG_fail;
34849 }
44127b65
RD
34850 {
34851 PyThreadState* __tstate = wxPyBeginAllowThreads();
34852 (arg1)->base_OnBeginSize(arg2,arg3);
34853
34854 wxPyEndAllowThreads(__tstate);
34855 if (PyErr_Occurred()) SWIG_fail;
34856 }
34857 Py_INCREF(Py_None); resultobj = Py_None;
34858 return resultobj;
34859 fail:
34860 return NULL;
34861}
34862
34863
c370783e 34864static PyObject *_wrap_PyTextShape_base_OnEndSize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
34865 PyObject *resultobj;
34866 wxPyTextShape *arg1 = (wxPyTextShape *) 0 ;
34867 double arg2 ;
34868 double arg3 ;
34869 PyObject * obj0 = 0 ;
8edf1c75
RD
34870 PyObject * obj1 = 0 ;
34871 PyObject * obj2 = 0 ;
44127b65
RD
34872 char *kwnames[] = {
34873 (char *) "self",(char *) "w",(char *) "h", NULL
34874 };
34875
8edf1c75 34876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextShape_base_OnEndSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
34877 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextShape, SWIG_POINTER_EXCEPTION | 0);
34878 if (SWIG_arg_fail(1)) SWIG_fail;
34879 {
34880 arg2 = (double)(SWIG_As_double(obj1));
34881 if (SWIG_arg_fail(2)) SWIG_fail;
34882 }
34883 {
34884 arg3 = (double)(SWIG_As_double(obj2));
34885 if (SWIG_arg_fail(3)) SWIG_fail;
34886 }
44127b65
RD
34887 {
34888 PyThreadState* __tstate = wxPyBeginAllowThreads();
34889 (arg1)->base_OnEndSize(arg2,arg3);
34890
34891 wxPyEndAllowThreads(__tstate);
34892 if (PyErr_Occurred()) SWIG_fail;
34893 }
34894 Py_INCREF(Py_None); resultobj = Py_None;
34895 return resultobj;
34896 fail:
34897 return NULL;
34898}
34899
34900
c370783e 34901static PyObject * PyTextShape_swigregister(PyObject *, PyObject *args) {
44127b65
RD
34902 PyObject *obj;
34903 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34904 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextShape, obj);
34905 Py_INCREF(obj);
34906 return Py_BuildValue((char *)"");
34907}
c370783e 34908static PyObject *_wrap_new_Diagram(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
34909 PyObject *resultobj;
34910 wxDiagram *result;
34911 char *kwnames[] = {
34912 NULL
34913 };
34914
34915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Diagram",kwnames)) goto fail;
34916 {
34917 PyThreadState* __tstate = wxPyBeginAllowThreads();
34918 result = (wxDiagram *)new wxDiagram();
34919
34920 wxPyEndAllowThreads(__tstate);
34921 if (PyErr_Occurred()) SWIG_fail;
34922 }
34923 {
412d302d 34924 resultobj = wxPyMake_wxObject(result, 1);
44127b65
RD
34925 }
34926 return resultobj;
34927 fail:
34928 return NULL;
34929}
34930
34931
c370783e 34932static PyObject *_wrap_Diagram_AddShape(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
34933 PyObject *resultobj;
34934 wxDiagram *arg1 = (wxDiagram *) 0 ;
34935 wxPyShape *arg2 = (wxPyShape *) 0 ;
34936 wxPyShape *arg3 = (wxPyShape *) NULL ;
34937 PyObject * obj0 = 0 ;
34938 PyObject * obj1 = 0 ;
34939 PyObject * obj2 = 0 ;
34940 char *kwnames[] = {
34941 (char *) "self",(char *) "shape",(char *) "addAfter", NULL
34942 };
34943
34944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Diagram_AddShape",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
34945 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDiagram, SWIG_POINTER_EXCEPTION | 0);
34946 if (SWIG_arg_fail(1)) SWIG_fail;
34947 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
34948 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65 34949 if (obj2) {
36ed4f51
RD
34950 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
34951 if (SWIG_arg_fail(3)) SWIG_fail;
44127b65
RD
34952 }
34953 {
34954 PyThreadState* __tstate = wxPyBeginAllowThreads();
34955 (arg1)->AddShape(arg2,arg3);
34956
34957 wxPyEndAllowThreads(__tstate);
34958 if (PyErr_Occurred()) SWIG_fail;
34959 }
34960 Py_INCREF(Py_None); resultobj = Py_None;
34961 return resultobj;
34962 fail:
34963 return NULL;
34964}
34965
34966
c370783e 34967static PyObject *_wrap_Diagram_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
34968 PyObject *resultobj;
34969 wxDiagram *arg1 = (wxDiagram *) 0 ;
34970 wxDC *arg2 = 0 ;
34971 PyObject * obj0 = 0 ;
34972 PyObject * obj1 = 0 ;
34973 char *kwnames[] = {
34974 (char *) "self",(char *) "dc", NULL
34975 };
34976
34977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_Clear",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
34978 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDiagram, SWIG_POINTER_EXCEPTION | 0);
34979 if (SWIG_arg_fail(1)) SWIG_fail;
34980 {
34981 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
34982 if (SWIG_arg_fail(2)) SWIG_fail;
34983 if (arg2 == NULL) {
34984 SWIG_null_ref("wxDC");
34985 }
34986 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
34987 }
34988 {
34989 PyThreadState* __tstate = wxPyBeginAllowThreads();
34990 (arg1)->Clear(*arg2);
34991
34992 wxPyEndAllowThreads(__tstate);
34993 if (PyErr_Occurred()) SWIG_fail;
34994 }
34995 Py_INCREF(Py_None); resultobj = Py_None;
34996 return resultobj;
34997 fail:
34998 return NULL;
34999}
35000
35001
c370783e 35002static PyObject *_wrap_Diagram_DeleteAllShapes(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
35003 PyObject *resultobj;
35004 wxDiagram *arg1 = (wxDiagram *) 0 ;
35005 PyObject * obj0 = 0 ;
35006 char *kwnames[] = {
35007 (char *) "self", NULL
35008 };
35009
35010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_DeleteAllShapes",kwnames,&obj0)) goto fail;
36ed4f51
RD
35011 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDiagram, SWIG_POINTER_EXCEPTION | 0);
35012 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
35013 {
35014 PyThreadState* __tstate = wxPyBeginAllowThreads();
35015 (arg1)->DeleteAllShapes();
35016
35017 wxPyEndAllowThreads(__tstate);
35018 if (PyErr_Occurred()) SWIG_fail;
35019 }
35020 Py_INCREF(Py_None); resultobj = Py_None;
35021 return resultobj;
35022 fail:
35023 return NULL;
35024}
35025
35026
c370783e 35027static PyObject *_wrap_Diagram_DrawOutline(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
35028 PyObject *resultobj;
35029 wxDiagram *arg1 = (wxDiagram *) 0 ;
35030 wxDC *arg2 = 0 ;
35031 double arg3 ;
35032 double arg4 ;
35033 double arg5 ;
35034 double arg6 ;
35035 PyObject * obj0 = 0 ;
35036 PyObject * obj1 = 0 ;
8edf1c75
RD
35037 PyObject * obj2 = 0 ;
35038 PyObject * obj3 = 0 ;
35039 PyObject * obj4 = 0 ;
35040 PyObject * obj5 = 0 ;
44127b65
RD
35041 char *kwnames[] = {
35042 (char *) "self",(char *) "dc",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
35043 };
35044
8edf1c75 35045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:Diagram_DrawOutline",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
35046 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDiagram, SWIG_POINTER_EXCEPTION | 0);
35047 if (SWIG_arg_fail(1)) SWIG_fail;
35048 {
35049 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
35050 if (SWIG_arg_fail(2)) SWIG_fail;
35051 if (arg2 == NULL) {
35052 SWIG_null_ref("wxDC");
35053 }
35054 if (SWIG_arg_fail(2)) SWIG_fail;
35055 }
35056 {
35057 arg3 = (double)(SWIG_As_double(obj2));
35058 if (SWIG_arg_fail(3)) SWIG_fail;
35059 }
35060 {
35061 arg4 = (double)(SWIG_As_double(obj3));
35062 if (SWIG_arg_fail(4)) SWIG_fail;
35063 }
35064 {
35065 arg5 = (double)(SWIG_As_double(obj4));
35066 if (SWIG_arg_fail(5)) SWIG_fail;
35067 }
35068 {
35069 arg6 = (double)(SWIG_As_double(obj5));
35070 if (SWIG_arg_fail(6)) SWIG_fail;
35071 }
44127b65
RD
35072 {
35073 PyThreadState* __tstate = wxPyBeginAllowThreads();
35074 (arg1)->DrawOutline(*arg2,arg3,arg4,arg5,arg6);
35075
35076 wxPyEndAllowThreads(__tstate);
35077 if (PyErr_Occurred()) SWIG_fail;
35078 }
35079 Py_INCREF(Py_None); resultobj = Py_None;
35080 return resultobj;
35081 fail:
35082 return NULL;
35083}
35084
35085
c370783e 35086static PyObject *_wrap_Diagram_FindShape(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
35087 PyObject *resultobj;
35088 wxDiagram *arg1 = (wxDiagram *) 0 ;
35089 long arg2 ;
35090 wxPyShape *result;
35091 PyObject * obj0 = 0 ;
8edf1c75 35092 PyObject * obj1 = 0 ;
44127b65
RD
35093 char *kwnames[] = {
35094 (char *) "self",(char *) "id", NULL
35095 };
35096
8edf1c75 35097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_FindShape",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
35098 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDiagram, SWIG_POINTER_EXCEPTION | 0);
35099 if (SWIG_arg_fail(1)) SWIG_fail;
35100 {
35101 arg2 = (long)(SWIG_As_long(obj1));
35102 if (SWIG_arg_fail(2)) SWIG_fail;
35103 }
44127b65
RD
35104 {
35105 PyThreadState* __tstate = wxPyBeginAllowThreads();
35106 result = (wxPyShape *)(arg1)->FindShape(arg2);
35107
35108 wxPyEndAllowThreads(__tstate);
35109 if (PyErr_Occurred()) SWIG_fail;
35110 }
35111 {
412d302d 35112 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
44127b65
RD
35113 }
35114 return resultobj;
35115 fail:
35116 return NULL;
35117}
35118
35119
c370783e 35120static PyObject *_wrap_Diagram_GetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
35121 PyObject *resultobj;
35122 wxDiagram *arg1 = (wxDiagram *) 0 ;
35123 wxPyShapeCanvas *result;
35124 PyObject * obj0 = 0 ;
35125 char *kwnames[] = {
35126 (char *) "self", NULL
35127 };
35128
35129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetCanvas",kwnames,&obj0)) goto fail;
36ed4f51
RD
35130 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDiagram, SWIG_POINTER_EXCEPTION | 0);
35131 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
35132 {
35133 PyThreadState* __tstate = wxPyBeginAllowThreads();
35134 result = (wxPyShapeCanvas *)(arg1)->GetCanvas();
35135
35136 wxPyEndAllowThreads(__tstate);
35137 if (PyErr_Occurred()) SWIG_fail;
35138 }
35139 {
412d302d 35140 resultobj = wxPyMake_wxObject(result, 0);
44127b65
RD
35141 }
35142 return resultobj;
35143 fail:
35144 return NULL;
35145}
35146
35147
c370783e 35148static PyObject *_wrap_Diagram_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
35149 PyObject *resultobj;
35150 wxDiagram *arg1 = (wxDiagram *) 0 ;
35151 int result;
35152 PyObject * obj0 = 0 ;
35153 char *kwnames[] = {
35154 (char *) "self", NULL
35155 };
35156
35157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetCount",kwnames,&obj0)) goto fail;
36ed4f51
RD
35158 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDiagram, SWIG_POINTER_EXCEPTION | 0);
35159 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
35160 {
35161 PyThreadState* __tstate = wxPyBeginAllowThreads();
35162 result = (int)(arg1)->GetCount();
35163
35164 wxPyEndAllowThreads(__tstate);
35165 if (PyErr_Occurred()) SWIG_fail;
35166 }
36ed4f51
RD
35167 {
35168 resultobj = SWIG_From_int((int)(result));
35169 }
44127b65
RD
35170 return resultobj;
35171 fail:
35172 return NULL;
35173}
35174
35175
c370783e 35176static PyObject *_wrap_Diagram_GetGridSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
35177 PyObject *resultobj;
35178 wxDiagram *arg1 = (wxDiagram *) 0 ;
35179 double result;
35180 PyObject * obj0 = 0 ;
35181 char *kwnames[] = {
35182 (char *) "self", NULL
35183 };
35184
35185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetGridSpacing",kwnames,&obj0)) goto fail;
36ed4f51
RD
35186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDiagram, SWIG_POINTER_EXCEPTION | 0);
35187 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
35188 {
35189 PyThreadState* __tstate = wxPyBeginAllowThreads();
35190 result = (double)(arg1)->GetGridSpacing();
35191
35192 wxPyEndAllowThreads(__tstate);
35193 if (PyErr_Occurred()) SWIG_fail;
35194 }
36ed4f51
RD
35195 {
35196 resultobj = SWIG_From_double((double)(result));
35197 }
44127b65
RD
35198 return resultobj;
35199 fail:
35200 return NULL;
35201}
35202
35203
c370783e 35204static PyObject *_wrap_Diagram_GetMouseTolerance(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
35205 PyObject *resultobj;
35206 wxDiagram *arg1 = (wxDiagram *) 0 ;
35207 int result;
35208 PyObject * obj0 = 0 ;
35209 char *kwnames[] = {
35210 (char *) "self", NULL
35211 };
35212
35213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetMouseTolerance",kwnames,&obj0)) goto fail;
36ed4f51
RD
35214 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDiagram, SWIG_POINTER_EXCEPTION | 0);
35215 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
35216 {
35217 PyThreadState* __tstate = wxPyBeginAllowThreads();
35218 result = (int)(arg1)->GetMouseTolerance();
35219
35220 wxPyEndAllowThreads(__tstate);
35221 if (PyErr_Occurred()) SWIG_fail;
35222 }
36ed4f51
RD
35223 {
35224 resultobj = SWIG_From_int((int)(result));
35225 }
44127b65
RD
35226 return resultobj;
35227 fail:
35228 return NULL;
35229}
35230
35231
c370783e 35232static PyObject *_wrap_Diagram_GetShapeList(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
35233 PyObject *resultobj;
35234 wxDiagram *arg1 = (wxDiagram *) 0 ;
35235 PyObject *result;
35236 PyObject * obj0 = 0 ;
35237 char *kwnames[] = {
35238 (char *) "self", NULL
35239 };
35240
35241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetShapeList",kwnames,&obj0)) goto fail;
36ed4f51
RD
35242 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDiagram, SWIG_POINTER_EXCEPTION | 0);
35243 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
35244 {
35245 PyThreadState* __tstate = wxPyBeginAllowThreads();
35246 result = (PyObject *)wxDiagram_GetShapeList(arg1);
35247
35248 wxPyEndAllowThreads(__tstate);
35249 if (PyErr_Occurred()) SWIG_fail;
35250 }
35251 resultobj = result;
35252 return resultobj;
35253 fail:
35254 return NULL;
35255}
35256
35257
c370783e 35258static PyObject *_wrap_Diagram_GetQuickEditMode(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
35259 PyObject *resultobj;
35260 wxDiagram *arg1 = (wxDiagram *) 0 ;
35261 bool result;
35262 PyObject * obj0 = 0 ;
35263 char *kwnames[] = {
35264 (char *) "self", NULL
35265 };
35266
35267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetQuickEditMode",kwnames,&obj0)) goto fail;
36ed4f51
RD
35268 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDiagram, SWIG_POINTER_EXCEPTION | 0);
35269 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
35270 {
35271 PyThreadState* __tstate = wxPyBeginAllowThreads();
35272 result = (bool)(arg1)->GetQuickEditMode();
35273
35274 wxPyEndAllowThreads(__tstate);
35275 if (PyErr_Occurred()) SWIG_fail;
35276 }
fbc46b20
RD
35277 {
35278 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35279 }
44127b65
RD
35280 return resultobj;
35281 fail:
35282 return NULL;
35283}
35284
35285
c370783e 35286static PyObject *_wrap_Diagram_GetSnapToGrid(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
35287 PyObject *resultobj;
35288 wxDiagram *arg1 = (wxDiagram *) 0 ;
35289 bool result;
35290 PyObject * obj0 = 0 ;
35291 char *kwnames[] = {
35292 (char *) "self", NULL
35293 };
35294
35295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_GetSnapToGrid",kwnames,&obj0)) goto fail;
36ed4f51
RD
35296 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDiagram, SWIG_POINTER_EXCEPTION | 0);
35297 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
35298 {
35299 PyThreadState* __tstate = wxPyBeginAllowThreads();
35300 result = (bool)(arg1)->GetSnapToGrid();
35301
35302 wxPyEndAllowThreads(__tstate);
35303 if (PyErr_Occurred()) SWIG_fail;
35304 }
fbc46b20
RD
35305 {
35306 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35307 }
44127b65
RD
35308 return resultobj;
35309 fail:
35310 return NULL;
35311}
35312
35313
c370783e 35314static PyObject *_wrap_Diagram_InsertShape(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
35315 PyObject *resultobj;
35316 wxDiagram *arg1 = (wxDiagram *) 0 ;
35317 wxPyShape *arg2 = (wxPyShape *) 0 ;
35318 PyObject * obj0 = 0 ;
35319 PyObject * obj1 = 0 ;
35320 char *kwnames[] = {
35321 (char *) "self",(char *) "shape", NULL
35322 };
35323
35324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_InsertShape",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
35325 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDiagram, SWIG_POINTER_EXCEPTION | 0);
35326 if (SWIG_arg_fail(1)) SWIG_fail;
35327 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
35328 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
35329 {
35330 PyThreadState* __tstate = wxPyBeginAllowThreads();
35331 (arg1)->InsertShape(arg2);
35332
35333 wxPyEndAllowThreads(__tstate);
35334 if (PyErr_Occurred()) SWIG_fail;
35335 }
35336 Py_INCREF(Py_None); resultobj = Py_None;
35337 return resultobj;
35338 fail:
35339 return NULL;
35340}
35341
35342
c370783e 35343static PyObject *_wrap_Diagram_RecentreAll(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
35344 PyObject *resultobj;
35345 wxDiagram *arg1 = (wxDiagram *) 0 ;
35346 wxDC *arg2 = 0 ;
35347 PyObject * obj0 = 0 ;
35348 PyObject * obj1 = 0 ;
35349 char *kwnames[] = {
35350 (char *) "self",(char *) "dc", NULL
35351 };
35352
35353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_RecentreAll",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
35354 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDiagram, SWIG_POINTER_EXCEPTION | 0);
35355 if (SWIG_arg_fail(1)) SWIG_fail;
35356 {
35357 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
35358 if (SWIG_arg_fail(2)) SWIG_fail;
35359 if (arg2 == NULL) {
35360 SWIG_null_ref("wxDC");
35361 }
35362 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
35363 }
35364 {
35365 PyThreadState* __tstate = wxPyBeginAllowThreads();
35366 (arg1)->RecentreAll(*arg2);
35367
35368 wxPyEndAllowThreads(__tstate);
35369 if (PyErr_Occurred()) SWIG_fail;
35370 }
35371 Py_INCREF(Py_None); resultobj = Py_None;
35372 return resultobj;
35373 fail:
35374 return NULL;
35375}
35376
35377
c370783e 35378static PyObject *_wrap_Diagram_Redraw(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
35379 PyObject *resultobj;
35380 wxDiagram *arg1 = (wxDiagram *) 0 ;
35381 wxDC *arg2 = 0 ;
35382 PyObject * obj0 = 0 ;
35383 PyObject * obj1 = 0 ;
35384 char *kwnames[] = {
35385 (char *) "self",(char *) "dc", NULL
35386 };
35387
35388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_Redraw",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
35389 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDiagram, SWIG_POINTER_EXCEPTION | 0);
35390 if (SWIG_arg_fail(1)) SWIG_fail;
35391 {
35392 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
35393 if (SWIG_arg_fail(2)) SWIG_fail;
35394 if (arg2 == NULL) {
35395 SWIG_null_ref("wxDC");
35396 }
35397 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
35398 }
35399 {
35400 PyThreadState* __tstate = wxPyBeginAllowThreads();
35401 (arg1)->Redraw(*arg2);
35402
35403 wxPyEndAllowThreads(__tstate);
35404 if (PyErr_Occurred()) SWIG_fail;
35405 }
35406 Py_INCREF(Py_None); resultobj = Py_None;
35407 return resultobj;
35408 fail:
35409 return NULL;
35410}
35411
35412
c370783e 35413static PyObject *_wrap_Diagram_RemoveAllShapes(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
35414 PyObject *resultobj;
35415 wxDiagram *arg1 = (wxDiagram *) 0 ;
35416 PyObject * obj0 = 0 ;
35417 char *kwnames[] = {
35418 (char *) "self", NULL
35419 };
35420
35421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Diagram_RemoveAllShapes",kwnames,&obj0)) goto fail;
36ed4f51
RD
35422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDiagram, SWIG_POINTER_EXCEPTION | 0);
35423 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
35424 {
35425 PyThreadState* __tstate = wxPyBeginAllowThreads();
35426 (arg1)->RemoveAllShapes();
35427
35428 wxPyEndAllowThreads(__tstate);
35429 if (PyErr_Occurred()) SWIG_fail;
35430 }
35431 Py_INCREF(Py_None); resultobj = Py_None;
35432 return resultobj;
35433 fail:
35434 return NULL;
35435}
35436
35437
c370783e 35438static PyObject *_wrap_Diagram_RemoveShape(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
35439 PyObject *resultobj;
35440 wxDiagram *arg1 = (wxDiagram *) 0 ;
35441 wxPyShape *arg2 = (wxPyShape *) 0 ;
35442 PyObject * obj0 = 0 ;
35443 PyObject * obj1 = 0 ;
35444 char *kwnames[] = {
35445 (char *) "self",(char *) "shape", NULL
35446 };
35447
35448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_RemoveShape",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
35449 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDiagram, SWIG_POINTER_EXCEPTION | 0);
35450 if (SWIG_arg_fail(1)) SWIG_fail;
35451 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
35452 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
35453 {
35454 PyThreadState* __tstate = wxPyBeginAllowThreads();
35455 (arg1)->RemoveShape(arg2);
35456
35457 wxPyEndAllowThreads(__tstate);
35458 if (PyErr_Occurred()) SWIG_fail;
35459 }
35460 Py_INCREF(Py_None); resultobj = Py_None;
35461 return resultobj;
35462 fail:
35463 return NULL;
35464}
35465
35466
c370783e 35467static PyObject *_wrap_Diagram_SetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
35468 PyObject *resultobj;
35469 wxDiagram *arg1 = (wxDiagram *) 0 ;
35470 wxPyShapeCanvas *arg2 = (wxPyShapeCanvas *) 0 ;
35471 PyObject * obj0 = 0 ;
35472 PyObject * obj1 = 0 ;
35473 char *kwnames[] = {
35474 (char *) "self",(char *) "canvas", NULL
35475 };
35476
35477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
35478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDiagram, SWIG_POINTER_EXCEPTION | 0);
35479 if (SWIG_arg_fail(1)) SWIG_fail;
35480 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyShapeCanvas, SWIG_POINTER_EXCEPTION | 0);
35481 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
35482 {
35483 PyThreadState* __tstate = wxPyBeginAllowThreads();
35484 (arg1)->SetCanvas(arg2);
35485
35486 wxPyEndAllowThreads(__tstate);
35487 if (PyErr_Occurred()) SWIG_fail;
35488 }
35489 Py_INCREF(Py_None); resultobj = Py_None;
35490 return resultobj;
35491 fail:
35492 return NULL;
35493}
35494
35495
c370783e 35496static PyObject *_wrap_Diagram_SetGridSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
35497 PyObject *resultobj;
35498 wxDiagram *arg1 = (wxDiagram *) 0 ;
35499 double arg2 ;
35500 PyObject * obj0 = 0 ;
8edf1c75 35501 PyObject * obj1 = 0 ;
44127b65
RD
35502 char *kwnames[] = {
35503 (char *) "self",(char *) "spacing", NULL
35504 };
35505
8edf1c75 35506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetGridSpacing",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
35507 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDiagram, SWIG_POINTER_EXCEPTION | 0);
35508 if (SWIG_arg_fail(1)) SWIG_fail;
35509 {
35510 arg2 = (double)(SWIG_As_double(obj1));
35511 if (SWIG_arg_fail(2)) SWIG_fail;
35512 }
44127b65
RD
35513 {
35514 PyThreadState* __tstate = wxPyBeginAllowThreads();
35515 (arg1)->SetGridSpacing(arg2);
35516
35517 wxPyEndAllowThreads(__tstate);
35518 if (PyErr_Occurred()) SWIG_fail;
35519 }
35520 Py_INCREF(Py_None); resultobj = Py_None;
35521 return resultobj;
35522 fail:
35523 return NULL;
35524}
35525
35526
c370783e 35527static PyObject *_wrap_Diagram_SetMouseTolerance(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
35528 PyObject *resultobj;
35529 wxDiagram *arg1 = (wxDiagram *) 0 ;
35530 int arg2 ;
35531 PyObject * obj0 = 0 ;
8edf1c75 35532 PyObject * obj1 = 0 ;
44127b65
RD
35533 char *kwnames[] = {
35534 (char *) "self",(char *) "tolerance", NULL
35535 };
35536
8edf1c75 35537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetMouseTolerance",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
35538 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDiagram, SWIG_POINTER_EXCEPTION | 0);
35539 if (SWIG_arg_fail(1)) SWIG_fail;
35540 {
35541 arg2 = (int)(SWIG_As_int(obj1));
35542 if (SWIG_arg_fail(2)) SWIG_fail;
35543 }
44127b65
RD
35544 {
35545 PyThreadState* __tstate = wxPyBeginAllowThreads();
35546 (arg1)->SetMouseTolerance(arg2);
35547
35548 wxPyEndAllowThreads(__tstate);
35549 if (PyErr_Occurred()) SWIG_fail;
35550 }
35551 Py_INCREF(Py_None); resultobj = Py_None;
35552 return resultobj;
35553 fail:
35554 return NULL;
35555}
35556
35557
c370783e 35558static PyObject *_wrap_Diagram_SetQuickEditMode(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
35559 PyObject *resultobj;
35560 wxDiagram *arg1 = (wxDiagram *) 0 ;
35561 bool arg2 ;
35562 PyObject * obj0 = 0 ;
35563 PyObject * obj1 = 0 ;
35564 char *kwnames[] = {
35565 (char *) "self",(char *) "mode", NULL
35566 };
35567
35568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetQuickEditMode",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
35569 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDiagram, SWIG_POINTER_EXCEPTION | 0);
35570 if (SWIG_arg_fail(1)) SWIG_fail;
35571 {
35572 arg2 = (bool)(SWIG_As_bool(obj1));
35573 if (SWIG_arg_fail(2)) SWIG_fail;
35574 }
44127b65
RD
35575 {
35576 PyThreadState* __tstate = wxPyBeginAllowThreads();
35577 (arg1)->SetQuickEditMode(arg2);
35578
35579 wxPyEndAllowThreads(__tstate);
35580 if (PyErr_Occurred()) SWIG_fail;
35581 }
35582 Py_INCREF(Py_None); resultobj = Py_None;
35583 return resultobj;
35584 fail:
35585 return NULL;
35586}
35587
35588
c370783e 35589static PyObject *_wrap_Diagram_SetSnapToGrid(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
35590 PyObject *resultobj;
35591 wxDiagram *arg1 = (wxDiagram *) 0 ;
35592 bool arg2 ;
35593 PyObject * obj0 = 0 ;
35594 PyObject * obj1 = 0 ;
35595 char *kwnames[] = {
35596 (char *) "self",(char *) "snap", NULL
35597 };
35598
35599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_SetSnapToGrid",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
35600 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDiagram, SWIG_POINTER_EXCEPTION | 0);
35601 if (SWIG_arg_fail(1)) SWIG_fail;
35602 {
35603 arg2 = (bool)(SWIG_As_bool(obj1));
35604 if (SWIG_arg_fail(2)) SWIG_fail;
35605 }
44127b65
RD
35606 {
35607 PyThreadState* __tstate = wxPyBeginAllowThreads();
35608 (arg1)->SetSnapToGrid(arg2);
35609
35610 wxPyEndAllowThreads(__tstate);
35611 if (PyErr_Occurred()) SWIG_fail;
35612 }
35613 Py_INCREF(Py_None); resultobj = Py_None;
35614 return resultobj;
35615 fail:
35616 return NULL;
35617}
35618
35619
c370783e 35620static PyObject *_wrap_Diagram_ShowAll(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
35621 PyObject *resultobj;
35622 wxDiagram *arg1 = (wxDiagram *) 0 ;
35623 bool arg2 ;
35624 PyObject * obj0 = 0 ;
35625 PyObject * obj1 = 0 ;
35626 char *kwnames[] = {
35627 (char *) "self",(char *) "show", NULL
35628 };
35629
35630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Diagram_ShowAll",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
35631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDiagram, SWIG_POINTER_EXCEPTION | 0);
35632 if (SWIG_arg_fail(1)) SWIG_fail;
35633 {
35634 arg2 = (bool)(SWIG_As_bool(obj1));
35635 if (SWIG_arg_fail(2)) SWIG_fail;
35636 }
44127b65
RD
35637 {
35638 PyThreadState* __tstate = wxPyBeginAllowThreads();
35639 (arg1)->ShowAll(arg2);
35640
35641 wxPyEndAllowThreads(__tstate);
35642 if (PyErr_Occurred()) SWIG_fail;
35643 }
35644 Py_INCREF(Py_None); resultobj = Py_None;
35645 return resultobj;
35646 fail:
35647 return NULL;
35648}
35649
35650
c370783e 35651static PyObject *_wrap_Diagram_Snap(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
35652 PyObject *resultobj;
35653 wxDiagram *arg1 = (wxDiagram *) 0 ;
35654 double *arg2 = (double *) 0 ;
35655 double *arg3 = (double *) 0 ;
35656 double temp2 ;
c370783e 35657 int res2 = 0 ;
44127b65 35658 double temp3 ;
c370783e 35659 int res3 = 0 ;
44127b65
RD
35660 PyObject * obj0 = 0 ;
35661 PyObject * obj1 = 0 ;
35662 PyObject * obj2 = 0 ;
35663 char *kwnames[] = {
35664 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
35665 };
35666
35667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Diagram_Snap",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
35668 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDiagram, SWIG_POINTER_EXCEPTION | 0);
35669 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65 35670 {
c370783e
RD
35671 if (!(SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_double,0) != -1)) {
35672 temp2 = SWIG_As_double(obj1);
36ed4f51 35673 if (SWIG_arg_fail(2)) SWIG_fail;
c370783e
RD
35674 arg2 = &temp2;
35675 res2 = SWIG_NEWOBJ;
35676 }
44127b65
RD
35677 }
35678 {
c370783e
RD
35679 if (!(SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_double,0) != -1)) {
35680 temp3 = SWIG_As_double(obj2);
36ed4f51 35681 if (SWIG_arg_fail(3)) SWIG_fail;
c370783e
RD
35682 arg3 = &temp3;
35683 res3 = SWIG_NEWOBJ;
35684 }
44127b65
RD
35685 }
35686 {
35687 PyThreadState* __tstate = wxPyBeginAllowThreads();
35688 (arg1)->Snap(arg2,arg3);
35689
35690 wxPyEndAllowThreads(__tstate);
35691 if (PyErr_Occurred()) SWIG_fail;
35692 }
35693 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
35694 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
35695 SWIG_From_double((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, 0)));
35696 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
35697 SWIG_From_double((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, 0)));
44127b65
RD
35698 return resultobj;
35699 fail:
35700 return NULL;
35701}
35702
35703
c370783e 35704static PyObject * Diagram_swigregister(PyObject *, PyObject *args) {
44127b65
RD
35705 PyObject *obj;
35706 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35707 SWIG_TypeClientData(SWIGTYPE_p_wxDiagram, obj);
35708 Py_INCREF(obj);
35709 return Py_BuildValue((char *)"");
35710}
c370783e 35711static PyObject *_wrap_new_PyShapeCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
35712 PyObject *resultobj;
35713 wxWindow *arg1 = (wxWindow *) NULL ;
35714 int arg2 = (int) -1 ;
35715 wxPoint const &arg3_defvalue = wxDefaultPosition ;
35716 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
35717 wxSize const &arg4_defvalue = wxDefaultSize ;
35718 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
35719 long arg5 = (long) wxBORDER ;
35720 wxString const &arg6_defvalue = wxPyShapeCanvasNameStr ;
35721 wxString *arg6 = (wxString *) &arg6_defvalue ;
35722 wxPyShapeCanvas *result;
35723 wxPoint temp3 ;
35724 wxSize temp4 ;
b411df4a 35725 bool temp6 = false ;
44127b65 35726 PyObject * obj0 = 0 ;
8edf1c75 35727 PyObject * obj1 = 0 ;
44127b65
RD
35728 PyObject * obj2 = 0 ;
35729 PyObject * obj3 = 0 ;
8edf1c75 35730 PyObject * obj4 = 0 ;
44127b65
RD
35731 PyObject * obj5 = 0 ;
35732 char *kwnames[] = {
35733 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
35734 };
35735
8edf1c75 35736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOO:new_PyShapeCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
44127b65 35737 if (obj0) {
36ed4f51
RD
35738 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
35739 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65 35740 }
8edf1c75 35741 if (obj1) {
36ed4f51
RD
35742 {
35743 arg2 = (int)(SWIG_As_int(obj1));
35744 if (SWIG_arg_fail(2)) SWIG_fail;
35745 }
8edf1c75 35746 }
44127b65
RD
35747 if (obj2) {
35748 {
35749 arg3 = &temp3;
35750 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
35751 }
35752 }
35753 if (obj3) {
35754 {
35755 arg4 = &temp4;
35756 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
35757 }
35758 }
8edf1c75 35759 if (obj4) {
36ed4f51
RD
35760 {
35761 arg5 = (long)(SWIG_As_long(obj4));
35762 if (SWIG_arg_fail(5)) SWIG_fail;
35763 }
8edf1c75 35764 }
44127b65
RD
35765 if (obj5) {
35766 {
35767 arg6 = wxString_in_helper(obj5);
35768 if (arg6 == NULL) SWIG_fail;
b411df4a 35769 temp6 = true;
44127b65
RD
35770 }
35771 }
35772 {
0439c23b 35773 if (!wxPyCheckForApp()) SWIG_fail;
44127b65
RD
35774 PyThreadState* __tstate = wxPyBeginAllowThreads();
35775 result = (wxPyShapeCanvas *)new wxPyShapeCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
35776
35777 wxPyEndAllowThreads(__tstate);
110da5b0 35778 if (PyErr_Occurred()) SWIG_fail;
44127b65 35779 }
b0f7404b 35780 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyShapeCanvas, 1);
44127b65
RD
35781 {
35782 if (temp6)
35783 delete arg6;
35784 }
35785 return resultobj;
35786 fail:
35787 {
35788 if (temp6)
35789 delete arg6;
35790 }
35791 return NULL;
35792}
35793
35794
c370783e 35795static PyObject *_wrap_PyShapeCanvas__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
35796 PyObject *resultobj;
35797 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
35798 PyObject *arg2 = (PyObject *) 0 ;
35799 PyObject *arg3 = (PyObject *) 0 ;
35800 PyObject * obj0 = 0 ;
35801 PyObject * obj1 = 0 ;
35802 PyObject * obj2 = 0 ;
35803 char *kwnames[] = {
35804 (char *) "self",(char *) "self",(char *) "_class", NULL
35805 };
35806
35807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeCanvas__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
35808 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShapeCanvas, SWIG_POINTER_EXCEPTION | 0);
35809 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
35810 arg2 = obj1;
35811 arg3 = obj2;
35812 {
35813 PyThreadState* __tstate = wxPyBeginAllowThreads();
35814 (arg1)->_setCallbackInfo(arg2,arg3);
35815
35816 wxPyEndAllowThreads(__tstate);
35817 if (PyErr_Occurred()) SWIG_fail;
35818 }
35819 Py_INCREF(Py_None); resultobj = Py_None;
35820 return resultobj;
35821 fail:
35822 return NULL;
35823}
35824
35825
c370783e 35826static PyObject *_wrap_PyShapeCanvas_AddShape(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
35827 PyObject *resultobj;
35828 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
35829 wxPyShape *arg2 = (wxPyShape *) 0 ;
35830 wxPyShape *arg3 = (wxPyShape *) NULL ;
35831 PyObject * obj0 = 0 ;
35832 PyObject * obj1 = 0 ;
35833 PyObject * obj2 = 0 ;
35834 char *kwnames[] = {
35835 (char *) "self",(char *) "shape",(char *) "addAfter", NULL
35836 };
35837
35838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PyShapeCanvas_AddShape",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
35839 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShapeCanvas, SWIG_POINTER_EXCEPTION | 0);
35840 if (SWIG_arg_fail(1)) SWIG_fail;
35841 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
35842 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65 35843 if (obj2) {
36ed4f51
RD
35844 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
35845 if (SWIG_arg_fail(3)) SWIG_fail;
44127b65
RD
35846 }
35847 {
35848 PyThreadState* __tstate = wxPyBeginAllowThreads();
35849 (arg1)->AddShape(arg2,arg3);
35850
35851 wxPyEndAllowThreads(__tstate);
35852 if (PyErr_Occurred()) SWIG_fail;
35853 }
35854 Py_INCREF(Py_None); resultobj = Py_None;
35855 return resultobj;
35856 fail:
35857 return NULL;
35858}
35859
35860
c370783e 35861static PyObject *_wrap_PyShapeCanvas_FindShape(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
35862 PyObject *resultobj;
35863 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
35864 double arg2 ;
35865 double arg3 ;
35866 int *arg4 = (int *) 0 ;
35867 wxClassInfo *arg5 = (wxClassInfo *) NULL ;
35868 wxPyShape *arg6 = (wxPyShape *) NULL ;
35869 wxPyShape *result;
35870 int temp4 ;
c370783e 35871 int res4 = 0 ;
44127b65 35872 PyObject * obj0 = 0 ;
8edf1c75
RD
35873 PyObject * obj1 = 0 ;
35874 PyObject * obj2 = 0 ;
44127b65
RD
35875 PyObject * obj3 = 0 ;
35876 PyObject * obj4 = 0 ;
35877 char *kwnames[] = {
35878 (char *) "self",(char *) "x1",(char *) "y",(char *) "info",(char *) "notImage", NULL
35879 };
35880
c370783e 35881 arg4 = &temp4; res4 = SWIG_NEWOBJ;
8edf1c75 35882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:PyShapeCanvas_FindShape",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
35883 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShapeCanvas, SWIG_POINTER_EXCEPTION | 0);
35884 if (SWIG_arg_fail(1)) SWIG_fail;
35885 {
35886 arg2 = (double)(SWIG_As_double(obj1));
35887 if (SWIG_arg_fail(2)) SWIG_fail;
35888 }
35889 {
35890 arg3 = (double)(SWIG_As_double(obj2));
35891 if (SWIG_arg_fail(3)) SWIG_fail;
35892 }
44127b65 35893 if (obj3) {
36ed4f51
RD
35894 SWIG_Python_ConvertPtr(obj3, (void **)&arg5, SWIGTYPE_p_wxClassInfo, SWIG_POINTER_EXCEPTION | 0);
35895 if (SWIG_arg_fail(5)) SWIG_fail;
44127b65
RD
35896 }
35897 if (obj4) {
36ed4f51
RD
35898 SWIG_Python_ConvertPtr(obj4, (void **)&arg6, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
35899 if (SWIG_arg_fail(6)) SWIG_fail;
44127b65
RD
35900 }
35901 {
35902 PyThreadState* __tstate = wxPyBeginAllowThreads();
35903 result = (wxPyShape *)(arg1)->FindShape(arg2,arg3,arg4,arg5,arg6);
35904
35905 wxPyEndAllowThreads(__tstate);
35906 if (PyErr_Occurred()) SWIG_fail;
35907 }
35908 {
412d302d 35909 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
44127b65 35910 }
c370783e
RD
35911 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
35912 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
44127b65
RD
35913 return resultobj;
35914 fail:
35915 return NULL;
35916}
35917
35918
c370783e 35919static PyObject *_wrap_PyShapeCanvas_FindFirstSensitiveShape(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
35920 PyObject *resultobj;
35921 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
35922 double arg2 ;
35923 double arg3 ;
35924 int *arg4 = (int *) 0 ;
35925 int arg5 ;
35926 wxPyShape *result;
35927 int temp4 ;
c370783e 35928 int res4 = 0 ;
44127b65 35929 PyObject * obj0 = 0 ;
8edf1c75
RD
35930 PyObject * obj1 = 0 ;
35931 PyObject * obj2 = 0 ;
35932 PyObject * obj3 = 0 ;
44127b65
RD
35933 char *kwnames[] = {
35934 (char *) "self",(char *) "x1",(char *) "y",(char *) "op", NULL
35935 };
35936
c370783e 35937 arg4 = &temp4; res4 = SWIG_NEWOBJ;
8edf1c75 35938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyShapeCanvas_FindFirstSensitiveShape",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
35939 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShapeCanvas, SWIG_POINTER_EXCEPTION | 0);
35940 if (SWIG_arg_fail(1)) SWIG_fail;
35941 {
35942 arg2 = (double)(SWIG_As_double(obj1));
35943 if (SWIG_arg_fail(2)) SWIG_fail;
35944 }
35945 {
35946 arg3 = (double)(SWIG_As_double(obj2));
35947 if (SWIG_arg_fail(3)) SWIG_fail;
35948 }
35949 {
35950 arg5 = (int)(SWIG_As_int(obj3));
35951 if (SWIG_arg_fail(5)) SWIG_fail;
35952 }
44127b65
RD
35953 {
35954 PyThreadState* __tstate = wxPyBeginAllowThreads();
35955 result = (wxPyShape *)(arg1)->FindFirstSensitiveShape(arg2,arg3,arg4,arg5);
35956
35957 wxPyEndAllowThreads(__tstate);
35958 if (PyErr_Occurred()) SWIG_fail;
35959 }
35960 {
412d302d 35961 resultobj = wxPyMake_wxShapeEvtHandler(result, 0);
44127b65 35962 }
c370783e
RD
35963 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
35964 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
44127b65
RD
35965 return resultobj;
35966 fail:
35967 return NULL;
35968}
35969
35970
c370783e 35971static PyObject *_wrap_PyShapeCanvas_GetDiagram(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
35972 PyObject *resultobj;
35973 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
35974 wxDiagram *result;
35975 PyObject * obj0 = 0 ;
35976 char *kwnames[] = {
35977 (char *) "self", NULL
35978 };
35979
35980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeCanvas_GetDiagram",kwnames,&obj0)) goto fail;
36ed4f51
RD
35981 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShapeCanvas, SWIG_POINTER_EXCEPTION | 0);
35982 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
35983 {
35984 PyThreadState* __tstate = wxPyBeginAllowThreads();
35985 result = (wxDiagram *)(arg1)->GetDiagram();
35986
35987 wxPyEndAllowThreads(__tstate);
35988 if (PyErr_Occurred()) SWIG_fail;
35989 }
35990 {
412d302d 35991 resultobj = wxPyMake_wxObject(result, 0);
44127b65
RD
35992 }
35993 return resultobj;
35994 fail:
35995 return NULL;
35996}
35997
35998
c370783e 35999static PyObject *_wrap_PyShapeCanvas_GetQuickEditMode(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
36000 PyObject *resultobj;
36001 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
36002 bool result;
36003 PyObject * obj0 = 0 ;
36004 char *kwnames[] = {
36005 (char *) "self", NULL
36006 };
36007
36008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyShapeCanvas_GetQuickEditMode",kwnames,&obj0)) goto fail;
36ed4f51
RD
36009 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShapeCanvas, SWIG_POINTER_EXCEPTION | 0);
36010 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
36011 {
36012 PyThreadState* __tstate = wxPyBeginAllowThreads();
36013 result = (bool)(arg1)->GetQuickEditMode();
36014
36015 wxPyEndAllowThreads(__tstate);
36016 if (PyErr_Occurred()) SWIG_fail;
36017 }
fbc46b20
RD
36018 {
36019 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36020 }
44127b65
RD
36021 return resultobj;
36022 fail:
36023 return NULL;
36024}
36025
36026
c370783e 36027static PyObject *_wrap_PyShapeCanvas_InsertShape(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
36028 PyObject *resultobj;
36029 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
36030 wxPyShape *arg2 = (wxPyShape *) 0 ;
36031 PyObject * obj0 = 0 ;
36032 PyObject * obj1 = 0 ;
36033 char *kwnames[] = {
36034 (char *) "self",(char *) "shape", NULL
36035 };
36036
36037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeCanvas_InsertShape",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
36038 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShapeCanvas, SWIG_POINTER_EXCEPTION | 0);
36039 if (SWIG_arg_fail(1)) SWIG_fail;
36040 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
36041 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
36042 {
36043 PyThreadState* __tstate = wxPyBeginAllowThreads();
36044 (arg1)->InsertShape(arg2);
36045
36046 wxPyEndAllowThreads(__tstate);
36047 if (PyErr_Occurred()) SWIG_fail;
36048 }
36049 Py_INCREF(Py_None); resultobj = Py_None;
36050 return resultobj;
36051 fail:
36052 return NULL;
36053}
36054
36055
c370783e 36056static PyObject *_wrap_PyShapeCanvas_base_OnBeginDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
36057 PyObject *resultobj;
36058 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
36059 double arg2 ;
36060 double arg3 ;
36061 int arg4 = (int) 0 ;
36062 PyObject * obj0 = 0 ;
8edf1c75
RD
36063 PyObject * obj1 = 0 ;
36064 PyObject * obj2 = 0 ;
36065 PyObject * obj3 = 0 ;
44127b65
RD
36066 char *kwnames[] = {
36067 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
36068 };
36069
8edf1c75 36070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnBeginDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
36071 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShapeCanvas, SWIG_POINTER_EXCEPTION | 0);
36072 if (SWIG_arg_fail(1)) SWIG_fail;
36073 {
36074 arg2 = (double)(SWIG_As_double(obj1));
36075 if (SWIG_arg_fail(2)) SWIG_fail;
36076 }
36077 {
36078 arg3 = (double)(SWIG_As_double(obj2));
36079 if (SWIG_arg_fail(3)) SWIG_fail;
36080 }
8edf1c75 36081 if (obj3) {
36ed4f51
RD
36082 {
36083 arg4 = (int)(SWIG_As_int(obj3));
36084 if (SWIG_arg_fail(4)) SWIG_fail;
36085 }
8edf1c75 36086 }
44127b65
RD
36087 {
36088 PyThreadState* __tstate = wxPyBeginAllowThreads();
36089 (arg1)->base_OnBeginDragLeft(arg2,arg3,arg4);
36090
36091 wxPyEndAllowThreads(__tstate);
36092 if (PyErr_Occurred()) SWIG_fail;
36093 }
36094 Py_INCREF(Py_None); resultobj = Py_None;
36095 return resultobj;
36096 fail:
36097 return NULL;
36098}
36099
36100
c370783e 36101static PyObject *_wrap_PyShapeCanvas_base_OnBeginDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
36102 PyObject *resultobj;
36103 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
36104 double arg2 ;
36105 double arg3 ;
36106 int arg4 = (int) 0 ;
36107 PyObject * obj0 = 0 ;
8edf1c75
RD
36108 PyObject * obj1 = 0 ;
36109 PyObject * obj2 = 0 ;
36110 PyObject * obj3 = 0 ;
44127b65
RD
36111 char *kwnames[] = {
36112 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
36113 };
36114
8edf1c75 36115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnBeginDragRight",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
36116 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShapeCanvas, SWIG_POINTER_EXCEPTION | 0);
36117 if (SWIG_arg_fail(1)) SWIG_fail;
36118 {
36119 arg2 = (double)(SWIG_As_double(obj1));
36120 if (SWIG_arg_fail(2)) SWIG_fail;
36121 }
36122 {
36123 arg3 = (double)(SWIG_As_double(obj2));
36124 if (SWIG_arg_fail(3)) SWIG_fail;
36125 }
8edf1c75 36126 if (obj3) {
36ed4f51
RD
36127 {
36128 arg4 = (int)(SWIG_As_int(obj3));
36129 if (SWIG_arg_fail(4)) SWIG_fail;
36130 }
8edf1c75 36131 }
44127b65
RD
36132 {
36133 PyThreadState* __tstate = wxPyBeginAllowThreads();
36134 (arg1)->base_OnBeginDragRight(arg2,arg3,arg4);
36135
36136 wxPyEndAllowThreads(__tstate);
36137 if (PyErr_Occurred()) SWIG_fail;
36138 }
36139 Py_INCREF(Py_None); resultobj = Py_None;
36140 return resultobj;
36141 fail:
36142 return NULL;
36143}
36144
36145
c370783e 36146static PyObject *_wrap_PyShapeCanvas_base_OnEndDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
36147 PyObject *resultobj;
36148 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
36149 double arg2 ;
36150 double arg3 ;
36151 int arg4 = (int) 0 ;
36152 PyObject * obj0 = 0 ;
8edf1c75
RD
36153 PyObject * obj1 = 0 ;
36154 PyObject * obj2 = 0 ;
36155 PyObject * obj3 = 0 ;
44127b65
RD
36156 char *kwnames[] = {
36157 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
36158 };
36159
8edf1c75 36160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnEndDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
36161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShapeCanvas, SWIG_POINTER_EXCEPTION | 0);
36162 if (SWIG_arg_fail(1)) SWIG_fail;
36163 {
36164 arg2 = (double)(SWIG_As_double(obj1));
36165 if (SWIG_arg_fail(2)) SWIG_fail;
36166 }
36167 {
36168 arg3 = (double)(SWIG_As_double(obj2));
36169 if (SWIG_arg_fail(3)) SWIG_fail;
36170 }
8edf1c75 36171 if (obj3) {
36ed4f51
RD
36172 {
36173 arg4 = (int)(SWIG_As_int(obj3));
36174 if (SWIG_arg_fail(4)) SWIG_fail;
36175 }
8edf1c75 36176 }
44127b65
RD
36177 {
36178 PyThreadState* __tstate = wxPyBeginAllowThreads();
36179 (arg1)->base_OnEndDragLeft(arg2,arg3,arg4);
36180
36181 wxPyEndAllowThreads(__tstate);
36182 if (PyErr_Occurred()) SWIG_fail;
36183 }
36184 Py_INCREF(Py_None); resultobj = Py_None;
36185 return resultobj;
36186 fail:
36187 return NULL;
36188}
36189
36190
c370783e 36191static PyObject *_wrap_PyShapeCanvas_base_OnEndDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
36192 PyObject *resultobj;
36193 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
36194 double arg2 ;
36195 double arg3 ;
36196 int arg4 = (int) 0 ;
36197 PyObject * obj0 = 0 ;
8edf1c75
RD
36198 PyObject * obj1 = 0 ;
36199 PyObject * obj2 = 0 ;
36200 PyObject * obj3 = 0 ;
44127b65
RD
36201 char *kwnames[] = {
36202 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
36203 };
36204
8edf1c75 36205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnEndDragRight",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
36206 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShapeCanvas, SWIG_POINTER_EXCEPTION | 0);
36207 if (SWIG_arg_fail(1)) SWIG_fail;
36208 {
36209 arg2 = (double)(SWIG_As_double(obj1));
36210 if (SWIG_arg_fail(2)) SWIG_fail;
36211 }
36212 {
36213 arg3 = (double)(SWIG_As_double(obj2));
36214 if (SWIG_arg_fail(3)) SWIG_fail;
36215 }
8edf1c75 36216 if (obj3) {
36ed4f51
RD
36217 {
36218 arg4 = (int)(SWIG_As_int(obj3));
36219 if (SWIG_arg_fail(4)) SWIG_fail;
36220 }
8edf1c75 36221 }
44127b65
RD
36222 {
36223 PyThreadState* __tstate = wxPyBeginAllowThreads();
36224 (arg1)->base_OnEndDragRight(arg2,arg3,arg4);
36225
36226 wxPyEndAllowThreads(__tstate);
36227 if (PyErr_Occurred()) SWIG_fail;
36228 }
36229 Py_INCREF(Py_None); resultobj = Py_None;
36230 return resultobj;
36231 fail:
36232 return NULL;
36233}
36234
36235
c370783e 36236static PyObject *_wrap_PyShapeCanvas_base_OnDragLeft(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
36237 PyObject *resultobj;
36238 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
36239 bool arg2 ;
36240 double arg3 ;
36241 double arg4 ;
36242 int arg5 = (int) 0 ;
36243 PyObject * obj0 = 0 ;
36244 PyObject * obj1 = 0 ;
8edf1c75
RD
36245 PyObject * obj2 = 0 ;
36246 PyObject * obj3 = 0 ;
36247 PyObject * obj4 = 0 ;
44127b65
RD
36248 char *kwnames[] = {
36249 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys", NULL
36250 };
36251
8edf1c75 36252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:PyShapeCanvas_base_OnDragLeft",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
36253 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShapeCanvas, SWIG_POINTER_EXCEPTION | 0);
36254 if (SWIG_arg_fail(1)) SWIG_fail;
36255 {
36256 arg2 = (bool)(SWIG_As_bool(obj1));
36257 if (SWIG_arg_fail(2)) SWIG_fail;
36258 }
36259 {
36260 arg3 = (double)(SWIG_As_double(obj2));
36261 if (SWIG_arg_fail(3)) SWIG_fail;
36262 }
36263 {
36264 arg4 = (double)(SWIG_As_double(obj3));
36265 if (SWIG_arg_fail(4)) SWIG_fail;
36266 }
8edf1c75 36267 if (obj4) {
36ed4f51
RD
36268 {
36269 arg5 = (int)(SWIG_As_int(obj4));
36270 if (SWIG_arg_fail(5)) SWIG_fail;
36271 }
8edf1c75 36272 }
44127b65
RD
36273 {
36274 PyThreadState* __tstate = wxPyBeginAllowThreads();
36275 (arg1)->base_OnDragLeft(arg2,arg3,arg4,arg5);
36276
36277 wxPyEndAllowThreads(__tstate);
36278 if (PyErr_Occurred()) SWIG_fail;
36279 }
36280 Py_INCREF(Py_None); resultobj = Py_None;
36281 return resultobj;
36282 fail:
36283 return NULL;
36284}
36285
36286
c370783e 36287static PyObject *_wrap_PyShapeCanvas_base_OnDragRight(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
36288 PyObject *resultobj;
36289 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
36290 bool arg2 ;
36291 double arg3 ;
36292 double arg4 ;
36293 int arg5 = (int) 0 ;
36294 PyObject * obj0 = 0 ;
36295 PyObject * obj1 = 0 ;
8edf1c75
RD
36296 PyObject * obj2 = 0 ;
36297 PyObject * obj3 = 0 ;
36298 PyObject * obj4 = 0 ;
44127b65
RD
36299 char *kwnames[] = {
36300 (char *) "self",(char *) "draw",(char *) "x",(char *) "y",(char *) "keys", NULL
36301 };
36302
8edf1c75 36303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:PyShapeCanvas_base_OnDragRight",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
36304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShapeCanvas, SWIG_POINTER_EXCEPTION | 0);
36305 if (SWIG_arg_fail(1)) SWIG_fail;
36306 {
36307 arg2 = (bool)(SWIG_As_bool(obj1));
36308 if (SWIG_arg_fail(2)) SWIG_fail;
36309 }
36310 {
36311 arg3 = (double)(SWIG_As_double(obj2));
36312 if (SWIG_arg_fail(3)) SWIG_fail;
36313 }
36314 {
36315 arg4 = (double)(SWIG_As_double(obj3));
36316 if (SWIG_arg_fail(4)) SWIG_fail;
36317 }
8edf1c75 36318 if (obj4) {
36ed4f51
RD
36319 {
36320 arg5 = (int)(SWIG_As_int(obj4));
36321 if (SWIG_arg_fail(5)) SWIG_fail;
36322 }
8edf1c75 36323 }
44127b65
RD
36324 {
36325 PyThreadState* __tstate = wxPyBeginAllowThreads();
36326 (arg1)->base_OnDragRight(arg2,arg3,arg4,arg5);
36327
36328 wxPyEndAllowThreads(__tstate);
36329 if (PyErr_Occurred()) SWIG_fail;
36330 }
36331 Py_INCREF(Py_None); resultobj = Py_None;
36332 return resultobj;
36333 fail:
36334 return NULL;
36335}
36336
36337
c370783e 36338static PyObject *_wrap_PyShapeCanvas_base_OnLeftClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
36339 PyObject *resultobj;
36340 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
36341 double arg2 ;
36342 double arg3 ;
36343 int arg4 = (int) 0 ;
36344 PyObject * obj0 = 0 ;
8edf1c75
RD
36345 PyObject * obj1 = 0 ;
36346 PyObject * obj2 = 0 ;
36347 PyObject * obj3 = 0 ;
44127b65
RD
36348 char *kwnames[] = {
36349 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
36350 };
36351
8edf1c75 36352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnLeftClick",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
36353 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShapeCanvas, SWIG_POINTER_EXCEPTION | 0);
36354 if (SWIG_arg_fail(1)) SWIG_fail;
36355 {
36356 arg2 = (double)(SWIG_As_double(obj1));
36357 if (SWIG_arg_fail(2)) SWIG_fail;
36358 }
36359 {
36360 arg3 = (double)(SWIG_As_double(obj2));
36361 if (SWIG_arg_fail(3)) SWIG_fail;
36362 }
8edf1c75 36363 if (obj3) {
36ed4f51
RD
36364 {
36365 arg4 = (int)(SWIG_As_int(obj3));
36366 if (SWIG_arg_fail(4)) SWIG_fail;
36367 }
8edf1c75 36368 }
44127b65
RD
36369 {
36370 PyThreadState* __tstate = wxPyBeginAllowThreads();
36371 (arg1)->base_OnLeftClick(arg2,arg3,arg4);
36372
36373 wxPyEndAllowThreads(__tstate);
36374 if (PyErr_Occurred()) SWIG_fail;
36375 }
36376 Py_INCREF(Py_None); resultobj = Py_None;
36377 return resultobj;
36378 fail:
36379 return NULL;
36380}
36381
36382
c370783e 36383static PyObject *_wrap_PyShapeCanvas_base_OnRightClick(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
36384 PyObject *resultobj;
36385 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
36386 double arg2 ;
36387 double arg3 ;
36388 int arg4 = (int) 0 ;
36389 PyObject * obj0 = 0 ;
8edf1c75
RD
36390 PyObject * obj1 = 0 ;
36391 PyObject * obj2 = 0 ;
36392 PyObject * obj3 = 0 ;
44127b65
RD
36393 char *kwnames[] = {
36394 (char *) "self",(char *) "x",(char *) "y",(char *) "keys", NULL
36395 };
36396
8edf1c75 36397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyShapeCanvas_base_OnRightClick",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
36398 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShapeCanvas, SWIG_POINTER_EXCEPTION | 0);
36399 if (SWIG_arg_fail(1)) SWIG_fail;
36400 {
36401 arg2 = (double)(SWIG_As_double(obj1));
36402 if (SWIG_arg_fail(2)) SWIG_fail;
36403 }
36404 {
36405 arg3 = (double)(SWIG_As_double(obj2));
36406 if (SWIG_arg_fail(3)) SWIG_fail;
36407 }
8edf1c75 36408 if (obj3) {
36ed4f51
RD
36409 {
36410 arg4 = (int)(SWIG_As_int(obj3));
36411 if (SWIG_arg_fail(4)) SWIG_fail;
36412 }
8edf1c75 36413 }
44127b65
RD
36414 {
36415 PyThreadState* __tstate = wxPyBeginAllowThreads();
36416 (arg1)->base_OnRightClick(arg2,arg3,arg4);
36417
36418 wxPyEndAllowThreads(__tstate);
36419 if (PyErr_Occurred()) SWIG_fail;
36420 }
36421 Py_INCREF(Py_None); resultobj = Py_None;
36422 return resultobj;
36423 fail:
36424 return NULL;
36425}
36426
36427
c370783e 36428static PyObject *_wrap_PyShapeCanvas_Redraw(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
36429 PyObject *resultobj;
36430 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
36431 wxDC *arg2 = 0 ;
36432 PyObject * obj0 = 0 ;
36433 PyObject * obj1 = 0 ;
36434 char *kwnames[] = {
36435 (char *) "self",(char *) "dc", NULL
36436 };
36437
36438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeCanvas_Redraw",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
36439 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShapeCanvas, SWIG_POINTER_EXCEPTION | 0);
36440 if (SWIG_arg_fail(1)) SWIG_fail;
36441 {
36442 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
36443 if (SWIG_arg_fail(2)) SWIG_fail;
36444 if (arg2 == NULL) {
36445 SWIG_null_ref("wxDC");
36446 }
36447 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
36448 }
36449 {
36450 PyThreadState* __tstate = wxPyBeginAllowThreads();
36451 (arg1)->Redraw(*arg2);
36452
36453 wxPyEndAllowThreads(__tstate);
36454 if (PyErr_Occurred()) SWIG_fail;
36455 }
36456 Py_INCREF(Py_None); resultobj = Py_None;
36457 return resultobj;
36458 fail:
36459 return NULL;
36460}
36461
36462
c370783e 36463static PyObject *_wrap_PyShapeCanvas_RemoveShape(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
36464 PyObject *resultobj;
36465 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
36466 wxPyShape *arg2 = (wxPyShape *) 0 ;
36467 PyObject * obj0 = 0 ;
36468 PyObject * obj1 = 0 ;
36469 char *kwnames[] = {
36470 (char *) "self",(char *) "shape", NULL
36471 };
36472
36473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeCanvas_RemoveShape",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
36474 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShapeCanvas, SWIG_POINTER_EXCEPTION | 0);
36475 if (SWIG_arg_fail(1)) SWIG_fail;
36476 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyShape, SWIG_POINTER_EXCEPTION | 0);
36477 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
36478 {
36479 PyThreadState* __tstate = wxPyBeginAllowThreads();
36480 (arg1)->RemoveShape(arg2);
36481
36482 wxPyEndAllowThreads(__tstate);
36483 if (PyErr_Occurred()) SWIG_fail;
36484 }
36485 Py_INCREF(Py_None); resultobj = Py_None;
36486 return resultobj;
36487 fail:
36488 return NULL;
36489}
36490
36491
c370783e 36492static PyObject *_wrap_PyShapeCanvas_SetDiagram(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
36493 PyObject *resultobj;
36494 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
36495 wxDiagram *arg2 = (wxDiagram *) 0 ;
36496 PyObject * obj0 = 0 ;
36497 PyObject * obj1 = 0 ;
36498 char *kwnames[] = {
36499 (char *) "self",(char *) "diagram", NULL
36500 };
36501
36502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyShapeCanvas_SetDiagram",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
36503 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShapeCanvas, SWIG_POINTER_EXCEPTION | 0);
36504 if (SWIG_arg_fail(1)) SWIG_fail;
36505 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDiagram, SWIG_POINTER_EXCEPTION | 0);
36506 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
36507 {
36508 PyThreadState* __tstate = wxPyBeginAllowThreads();
36509 (arg1)->SetDiagram(arg2);
36510
36511 wxPyEndAllowThreads(__tstate);
36512 if (PyErr_Occurred()) SWIG_fail;
36513 }
36514 Py_INCREF(Py_None); resultobj = Py_None;
36515 return resultobj;
36516 fail:
36517 return NULL;
36518}
36519
36520
c370783e 36521static PyObject *_wrap_PyShapeCanvas_Snap(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
36522 PyObject *resultobj;
36523 wxPyShapeCanvas *arg1 = (wxPyShapeCanvas *) 0 ;
36524 double *arg2 = (double *) 0 ;
36525 double *arg3 = (double *) 0 ;
36526 double temp2 ;
c370783e 36527 int res2 = 0 ;
44127b65 36528 double temp3 ;
c370783e 36529 int res3 = 0 ;
44127b65
RD
36530 PyObject * obj0 = 0 ;
36531 PyObject * obj1 = 0 ;
36532 PyObject * obj2 = 0 ;
36533 char *kwnames[] = {
36534 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
36535 };
36536
36537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyShapeCanvas_Snap",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
36538 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyShapeCanvas, SWIG_POINTER_EXCEPTION | 0);
36539 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65 36540 {
c370783e
RD
36541 if (!(SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_double,0) != -1)) {
36542 temp2 = SWIG_As_double(obj1);
36ed4f51 36543 if (SWIG_arg_fail(2)) SWIG_fail;
c370783e
RD
36544 arg2 = &temp2;
36545 res2 = SWIG_NEWOBJ;
36546 }
44127b65
RD
36547 }
36548 {
c370783e
RD
36549 if (!(SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_double,0) != -1)) {
36550 temp3 = SWIG_As_double(obj2);
36ed4f51 36551 if (SWIG_arg_fail(3)) SWIG_fail;
c370783e
RD
36552 arg3 = &temp3;
36553 res3 = SWIG_NEWOBJ;
36554 }
44127b65
RD
36555 }
36556 {
36557 PyThreadState* __tstate = wxPyBeginAllowThreads();
36558 (arg1)->Snap(arg2,arg3);
36559
36560 wxPyEndAllowThreads(__tstate);
36561 if (PyErr_Occurred()) SWIG_fail;
36562 }
36563 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
36564 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
36565 SWIG_From_double((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_double, 0)));
36566 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
36567 SWIG_From_double((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, 0)));
44127b65
RD
36568 return resultobj;
36569 fail:
36570 return NULL;
36571}
36572
36573
c370783e 36574static PyObject * PyShapeCanvas_swigregister(PyObject *, PyObject *args) {
44127b65
RD
36575 PyObject *obj;
36576 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
36577 SWIG_TypeClientData(SWIGTYPE_p_wxPyShapeCanvas, obj);
36578 Py_INCREF(obj);
36579 return Py_BuildValue((char *)"");
36580}
c370783e 36581static PyObject *_wrap_OGLInitialize(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
36582 PyObject *resultobj;
36583 char *kwnames[] = {
36584 NULL
36585 };
36586
36587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":OGLInitialize",kwnames)) goto fail;
36588 {
0439c23b 36589 if (!wxPyCheckForApp()) SWIG_fail;
44127b65
RD
36590 PyThreadState* __tstate = wxPyBeginAllowThreads();
36591 wxOGLInitialize();
36592
36593 wxPyEndAllowThreads(__tstate);
110da5b0 36594 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
36595 }
36596 Py_INCREF(Py_None); resultobj = Py_None;
36597 return resultobj;
36598 fail:
36599 return NULL;
36600}
36601
36602
c370783e 36603static PyObject *_wrap_OGLCleanUp(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
36604 PyObject *resultobj;
36605 char *kwnames[] = {
36606 NULL
36607 };
36608
36609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":OGLCleanUp",kwnames)) goto fail;
36610 {
0439c23b 36611 if (!wxPyCheckForApp()) SWIG_fail;
44127b65
RD
36612 PyThreadState* __tstate = wxPyBeginAllowThreads();
36613 wxOGLCleanUp();
36614
36615 wxPyEndAllowThreads(__tstate);
110da5b0 36616 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
36617 }
36618 Py_INCREF(Py_None); resultobj = Py_None;
36619 return resultobj;
36620 fail:
36621 return NULL;
36622}
36623
36624
36625static PyMethodDef SwigMethods[] = {
36ed4f51
RD
36626 { (char *)"new_ShapeRegion", (PyCFunction) _wrap_new_ShapeRegion, METH_VARARGS | METH_KEYWORDS, NULL},
36627 { (char *)"ShapeRegion_SetText", (PyCFunction) _wrap_ShapeRegion_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
36628 { (char *)"ShapeRegion_SetFont", (PyCFunction) _wrap_ShapeRegion_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
36629 { (char *)"ShapeRegion_SetMinSize", (PyCFunction) _wrap_ShapeRegion_SetMinSize, METH_VARARGS | METH_KEYWORDS, NULL},
36630 { (char *)"ShapeRegion_SetSize", (PyCFunction) _wrap_ShapeRegion_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
36631 { (char *)"ShapeRegion_SetPosition", (PyCFunction) _wrap_ShapeRegion_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36632 { (char *)"ShapeRegion_SetProportions", (PyCFunction) _wrap_ShapeRegion_SetProportions, METH_VARARGS | METH_KEYWORDS, NULL},
36633 { (char *)"ShapeRegion_SetFormatMode", (PyCFunction) _wrap_ShapeRegion_SetFormatMode, METH_VARARGS | METH_KEYWORDS, NULL},
36634 { (char *)"ShapeRegion_SetName", (PyCFunction) _wrap_ShapeRegion_SetName, METH_VARARGS | METH_KEYWORDS, NULL},
36635 { (char *)"ShapeRegion_SetColour", (PyCFunction) _wrap_ShapeRegion_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
36636 { (char *)"ShapeRegion_GetText", (PyCFunction) _wrap_ShapeRegion_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
36637 { (char *)"ShapeRegion_GetFont", (PyCFunction) _wrap_ShapeRegion_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
36638 { (char *)"ShapeRegion_GetMinSize", (PyCFunction) _wrap_ShapeRegion_GetMinSize, METH_VARARGS | METH_KEYWORDS, NULL},
36639 { (char *)"ShapeRegion_GetProportion", (PyCFunction) _wrap_ShapeRegion_GetProportion, METH_VARARGS | METH_KEYWORDS, NULL},
36640 { (char *)"ShapeRegion_GetSize", (PyCFunction) _wrap_ShapeRegion_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
36641 { (char *)"ShapeRegion_GetPosition", (PyCFunction) _wrap_ShapeRegion_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36642 { (char *)"ShapeRegion_GetFormatMode", (PyCFunction) _wrap_ShapeRegion_GetFormatMode, METH_VARARGS | METH_KEYWORDS, NULL},
36643 { (char *)"ShapeRegion_GetName", (PyCFunction) _wrap_ShapeRegion_GetName, METH_VARARGS | METH_KEYWORDS, NULL},
36644 { (char *)"ShapeRegion_GetColour", (PyCFunction) _wrap_ShapeRegion_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
36645 { (char *)"ShapeRegion_GetActualColourObject", (PyCFunction) _wrap_ShapeRegion_GetActualColourObject, METH_VARARGS | METH_KEYWORDS, NULL},
36646 { (char *)"ShapeRegion_GetFormattedText", (PyCFunction) _wrap_ShapeRegion_GetFormattedText, METH_VARARGS | METH_KEYWORDS, NULL},
36647 { (char *)"ShapeRegion_GetPenColour", (PyCFunction) _wrap_ShapeRegion_GetPenColour, METH_VARARGS | METH_KEYWORDS, NULL},
36648 { (char *)"ShapeRegion_GetPenStyle", (PyCFunction) _wrap_ShapeRegion_GetPenStyle, METH_VARARGS | METH_KEYWORDS, NULL},
36649 { (char *)"ShapeRegion_SetPenStyle", (PyCFunction) _wrap_ShapeRegion_SetPenStyle, METH_VARARGS | METH_KEYWORDS, NULL},
36650 { (char *)"ShapeRegion_SetPenColour", (PyCFunction) _wrap_ShapeRegion_SetPenColour, METH_VARARGS | METH_KEYWORDS, NULL},
36651 { (char *)"ShapeRegion_GetActualPen", (PyCFunction) _wrap_ShapeRegion_GetActualPen, METH_VARARGS | METH_KEYWORDS, NULL},
36652 { (char *)"ShapeRegion_GetWidth", (PyCFunction) _wrap_ShapeRegion_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
36653 { (char *)"ShapeRegion_GetHeight", (PyCFunction) _wrap_ShapeRegion_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL},
36654 { (char *)"ShapeRegion_ClearText", (PyCFunction) _wrap_ShapeRegion_ClearText, METH_VARARGS | METH_KEYWORDS, NULL},
36655 { (char *)"ShapeRegion_swigregister", ShapeRegion_swigregister, METH_VARARGS, NULL},
36656 { (char *)"new_AttachmentPoint", (PyCFunction) _wrap_new_AttachmentPoint, METH_VARARGS | METH_KEYWORDS, NULL},
36657 { (char *)"AttachmentPoint_m_id_set", (PyCFunction) _wrap_AttachmentPoint_m_id_set, METH_VARARGS | METH_KEYWORDS, NULL},
36658 { (char *)"AttachmentPoint_m_id_get", (PyCFunction) _wrap_AttachmentPoint_m_id_get, METH_VARARGS | METH_KEYWORDS, NULL},
36659 { (char *)"AttachmentPoint_m_x_set", (PyCFunction) _wrap_AttachmentPoint_m_x_set, METH_VARARGS | METH_KEYWORDS, NULL},
36660 { (char *)"AttachmentPoint_m_x_get", (PyCFunction) _wrap_AttachmentPoint_m_x_get, METH_VARARGS | METH_KEYWORDS, NULL},
36661 { (char *)"AttachmentPoint_m_y_set", (PyCFunction) _wrap_AttachmentPoint_m_y_set, METH_VARARGS | METH_KEYWORDS, NULL},
36662 { (char *)"AttachmentPoint_m_y_get", (PyCFunction) _wrap_AttachmentPoint_m_y_get, METH_VARARGS | METH_KEYWORDS, NULL},
36663 { (char *)"AttachmentPoint_swigregister", AttachmentPoint_swigregister, METH_VARARGS, NULL},
36664 { (char *)"new_PyShapeEvtHandler", (PyCFunction) _wrap_new_PyShapeEvtHandler, METH_VARARGS | METH_KEYWORDS, NULL},
36665 { (char *)"PyShapeEvtHandler__setCallbackInfo", (PyCFunction) _wrap_PyShapeEvtHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
36666 { (char *)"PyShapeEvtHandler__setOORInfo", (PyCFunction) _wrap_PyShapeEvtHandler__setOORInfo, METH_VARARGS | METH_KEYWORDS, NULL},
36667 { (char *)"PyShapeEvtHandler_SetShape", (PyCFunction) _wrap_PyShapeEvtHandler_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
36668 { (char *)"PyShapeEvtHandler_GetShape", (PyCFunction) _wrap_PyShapeEvtHandler_GetShape, METH_VARARGS | METH_KEYWORDS, NULL},
36669 { (char *)"PyShapeEvtHandler_SetPreviousHandler", (PyCFunction) _wrap_PyShapeEvtHandler_SetPreviousHandler, METH_VARARGS | METH_KEYWORDS, NULL},
36670 { (char *)"PyShapeEvtHandler_GetPreviousHandler", (PyCFunction) _wrap_PyShapeEvtHandler_GetPreviousHandler, METH_VARARGS | METH_KEYWORDS, NULL},
36671 { (char *)"PyShapeEvtHandler_CreateNewCopy", (PyCFunction) _wrap_PyShapeEvtHandler_CreateNewCopy, METH_VARARGS | METH_KEYWORDS, NULL},
36672 { (char *)"PyShapeEvtHandler_base_OnDelete", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDelete, METH_VARARGS | METH_KEYWORDS, NULL},
36673 { (char *)"PyShapeEvtHandler_base_OnDraw", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDraw, METH_VARARGS | METH_KEYWORDS, NULL},
36674 { (char *)"PyShapeEvtHandler_base_OnDrawContents", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS, NULL},
36675 { (char *)"PyShapeEvtHandler_base_OnDrawBranches", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS, NULL},
36676 { (char *)"PyShapeEvtHandler_base_OnMoveLinks", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS, NULL},
36677 { (char *)"PyShapeEvtHandler_base_OnErase", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnErase, METH_VARARGS | METH_KEYWORDS, NULL},
36678 { (char *)"PyShapeEvtHandler_base_OnEraseContents", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS, NULL},
36679 { (char *)"PyShapeEvtHandler_base_OnHighlight", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
36680 { (char *)"PyShapeEvtHandler_base_OnLeftClick", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS, NULL},
36681 { (char *)"PyShapeEvtHandler_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS, NULL},
36682 { (char *)"PyShapeEvtHandler_base_OnRightClick", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnRightClick, METH_VARARGS | METH_KEYWORDS, NULL},
36683 { (char *)"PyShapeEvtHandler_base_OnSize", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnSize, METH_VARARGS | METH_KEYWORDS, NULL},
36684 { (char *)"PyShapeEvtHandler_base_OnMovePre", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnMovePre, METH_VARARGS | METH_KEYWORDS, NULL},
36685 { (char *)"PyShapeEvtHandler_base_OnMovePost", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnMovePost, METH_VARARGS | METH_KEYWORDS, NULL},
36686 { (char *)"PyShapeEvtHandler_base_OnDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
36687 { (char *)"PyShapeEvtHandler_base_OnBeginDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
36688 { (char *)"PyShapeEvtHandler_base_OnEndDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
36689 { (char *)"PyShapeEvtHandler_base_OnDragRight", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDragRight, METH_VARARGS | METH_KEYWORDS, NULL},
36690 { (char *)"PyShapeEvtHandler_base_OnBeginDragRight", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS, NULL},
36691 { (char *)"PyShapeEvtHandler_base_OnEndDragRight", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS, NULL},
36692 { (char *)"PyShapeEvtHandler_base_OnDrawOutline", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS, NULL},
36693 { (char *)"PyShapeEvtHandler_base_OnDrawControlPoints", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS, NULL},
36694 { (char *)"PyShapeEvtHandler_base_OnEraseControlPoints", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS, NULL},
36695 { (char *)"PyShapeEvtHandler_base_OnMoveLink", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS, NULL},
36696 { (char *)"PyShapeEvtHandler_base_OnSizingDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
36697 { (char *)"PyShapeEvtHandler_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
36698 { (char *)"PyShapeEvtHandler_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
36699 { (char *)"PyShapeEvtHandler_base_OnBeginSize", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS, NULL},
36700 { (char *)"PyShapeEvtHandler_base_OnEndSize", (PyCFunction) _wrap_PyShapeEvtHandler_base_OnEndSize, METH_VARARGS | METH_KEYWORDS, NULL},
36701 { (char *)"PyShapeEvtHandler_swigregister", PyShapeEvtHandler_swigregister, METH_VARARGS, NULL},
36702 { (char *)"new_PyShape", (PyCFunction) _wrap_new_PyShape, METH_VARARGS | METH_KEYWORDS, NULL},
36703 { (char *)"PyShape__setCallbackInfo", (PyCFunction) _wrap_PyShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
36704 { (char *)"PyShape_GetBoundingBoxMax", (PyCFunction) _wrap_PyShape_GetBoundingBoxMax, METH_VARARGS | METH_KEYWORDS, NULL},
36705 { (char *)"PyShape_GetBoundingBoxMin", (PyCFunction) _wrap_PyShape_GetBoundingBoxMin, METH_VARARGS | METH_KEYWORDS, NULL},
36706 { (char *)"PyShape_GetPerimeterPoint", (PyCFunction) _wrap_PyShape_GetPerimeterPoint, METH_VARARGS | METH_KEYWORDS, NULL},
36707 { (char *)"PyShape_GetCanvas", (PyCFunction) _wrap_PyShape_GetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
36708 { (char *)"PyShape_SetCanvas", (PyCFunction) _wrap_PyShape_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
36709 { (char *)"PyShape_AddToCanvas", (PyCFunction) _wrap_PyShape_AddToCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
36710 { (char *)"PyShape_InsertInCanvas", (PyCFunction) _wrap_PyShape_InsertInCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
36711 { (char *)"PyShape_RemoveFromCanvas", (PyCFunction) _wrap_PyShape_RemoveFromCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
36712 { (char *)"PyShape_GetX", (PyCFunction) _wrap_PyShape_GetX, METH_VARARGS | METH_KEYWORDS, NULL},
36713 { (char *)"PyShape_GetY", (PyCFunction) _wrap_PyShape_GetY, METH_VARARGS | METH_KEYWORDS, NULL},
36714 { (char *)"PyShape_SetX", (PyCFunction) _wrap_PyShape_SetX, METH_VARARGS | METH_KEYWORDS, NULL},
36715 { (char *)"PyShape_SetY", (PyCFunction) _wrap_PyShape_SetY, METH_VARARGS | METH_KEYWORDS, NULL},
36716 { (char *)"PyShape_GetParent", (PyCFunction) _wrap_PyShape_GetParent, METH_VARARGS | METH_KEYWORDS, NULL},
36717 { (char *)"PyShape_SetParent", (PyCFunction) _wrap_PyShape_SetParent, METH_VARARGS | METH_KEYWORDS, NULL},
36718 { (char *)"PyShape_GetTopAncestor", (PyCFunction) _wrap_PyShape_GetTopAncestor, METH_VARARGS | METH_KEYWORDS, NULL},
36719 { (char *)"PyShape_GetChildren", (PyCFunction) _wrap_PyShape_GetChildren, METH_VARARGS | METH_KEYWORDS, NULL},
36720 { (char *)"PyShape_Unlink", (PyCFunction) _wrap_PyShape_Unlink, METH_VARARGS | METH_KEYWORDS, NULL},
36721 { (char *)"PyShape_SetDrawHandles", (PyCFunction) _wrap_PyShape_SetDrawHandles, METH_VARARGS | METH_KEYWORDS, NULL},
36722 { (char *)"PyShape_GetDrawHandles", (PyCFunction) _wrap_PyShape_GetDrawHandles, METH_VARARGS | METH_KEYWORDS, NULL},
36723 { (char *)"PyShape_MakeControlPoints", (PyCFunction) _wrap_PyShape_MakeControlPoints, METH_VARARGS | METH_KEYWORDS, NULL},
36724 { (char *)"PyShape_DeleteControlPoints", (PyCFunction) _wrap_PyShape_DeleteControlPoints, METH_VARARGS | METH_KEYWORDS, NULL},
36725 { (char *)"PyShape_ResetControlPoints", (PyCFunction) _wrap_PyShape_ResetControlPoints, METH_VARARGS | METH_KEYWORDS, NULL},
36726 { (char *)"PyShape_GetEventHandler", (PyCFunction) _wrap_PyShape_GetEventHandler, METH_VARARGS | METH_KEYWORDS, NULL},
36727 { (char *)"PyShape_SetEventHandler", (PyCFunction) _wrap_PyShape_SetEventHandler, METH_VARARGS | METH_KEYWORDS, NULL},
36728 { (char *)"PyShape_MakeMandatoryControlPoints", (PyCFunction) _wrap_PyShape_MakeMandatoryControlPoints, METH_VARARGS | METH_KEYWORDS, NULL},
36729 { (char *)"PyShape_ResetMandatoryControlPoints", (PyCFunction) _wrap_PyShape_ResetMandatoryControlPoints, METH_VARARGS | METH_KEYWORDS, NULL},
36730 { (char *)"PyShape_Recompute", (PyCFunction) _wrap_PyShape_Recompute, METH_VARARGS | METH_KEYWORDS, NULL},
36731 { (char *)"PyShape_CalculateSize", (PyCFunction) _wrap_PyShape_CalculateSize, METH_VARARGS | METH_KEYWORDS, NULL},
36732 { (char *)"PyShape_Select", (PyCFunction) _wrap_PyShape_Select, METH_VARARGS | METH_KEYWORDS, NULL},
36733 { (char *)"PyShape_SetHighlight", (PyCFunction) _wrap_PyShape_SetHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
36734 { (char *)"PyShape_IsHighlighted", (PyCFunction) _wrap_PyShape_IsHighlighted, METH_VARARGS | METH_KEYWORDS, NULL},
36735 { (char *)"PyShape_Selected", (PyCFunction) _wrap_PyShape_Selected, METH_VARARGS | METH_KEYWORDS, NULL},
36736 { (char *)"PyShape_AncestorSelected", (PyCFunction) _wrap_PyShape_AncestorSelected, METH_VARARGS | METH_KEYWORDS, NULL},
36737 { (char *)"PyShape_SetSensitivityFilter", (PyCFunction) _wrap_PyShape_SetSensitivityFilter, METH_VARARGS | METH_KEYWORDS, NULL},
36738 { (char *)"PyShape_GetSensitivityFilter", (PyCFunction) _wrap_PyShape_GetSensitivityFilter, METH_VARARGS | METH_KEYWORDS, NULL},
36739 { (char *)"PyShape_SetDraggable", (PyCFunction) _wrap_PyShape_SetDraggable, METH_VARARGS | METH_KEYWORDS, NULL},
36740 { (char *)"PyShape_SetFixedSize", (PyCFunction) _wrap_PyShape_SetFixedSize, METH_VARARGS | METH_KEYWORDS, NULL},
36741 { (char *)"PyShape_GetFixedSize", (PyCFunction) _wrap_PyShape_GetFixedSize, METH_VARARGS | METH_KEYWORDS, NULL},
36742 { (char *)"PyShape_GetFixedWidth", (PyCFunction) _wrap_PyShape_GetFixedWidth, METH_VARARGS | METH_KEYWORDS, NULL},
36743 { (char *)"PyShape_GetFixedHeight", (PyCFunction) _wrap_PyShape_GetFixedHeight, METH_VARARGS | METH_KEYWORDS, NULL},
36744 { (char *)"PyShape_SetSpaceAttachments", (PyCFunction) _wrap_PyShape_SetSpaceAttachments, METH_VARARGS | METH_KEYWORDS, NULL},
36745 { (char *)"PyShape_GetSpaceAttachments", (PyCFunction) _wrap_PyShape_GetSpaceAttachments, METH_VARARGS | METH_KEYWORDS, NULL},
36746 { (char *)"PyShape_SetShadowMode", (PyCFunction) _wrap_PyShape_SetShadowMode, METH_VARARGS | METH_KEYWORDS, NULL},
36747 { (char *)"PyShape_GetShadowMode", (PyCFunction) _wrap_PyShape_GetShadowMode, METH_VARARGS | METH_KEYWORDS, NULL},
36748 { (char *)"PyShape_HitTest", (PyCFunction) _wrap_PyShape_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
36749 { (char *)"PyShape_SetCentreResize", (PyCFunction) _wrap_PyShape_SetCentreResize, METH_VARARGS | METH_KEYWORDS, NULL},
36750 { (char *)"PyShape_GetCentreResize", (PyCFunction) _wrap_PyShape_GetCentreResize, METH_VARARGS | METH_KEYWORDS, NULL},
36751 { (char *)"PyShape_SetMaintainAspectRatio", (PyCFunction) _wrap_PyShape_SetMaintainAspectRatio, METH_VARARGS | METH_KEYWORDS, NULL},
36752 { (char *)"PyShape_GetMaintainAspectRatio", (PyCFunction) _wrap_PyShape_GetMaintainAspectRatio, METH_VARARGS | METH_KEYWORDS, NULL},
36753 { (char *)"PyShape_GetLines", (PyCFunction) _wrap_PyShape_GetLines, METH_VARARGS | METH_KEYWORDS, NULL},
36754 { (char *)"PyShape_SetDisableLabel", (PyCFunction) _wrap_PyShape_SetDisableLabel, METH_VARARGS | METH_KEYWORDS, NULL},
36755 { (char *)"PyShape_GetDisableLabel", (PyCFunction) _wrap_PyShape_GetDisableLabel, METH_VARARGS | METH_KEYWORDS, NULL},
36756 { (char *)"PyShape_SetAttachmentMode", (PyCFunction) _wrap_PyShape_SetAttachmentMode, METH_VARARGS | METH_KEYWORDS, NULL},
36757 { (char *)"PyShape_GetAttachmentMode", (PyCFunction) _wrap_PyShape_GetAttachmentMode, METH_VARARGS | METH_KEYWORDS, NULL},
36758 { (char *)"PyShape_SetId", (PyCFunction) _wrap_PyShape_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
36759 { (char *)"PyShape_GetId", (PyCFunction) _wrap_PyShape_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
36760 { (char *)"PyShape_SetPen", (PyCFunction) _wrap_PyShape_SetPen, METH_VARARGS | METH_KEYWORDS, NULL},
36761 { (char *)"PyShape_SetBrush", (PyCFunction) _wrap_PyShape_SetBrush, METH_VARARGS | METH_KEYWORDS, NULL},
36762 { (char *)"PyShape_Show", (PyCFunction) _wrap_PyShape_Show, METH_VARARGS | METH_KEYWORDS, NULL},
36763 { (char *)"PyShape_IsShown", (PyCFunction) _wrap_PyShape_IsShown, METH_VARARGS | METH_KEYWORDS, NULL},
36764 { (char *)"PyShape_Move", (PyCFunction) _wrap_PyShape_Move, METH_VARARGS | METH_KEYWORDS, NULL},
36765 { (char *)"PyShape_Erase", (PyCFunction) _wrap_PyShape_Erase, METH_VARARGS | METH_KEYWORDS, NULL},
36766 { (char *)"PyShape_EraseContents", (PyCFunction) _wrap_PyShape_EraseContents, METH_VARARGS | METH_KEYWORDS, NULL},
36767 { (char *)"PyShape_Draw", (PyCFunction) _wrap_PyShape_Draw, METH_VARARGS | METH_KEYWORDS, NULL},
36768 { (char *)"PyShape_Flash", (PyCFunction) _wrap_PyShape_Flash, METH_VARARGS | METH_KEYWORDS, NULL},
36769 { (char *)"PyShape_MoveLinks", (PyCFunction) _wrap_PyShape_MoveLinks, METH_VARARGS | METH_KEYWORDS, NULL},
36770 { (char *)"PyShape_DrawContents", (PyCFunction) _wrap_PyShape_DrawContents, METH_VARARGS | METH_KEYWORDS, NULL},
36771 { (char *)"PyShape_SetSize", (PyCFunction) _wrap_PyShape_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
36772 { (char *)"PyShape_SetAttachmentSize", (PyCFunction) _wrap_PyShape_SetAttachmentSize, METH_VARARGS | METH_KEYWORDS, NULL},
36773 { (char *)"PyShape_Attach", (PyCFunction) _wrap_PyShape_Attach, METH_VARARGS | METH_KEYWORDS, NULL},
36774 { (char *)"PyShape_Detach", (PyCFunction) _wrap_PyShape_Detach, METH_VARARGS | METH_KEYWORDS, NULL},
36775 { (char *)"PyShape_Constrain", (PyCFunction) _wrap_PyShape_Constrain, METH_VARARGS | METH_KEYWORDS, NULL},
36776 { (char *)"PyShape_AddLine", (PyCFunction) _wrap_PyShape_AddLine, METH_VARARGS | METH_KEYWORDS, NULL},
36777 { (char *)"PyShape_GetLinePosition", (PyCFunction) _wrap_PyShape_GetLinePosition, METH_VARARGS | METH_KEYWORDS, NULL},
36778 { (char *)"PyShape_AddText", (PyCFunction) _wrap_PyShape_AddText, METH_VARARGS | METH_KEYWORDS, NULL},
36779 { (char *)"PyShape_GetPen", (PyCFunction) _wrap_PyShape_GetPen, METH_VARARGS | METH_KEYWORDS, NULL},
36780 { (char *)"PyShape_GetBrush", (PyCFunction) _wrap_PyShape_GetBrush, METH_VARARGS | METH_KEYWORDS, NULL},
36781 { (char *)"PyShape_SetDefaultRegionSize", (PyCFunction) _wrap_PyShape_SetDefaultRegionSize, METH_VARARGS | METH_KEYWORDS, NULL},
36782 { (char *)"PyShape_FormatText", (PyCFunction) _wrap_PyShape_FormatText, METH_VARARGS | METH_KEYWORDS, NULL},
36783 { (char *)"PyShape_SetFormatMode", (PyCFunction) _wrap_PyShape_SetFormatMode, METH_VARARGS | METH_KEYWORDS, NULL},
36784 { (char *)"PyShape_GetFormatMode", (PyCFunction) _wrap_PyShape_GetFormatMode, METH_VARARGS | METH_KEYWORDS, NULL},
36785 { (char *)"PyShape_SetFont", (PyCFunction) _wrap_PyShape_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
36786 { (char *)"PyShape_GetFont", (PyCFunction) _wrap_PyShape_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
36787 { (char *)"PyShape_SetTextColour", (PyCFunction) _wrap_PyShape_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36788 { (char *)"PyShape_GetTextColour", (PyCFunction) _wrap_PyShape_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36789 { (char *)"PyShape_GetNumberOfTextRegions", (PyCFunction) _wrap_PyShape_GetNumberOfTextRegions, METH_VARARGS | METH_KEYWORDS, NULL},
36790 { (char *)"PyShape_SetRegionName", (PyCFunction) _wrap_PyShape_SetRegionName, METH_VARARGS | METH_KEYWORDS, NULL},
36791 { (char *)"PyShape_GetRegionName", (PyCFunction) _wrap_PyShape_GetRegionName, METH_VARARGS | METH_KEYWORDS, NULL},
36792 { (char *)"PyShape_GetRegionId", (PyCFunction) _wrap_PyShape_GetRegionId, METH_VARARGS | METH_KEYWORDS, NULL},
36793 { (char *)"PyShape_NameRegions", (PyCFunction) _wrap_PyShape_NameRegions, METH_VARARGS | METH_KEYWORDS, NULL},
36794 { (char *)"PyShape_GetRegions", (PyCFunction) _wrap_PyShape_GetRegions, METH_VARARGS | METH_KEYWORDS, NULL},
36795 { (char *)"PyShape_AddRegion", (PyCFunction) _wrap_PyShape_AddRegion, METH_VARARGS | METH_KEYWORDS, NULL},
36796 { (char *)"PyShape_ClearRegions", (PyCFunction) _wrap_PyShape_ClearRegions, METH_VARARGS | METH_KEYWORDS, NULL},
36797 { (char *)"PyShape_AssignNewIds", (PyCFunction) _wrap_PyShape_AssignNewIds, METH_VARARGS | METH_KEYWORDS, NULL},
36798 { (char *)"PyShape_FindRegion", (PyCFunction) _wrap_PyShape_FindRegion, METH_VARARGS | METH_KEYWORDS, NULL},
36799 { (char *)"PyShape_FindRegionNames", (PyCFunction) _wrap_PyShape_FindRegionNames, METH_VARARGS | METH_KEYWORDS, NULL},
36800 { (char *)"PyShape_ClearText", (PyCFunction) _wrap_PyShape_ClearText, METH_VARARGS | METH_KEYWORDS, NULL},
36801 { (char *)"PyShape_RemoveLine", (PyCFunction) _wrap_PyShape_RemoveLine, METH_VARARGS | METH_KEYWORDS, NULL},
36802 { (char *)"PyShape_GetAttachmentPosition", (PyCFunction) _wrap_PyShape_GetAttachmentPosition, METH_VARARGS | METH_KEYWORDS, NULL},
36803 { (char *)"PyShape_GetNumberOfAttachments", (PyCFunction) _wrap_PyShape_GetNumberOfAttachments, METH_VARARGS | METH_KEYWORDS, NULL},
36804 { (char *)"PyShape_AttachmentIsValid", (PyCFunction) _wrap_PyShape_AttachmentIsValid, METH_VARARGS | METH_KEYWORDS, NULL},
36805 { (char *)"PyShape_GetAttachments", (PyCFunction) _wrap_PyShape_GetAttachments, METH_VARARGS | METH_KEYWORDS, NULL},
36806 { (char *)"PyShape_GetAttachmentPositionEdge", (PyCFunction) _wrap_PyShape_GetAttachmentPositionEdge, METH_VARARGS | METH_KEYWORDS, NULL},
36807 { (char *)"PyShape_CalcSimpleAttachment", (PyCFunction) _wrap_PyShape_CalcSimpleAttachment, METH_VARARGS | METH_KEYWORDS, NULL},
36808 { (char *)"PyShape_AttachmentSortTest", (PyCFunction) _wrap_PyShape_AttachmentSortTest, METH_VARARGS | METH_KEYWORDS, NULL},
36809 { (char *)"PyShape_EraseLinks", (PyCFunction) _wrap_PyShape_EraseLinks, METH_VARARGS | METH_KEYWORDS, NULL},
36810 { (char *)"PyShape_DrawLinks", (PyCFunction) _wrap_PyShape_DrawLinks, METH_VARARGS | METH_KEYWORDS, NULL},
36811 { (char *)"PyShape_MoveLineToNewAttachment", (PyCFunction) _wrap_PyShape_MoveLineToNewAttachment, METH_VARARGS | METH_KEYWORDS, NULL},
36812 { (char *)"PyShape_ApplyAttachmentOrdering", (PyCFunction) _wrap_PyShape_ApplyAttachmentOrdering, METH_VARARGS | METH_KEYWORDS, NULL},
36813 { (char *)"PyShape_GetBranchingAttachmentRoot", (PyCFunction) _wrap_PyShape_GetBranchingAttachmentRoot, METH_VARARGS | METH_KEYWORDS, NULL},
36814 { (char *)"PyShape_GetBranchingAttachmentInfo", (PyCFunction) _wrap_PyShape_GetBranchingAttachmentInfo, METH_VARARGS | METH_KEYWORDS, NULL},
36815 { (char *)"PyShape_GetBranchingAttachmentPoint", (PyCFunction) _wrap_PyShape_GetBranchingAttachmentPoint, METH_VARARGS | METH_KEYWORDS, NULL},
36816 { (char *)"PyShape_GetAttachmentLineCount", (PyCFunction) _wrap_PyShape_GetAttachmentLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
36817 { (char *)"PyShape_SetBranchNeckLength", (PyCFunction) _wrap_PyShape_SetBranchNeckLength, METH_VARARGS | METH_KEYWORDS, NULL},
36818 { (char *)"PyShape_GetBranchNeckLength", (PyCFunction) _wrap_PyShape_GetBranchNeckLength, METH_VARARGS | METH_KEYWORDS, NULL},
36819 { (char *)"PyShape_SetBranchStemLength", (PyCFunction) _wrap_PyShape_SetBranchStemLength, METH_VARARGS | METH_KEYWORDS, NULL},
36820 { (char *)"PyShape_GetBranchStemLength", (PyCFunction) _wrap_PyShape_GetBranchStemLength, METH_VARARGS | METH_KEYWORDS, NULL},
36821 { (char *)"PyShape_SetBranchSpacing", (PyCFunction) _wrap_PyShape_SetBranchSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
36822 { (char *)"PyShape_GetBranchSpacing", (PyCFunction) _wrap_PyShape_GetBranchSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
36823 { (char *)"PyShape_SetBranchStyle", (PyCFunction) _wrap_PyShape_SetBranchStyle, METH_VARARGS | METH_KEYWORDS, NULL},
36824 { (char *)"PyShape_GetBranchStyle", (PyCFunction) _wrap_PyShape_GetBranchStyle, METH_VARARGS | METH_KEYWORDS, NULL},
36825 { (char *)"PyShape_PhysicalToLogicalAttachment", (PyCFunction) _wrap_PyShape_PhysicalToLogicalAttachment, METH_VARARGS | METH_KEYWORDS, NULL},
36826 { (char *)"PyShape_LogicalToPhysicalAttachment", (PyCFunction) _wrap_PyShape_LogicalToPhysicalAttachment, METH_VARARGS | METH_KEYWORDS, NULL},
36827 { (char *)"PyShape_Draggable", (PyCFunction) _wrap_PyShape_Draggable, METH_VARARGS | METH_KEYWORDS, NULL},
36828 { (char *)"PyShape_HasDescendant", (PyCFunction) _wrap_PyShape_HasDescendant, METH_VARARGS | METH_KEYWORDS, NULL},
36829 { (char *)"PyShape_CreateNewCopy", (PyCFunction) _wrap_PyShape_CreateNewCopy, METH_VARARGS | METH_KEYWORDS, NULL},
36830 { (char *)"PyShape_Copy", (PyCFunction) _wrap_PyShape_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
36831 { (char *)"PyShape_CopyWithHandler", (PyCFunction) _wrap_PyShape_CopyWithHandler, METH_VARARGS | METH_KEYWORDS, NULL},
36832 { (char *)"PyShape_Rotate", (PyCFunction) _wrap_PyShape_Rotate, METH_VARARGS | METH_KEYWORDS, NULL},
36833 { (char *)"PyShape_GetRotation", (PyCFunction) _wrap_PyShape_GetRotation, METH_VARARGS | METH_KEYWORDS, NULL},
36834 { (char *)"PyShape_SetRotation", (PyCFunction) _wrap_PyShape_SetRotation, METH_VARARGS | METH_KEYWORDS, NULL},
36835 { (char *)"PyShape_ClearAttachments", (PyCFunction) _wrap_PyShape_ClearAttachments, METH_VARARGS | METH_KEYWORDS, NULL},
36836 { (char *)"PyShape_Recentre", (PyCFunction) _wrap_PyShape_Recentre, METH_VARARGS | METH_KEYWORDS, NULL},
36837 { (char *)"PyShape_ClearPointList", (PyCFunction) _wrap_PyShape_ClearPointList, METH_VARARGS | METH_KEYWORDS, NULL},
36838 { (char *)"PyShape_GetBackgroundPen", (PyCFunction) _wrap_PyShape_GetBackgroundPen, METH_VARARGS | METH_KEYWORDS, NULL},
36839 { (char *)"PyShape_GetBackgroundBrush", (PyCFunction) _wrap_PyShape_GetBackgroundBrush, METH_VARARGS | METH_KEYWORDS, NULL},
36840 { (char *)"PyShape_base_OnDelete", (PyCFunction) _wrap_PyShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS, NULL},
36841 { (char *)"PyShape_base_OnDraw", (PyCFunction) _wrap_PyShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS, NULL},
36842 { (char *)"PyShape_base_OnDrawContents", (PyCFunction) _wrap_PyShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS, NULL},
36843 { (char *)"PyShape_base_OnDrawBranches", (PyCFunction) _wrap_PyShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS, NULL},
36844 { (char *)"PyShape_base_OnMoveLinks", (PyCFunction) _wrap_PyShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS, NULL},
36845 { (char *)"PyShape_base_OnErase", (PyCFunction) _wrap_PyShape_base_OnErase, METH_VARARGS | METH_KEYWORDS, NULL},
36846 { (char *)"PyShape_base_OnEraseContents", (PyCFunction) _wrap_PyShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS, NULL},
36847 { (char *)"PyShape_base_OnHighlight", (PyCFunction) _wrap_PyShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
36848 { (char *)"PyShape_base_OnLeftClick", (PyCFunction) _wrap_PyShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS, NULL},
36849 { (char *)"PyShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS, NULL},
36850 { (char *)"PyShape_base_OnRightClick", (PyCFunction) _wrap_PyShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS, NULL},
36851 { (char *)"PyShape_base_OnSize", (PyCFunction) _wrap_PyShape_base_OnSize, METH_VARARGS | METH_KEYWORDS, NULL},
36852 { (char *)"PyShape_base_OnMovePre", (PyCFunction) _wrap_PyShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS, NULL},
36853 { (char *)"PyShape_base_OnMovePost", (PyCFunction) _wrap_PyShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS, NULL},
36854 { (char *)"PyShape_base_OnDragLeft", (PyCFunction) _wrap_PyShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
36855 { (char *)"PyShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
36856 { (char *)"PyShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
36857 { (char *)"PyShape_base_OnDragRight", (PyCFunction) _wrap_PyShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS, NULL},
36858 { (char *)"PyShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS, NULL},
36859 { (char *)"PyShape_base_OnEndDragRight", (PyCFunction) _wrap_PyShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS, NULL},
36860 { (char *)"PyShape_base_OnDrawOutline", (PyCFunction) _wrap_PyShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS, NULL},
36861 { (char *)"PyShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS, NULL},
36862 { (char *)"PyShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS, NULL},
36863 { (char *)"PyShape_base_OnMoveLink", (PyCFunction) _wrap_PyShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS, NULL},
36864 { (char *)"PyShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
36865 { (char *)"PyShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
36866 { (char *)"PyShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
36867 { (char *)"PyShape_base_OnBeginSize", (PyCFunction) _wrap_PyShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS, NULL},
36868 { (char *)"PyShape_base_OnEndSize", (PyCFunction) _wrap_PyShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS, NULL},
36869 { (char *)"PyShape_swigregister", PyShape_swigregister, METH_VARARGS, NULL},
36870 { (char *)"new_PseudoMetaFile", (PyCFunction) _wrap_new_PseudoMetaFile, METH_VARARGS | METH_KEYWORDS, NULL},
36871 { (char *)"delete_PseudoMetaFile", (PyCFunction) _wrap_delete_PseudoMetaFile, METH_VARARGS | METH_KEYWORDS, NULL},
36872 { (char *)"PseudoMetaFile_Draw", (PyCFunction) _wrap_PseudoMetaFile_Draw, METH_VARARGS | METH_KEYWORDS, NULL},
36873 { (char *)"PseudoMetaFile_Clear", (PyCFunction) _wrap_PseudoMetaFile_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
36874 { (char *)"PseudoMetaFile_Copy", (PyCFunction) _wrap_PseudoMetaFile_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
36875 { (char *)"PseudoMetaFile_Scale", (PyCFunction) _wrap_PseudoMetaFile_Scale, METH_VARARGS | METH_KEYWORDS, NULL},
36876 { (char *)"PseudoMetaFile_ScaleTo", (PyCFunction) _wrap_PseudoMetaFile_ScaleTo, METH_VARARGS | METH_KEYWORDS, NULL},
36877 { (char *)"PseudoMetaFile_Translate", (PyCFunction) _wrap_PseudoMetaFile_Translate, METH_VARARGS | METH_KEYWORDS, NULL},
36878 { (char *)"PseudoMetaFile_Rotate", (PyCFunction) _wrap_PseudoMetaFile_Rotate, METH_VARARGS | METH_KEYWORDS, NULL},
36879 { (char *)"PseudoMetaFile_LoadFromMetaFile", (PyCFunction) _wrap_PseudoMetaFile_LoadFromMetaFile, METH_VARARGS | METH_KEYWORDS, NULL},
36880 { (char *)"PseudoMetaFile_GetBounds", (PyCFunction) _wrap_PseudoMetaFile_GetBounds, METH_VARARGS | METH_KEYWORDS, NULL},
36881 { (char *)"PseudoMetaFile_CalculateSize", (PyCFunction) _wrap_PseudoMetaFile_CalculateSize, METH_VARARGS | METH_KEYWORDS, NULL},
36882 { (char *)"PseudoMetaFile_SetRotateable", (PyCFunction) _wrap_PseudoMetaFile_SetRotateable, METH_VARARGS | METH_KEYWORDS, NULL},
36883 { (char *)"PseudoMetaFile_GetRotateable", (PyCFunction) _wrap_PseudoMetaFile_GetRotateable, METH_VARARGS | METH_KEYWORDS, NULL},
36884 { (char *)"PseudoMetaFile_SetSize", (PyCFunction) _wrap_PseudoMetaFile_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
36885 { (char *)"PseudoMetaFile_SetFillBrush", (PyCFunction) _wrap_PseudoMetaFile_SetFillBrush, METH_VARARGS | METH_KEYWORDS, NULL},
36886 { (char *)"PseudoMetaFile_GetFillBrush", (PyCFunction) _wrap_PseudoMetaFile_GetFillBrush, METH_VARARGS | METH_KEYWORDS, NULL},
36887 { (char *)"PseudoMetaFile_SetOutlinePen", (PyCFunction) _wrap_PseudoMetaFile_SetOutlinePen, METH_VARARGS | METH_KEYWORDS, NULL},
36888 { (char *)"PseudoMetaFile_GetOutlinePen", (PyCFunction) _wrap_PseudoMetaFile_GetOutlinePen, METH_VARARGS | METH_KEYWORDS, NULL},
36889 { (char *)"PseudoMetaFile_SetOutlineOp", (PyCFunction) _wrap_PseudoMetaFile_SetOutlineOp, METH_VARARGS | METH_KEYWORDS, NULL},
36890 { (char *)"PseudoMetaFile_GetOutlineOp", (PyCFunction) _wrap_PseudoMetaFile_GetOutlineOp, METH_VARARGS | METH_KEYWORDS, NULL},
36891 { (char *)"PseudoMetaFile_IsValid", (PyCFunction) _wrap_PseudoMetaFile_IsValid, METH_VARARGS | METH_KEYWORDS, NULL},
36892 { (char *)"PseudoMetaFile_DrawLine", (PyCFunction) _wrap_PseudoMetaFile_DrawLine, METH_VARARGS | METH_KEYWORDS, NULL},
36893 { (char *)"PseudoMetaFile_DrawRectangle", (PyCFunction) _wrap_PseudoMetaFile_DrawRectangle, METH_VARARGS | METH_KEYWORDS, NULL},
36894 { (char *)"PseudoMetaFile_DrawRoundedRectangle", (PyCFunction) _wrap_PseudoMetaFile_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS, NULL},
36895 { (char *)"PseudoMetaFile_DrawArc", (PyCFunction) _wrap_PseudoMetaFile_DrawArc, METH_VARARGS | METH_KEYWORDS, NULL},
36896 { (char *)"PseudoMetaFile_DrawEllipticArc", (PyCFunction) _wrap_PseudoMetaFile_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS, NULL},
36897 { (char *)"PseudoMetaFile_DrawEllipse", (PyCFunction) _wrap_PseudoMetaFile_DrawEllipse, METH_VARARGS | METH_KEYWORDS, NULL},
36898 { (char *)"PseudoMetaFile_DrawPoint", (PyCFunction) _wrap_PseudoMetaFile_DrawPoint, METH_VARARGS | METH_KEYWORDS, NULL},
36899 { (char *)"PseudoMetaFile_DrawText", (PyCFunction) _wrap_PseudoMetaFile_DrawText, METH_VARARGS | METH_KEYWORDS, NULL},
36900 { (char *)"PseudoMetaFile_DrawLines", (PyCFunction) _wrap_PseudoMetaFile_DrawLines, METH_VARARGS | METH_KEYWORDS, NULL},
36901 { (char *)"PseudoMetaFile_DrawPolygon", (PyCFunction) _wrap_PseudoMetaFile_DrawPolygon, METH_VARARGS | METH_KEYWORDS, NULL},
36902 { (char *)"PseudoMetaFile_DrawSpline", (PyCFunction) _wrap_PseudoMetaFile_DrawSpline, METH_VARARGS | METH_KEYWORDS, NULL},
36903 { (char *)"PseudoMetaFile_SetClippingRect", (PyCFunction) _wrap_PseudoMetaFile_SetClippingRect, METH_VARARGS | METH_KEYWORDS, NULL},
36904 { (char *)"PseudoMetaFile_DestroyClippingRect", (PyCFunction) _wrap_PseudoMetaFile_DestroyClippingRect, METH_VARARGS | METH_KEYWORDS, NULL},
36905 { (char *)"PseudoMetaFile_SetPen", (PyCFunction) _wrap_PseudoMetaFile_SetPen, METH_VARARGS | METH_KEYWORDS, NULL},
36906 { (char *)"PseudoMetaFile_SetBrush", (PyCFunction) _wrap_PseudoMetaFile_SetBrush, METH_VARARGS | METH_KEYWORDS, NULL},
36907 { (char *)"PseudoMetaFile_SetFont", (PyCFunction) _wrap_PseudoMetaFile_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
36908 { (char *)"PseudoMetaFile_SetTextColour", (PyCFunction) _wrap_PseudoMetaFile_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
36909 { (char *)"PseudoMetaFile_SetBackgroundColour", (PyCFunction) _wrap_PseudoMetaFile_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36910 { (char *)"PseudoMetaFile_SetBackgroundMode", (PyCFunction) _wrap_PseudoMetaFile_SetBackgroundMode, METH_VARARGS | METH_KEYWORDS, NULL},
36911 { (char *)"PseudoMetaFile_swigregister", PseudoMetaFile_swigregister, METH_VARARGS, NULL},
36912 { (char *)"new_PyRectangleShape", (PyCFunction) _wrap_new_PyRectangleShape, METH_VARARGS | METH_KEYWORDS, NULL},
36913 { (char *)"PyRectangleShape__setCallbackInfo", (PyCFunction) _wrap_PyRectangleShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
36914 { (char *)"PyRectangleShape_SetCornerRadius", (PyCFunction) _wrap_PyRectangleShape_SetCornerRadius, METH_VARARGS | METH_KEYWORDS, NULL},
36915 { (char *)"PyRectangleShape_GetCornerRadius", (PyCFunction) _wrap_PyRectangleShape_GetCornerRadius, METH_VARARGS | METH_KEYWORDS, NULL},
36916 { (char *)"PyRectangleShape_base_OnDelete", (PyCFunction) _wrap_PyRectangleShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS, NULL},
36917 { (char *)"PyRectangleShape_base_OnDraw", (PyCFunction) _wrap_PyRectangleShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS, NULL},
36918 { (char *)"PyRectangleShape_base_OnDrawContents", (PyCFunction) _wrap_PyRectangleShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS, NULL},
36919 { (char *)"PyRectangleShape_base_OnDrawBranches", (PyCFunction) _wrap_PyRectangleShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS, NULL},
36920 { (char *)"PyRectangleShape_base_OnMoveLinks", (PyCFunction) _wrap_PyRectangleShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS, NULL},
36921 { (char *)"PyRectangleShape_base_OnErase", (PyCFunction) _wrap_PyRectangleShape_base_OnErase, METH_VARARGS | METH_KEYWORDS, NULL},
36922 { (char *)"PyRectangleShape_base_OnEraseContents", (PyCFunction) _wrap_PyRectangleShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS, NULL},
36923 { (char *)"PyRectangleShape_base_OnHighlight", (PyCFunction) _wrap_PyRectangleShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
36924 { (char *)"PyRectangleShape_base_OnLeftClick", (PyCFunction) _wrap_PyRectangleShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS, NULL},
36925 { (char *)"PyRectangleShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyRectangleShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS, NULL},
36926 { (char *)"PyRectangleShape_base_OnRightClick", (PyCFunction) _wrap_PyRectangleShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS, NULL},
36927 { (char *)"PyRectangleShape_base_OnSize", (PyCFunction) _wrap_PyRectangleShape_base_OnSize, METH_VARARGS | METH_KEYWORDS, NULL},
36928 { (char *)"PyRectangleShape_base_OnMovePre", (PyCFunction) _wrap_PyRectangleShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS, NULL},
36929 { (char *)"PyRectangleShape_base_OnMovePost", (PyCFunction) _wrap_PyRectangleShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS, NULL},
36930 { (char *)"PyRectangleShape_base_OnDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
36931 { (char *)"PyRectangleShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
36932 { (char *)"PyRectangleShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
36933 { (char *)"PyRectangleShape_base_OnDragRight", (PyCFunction) _wrap_PyRectangleShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS, NULL},
36934 { (char *)"PyRectangleShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyRectangleShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS, NULL},
36935 { (char *)"PyRectangleShape_base_OnEndDragRight", (PyCFunction) _wrap_PyRectangleShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS, NULL},
36936 { (char *)"PyRectangleShape_base_OnDrawOutline", (PyCFunction) _wrap_PyRectangleShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS, NULL},
36937 { (char *)"PyRectangleShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyRectangleShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS, NULL},
36938 { (char *)"PyRectangleShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyRectangleShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS, NULL},
36939 { (char *)"PyRectangleShape_base_OnMoveLink", (PyCFunction) _wrap_PyRectangleShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS, NULL},
36940 { (char *)"PyRectangleShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
36941 { (char *)"PyRectangleShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
36942 { (char *)"PyRectangleShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyRectangleShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
36943 { (char *)"PyRectangleShape_base_OnBeginSize", (PyCFunction) _wrap_PyRectangleShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS, NULL},
36944 { (char *)"PyRectangleShape_base_OnEndSize", (PyCFunction) _wrap_PyRectangleShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS, NULL},
36945 { (char *)"PyRectangleShape_swigregister", PyRectangleShape_swigregister, METH_VARARGS, NULL},
36946 { (char *)"new_PyControlPoint", (PyCFunction) _wrap_new_PyControlPoint, METH_VARARGS | METH_KEYWORDS, NULL},
36947 { (char *)"PyControlPoint__setCallbackInfo", (PyCFunction) _wrap_PyControlPoint__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
36948 { (char *)"PyControlPoint_SetCornerRadius", (PyCFunction) _wrap_PyControlPoint_SetCornerRadius, METH_VARARGS | METH_KEYWORDS, NULL},
36949 { (char *)"PyControlPoint_base_OnDelete", (PyCFunction) _wrap_PyControlPoint_base_OnDelete, METH_VARARGS | METH_KEYWORDS, NULL},
36950 { (char *)"PyControlPoint_base_OnDraw", (PyCFunction) _wrap_PyControlPoint_base_OnDraw, METH_VARARGS | METH_KEYWORDS, NULL},
36951 { (char *)"PyControlPoint_base_OnDrawContents", (PyCFunction) _wrap_PyControlPoint_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS, NULL},
36952 { (char *)"PyControlPoint_base_OnDrawBranches", (PyCFunction) _wrap_PyControlPoint_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS, NULL},
36953 { (char *)"PyControlPoint_base_OnMoveLinks", (PyCFunction) _wrap_PyControlPoint_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS, NULL},
36954 { (char *)"PyControlPoint_base_OnErase", (PyCFunction) _wrap_PyControlPoint_base_OnErase, METH_VARARGS | METH_KEYWORDS, NULL},
36955 { (char *)"PyControlPoint_base_OnEraseContents", (PyCFunction) _wrap_PyControlPoint_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS, NULL},
36956 { (char *)"PyControlPoint_base_OnHighlight", (PyCFunction) _wrap_PyControlPoint_base_OnHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
36957 { (char *)"PyControlPoint_base_OnLeftClick", (PyCFunction) _wrap_PyControlPoint_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS, NULL},
36958 { (char *)"PyControlPoint_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyControlPoint_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS, NULL},
36959 { (char *)"PyControlPoint_base_OnRightClick", (PyCFunction) _wrap_PyControlPoint_base_OnRightClick, METH_VARARGS | METH_KEYWORDS, NULL},
36960 { (char *)"PyControlPoint_base_OnSize", (PyCFunction) _wrap_PyControlPoint_base_OnSize, METH_VARARGS | METH_KEYWORDS, NULL},
36961 { (char *)"PyControlPoint_base_OnMovePre", (PyCFunction) _wrap_PyControlPoint_base_OnMovePre, METH_VARARGS | METH_KEYWORDS, NULL},
36962 { (char *)"PyControlPoint_base_OnMovePost", (PyCFunction) _wrap_PyControlPoint_base_OnMovePost, METH_VARARGS | METH_KEYWORDS, NULL},
36963 { (char *)"PyControlPoint_base_OnDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
36964 { (char *)"PyControlPoint_base_OnBeginDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
36965 { (char *)"PyControlPoint_base_OnEndDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
36966 { (char *)"PyControlPoint_base_OnDragRight", (PyCFunction) _wrap_PyControlPoint_base_OnDragRight, METH_VARARGS | METH_KEYWORDS, NULL},
36967 { (char *)"PyControlPoint_base_OnBeginDragRight", (PyCFunction) _wrap_PyControlPoint_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS, NULL},
36968 { (char *)"PyControlPoint_base_OnEndDragRight", (PyCFunction) _wrap_PyControlPoint_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS, NULL},
36969 { (char *)"PyControlPoint_base_OnDrawOutline", (PyCFunction) _wrap_PyControlPoint_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS, NULL},
36970 { (char *)"PyControlPoint_base_OnDrawControlPoints", (PyCFunction) _wrap_PyControlPoint_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS, NULL},
36971 { (char *)"PyControlPoint_base_OnEraseControlPoints", (PyCFunction) _wrap_PyControlPoint_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS, NULL},
36972 { (char *)"PyControlPoint_base_OnMoveLink", (PyCFunction) _wrap_PyControlPoint_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS, NULL},
36973 { (char *)"PyControlPoint_base_OnSizingDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
36974 { (char *)"PyControlPoint_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
36975 { (char *)"PyControlPoint_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyControlPoint_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
36976 { (char *)"PyControlPoint_base_OnBeginSize", (PyCFunction) _wrap_PyControlPoint_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS, NULL},
36977 { (char *)"PyControlPoint_base_OnEndSize", (PyCFunction) _wrap_PyControlPoint_base_OnEndSize, METH_VARARGS | METH_KEYWORDS, NULL},
36978 { (char *)"PyControlPoint_swigregister", PyControlPoint_swigregister, METH_VARARGS, NULL},
36979 { (char *)"new_PyBitmapShape", (PyCFunction) _wrap_new_PyBitmapShape, METH_VARARGS | METH_KEYWORDS, NULL},
36980 { (char *)"PyBitmapShape__setCallbackInfo", (PyCFunction) _wrap_PyBitmapShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
36981 { (char *)"PyBitmapShape_GetBitmap", (PyCFunction) _wrap_PyBitmapShape_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
36982 { (char *)"PyBitmapShape_GetFilename", (PyCFunction) _wrap_PyBitmapShape_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
36983 { (char *)"PyBitmapShape_SetBitmap", (PyCFunction) _wrap_PyBitmapShape_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
36984 { (char *)"PyBitmapShape_SetFilename", (PyCFunction) _wrap_PyBitmapShape_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
36985 { (char *)"PyBitmapShape_base_OnDelete", (PyCFunction) _wrap_PyBitmapShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS, NULL},
36986 { (char *)"PyBitmapShape_base_OnDraw", (PyCFunction) _wrap_PyBitmapShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS, NULL},
36987 { (char *)"PyBitmapShape_base_OnDrawContents", (PyCFunction) _wrap_PyBitmapShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS, NULL},
36988 { (char *)"PyBitmapShape_base_OnDrawBranches", (PyCFunction) _wrap_PyBitmapShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS, NULL},
36989 { (char *)"PyBitmapShape_base_OnMoveLinks", (PyCFunction) _wrap_PyBitmapShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS, NULL},
36990 { (char *)"PyBitmapShape_base_OnErase", (PyCFunction) _wrap_PyBitmapShape_base_OnErase, METH_VARARGS | METH_KEYWORDS, NULL},
36991 { (char *)"PyBitmapShape_base_OnEraseContents", (PyCFunction) _wrap_PyBitmapShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS, NULL},
36992 { (char *)"PyBitmapShape_base_OnHighlight", (PyCFunction) _wrap_PyBitmapShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
36993 { (char *)"PyBitmapShape_base_OnLeftClick", (PyCFunction) _wrap_PyBitmapShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS, NULL},
36994 { (char *)"PyBitmapShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyBitmapShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS, NULL},
36995 { (char *)"PyBitmapShape_base_OnRightClick", (PyCFunction) _wrap_PyBitmapShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS, NULL},
36996 { (char *)"PyBitmapShape_base_OnSize", (PyCFunction) _wrap_PyBitmapShape_base_OnSize, METH_VARARGS | METH_KEYWORDS, NULL},
36997 { (char *)"PyBitmapShape_base_OnMovePre", (PyCFunction) _wrap_PyBitmapShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS, NULL},
36998 { (char *)"PyBitmapShape_base_OnMovePost", (PyCFunction) _wrap_PyBitmapShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS, NULL},
36999 { (char *)"PyBitmapShape_base_OnDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
37000 { (char *)"PyBitmapShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
37001 { (char *)"PyBitmapShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
37002 { (char *)"PyBitmapShape_base_OnDragRight", (PyCFunction) _wrap_PyBitmapShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS, NULL},
37003 { (char *)"PyBitmapShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyBitmapShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS, NULL},
37004 { (char *)"PyBitmapShape_base_OnEndDragRight", (PyCFunction) _wrap_PyBitmapShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS, NULL},
37005 { (char *)"PyBitmapShape_base_OnDrawOutline", (PyCFunction) _wrap_PyBitmapShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS, NULL},
37006 { (char *)"PyBitmapShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyBitmapShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS, NULL},
37007 { (char *)"PyBitmapShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyBitmapShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS, NULL},
37008 { (char *)"PyBitmapShape_base_OnMoveLink", (PyCFunction) _wrap_PyBitmapShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS, NULL},
37009 { (char *)"PyBitmapShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
37010 { (char *)"PyBitmapShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
37011 { (char *)"PyBitmapShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyBitmapShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
37012 { (char *)"PyBitmapShape_base_OnBeginSize", (PyCFunction) _wrap_PyBitmapShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS, NULL},
37013 { (char *)"PyBitmapShape_base_OnEndSize", (PyCFunction) _wrap_PyBitmapShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS, NULL},
37014 { (char *)"PyBitmapShape_swigregister", PyBitmapShape_swigregister, METH_VARARGS, NULL},
37015 { (char *)"new_PyDrawnShape", (PyCFunction) _wrap_new_PyDrawnShape, METH_VARARGS | METH_KEYWORDS, NULL},
37016 { (char *)"PyDrawnShape__setCallbackInfo", (PyCFunction) _wrap_PyDrawnShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
37017 { (char *)"PyDrawnShape_CalculateSize", (PyCFunction) _wrap_PyDrawnShape_CalculateSize, METH_VARARGS | METH_KEYWORDS, NULL},
37018 { (char *)"PyDrawnShape_DestroyClippingRect", (PyCFunction) _wrap_PyDrawnShape_DestroyClippingRect, METH_VARARGS | METH_KEYWORDS, NULL},
37019 { (char *)"PyDrawnShape_DrawArc", (PyCFunction) _wrap_PyDrawnShape_DrawArc, METH_VARARGS | METH_KEYWORDS, NULL},
37020 { (char *)"PyDrawnShape_DrawAtAngle", (PyCFunction) _wrap_PyDrawnShape_DrawAtAngle, METH_VARARGS | METH_KEYWORDS, NULL},
37021 { (char *)"PyDrawnShape_DrawEllipticArc", (PyCFunction) _wrap_PyDrawnShape_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS, NULL},
37022 { (char *)"PyDrawnShape_DrawLine", (PyCFunction) _wrap_PyDrawnShape_DrawLine, METH_VARARGS | METH_KEYWORDS, NULL},
37023 { (char *)"PyDrawnShape_DrawLines", (PyCFunction) _wrap_PyDrawnShape_DrawLines, METH_VARARGS | METH_KEYWORDS, NULL},
37024 { (char *)"PyDrawnShape_DrawPoint", (PyCFunction) _wrap_PyDrawnShape_DrawPoint, METH_VARARGS | METH_KEYWORDS, NULL},
37025 { (char *)"PyDrawnShape_DrawPolygon", (PyCFunction) _wrap_PyDrawnShape_DrawPolygon, METH_VARARGS | METH_KEYWORDS, NULL},
37026 { (char *)"PyDrawnShape_DrawRectangle", (PyCFunction) _wrap_PyDrawnShape_DrawRectangle, METH_VARARGS | METH_KEYWORDS, NULL},
37027 { (char *)"PyDrawnShape_DrawRoundedRectangle", (PyCFunction) _wrap_PyDrawnShape_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS, NULL},
37028 { (char *)"PyDrawnShape_DrawSpline", (PyCFunction) _wrap_PyDrawnShape_DrawSpline, METH_VARARGS | METH_KEYWORDS, NULL},
37029 { (char *)"PyDrawnShape_DrawText", (PyCFunction) _wrap_PyDrawnShape_DrawText, METH_VARARGS | METH_KEYWORDS, NULL},
37030 { (char *)"PyDrawnShape_GetAngle", (PyCFunction) _wrap_PyDrawnShape_GetAngle, METH_VARARGS | METH_KEYWORDS, NULL},
37031 { (char *)"PyDrawnShape_GetMetaFile", (PyCFunction) _wrap_PyDrawnShape_GetMetaFile, METH_VARARGS | METH_KEYWORDS, NULL},
37032 { (char *)"PyDrawnShape_GetRotation", (PyCFunction) _wrap_PyDrawnShape_GetRotation, METH_VARARGS | METH_KEYWORDS, NULL},
37033 { (char *)"PyDrawnShape_LoadFromMetaFile", (PyCFunction) _wrap_PyDrawnShape_LoadFromMetaFile, METH_VARARGS | METH_KEYWORDS, NULL},
37034 { (char *)"PyDrawnShape_Rotate", (PyCFunction) _wrap_PyDrawnShape_Rotate, METH_VARARGS | METH_KEYWORDS, NULL},
37035 { (char *)"PyDrawnShape_SetClippingRect", (PyCFunction) _wrap_PyDrawnShape_SetClippingRect, METH_VARARGS | METH_KEYWORDS, NULL},
37036 { (char *)"PyDrawnShape_SetDrawnBackgroundColour", (PyCFunction) _wrap_PyDrawnShape_SetDrawnBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
37037 { (char *)"PyDrawnShape_SetDrawnBackgroundMode", (PyCFunction) _wrap_PyDrawnShape_SetDrawnBackgroundMode, METH_VARARGS | METH_KEYWORDS, NULL},
37038 { (char *)"PyDrawnShape_SetDrawnBrush", (PyCFunction) _wrap_PyDrawnShape_SetDrawnBrush, METH_VARARGS | METH_KEYWORDS, NULL},
37039 { (char *)"PyDrawnShape_SetDrawnFont", (PyCFunction) _wrap_PyDrawnShape_SetDrawnFont, METH_VARARGS | METH_KEYWORDS, NULL},
37040 { (char *)"PyDrawnShape_SetDrawnPen", (PyCFunction) _wrap_PyDrawnShape_SetDrawnPen, METH_VARARGS | METH_KEYWORDS, NULL},
37041 { (char *)"PyDrawnShape_SetDrawnTextColour", (PyCFunction) _wrap_PyDrawnShape_SetDrawnTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
37042 { (char *)"PyDrawnShape_Scale", (PyCFunction) _wrap_PyDrawnShape_Scale, METH_VARARGS | METH_KEYWORDS, NULL},
37043 { (char *)"PyDrawnShape_SetSaveToFile", (PyCFunction) _wrap_PyDrawnShape_SetSaveToFile, METH_VARARGS | METH_KEYWORDS, NULL},
37044 { (char *)"PyDrawnShape_Translate", (PyCFunction) _wrap_PyDrawnShape_Translate, METH_VARARGS | METH_KEYWORDS, NULL},
37045 { (char *)"PyDrawnShape_base_OnDelete", (PyCFunction) _wrap_PyDrawnShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS, NULL},
37046 { (char *)"PyDrawnShape_base_OnDraw", (PyCFunction) _wrap_PyDrawnShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS, NULL},
37047 { (char *)"PyDrawnShape_base_OnDrawContents", (PyCFunction) _wrap_PyDrawnShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS, NULL},
37048 { (char *)"PyDrawnShape_base_OnDrawBranches", (PyCFunction) _wrap_PyDrawnShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS, NULL},
37049 { (char *)"PyDrawnShape_base_OnMoveLinks", (PyCFunction) _wrap_PyDrawnShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS, NULL},
37050 { (char *)"PyDrawnShape_base_OnErase", (PyCFunction) _wrap_PyDrawnShape_base_OnErase, METH_VARARGS | METH_KEYWORDS, NULL},
37051 { (char *)"PyDrawnShape_base_OnEraseContents", (PyCFunction) _wrap_PyDrawnShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS, NULL},
37052 { (char *)"PyDrawnShape_base_OnHighlight", (PyCFunction) _wrap_PyDrawnShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
37053 { (char *)"PyDrawnShape_base_OnLeftClick", (PyCFunction) _wrap_PyDrawnShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS, NULL},
37054 { (char *)"PyDrawnShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyDrawnShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS, NULL},
37055 { (char *)"PyDrawnShape_base_OnRightClick", (PyCFunction) _wrap_PyDrawnShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS, NULL},
37056 { (char *)"PyDrawnShape_base_OnSize", (PyCFunction) _wrap_PyDrawnShape_base_OnSize, METH_VARARGS | METH_KEYWORDS, NULL},
37057 { (char *)"PyDrawnShape_base_OnMovePre", (PyCFunction) _wrap_PyDrawnShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS, NULL},
37058 { (char *)"PyDrawnShape_base_OnMovePost", (PyCFunction) _wrap_PyDrawnShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS, NULL},
37059 { (char *)"PyDrawnShape_base_OnDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
37060 { (char *)"PyDrawnShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
37061 { (char *)"PyDrawnShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
37062 { (char *)"PyDrawnShape_base_OnDragRight", (PyCFunction) _wrap_PyDrawnShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS, NULL},
37063 { (char *)"PyDrawnShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyDrawnShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS, NULL},
37064 { (char *)"PyDrawnShape_base_OnEndDragRight", (PyCFunction) _wrap_PyDrawnShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS, NULL},
37065 { (char *)"PyDrawnShape_base_OnDrawOutline", (PyCFunction) _wrap_PyDrawnShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS, NULL},
37066 { (char *)"PyDrawnShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyDrawnShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS, NULL},
37067 { (char *)"PyDrawnShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyDrawnShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS, NULL},
37068 { (char *)"PyDrawnShape_base_OnMoveLink", (PyCFunction) _wrap_PyDrawnShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS, NULL},
37069 { (char *)"PyDrawnShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
37070 { (char *)"PyDrawnShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
37071 { (char *)"PyDrawnShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyDrawnShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
37072 { (char *)"PyDrawnShape_base_OnBeginSize", (PyCFunction) _wrap_PyDrawnShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS, NULL},
37073 { (char *)"PyDrawnShape_base_OnEndSize", (PyCFunction) _wrap_PyDrawnShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS, NULL},
37074 { (char *)"PyDrawnShape_swigregister", PyDrawnShape_swigregister, METH_VARARGS, NULL},
37075 { (char *)"new_OGLConstraint", (PyCFunction) _wrap_new_OGLConstraint, METH_VARARGS | METH_KEYWORDS, NULL},
37076 { (char *)"OGLConstraint_Evaluate", (PyCFunction) _wrap_OGLConstraint_Evaluate, METH_VARARGS | METH_KEYWORDS, NULL},
37077 { (char *)"OGLConstraint_SetSpacing", (PyCFunction) _wrap_OGLConstraint_SetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
37078 { (char *)"OGLConstraint_Equals", (PyCFunction) _wrap_OGLConstraint_Equals, METH_VARARGS | METH_KEYWORDS, NULL},
37079 { (char *)"OGLConstraint_swigregister", OGLConstraint_swigregister, METH_VARARGS, NULL},
37080 { (char *)"new_PyCompositeShape", (PyCFunction) _wrap_new_PyCompositeShape, METH_VARARGS | METH_KEYWORDS, NULL},
37081 { (char *)"PyCompositeShape__setCallbackInfo", (PyCFunction) _wrap_PyCompositeShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
37082 { (char *)"PyCompositeShape_AddChild", (PyCFunction) _wrap_PyCompositeShape_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
37083 { (char *)"PyCompositeShape_AddConstraint", (PyCFunction) _wrap_PyCompositeShape_AddConstraint, METH_VARARGS | METH_KEYWORDS, NULL},
37084 { (char *)"PyCompositeShape_AddConstrainedShapes", (PyCFunction) _wrap_PyCompositeShape_AddConstrainedShapes, METH_VARARGS | METH_KEYWORDS, NULL},
37085 { (char *)"PyCompositeShape_AddSimpleConstraint", (PyCFunction) _wrap_PyCompositeShape_AddSimpleConstraint, METH_VARARGS | METH_KEYWORDS, NULL},
37086 { (char *)"PyCompositeShape_CalculateSize", (PyCFunction) _wrap_PyCompositeShape_CalculateSize, METH_VARARGS | METH_KEYWORDS, NULL},
37087 { (char *)"PyCompositeShape_ContainsDivision", (PyCFunction) _wrap_PyCompositeShape_ContainsDivision, METH_VARARGS | METH_KEYWORDS, NULL},
37088 { (char *)"PyCompositeShape_DeleteConstraint", (PyCFunction) _wrap_PyCompositeShape_DeleteConstraint, METH_VARARGS | METH_KEYWORDS, NULL},
37089 { (char *)"PyCompositeShape_DeleteConstraintsInvolvingChild", (PyCFunction) _wrap_PyCompositeShape_DeleteConstraintsInvolvingChild, METH_VARARGS | METH_KEYWORDS, NULL},
37090 { (char *)"PyCompositeShape_FindContainerImage", (PyCFunction) _wrap_PyCompositeShape_FindContainerImage, METH_VARARGS | METH_KEYWORDS, NULL},
37091 { (char *)"PyCompositeShape_GetConstraints", (PyCFunction) _wrap_PyCompositeShape_GetConstraints, METH_VARARGS | METH_KEYWORDS, NULL},
37092 { (char *)"PyCompositeShape_GetDivisions", (PyCFunction) _wrap_PyCompositeShape_GetDivisions, METH_VARARGS | METH_KEYWORDS, NULL},
37093 { (char *)"PyCompositeShape_MakeContainer", (PyCFunction) _wrap_PyCompositeShape_MakeContainer, METH_VARARGS | METH_KEYWORDS, NULL},
37094 { (char *)"PyCompositeShape_Recompute", (PyCFunction) _wrap_PyCompositeShape_Recompute, METH_VARARGS | METH_KEYWORDS, NULL},
37095 { (char *)"PyCompositeShape_RemoveChild", (PyCFunction) _wrap_PyCompositeShape_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
37096 { (char *)"PyCompositeShape_base_OnDelete", (PyCFunction) _wrap_PyCompositeShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS, NULL},
37097 { (char *)"PyCompositeShape_base_OnDraw", (PyCFunction) _wrap_PyCompositeShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS, NULL},
37098 { (char *)"PyCompositeShape_base_OnDrawContents", (PyCFunction) _wrap_PyCompositeShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS, NULL},
37099 { (char *)"PyCompositeShape_base_OnDrawBranches", (PyCFunction) _wrap_PyCompositeShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS, NULL},
37100 { (char *)"PyCompositeShape_base_OnMoveLinks", (PyCFunction) _wrap_PyCompositeShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS, NULL},
37101 { (char *)"PyCompositeShape_base_OnErase", (PyCFunction) _wrap_PyCompositeShape_base_OnErase, METH_VARARGS | METH_KEYWORDS, NULL},
37102 { (char *)"PyCompositeShape_base_OnEraseContents", (PyCFunction) _wrap_PyCompositeShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS, NULL},
37103 { (char *)"PyCompositeShape_base_OnHighlight", (PyCFunction) _wrap_PyCompositeShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
37104 { (char *)"PyCompositeShape_base_OnLeftClick", (PyCFunction) _wrap_PyCompositeShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS, NULL},
37105 { (char *)"PyCompositeShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyCompositeShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS, NULL},
37106 { (char *)"PyCompositeShape_base_OnRightClick", (PyCFunction) _wrap_PyCompositeShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS, NULL},
37107 { (char *)"PyCompositeShape_base_OnSize", (PyCFunction) _wrap_PyCompositeShape_base_OnSize, METH_VARARGS | METH_KEYWORDS, NULL},
37108 { (char *)"PyCompositeShape_base_OnMovePre", (PyCFunction) _wrap_PyCompositeShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS, NULL},
37109 { (char *)"PyCompositeShape_base_OnMovePost", (PyCFunction) _wrap_PyCompositeShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS, NULL},
37110 { (char *)"PyCompositeShape_base_OnDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
37111 { (char *)"PyCompositeShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
37112 { (char *)"PyCompositeShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
37113 { (char *)"PyCompositeShape_base_OnDragRight", (PyCFunction) _wrap_PyCompositeShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS, NULL},
37114 { (char *)"PyCompositeShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyCompositeShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS, NULL},
37115 { (char *)"PyCompositeShape_base_OnEndDragRight", (PyCFunction) _wrap_PyCompositeShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS, NULL},
37116 { (char *)"PyCompositeShape_base_OnDrawOutline", (PyCFunction) _wrap_PyCompositeShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS, NULL},
37117 { (char *)"PyCompositeShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyCompositeShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS, NULL},
37118 { (char *)"PyCompositeShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyCompositeShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS, NULL},
37119 { (char *)"PyCompositeShape_base_OnMoveLink", (PyCFunction) _wrap_PyCompositeShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS, NULL},
37120 { (char *)"PyCompositeShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
37121 { (char *)"PyCompositeShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
37122 { (char *)"PyCompositeShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyCompositeShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
37123 { (char *)"PyCompositeShape_base_OnBeginSize", (PyCFunction) _wrap_PyCompositeShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS, NULL},
37124 { (char *)"PyCompositeShape_base_OnEndSize", (PyCFunction) _wrap_PyCompositeShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS, NULL},
37125 { (char *)"PyCompositeShape_swigregister", PyCompositeShape_swigregister, METH_VARARGS, NULL},
37126 { (char *)"new_PyDividedShape", (PyCFunction) _wrap_new_PyDividedShape, METH_VARARGS | METH_KEYWORDS, NULL},
37127 { (char *)"PyDividedShape__setCallbackInfo", (PyCFunction) _wrap_PyDividedShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
37128 { (char *)"PyDividedShape_EditRegions", (PyCFunction) _wrap_PyDividedShape_EditRegions, METH_VARARGS | METH_KEYWORDS, NULL},
37129 { (char *)"PyDividedShape_SetRegionSizes", (PyCFunction) _wrap_PyDividedShape_SetRegionSizes, METH_VARARGS | METH_KEYWORDS, NULL},
37130 { (char *)"PyDividedShape_base_OnDelete", (PyCFunction) _wrap_PyDividedShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS, NULL},
37131 { (char *)"PyDividedShape_base_OnDraw", (PyCFunction) _wrap_PyDividedShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS, NULL},
37132 { (char *)"PyDividedShape_base_OnDrawContents", (PyCFunction) _wrap_PyDividedShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS, NULL},
37133 { (char *)"PyDividedShape_base_OnDrawBranches", (PyCFunction) _wrap_PyDividedShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS, NULL},
37134 { (char *)"PyDividedShape_base_OnMoveLinks", (PyCFunction) _wrap_PyDividedShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS, NULL},
37135 { (char *)"PyDividedShape_base_OnErase", (PyCFunction) _wrap_PyDividedShape_base_OnErase, METH_VARARGS | METH_KEYWORDS, NULL},
37136 { (char *)"PyDividedShape_base_OnEraseContents", (PyCFunction) _wrap_PyDividedShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS, NULL},
37137 { (char *)"PyDividedShape_base_OnHighlight", (PyCFunction) _wrap_PyDividedShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
37138 { (char *)"PyDividedShape_base_OnLeftClick", (PyCFunction) _wrap_PyDividedShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS, NULL},
37139 { (char *)"PyDividedShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyDividedShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS, NULL},
37140 { (char *)"PyDividedShape_base_OnRightClick", (PyCFunction) _wrap_PyDividedShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS, NULL},
37141 { (char *)"PyDividedShape_base_OnSize", (PyCFunction) _wrap_PyDividedShape_base_OnSize, METH_VARARGS | METH_KEYWORDS, NULL},
37142 { (char *)"PyDividedShape_base_OnMovePre", (PyCFunction) _wrap_PyDividedShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS, NULL},
37143 { (char *)"PyDividedShape_base_OnMovePost", (PyCFunction) _wrap_PyDividedShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS, NULL},
37144 { (char *)"PyDividedShape_base_OnDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
37145 { (char *)"PyDividedShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
37146 { (char *)"PyDividedShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
37147 { (char *)"PyDividedShape_base_OnDragRight", (PyCFunction) _wrap_PyDividedShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS, NULL},
37148 { (char *)"PyDividedShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyDividedShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS, NULL},
37149 { (char *)"PyDividedShape_base_OnEndDragRight", (PyCFunction) _wrap_PyDividedShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS, NULL},
37150 { (char *)"PyDividedShape_base_OnDrawOutline", (PyCFunction) _wrap_PyDividedShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS, NULL},
37151 { (char *)"PyDividedShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyDividedShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS, NULL},
37152 { (char *)"PyDividedShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyDividedShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS, NULL},
37153 { (char *)"PyDividedShape_base_OnMoveLink", (PyCFunction) _wrap_PyDividedShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS, NULL},
37154 { (char *)"PyDividedShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
37155 { (char *)"PyDividedShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
37156 { (char *)"PyDividedShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyDividedShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
37157 { (char *)"PyDividedShape_base_OnBeginSize", (PyCFunction) _wrap_PyDividedShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS, NULL},
37158 { (char *)"PyDividedShape_base_OnEndSize", (PyCFunction) _wrap_PyDividedShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS, NULL},
37159 { (char *)"PyDividedShape_swigregister", PyDividedShape_swigregister, METH_VARARGS, NULL},
37160 { (char *)"new_PyDivisionShape", (PyCFunction) _wrap_new_PyDivisionShape, METH_VARARGS | METH_KEYWORDS, NULL},
37161 { (char *)"PyDivisionShape__setCallbackInfo", (PyCFunction) _wrap_PyDivisionShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
37162 { (char *)"PyDivisionShape_AdjustBottom", (PyCFunction) _wrap_PyDivisionShape_AdjustBottom, METH_VARARGS | METH_KEYWORDS, NULL},
37163 { (char *)"PyDivisionShape_AdjustLeft", (PyCFunction) _wrap_PyDivisionShape_AdjustLeft, METH_VARARGS | METH_KEYWORDS, NULL},
37164 { (char *)"PyDivisionShape_AdjustRight", (PyCFunction) _wrap_PyDivisionShape_AdjustRight, METH_VARARGS | METH_KEYWORDS, NULL},
37165 { (char *)"PyDivisionShape_AdjustTop", (PyCFunction) _wrap_PyDivisionShape_AdjustTop, METH_VARARGS | METH_KEYWORDS, NULL},
37166 { (char *)"PyDivisionShape_Divide", (PyCFunction) _wrap_PyDivisionShape_Divide, METH_VARARGS | METH_KEYWORDS, NULL},
37167 { (char *)"PyDivisionShape_EditEdge", (PyCFunction) _wrap_PyDivisionShape_EditEdge, METH_VARARGS | METH_KEYWORDS, NULL},
37168 { (char *)"PyDivisionShape_GetBottomSide", (PyCFunction) _wrap_PyDivisionShape_GetBottomSide, METH_VARARGS | METH_KEYWORDS, NULL},
37169 { (char *)"PyDivisionShape_GetHandleSide", (PyCFunction) _wrap_PyDivisionShape_GetHandleSide, METH_VARARGS | METH_KEYWORDS, NULL},
37170 { (char *)"PyDivisionShape_GetLeftSide", (PyCFunction) _wrap_PyDivisionShape_GetLeftSide, METH_VARARGS | METH_KEYWORDS, NULL},
37171 { (char *)"PyDivisionShape_GetLeftSideColour", (PyCFunction) _wrap_PyDivisionShape_GetLeftSideColour, METH_VARARGS | METH_KEYWORDS, NULL},
37172 { (char *)"PyDivisionShape_GetLeftSidePen", (PyCFunction) _wrap_PyDivisionShape_GetLeftSidePen, METH_VARARGS | METH_KEYWORDS, NULL},
37173 { (char *)"PyDivisionShape_GetRightSide", (PyCFunction) _wrap_PyDivisionShape_GetRightSide, METH_VARARGS | METH_KEYWORDS, NULL},
37174 { (char *)"PyDivisionShape_GetTopSide", (PyCFunction) _wrap_PyDivisionShape_GetTopSide, METH_VARARGS | METH_KEYWORDS, NULL},
37175 { (char *)"PyDivisionShape_GetTopSidePen", (PyCFunction) _wrap_PyDivisionShape_GetTopSidePen, METH_VARARGS | METH_KEYWORDS, NULL},
37176 { (char *)"PyDivisionShape_ResizeAdjoining", (PyCFunction) _wrap_PyDivisionShape_ResizeAdjoining, METH_VARARGS | METH_KEYWORDS, NULL},
37177 { (char *)"PyDivisionShape_PopupMenu", (PyCFunction) _wrap_PyDivisionShape_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
37178 { (char *)"PyDivisionShape_SetBottomSide", (PyCFunction) _wrap_PyDivisionShape_SetBottomSide, METH_VARARGS | METH_KEYWORDS, NULL},
37179 { (char *)"PyDivisionShape_SetHandleSide", (PyCFunction) _wrap_PyDivisionShape_SetHandleSide, METH_VARARGS | METH_KEYWORDS, NULL},
37180 { (char *)"PyDivisionShape_SetLeftSide", (PyCFunction) _wrap_PyDivisionShape_SetLeftSide, METH_VARARGS | METH_KEYWORDS, NULL},
37181 { (char *)"PyDivisionShape_SetLeftSideColour", (PyCFunction) _wrap_PyDivisionShape_SetLeftSideColour, METH_VARARGS | METH_KEYWORDS, NULL},
37182 { (char *)"PyDivisionShape_SetLeftSidePen", (PyCFunction) _wrap_PyDivisionShape_SetLeftSidePen, METH_VARARGS | METH_KEYWORDS, NULL},
37183 { (char *)"PyDivisionShape_SetRightSide", (PyCFunction) _wrap_PyDivisionShape_SetRightSide, METH_VARARGS | METH_KEYWORDS, NULL},
37184 { (char *)"PyDivisionShape_SetTopSide", (PyCFunction) _wrap_PyDivisionShape_SetTopSide, METH_VARARGS | METH_KEYWORDS, NULL},
37185 { (char *)"PyDivisionShape_SetTopSideColour", (PyCFunction) _wrap_PyDivisionShape_SetTopSideColour, METH_VARARGS | METH_KEYWORDS, NULL},
37186 { (char *)"PyDivisionShape_SetTopSidePen", (PyCFunction) _wrap_PyDivisionShape_SetTopSidePen, METH_VARARGS | METH_KEYWORDS, NULL},
37187 { (char *)"PyDivisionShape_base_OnDelete", (PyCFunction) _wrap_PyDivisionShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS, NULL},
37188 { (char *)"PyDivisionShape_base_OnDraw", (PyCFunction) _wrap_PyDivisionShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS, NULL},
37189 { (char *)"PyDivisionShape_base_OnDrawContents", (PyCFunction) _wrap_PyDivisionShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS, NULL},
37190 { (char *)"PyDivisionShape_base_OnDrawBranches", (PyCFunction) _wrap_PyDivisionShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS, NULL},
37191 { (char *)"PyDivisionShape_base_OnMoveLinks", (PyCFunction) _wrap_PyDivisionShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS, NULL},
37192 { (char *)"PyDivisionShape_base_OnErase", (PyCFunction) _wrap_PyDivisionShape_base_OnErase, METH_VARARGS | METH_KEYWORDS, NULL},
37193 { (char *)"PyDivisionShape_base_OnEraseContents", (PyCFunction) _wrap_PyDivisionShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS, NULL},
37194 { (char *)"PyDivisionShape_base_OnHighlight", (PyCFunction) _wrap_PyDivisionShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
37195 { (char *)"PyDivisionShape_base_OnLeftClick", (PyCFunction) _wrap_PyDivisionShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS, NULL},
37196 { (char *)"PyDivisionShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyDivisionShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS, NULL},
37197 { (char *)"PyDivisionShape_base_OnRightClick", (PyCFunction) _wrap_PyDivisionShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS, NULL},
37198 { (char *)"PyDivisionShape_base_OnSize", (PyCFunction) _wrap_PyDivisionShape_base_OnSize, METH_VARARGS | METH_KEYWORDS, NULL},
37199 { (char *)"PyDivisionShape_base_OnMovePre", (PyCFunction) _wrap_PyDivisionShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS, NULL},
37200 { (char *)"PyDivisionShape_base_OnMovePost", (PyCFunction) _wrap_PyDivisionShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS, NULL},
37201 { (char *)"PyDivisionShape_base_OnDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
37202 { (char *)"PyDivisionShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
37203 { (char *)"PyDivisionShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
37204 { (char *)"PyDivisionShape_base_OnDragRight", (PyCFunction) _wrap_PyDivisionShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS, NULL},
37205 { (char *)"PyDivisionShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyDivisionShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS, NULL},
37206 { (char *)"PyDivisionShape_base_OnEndDragRight", (PyCFunction) _wrap_PyDivisionShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS, NULL},
37207 { (char *)"PyDivisionShape_base_OnDrawOutline", (PyCFunction) _wrap_PyDivisionShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS, NULL},
37208 { (char *)"PyDivisionShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyDivisionShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS, NULL},
37209 { (char *)"PyDivisionShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyDivisionShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS, NULL},
37210 { (char *)"PyDivisionShape_base_OnMoveLink", (PyCFunction) _wrap_PyDivisionShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS, NULL},
37211 { (char *)"PyDivisionShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
37212 { (char *)"PyDivisionShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
37213 { (char *)"PyDivisionShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyDivisionShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
37214 { (char *)"PyDivisionShape_base_OnBeginSize", (PyCFunction) _wrap_PyDivisionShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS, NULL},
37215 { (char *)"PyDivisionShape_base_OnEndSize", (PyCFunction) _wrap_PyDivisionShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS, NULL},
37216 { (char *)"PyDivisionShape_swigregister", PyDivisionShape_swigregister, METH_VARARGS, NULL},
37217 { (char *)"new_PyEllipseShape", (PyCFunction) _wrap_new_PyEllipseShape, METH_VARARGS | METH_KEYWORDS, NULL},
37218 { (char *)"PyEllipseShape__setCallbackInfo", (PyCFunction) _wrap_PyEllipseShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
37219 { (char *)"PyEllipseShape_base_OnDraw", (PyCFunction) _wrap_PyEllipseShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS, NULL},
37220 { (char *)"PyEllipseShape_base_OnDrawContents", (PyCFunction) _wrap_PyEllipseShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS, NULL},
37221 { (char *)"PyEllipseShape_base_OnDrawBranches", (PyCFunction) _wrap_PyEllipseShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS, NULL},
37222 { (char *)"PyEllipseShape_base_OnMoveLinks", (PyCFunction) _wrap_PyEllipseShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS, NULL},
37223 { (char *)"PyEllipseShape_base_OnErase", (PyCFunction) _wrap_PyEllipseShape_base_OnErase, METH_VARARGS | METH_KEYWORDS, NULL},
37224 { (char *)"PyEllipseShape_base_OnEraseContents", (PyCFunction) _wrap_PyEllipseShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS, NULL},
37225 { (char *)"PyEllipseShape_base_OnHighlight", (PyCFunction) _wrap_PyEllipseShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
37226 { (char *)"PyEllipseShape_base_OnLeftClick", (PyCFunction) _wrap_PyEllipseShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS, NULL},
37227 { (char *)"PyEllipseShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyEllipseShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS, NULL},
37228 { (char *)"PyEllipseShape_base_OnRightClick", (PyCFunction) _wrap_PyEllipseShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS, NULL},
37229 { (char *)"PyEllipseShape_base_OnSize", (PyCFunction) _wrap_PyEllipseShape_base_OnSize, METH_VARARGS | METH_KEYWORDS, NULL},
37230 { (char *)"PyEllipseShape_base_OnMovePre", (PyCFunction) _wrap_PyEllipseShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS, NULL},
37231 { (char *)"PyEllipseShape_base_OnMovePost", (PyCFunction) _wrap_PyEllipseShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS, NULL},
37232 { (char *)"PyEllipseShape_base_OnDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
37233 { (char *)"PyEllipseShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
37234 { (char *)"PyEllipseShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
37235 { (char *)"PyEllipseShape_base_OnDragRight", (PyCFunction) _wrap_PyEllipseShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS, NULL},
37236 { (char *)"PyEllipseShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyEllipseShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS, NULL},
37237 { (char *)"PyEllipseShape_base_OnEndDragRight", (PyCFunction) _wrap_PyEllipseShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS, NULL},
37238 { (char *)"PyEllipseShape_base_OnDrawOutline", (PyCFunction) _wrap_PyEllipseShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS, NULL},
37239 { (char *)"PyEllipseShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyEllipseShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS, NULL},
37240 { (char *)"PyEllipseShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyEllipseShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS, NULL},
37241 { (char *)"PyEllipseShape_base_OnMoveLink", (PyCFunction) _wrap_PyEllipseShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS, NULL},
37242 { (char *)"PyEllipseShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
37243 { (char *)"PyEllipseShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
37244 { (char *)"PyEllipseShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyEllipseShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
37245 { (char *)"PyEllipseShape_base_OnBeginSize", (PyCFunction) _wrap_PyEllipseShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS, NULL},
37246 { (char *)"PyEllipseShape_base_OnEndSize", (PyCFunction) _wrap_PyEllipseShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS, NULL},
37247 { (char *)"PyEllipseShape_swigregister", PyEllipseShape_swigregister, METH_VARARGS, NULL},
37248 { (char *)"new_PyCircleShape", (PyCFunction) _wrap_new_PyCircleShape, METH_VARARGS | METH_KEYWORDS, NULL},
37249 { (char *)"PyCircleShape__setCallbackInfo", (PyCFunction) _wrap_PyCircleShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
37250 { (char *)"PyCircleShape_base_OnDraw", (PyCFunction) _wrap_PyCircleShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS, NULL},
37251 { (char *)"PyCircleShape_base_OnDrawContents", (PyCFunction) _wrap_PyCircleShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS, NULL},
37252 { (char *)"PyCircleShape_base_OnDrawBranches", (PyCFunction) _wrap_PyCircleShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS, NULL},
37253 { (char *)"PyCircleShape_base_OnMoveLinks", (PyCFunction) _wrap_PyCircleShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS, NULL},
37254 { (char *)"PyCircleShape_base_OnErase", (PyCFunction) _wrap_PyCircleShape_base_OnErase, METH_VARARGS | METH_KEYWORDS, NULL},
37255 { (char *)"PyCircleShape_base_OnEraseContents", (PyCFunction) _wrap_PyCircleShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS, NULL},
37256 { (char *)"PyCircleShape_base_OnHighlight", (PyCFunction) _wrap_PyCircleShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
37257 { (char *)"PyCircleShape_base_OnLeftClick", (PyCFunction) _wrap_PyCircleShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS, NULL},
37258 { (char *)"PyCircleShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyCircleShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS, NULL},
37259 { (char *)"PyCircleShape_base_OnRightClick", (PyCFunction) _wrap_PyCircleShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS, NULL},
37260 { (char *)"PyCircleShape_base_OnSize", (PyCFunction) _wrap_PyCircleShape_base_OnSize, METH_VARARGS | METH_KEYWORDS, NULL},
37261 { (char *)"PyCircleShape_base_OnMovePre", (PyCFunction) _wrap_PyCircleShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS, NULL},
37262 { (char *)"PyCircleShape_base_OnMovePost", (PyCFunction) _wrap_PyCircleShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS, NULL},
37263 { (char *)"PyCircleShape_base_OnDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
37264 { (char *)"PyCircleShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
37265 { (char *)"PyCircleShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
37266 { (char *)"PyCircleShape_base_OnDragRight", (PyCFunction) _wrap_PyCircleShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS, NULL},
37267 { (char *)"PyCircleShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyCircleShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS, NULL},
37268 { (char *)"PyCircleShape_base_OnEndDragRight", (PyCFunction) _wrap_PyCircleShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS, NULL},
37269 { (char *)"PyCircleShape_base_OnDrawOutline", (PyCFunction) _wrap_PyCircleShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS, NULL},
37270 { (char *)"PyCircleShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyCircleShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS, NULL},
37271 { (char *)"PyCircleShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyCircleShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS, NULL},
37272 { (char *)"PyCircleShape_base_OnMoveLink", (PyCFunction) _wrap_PyCircleShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS, NULL},
37273 { (char *)"PyCircleShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
37274 { (char *)"PyCircleShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
37275 { (char *)"PyCircleShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyCircleShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
37276 { (char *)"PyCircleShape_base_OnBeginSize", (PyCFunction) _wrap_PyCircleShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS, NULL},
37277 { (char *)"PyCircleShape_base_OnEndSize", (PyCFunction) _wrap_PyCircleShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS, NULL},
37278 { (char *)"PyCircleShape_swigregister", PyCircleShape_swigregister, METH_VARARGS, NULL},
37279 { (char *)"new_ArrowHead", (PyCFunction) _wrap_new_ArrowHead, METH_VARARGS | METH_KEYWORDS, NULL},
37280 { (char *)"delete_ArrowHead", (PyCFunction) _wrap_delete_ArrowHead, METH_VARARGS | METH_KEYWORDS, NULL},
37281 { (char *)"ArrowHead__GetType", (PyCFunction) _wrap_ArrowHead__GetType, METH_VARARGS | METH_KEYWORDS, NULL},
37282 { (char *)"ArrowHead_GetPosition", (PyCFunction) _wrap_ArrowHead_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
37283 { (char *)"ArrowHead_SetPosition", (PyCFunction) _wrap_ArrowHead_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
37284 { (char *)"ArrowHead_GetXOffset", (PyCFunction) _wrap_ArrowHead_GetXOffset, METH_VARARGS | METH_KEYWORDS, NULL},
37285 { (char *)"ArrowHead_GetYOffset", (PyCFunction) _wrap_ArrowHead_GetYOffset, METH_VARARGS | METH_KEYWORDS, NULL},
37286 { (char *)"ArrowHead_GetSpacing", (PyCFunction) _wrap_ArrowHead_GetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
37287 { (char *)"ArrowHead_GetSize", (PyCFunction) _wrap_ArrowHead_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
37288 { (char *)"ArrowHead_GetName", (PyCFunction) _wrap_ArrowHead_GetName, METH_VARARGS | METH_KEYWORDS, NULL},
37289 { (char *)"ArrowHead_SetXOffset", (PyCFunction) _wrap_ArrowHead_SetXOffset, METH_VARARGS | METH_KEYWORDS, NULL},
37290 { (char *)"ArrowHead_SetYOffset", (PyCFunction) _wrap_ArrowHead_SetYOffset, METH_VARARGS | METH_KEYWORDS, NULL},
37291 { (char *)"ArrowHead_GetMetaFile", (PyCFunction) _wrap_ArrowHead_GetMetaFile, METH_VARARGS | METH_KEYWORDS, NULL},
37292 { (char *)"ArrowHead_GetId", (PyCFunction) _wrap_ArrowHead_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
37293 { (char *)"ArrowHead_GetArrowEnd", (PyCFunction) _wrap_ArrowHead_GetArrowEnd, METH_VARARGS | METH_KEYWORDS, NULL},
37294 { (char *)"ArrowHead_GetArrowSize", (PyCFunction) _wrap_ArrowHead_GetArrowSize, METH_VARARGS | METH_KEYWORDS, NULL},
37295 { (char *)"ArrowHead_SetSize", (PyCFunction) _wrap_ArrowHead_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
37296 { (char *)"ArrowHead_SetSpacing", (PyCFunction) _wrap_ArrowHead_SetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
37297 { (char *)"ArrowHead_swigregister", ArrowHead_swigregister, METH_VARARGS, NULL},
37298 { (char *)"new_PyLineShape", (PyCFunction) _wrap_new_PyLineShape, METH_VARARGS | METH_KEYWORDS, NULL},
37299 { (char *)"PyLineShape__setCallbackInfo", (PyCFunction) _wrap_PyLineShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
37300 { (char *)"PyLineShape_AddArrow", (PyCFunction) _wrap_PyLineShape_AddArrow, METH_VARARGS | METH_KEYWORDS, NULL},
37301 { (char *)"PyLineShape_AddArrowOrdered", (PyCFunction) _wrap_PyLineShape_AddArrowOrdered, METH_VARARGS | METH_KEYWORDS, NULL},
37302 { (char *)"PyLineShape_ClearArrow", (PyCFunction) _wrap_PyLineShape_ClearArrow, METH_VARARGS | METH_KEYWORDS, NULL},
37303 { (char *)"PyLineShape_ClearArrowsAtPosition", (PyCFunction) _wrap_PyLineShape_ClearArrowsAtPosition, METH_VARARGS | METH_KEYWORDS, NULL},
37304 { (char *)"PyLineShape_DrawArrow", (PyCFunction) _wrap_PyLineShape_DrawArrow, METH_VARARGS | METH_KEYWORDS, NULL},
37305 { (char *)"PyLineShape_DeleteArrowHeadId", (PyCFunction) _wrap_PyLineShape_DeleteArrowHeadId, METH_VARARGS | METH_KEYWORDS, NULL},
37306 { (char *)"PyLineShape_DeleteArrowHead", (PyCFunction) _wrap_PyLineShape_DeleteArrowHead, METH_VARARGS | METH_KEYWORDS, NULL},
37307 { (char *)"PyLineShape_DeleteLineControlPoint", (PyCFunction) _wrap_PyLineShape_DeleteLineControlPoint, METH_VARARGS | METH_KEYWORDS, NULL},
37308 { (char *)"PyLineShape_DrawArrows", (PyCFunction) _wrap_PyLineShape_DrawArrows, METH_VARARGS | METH_KEYWORDS, NULL},
37309 { (char *)"PyLineShape_DrawRegion", (PyCFunction) _wrap_PyLineShape_DrawRegion, METH_VARARGS | METH_KEYWORDS, NULL},
37310 { (char *)"PyLineShape_EraseRegion", (PyCFunction) _wrap_PyLineShape_EraseRegion, METH_VARARGS | METH_KEYWORDS, NULL},
37311 { (char *)"PyLineShape_FindArrowHeadId", (PyCFunction) _wrap_PyLineShape_FindArrowHeadId, METH_VARARGS | METH_KEYWORDS, NULL},
37312 { (char *)"PyLineShape_FindArrowHead", (PyCFunction) _wrap_PyLineShape_FindArrowHead, METH_VARARGS | METH_KEYWORDS, NULL},
37313 { (char *)"PyLineShape_FindLineEndPoints", (PyCFunction) _wrap_PyLineShape_FindLineEndPoints, METH_VARARGS | METH_KEYWORDS, NULL},
37314 { (char *)"PyLineShape_FindLinePosition", (PyCFunction) _wrap_PyLineShape_FindLinePosition, METH_VARARGS | METH_KEYWORDS, NULL},
37315 { (char *)"PyLineShape_FindMinimumWidth", (PyCFunction) _wrap_PyLineShape_FindMinimumWidth, METH_VARARGS | METH_KEYWORDS, NULL},
37316 { (char *)"PyLineShape_FindNth", (PyCFunction) _wrap_PyLineShape_FindNth, METH_VARARGS | METH_KEYWORDS, NULL},
37317 { (char *)"PyLineShape_GetAttachmentFrom", (PyCFunction) _wrap_PyLineShape_GetAttachmentFrom, METH_VARARGS | METH_KEYWORDS, NULL},
37318 { (char *)"PyLineShape_GetAttachmentTo", (PyCFunction) _wrap_PyLineShape_GetAttachmentTo, METH_VARARGS | METH_KEYWORDS, NULL},
37319 { (char *)"PyLineShape_GetEnds", (PyCFunction) _wrap_PyLineShape_GetEnds, METH_VARARGS | METH_KEYWORDS, NULL},
37320 { (char *)"PyLineShape_GetFrom", (PyCFunction) _wrap_PyLineShape_GetFrom, METH_VARARGS | METH_KEYWORDS, NULL},
37321 { (char *)"PyLineShape_GetLabelPosition", (PyCFunction) _wrap_PyLineShape_GetLabelPosition, METH_VARARGS | METH_KEYWORDS, NULL},
37322 { (char *)"PyLineShape_GetNextControlPoint", (PyCFunction) _wrap_PyLineShape_GetNextControlPoint, METH_VARARGS | METH_KEYWORDS, NULL},
37323 { (char *)"PyLineShape_GetTo", (PyCFunction) _wrap_PyLineShape_GetTo, METH_VARARGS | METH_KEYWORDS, NULL},
37324 { (char *)"PyLineShape_Initialise", (PyCFunction) _wrap_PyLineShape_Initialise, METH_VARARGS | METH_KEYWORDS, NULL},
37325 { (char *)"PyLineShape_InsertLineControlPoint", (PyCFunction) _wrap_PyLineShape_InsertLineControlPoint, METH_VARARGS | METH_KEYWORDS, NULL},
37326 { (char *)"PyLineShape_IsEnd", (PyCFunction) _wrap_PyLineShape_IsEnd, METH_VARARGS | METH_KEYWORDS, NULL},
37327 { (char *)"PyLineShape_IsSpline", (PyCFunction) _wrap_PyLineShape_IsSpline, METH_VARARGS | METH_KEYWORDS, NULL},
37328 { (char *)"PyLineShape_MakeLineControlPoints", (PyCFunction) _wrap_PyLineShape_MakeLineControlPoints, METH_VARARGS | METH_KEYWORDS, NULL},
37329 { (char *)"PyLineShape_GetLineControlPoints", (PyCFunction) _wrap_PyLineShape_GetLineControlPoints, METH_VARARGS | METH_KEYWORDS, NULL},
37330 { (char *)"PyLineShape_SetLineControlPoints", (PyCFunction) _wrap_PyLineShape_SetLineControlPoints, METH_VARARGS | METH_KEYWORDS, NULL},
37331 { (char *)"PyLineShape_SetAttachmentFrom", (PyCFunction) _wrap_PyLineShape_SetAttachmentFrom, METH_VARARGS | METH_KEYWORDS, NULL},
37332 { (char *)"PyLineShape_SetAttachments", (PyCFunction) _wrap_PyLineShape_SetAttachments, METH_VARARGS | METH_KEYWORDS, NULL},
37333 { (char *)"PyLineShape_SetAttachmentTo", (PyCFunction) _wrap_PyLineShape_SetAttachmentTo, METH_VARARGS | METH_KEYWORDS, NULL},
37334 { (char *)"PyLineShape_SetEnds", (PyCFunction) _wrap_PyLineShape_SetEnds, METH_VARARGS | METH_KEYWORDS, NULL},
37335 { (char *)"PyLineShape_SetFrom", (PyCFunction) _wrap_PyLineShape_SetFrom, METH_VARARGS | METH_KEYWORDS, NULL},
37336 { (char *)"PyLineShape_SetIgnoreOffsets", (PyCFunction) _wrap_PyLineShape_SetIgnoreOffsets, METH_VARARGS | METH_KEYWORDS, NULL},
37337 { (char *)"PyLineShape_SetSpline", (PyCFunction) _wrap_PyLineShape_SetSpline, METH_VARARGS | METH_KEYWORDS, NULL},
37338 { (char *)"PyLineShape_SetTo", (PyCFunction) _wrap_PyLineShape_SetTo, METH_VARARGS | METH_KEYWORDS, NULL},
37339 { (char *)"PyLineShape_Straighten", (PyCFunction) _wrap_PyLineShape_Straighten, METH_VARARGS | METH_KEYWORDS, NULL},
37340 { (char *)"PyLineShape_Unlink", (PyCFunction) _wrap_PyLineShape_Unlink, METH_VARARGS | METH_KEYWORDS, NULL},
37341 { (char *)"PyLineShape_SetAlignmentOrientation", (PyCFunction) _wrap_PyLineShape_SetAlignmentOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
37342 { (char *)"PyLineShape_SetAlignmentType", (PyCFunction) _wrap_PyLineShape_SetAlignmentType, METH_VARARGS | METH_KEYWORDS, NULL},
37343 { (char *)"PyLineShape_GetAlignmentOrientation", (PyCFunction) _wrap_PyLineShape_GetAlignmentOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
37344 { (char *)"PyLineShape_GetAlignmentType", (PyCFunction) _wrap_PyLineShape_GetAlignmentType, METH_VARARGS | METH_KEYWORDS, NULL},
37345 { (char *)"PyLineShape_GetAlignmentStart", (PyCFunction) _wrap_PyLineShape_GetAlignmentStart, METH_VARARGS | METH_KEYWORDS, NULL},
37346 { (char *)"PyLineShape_GetAlignmentEnd", (PyCFunction) _wrap_PyLineShape_GetAlignmentEnd, METH_VARARGS | METH_KEYWORDS, NULL},
37347 { (char *)"PyLineShape_base_OnDraw", (PyCFunction) _wrap_PyLineShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS, NULL},
37348 { (char *)"PyLineShape_base_OnDrawContents", (PyCFunction) _wrap_PyLineShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS, NULL},
37349 { (char *)"PyLineShape_base_OnDrawBranches", (PyCFunction) _wrap_PyLineShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS, NULL},
37350 { (char *)"PyLineShape_base_OnMoveLinks", (PyCFunction) _wrap_PyLineShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS, NULL},
37351 { (char *)"PyLineShape_base_OnErase", (PyCFunction) _wrap_PyLineShape_base_OnErase, METH_VARARGS | METH_KEYWORDS, NULL},
37352 { (char *)"PyLineShape_base_OnEraseContents", (PyCFunction) _wrap_PyLineShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS, NULL},
37353 { (char *)"PyLineShape_base_OnHighlight", (PyCFunction) _wrap_PyLineShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
37354 { (char *)"PyLineShape_base_OnLeftClick", (PyCFunction) _wrap_PyLineShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS, NULL},
37355 { (char *)"PyLineShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyLineShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS, NULL},
37356 { (char *)"PyLineShape_base_OnRightClick", (PyCFunction) _wrap_PyLineShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS, NULL},
37357 { (char *)"PyLineShape_base_OnSize", (PyCFunction) _wrap_PyLineShape_base_OnSize, METH_VARARGS | METH_KEYWORDS, NULL},
37358 { (char *)"PyLineShape_base_OnMovePre", (PyCFunction) _wrap_PyLineShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS, NULL},
37359 { (char *)"PyLineShape_base_OnMovePost", (PyCFunction) _wrap_PyLineShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS, NULL},
37360 { (char *)"PyLineShape_base_OnDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
37361 { (char *)"PyLineShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
37362 { (char *)"PyLineShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
37363 { (char *)"PyLineShape_base_OnDragRight", (PyCFunction) _wrap_PyLineShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS, NULL},
37364 { (char *)"PyLineShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyLineShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS, NULL},
37365 { (char *)"PyLineShape_base_OnEndDragRight", (PyCFunction) _wrap_PyLineShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS, NULL},
37366 { (char *)"PyLineShape_base_OnDrawOutline", (PyCFunction) _wrap_PyLineShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS, NULL},
37367 { (char *)"PyLineShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyLineShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS, NULL},
37368 { (char *)"PyLineShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyLineShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS, NULL},
37369 { (char *)"PyLineShape_base_OnMoveLink", (PyCFunction) _wrap_PyLineShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS, NULL},
37370 { (char *)"PyLineShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
37371 { (char *)"PyLineShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
37372 { (char *)"PyLineShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyLineShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
37373 { (char *)"PyLineShape_base_OnBeginSize", (PyCFunction) _wrap_PyLineShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS, NULL},
37374 { (char *)"PyLineShape_base_OnEndSize", (PyCFunction) _wrap_PyLineShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS, NULL},
37375 { (char *)"PyLineShape_swigregister", PyLineShape_swigregister, METH_VARARGS, NULL},
37376 { (char *)"new_PyPolygonShape", (PyCFunction) _wrap_new_PyPolygonShape, METH_VARARGS | METH_KEYWORDS, NULL},
37377 { (char *)"PyPolygonShape__setCallbackInfo", (PyCFunction) _wrap_PyPolygonShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
37378 { (char *)"PyPolygonShape_Create", (PyCFunction) _wrap_PyPolygonShape_Create, METH_VARARGS | METH_KEYWORDS, NULL},
37379 { (char *)"PyPolygonShape_AddPolygonPoint", (PyCFunction) _wrap_PyPolygonShape_AddPolygonPoint, METH_VARARGS | METH_KEYWORDS, NULL},
37380 { (char *)"PyPolygonShape_CalculatePolygonCentre", (PyCFunction) _wrap_PyPolygonShape_CalculatePolygonCentre, METH_VARARGS | METH_KEYWORDS, NULL},
37381 { (char *)"PyPolygonShape_DeletePolygonPoint", (PyCFunction) _wrap_PyPolygonShape_DeletePolygonPoint, METH_VARARGS | METH_KEYWORDS, NULL},
37382 { (char *)"PyPolygonShape_GetPoints", (PyCFunction) _wrap_PyPolygonShape_GetPoints, METH_VARARGS | METH_KEYWORDS, NULL},
37383 { (char *)"PyPolygonShape_GetOriginalPoints", (PyCFunction) _wrap_PyPolygonShape_GetOriginalPoints, METH_VARARGS | METH_KEYWORDS, NULL},
37384 { (char *)"PyPolygonShape_GetOriginalWidth", (PyCFunction) _wrap_PyPolygonShape_GetOriginalWidth, METH_VARARGS | METH_KEYWORDS, NULL},
37385 { (char *)"PyPolygonShape_GetOriginalHeight", (PyCFunction) _wrap_PyPolygonShape_GetOriginalHeight, METH_VARARGS | METH_KEYWORDS, NULL},
37386 { (char *)"PyPolygonShape_SetOriginalWidth", (PyCFunction) _wrap_PyPolygonShape_SetOriginalWidth, METH_VARARGS | METH_KEYWORDS, NULL},
37387 { (char *)"PyPolygonShape_SetOriginalHeight", (PyCFunction) _wrap_PyPolygonShape_SetOriginalHeight, METH_VARARGS | METH_KEYWORDS, NULL},
37388 { (char *)"PyPolygonShape_UpdateOriginalPoints", (PyCFunction) _wrap_PyPolygonShape_UpdateOriginalPoints, METH_VARARGS | METH_KEYWORDS, NULL},
37389 { (char *)"PyPolygonShape_base_OnDraw", (PyCFunction) _wrap_PyPolygonShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS, NULL},
37390 { (char *)"PyPolygonShape_base_OnDrawContents", (PyCFunction) _wrap_PyPolygonShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS, NULL},
37391 { (char *)"PyPolygonShape_base_OnDrawBranches", (PyCFunction) _wrap_PyPolygonShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS, NULL},
37392 { (char *)"PyPolygonShape_base_OnMoveLinks", (PyCFunction) _wrap_PyPolygonShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS, NULL},
37393 { (char *)"PyPolygonShape_base_OnErase", (PyCFunction) _wrap_PyPolygonShape_base_OnErase, METH_VARARGS | METH_KEYWORDS, NULL},
37394 { (char *)"PyPolygonShape_base_OnEraseContents", (PyCFunction) _wrap_PyPolygonShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS, NULL},
37395 { (char *)"PyPolygonShape_base_OnHighlight", (PyCFunction) _wrap_PyPolygonShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
37396 { (char *)"PyPolygonShape_base_OnLeftClick", (PyCFunction) _wrap_PyPolygonShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS, NULL},
37397 { (char *)"PyPolygonShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyPolygonShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS, NULL},
37398 { (char *)"PyPolygonShape_base_OnRightClick", (PyCFunction) _wrap_PyPolygonShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS, NULL},
37399 { (char *)"PyPolygonShape_base_OnSize", (PyCFunction) _wrap_PyPolygonShape_base_OnSize, METH_VARARGS | METH_KEYWORDS, NULL},
37400 { (char *)"PyPolygonShape_base_OnMovePre", (PyCFunction) _wrap_PyPolygonShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS, NULL},
37401 { (char *)"PyPolygonShape_base_OnMovePost", (PyCFunction) _wrap_PyPolygonShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS, NULL},
37402 { (char *)"PyPolygonShape_base_OnDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
37403 { (char *)"PyPolygonShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
37404 { (char *)"PyPolygonShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
37405 { (char *)"PyPolygonShape_base_OnDragRight", (PyCFunction) _wrap_PyPolygonShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS, NULL},
37406 { (char *)"PyPolygonShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyPolygonShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS, NULL},
37407 { (char *)"PyPolygonShape_base_OnEndDragRight", (PyCFunction) _wrap_PyPolygonShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS, NULL},
37408 { (char *)"PyPolygonShape_base_OnDrawOutline", (PyCFunction) _wrap_PyPolygonShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS, NULL},
37409 { (char *)"PyPolygonShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyPolygonShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS, NULL},
37410 { (char *)"PyPolygonShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyPolygonShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS, NULL},
37411 { (char *)"PyPolygonShape_base_OnMoveLink", (PyCFunction) _wrap_PyPolygonShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS, NULL},
37412 { (char *)"PyPolygonShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
37413 { (char *)"PyPolygonShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
37414 { (char *)"PyPolygonShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyPolygonShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
37415 { (char *)"PyPolygonShape_base_OnBeginSize", (PyCFunction) _wrap_PyPolygonShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS, NULL},
37416 { (char *)"PyPolygonShape_base_OnEndSize", (PyCFunction) _wrap_PyPolygonShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS, NULL},
37417 { (char *)"PyPolygonShape_swigregister", PyPolygonShape_swigregister, METH_VARARGS, NULL},
37418 { (char *)"new_PyTextShape", (PyCFunction) _wrap_new_PyTextShape, METH_VARARGS | METH_KEYWORDS, NULL},
37419 { (char *)"PyTextShape__setCallbackInfo", (PyCFunction) _wrap_PyTextShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
37420 { (char *)"PyTextShape_base_OnDelete", (PyCFunction) _wrap_PyTextShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS, NULL},
37421 { (char *)"PyTextShape_base_OnDraw", (PyCFunction) _wrap_PyTextShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS, NULL},
37422 { (char *)"PyTextShape_base_OnDrawContents", (PyCFunction) _wrap_PyTextShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS, NULL},
37423 { (char *)"PyTextShape_base_OnDrawBranches", (PyCFunction) _wrap_PyTextShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS, NULL},
37424 { (char *)"PyTextShape_base_OnMoveLinks", (PyCFunction) _wrap_PyTextShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS, NULL},
37425 { (char *)"PyTextShape_base_OnErase", (PyCFunction) _wrap_PyTextShape_base_OnErase, METH_VARARGS | METH_KEYWORDS, NULL},
37426 { (char *)"PyTextShape_base_OnEraseContents", (PyCFunction) _wrap_PyTextShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS, NULL},
37427 { (char *)"PyTextShape_base_OnHighlight", (PyCFunction) _wrap_PyTextShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
37428 { (char *)"PyTextShape_base_OnLeftClick", (PyCFunction) _wrap_PyTextShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS, NULL},
37429 { (char *)"PyTextShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_PyTextShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS, NULL},
37430 { (char *)"PyTextShape_base_OnRightClick", (PyCFunction) _wrap_PyTextShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS, NULL},
37431 { (char *)"PyTextShape_base_OnSize", (PyCFunction) _wrap_PyTextShape_base_OnSize, METH_VARARGS | METH_KEYWORDS, NULL},
37432 { (char *)"PyTextShape_base_OnMovePre", (PyCFunction) _wrap_PyTextShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS, NULL},
37433 { (char *)"PyTextShape_base_OnMovePost", (PyCFunction) _wrap_PyTextShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS, NULL},
37434 { (char *)"PyTextShape_base_OnDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
37435 { (char *)"PyTextShape_base_OnBeginDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
37436 { (char *)"PyTextShape_base_OnEndDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
37437 { (char *)"PyTextShape_base_OnDragRight", (PyCFunction) _wrap_PyTextShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS, NULL},
37438 { (char *)"PyTextShape_base_OnBeginDragRight", (PyCFunction) _wrap_PyTextShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS, NULL},
37439 { (char *)"PyTextShape_base_OnEndDragRight", (PyCFunction) _wrap_PyTextShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS, NULL},
37440 { (char *)"PyTextShape_base_OnDrawOutline", (PyCFunction) _wrap_PyTextShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS, NULL},
37441 { (char *)"PyTextShape_base_OnDrawControlPoints", (PyCFunction) _wrap_PyTextShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS, NULL},
37442 { (char *)"PyTextShape_base_OnEraseControlPoints", (PyCFunction) _wrap_PyTextShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS, NULL},
37443 { (char *)"PyTextShape_base_OnMoveLink", (PyCFunction) _wrap_PyTextShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS, NULL},
37444 { (char *)"PyTextShape_base_OnSizingDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
37445 { (char *)"PyTextShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
37446 { (char *)"PyTextShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_PyTextShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
37447 { (char *)"PyTextShape_base_OnBeginSize", (PyCFunction) _wrap_PyTextShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS, NULL},
37448 { (char *)"PyTextShape_base_OnEndSize", (PyCFunction) _wrap_PyTextShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS, NULL},
37449 { (char *)"PyTextShape_swigregister", PyTextShape_swigregister, METH_VARARGS, NULL},
37450 { (char *)"new_Diagram", (PyCFunction) _wrap_new_Diagram, METH_VARARGS | METH_KEYWORDS, NULL},
37451 { (char *)"Diagram_AddShape", (PyCFunction) _wrap_Diagram_AddShape, METH_VARARGS | METH_KEYWORDS, NULL},
37452 { (char *)"Diagram_Clear", (PyCFunction) _wrap_Diagram_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
37453 { (char *)"Diagram_DeleteAllShapes", (PyCFunction) _wrap_Diagram_DeleteAllShapes, METH_VARARGS | METH_KEYWORDS, NULL},
37454 { (char *)"Diagram_DrawOutline", (PyCFunction) _wrap_Diagram_DrawOutline, METH_VARARGS | METH_KEYWORDS, NULL},
37455 { (char *)"Diagram_FindShape", (PyCFunction) _wrap_Diagram_FindShape, METH_VARARGS | METH_KEYWORDS, NULL},
37456 { (char *)"Diagram_GetCanvas", (PyCFunction) _wrap_Diagram_GetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
37457 { (char *)"Diagram_GetCount", (PyCFunction) _wrap_Diagram_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
37458 { (char *)"Diagram_GetGridSpacing", (PyCFunction) _wrap_Diagram_GetGridSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
37459 { (char *)"Diagram_GetMouseTolerance", (PyCFunction) _wrap_Diagram_GetMouseTolerance, METH_VARARGS | METH_KEYWORDS, NULL},
37460 { (char *)"Diagram_GetShapeList", (PyCFunction) _wrap_Diagram_GetShapeList, METH_VARARGS | METH_KEYWORDS, NULL},
37461 { (char *)"Diagram_GetQuickEditMode", (PyCFunction) _wrap_Diagram_GetQuickEditMode, METH_VARARGS | METH_KEYWORDS, NULL},
37462 { (char *)"Diagram_GetSnapToGrid", (PyCFunction) _wrap_Diagram_GetSnapToGrid, METH_VARARGS | METH_KEYWORDS, NULL},
37463 { (char *)"Diagram_InsertShape", (PyCFunction) _wrap_Diagram_InsertShape, METH_VARARGS | METH_KEYWORDS, NULL},
37464 { (char *)"Diagram_RecentreAll", (PyCFunction) _wrap_Diagram_RecentreAll, METH_VARARGS | METH_KEYWORDS, NULL},
37465 { (char *)"Diagram_Redraw", (PyCFunction) _wrap_Diagram_Redraw, METH_VARARGS | METH_KEYWORDS, NULL},
37466 { (char *)"Diagram_RemoveAllShapes", (PyCFunction) _wrap_Diagram_RemoveAllShapes, METH_VARARGS | METH_KEYWORDS, NULL},
37467 { (char *)"Diagram_RemoveShape", (PyCFunction) _wrap_Diagram_RemoveShape, METH_VARARGS | METH_KEYWORDS, NULL},
37468 { (char *)"Diagram_SetCanvas", (PyCFunction) _wrap_Diagram_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
37469 { (char *)"Diagram_SetGridSpacing", (PyCFunction) _wrap_Diagram_SetGridSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
37470 { (char *)"Diagram_SetMouseTolerance", (PyCFunction) _wrap_Diagram_SetMouseTolerance, METH_VARARGS | METH_KEYWORDS, NULL},
37471 { (char *)"Diagram_SetQuickEditMode", (PyCFunction) _wrap_Diagram_SetQuickEditMode, METH_VARARGS | METH_KEYWORDS, NULL},
37472 { (char *)"Diagram_SetSnapToGrid", (PyCFunction) _wrap_Diagram_SetSnapToGrid, METH_VARARGS | METH_KEYWORDS, NULL},
37473 { (char *)"Diagram_ShowAll", (PyCFunction) _wrap_Diagram_ShowAll, METH_VARARGS | METH_KEYWORDS, NULL},
37474 { (char *)"Diagram_Snap", (PyCFunction) _wrap_Diagram_Snap, METH_VARARGS | METH_KEYWORDS, NULL},
37475 { (char *)"Diagram_swigregister", Diagram_swigregister, METH_VARARGS, NULL},
37476 { (char *)"new_PyShapeCanvas", (PyCFunction) _wrap_new_PyShapeCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
37477 { (char *)"PyShapeCanvas__setCallbackInfo", (PyCFunction) _wrap_PyShapeCanvas__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
37478 { (char *)"PyShapeCanvas_AddShape", (PyCFunction) _wrap_PyShapeCanvas_AddShape, METH_VARARGS | METH_KEYWORDS, NULL},
37479 { (char *)"PyShapeCanvas_FindShape", (PyCFunction) _wrap_PyShapeCanvas_FindShape, METH_VARARGS | METH_KEYWORDS, NULL},
37480 { (char *)"PyShapeCanvas_FindFirstSensitiveShape", (PyCFunction) _wrap_PyShapeCanvas_FindFirstSensitiveShape, METH_VARARGS | METH_KEYWORDS, NULL},
37481 { (char *)"PyShapeCanvas_GetDiagram", (PyCFunction) _wrap_PyShapeCanvas_GetDiagram, METH_VARARGS | METH_KEYWORDS, NULL},
37482 { (char *)"PyShapeCanvas_GetQuickEditMode", (PyCFunction) _wrap_PyShapeCanvas_GetQuickEditMode, METH_VARARGS | METH_KEYWORDS, NULL},
37483 { (char *)"PyShapeCanvas_InsertShape", (PyCFunction) _wrap_PyShapeCanvas_InsertShape, METH_VARARGS | METH_KEYWORDS, NULL},
37484 { (char *)"PyShapeCanvas_base_OnBeginDragLeft", (PyCFunction) _wrap_PyShapeCanvas_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
37485 { (char *)"PyShapeCanvas_base_OnBeginDragRight", (PyCFunction) _wrap_PyShapeCanvas_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS, NULL},
37486 { (char *)"PyShapeCanvas_base_OnEndDragLeft", (PyCFunction) _wrap_PyShapeCanvas_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
37487 { (char *)"PyShapeCanvas_base_OnEndDragRight", (PyCFunction) _wrap_PyShapeCanvas_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS, NULL},
37488 { (char *)"PyShapeCanvas_base_OnDragLeft", (PyCFunction) _wrap_PyShapeCanvas_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS, NULL},
37489 { (char *)"PyShapeCanvas_base_OnDragRight", (PyCFunction) _wrap_PyShapeCanvas_base_OnDragRight, METH_VARARGS | METH_KEYWORDS, NULL},
37490 { (char *)"PyShapeCanvas_base_OnLeftClick", (PyCFunction) _wrap_PyShapeCanvas_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS, NULL},
37491 { (char *)"PyShapeCanvas_base_OnRightClick", (PyCFunction) _wrap_PyShapeCanvas_base_OnRightClick, METH_VARARGS | METH_KEYWORDS, NULL},
37492 { (char *)"PyShapeCanvas_Redraw", (PyCFunction) _wrap_PyShapeCanvas_Redraw, METH_VARARGS | METH_KEYWORDS, NULL},
37493 { (char *)"PyShapeCanvas_RemoveShape", (PyCFunction) _wrap_PyShapeCanvas_RemoveShape, METH_VARARGS | METH_KEYWORDS, NULL},
37494 { (char *)"PyShapeCanvas_SetDiagram", (PyCFunction) _wrap_PyShapeCanvas_SetDiagram, METH_VARARGS | METH_KEYWORDS, NULL},
37495 { (char *)"PyShapeCanvas_Snap", (PyCFunction) _wrap_PyShapeCanvas_Snap, METH_VARARGS | METH_KEYWORDS, NULL},
37496 { (char *)"PyShapeCanvas_swigregister", PyShapeCanvas_swigregister, METH_VARARGS, NULL},
37497 { (char *)"OGLInitialize", (PyCFunction) _wrap_OGLInitialize, METH_VARARGS | METH_KEYWORDS, NULL},
37498 { (char *)"OGLCleanUp", (PyCFunction) _wrap_OGLCleanUp, METH_VARARGS | METH_KEYWORDS, NULL},
c370783e 37499 { NULL, NULL, 0, NULL }
44127b65
RD
37500};
37501
37502
37503/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
37504
37505static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
37506 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
37507}
37508static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
37509 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
37510}
a2482628
RD
37511static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
37512 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
37513}
44127b65
RD
37514static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
37515 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
37516}
37517static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
37518 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
37519}
37520static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
37521 return (void *)((wxPanel *) ((wxPyPanel *) x));
37522}
37523static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
37524 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
37525}
37526static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
37527 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
37528}
37529static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
37530 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
37531}
37532static void *_p_wxPyShapeCanvasTo_p_wxPanel(void *x) {
37533 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyShapeCanvas *) x));
37534}
a2482628
RD
37535static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
37536 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
37537}
44127b65
RD
37538static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
37539 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
37540}
37541static void *_p_wxPyShapeCanvasTo_p_wxScrolledWindow(void *x) {
37542 return (void *)((wxScrolledWindow *) ((wxPyShapeCanvas *) x));
37543}
37544static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
37545 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
37546}
37547static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
37548 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
37549}
37550static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
37551 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
37552}
37553static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
37554 return (void *)((wxWindow *) ((wxMenuBar *) x));
37555}
37556static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
37557 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
37558}
37559static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
37560 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
37561}
37562static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
37563 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
37564}
070c48b4
RD
37565static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
37566 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
37567}
44127b65
RD
37568static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
37569 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
37570}
37571static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
37572 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
37573}
37574static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
37575 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
37576}
37577static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
37578 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
37579}
37580static void *_p_wxPanelTo_p_wxWindow(void *x) {
37581 return (void *)((wxWindow *) ((wxPanel *) x));
37582}
37583static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
37584 return (void *)((wxWindow *) ((wxStatusBar *) x));
37585}
44127b65
RD
37586static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
37587 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
37588}
37589static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
37590 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
37591}
37592static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
37593 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
37594}
37595static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
37596 return (void *)((wxWindow *) ((wxPopupWindow *) x));
37597}
37598static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
37599 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
37600}
37601static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
37602 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
37603}
37604static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
37605 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
37606}
37607static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
37608 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
37609}
37610static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
37611 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
37612}
37613static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
37614 return (void *)((wxWindow *) ((wxSashWindow *) x));
37615}
070c48b4
RD
37616static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
37617 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
37618}
a2482628
RD
37619static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
37620 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
37621}
44127b65
RD
37622static void *_p_wxControlTo_p_wxWindow(void *x) {
37623 return (void *)((wxWindow *) ((wxControl *) x));
37624}
37625static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
37626 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
37627}
37628static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
37629 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
37630}
37631static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
37632 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
37633}
37634static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
37635 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
37636}
37637static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
37638 return (void *)((wxWindow *) ((wxPyWindow *) x));
37639}
37640static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
37641 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
37642}
37643static void *_p_wxPyShapeCanvasTo_p_wxWindow(void *x) {
37644 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyShapeCanvas *) x));
37645}
37646static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
37647 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
37648}
37649static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
37650 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
37651}
37652static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
37653 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
37654}
37655static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
37656 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
37657}
37658static void *_p_wxFrameTo_p_wxWindow(void *x) {
37659 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
37660}
37661static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
37662 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
37663}
37664static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
37665 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
37666}
37667static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
37668 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
37669}
37670static void *_p_wxDialogTo_p_wxWindow(void *x) {
37671 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
37672}
44127b65
RD
37673static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
37674 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
37675}
37676static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
37677 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
37678}
37679static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
37680 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
37681}
37682static void *_p_wxPyControlPointTo_p_wxObject(void *x) {
37683 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyControlPoint *) x));
37684}
37685static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
37686 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
37687}
37688static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
37689 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
37690}
37691static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
37692 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
37693}
37694static void *_p_wxSizerItemTo_p_wxObject(void *x) {
37695 return (void *)((wxObject *) ((wxSizerItem *) x));
37696}
37697static void *_p_wxScrollEventTo_p_wxObject(void *x) {
37698 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
37699}
37700static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
37701 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
37702}
37703static void *_p_wxOGLConstraintTo_p_wxObject(void *x) {
37704 return (void *)((wxObject *) ((wxOGLConstraint *) x));
37705}
37706static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
37707 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
37708}
37709static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
37710 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
37711}
37712static void *_p_wxSizerTo_p_wxObject(void *x) {
37713 return (void *)((wxObject *) ((wxSizer *) x));
37714}
37715static void *_p_wxPyDrawnShapeTo_p_wxObject(void *x) {
37716 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyDrawnShape *) x));
37717}
37718static void *_p_wxPyDivisionShapeTo_p_wxObject(void *x) {
37719 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *)(wxPyCompositeShape *) ((wxPyDivisionShape *) x));
37720}
37721static void *_p_wxPyPolygonShapeTo_p_wxObject(void *x) {
37722 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *) ((wxPyPolygonShape *) x));
37723}
37724static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
37725 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
37726}
37727static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
37728 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
37729}
37730static void *_p_wxArrowHeadTo_p_wxObject(void *x) {
37731 return (void *)((wxObject *) ((wxArrowHead *) x));
37732}
37733static void *_p_wxPyPanelTo_p_wxObject(void *x) {
37734 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
37735}
37736static void *_p_wxEventTo_p_wxObject(void *x) {
37737 return (void *)((wxObject *) ((wxEvent *) x));
37738}
37739static void *_p_wxFontDataTo_p_wxObject(void *x) {
37740 return (void *)((wxObject *) ((wxFontData *) x));
37741}
37742static void *_p_wxPrintDataTo_p_wxObject(void *x) {
37743 return (void *)((wxObject *) ((wxPrintData *) x));
37744}
37745static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
37746 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
37747}
37748static void *_p_wxGridSizerTo_p_wxObject(void *x) {
37749 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
37750}
37751static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
37752 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
37753}
37754static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
37755 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
37756}
84f85550
RD
37757static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
37758 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
44127b65
RD
37759}
37760static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
37761 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
37762}
37763static void *_p_wxPaintEventTo_p_wxObject(void *x) {
37764 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
37765}
37766static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
37767 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
37768}
37769static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
37770 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
37771}
37772static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
37773 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
37774}
37775static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
37776 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
37777}
37778static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
37779 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
37780}
37781static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
37782 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
37783}
37784static void *_p_wxPyShapeCanvasTo_p_wxObject(void *x) {
37785 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyShapeCanvas *) x));
37786}
37787static void *_p_wxControlTo_p_wxObject(void *x) {
37788 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
37789}
37790static void *_p_wxPyEllipseShapeTo_p_wxObject(void *x) {
37791 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *) ((wxPyEllipseShape *) x));
37792}
37793static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
37794 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
37795}
37796static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
37797 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
37798}
37799static void *_p_wxFSFileTo_p_wxObject(void *x) {
37800 return (void *)((wxObject *) ((wxFSFile *) x));
37801}
37802static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
37803 return (void *)((wxObject *) ((wxFindReplaceData *) x));
37804}
37805static void *_p_wxPyBitmapShapeTo_p_wxObject(void *x) {
37806 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyBitmapShape *) x));
37807}
37808static void *_p_wxPySizerTo_p_wxObject(void *x) {
37809 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
37810}
37811static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
37812 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
37813}
37814static void *_p_wxColourDataTo_p_wxObject(void *x) {
37815 return (void *)((wxObject *) ((wxColourData *) x));
37816}
37817static void *_p_wxPyEventTo_p_wxObject(void *x) {
37818 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
37819}
37820static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
37821 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
37822}
37823static void *_p_wxPyWindowTo_p_wxObject(void *x) {
37824 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
37825}
37826static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
37827 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
37828}
37829static void *_p_wxFileDialogTo_p_wxObject(void *x) {
37830 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
37831}
37832static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
37833 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
37834}
37835static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
37836 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
37837}
37838static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
37839 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
37840}
070c48b4
RD
37841static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
37842 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
37843}
44127b65
RD
37844static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
37845 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
37846}
37847static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
37848 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
37849}
37850static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
37851 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
37852}
37853static void *_p_wxShowEventTo_p_wxObject(void *x) {
37854 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
37855}
37856static void *_p_wxPrinterTo_p_wxObject(void *x) {
37857 return (void *)((wxObject *) ((wxPrinter *) x));
37858}
37859static void *_p_wxMenuItemTo_p_wxObject(void *x) {
37860 return (void *)((wxObject *) ((wxMenuItem *) x));
37861}
53aa7709
RD
37862static void *_p_wxDateEventTo_p_wxObject(void *x) {
37863 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
37864}
44127b65
RD
37865static void *_p_wxIdleEventTo_p_wxObject(void *x) {
37866 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
37867}
37868static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
37869 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
37870}
37871static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
37872 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
37873}
37874static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
37875 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
37876}
37877static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
37878 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
37879}
37880static void *_p_wxSizeEventTo_p_wxObject(void *x) {
37881 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
37882}
37883static void *_p_wxMoveEventTo_p_wxObject(void *x) {
37884 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
37885}
37886static void *_p_wxActivateEventTo_p_wxObject(void *x) {
37887 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
37888}
37889static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
37890 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
37891}
37892static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
37893 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
37894}
37895static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
37896 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
37897}
37898static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
37899 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
37900}
37901static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
37902 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
37903}
37904static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
37905 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
37906}
37907static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
37908 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
37909}
37910static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
37911 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
37912}
37913static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
37914 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
37915}
37916static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
37917 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
37918}
37919static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
37920 return (void *)((wxObject *) ((wxImageHandler *) x));
37921}
37922static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
37923 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
37924}
37925static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
37926 return (void *)((wxObject *) ((wxEvtHandler *) x));
37927}
37928static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
37929 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
37930}
37931static void *_p_wxPyShapeEvtHandlerTo_p_wxObject(void *x) {
37932 return (void *)((wxObject *) ((wxPyShapeEvtHandler *) x));
37933}
37934static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
37935 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
37936}
37937static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
37938 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
37939}
37940static void *_p_wxPyTextShapeTo_p_wxObject(void *x) {
37941 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyTextShape *) x));
37942}
51b83b37
RD
37943static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
37944 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
37945}
44127b65
RD
37946static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
37947 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
37948}
37949static void *_p_wxPyDividedShapeTo_p_wxObject(void *x) {
37950 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyDividedShape *) x));
37951}
37952static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
37953 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
37954}
37955static void *_p_wxImageTo_p_wxObject(void *x) {
37956 return (void *)((wxObject *) ((wxImage *) x));
37957}
37958static void *_p_wxFrameTo_p_wxObject(void *x) {
37959 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
37960}
37961static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
37962 return (void *)((wxObject *) ((wxPyPrintout *) x));
37963}
37964static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
37965 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
37966}
37967static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
37968 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
37969}
37970static void *_p_wxDiagramTo_p_wxObject(void *x) {
37971 return (void *)((wxObject *) ((wxDiagram *) x));
37972}
37973static void *_p_wxStatusBarTo_p_wxObject(void *x) {
37974 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
37975}
37976static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
37977 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
37978}
37979static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
37980 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
37981}
37982static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
37983 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
37984}
37985static void *_p_wxKeyEventTo_p_wxObject(void *x) {
37986 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
37987}
44127b65
RD
37988static void *_p_wxWindowTo_p_wxObject(void *x) {
37989 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
37990}
37991static void *_p_wxMenuTo_p_wxObject(void *x) {
37992 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
37993}
37994static void *_p_wxMenuBarTo_p_wxObject(void *x) {
37995 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
37996}
41f1cec7
RD
37997static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
37998 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
37999}
44127b65
RD
38000static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
38001 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
38002}
38003static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
38004 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
38005}
38006static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
38007 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
38008}
38009static void *_p_wxSashWindowTo_p_wxObject(void *x) {
38010 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
38011}
38012static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
38013 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
38014}
38015static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
38016 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
38017}
38018static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
38019 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
38020}
38021static void *_p_wxTipWindowTo_p_wxObject(void *x) {
38022 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
38023}
38024static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
38025 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
38026}
38027static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
38028 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
38029}
a2482628
RD
38030static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
38031 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
38032}
44127b65
RD
38033static void *_p_wxSashEventTo_p_wxObject(void *x) {
38034 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
38035}
38036static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
38037 return (void *)((wxObject *) ((wxPrintPreview *) x));
38038}
38039static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
38040 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
38041}
38042static void *_p_wxPanelTo_p_wxObject(void *x) {
38043 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
38044}
38045static void *_p_wxDialogTo_p_wxObject(void *x) {
38046 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
38047}
38048static void *_p_wxColourDialogTo_p_wxObject(void *x) {
38049 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
38050}
38051static void *_p_wxDirDialogTo_p_wxObject(void *x) {
38052 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
38053}
38054static void *_p_wxFontDialogTo_p_wxObject(void *x) {
38055 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
38056}
38057static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
6e0de3df 38058 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
44127b65
RD
38059}
38060static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
fc71d09b 38061 return (void *)((wxObject *) ((wxPrintDialog *) x));
44127b65 38062}
7a0a63ae
RD
38063static void *_p_wxAttachmentPointTo_p_wxObject(void *x) {
38064 return (void *)((wxObject *) ((wxAttachmentPoint *) x));
38065}
44127b65
RD
38066static void *_p_wxPyShapeTo_p_wxObject(void *x) {
38067 return (void *)((wxObject *) (wxPyShapeEvtHandler *) ((wxPyShape *) x));
38068}
38069static void *_p_wxFileSystemTo_p_wxObject(void *x) {
38070 return (void *)((wxObject *) ((wxFileSystem *) x));
38071}
38072static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
38073 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
38074}
38075static void *_p_wxMenuEventTo_p_wxObject(void *x) {
38076 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
38077}
38078static void *_p_wxPyAppTo_p_wxObject(void *x) {
38079 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
38080}
38081static void *_p_wxCloseEventTo_p_wxObject(void *x) {
38082 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
38083}
38084static void *_p_wxMouseEventTo_p_wxObject(void *x) {
38085 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
38086}
38087static void *_p_wxEraseEventTo_p_wxObject(void *x) {
38088 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
38089}
38090static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
38091 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
38092}
38093static void *_p_wxCommandEventTo_p_wxObject(void *x) {
38094 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
38095}
38096static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
38097 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
38098}
38099static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
38100 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
38101}
38102static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
38103 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
38104}
38105static void *_p_wxFocusEventTo_p_wxObject(void *x) {
38106 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
38107}
38108static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
38109 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
38110}
38111static void *_p_wxPyRectangleShapeTo_p_wxObject(void *x) {
38112 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *) ((wxPyRectangleShape *) x));
38113}
38114static void *_p_wxPyCompositeShapeTo_p_wxObject(void *x) {
38115 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyRectangleShape *) ((wxPyCompositeShape *) x));
38116}
38117static void *_p_wxPyCircleShapeTo_p_wxObject(void *x) {
38118 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *)(wxPyEllipseShape *) ((wxPyCircleShape *) x));
38119}
38120static void *_p_wxPyLineShapeTo_p_wxObject(void *x) {
38121 return (void *)((wxObject *) (wxPyShapeEvtHandler *)(wxPyShape *) ((wxPyLineShape *) x));
38122}
38123static void *_p_wxPseudoMetaFileTo_p_wxObject(void *x) {
38124 return (void *)((wxObject *) ((wxPseudoMetaFile *) x));
38125}
38126static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
38127 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
38128}
38129static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
38130 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
38131}
38132static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
38133 return (void *)((wxObject *) ((wxPrintDialogData *) x));
38134}
38135static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
38136 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
38137}
38138static void *_p_wxValidatorTo_p_wxObject(void *x) {
38139 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
38140}
38141static void *_p_wxShapeRegionTo_p_wxObject(void *x) {
38142 return (void *)((wxObject *) ((wxShapeRegion *) x));
38143}
38144static void *_p_wxPyRectangleShapeTo_p_wxPyShapeEvtHandler(void *x) {
38145 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *) ((wxPyRectangleShape *) x));
38146}
38147static void *_p_wxPyBitmapShapeTo_p_wxPyShapeEvtHandler(void *x) {
38148 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyBitmapShape *) x));
38149}
38150static void *_p_wxPyCompositeShapeTo_p_wxPyShapeEvtHandler(void *x) {
38151 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyCompositeShape *) x));
38152}
38153static void *_p_wxPyCircleShapeTo_p_wxPyShapeEvtHandler(void *x) {
38154 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyEllipseShape *) ((wxPyCircleShape *) x));
38155}
38156static void *_p_wxPyLineShapeTo_p_wxPyShapeEvtHandler(void *x) {
38157 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *) ((wxPyLineShape *) x));
38158}
38159static void *_p_wxPyTextShapeTo_p_wxPyShapeEvtHandler(void *x) {
38160 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyTextShape *) x));
38161}
38162static void *_p_wxPyControlPointTo_p_wxPyShapeEvtHandler(void *x) {
38163 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyControlPoint *) x));
38164}
38165static void *_p_wxPyDrawnShapeTo_p_wxPyShapeEvtHandler(void *x) {
38166 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyDrawnShape *) x));
38167}
38168static void *_p_wxPyDivisionShapeTo_p_wxPyShapeEvtHandler(void *x) {
38169 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *)(wxPyCompositeShape *) ((wxPyDivisionShape *) x));
38170}
38171static void *_p_wxPyPolygonShapeTo_p_wxPyShapeEvtHandler(void *x) {
38172 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *) ((wxPyPolygonShape *) x));
38173}
38174static void *_p_wxPyDividedShapeTo_p_wxPyShapeEvtHandler(void *x) {
38175 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *)(wxPyRectangleShape *) ((wxPyDividedShape *) x));
38176}
38177static void *_p_wxPyShapeTo_p_wxPyShapeEvtHandler(void *x) {
38178 return (void *)((wxPyShapeEvtHandler *) ((wxPyShape *) x));
38179}
38180static void *_p_wxPyEllipseShapeTo_p_wxPyShapeEvtHandler(void *x) {
38181 return (void *)((wxPyShapeEvtHandler *) (wxPyShape *) ((wxPyEllipseShape *) x));
38182}
38183static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
38184 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
38185}
38186static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
38187 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
38188}
38189static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
38190 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
38191}
38192static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
38193 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
38194}
38195static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
38196 return (void *)((wxEvtHandler *) ((wxValidator *) x));
38197}
38198static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
38199 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
38200}
38201static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
38202 return (void *)((wxEvtHandler *) ((wxMenu *) x));
38203}
070c48b4
RD
38204static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
38205 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
38206}
44127b65
RD
38207static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
38208 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
38209}
38210static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
38211 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
38212}
38213static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
38214 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
38215}
38216static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
38217 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
38218}
38219static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
38220 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
38221}
38222static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
38223 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
38224}
38225static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
38226 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
38227}
38228static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
38229 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
38230}
38231static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
38232 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
38233}
38234static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
38235 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
38236}
38237static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
38238 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
38239}
38240static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
38241 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
38242}
38243static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
38244 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
38245}
38246static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
38247 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
38248}
38249static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
38250 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
38251}
38252static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
38253 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
38254}
38255static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
38256 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
38257}
38258static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
38259 return (void *)((wxEvtHandler *) ((wxWindow *) x));
38260}
38261static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
38262 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
38263}
38264static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
38265 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
38266}
38267static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
38268 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
38269}
a2482628
RD
38270static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
38271 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
38272}
44127b65
RD
38273static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
38274 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
38275}
38276static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
38277 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
38278}
38279static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
38280 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
38281}
38282static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
38283 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
38284}
38285static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
38286 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
38287}
38288static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
38289 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
38290}
38291static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
38292 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
38293}
38294static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
38295 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
38296}
38297static void *_p_wxPyShapeCanvasTo_p_wxEvtHandler(void *x) {
38298 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyShapeCanvas *) x));
38299}
38300static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
38301 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
38302}
38303static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
38304 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
38305}
38306static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
38307 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
38308}
38309static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
38310 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
38311}
84f85550
RD
38312static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
38313 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
44127b65
RD
38314}
38315static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
38316 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
38317}
44127b65
RD
38318static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
38319 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
38320}
38321static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
38322 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
38323}
38324static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
38325 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
38326}
070c48b4
RD
38327static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
38328 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
38329}
44127b65
RD
38330static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
38331 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
38332}
38333static void *_p_wxPyCircleShapeTo_p_wxPyEllipseShape(void *x) {
38334 return (void *)((wxPyEllipseShape *) ((wxPyCircleShape *) x));
38335}
38336static void *_p_wxPyRectangleShapeTo_p_wxPyShape(void *x) {
38337 return (void *)((wxPyShape *) ((wxPyRectangleShape *) x));
38338}
38339static void *_p_wxPyBitmapShapeTo_p_wxPyShape(void *x) {
38340 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyBitmapShape *) x));
38341}
38342static void *_p_wxPyCompositeShapeTo_p_wxPyShape(void *x) {
38343 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyCompositeShape *) x));
38344}
38345static void *_p_wxPyCircleShapeTo_p_wxPyShape(void *x) {
38346 return (void *)((wxPyShape *) (wxPyEllipseShape *) ((wxPyCircleShape *) x));
38347}
38348static void *_p_wxPyLineShapeTo_p_wxPyShape(void *x) {
38349 return (void *)((wxPyShape *) ((wxPyLineShape *) x));
38350}
38351static void *_p_wxPyTextShapeTo_p_wxPyShape(void *x) {
38352 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyTextShape *) x));
38353}
38354static void *_p_wxPyControlPointTo_p_wxPyShape(void *x) {
38355 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyControlPoint *) x));
38356}
38357static void *_p_wxPyDrawnShapeTo_p_wxPyShape(void *x) {
38358 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyDrawnShape *) x));
38359}
38360static void *_p_wxPyDivisionShapeTo_p_wxPyShape(void *x) {
38361 return (void *)((wxPyShape *) (wxPyRectangleShape *)(wxPyCompositeShape *) ((wxPyDivisionShape *) x));
38362}
38363static void *_p_wxPyPolygonShapeTo_p_wxPyShape(void *x) {
38364 return (void *)((wxPyShape *) ((wxPyPolygonShape *) x));
38365}
38366static void *_p_wxPyDividedShapeTo_p_wxPyShape(void *x) {
38367 return (void *)((wxPyShape *) (wxPyRectangleShape *) ((wxPyDividedShape *) x));
38368}
38369static void *_p_wxPyEllipseShapeTo_p_wxPyShape(void *x) {
38370 return (void *)((wxPyShape *) ((wxPyEllipseShape *) x));
38371}
38372static void *_p_wxPyBitmapShapeTo_p_wxPyRectangleShape(void *x) {
38373 return (void *)((wxPyRectangleShape *) ((wxPyBitmapShape *) x));
38374}
38375static void *_p_wxPyCompositeShapeTo_p_wxPyRectangleShape(void *x) {
38376 return (void *)((wxPyRectangleShape *) ((wxPyCompositeShape *) x));
38377}
38378static void *_p_wxPyTextShapeTo_p_wxPyRectangleShape(void *x) {
38379 return (void *)((wxPyRectangleShape *) ((wxPyTextShape *) x));
38380}
38381static void *_p_wxPyControlPointTo_p_wxPyRectangleShape(void *x) {
38382 return (void *)((wxPyRectangleShape *) ((wxPyControlPoint *) x));
38383}
38384static void *_p_wxPyDrawnShapeTo_p_wxPyRectangleShape(void *x) {
38385 return (void *)((wxPyRectangleShape *) ((wxPyDrawnShape *) x));
38386}
38387static void *_p_wxPyDivisionShapeTo_p_wxPyRectangleShape(void *x) {
38388 return (void *)((wxPyRectangleShape *) (wxPyCompositeShape *) ((wxPyDivisionShape *) x));
38389}
38390static void *_p_wxPyDividedShapeTo_p_wxPyRectangleShape(void *x) {
38391 return (void *)((wxPyRectangleShape *) ((wxPyDividedShape *) x));
38392}
38393static void *_p_wxPyDivisionShapeTo_p_wxPyCompositeShape(void *x) {
38394 return (void *)((wxPyCompositeShape *) ((wxPyDivisionShape *) x));
38395}
2f4c0a16
RD
38396static swig_type_info _swigt__p_wxOGLConstraint[] = {{"_p_wxOGLConstraint", 0, "wxOGLConstraint *", 0, 0, 0, 0},{"_p_wxOGLConstraint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
38397static swig_type_info _swigt__p_wxBrush[] = {{"_p_wxBrush", 0, "wxBrush *", 0, 0, 0, 0},{"_p_wxBrush", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
38398static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
38399static swig_type_info _swigt__p_wxShapeRegion[] = {{"_p_wxShapeRegion", 0, "wxShapeRegion *", 0, 0, 0, 0},{"_p_wxShapeRegion", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
38400static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2f4c0a16 38401static swig_type_info _swigt__p_wxPyControlPoint[] = {{"_p_wxPyControlPoint", 0, "wxPyControlPoint *", 0, 0, 0, 0},{"_p_wxPyControlPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36ed4f51
RD
38402static swig_type_info _swigt__p_wxRealPoint[] = {{"_p_wxRealPoint", 0, "wxRealPoint *", 0, 0, 0, 0},{"_p_wxRealPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
38403static swig_type_info _swigt__p_form_ops_t[] = {{"_p_form_ops_t", 0, "enum form_ops_t *|form_ops_t *", 0, 0, 0, 0},{"_p_form_ops_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
38404static swig_type_info _swigt__p_wxDuplexMode[] = {{"_p_wxDuplexMode", 0, "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0, 0},{"_p_wxDuplexMode", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2f4c0a16
RD
38405static swig_type_info _swigt__p_wxArrowHead[] = {{"_p_wxArrowHead", 0, "wxArrowHead *", 0, 0, 0, 0},{"_p_wxArrowHead", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
38406static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
a2482628 38407static swig_type_info _swigt__p_wxPanel[] = {{"_p_wxPanel", 0, "wxPanel *", 0, 0, 0, 0},{"_p_wxPanel", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2f4c0a16 38408static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0, 0, 0, 0},{"_p_bool", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36ed4f51 38409static swig_type_info _swigt__p_wxStringList[] = {{"_p_wxStringList", 0, "wxStringList *", 0, 0, 0, 0},{"_p_wxStringList", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2f4c0a16
RD
38410static swig_type_info _swigt__p_wxList[] = {{"_p_wxList", 0, "wxList *", 0, 0, 0, 0},{"_p_wxList", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
38411static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
a2482628 38412static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0, 0, 0, 0},{"_p_wxScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
6e0de3df 38413static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2f4c0a16 38414static swig_type_info _swigt__p_double[] = {{"_p_double", 0, "double *", 0, 0, 0, 0},{"_p_double", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2f4c0a16 38415static swig_type_info _swigt__p_wxPyDrawnShape[] = {{"_p_wxPyDrawnShape", 0, "wxPyDrawnShape *", 0, 0, 0, 0},{"_p_wxPyDrawnShape", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36ed4f51 38416static swig_type_info _swigt__p_wxPyDivisionShape[] = {{"_p_wxPyDivisionShape", 0, "wxPyDivisionShape *", 0, 0, 0, 0},{"_p_wxPyDivisionShape", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2f4c0a16 38417static swig_type_info _swigt__p_wxPyPolygonShape[] = {{"_p_wxPyPolygonShape", 0, "wxPyPolygonShape *", 0, 0, 0, 0},{"_p_wxPyPolygonShape", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
53aa7709 38418static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyControlPoint", _p_wxPyControlPointTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxOGLConstraint", _p_wxOGLConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPolygonShape", _p_wxPyPolygonShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyDivisionShape", _p_wxPyDivisionShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyDrawnShape", _p_wxPyDrawnShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxArrowHead", _p_wxArrowHeadTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEllipseShape", _p_wxPyEllipseShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyBitmapShape", _p_wxPyBitmapShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyShapeEvtHandler", _p_wxPyShapeEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTextShape", _p_wxPyTextShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyDividedShape", _p_wxPyDividedShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDiagram", _p_wxDiagramTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyShape", _p_wxPyShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAttachmentPoint", _p_wxAttachmentPointTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCircleShape", _p_wxPyCircleShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyLineShape", _p_wxPyLineShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCompositeShape", _p_wxPyCompositeShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyRectangleShape", _p_wxPyRectangleShapeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPseudoMetaFile", _p_wxPseudoMetaFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShapeRegion", _p_wxShapeRegionTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36ed4f51
RD
38419static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
38420static swig_type_info _swigt__p_wxPaperSize[] = {{"_p_wxPaperSize", 0, "enum wxPaperSize *|wxPaperSize *", 0, 0, 0, 0},{"_p_wxPaperSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
38421static swig_type_info _swigt__p_unsigned_int[] = {{"_p_unsigned_int", 0, "unsigned int *|time_t *", 0, 0, 0, 0},{"_p_unsigned_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
38422static swig_type_info _swigt__unsigned_int[] = {{"_unsigned_int", 0, "unsigned int|std::size_t", 0, 0, 0, 0},{"_unsigned_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2f4c0a16
RD
38423static swig_type_info _swigt__p_wxPyBitmapShape[] = {{"_p_wxPyBitmapShape", 0, "wxPyBitmapShape *", 0, 0, 0, 0},{"_p_wxPyBitmapShape", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
38424static swig_type_info _swigt__p_wxPyShapeEvtHandler[] = {{"_p_wxPyShapeEvtHandler", 0, "wxPyShapeEvtHandler *", 0, 0, 0, 0},{"_p_wxPyControlPoint", _p_wxPyControlPointTo_p_wxPyShapeEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyRectangleShape", _p_wxPyRectangleShapeTo_p_wxPyShapeEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyCompositeShape", _p_wxPyCompositeShapeTo_p_wxPyShapeEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyCircleShape", _p_wxPyCircleShapeTo_p_wxPyShapeEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyLineShape", _p_wxPyLineShapeTo_p_wxPyShapeEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyDividedShape", _p_wxPyDividedShapeTo_p_wxPyShapeEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyEllipseShape", _p_wxPyEllipseShapeTo_p_wxPyShapeEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPolygonShape", _p_wxPyPolygonShapeTo_p_wxPyShapeEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyDrawnShape", _p_wxPyDrawnShapeTo_p_wxPyShapeEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyDivisionShape", _p_wxPyDivisionShapeTo_p_wxPyShapeEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyShape", _p_wxPyShapeTo_p_wxPyShapeEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyShapeEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyBitmapShape", _p_wxPyBitmapShapeTo_p_wxPyShapeEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTextShape", _p_wxPyTextShapeTo_p_wxPyShapeEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
6e0de3df 38425static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyShapeCanvas", _p_wxPyShapeCanvasTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2f4c0a16
RD
38426static swig_type_info _swigt__p_wxPyEllipseShape[] = {{"_p_wxPyEllipseShape", 0, "wxPyEllipseShape *", 0, 0, 0, 0},{"_p_wxPyCircleShape", _p_wxPyCircleShapeTo_p_wxPyEllipseShape, 0, 0, 0, 0, 0},{"_p_wxPyEllipseShape", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
38427static swig_type_info _swigt__p_wxPyShapeCanvas[] = {{"_p_wxPyShapeCanvas", 0, "wxPyShapeCanvas *", 0, 0, 0, 0},{"_p_wxPyShapeCanvas", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
38428static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
38429static swig_type_info _swigt__p_wxDiagram[] = {{"_p_wxDiagram", 0, "wxDiagram *", 0, 0, 0, 0},{"_p_wxDiagram", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
38430static swig_type_info _swigt__p_wxPyShape[] = {{"_p_wxPyShape", 0, "wxPyShape *", 0, 0, 0, 0},{"_p_wxPyRectangleShape", _p_wxPyRectangleShapeTo_p_wxPyShape, 0, 0, 0, 0, 0},{"_p_wxPyBitmapShape", _p_wxPyBitmapShapeTo_p_wxPyShape, 0, 0, 0, 0, 0},{"_p_wxPyCompositeShape", _p_wxPyCompositeShapeTo_p_wxPyShape, 0, 0, 0, 0, 0},{"_p_wxPyCircleShape", _p_wxPyCircleShapeTo_p_wxPyShape, 0, 0, 0, 0, 0},{"_p_wxPyLineShape", _p_wxPyLineShapeTo_p_wxPyShape, 0, 0, 0, 0, 0},{"_p_wxPyTextShape", _p_wxPyTextShapeTo_p_wxPyShape, 0, 0, 0, 0, 0},{"_p_wxPyDivisionShape", _p_wxPyDivisionShapeTo_p_wxPyShape, 0, 0, 0, 0, 0},{"_p_wxPyControlPoint", _p_wxPyControlPointTo_p_wxPyShape, 0, 0, 0, 0, 0},{"_p_wxPyDrawnShape", _p_wxPyDrawnShapeTo_p_wxPyShape, 0, 0, 0, 0, 0},{"_p_wxPyPolygonShape", _p_wxPyPolygonShapeTo_p_wxPyShape, 0, 0, 0, 0, 0},{"_p_wxPyDividedShape", _p_wxPyDividedShapeTo_p_wxPyShape, 0, 0, 0, 0, 0},{"_p_wxPyShape", 0, 0, 0, 0, 0, 0},{"_p_wxPyEllipseShape", _p_wxPyEllipseShapeTo_p_wxPyShape, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
38431static swig_type_info _swigt__p_wxAttachmentPoint[] = {{"_p_wxAttachmentPoint", 0, "wxAttachmentPoint *", 0, 0, 0, 0},{"_p_wxAttachmentPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36ed4f51
RD
38432static swig_type_info _swigt__p_unsigned_char[] = {{"_p_unsigned_char", 0, "unsigned char *|byte *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
38433static swig_type_info _swigt__ptrdiff_t[] = {{"_ptrdiff_t", 0, "ptrdiff_t", 0, 0, 0, 0},{"_ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
38434static swig_type_info _swigt__std__ptrdiff_t[] = {{"_std__ptrdiff_t", 0, "std::ptrdiff_t", 0, 0, 0, 0},{"_std__ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2f4c0a16
RD
38435static swig_type_info _swigt__p_wxClassInfo[] = {{"_p_wxClassInfo", 0, "wxClassInfo *", 0, 0, 0, 0},{"_p_wxClassInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
38436static swig_type_info _swigt__p_wxPyLineShape[] = {{"_p_wxPyLineShape", 0, "wxPyLineShape *", 0, 0, 0, 0},{"_p_wxPyLineShape", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
38437static swig_type_info _swigt__p_wxPyRectangleShape[] = {{"_p_wxPyRectangleShape", 0, "wxPyRectangleShape *", 0, 0, 0, 0},{"_p_wxPyRectangleShape", 0, 0, 0, 0, 0, 0},{"_p_wxPyBitmapShape", _p_wxPyBitmapShapeTo_p_wxPyRectangleShape, 0, 0, 0, 0, 0},{"_p_wxPyCompositeShape", _p_wxPyCompositeShapeTo_p_wxPyRectangleShape, 0, 0, 0, 0, 0},{"_p_wxPyTextShape", _p_wxPyTextShapeTo_p_wxPyRectangleShape, 0, 0, 0, 0, 0},{"_p_wxPyDivisionShape", _p_wxPyDivisionShapeTo_p_wxPyRectangleShape, 0, 0, 0, 0, 0},{"_p_wxPyControlPoint", _p_wxPyControlPointTo_p_wxPyRectangleShape, 0, 0, 0, 0, 0},{"_p_wxPyDrawnShape", _p_wxPyDrawnShapeTo_p_wxPyRectangleShape, 0, 0, 0, 0, 0},{"_p_wxPyDividedShape", _p_wxPyDividedShapeTo_p_wxPyRectangleShape, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
38438static swig_type_info _swigt__p_wxPyCompositeShape[] = {{"_p_wxPyCompositeShape", 0, "wxPyCompositeShape *", 0, 0, 0, 0},{"_p_wxPyCompositeShape", 0, 0, 0, 0, 0, 0},{"_p_wxPyDivisionShape", _p_wxPyDivisionShapeTo_p_wxPyCompositeShape, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
38439static swig_type_info _swigt__p_wxPyCircleShape[] = {{"_p_wxPyCircleShape", 0, "wxPyCircleShape *", 0, 0, 0, 0},{"_p_wxPyCircleShape", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
38440static swig_type_info _swigt__p_wxPen[] = {{"_p_wxPen", 0, "wxPen *", 0, 0, 0, 0},{"_p_wxPen", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
38441static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
38442static swig_type_info _swigt__p_wxPseudoMetaFile[] = {{"_p_wxPseudoMetaFile", 0, "wxPseudoMetaFile *", 0, 0, 0, 0},{"_p_wxPseudoMetaFile", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
38443static swig_type_info _swigt__p_wxPyTextShape[] = {{"_p_wxPyTextShape", 0, "wxPyTextShape *", 0, 0, 0, 0},{"_p_wxPyTextShape", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36ed4f51 38444static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *|wxUIntPtr *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2f4c0a16 38445static swig_type_info _swigt__p_wxPyDividedShape[] = {{"_p_wxPyDividedShape", 0, "wxPyDividedShape *", 0, 0, 0, 0},{"_p_wxPyDividedShape", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
44127b65
RD
38446
38447static swig_type_info *swig_types_initial[] = {
38448_swigt__p_wxOGLConstraint,
38449_swigt__p_wxBrush,
38450_swigt__p_wxColour,
38451_swigt__p_wxShapeRegion,
38452_swigt__p_wxDC,
44127b65 38453_swigt__p_wxPyControlPoint,
36ed4f51
RD
38454_swigt__p_wxRealPoint,
38455_swigt__p_form_ops_t,
38456_swigt__p_wxDuplexMode,
44127b65 38457_swigt__p_wxArrowHead,
8edf1c75 38458_swigt__p_char,
44127b65
RD
38459_swigt__p_wxPanel,
38460_swigt__p_bool,
36ed4f51 38461_swigt__p_wxStringList,
44127b65
RD
38462_swigt__p_wxList,
38463_swigt__p_wxFont,
38464_swigt__p_wxScrolledWindow,
38465_swigt__p_wxWindow,
38466_swigt__p_double,
02a34c4c 38467_swigt__p_wxPyDrawnShape,
36ed4f51 38468_swigt__p_wxPyDivisionShape,
44127b65 38469_swigt__p_wxPyPolygonShape,
44127b65 38470_swigt__p_wxObject,
36ed4f51
RD
38471_swigt__p_wxBitmap,
38472_swigt__p_wxPaperSize,
38473_swigt__p_unsigned_int,
38474_swigt__unsigned_int,
44127b65 38475_swigt__p_wxPyBitmapShape,
44127b65
RD
38476_swigt__p_wxPyShapeEvtHandler,
38477_swigt__p_wxEvtHandler,
38478_swigt__p_wxPyEllipseShape,
38479_swigt__p_wxPyShapeCanvas,
38480_swigt__p_wxPoint,
38481_swigt__p_wxDiagram,
38482_swigt__p_wxPyShape,
7a0a63ae 38483_swigt__p_wxAttachmentPoint,
36ed4f51
RD
38484_swigt__p_unsigned_char,
38485_swigt__ptrdiff_t,
38486_swigt__std__ptrdiff_t,
44127b65
RD
38487_swigt__p_wxClassInfo,
38488_swigt__p_wxPyLineShape,
38489_swigt__p_wxPyRectangleShape,
38490_swigt__p_wxPyCompositeShape,
38491_swigt__p_wxPyCircleShape,
38492_swigt__p_wxPen,
38493_swigt__p_int,
38494_swigt__p_wxPseudoMetaFile,
38495_swigt__p_wxPyTextShape,
36ed4f51 38496_swigt__p_unsigned_long,
44127b65
RD
38497_swigt__p_wxPyDividedShape,
384980
38499};
38500
38501
38502/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
38503
38504static swig_const_info swig_const_table[] = {
c370783e 38505{0, 0, 0, 0.0, 0, 0}};
44127b65
RD
38506
38507#ifdef __cplusplus
38508}
38509#endif
38510
36ed4f51
RD
38511
38512#ifdef __cplusplus
38513extern "C" {
38514#endif
38515
38516 /* Python-specific SWIG API */
38517#define SWIG_newvarlink() SWIG_Python_newvarlink()
38518#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
38519#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
38520
38521 /* -----------------------------------------------------------------------------
38522 * global variable support code.
38523 * ----------------------------------------------------------------------------- */
38524
38525 typedef struct swig_globalvar {
38526 char *name; /* Name of global variable */
38527 PyObject *(*get_attr)(); /* Return the current value */
38528 int (*set_attr)(PyObject *); /* Set the value */
38529 struct swig_globalvar *next;
38530 } swig_globalvar;
38531
38532 typedef struct swig_varlinkobject {
38533 PyObject_HEAD
38534 swig_globalvar *vars;
38535 } swig_varlinkobject;
38536
38537 static PyObject *
38538 swig_varlink_repr(swig_varlinkobject *v) {
38539 v = v;
38540 return PyString_FromString("<Swig global variables>");
38541 }
38542
38543 static int
38544 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
38545 swig_globalvar *var;
38546 flags = flags;
38547 fprintf(fp,"Swig global variables { ");
38548 for (var = v->vars; var; var=var->next) {
38549 fprintf(fp,"%s", var->name);
38550 if (var->next) fprintf(fp,", ");
38551 }
38552 fprintf(fp," }\n");
38553 return 0;
38554 }
38555
38556 static PyObject *
38557 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
38558 swig_globalvar *var = v->vars;
38559 while (var) {
38560 if (strcmp(var->name,n) == 0) {
38561 return (*var->get_attr)();
38562 }
38563 var = var->next;
38564 }
38565 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
38566 return NULL;
38567 }
38568
38569 static int
38570 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
38571 swig_globalvar *var = v->vars;
38572 while (var) {
38573 if (strcmp(var->name,n) == 0) {
38574 return (*var->set_attr)(p);
38575 }
38576 var = var->next;
38577 }
38578 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
38579 return 1;
38580 }
38581
38582 static PyTypeObject varlinktype = {
38583 PyObject_HEAD_INIT(0)
38584 0, /* Number of items in variable part (ob_size) */
38585 (char *)"swigvarlink", /* Type name (tp_name) */
38586 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
38587 0, /* Itemsize (tp_itemsize) */
38588 0, /* Deallocator (tp_dealloc) */
38589 (printfunc) swig_varlink_print, /* Print (tp_print) */
38590 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
38591 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
38592 0, /* tp_compare */
38593 (reprfunc) swig_varlink_repr, /* tp_repr */
38594 0, /* tp_as_number */
38595 0, /* tp_as_sequence */
38596 0, /* tp_as_mapping */
38597 0, /* tp_hash */
38598 0, /* tp_call */
38599 0, /* tp_str */
38600 0, /* tp_getattro */
38601 0, /* tp_setattro */
38602 0, /* tp_as_buffer */
38603 0, /* tp_flags */
38604 0, /* tp_doc */
38605#if PY_VERSION_HEX >= 0x02000000
38606 0, /* tp_traverse */
38607 0, /* tp_clear */
38608#endif
38609#if PY_VERSION_HEX >= 0x02010000
38610 0, /* tp_richcompare */
38611 0, /* tp_weaklistoffset */
38612#endif
38613#if PY_VERSION_HEX >= 0x02020000
38614 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
38615#endif
38616#if PY_VERSION_HEX >= 0x02030000
38617 0, /* tp_del */
38618#endif
38619#ifdef COUNT_ALLOCS
38620 0,0,0,0 /* tp_alloc -> tp_next */
38621#endif
38622 };
38623
38624 /* Create a variable linking object for use later */
38625 static PyObject *
38626 SWIG_Python_newvarlink(void) {
38627 swig_varlinkobject *result = 0;
38628 result = PyMem_NEW(swig_varlinkobject,1);
38629 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
38630 result->ob_type = &varlinktype;
38631 result->vars = 0;
38632 result->ob_refcnt = 0;
38633 Py_XINCREF((PyObject *) result);
38634 return ((PyObject*) result);
38635 }
38636
38637 static void
38638 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
38639 swig_varlinkobject *v;
38640 swig_globalvar *gv;
38641 v= (swig_varlinkobject *) p;
38642 gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
38643 gv->name = (char *) malloc(strlen(name)+1);
38644 strcpy(gv->name,name);
38645 gv->get_attr = get_attr;
38646 gv->set_attr = set_attr;
38647 gv->next = v->vars;
38648 v->vars = gv;
38649 }
38650
38651 /* -----------------------------------------------------------------------------
38652 * constants/methods manipulation
38653 * ----------------------------------------------------------------------------- */
38654
38655 /* Install Constants */
38656 static void
38657 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
38658 PyObject *obj = 0;
38659 size_t i;
38660 for (i = 0; constants[i].type; i++) {
38661 switch(constants[i].type) {
38662 case SWIG_PY_INT:
38663 obj = PyInt_FromLong(constants[i].lvalue);
38664 break;
38665 case SWIG_PY_FLOAT:
38666 obj = PyFloat_FromDouble(constants[i].dvalue);
38667 break;
38668 case SWIG_PY_STRING:
38669 if (constants[i].pvalue) {
38670 obj = PyString_FromString((char *) constants[i].pvalue);
38671 } else {
38672 Py_INCREF(Py_None);
38673 obj = Py_None;
38674 }
38675 break;
38676 case SWIG_PY_POINTER:
38677 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
38678 break;
38679 case SWIG_PY_BINARY:
38680 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
38681 break;
38682 default:
38683 obj = 0;
38684 break;
38685 }
38686 if (obj) {
38687 PyDict_SetItemString(d,constants[i].name,obj);
38688 Py_DECREF(obj);
38689 }
38690 }
38691 }
38692
38693 /* -----------------------------------------------------------------------------*/
38694 /* Fix SwigMethods to carry the callback ptrs when needed */
38695 /* -----------------------------------------------------------------------------*/
38696
38697 static void
38698 SWIG_Python_FixMethods(PyMethodDef *methods,
38699 swig_const_info *const_table,
38700 swig_type_info **types,
38701 swig_type_info **types_initial) {
38702 size_t i;
38703 for (i = 0; methods[i].ml_name; ++i) {
38704 char *c = methods[i].ml_doc;
38705 if (c && (c = strstr(c, "swig_ptr: "))) {
38706 int j;
38707 swig_const_info *ci = 0;
38708 char *name = c + 10;
38709 for (j = 0; const_table[j].type; j++) {
38710 if (strncmp(const_table[j].name, name,
38711 strlen(const_table[j].name)) == 0) {
38712 ci = &(const_table[j]);
38713 break;
38714 }
38715 }
38716 if (ci) {
38717 size_t shift = (ci->ptype) - types;
38718 swig_type_info *ty = types_initial[shift];
38719 size_t ldoc = (c - methods[i].ml_doc);
38720 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
38721 char *ndoc = (char*)malloc(ldoc + lptr + 10);
38722 char *buff = ndoc;
38723 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue);
38724 strncpy(buff, methods[i].ml_doc, ldoc);
38725 buff += ldoc;
38726 strncpy(buff, "swig_ptr: ", 10);
38727 buff += 10;
38728 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
38729 methods[i].ml_doc = ndoc;
38730 }
38731 }
38732 }
38733 }
38734
38735 /* -----------------------------------------------------------------------------*
38736 * Initialize type list
38737 * -----------------------------------------------------------------------------*/
38738
38739#if PY_MAJOR_VERSION < 2
38740 /* PyModule_AddObject function was introduced in Python 2.0. The following function
38741 is copied out of Python/modsupport.c in python version 2.3.4 */
38742 static int
38743 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
38744 {
38745 PyObject *dict;
38746 if (!PyModule_Check(m)) {
38747 PyErr_SetString(PyExc_TypeError,
38748 "PyModule_AddObject() needs module as first arg");
38749 return -1;
38750 }
38751 if (!o) {
38752 PyErr_SetString(PyExc_TypeError,
38753 "PyModule_AddObject() needs non-NULL value");
38754 return -1;
38755 }
38756
38757 dict = PyModule_GetDict(m);
38758 if (dict == NULL) {
38759 /* Internal error -- modules must have a dict! */
38760 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
38761 PyModule_GetName(m));
38762 return -1;
38763 }
38764 if (PyDict_SetItemString(dict, name, o))
38765 return -1;
38766 Py_DECREF(o);
38767 return 0;
38768 }
38769#endif
38770
38771 static swig_type_info **
38772 SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) {
38773 static PyMethodDef swig_empty_runtime_method_table[] = {
38774 {
38775 NULL, NULL, 0, NULL
38776 }
38777 };/* Sentinel */
38778
38779 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
38780 swig_empty_runtime_method_table);
38781 PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL);
38782 if (pointer && module) {
38783 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
38784 }
38785 return type_list_handle;
38786 }
38787
38788 static swig_type_info **
38789 SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) {
38790 swig_type_info **type_pointer;
38791
38792 /* first check if module already created */
38793 type_pointer = SWIG_Python_GetTypeListHandle();
38794 if (type_pointer) {
38795 return type_pointer;
38796 } else {
38797 /* create a new module and variable */
38798 return SWIG_Python_SetTypeListHandle(type_list_handle);
38799 }
38800 }
38801
38802#ifdef __cplusplus
38803}
38804#endif
38805
38806/* -----------------------------------------------------------------------------*
38807 * Partial Init method
38808 * -----------------------------------------------------------------------------*/
38809
38810#ifdef SWIG_LINK_RUNTIME
38811#ifdef __cplusplus
38812extern "C"
38813#endif
38814SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
38815#endif
38816
44127b65
RD
38817#ifdef __cplusplus
38818extern "C"
38819#endif
38820SWIGEXPORT(void) SWIG_init(void) {
38821 static PyObject *SWIG_globals = 0;
38822 static int typeinit = 0;
38823 PyObject *m, *d;
38824 int i;
38825 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
36ed4f51
RD
38826
38827 /* Fix SwigMethods to carry the callback ptrs when needed */
38828 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial);
38829
44127b65
RD
38830 m = Py_InitModule((char *) SWIG_name, SwigMethods);
38831 d = PyModule_GetDict(m);
38832
38833 if (!typeinit) {
36ed4f51
RD
38834#ifdef SWIG_LINK_RUNTIME
38835 swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle);
38836#else
38837# ifndef SWIG_STATIC_RUNTIME
38838 swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle);
38839# endif
38840#endif
44127b65
RD
38841 for (i = 0; swig_types_initial[i]; i++) {
38842 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
38843 }
38844 typeinit = 1;
38845 }
38846 SWIG_InstallConstants(d,swig_const_table);
38847
36ed4f51
RD
38848 {
38849 PyDict_SetItemString(d,"oglMETAFLAGS_OUTLINE", SWIG_From_int((int)(oglMETAFLAGS_OUTLINE)));
38850 }
38851 {
38852 PyDict_SetItemString(d,"oglMETAFLAGS_ATTACHMENTS", SWIG_From_int((int)(oglMETAFLAGS_ATTACHMENTS)));
38853 }
38854 {
38855 PyDict_SetItemString(d,"KEY_SHIFT", SWIG_From_int((int)(KEY_SHIFT)));
38856 }
38857 {
38858 PyDict_SetItemString(d,"KEY_CTRL", SWIG_From_int((int)(KEY_CTRL)));
38859 }
38860 {
38861 PyDict_SetItemString(d,"ARROW_NONE", SWIG_From_int((int)(ARROW_NONE)));
38862 }
38863 {
38864 PyDict_SetItemString(d,"ARROW_END", SWIG_From_int((int)(ARROW_END)));
38865 }
38866 {
38867 PyDict_SetItemString(d,"ARROW_BOTH", SWIG_From_int((int)(ARROW_BOTH)));
38868 }
38869 {
38870 PyDict_SetItemString(d,"ARROW_MIDDLE", SWIG_From_int((int)(ARROW_MIDDLE)));
38871 }
38872 {
38873 PyDict_SetItemString(d,"ARROW_START", SWIG_From_int((int)(ARROW_START)));
38874 }
38875 {
38876 PyDict_SetItemString(d,"ARROW_HOLLOW_CIRCLE", SWIG_From_int((int)(ARROW_HOLLOW_CIRCLE)));
38877 }
38878 {
38879 PyDict_SetItemString(d,"ARROW_FILLED_CIRCLE", SWIG_From_int((int)(ARROW_FILLED_CIRCLE)));
38880 }
38881 {
38882 PyDict_SetItemString(d,"ARROW_ARROW", SWIG_From_int((int)(ARROW_ARROW)));
38883 }
38884 {
38885 PyDict_SetItemString(d,"ARROW_SINGLE_OBLIQUE", SWIG_From_int((int)(ARROW_SINGLE_OBLIQUE)));
38886 }
38887 {
38888 PyDict_SetItemString(d,"ARROW_DOUBLE_OBLIQUE", SWIG_From_int((int)(ARROW_DOUBLE_OBLIQUE)));
38889 }
38890 {
38891 PyDict_SetItemString(d,"ARROW_METAFILE", SWIG_From_int((int)(ARROW_METAFILE)));
38892 }
38893 {
38894 PyDict_SetItemString(d,"ARROW_POSITION_END", SWIG_From_int((int)(ARROW_POSITION_END)));
38895 }
38896 {
38897 PyDict_SetItemString(d,"ARROW_POSITION_START", SWIG_From_int((int)(ARROW_POSITION_START)));
38898 }
38899 {
38900 PyDict_SetItemString(d,"CONTROL_POINT_VERTICAL", SWIG_From_int((int)(CONTROL_POINT_VERTICAL)));
38901 }
38902 {
38903 PyDict_SetItemString(d,"CONTROL_POINT_HORIZONTAL", SWIG_From_int((int)(CONTROL_POINT_HORIZONTAL)));
38904 }
38905 {
38906 PyDict_SetItemString(d,"CONTROL_POINT_DIAGONAL", SWIG_From_int((int)(CONTROL_POINT_DIAGONAL)));
38907 }
38908 {
38909 PyDict_SetItemString(d,"CONTROL_POINT_ENDPOINT_TO", SWIG_From_int((int)(CONTROL_POINT_ENDPOINT_TO)));
38910 }
38911 {
38912 PyDict_SetItemString(d,"CONTROL_POINT_ENDPOINT_FROM", SWIG_From_int((int)(CONTROL_POINT_ENDPOINT_FROM)));
38913 }
38914 {
38915 PyDict_SetItemString(d,"CONTROL_POINT_LINE", SWIG_From_int((int)(CONTROL_POINT_LINE)));
38916 }
38917 {
38918 PyDict_SetItemString(d,"FORMAT_NONE", SWIG_From_int((int)(FORMAT_NONE)));
38919 }
38920 {
38921 PyDict_SetItemString(d,"FORMAT_CENTRE_HORIZ", SWIG_From_int((int)(FORMAT_CENTRE_HORIZ)));
38922 }
38923 {
38924 PyDict_SetItemString(d,"FORMAT_CENTRE_VERT", SWIG_From_int((int)(FORMAT_CENTRE_VERT)));
38925 }
38926 {
38927 PyDict_SetItemString(d,"FORMAT_SIZE_TO_CONTENTS", SWIG_From_int((int)(FORMAT_SIZE_TO_CONTENTS)));
38928 }
38929 {
38930 PyDict_SetItemString(d,"LINE_ALIGNMENT_HORIZ", SWIG_From_int((int)(LINE_ALIGNMENT_HORIZ)));
38931 }
38932 {
38933 PyDict_SetItemString(d,"LINE_ALIGNMENT_VERT", SWIG_From_int((int)(LINE_ALIGNMENT_VERT)));
38934 }
38935 {
38936 PyDict_SetItemString(d,"LINE_ALIGNMENT_TO_NEXT_HANDLE", SWIG_From_int((int)(LINE_ALIGNMENT_TO_NEXT_HANDLE)));
38937 }
38938 {
38939 PyDict_SetItemString(d,"LINE_ALIGNMENT_NONE", SWIG_From_int((int)(LINE_ALIGNMENT_NONE)));
38940 }
38941 {
38942 PyDict_SetItemString(d,"SHADOW_NONE", SWIG_From_int((int)(SHADOW_NONE)));
38943 }
38944 {
38945 PyDict_SetItemString(d,"SHADOW_LEFT", SWIG_From_int((int)(SHADOW_LEFT)));
38946 }
38947 {
38948 PyDict_SetItemString(d,"SHADOW_RIGHT", SWIG_From_int((int)(SHADOW_RIGHT)));
38949 }
38950 {
38951 PyDict_SetItemString(d,"OP_CLICK_LEFT", SWIG_From_int((int)(OP_CLICK_LEFT)));
38952 }
38953 {
38954 PyDict_SetItemString(d,"OP_CLICK_RIGHT", SWIG_From_int((int)(OP_CLICK_RIGHT)));
38955 }
38956 {
38957 PyDict_SetItemString(d,"OP_DRAG_LEFT", SWIG_From_int((int)(OP_DRAG_LEFT)));
38958 }
38959 {
38960 PyDict_SetItemString(d,"OP_DRAG_RIGHT", SWIG_From_int((int)(OP_DRAG_RIGHT)));
38961 }
38962 {
38963 PyDict_SetItemString(d,"OP_ALL", SWIG_From_int((int)(OP_ALL)));
38964 }
38965 {
38966 PyDict_SetItemString(d,"ATTACHMENT_MODE_NONE", SWIG_From_int((int)(ATTACHMENT_MODE_NONE)));
38967 }
38968 {
38969 PyDict_SetItemString(d,"ATTACHMENT_MODE_EDGE", SWIG_From_int((int)(ATTACHMENT_MODE_EDGE)));
38970 }
38971 {
38972 PyDict_SetItemString(d,"ATTACHMENT_MODE_BRANCHING", SWIG_From_int((int)(ATTACHMENT_MODE_BRANCHING)));
38973 }
38974 {
38975 PyDict_SetItemString(d,"BRANCHING_ATTACHMENT_NORMAL", SWIG_From_int((int)(BRANCHING_ATTACHMENT_NORMAL)));
38976 }
38977 {
38978 PyDict_SetItemString(d,"BRANCHING_ATTACHMENT_BLOB", SWIG_From_int((int)(BRANCHING_ATTACHMENT_BLOB)));
38979 }
38980 {
38981 PyDict_SetItemString(d,"gyCONSTRAINT_CENTRED_VERTICALLY", SWIG_From_int((int)(gyCONSTRAINT_CENTRED_VERTICALLY)));
38982 }
38983 {
38984 PyDict_SetItemString(d,"gyCONSTRAINT_CENTRED_HORIZONTALLY", SWIG_From_int((int)(gyCONSTRAINT_CENTRED_HORIZONTALLY)));
38985 }
38986 {
38987 PyDict_SetItemString(d,"gyCONSTRAINT_CENTRED_BOTH", SWIG_From_int((int)(gyCONSTRAINT_CENTRED_BOTH)));
38988 }
38989 {
38990 PyDict_SetItemString(d,"gyCONSTRAINT_LEFT_OF", SWIG_From_int((int)(gyCONSTRAINT_LEFT_OF)));
38991 }
38992 {
38993 PyDict_SetItemString(d,"gyCONSTRAINT_RIGHT_OF", SWIG_From_int((int)(gyCONSTRAINT_RIGHT_OF)));
38994 }
38995 {
38996 PyDict_SetItemString(d,"gyCONSTRAINT_ABOVE", SWIG_From_int((int)(gyCONSTRAINT_ABOVE)));
38997 }
38998 {
38999 PyDict_SetItemString(d,"gyCONSTRAINT_BELOW", SWIG_From_int((int)(gyCONSTRAINT_BELOW)));
39000 }
39001 {
39002 PyDict_SetItemString(d,"gyCONSTRAINT_ALIGNED_TOP", SWIG_From_int((int)(gyCONSTRAINT_ALIGNED_TOP)));
39003 }
39004 {
39005 PyDict_SetItemString(d,"gyCONSTRAINT_ALIGNED_BOTTOM", SWIG_From_int((int)(gyCONSTRAINT_ALIGNED_BOTTOM)));
39006 }
39007 {
39008 PyDict_SetItemString(d,"gyCONSTRAINT_ALIGNED_LEFT", SWIG_From_int((int)(gyCONSTRAINT_ALIGNED_LEFT)));
39009 }
39010 {
39011 PyDict_SetItemString(d,"gyCONSTRAINT_ALIGNED_RIGHT", SWIG_From_int((int)(gyCONSTRAINT_ALIGNED_RIGHT)));
39012 }
39013 {
39014 PyDict_SetItemString(d,"gyCONSTRAINT_MIDALIGNED_TOP", SWIG_From_int((int)(gyCONSTRAINT_MIDALIGNED_TOP)));
39015 }
39016 {
39017 PyDict_SetItemString(d,"gyCONSTRAINT_MIDALIGNED_BOTTOM", SWIG_From_int((int)(gyCONSTRAINT_MIDALIGNED_BOTTOM)));
39018 }
39019 {
39020 PyDict_SetItemString(d,"gyCONSTRAINT_MIDALIGNED_LEFT", SWIG_From_int((int)(gyCONSTRAINT_MIDALIGNED_LEFT)));
39021 }
39022 {
39023 PyDict_SetItemString(d,"gyCONSTRAINT_MIDALIGNED_RIGHT", SWIG_From_int((int)(gyCONSTRAINT_MIDALIGNED_RIGHT)));
39024 }
39025 {
39026 PyDict_SetItemString(d,"DIVISION_SIDE_NONE", SWIG_From_int((int)(DIVISION_SIDE_NONE)));
39027 }
39028 {
39029 PyDict_SetItemString(d,"DIVISION_SIDE_LEFT", SWIG_From_int((int)(DIVISION_SIDE_LEFT)));
39030 }
39031 {
39032 PyDict_SetItemString(d,"DIVISION_SIDE_TOP", SWIG_From_int((int)(DIVISION_SIDE_TOP)));
39033 }
39034 {
39035 PyDict_SetItemString(d,"DIVISION_SIDE_RIGHT", SWIG_From_int((int)(DIVISION_SIDE_RIGHT)));
39036 }
39037 {
39038 PyDict_SetItemString(d,"DIVISION_SIDE_BOTTOM", SWIG_From_int((int)(DIVISION_SIDE_BOTTOM)));
39039 }
44127b65
RD
39040
39041
39042 // initoglbasicc();
39043 // initoglshapesc();
39044 // initoglshapes2c();
39045 // initoglcanvasc();
39046
39047
39048 wxPyPtrTypeMap_Add("wxControlPoint", "wxPyControlPoint");
39049 wxPyPtrTypeMap_Add("wxShapeCanvas", "wxPyShapeCanvas");
39050 wxPyPtrTypeMap_Add("wxShapeEvtHandler", "wxPyShapeEvtHandler");
39051 wxPyPtrTypeMap_Add("wxShape", "wxPyShape");
39052 wxPyPtrTypeMap_Add("wxRectangleShape", "wxPyRectangleShape");
39053 wxPyPtrTypeMap_Add("wxDrawnShape", "wxPyDrawnShape");
39054 wxPyPtrTypeMap_Add("wxCompositeShape", "wxPyCompositeShape");
39055 wxPyPtrTypeMap_Add("wxDividedShape", "wxPyDividedShape");
39056 wxPyPtrTypeMap_Add("wxDivisionShape", "wxPyDivisionShape");
39057 wxPyPtrTypeMap_Add("wxEllipseShape", "wxPyEllipseShape");
39058 wxPyPtrTypeMap_Add("wxCircleShape", "wxPyCircleShape");
39059 wxPyPtrTypeMap_Add("wxLineShape", "wxPyLineShape");
39060 wxPyPtrTypeMap_Add("wxPolygonShape", "wxPyPolygonShape");
39061 wxPyPtrTypeMap_Add("wxTextShape", "wxPyTextShape");
39062
39063
39064}
39065