1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
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 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
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
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
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"
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)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
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'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_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
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_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 */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
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
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
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
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_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
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_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
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_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
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_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
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_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);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
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.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
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.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
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)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
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
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
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
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
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)
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)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
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
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
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 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
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
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
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;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
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*/
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 */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
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*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
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 */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
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
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
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
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
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*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
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 */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
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)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1044 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1046 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1050 SWIGRUNTIMEINLINE
void
1051 SWIG_Python_NullRef(const char *type
)
1054 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1056 PyErr_Format(PyExc_TypeError
, "null reference was received");
1061 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1063 if (PyErr_Occurred()) {
1065 PyObject
*value
= 0;
1066 PyObject
*traceback
= 0;
1067 PyErr_Fetch(&type
, &value
, &traceback
);
1069 PyObject
*old_str
= PyObject_Str(value
);
1073 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1075 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1086 SWIG_Python_ArgFail(int argnum
)
1088 if (PyErr_Occurred()) {
1089 /* add information about failing argument */
1091 sprintf(mesg
, "argument number %d:", argnum
);
1092 return SWIG_Python_AddErrMesg(mesg
, 1);
1099 /* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
1103 /* Convert a pointer value */
1105 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1108 static PyObject
*SWIG_this
= 0;
1110 PyObject
*pyobj
= 0;
1114 if (obj
== Py_None
) {
1119 #ifdef SWIG_COBJECT_TYPES
1120 if (!(PySwigObject_Check(obj
))) {
1122 SWIG_this
= PyString_FromString("this");
1124 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1126 if (!obj
) goto type_error
;
1127 if (!PySwigObject_Check(obj
)) {
1132 vptr
= PySwigObject_AsVoidPtr(obj
);
1133 c
= (const char *) PySwigObject_GetDesc(obj
);
1134 if (newref
) { Py_DECREF(obj
); }
1137 if (!(PyString_Check(obj
))) {
1139 SWIG_this
= PyString_FromString("this");
1141 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1143 if (!obj
) goto type_error
;
1144 if (!PyString_Check(obj
)) {
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
;
1159 tc
= SWIG_TypeCheck(c
,ty
);
1160 if (!tc
) goto type_error
;
1161 *ptr
= SWIG_TypeCast(tc
,vptr
);
1166 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1167 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1173 if (pyobj
&& !obj
) {
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;
1180 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1181 if (!c
) goto type_error
;
1186 if (flags
& SWIG_POINTER_EXCEPTION
) {
1188 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1190 SWIG_Python_TypeError("C/C++ pointer", obj
);
1196 /* Convert a pointer value, signal an exception on a type mismatch */
1198 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1200 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1202 if (flags
& SWIG_POINTER_EXCEPTION
) {
1203 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1204 SWIG_Python_ArgFail(argnum
);
1210 /* Convert a packed value value */
1212 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1216 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1217 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
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
);
1224 if (!c
) goto type_error
;
1226 tc
= SWIG_TypeCheck(c
,ty
);
1227 if (!tc
) goto type_error
;
1233 if (flags
& SWIG_POINTER_EXCEPTION
) {
1235 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1237 SWIG_Python_TypeError("C/C++ packed data", obj
);
1243 /* Create a new array object */
1244 SWIGRUNTIME PyObject
*
1245 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1251 #ifdef SWIG_COBJECT_TYPES
1252 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1255 char result
[SWIG_BUFFER_SIZE
];
1256 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1257 PyString_FromString(result
) : 0;
1260 if (!robj
|| (robj
== Py_None
)) return robj
;
1261 if (type
->clientdata
) {
1263 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1265 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1269 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1277 SWIGRUNTIME PyObject
*
1278 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1284 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1285 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1288 char result
[SWIG_BUFFER_SIZE
];
1289 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1290 PyString_FromString(result
) : 0;
1296 /* -----------------------------------------------------------------------------*
1298 * -----------------------------------------------------------------------------*/
1300 #ifdef SWIG_LINK_RUNTIME
1301 void *SWIG_ReturnGlobalTypeList(void *);
1304 SWIGRUNTIME swig_type_info
**
1305 SWIG_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);
1312 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1313 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1314 if (PyErr_Occurred()) {
1316 type_pointer
= (void *)0;
1320 return (swig_type_info
**) type_pointer
;
1324 Search for a swig_type_info structure
1326 SWIGRUNTIMEINLINE swig_type_info
*
1327 SWIG_Python_GetTypeList() {
1328 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1329 return tlh
? *tlh
: (swig_type_info
*)0;
1332 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1339 /* -------- TYPES TABLE (BEGIN) -------- */
1341 #define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
1342 #define SWIGTYPE_p_wxRealPoint swig_types[1]
1343 #define SWIGTYPE_p_wxSizerItem swig_types[2]
1344 #define SWIGTYPE_p_wxGBSizerItem swig_types[3]
1345 #define SWIGTYPE_p_wxScrollEvent swig_types[4]
1346 #define SWIGTYPE_p_wxEventLoop swig_types[5]
1347 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[6]
1348 #define SWIGTYPE_p_wxSizer swig_types[7]
1349 #define SWIGTYPE_p_wxBoxSizer swig_types[8]
1350 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[9]
1351 #define SWIGTYPE_p_wxGridBagSizer swig_types[10]
1352 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[11]
1353 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[12]
1354 #define SWIGTYPE_p_wxEvent swig_types[13]
1355 #define SWIGTYPE_p_wxMenu swig_types[14]
1356 #define SWIGTYPE_p_wxGridSizer swig_types[15]
1357 #define SWIGTYPE_p_wxFlexGridSizer swig_types[16]
1358 #define SWIGTYPE_p_wxInitDialogEvent swig_types[17]
1359 #define SWIGTYPE_p_wxItemContainer swig_types[18]
1360 #define SWIGTYPE_p_wxNcPaintEvent swig_types[19]
1361 #define SWIGTYPE_p_wxPaintEvent swig_types[20]
1362 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[21]
1363 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[22]
1364 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[23]
1365 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[24]
1366 #define SWIGTYPE_p_wxControl swig_types[25]
1367 #define SWIGTYPE_p_wxFont swig_types[26]
1368 #define SWIGTYPE_p_wxMenuBarBase swig_types[27]
1369 #define SWIGTYPE_p_wxSetCursorEvent swig_types[28]
1370 #define SWIGTYPE_p_wxFSFile swig_types[29]
1371 #define SWIGTYPE_p_wxCaret swig_types[30]
1372 #define SWIGTYPE_ptrdiff_t swig_types[31]
1373 #define SWIGTYPE_std__ptrdiff_t swig_types[32]
1374 #define SWIGTYPE_p_wxRegion swig_types[33]
1375 #define SWIGTYPE_p_wxPoint2D swig_types[34]
1376 #define SWIGTYPE_p_int swig_types[35]
1377 #define SWIGTYPE_p_wxSize swig_types[36]
1378 #define SWIGTYPE_p_wxDC swig_types[37]
1379 #define SWIGTYPE_p_wxPySizer swig_types[38]
1380 #define SWIGTYPE_p_wxVisualAttributes swig_types[39]
1381 #define SWIGTYPE_p_wxNotifyEvent swig_types[40]
1382 #define SWIGTYPE_p_wxPyEvent swig_types[41]
1383 #define SWIGTYPE_p_wxPropagationDisabler swig_types[42]
1384 #define SWIGTYPE_p_form_ops_t swig_types[43]
1385 #define SWIGTYPE_p_wxAppTraits swig_types[44]
1386 #define SWIGTYPE_p_wxArrayString swig_types[45]
1387 #define SWIGTYPE_p_wxShowEvent swig_types[46]
1388 #define SWIGTYPE_p_wxToolTip swig_types[47]
1389 #define SWIGTYPE_p_wxMoveEvent swig_types[48]
1390 #define SWIGTYPE_p_wxSizeEvent swig_types[49]
1391 #define SWIGTYPE_p_wxActivateEvent swig_types[50]
1392 #define SWIGTYPE_p_wxIconizeEvent swig_types[51]
1393 #define SWIGTYPE_p_wxMaximizeEvent swig_types[52]
1394 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[53]
1395 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[54]
1396 #define SWIGTYPE_p_wxIdleEvent swig_types[55]
1397 #define SWIGTYPE_p_wxMenuItem swig_types[56]
1398 #define SWIGTYPE_p_wxStaticBox swig_types[57]
1399 #define SWIGTYPE_p_long swig_types[58]
1400 #define SWIGTYPE_p_wxDuplexMode swig_types[59]
1401 #define SWIGTYPE_p_wxTIFFHandler swig_types[60]
1402 #define SWIGTYPE_p_wxXPMHandler swig_types[61]
1403 #define SWIGTYPE_p_wxPNMHandler swig_types[62]
1404 #define SWIGTYPE_p_wxJPEGHandler swig_types[63]
1405 #define SWIGTYPE_p_wxPCXHandler swig_types[64]
1406 #define SWIGTYPE_p_wxGIFHandler swig_types[65]
1407 #define SWIGTYPE_p_wxPNGHandler swig_types[66]
1408 #define SWIGTYPE_p_wxANIHandler swig_types[67]
1409 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[68]
1410 #define SWIGTYPE_p_wxZipFSHandler swig_types[69]
1411 #define SWIGTYPE_p_wxInternetFSHandler swig_types[70]
1412 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[71]
1413 #define SWIGTYPE_p_wxEvtHandler swig_types[72]
1414 #define SWIGTYPE_p_wxCURHandler swig_types[73]
1415 #define SWIGTYPE_p_wxICOHandler swig_types[74]
1416 #define SWIGTYPE_p_wxBMPHandler swig_types[75]
1417 #define SWIGTYPE_p_wxImageHandler swig_types[76]
1418 #define SWIGTYPE_p_wxFileSystemHandler swig_types[77]
1419 #define SWIGTYPE_p_wxRect swig_types[78]
1420 #define SWIGTYPE_p_wxGBSpan swig_types[79]
1421 #define SWIGTYPE_p_wxPropagateOnce swig_types[80]
1422 #define SWIGTYPE_p_wxAcceleratorTable swig_types[81]
1423 #define SWIGTYPE_p_char swig_types[82]
1424 #define SWIGTYPE_p_wxGBPosition swig_types[83]
1425 #define SWIGTYPE_p_wxImage swig_types[84]
1426 #define SWIGTYPE_p_wxFrame swig_types[85]
1427 #define SWIGTYPE_p_wxScrollWinEvent swig_types[86]
1428 #define SWIGTYPE_p_wxPaperSize swig_types[87]
1429 #define SWIGTYPE_p_wxImageHistogram swig_types[88]
1430 #define SWIGTYPE_p_wxPoint swig_types[89]
1431 #define SWIGTYPE_p_wxCursor swig_types[90]
1432 #define SWIGTYPE_p_wxObject swig_types[91]
1433 #define SWIGTYPE_p_wxInputStream swig_types[92]
1434 #define SWIGTYPE_p_wxOutputStream swig_types[93]
1435 #define SWIGTYPE_p_wxPyInputStream swig_types[94]
1436 #define SWIGTYPE_p_wxDateTime swig_types[95]
1437 #define SWIGTYPE_p_wxKeyEvent swig_types[96]
1438 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[97]
1439 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[98]
1440 #define SWIGTYPE_p_unsigned_long swig_types[99]
1441 #define SWIGTYPE_p_wxWindow swig_types[100]
1442 #define SWIGTYPE_p_wxMenuBar swig_types[101]
1443 #define SWIGTYPE_p_wxFileSystem swig_types[102]
1444 #define SWIGTYPE_p_wxBitmap swig_types[103]
1445 #define SWIGTYPE_unsigned_int swig_types[104]
1446 #define SWIGTYPE_p_unsigned_int swig_types[105]
1447 #define SWIGTYPE_p_wxMenuEvent swig_types[106]
1448 #define SWIGTYPE_p_wxContextMenuEvent swig_types[107]
1449 #define SWIGTYPE_p_unsigned_char swig_types[108]
1450 #define SWIGTYPE_p_wxEraseEvent swig_types[109]
1451 #define SWIGTYPE_p_wxMouseEvent swig_types[110]
1452 #define SWIGTYPE_p_wxCloseEvent swig_types[111]
1453 #define SWIGTYPE_p_wxPyApp swig_types[112]
1454 #define SWIGTYPE_p_wxCommandEvent swig_types[113]
1455 #define SWIGTYPE_p_wxPyCommandEvent swig_types[114]
1456 #define SWIGTYPE_p_wxPyDropTarget swig_types[115]
1457 #define SWIGTYPE_p_wxQuantize swig_types[116]
1458 #define SWIGTYPE_p_wxChildFocusEvent swig_types[117]
1459 #define SWIGTYPE_p_wxFocusEvent swig_types[118]
1460 #define SWIGTYPE_p_wxDropFilesEvent swig_types[119]
1461 #define SWIGTYPE_p_wxControlWithItems swig_types[120]
1462 #define SWIGTYPE_p_wxColour swig_types[121]
1463 #define SWIGTYPE_p_wxValidator swig_types[122]
1464 #define SWIGTYPE_p_wxPyValidator swig_types[123]
1465 static swig_type_info
*swig_types
[125];
1467 /* -------- TYPES TABLE (END) -------- */
1470 /*-----------------------------------------------
1471 @(target):= _core_.so
1472 ------------------------------------------------*/
1473 #define SWIG_init init_core_
1475 #define SWIG_name "_core_"
1477 #include "wx/wxPython/wxPython_int.h"
1478 #include "wx/wxPython/pyclasses.h"
1481 #ifndef wxPyUSE_EXPORT
1482 // Helper functions for dealing with SWIG objects and such. These are
1483 // located here so they know about the SWIG types and functions declared
1484 // in the wrapper code.
1486 #include <wx/hashmap.h>
1487 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
1490 // Maintains a hashmap of className to swig_type_info pointers. Given the
1491 // name of a class either looks up the type info in the cache, or scans the
1492 // SWIG tables for it.
1493 extern PyObject
* wxPyPtrTypeMap
;
1495 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
1497 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
1499 if (typeInfoCache
== NULL
)
1500 typeInfoCache
= new wxPyTypeInfoHashMap
;
1502 wxString
name(className
);
1503 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
1506 // it wasn't in the cache, so look it up from SWIG
1507 name
.Append(wxT(" *"));
1508 swigType
= SWIG_TypeQuery(name
.mb_str());
1510 // if it still wasn't found, try looking for a mapped name
1515 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
1516 (char*)(const char*)name
.mbc_str())) != NULL
) {
1517 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
1518 name
.Append(wxT(" *"));
1519 swigType
= SWIG_TypeQuery(name
.mb_str());
1523 // and add it to the map if found
1524 (*typeInfoCache
)[className
] = swigType
;
1531 // Check if a class name is a type known to SWIG
1532 bool wxPyCheckSwigType(const wxChar
* className
) {
1534 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1535 return swigType
!= NULL
;
1539 // Given a pointer to a C++ object and a class name, construct a Python proxy
1541 PyObject
* wxPyConstructObject(void* ptr
,
1542 const wxChar
* className
,
1545 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1546 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
1548 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
1552 // Extract a pointer to the wrapped C++ object from a Python proxy object.
1553 // Ensures that the proxy object is of the specified (or derived) type. If
1554 // not able to perform the conversion then a Python exception is set and the
1555 // error should be handled properly in the caller. Returns True on success.
1556 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
1557 const wxChar
* className
) {
1559 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1560 wxCHECK_MSG(swigType
!= NULL
, false, wxT("Unknown type in wxPyConvertSwigPtr"));
1562 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
1566 // Make a SWIGified pointer object suitable for a .this attribute
1567 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
1569 PyObject
* robj
= NULL
;
1571 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1572 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConvertSwigPtr"));
1574 #ifdef SWIG_COBJECT_TYPES
1575 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)swigType
->name
);
1579 robj
= SWIG_PackVoidPtr(result
, ptr
, swigType
->name
, sizeof(result
)) ?
1580 PyString_FromString(result
) : 0;
1590 // Export a C API in a struct. Other modules will be able to load this from
1591 // the wx._core_ module and will then have safe access to these functions,
1592 // even if they are located in another shared library.
1593 static wxPyCoreAPI API
= {
1596 wxPyConstructObject
,
1600 wxPyBeginAllowThreads
,
1601 wxPyEndAllowThreads
,
1602 wxPyBeginBlockThreads
,
1603 wxPyEndBlockThreads
,
1615 wxPoint_LIST_helper
,
1616 wxBitmap_LIST_helper
,
1617 wxString_LIST_helper
,
1618 wxAcceleratorEntry_LIST_helper
,
1627 wxPySimple_typecheck
,
1630 wxPyCBH_setCallbackInfo
,
1631 wxPyCBH_findCallback
,
1632 wxPyCBH_callCallback
,
1633 wxPyCBH_callCallbackObj
,
1639 wxPy2int_seq_helper
,
1640 wxPy4int_seq_helper
,
1641 wxArrayString2PyList_helper
,
1642 wxArrayInt2PyList_helper
,
1644 wxPyClientData_dtor
,
1646 wxPyOORClientData_dtor
,
1648 wxPyCBInputStream_create
,
1651 wxPySwigInstance_Check
,
1660 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1661 #define SWIG_From_int PyInt_FromLong
1666 enum wxHotkeyModifier
1674 #define wxEVT_HOTKEY 9999
1677 static const wxString
wxPyEmptyString(wxEmptyString
);
1678 static wxString
wxObject_GetClassName(wxObject
*self
){
1679 return self
->GetClassInfo()->GetClassName();
1681 static void wxObject_Destroy(wxObject
*self
){
1686 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
1694 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1697 if (value
< min_value
) {
1699 PyErr_Format(PyExc_OverflowError
,
1700 "value %ld is less than '%s' minimum %ld",
1701 value
, errmsg
, min_value
);
1704 } else if (value
> max_value
) {
1706 PyErr_Format(PyExc_OverflowError
,
1707 "value %ld is greater than '%s' maximum %ld",
1708 value
, errmsg
, max_value
);
1717 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1719 if (PyNumber_Check(obj
)) {
1720 if (val
) *val
= PyInt_AsLong(obj
);
1724 SWIG_type_error("number", obj
);
1730 #if INT_MAX != LONG_MAX
1732 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1734 const char* errmsg
= val
? "int" : (char*)0;
1736 if (SWIG_AsVal_long(obj
, &v
)) {
1737 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1738 if (val
) *val
= (int)(v
);
1747 SWIG_type_error(errmsg
, obj
);
1753 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1755 return SWIG_AsVal_long(obj
,(long*)val
);
1761 SWIG_As_int(PyObject
* obj
)
1764 if (!SWIG_AsVal_int(obj
, &v
)) {
1766 this is needed to make valgrind/purify happier.
1768 memset((void*)&v
, 0, sizeof(int));
1775 SWIG_Check_int(PyObject
* obj
)
1777 return SWIG_AsVal_int(obj
, (int*)0);
1780 static PyObject
*wxSize_Get(wxSize
*self
){
1781 bool blocked
= wxPyBeginBlockThreads();
1782 PyObject
* tup
= PyTuple_New(2);
1783 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1784 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1785 wxPyEndBlockThreads(blocked
);
1790 SWIG_AsVal_double(PyObject
*obj
, double* val
)
1792 if (PyNumber_Check(obj
)) {
1793 if (val
) *val
= PyFloat_AsDouble(obj
);
1797 SWIG_type_error("number", obj
);
1803 SWIGINTERNSHORT
double
1804 SWIG_As_double(PyObject
* obj
)
1807 if (!SWIG_AsVal_double(obj
, &v
)) {
1809 this is needed to make valgrind/purify happier.
1811 memset((void*)&v
, 0, sizeof(double));
1818 SWIG_Check_double(PyObject
* obj
)
1820 return SWIG_AsVal_double(obj
, (double*)0);
1824 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1825 #define SWIG_From_double PyFloat_FromDouble
1828 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
1832 static PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
1833 bool blocked
= wxPyBeginBlockThreads();
1834 PyObject
* tup
= PyTuple_New(2);
1835 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1836 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1837 wxPyEndBlockThreads(blocked
);
1841 SWIGINTERNSHORT
long
1842 SWIG_As_long(PyObject
* obj
)
1845 if (!SWIG_AsVal_long(obj
, &v
)) {
1847 this is needed to make valgrind/purify happier.
1849 memset((void*)&v
, 0, sizeof(long));
1856 SWIG_Check_long(PyObject
* obj
)
1858 return SWIG_AsVal_long(obj
, (long*)0);
1861 static void wxPoint_Set(wxPoint
*self
,long x
,long y
){
1865 static PyObject
*wxPoint_Get(wxPoint
*self
){
1866 bool blocked
= wxPyBeginBlockThreads();
1867 PyObject
* tup
= PyTuple_New(2);
1868 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1869 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1870 wxPyEndBlockThreads(blocked
);
1873 static void wxRect_Set(wxRect
*self
,int x
=0,int y
=0,int width
=0,int height
=0){
1876 self
->width
= width
;
1877 self
->height
= height
;
1879 static PyObject
*wxRect_Get(wxRect
*self
){
1880 bool blocked
= wxPyBeginBlockThreads();
1881 PyObject
* tup
= PyTuple_New(4);
1882 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1883 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1884 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
1885 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
1886 wxPyEndBlockThreads(blocked
);
1890 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
1893 wxRect
dest(0,0,0,0);
1896 reg1
.Intersect(reg2
);
1897 dest
= reg1
.GetBox();
1899 if (dest
!= wxRect(0,0,0,0)) {
1900 bool blocked
= wxPyBeginBlockThreads();
1901 wxRect
* newRect
= new wxRect(dest
);
1902 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), true);
1903 wxPyEndBlockThreads(blocked
);
1911 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1917 } else if (target
== Py_None
) {
1921 if (!PyTuple_Check(target
)) {
1923 target
= PyTuple_New(1);
1924 PyTuple_SetItem(target
, 0, o2
);
1926 o3
= PyTuple_New(1);
1927 PyTuple_SetItem(o3
, 0, o
);
1930 target
= PySequence_Concat(o2
, o3
);
1938 static void wxPoint2D_Set(wxPoint2D
*self
,double x
=0,double y
=0){
1942 static PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
1943 bool blocked
= wxPyBeginBlockThreads();
1944 PyObject
* tup
= PyTuple_New(2);
1945 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
1946 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
1947 wxPyEndBlockThreads(blocked
);
1951 #include "wx/wxPython/pyistream.h"
1953 static wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
1954 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
1956 return new wxPyInputStream(wxis
);
1961 SWIGINTERNSHORT PyObject
*
1962 SWIG_From_char(char c
)
1964 return PyString_FromStringAndSize(&c
,1);
1968 SWIGINTERNSHORT PyObject
*
1969 SWIG_From_unsigned_SS_long(unsigned long value
)
1971 return (value
> LONG_MAX
) ?
1972 PyLong_FromUnsignedLong(value
)
1973 : PyInt_FromLong((long)(value
));
1977 /* returns SWIG_OLDOBJ if the input is a raw char*, SWIG_PYSTR if is a PyString */
1979 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* psize
)
1981 static swig_type_info
* pchar_info
= 0;
1983 if (!pchar_info
) pchar_info
= SWIG_TypeQuery("char *");
1984 if (SWIG_ConvertPtr(obj
, (void**)&vptr
, pchar_info
, 0) != -1) {
1985 if (cptr
) *cptr
= vptr
;
1986 if (psize
) *psize
= vptr
? (strlen(vptr
) + 1) : 0;
1990 if (PyString_Check(obj
)) {
1992 *cptr
= PyString_AS_STRING(obj
);
1994 *psize
= PyString_GET_SIZE(obj
) + 1;
2001 SWIG_type_error("char *", obj
);
2008 SWIG_AsCharArray(PyObject
*obj
, char *val
, size_t size
)
2010 char* cptr
; size_t csize
;
2011 if (SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
)) {
2014 char x[5] = "hello";
2016 ie, assing the array using an extra '0' char.
2018 if ((csize
== size
+ 1) && !(cptr
[csize
-1])) --csize
;
2019 if (csize
<= size
) {
2021 if (csize
) memcpy(val
, cptr
, csize
);
2022 if (csize
< size
) memset(val
+ csize
, 0, size
- csize
);
2028 PyErr_Format(PyExc_TypeError
,
2029 "a char array of maximum size %lu is expected",
2030 (unsigned long) size
);
2037 SWIG_AsVal_char(PyObject
*obj
, char *val
)
2039 const char* errmsg
= val
? "char" : (char*)0;
2041 if (SWIG_AsVal_long(obj
, &v
)) {
2042 if (SWIG_CheckLongInRange(v
, CHAR_MIN
,CHAR_MAX
, errmsg
)) {
2043 if (val
) *val
= (char)(v
);
2050 return SWIG_AsCharArray(obj
, val
, 1);
2055 SWIGINTERNSHORT
char
2056 SWIG_As_char(PyObject
* obj
)
2059 if (!SWIG_AsVal_char(obj
, &v
)) {
2061 this is needed to make valgrind/purify happier.
2063 memset((void*)&v
, 0, sizeof(char));
2070 SWIG_Check_char(PyObject
* obj
)
2072 return SWIG_AsVal_char(obj
, (char*)0);
2076 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2077 #define SWIG_From_long PyInt_FromLong
2080 static void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
2081 // We use only strings for the streams, not unicode
2082 PyObject
* str
= PyObject_Str(obj
);
2084 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
2087 self
->Write(PyString_AS_STRING(str
),
2088 PyString_GET_SIZE(str
));
2092 #include "wx/wxPython/pyistream.h"
2095 class wxPyFileSystemHandler
: public wxFileSystemHandler
2098 wxPyFileSystemHandler() : wxFileSystemHandler() {}
2100 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
2101 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
2102 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
2103 DEC_PYCALLBACK_STRING__pure(FindNext
);
2105 wxString
GetProtocol(const wxString
& location
) {
2106 return wxFileSystemHandler::GetProtocol(location
);
2109 wxString
GetLeftLocation(const wxString
& location
) {
2110 return wxFileSystemHandler::GetLeftLocation(location
);
2113 wxString
GetAnchor(const wxString
& location
) {
2114 return wxFileSystemHandler::GetAnchor(location
);
2117 wxString
GetRightLocation(const wxString
& location
) {
2118 return wxFileSystemHandler::GetRightLocation(location
);
2121 wxString
GetMimeTypeFromExt(const wxString
& location
) {
2122 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
2129 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
2130 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
2131 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
2132 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
2136 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
2138 if (obj
== Py_True
) {
2139 if (val
) *val
= true;
2142 if (obj
== Py_False
) {
2143 if (val
) *val
= false;
2147 if (SWIG_AsVal_int(obj
, &res
)) {
2148 if (val
) *val
= res
? true : false;
2154 SWIG_type_error("bool", obj
);
2160 SWIGINTERNSHORT
bool
2161 SWIG_As_bool(PyObject
* obj
)
2164 if (!SWIG_AsVal_bool(obj
, &v
)) {
2166 this is needed to make valgrind/purify happier.
2168 memset((void*)&v
, 0, sizeof(bool));
2175 SWIG_Check_bool(PyObject
* obj
)
2177 return SWIG_AsVal_bool(obj
, (bool*)0);
2180 static wxString
FileSystem_URLToFileName(wxString
const &url
){
2181 wxFileName fname
= wxFileSystem::URLToFileName(url
);
2182 return fname
.GetFullPath();
2185 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
2188 wxMemoryFSHandler::AddFile(filename
, image
, type
);
2191 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
2192 const wxBitmap
& bitmap
,
2194 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
2197 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
2199 if (! PyString_Check(data
)) {
2200 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2201 "Expected string object"));
2205 bool blocked
= wxPyBeginBlockThreads();
2206 void* ptr
= (void*)PyString_AsString(data
);
2207 size_t size
= PyString_Size(data
);
2208 wxPyEndBlockThreads(blocked
);
2210 wxMemoryFSHandler::AddFile(filename
, ptr
, size
);
2214 #include "wx/wxPython/pyistream.h"
2218 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
2221 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2222 SWIG_type_error("unsigned number", obj
);
2225 *val
= (unsigned long)v
;
2231 SWIG_CheckUnsignedLongInRange(unsigned long value
,
2232 unsigned long max_value
,
2235 if (value
> max_value
) {
2237 PyErr_Format(PyExc_OverflowError
,
2238 "value %lu is greater than '%s' minimum %lu",
2239 value
, errmsg
, max_value
);
2248 SWIG_AsVal_unsigned_SS_char(PyObject
*obj
, unsigned char *val
)
2250 const char* errmsg
= val
? "unsigned char" : (char*)0;
2252 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2253 if (SWIG_CheckUnsignedLongInRange(v
, UCHAR_MAX
,errmsg
)) {
2254 if (val
) *val
= (unsigned char)(v
);
2263 SWIG_type_error(errmsg
, obj
);
2269 SWIGINTERNSHORT
unsigned char
2270 SWIG_As_unsigned_SS_char(PyObject
* obj
)
2273 if (!SWIG_AsVal_unsigned_SS_char(obj
, &v
)) {
2275 this is needed to make valgrind/purify happier.
2277 memset((void*)&v
, 0, sizeof(unsigned char));
2284 SWIG_Check_unsigned_SS_char(PyObject
* obj
)
2286 return SWIG_AsVal_unsigned_SS_char(obj
, (unsigned char*)0);
2290 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2291 #define SWIG_From_unsigned_SS_char PyInt_FromLong
2295 static wxImage
*new_wxImage(int width
=0,int height
=0,bool clear
=true){
2296 if (width
> 0 && height
> 0)
2297 return new wxImage(width
, height
, clear
);
2301 static wxImage
*new_wxImage(wxBitmap
const &bitmap
){
2302 return new wxImage(bitmap
.ConvertToImage());
2304 static wxImage
*new_wxImage(int width
,int height
,unsigned char *data
){
2305 // Copy the source data so the wxImage can clean it up later
2306 unsigned char* copy
= (unsigned char*)malloc(width
*height
*3);
2311 memcpy(copy
, data
, width
*height
*3);
2312 return new wxImage(width
, height
, copy
, false);
2314 static wxImage
*new_wxImage(int width
,int height
,unsigned char *data
,unsigned char *alpha
){
2315 // Copy the source data so the wxImage can clean it up later
2316 unsigned char* dcopy
= (unsigned char*)malloc(width
*height
*3);
2317 if (dcopy
== NULL
) {
2321 memcpy(dcopy
, data
, width
*height
*3);
2322 unsigned char* acopy
= (unsigned char*)malloc(width
*height
);
2323 if (acopy
== NULL
) {
2327 memcpy(acopy
, alpha
, width
*height
);
2329 return new wxImage(width
, height
, dcopy
, acopy
, false);
2331 static wxSize
wxImage_GetSize(wxImage
*self
){
2332 wxSize
size(self
->GetWidth(), self
->GetHeight());
2335 static PyObject
*wxImage_GetData(wxImage
*self
){
2336 unsigned char* data
= self
->GetData();
2337 int len
= self
->GetWidth() * self
->GetHeight() * 3;
2339 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
2342 static void wxImage_SetData(wxImage
*self
,PyObject
*data
){
2343 unsigned char* dataPtr
;
2345 if (! PyString_Check(data
)) {
2346 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2347 "Expected string object"));
2351 size_t len
= self
->GetWidth() * self
->GetHeight() * 3;
2352 dataPtr
= (unsigned char*) malloc(len
);
2353 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
2354 self
->SetData(dataPtr
);
2355 // wxImage takes ownership of dataPtr...
2357 static PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
2358 unsigned char* data
= self
->GetData();
2359 int len
= self
->GetWidth() * self
->GetHeight() * 3;
2361 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
2364 static void wxImage_SetDataBuffer(wxImage
*self
,PyObject
*data
){
2365 unsigned char* buffer
;
2368 bool blocked
= wxPyBeginBlockThreads();
2369 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2372 if (size
!= self
->GetWidth() * self
->GetHeight() * 3) {
2373 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
2376 self
->SetData(buffer
);
2378 wxPyEndBlockThreads(blocked
);
2380 static PyObject
*wxImage_GetAlphaData(wxImage
*self
){
2381 unsigned char* data
= self
->GetAlpha();
2385 int len
= self
->GetWidth() * self
->GetHeight();
2387 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
2391 static void wxImage_SetAlphaData(wxImage
*self
,PyObject
*data
){
2392 unsigned char* dataPtr
;
2394 if (! PyString_Check(data
)) {
2395 PyErr_SetString(PyExc_TypeError
, "Expected string object");
2399 size_t len
= self
->GetWidth() * self
->GetHeight();
2400 dataPtr
= (unsigned char*) malloc(len
);
2401 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
2402 self
->SetAlpha(dataPtr
);
2403 // wxImage takes ownership of dataPtr...
2405 static PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
2406 unsigned char* data
= self
->GetAlpha();
2407 int len
= self
->GetWidth() * self
->GetHeight();
2409 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
2412 static void wxImage_SetAlphaBuffer(wxImage
*self
,PyObject
*data
){
2413 unsigned char* buffer
;
2416 bool blocked
= wxPyBeginBlockThreads();
2417 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2420 if (size
!= self
->GetWidth() * self
->GetHeight()) {
2421 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
2424 self
->SetAlpha(buffer
);
2426 wxPyEndBlockThreads(blocked
);
2429 SWIGINTERNSHORT
unsigned long
2430 SWIG_As_unsigned_SS_long(PyObject
* obj
)
2433 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2435 this is needed to make valgrind/purify happier.
2437 memset((void*)&v
, 0, sizeof(unsigned long));
2444 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
2446 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
2449 static wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
,int depth
=-1){
2450 wxBitmap
bitmap(*self
, depth
);
2453 static wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,unsigned char red
,unsigned char green
,unsigned char blue
){
2454 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
2455 wxBitmap
bitmap( mono
, 1 );
2458 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
2459 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
2460 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
2461 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
2462 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
2464 #include <wx/quantize.h>
2466 static bool Quantize_Quantize(wxImage
const &src
,wxImage
&dest
,int desiredNoColours
=236,int flags
=wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
){
2467 return wxQuantize::Quantize(src
, dest
,
2470 NULL
, // eightBitData
2473 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
2474 if (PyCallable_Check(func
)) {
2475 self
->Connect(id
, lastId
, eventType
,
2476 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
2477 new wxPyCallback(func
));
2479 else if (func
== Py_None
) {
2480 self
->Disconnect(id
, lastId
, eventType
,
2481 (wxObjectEventFunction
)
2482 &wxPyCallback::EventThunker
);
2486 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
2489 static bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
=-1,wxEventType eventType
=wxEVT_NULL
){
2490 return self
->Disconnect(id
, lastId
, eventType
,
2491 (wxObjectEventFunction
)
2492 &wxPyCallback::EventThunker
);
2494 static void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
,bool incref
=true){
2495 if (_self
&& _self
!= Py_None
) {
2496 self
->SetClientObject(new wxPyOORClientData(_self
, incref
));
2499 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
2501 self
->SetClientObject(NULL
); // This will delete it too
2506 static int wxKeyEvent_GetUnicodeKey(wxKeyEvent
*self
){
2508 return self
->GetUnicodeKey();
2514 #if UINT_MAX < LONG_MAX
2515 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2516 #define SWIG_From_unsigned_SS_int SWIG_From_long
2519 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2520 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2525 #if UINT_MAX != ULONG_MAX
2527 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2529 const char* errmsg
= val
? "unsigned int" : (char*)0;
2531 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2532 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
2533 if (val
) *val
= (unsigned int)(v
);
2540 SWIG_type_error(errmsg
, obj
);
2545 SWIGINTERNSHORT
unsigned int
2546 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2548 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2553 SWIGINTERNSHORT
unsigned int
2554 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2557 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2559 this is needed to make valgrind/purify happier.
2561 memset((void*)&v
, 0, sizeof(unsigned int));
2568 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2570 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2573 static void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
2574 self
->m_size
= size
;
2576 static void wxMoveEvent_SetPosition(wxMoveEvent
*self
,wxPoint pos
){
2579 static PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
2580 int count
= self
->GetNumberOfFiles();
2581 wxString
* files
= self
->GetFiles();
2582 PyObject
* list
= PyList_New(count
);
2585 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
2589 for (int i
=0; i
<count
; i
++) {
2590 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
2596 static wxPyApp
*new_wxPyApp(){
2597 wxPythonApp
= new wxPyApp();
2601 void wxApp_CleanUp() {
2606 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
2610 SWIG_AsCharPtr(PyObject
*obj
, char **val
)
2612 if (SWIG_AsCharPtrAndSize(obj
, val
, (size_t*)(0))) {
2617 SWIG_type_error("char *", obj
);
2623 SWIGINTERN PyObject
*
2624 SWIG_FromCharPtr(const char* cptr
)
2627 size_t size
= strlen(cptr
);
2628 if (size
> INT_MAX
) {
2629 return SWIG_NewPointerObj((char*)(cptr
),
2630 SWIG_TypeQuery("char *"), 0);
2633 return PyString_FromStringAndSize(cptr
, size
);
2635 return PyString_FromString(cptr
);
2646 // A dummy class that raises an exception if used...
2650 wxEventLoop() { wxPyRaiseNotImplemented(); }
2651 int Run() { return 0; }
2652 void Exit(int rc
= 0) {}
2653 bool Pending() const { return false; }
2654 bool Dispatch() { return false; }
2655 bool IsRunning() const { return false; }
2656 static wxEventLoop
*GetActive() { wxPyRaiseNotImplemented(); return NULL
; }
2657 static void SetActive(wxEventLoop
* loop
) { wxPyRaiseNotImplemented(); }
2662 #include <wx/evtloop.h>
2668 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2669 static wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
2670 static void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
2671 static PyObject
*wxWindow_GetChildren(wxWindow
*self
){
2672 wxWindowList
& list
= self
->GetChildren();
2673 return wxPy_ConvertList(&list
);
2675 static bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
2677 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
2682 static bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
2689 static long wxWindow_GetHandle(wxWindow
*self
){
2690 return wxPyGetWinHandle(self
);
2692 static void wxWindow_AssociateHandle(wxWindow
*self
,long handle
){
2693 self
->AssociateHandle((WXWidget
)handle
);
2696 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
2697 return wxWindow::FindWindowById(id
, parent
);
2700 wxWindow
* wxFindWindowByName( const wxString
& name
,
2701 const wxWindow
*parent
= NULL
) {
2702 return wxWindow::FindWindowByName(name
, parent
);
2705 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
2706 const wxWindow
*parent
= NULL
) {
2707 return wxWindow::FindWindowByLabel(label
, parent
);
2712 #include <wx/msw/private.h> // to get wxGetWindowId
2716 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
2718 WXHWND hWnd
= (WXHWND
)_hWnd
;
2719 long id
= wxGetWindowId(hWnd
);
2720 wxWindow
* win
= new wxWindow
;
2721 parent
->AddChild(win
);
2722 win
->SetEventHandler(win
);
2725 win
->SubclassWin(hWnd
);
2726 win
->AdoptAttributesFromHWND();
2727 win
->SetupColours();
2730 wxPyRaiseNotImplemented();
2736 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
2737 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
2738 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
2740 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
2742 static void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
2743 static PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
2744 wxMenuItemList
& list
= self
->GetMenuItems();
2745 return wxPy_ConvertList(&list
);
2747 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2748 static int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
=NULL
){
2750 wxPyClientData
* data
= new wxPyClientData(clientData
);
2751 return self
->Append(item
, data
);
2753 return self
->Append(item
);
2755 static int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2757 wxPyClientData
* data
= new wxPyClientData(clientData
);
2758 return self
->Insert(item
, pos
, data
);
2760 return self
->Insert(item
, pos
);
2762 static PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
2763 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
2765 Py_INCREF(data
->m_obj
);
2772 static void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
2773 wxPyClientData
* data
= new wxPyClientData(clientData
);
2774 self
->SetClientObject(n
, data
);
2778 static wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2779 wxPyUserData
* data
= NULL
;
2781 bool blocked
= wxPyBeginBlockThreads();
2782 data
= new wxPyUserData(userData
);
2783 wxPyEndBlockThreads(blocked
);
2785 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
2787 static wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2788 wxPyUserData
* data
= NULL
;
2790 bool blocked
= wxPyBeginBlockThreads();
2791 data
= new wxPyUserData(userData
);
2792 wxPyEndBlockThreads(blocked
);
2794 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
2796 static wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2797 wxPyUserData
* data
= NULL
;
2799 bool blocked
= wxPyBeginBlockThreads();
2800 data
= new wxPyUserData(userData
);
2801 wxPyEndBlockThreads(blocked
);
2803 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
2808 SWIG_CheckDoubleInRange(double value
, double min_value
,
2809 double max_value
, const char* errmsg
)
2811 if (value
< min_value
) {
2813 PyErr_Format(PyExc_OverflowError
,
2814 "value %g is less than %s minimum %g",
2815 value
, errmsg
, min_value
);
2818 } else if (value
> max_value
) {
2820 PyErr_Format(PyExc_OverflowError
,
2821 "value %g is greater than %s maximum %g",
2822 value
, errmsg
, max_value
);
2831 SWIG_AsVal_float(PyObject
*obj
, float *val
)
2833 const char* errmsg
= val
? "float" : (char*)0;
2835 if (SWIG_AsVal_double(obj
, &v
)) {
2836 if (SWIG_CheckDoubleInRange(v
, -FLT_MAX
, FLT_MAX
, errmsg
)) {
2837 if (val
) *val
= (float)(v
);
2846 SWIG_type_error(errmsg
, obj
);
2852 SWIGINTERNSHORT
float
2853 SWIG_As_float(PyObject
* obj
)
2856 if (!SWIG_AsVal_float(obj
, &v
)) {
2858 this is needed to make valgrind/purify happier.
2860 memset((void*)&v
, 0, sizeof(float));
2867 SWIG_Check_float(PyObject
* obj
)
2869 return SWIG_AsVal_float(obj
, (float*)0);
2873 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2874 #define SWIG_From_float PyFloat_FromDouble
2877 static PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
2878 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
2880 Py_INCREF(data
->m_obj
);
2888 // Figure out the type of the sizer item
2890 struct wxPySizerItemInfo
{
2892 : window(NULL
), sizer(NULL
), gotSize(false),
2893 size(wxDefaultSize
), gotPos(false), pos(-1)
2904 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
2906 wxPySizerItemInfo info
;
2908 wxSize
* sizePtr
= &size
;
2910 // Find out what the type of the item is
2912 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
2917 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
2921 // try wxSize or (w,h)
2922 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
2923 info
.size
= *sizePtr
;
2924 info
.gotSize
= true;
2928 if (checkIdx
&& PyInt_Check(item
)) {
2929 info
.pos
= PyInt_AsLong(item
);
2935 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
2936 // no expected type, figure out what kind of error message to generate
2937 if ( !checkSize
&& !checkIdx
)
2938 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
2939 else if ( checkSize
&& !checkIdx
)
2940 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
2941 else if ( !checkSize
&& checkIdx
)
2942 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
2944 // can this one happen?
2945 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
2951 static void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
2952 if (!self
->GetClientObject())
2953 self
->SetClientObject(new wxPyOORClientData(_self
));
2955 static wxSizerItem
*wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
2957 wxPyUserData
* data
= NULL
;
2958 bool blocked
= wxPyBeginBlockThreads();
2959 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
2960 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
2961 data
= new wxPyUserData(userData
);
2962 wxPyEndBlockThreads(blocked
);
2964 // Now call the real Add method if a valid item type was found
2966 return self
->Add(info
.window
, proportion
, flag
, border
, data
);
2967 else if ( info
.sizer
)
2968 return self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
2969 else if (info
.gotSize
)
2970 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
2971 proportion
, flag
, border
, data
);
2975 static wxSizerItem
*wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
2977 wxPyUserData
* data
= NULL
;
2978 bool blocked
= wxPyBeginBlockThreads();
2979 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
2980 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
2981 data
= new wxPyUserData(userData
);
2982 wxPyEndBlockThreads(blocked
);
2984 // Now call the real Insert method if a valid item type was found
2986 return self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
2987 else if ( info
.sizer
)
2988 return self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
2989 else if (info
.gotSize
)
2990 return self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
2991 proportion
, flag
, border
, data
);
2995 static wxSizerItem
*wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
2997 wxPyUserData
* data
= NULL
;
2998 bool blocked
= wxPyBeginBlockThreads();
2999 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3000 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3001 data
= new wxPyUserData(userData
);
3002 wxPyEndBlockThreads(blocked
);
3004 // Now call the real Prepend method if a valid item type was found
3006 return self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
3007 else if ( info
.sizer
)
3008 return self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
3009 else if (info
.gotSize
)
3010 return self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
3011 proportion
, flag
, border
, data
);
3015 static bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
3016 bool blocked
= wxPyBeginBlockThreads();
3017 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3018 wxPyEndBlockThreads(blocked
);
3020 return self
->Remove(info
.window
);
3021 else if ( info
.sizer
)
3022 return self
->Remove(info
.sizer
);
3023 else if ( info
.gotPos
)
3024 return self
->Remove(info
.pos
);
3028 static bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
3029 bool blocked
= wxPyBeginBlockThreads();
3030 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3031 wxPyEndBlockThreads(blocked
);
3033 return self
->Detach(info
.window
);
3034 else if ( info
.sizer
)
3035 return self
->Detach(info
.sizer
);
3036 else if ( info
.gotPos
)
3037 return self
->Detach(info
.pos
);
3041 static wxSizerItem
*wxSizer_GetItem(wxSizer
*self
,PyObject
*item
){
3042 bool blocked
= wxPyBeginBlockThreads();
3043 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3044 wxPyEndBlockThreads(blocked
);
3046 return self
->GetItem(info
.window
);
3047 else if ( info
.sizer
)
3048 return self
->GetItem(info
.sizer
);
3049 else if ( info
.gotPos
)
3050 return self
->GetItem(info
.pos
);
3054 static void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
3055 bool blocked
= wxPyBeginBlockThreads();
3056 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3057 wxPyEndBlockThreads(blocked
);
3059 self
->SetItemMinSize(info
.window
, size
);
3060 else if ( info
.sizer
)
3061 self
->SetItemMinSize(info
.sizer
, size
);
3062 else if ( info
.gotPos
)
3063 self
->SetItemMinSize(info
.pos
, size
);
3065 static PyObject
*wxSizer_GetChildren(wxSizer
*self
){
3066 wxSizerItemList
& list
= self
->GetChildren();
3067 return wxPy_ConvertList(&list
);
3069 static bool wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
=true,bool recursive
=false){
3070 bool blocked
= wxPyBeginBlockThreads();
3071 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3072 wxPyEndBlockThreads(blocked
);
3074 return self
->Show(info
.window
, show
, recursive
);
3075 else if ( info
.sizer
)
3076 return self
->Show(info
.sizer
, show
, recursive
);
3077 else if ( info
.gotPos
)
3078 return self
->Show(info
.pos
, show
);
3082 static bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
3083 bool blocked
= wxPyBeginBlockThreads();
3084 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
3085 wxPyEndBlockThreads(blocked
);
3087 return self
->IsShown(info
.window
);
3088 else if ( info
.sizer
)
3089 return self
->IsShown(info
.sizer
);
3090 else if ( info
.gotPos
)
3091 return self
->IsShown(info
.pos
);
3097 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
3098 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
3099 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
3104 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
3106 if (source
== Py_None
) {
3107 **obj
= wxGBPosition(-1,-1);
3110 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
3113 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
3115 if (source
== Py_None
) {
3116 **obj
= wxGBSpan(-1,-1);
3119 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
3123 static void wxGBPosition_Set(wxGBPosition
*self
,int row
=0,int col
=0){
3127 static PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
3128 bool blocked
= wxPyBeginBlockThreads();
3129 PyObject
* tup
= PyTuple_New(2);
3130 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
3131 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
3132 wxPyEndBlockThreads(blocked
);
3135 static void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
=1,int colspan
=1){
3136 self
->SetRowspan(rowspan
);
3137 self
->SetColspan(colspan
);
3139 static PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
3140 bool blocked
= wxPyBeginBlockThreads();
3141 PyObject
* tup
= PyTuple_New(2);
3142 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
3143 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
3144 wxPyEndBlockThreads(blocked
);
3147 static wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3148 wxPyUserData
* data
= NULL
;
3150 bool blocked
= wxPyBeginBlockThreads();
3151 data
= new wxPyUserData(userData
);
3152 wxPyEndBlockThreads(blocked
);
3154 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
3156 static wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3157 wxPyUserData
* data
= NULL
;
3159 bool blocked
= wxPyBeginBlockThreads();
3160 data
= new wxPyUserData(userData
);
3161 wxPyEndBlockThreads(blocked
);
3163 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
3165 static wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3166 wxPyUserData
* data
= NULL
;
3168 bool blocked
= wxPyBeginBlockThreads();
3169 data
= new wxPyUserData(userData
);
3170 wxPyEndBlockThreads(blocked
);
3172 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
3174 static wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
3176 self
->GetEndPos(row
, col
);
3177 return wxGBPosition(row
, col
);
3179 static wxGBSizerItem
*wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
=wxDefaultSpan
,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3181 wxPyUserData
* data
= NULL
;
3182 bool blocked
= wxPyBeginBlockThreads();
3183 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3184 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3185 data
= new wxPyUserData(userData
);
3186 wxPyEndBlockThreads(blocked
);
3188 // Now call the real Add method if a valid item type was found
3190 return (wxGBSizerItem
*)self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
3191 else if ( info
.sizer
)
3192 return (wxGBSizerItem
*)self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
3193 else if (info
.gotSize
)
3194 return (wxGBSizerItem
*)self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
3195 pos
, span
, flag
, border
, data
);
3203 static int _wrap_EmptyString_set(PyObject
*) {
3204 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
3209 static PyObject
*_wrap_EmptyString_get(void) {
3214 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3216 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3223 static PyObject
*_wrap_Object_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3224 PyObject
*resultobj
;
3225 wxObject
*arg1
= (wxObject
*) 0 ;
3227 PyObject
* obj0
= 0 ;
3229 (char *) "self", NULL
3232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
3233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3234 if (SWIG_arg_fail(1)) SWIG_fail
;
3236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3237 result
= wxObject_GetClassName(arg1
);
3239 wxPyEndAllowThreads(__tstate
);
3240 if (PyErr_Occurred()) SWIG_fail
;
3244 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3246 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3255 static PyObject
*_wrap_Object_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3256 PyObject
*resultobj
;
3257 wxObject
*arg1
= (wxObject
*) 0 ;
3258 PyObject
* obj0
= 0 ;
3260 (char *) "self", NULL
3263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
3264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3265 if (SWIG_arg_fail(1)) SWIG_fail
;
3267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3268 wxObject_Destroy(arg1
);
3270 wxPyEndAllowThreads(__tstate
);
3271 if (PyErr_Occurred()) SWIG_fail
;
3273 Py_INCREF(Py_None
); resultobj
= Py_None
;
3280 static PyObject
* Object_swigregister(PyObject
*, PyObject
*args
) {
3282 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3283 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
3285 return Py_BuildValue((char *)"");
3287 static PyObject
*_wrap_Size_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3288 PyObject
*resultobj
;
3289 wxSize
*arg1
= (wxSize
*) 0 ;
3291 PyObject
* obj0
= 0 ;
3292 PyObject
* obj1
= 0 ;
3294 (char *) "self",(char *) "x", NULL
3297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3299 if (SWIG_arg_fail(1)) SWIG_fail
;
3301 arg2
= (int)(SWIG_As_int(obj1
));
3302 if (SWIG_arg_fail(2)) SWIG_fail
;
3304 if (arg1
) (arg1
)->x
= arg2
;
3306 Py_INCREF(Py_None
); resultobj
= Py_None
;
3313 static PyObject
*_wrap_Size_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3314 PyObject
*resultobj
;
3315 wxSize
*arg1
= (wxSize
*) 0 ;
3317 PyObject
* obj0
= 0 ;
3319 (char *) "self", NULL
3322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
3323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3324 if (SWIG_arg_fail(1)) SWIG_fail
;
3325 result
= (int) ((arg1
)->x
);
3328 resultobj
= SWIG_From_int((int)(result
));
3336 static PyObject
*_wrap_Size_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3337 PyObject
*resultobj
;
3338 wxSize
*arg1
= (wxSize
*) 0 ;
3340 PyObject
* obj0
= 0 ;
3341 PyObject
* obj1
= 0 ;
3343 (char *) "self",(char *) "y", NULL
3346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3348 if (SWIG_arg_fail(1)) SWIG_fail
;
3350 arg2
= (int)(SWIG_As_int(obj1
));
3351 if (SWIG_arg_fail(2)) SWIG_fail
;
3353 if (arg1
) (arg1
)->y
= arg2
;
3355 Py_INCREF(Py_None
); resultobj
= Py_None
;
3362 static PyObject
*_wrap_Size_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3363 PyObject
*resultobj
;
3364 wxSize
*arg1
= (wxSize
*) 0 ;
3366 PyObject
* obj0
= 0 ;
3368 (char *) "self", NULL
3371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
3372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3373 if (SWIG_arg_fail(1)) SWIG_fail
;
3374 result
= (int) ((arg1
)->y
);
3377 resultobj
= SWIG_From_int((int)(result
));
3385 static PyObject
*_wrap_new_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3386 PyObject
*resultobj
;
3387 int arg1
= (int) 0 ;
3388 int arg2
= (int) 0 ;
3390 PyObject
* obj0
= 0 ;
3391 PyObject
* obj1
= 0 ;
3393 (char *) "w",(char *) "h", NULL
3396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
3399 arg1
= (int)(SWIG_As_int(obj0
));
3400 if (SWIG_arg_fail(1)) SWIG_fail
;
3405 arg2
= (int)(SWIG_As_int(obj1
));
3406 if (SWIG_arg_fail(2)) SWIG_fail
;
3410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3411 result
= (wxSize
*)new wxSize(arg1
,arg2
);
3413 wxPyEndAllowThreads(__tstate
);
3414 if (PyErr_Occurred()) SWIG_fail
;
3416 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
3423 static PyObject
*_wrap_delete_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3424 PyObject
*resultobj
;
3425 wxSize
*arg1
= (wxSize
*) 0 ;
3426 PyObject
* obj0
= 0 ;
3428 (char *) "self", NULL
3431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
3432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3433 if (SWIG_arg_fail(1)) SWIG_fail
;
3435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3438 wxPyEndAllowThreads(__tstate
);
3439 if (PyErr_Occurred()) SWIG_fail
;
3441 Py_INCREF(Py_None
); resultobj
= Py_None
;
3448 static PyObject
*_wrap_Size___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3449 PyObject
*resultobj
;
3450 wxSize
*arg1
= (wxSize
*) 0 ;
3454 PyObject
* obj0
= 0 ;
3455 PyObject
* obj1
= 0 ;
3457 (char *) "self",(char *) "sz", NULL
3460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3462 if (SWIG_arg_fail(1)) SWIG_fail
;
3465 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3469 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
3471 wxPyEndAllowThreads(__tstate
);
3472 if (PyErr_Occurred()) SWIG_fail
;
3475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3483 static PyObject
*_wrap_Size___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3484 PyObject
*resultobj
;
3485 wxSize
*arg1
= (wxSize
*) 0 ;
3489 PyObject
* obj0
= 0 ;
3490 PyObject
* obj1
= 0 ;
3492 (char *) "self",(char *) "sz", NULL
3495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3497 if (SWIG_arg_fail(1)) SWIG_fail
;
3500 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3504 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
3506 wxPyEndAllowThreads(__tstate
);
3507 if (PyErr_Occurred()) SWIG_fail
;
3510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3518 static PyObject
*_wrap_Size___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3519 PyObject
*resultobj
;
3520 wxSize
*arg1
= (wxSize
*) 0 ;
3524 PyObject
* obj0
= 0 ;
3525 PyObject
* obj1
= 0 ;
3527 (char *) "self",(char *) "sz", NULL
3530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3532 if (SWIG_arg_fail(1)) SWIG_fail
;
3535 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3539 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
3541 wxPyEndAllowThreads(__tstate
);
3542 if (PyErr_Occurred()) SWIG_fail
;
3546 resultptr
= new wxSize((wxSize
&)(result
));
3547 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3555 static PyObject
*_wrap_Size___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3556 PyObject
*resultobj
;
3557 wxSize
*arg1
= (wxSize
*) 0 ;
3561 PyObject
* obj0
= 0 ;
3562 PyObject
* obj1
= 0 ;
3564 (char *) "self",(char *) "sz", NULL
3567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3569 if (SWIG_arg_fail(1)) SWIG_fail
;
3572 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3576 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
3578 wxPyEndAllowThreads(__tstate
);
3579 if (PyErr_Occurred()) SWIG_fail
;
3583 resultptr
= new wxSize((wxSize
&)(result
));
3584 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3592 static PyObject
*_wrap_Size_IncTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3593 PyObject
*resultobj
;
3594 wxSize
*arg1
= (wxSize
*) 0 ;
3597 PyObject
* obj0
= 0 ;
3598 PyObject
* obj1
= 0 ;
3600 (char *) "self",(char *) "sz", NULL
3603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3605 if (SWIG_arg_fail(1)) SWIG_fail
;
3608 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3612 (arg1
)->IncTo((wxSize
const &)*arg2
);
3614 wxPyEndAllowThreads(__tstate
);
3615 if (PyErr_Occurred()) SWIG_fail
;
3617 Py_INCREF(Py_None
); resultobj
= Py_None
;
3624 static PyObject
*_wrap_Size_DecTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3625 PyObject
*resultobj
;
3626 wxSize
*arg1
= (wxSize
*) 0 ;
3629 PyObject
* obj0
= 0 ;
3630 PyObject
* obj1
= 0 ;
3632 (char *) "self",(char *) "sz", NULL
3635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3637 if (SWIG_arg_fail(1)) SWIG_fail
;
3640 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3644 (arg1
)->DecTo((wxSize
const &)*arg2
);
3646 wxPyEndAllowThreads(__tstate
);
3647 if (PyErr_Occurred()) SWIG_fail
;
3649 Py_INCREF(Py_None
); resultobj
= Py_None
;
3656 static PyObject
*_wrap_Size_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3657 PyObject
*resultobj
;
3658 wxSize
*arg1
= (wxSize
*) 0 ;
3661 PyObject
* obj0
= 0 ;
3662 PyObject
* obj1
= 0 ;
3663 PyObject
* obj2
= 0 ;
3665 (char *) "self",(char *) "w",(char *) "h", NULL
3668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3670 if (SWIG_arg_fail(1)) SWIG_fail
;
3672 arg2
= (int)(SWIG_As_int(obj1
));
3673 if (SWIG_arg_fail(2)) SWIG_fail
;
3676 arg3
= (int)(SWIG_As_int(obj2
));
3677 if (SWIG_arg_fail(3)) SWIG_fail
;
3680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3681 (arg1
)->Set(arg2
,arg3
);
3683 wxPyEndAllowThreads(__tstate
);
3684 if (PyErr_Occurred()) SWIG_fail
;
3686 Py_INCREF(Py_None
); resultobj
= Py_None
;
3693 static PyObject
*_wrap_Size_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3694 PyObject
*resultobj
;
3695 wxSize
*arg1
= (wxSize
*) 0 ;
3697 PyObject
* obj0
= 0 ;
3698 PyObject
* obj1
= 0 ;
3700 (char *) "self",(char *) "w", NULL
3703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3705 if (SWIG_arg_fail(1)) SWIG_fail
;
3707 arg2
= (int)(SWIG_As_int(obj1
));
3708 if (SWIG_arg_fail(2)) SWIG_fail
;
3711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3712 (arg1
)->SetWidth(arg2
);
3714 wxPyEndAllowThreads(__tstate
);
3715 if (PyErr_Occurred()) SWIG_fail
;
3717 Py_INCREF(Py_None
); resultobj
= Py_None
;
3724 static PyObject
*_wrap_Size_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3725 PyObject
*resultobj
;
3726 wxSize
*arg1
= (wxSize
*) 0 ;
3728 PyObject
* obj0
= 0 ;
3729 PyObject
* obj1
= 0 ;
3731 (char *) "self",(char *) "h", NULL
3734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3736 if (SWIG_arg_fail(1)) SWIG_fail
;
3738 arg2
= (int)(SWIG_As_int(obj1
));
3739 if (SWIG_arg_fail(2)) SWIG_fail
;
3742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3743 (arg1
)->SetHeight(arg2
);
3745 wxPyEndAllowThreads(__tstate
);
3746 if (PyErr_Occurred()) SWIG_fail
;
3748 Py_INCREF(Py_None
); resultobj
= Py_None
;
3755 static PyObject
*_wrap_Size_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3756 PyObject
*resultobj
;
3757 wxSize
*arg1
= (wxSize
*) 0 ;
3759 PyObject
* obj0
= 0 ;
3761 (char *) "self", NULL
3764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
3765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3766 if (SWIG_arg_fail(1)) SWIG_fail
;
3768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3769 result
= (int)((wxSize
const *)arg1
)->GetWidth();
3771 wxPyEndAllowThreads(__tstate
);
3772 if (PyErr_Occurred()) SWIG_fail
;
3775 resultobj
= SWIG_From_int((int)(result
));
3783 static PyObject
*_wrap_Size_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3784 PyObject
*resultobj
;
3785 wxSize
*arg1
= (wxSize
*) 0 ;
3787 PyObject
* obj0
= 0 ;
3789 (char *) "self", NULL
3792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
3793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3794 if (SWIG_arg_fail(1)) SWIG_fail
;
3796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3797 result
= (int)((wxSize
const *)arg1
)->GetHeight();
3799 wxPyEndAllowThreads(__tstate
);
3800 if (PyErr_Occurred()) SWIG_fail
;
3803 resultobj
= SWIG_From_int((int)(result
));
3811 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3812 PyObject
*resultobj
;
3813 wxSize
*arg1
= (wxSize
*) 0 ;
3815 PyObject
* obj0
= 0 ;
3817 (char *) "self", NULL
3820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
3821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3822 if (SWIG_arg_fail(1)) SWIG_fail
;
3824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3825 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
3827 wxPyEndAllowThreads(__tstate
);
3828 if (PyErr_Occurred()) SWIG_fail
;
3831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3839 static PyObject
*_wrap_Size_SetDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3840 PyObject
*resultobj
;
3841 wxSize
*arg1
= (wxSize
*) 0 ;
3844 PyObject
* obj0
= 0 ;
3845 PyObject
* obj1
= 0 ;
3847 (char *) "self",(char *) "size", NULL
3850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
3851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3852 if (SWIG_arg_fail(1)) SWIG_fail
;
3855 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3859 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
3861 wxPyEndAllowThreads(__tstate
);
3862 if (PyErr_Occurred()) SWIG_fail
;
3864 Py_INCREF(Py_None
); resultobj
= Py_None
;
3871 static PyObject
*_wrap_Size_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3872 PyObject
*resultobj
;
3873 wxSize
*arg1
= (wxSize
*) 0 ;
3875 PyObject
* obj0
= 0 ;
3877 (char *) "self", NULL
3880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
3881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3882 if (SWIG_arg_fail(1)) SWIG_fail
;
3884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3885 result
= (PyObject
*)wxSize_Get(arg1
);
3887 wxPyEndAllowThreads(__tstate
);
3888 if (PyErr_Occurred()) SWIG_fail
;
3897 static PyObject
* Size_swigregister(PyObject
*, PyObject
*args
) {
3899 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3900 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
3902 return Py_BuildValue((char *)"");
3904 static PyObject
*_wrap_RealPoint_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3905 PyObject
*resultobj
;
3906 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3908 PyObject
* obj0
= 0 ;
3909 PyObject
* obj1
= 0 ;
3911 (char *) "self",(char *) "x", NULL
3914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3916 if (SWIG_arg_fail(1)) SWIG_fail
;
3918 arg2
= (double)(SWIG_As_double(obj1
));
3919 if (SWIG_arg_fail(2)) SWIG_fail
;
3921 if (arg1
) (arg1
)->x
= arg2
;
3923 Py_INCREF(Py_None
); resultobj
= Py_None
;
3930 static PyObject
*_wrap_RealPoint_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3931 PyObject
*resultobj
;
3932 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3934 PyObject
* obj0
= 0 ;
3936 (char *) "self", NULL
3939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
3940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3941 if (SWIG_arg_fail(1)) SWIG_fail
;
3942 result
= (double) ((arg1
)->x
);
3945 resultobj
= SWIG_From_double((double)(result
));
3953 static PyObject
*_wrap_RealPoint_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3954 PyObject
*resultobj
;
3955 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3957 PyObject
* obj0
= 0 ;
3958 PyObject
* obj1
= 0 ;
3960 (char *) "self",(char *) "y", NULL
3963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3965 if (SWIG_arg_fail(1)) SWIG_fail
;
3967 arg2
= (double)(SWIG_As_double(obj1
));
3968 if (SWIG_arg_fail(2)) SWIG_fail
;
3970 if (arg1
) (arg1
)->y
= arg2
;
3972 Py_INCREF(Py_None
); resultobj
= Py_None
;
3979 static PyObject
*_wrap_RealPoint_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3980 PyObject
*resultobj
;
3981 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3983 PyObject
* obj0
= 0 ;
3985 (char *) "self", NULL
3988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
3989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3990 if (SWIG_arg_fail(1)) SWIG_fail
;
3991 result
= (double) ((arg1
)->y
);
3994 resultobj
= SWIG_From_double((double)(result
));
4002 static PyObject
*_wrap_new_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4003 PyObject
*resultobj
;
4004 double arg1
= (double) 0.0 ;
4005 double arg2
= (double) 0.0 ;
4006 wxRealPoint
*result
;
4007 PyObject
* obj0
= 0 ;
4008 PyObject
* obj1
= 0 ;
4010 (char *) "x",(char *) "y", NULL
4013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4016 arg1
= (double)(SWIG_As_double(obj0
));
4017 if (SWIG_arg_fail(1)) SWIG_fail
;
4022 arg2
= (double)(SWIG_As_double(obj1
));
4023 if (SWIG_arg_fail(2)) SWIG_fail
;
4027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4028 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
4030 wxPyEndAllowThreads(__tstate
);
4031 if (PyErr_Occurred()) SWIG_fail
;
4033 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
4040 static PyObject
*_wrap_delete_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4041 PyObject
*resultobj
;
4042 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4043 PyObject
* obj0
= 0 ;
4045 (char *) "self", NULL
4048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
4049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4050 if (SWIG_arg_fail(1)) SWIG_fail
;
4052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4055 wxPyEndAllowThreads(__tstate
);
4056 if (PyErr_Occurred()) SWIG_fail
;
4058 Py_INCREF(Py_None
); resultobj
= Py_None
;
4065 static PyObject
*_wrap_RealPoint___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4066 PyObject
*resultobj
;
4067 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4068 wxRealPoint
*arg2
= 0 ;
4071 PyObject
* obj0
= 0 ;
4072 PyObject
* obj1
= 0 ;
4074 (char *) "self",(char *) "pt", NULL
4077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4079 if (SWIG_arg_fail(1)) SWIG_fail
;
4082 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4086 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
4088 wxPyEndAllowThreads(__tstate
);
4089 if (PyErr_Occurred()) SWIG_fail
;
4092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4100 static PyObject
*_wrap_RealPoint___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4101 PyObject
*resultobj
;
4102 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4103 wxRealPoint
*arg2
= 0 ;
4106 PyObject
* obj0
= 0 ;
4107 PyObject
* obj1
= 0 ;
4109 (char *) "self",(char *) "pt", NULL
4112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4114 if (SWIG_arg_fail(1)) SWIG_fail
;
4117 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4121 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
4123 wxPyEndAllowThreads(__tstate
);
4124 if (PyErr_Occurred()) SWIG_fail
;
4127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4135 static PyObject
*_wrap_RealPoint___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4136 PyObject
*resultobj
;
4137 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4138 wxRealPoint
*arg2
= 0 ;
4141 PyObject
* obj0
= 0 ;
4142 PyObject
* obj1
= 0 ;
4144 (char *) "self",(char *) "pt", NULL
4147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4149 if (SWIG_arg_fail(1)) SWIG_fail
;
4152 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4156 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
4158 wxPyEndAllowThreads(__tstate
);
4159 if (PyErr_Occurred()) SWIG_fail
;
4162 wxRealPoint
* resultptr
;
4163 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4164 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4172 static PyObject
*_wrap_RealPoint___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4173 PyObject
*resultobj
;
4174 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4175 wxRealPoint
*arg2
= 0 ;
4178 PyObject
* obj0
= 0 ;
4179 PyObject
* obj1
= 0 ;
4181 (char *) "self",(char *) "pt", NULL
4184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4186 if (SWIG_arg_fail(1)) SWIG_fail
;
4189 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4193 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
4195 wxPyEndAllowThreads(__tstate
);
4196 if (PyErr_Occurred()) SWIG_fail
;
4199 wxRealPoint
* resultptr
;
4200 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4201 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4209 static PyObject
*_wrap_RealPoint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4210 PyObject
*resultobj
;
4211 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4214 PyObject
* obj0
= 0 ;
4215 PyObject
* obj1
= 0 ;
4216 PyObject
* obj2
= 0 ;
4218 (char *) "self",(char *) "x",(char *) "y", NULL
4221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4223 if (SWIG_arg_fail(1)) SWIG_fail
;
4225 arg2
= (double)(SWIG_As_double(obj1
));
4226 if (SWIG_arg_fail(2)) SWIG_fail
;
4229 arg3
= (double)(SWIG_As_double(obj2
));
4230 if (SWIG_arg_fail(3)) SWIG_fail
;
4233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4234 wxRealPoint_Set(arg1
,arg2
,arg3
);
4236 wxPyEndAllowThreads(__tstate
);
4237 if (PyErr_Occurred()) SWIG_fail
;
4239 Py_INCREF(Py_None
); resultobj
= Py_None
;
4246 static PyObject
*_wrap_RealPoint_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4247 PyObject
*resultobj
;
4248 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4250 PyObject
* obj0
= 0 ;
4252 (char *) "self", NULL
4255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
4256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4257 if (SWIG_arg_fail(1)) SWIG_fail
;
4259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4260 result
= (PyObject
*)wxRealPoint_Get(arg1
);
4262 wxPyEndAllowThreads(__tstate
);
4263 if (PyErr_Occurred()) SWIG_fail
;
4272 static PyObject
* RealPoint_swigregister(PyObject
*, PyObject
*args
) {
4274 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4275 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
4277 return Py_BuildValue((char *)"");
4279 static PyObject
*_wrap_Point_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4280 PyObject
*resultobj
;
4281 wxPoint
*arg1
= (wxPoint
*) 0 ;
4283 PyObject
* obj0
= 0 ;
4284 PyObject
* obj1
= 0 ;
4286 (char *) "self",(char *) "x", NULL
4289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4291 if (SWIG_arg_fail(1)) SWIG_fail
;
4293 arg2
= (int)(SWIG_As_int(obj1
));
4294 if (SWIG_arg_fail(2)) SWIG_fail
;
4296 if (arg1
) (arg1
)->x
= arg2
;
4298 Py_INCREF(Py_None
); resultobj
= Py_None
;
4305 static PyObject
*_wrap_Point_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4306 PyObject
*resultobj
;
4307 wxPoint
*arg1
= (wxPoint
*) 0 ;
4309 PyObject
* obj0
= 0 ;
4311 (char *) "self", NULL
4314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
4315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4316 if (SWIG_arg_fail(1)) SWIG_fail
;
4317 result
= (int) ((arg1
)->x
);
4320 resultobj
= SWIG_From_int((int)(result
));
4328 static PyObject
*_wrap_Point_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4329 PyObject
*resultobj
;
4330 wxPoint
*arg1
= (wxPoint
*) 0 ;
4332 PyObject
* obj0
= 0 ;
4333 PyObject
* obj1
= 0 ;
4335 (char *) "self",(char *) "y", NULL
4338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4340 if (SWIG_arg_fail(1)) SWIG_fail
;
4342 arg2
= (int)(SWIG_As_int(obj1
));
4343 if (SWIG_arg_fail(2)) SWIG_fail
;
4345 if (arg1
) (arg1
)->y
= arg2
;
4347 Py_INCREF(Py_None
); resultobj
= Py_None
;
4354 static PyObject
*_wrap_Point_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4355 PyObject
*resultobj
;
4356 wxPoint
*arg1
= (wxPoint
*) 0 ;
4358 PyObject
* obj0
= 0 ;
4360 (char *) "self", NULL
4363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
4364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4365 if (SWIG_arg_fail(1)) SWIG_fail
;
4366 result
= (int) ((arg1
)->y
);
4369 resultobj
= SWIG_From_int((int)(result
));
4377 static PyObject
*_wrap_new_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4378 PyObject
*resultobj
;
4379 int arg1
= (int) 0 ;
4380 int arg2
= (int) 0 ;
4382 PyObject
* obj0
= 0 ;
4383 PyObject
* obj1
= 0 ;
4385 (char *) "x",(char *) "y", NULL
4388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
4391 arg1
= (int)(SWIG_As_int(obj0
));
4392 if (SWIG_arg_fail(1)) SWIG_fail
;
4397 arg2
= (int)(SWIG_As_int(obj1
));
4398 if (SWIG_arg_fail(2)) SWIG_fail
;
4402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4403 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
4405 wxPyEndAllowThreads(__tstate
);
4406 if (PyErr_Occurred()) SWIG_fail
;
4408 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4415 static PyObject
*_wrap_delete_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4416 PyObject
*resultobj
;
4417 wxPoint
*arg1
= (wxPoint
*) 0 ;
4418 PyObject
* obj0
= 0 ;
4420 (char *) "self", NULL
4423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
4424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4425 if (SWIG_arg_fail(1)) SWIG_fail
;
4427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4430 wxPyEndAllowThreads(__tstate
);
4431 if (PyErr_Occurred()) SWIG_fail
;
4433 Py_INCREF(Py_None
); resultobj
= Py_None
;
4440 static PyObject
*_wrap_Point___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4441 PyObject
*resultobj
;
4442 wxPoint
*arg1
= (wxPoint
*) 0 ;
4446 PyObject
* obj0
= 0 ;
4447 PyObject
* obj1
= 0 ;
4449 (char *) "self",(char *) "pt", NULL
4452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4454 if (SWIG_arg_fail(1)) SWIG_fail
;
4457 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4461 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
4463 wxPyEndAllowThreads(__tstate
);
4464 if (PyErr_Occurred()) SWIG_fail
;
4467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4475 static PyObject
*_wrap_Point___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4476 PyObject
*resultobj
;
4477 wxPoint
*arg1
= (wxPoint
*) 0 ;
4481 PyObject
* obj0
= 0 ;
4482 PyObject
* obj1
= 0 ;
4484 (char *) "self",(char *) "pt", NULL
4487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4489 if (SWIG_arg_fail(1)) SWIG_fail
;
4492 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4496 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
4498 wxPyEndAllowThreads(__tstate
);
4499 if (PyErr_Occurred()) SWIG_fail
;
4502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4510 static PyObject
*_wrap_Point___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4511 PyObject
*resultobj
;
4512 wxPoint
*arg1
= (wxPoint
*) 0 ;
4516 PyObject
* obj0
= 0 ;
4517 PyObject
* obj1
= 0 ;
4519 (char *) "self",(char *) "pt", NULL
4522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4524 if (SWIG_arg_fail(1)) SWIG_fail
;
4527 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4531 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
4533 wxPyEndAllowThreads(__tstate
);
4534 if (PyErr_Occurred()) SWIG_fail
;
4537 wxPoint
* resultptr
;
4538 resultptr
= new wxPoint((wxPoint
&)(result
));
4539 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4547 static PyObject
*_wrap_Point___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4548 PyObject
*resultobj
;
4549 wxPoint
*arg1
= (wxPoint
*) 0 ;
4553 PyObject
* obj0
= 0 ;
4554 PyObject
* obj1
= 0 ;
4556 (char *) "self",(char *) "pt", NULL
4559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4561 if (SWIG_arg_fail(1)) SWIG_fail
;
4564 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4568 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
4570 wxPyEndAllowThreads(__tstate
);
4571 if (PyErr_Occurred()) SWIG_fail
;
4574 wxPoint
* resultptr
;
4575 resultptr
= new wxPoint((wxPoint
&)(result
));
4576 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4584 static PyObject
*_wrap_Point___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4585 PyObject
*resultobj
;
4586 wxPoint
*arg1
= (wxPoint
*) 0 ;
4590 PyObject
* obj0
= 0 ;
4591 PyObject
* obj1
= 0 ;
4593 (char *) "self",(char *) "pt", NULL
4596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4598 if (SWIG_arg_fail(1)) SWIG_fail
;
4601 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4606 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
4607 result
= (wxPoint
*) &_result_ref
;
4610 wxPyEndAllowThreads(__tstate
);
4611 if (PyErr_Occurred()) SWIG_fail
;
4613 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4620 static PyObject
*_wrap_Point___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4621 PyObject
*resultobj
;
4622 wxPoint
*arg1
= (wxPoint
*) 0 ;
4626 PyObject
* obj0
= 0 ;
4627 PyObject
* obj1
= 0 ;
4629 (char *) "self",(char *) "pt", NULL
4632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4634 if (SWIG_arg_fail(1)) SWIG_fail
;
4637 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4642 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
4643 result
= (wxPoint
*) &_result_ref
;
4646 wxPyEndAllowThreads(__tstate
);
4647 if (PyErr_Occurred()) SWIG_fail
;
4649 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4656 static PyObject
*_wrap_Point_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4657 PyObject
*resultobj
;
4658 wxPoint
*arg1
= (wxPoint
*) 0 ;
4661 PyObject
* obj0
= 0 ;
4662 PyObject
* obj1
= 0 ;
4663 PyObject
* obj2
= 0 ;
4665 (char *) "self",(char *) "x",(char *) "y", NULL
4668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4670 if (SWIG_arg_fail(1)) SWIG_fail
;
4672 arg2
= (long)(SWIG_As_long(obj1
));
4673 if (SWIG_arg_fail(2)) SWIG_fail
;
4676 arg3
= (long)(SWIG_As_long(obj2
));
4677 if (SWIG_arg_fail(3)) SWIG_fail
;
4680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4681 wxPoint_Set(arg1
,arg2
,arg3
);
4683 wxPyEndAllowThreads(__tstate
);
4684 if (PyErr_Occurred()) SWIG_fail
;
4686 Py_INCREF(Py_None
); resultobj
= Py_None
;
4693 static PyObject
*_wrap_Point_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4694 PyObject
*resultobj
;
4695 wxPoint
*arg1
= (wxPoint
*) 0 ;
4697 PyObject
* obj0
= 0 ;
4699 (char *) "self", NULL
4702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
4703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4704 if (SWIG_arg_fail(1)) SWIG_fail
;
4706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4707 result
= (PyObject
*)wxPoint_Get(arg1
);
4709 wxPyEndAllowThreads(__tstate
);
4710 if (PyErr_Occurred()) SWIG_fail
;
4719 static PyObject
* Point_swigregister(PyObject
*, PyObject
*args
) {
4721 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4722 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
4724 return Py_BuildValue((char *)"");
4726 static PyObject
*_wrap_new_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4727 PyObject
*resultobj
;
4728 int arg1
= (int) 0 ;
4729 int arg2
= (int) 0 ;
4730 int arg3
= (int) 0 ;
4731 int arg4
= (int) 0 ;
4733 PyObject
* obj0
= 0 ;
4734 PyObject
* obj1
= 0 ;
4735 PyObject
* obj2
= 0 ;
4736 PyObject
* obj3
= 0 ;
4738 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4744 arg1
= (int)(SWIG_As_int(obj0
));
4745 if (SWIG_arg_fail(1)) SWIG_fail
;
4750 arg2
= (int)(SWIG_As_int(obj1
));
4751 if (SWIG_arg_fail(2)) SWIG_fail
;
4756 arg3
= (int)(SWIG_As_int(obj2
));
4757 if (SWIG_arg_fail(3)) SWIG_fail
;
4762 arg4
= (int)(SWIG_As_int(obj3
));
4763 if (SWIG_arg_fail(4)) SWIG_fail
;
4767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4768 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
4770 wxPyEndAllowThreads(__tstate
);
4771 if (PyErr_Occurred()) SWIG_fail
;
4773 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4780 static PyObject
*_wrap_new_RectPP(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4781 PyObject
*resultobj
;
4787 PyObject
* obj0
= 0 ;
4788 PyObject
* obj1
= 0 ;
4790 (char *) "topLeft",(char *) "bottomRight", NULL
4793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
4796 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4800 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4804 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
4806 wxPyEndAllowThreads(__tstate
);
4807 if (PyErr_Occurred()) SWIG_fail
;
4809 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4816 static PyObject
*_wrap_new_RectPS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4817 PyObject
*resultobj
;
4823 PyObject
* obj0
= 0 ;
4824 PyObject
* obj1
= 0 ;
4826 (char *) "pos",(char *) "size", NULL
4829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
4832 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4836 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4840 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
4842 wxPyEndAllowThreads(__tstate
);
4843 if (PyErr_Occurred()) SWIG_fail
;
4845 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4852 static PyObject
*_wrap_new_RectS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4853 PyObject
*resultobj
;
4857 PyObject
* obj0
= 0 ;
4859 (char *) "size", NULL
4862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RectS",kwnames
,&obj0
)) goto fail
;
4865 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
4868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4869 result
= (wxRect
*)new wxRect((wxSize
const &)*arg1
);
4871 wxPyEndAllowThreads(__tstate
);
4872 if (PyErr_Occurred()) SWIG_fail
;
4874 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4881 static PyObject
*_wrap_delete_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4882 PyObject
*resultobj
;
4883 wxRect
*arg1
= (wxRect
*) 0 ;
4884 PyObject
* obj0
= 0 ;
4886 (char *) "self", NULL
4889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
4890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4891 if (SWIG_arg_fail(1)) SWIG_fail
;
4893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4896 wxPyEndAllowThreads(__tstate
);
4897 if (PyErr_Occurred()) SWIG_fail
;
4899 Py_INCREF(Py_None
); resultobj
= Py_None
;
4906 static PyObject
*_wrap_Rect_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4907 PyObject
*resultobj
;
4908 wxRect
*arg1
= (wxRect
*) 0 ;
4910 PyObject
* obj0
= 0 ;
4912 (char *) "self", NULL
4915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
4916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4917 if (SWIG_arg_fail(1)) SWIG_fail
;
4919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4920 result
= (int)((wxRect
const *)arg1
)->GetX();
4922 wxPyEndAllowThreads(__tstate
);
4923 if (PyErr_Occurred()) SWIG_fail
;
4926 resultobj
= SWIG_From_int((int)(result
));
4934 static PyObject
*_wrap_Rect_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4935 PyObject
*resultobj
;
4936 wxRect
*arg1
= (wxRect
*) 0 ;
4938 PyObject
* obj0
= 0 ;
4939 PyObject
* obj1
= 0 ;
4941 (char *) "self",(char *) "x", NULL
4944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
4945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4946 if (SWIG_arg_fail(1)) SWIG_fail
;
4948 arg2
= (int)(SWIG_As_int(obj1
));
4949 if (SWIG_arg_fail(2)) SWIG_fail
;
4952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4955 wxPyEndAllowThreads(__tstate
);
4956 if (PyErr_Occurred()) SWIG_fail
;
4958 Py_INCREF(Py_None
); resultobj
= Py_None
;
4965 static PyObject
*_wrap_Rect_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4966 PyObject
*resultobj
;
4967 wxRect
*arg1
= (wxRect
*) 0 ;
4969 PyObject
* obj0
= 0 ;
4971 (char *) "self", NULL
4974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
4975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4976 if (SWIG_arg_fail(1)) SWIG_fail
;
4978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4979 result
= (int)(arg1
)->GetY();
4981 wxPyEndAllowThreads(__tstate
);
4982 if (PyErr_Occurred()) SWIG_fail
;
4985 resultobj
= SWIG_From_int((int)(result
));
4993 static PyObject
*_wrap_Rect_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4994 PyObject
*resultobj
;
4995 wxRect
*arg1
= (wxRect
*) 0 ;
4997 PyObject
* obj0
= 0 ;
4998 PyObject
* obj1
= 0 ;
5000 (char *) "self",(char *) "y", NULL
5003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
5004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5005 if (SWIG_arg_fail(1)) SWIG_fail
;
5007 arg2
= (int)(SWIG_As_int(obj1
));
5008 if (SWIG_arg_fail(2)) SWIG_fail
;
5011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5014 wxPyEndAllowThreads(__tstate
);
5015 if (PyErr_Occurred()) SWIG_fail
;
5017 Py_INCREF(Py_None
); resultobj
= Py_None
;
5024 static PyObject
*_wrap_Rect_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5025 PyObject
*resultobj
;
5026 wxRect
*arg1
= (wxRect
*) 0 ;
5028 PyObject
* obj0
= 0 ;
5030 (char *) "self", NULL
5033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
5034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5035 if (SWIG_arg_fail(1)) SWIG_fail
;
5037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5038 result
= (int)((wxRect
const *)arg1
)->GetWidth();
5040 wxPyEndAllowThreads(__tstate
);
5041 if (PyErr_Occurred()) SWIG_fail
;
5044 resultobj
= SWIG_From_int((int)(result
));
5052 static PyObject
*_wrap_Rect_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5053 PyObject
*resultobj
;
5054 wxRect
*arg1
= (wxRect
*) 0 ;
5056 PyObject
* obj0
= 0 ;
5057 PyObject
* obj1
= 0 ;
5059 (char *) "self",(char *) "w", NULL
5062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5064 if (SWIG_arg_fail(1)) SWIG_fail
;
5066 arg2
= (int)(SWIG_As_int(obj1
));
5067 if (SWIG_arg_fail(2)) SWIG_fail
;
5070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5071 (arg1
)->SetWidth(arg2
);
5073 wxPyEndAllowThreads(__tstate
);
5074 if (PyErr_Occurred()) SWIG_fail
;
5076 Py_INCREF(Py_None
); resultobj
= Py_None
;
5083 static PyObject
*_wrap_Rect_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5084 PyObject
*resultobj
;
5085 wxRect
*arg1
= (wxRect
*) 0 ;
5087 PyObject
* obj0
= 0 ;
5089 (char *) "self", NULL
5092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
5093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5094 if (SWIG_arg_fail(1)) SWIG_fail
;
5096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5097 result
= (int)((wxRect
const *)arg1
)->GetHeight();
5099 wxPyEndAllowThreads(__tstate
);
5100 if (PyErr_Occurred()) SWIG_fail
;
5103 resultobj
= SWIG_From_int((int)(result
));
5111 static PyObject
*_wrap_Rect_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5112 PyObject
*resultobj
;
5113 wxRect
*arg1
= (wxRect
*) 0 ;
5115 PyObject
* obj0
= 0 ;
5116 PyObject
* obj1
= 0 ;
5118 (char *) "self",(char *) "h", NULL
5121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5123 if (SWIG_arg_fail(1)) SWIG_fail
;
5125 arg2
= (int)(SWIG_As_int(obj1
));
5126 if (SWIG_arg_fail(2)) SWIG_fail
;
5129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5130 (arg1
)->SetHeight(arg2
);
5132 wxPyEndAllowThreads(__tstate
);
5133 if (PyErr_Occurred()) SWIG_fail
;
5135 Py_INCREF(Py_None
); resultobj
= Py_None
;
5142 static PyObject
*_wrap_Rect_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5143 PyObject
*resultobj
;
5144 wxRect
*arg1
= (wxRect
*) 0 ;
5146 PyObject
* obj0
= 0 ;
5148 (char *) "self", NULL
5151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
5152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5153 if (SWIG_arg_fail(1)) SWIG_fail
;
5155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5156 result
= ((wxRect
const *)arg1
)->GetPosition();
5158 wxPyEndAllowThreads(__tstate
);
5159 if (PyErr_Occurred()) SWIG_fail
;
5162 wxPoint
* resultptr
;
5163 resultptr
= new wxPoint((wxPoint
&)(result
));
5164 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5172 static PyObject
*_wrap_Rect_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5173 PyObject
*resultobj
;
5174 wxRect
*arg1
= (wxRect
*) 0 ;
5177 PyObject
* obj0
= 0 ;
5178 PyObject
* obj1
= 0 ;
5180 (char *) "self",(char *) "p", NULL
5183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
5184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5185 if (SWIG_arg_fail(1)) SWIG_fail
;
5188 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5192 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
5194 wxPyEndAllowThreads(__tstate
);
5195 if (PyErr_Occurred()) SWIG_fail
;
5197 Py_INCREF(Py_None
); resultobj
= Py_None
;
5204 static PyObject
*_wrap_Rect_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5205 PyObject
*resultobj
;
5206 wxRect
*arg1
= (wxRect
*) 0 ;
5208 PyObject
* obj0
= 0 ;
5210 (char *) "self", NULL
5213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
5214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5215 if (SWIG_arg_fail(1)) SWIG_fail
;
5217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5218 result
= ((wxRect
const *)arg1
)->GetSize();
5220 wxPyEndAllowThreads(__tstate
);
5221 if (PyErr_Occurred()) SWIG_fail
;
5225 resultptr
= new wxSize((wxSize
&)(result
));
5226 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5234 static PyObject
*_wrap_Rect_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5235 PyObject
*resultobj
;
5236 wxRect
*arg1
= (wxRect
*) 0 ;
5239 PyObject
* obj0
= 0 ;
5240 PyObject
* obj1
= 0 ;
5242 (char *) "self",(char *) "s", NULL
5245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5247 if (SWIG_arg_fail(1)) SWIG_fail
;
5250 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5254 (arg1
)->SetSize((wxSize
const &)*arg2
);
5256 wxPyEndAllowThreads(__tstate
);
5257 if (PyErr_Occurred()) SWIG_fail
;
5259 Py_INCREF(Py_None
); resultobj
= Py_None
;
5266 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5267 PyObject
*resultobj
;
5268 wxRect
*arg1
= (wxRect
*) 0 ;
5270 PyObject
* obj0
= 0 ;
5272 (char *) "self", NULL
5275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
5276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5277 if (SWIG_arg_fail(1)) SWIG_fail
;
5279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5280 result
= ((wxRect
const *)arg1
)->GetTopLeft();
5282 wxPyEndAllowThreads(__tstate
);
5283 if (PyErr_Occurred()) SWIG_fail
;
5286 wxPoint
* resultptr
;
5287 resultptr
= new wxPoint((wxPoint
&)(result
));
5288 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5296 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5297 PyObject
*resultobj
;
5298 wxRect
*arg1
= (wxRect
*) 0 ;
5301 PyObject
* obj0
= 0 ;
5302 PyObject
* obj1
= 0 ;
5304 (char *) "self",(char *) "p", NULL
5307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5309 if (SWIG_arg_fail(1)) SWIG_fail
;
5312 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5316 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
5318 wxPyEndAllowThreads(__tstate
);
5319 if (PyErr_Occurred()) SWIG_fail
;
5321 Py_INCREF(Py_None
); resultobj
= Py_None
;
5328 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5329 PyObject
*resultobj
;
5330 wxRect
*arg1
= (wxRect
*) 0 ;
5332 PyObject
* obj0
= 0 ;
5334 (char *) "self", NULL
5337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
5338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5339 if (SWIG_arg_fail(1)) SWIG_fail
;
5341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5342 result
= ((wxRect
const *)arg1
)->GetBottomRight();
5344 wxPyEndAllowThreads(__tstate
);
5345 if (PyErr_Occurred()) SWIG_fail
;
5348 wxPoint
* resultptr
;
5349 resultptr
= new wxPoint((wxPoint
&)(result
));
5350 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5358 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5359 PyObject
*resultobj
;
5360 wxRect
*arg1
= (wxRect
*) 0 ;
5363 PyObject
* obj0
= 0 ;
5364 PyObject
* obj1
= 0 ;
5366 (char *) "self",(char *) "p", NULL
5369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5371 if (SWIG_arg_fail(1)) SWIG_fail
;
5374 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5378 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
5380 wxPyEndAllowThreads(__tstate
);
5381 if (PyErr_Occurred()) SWIG_fail
;
5383 Py_INCREF(Py_None
); resultobj
= Py_None
;
5390 static PyObject
*_wrap_Rect_GetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5391 PyObject
*resultobj
;
5392 wxRect
*arg1
= (wxRect
*) 0 ;
5394 PyObject
* obj0
= 0 ;
5396 (char *) "self", NULL
5399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
5400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5401 if (SWIG_arg_fail(1)) SWIG_fail
;
5403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5404 result
= (int)((wxRect
const *)arg1
)->GetLeft();
5406 wxPyEndAllowThreads(__tstate
);
5407 if (PyErr_Occurred()) SWIG_fail
;
5410 resultobj
= SWIG_From_int((int)(result
));
5418 static PyObject
*_wrap_Rect_GetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5419 PyObject
*resultobj
;
5420 wxRect
*arg1
= (wxRect
*) 0 ;
5422 PyObject
* obj0
= 0 ;
5424 (char *) "self", NULL
5427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
5428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5429 if (SWIG_arg_fail(1)) SWIG_fail
;
5431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5432 result
= (int)((wxRect
const *)arg1
)->GetTop();
5434 wxPyEndAllowThreads(__tstate
);
5435 if (PyErr_Occurred()) SWIG_fail
;
5438 resultobj
= SWIG_From_int((int)(result
));
5446 static PyObject
*_wrap_Rect_GetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5447 PyObject
*resultobj
;
5448 wxRect
*arg1
= (wxRect
*) 0 ;
5450 PyObject
* obj0
= 0 ;
5452 (char *) "self", NULL
5455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
5456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5457 if (SWIG_arg_fail(1)) SWIG_fail
;
5459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5460 result
= (int)((wxRect
const *)arg1
)->GetBottom();
5462 wxPyEndAllowThreads(__tstate
);
5463 if (PyErr_Occurred()) SWIG_fail
;
5466 resultobj
= SWIG_From_int((int)(result
));
5474 static PyObject
*_wrap_Rect_GetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5475 PyObject
*resultobj
;
5476 wxRect
*arg1
= (wxRect
*) 0 ;
5478 PyObject
* obj0
= 0 ;
5480 (char *) "self", NULL
5483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
5484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5485 if (SWIG_arg_fail(1)) SWIG_fail
;
5487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5488 result
= (int)((wxRect
const *)arg1
)->GetRight();
5490 wxPyEndAllowThreads(__tstate
);
5491 if (PyErr_Occurred()) SWIG_fail
;
5494 resultobj
= SWIG_From_int((int)(result
));
5502 static PyObject
*_wrap_Rect_SetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5503 PyObject
*resultobj
;
5504 wxRect
*arg1
= (wxRect
*) 0 ;
5506 PyObject
* obj0
= 0 ;
5507 PyObject
* obj1
= 0 ;
5509 (char *) "self",(char *) "left", NULL
5512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5514 if (SWIG_arg_fail(1)) SWIG_fail
;
5516 arg2
= (int)(SWIG_As_int(obj1
));
5517 if (SWIG_arg_fail(2)) SWIG_fail
;
5520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5521 (arg1
)->SetLeft(arg2
);
5523 wxPyEndAllowThreads(__tstate
);
5524 if (PyErr_Occurred()) SWIG_fail
;
5526 Py_INCREF(Py_None
); resultobj
= Py_None
;
5533 static PyObject
*_wrap_Rect_SetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5534 PyObject
*resultobj
;
5535 wxRect
*arg1
= (wxRect
*) 0 ;
5537 PyObject
* obj0
= 0 ;
5538 PyObject
* obj1
= 0 ;
5540 (char *) "self",(char *) "right", NULL
5543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5545 if (SWIG_arg_fail(1)) SWIG_fail
;
5547 arg2
= (int)(SWIG_As_int(obj1
));
5548 if (SWIG_arg_fail(2)) SWIG_fail
;
5551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5552 (arg1
)->SetRight(arg2
);
5554 wxPyEndAllowThreads(__tstate
);
5555 if (PyErr_Occurred()) SWIG_fail
;
5557 Py_INCREF(Py_None
); resultobj
= Py_None
;
5564 static PyObject
*_wrap_Rect_SetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5565 PyObject
*resultobj
;
5566 wxRect
*arg1
= (wxRect
*) 0 ;
5568 PyObject
* obj0
= 0 ;
5569 PyObject
* obj1
= 0 ;
5571 (char *) "self",(char *) "top", NULL
5574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
5575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5576 if (SWIG_arg_fail(1)) SWIG_fail
;
5578 arg2
= (int)(SWIG_As_int(obj1
));
5579 if (SWIG_arg_fail(2)) SWIG_fail
;
5582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5583 (arg1
)->SetTop(arg2
);
5585 wxPyEndAllowThreads(__tstate
);
5586 if (PyErr_Occurred()) SWIG_fail
;
5588 Py_INCREF(Py_None
); resultobj
= Py_None
;
5595 static PyObject
*_wrap_Rect_SetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5596 PyObject
*resultobj
;
5597 wxRect
*arg1
= (wxRect
*) 0 ;
5599 PyObject
* obj0
= 0 ;
5600 PyObject
* obj1
= 0 ;
5602 (char *) "self",(char *) "bottom", NULL
5605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
5606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5607 if (SWIG_arg_fail(1)) SWIG_fail
;
5609 arg2
= (int)(SWIG_As_int(obj1
));
5610 if (SWIG_arg_fail(2)) SWIG_fail
;
5613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5614 (arg1
)->SetBottom(arg2
);
5616 wxPyEndAllowThreads(__tstate
);
5617 if (PyErr_Occurred()) SWIG_fail
;
5619 Py_INCREF(Py_None
); resultobj
= Py_None
;
5626 static PyObject
*_wrap_Rect_Inflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5627 PyObject
*resultobj
;
5628 wxRect
*arg1
= (wxRect
*) 0 ;
5632 PyObject
* obj0
= 0 ;
5633 PyObject
* obj1
= 0 ;
5634 PyObject
* obj2
= 0 ;
5636 (char *) "self",(char *) "dx",(char *) "dy", NULL
5639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5641 if (SWIG_arg_fail(1)) SWIG_fail
;
5643 arg2
= (int)(SWIG_As_int(obj1
));
5644 if (SWIG_arg_fail(2)) SWIG_fail
;
5647 arg3
= (int)(SWIG_As_int(obj2
));
5648 if (SWIG_arg_fail(3)) SWIG_fail
;
5651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5653 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
5654 result
= (wxRect
*) &_result_ref
;
5657 wxPyEndAllowThreads(__tstate
);
5658 if (PyErr_Occurred()) SWIG_fail
;
5660 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5667 static PyObject
*_wrap_Rect_Deflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5668 PyObject
*resultobj
;
5669 wxRect
*arg1
= (wxRect
*) 0 ;
5673 PyObject
* obj0
= 0 ;
5674 PyObject
* obj1
= 0 ;
5675 PyObject
* obj2
= 0 ;
5677 (char *) "self",(char *) "dx",(char *) "dy", NULL
5680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5682 if (SWIG_arg_fail(1)) SWIG_fail
;
5684 arg2
= (int)(SWIG_As_int(obj1
));
5685 if (SWIG_arg_fail(2)) SWIG_fail
;
5688 arg3
= (int)(SWIG_As_int(obj2
));
5689 if (SWIG_arg_fail(3)) SWIG_fail
;
5692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5694 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
5695 result
= (wxRect
*) &_result_ref
;
5698 wxPyEndAllowThreads(__tstate
);
5699 if (PyErr_Occurred()) SWIG_fail
;
5701 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5708 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5709 PyObject
*resultobj
;
5710 wxRect
*arg1
= (wxRect
*) 0 ;
5713 PyObject
* obj0
= 0 ;
5714 PyObject
* obj1
= 0 ;
5715 PyObject
* obj2
= 0 ;
5717 (char *) "self",(char *) "dx",(char *) "dy", NULL
5720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5722 if (SWIG_arg_fail(1)) SWIG_fail
;
5724 arg2
= (int)(SWIG_As_int(obj1
));
5725 if (SWIG_arg_fail(2)) SWIG_fail
;
5728 arg3
= (int)(SWIG_As_int(obj2
));
5729 if (SWIG_arg_fail(3)) SWIG_fail
;
5732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5733 (arg1
)->Offset(arg2
,arg3
);
5735 wxPyEndAllowThreads(__tstate
);
5736 if (PyErr_Occurred()) SWIG_fail
;
5738 Py_INCREF(Py_None
); resultobj
= Py_None
;
5745 static PyObject
*_wrap_Rect_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5746 PyObject
*resultobj
;
5747 wxRect
*arg1
= (wxRect
*) 0 ;
5750 PyObject
* obj0
= 0 ;
5751 PyObject
* obj1
= 0 ;
5753 (char *) "self",(char *) "pt", NULL
5756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
5757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5758 if (SWIG_arg_fail(1)) SWIG_fail
;
5761 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5765 (arg1
)->Offset((wxPoint
const &)*arg2
);
5767 wxPyEndAllowThreads(__tstate
);
5768 if (PyErr_Occurred()) SWIG_fail
;
5770 Py_INCREF(Py_None
); resultobj
= Py_None
;
5777 static PyObject
*_wrap_Rect_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5778 PyObject
*resultobj
;
5779 wxRect
*arg1
= (wxRect
*) 0 ;
5783 PyObject
* obj0
= 0 ;
5784 PyObject
* obj1
= 0 ;
5786 (char *) "self",(char *) "rect", NULL
5789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
5790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5791 if (SWIG_arg_fail(1)) SWIG_fail
;
5794 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5798 result
= (arg1
)->Intersect((wxRect
const &)*arg2
);
5800 wxPyEndAllowThreads(__tstate
);
5801 if (PyErr_Occurred()) SWIG_fail
;
5805 resultptr
= new wxRect((wxRect
&)(result
));
5806 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5814 static PyObject
*_wrap_Rect_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5815 PyObject
*resultobj
;
5816 wxRect
*arg1
= (wxRect
*) 0 ;
5820 PyObject
* obj0
= 0 ;
5821 PyObject
* obj1
= 0 ;
5823 (char *) "self",(char *) "rect", NULL
5826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Union",kwnames
,&obj0
,&obj1
)) goto fail
;
5827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5828 if (SWIG_arg_fail(1)) SWIG_fail
;
5831 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5835 result
= (arg1
)->Union((wxRect
const &)*arg2
);
5837 wxPyEndAllowThreads(__tstate
);
5838 if (PyErr_Occurred()) SWIG_fail
;
5842 resultptr
= new wxRect((wxRect
&)(result
));
5843 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5851 static PyObject
*_wrap_Rect___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5852 PyObject
*resultobj
;
5853 wxRect
*arg1
= (wxRect
*) 0 ;
5857 PyObject
* obj0
= 0 ;
5858 PyObject
* obj1
= 0 ;
5860 (char *) "self",(char *) "rect", NULL
5863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
5864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5865 if (SWIG_arg_fail(1)) SWIG_fail
;
5868 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5872 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
5874 wxPyEndAllowThreads(__tstate
);
5875 if (PyErr_Occurred()) SWIG_fail
;
5879 resultptr
= new wxRect((wxRect
&)(result
));
5880 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5888 static PyObject
*_wrap_Rect___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5889 PyObject
*resultobj
;
5890 wxRect
*arg1
= (wxRect
*) 0 ;
5894 PyObject
* obj0
= 0 ;
5895 PyObject
* obj1
= 0 ;
5897 (char *) "self",(char *) "rect", NULL
5900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
5902 if (SWIG_arg_fail(1)) SWIG_fail
;
5905 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5910 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
5911 result
= (wxRect
*) &_result_ref
;
5914 wxPyEndAllowThreads(__tstate
);
5915 if (PyErr_Occurred()) SWIG_fail
;
5917 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
5924 static PyObject
*_wrap_Rect___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5925 PyObject
*resultobj
;
5926 wxRect
*arg1
= (wxRect
*) 0 ;
5930 PyObject
* obj0
= 0 ;
5931 PyObject
* obj1
= 0 ;
5933 (char *) "self",(char *) "rect", NULL
5936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5938 if (SWIG_arg_fail(1)) SWIG_fail
;
5941 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5945 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
5947 wxPyEndAllowThreads(__tstate
);
5948 if (PyErr_Occurred()) SWIG_fail
;
5951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5959 static PyObject
*_wrap_Rect___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5960 PyObject
*resultobj
;
5961 wxRect
*arg1
= (wxRect
*) 0 ;
5965 PyObject
* obj0
= 0 ;
5966 PyObject
* obj1
= 0 ;
5968 (char *) "self",(char *) "rect", NULL
5971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5973 if (SWIG_arg_fail(1)) SWIG_fail
;
5976 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5980 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
5982 wxPyEndAllowThreads(__tstate
);
5983 if (PyErr_Occurred()) SWIG_fail
;
5986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5994 static PyObject
*_wrap_Rect_InsideXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5995 PyObject
*resultobj
;
5996 wxRect
*arg1
= (wxRect
*) 0 ;
6000 PyObject
* obj0
= 0 ;
6001 PyObject
* obj1
= 0 ;
6002 PyObject
* obj2
= 0 ;
6004 (char *) "self",(char *) "x",(char *) "y", NULL
6007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6009 if (SWIG_arg_fail(1)) SWIG_fail
;
6011 arg2
= (int)(SWIG_As_int(obj1
));
6012 if (SWIG_arg_fail(2)) SWIG_fail
;
6015 arg3
= (int)(SWIG_As_int(obj2
));
6016 if (SWIG_arg_fail(3)) SWIG_fail
;
6019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6020 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
6022 wxPyEndAllowThreads(__tstate
);
6023 if (PyErr_Occurred()) SWIG_fail
;
6026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6034 static PyObject
*_wrap_Rect_Inside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6035 PyObject
*resultobj
;
6036 wxRect
*arg1
= (wxRect
*) 0 ;
6040 PyObject
* obj0
= 0 ;
6041 PyObject
* obj1
= 0 ;
6043 (char *) "self",(char *) "pt", NULL
6046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
6047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6048 if (SWIG_arg_fail(1)) SWIG_fail
;
6051 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6055 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
6057 wxPyEndAllowThreads(__tstate
);
6058 if (PyErr_Occurred()) SWIG_fail
;
6061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6069 static PyObject
*_wrap_Rect_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6070 PyObject
*resultobj
;
6071 wxRect
*arg1
= (wxRect
*) 0 ;
6075 PyObject
* obj0
= 0 ;
6076 PyObject
* obj1
= 0 ;
6078 (char *) "self",(char *) "rect", NULL
6081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
6082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6083 if (SWIG_arg_fail(1)) SWIG_fail
;
6086 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6090 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
6092 wxPyEndAllowThreads(__tstate
);
6093 if (PyErr_Occurred()) SWIG_fail
;
6096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6104 static PyObject
*_wrap_Rect_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6105 PyObject
*resultobj
;
6106 wxRect
*arg1
= (wxRect
*) 0 ;
6108 PyObject
* obj0
= 0 ;
6109 PyObject
* obj1
= 0 ;
6111 (char *) "self",(char *) "x", NULL
6114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6116 if (SWIG_arg_fail(1)) SWIG_fail
;
6118 arg2
= (int)(SWIG_As_int(obj1
));
6119 if (SWIG_arg_fail(2)) SWIG_fail
;
6121 if (arg1
) (arg1
)->x
= arg2
;
6123 Py_INCREF(Py_None
); resultobj
= Py_None
;
6130 static PyObject
*_wrap_Rect_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6131 PyObject
*resultobj
;
6132 wxRect
*arg1
= (wxRect
*) 0 ;
6134 PyObject
* obj0
= 0 ;
6136 (char *) "self", NULL
6139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
6140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6141 if (SWIG_arg_fail(1)) SWIG_fail
;
6142 result
= (int) ((arg1
)->x
);
6145 resultobj
= SWIG_From_int((int)(result
));
6153 static PyObject
*_wrap_Rect_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6154 PyObject
*resultobj
;
6155 wxRect
*arg1
= (wxRect
*) 0 ;
6157 PyObject
* obj0
= 0 ;
6158 PyObject
* obj1
= 0 ;
6160 (char *) "self",(char *) "y", NULL
6163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6165 if (SWIG_arg_fail(1)) SWIG_fail
;
6167 arg2
= (int)(SWIG_As_int(obj1
));
6168 if (SWIG_arg_fail(2)) SWIG_fail
;
6170 if (arg1
) (arg1
)->y
= arg2
;
6172 Py_INCREF(Py_None
); resultobj
= Py_None
;
6179 static PyObject
*_wrap_Rect_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6180 PyObject
*resultobj
;
6181 wxRect
*arg1
= (wxRect
*) 0 ;
6183 PyObject
* obj0
= 0 ;
6185 (char *) "self", NULL
6188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
6189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6190 if (SWIG_arg_fail(1)) SWIG_fail
;
6191 result
= (int) ((arg1
)->y
);
6194 resultobj
= SWIG_From_int((int)(result
));
6202 static PyObject
*_wrap_Rect_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6203 PyObject
*resultobj
;
6204 wxRect
*arg1
= (wxRect
*) 0 ;
6206 PyObject
* obj0
= 0 ;
6207 PyObject
* obj1
= 0 ;
6209 (char *) "self",(char *) "width", NULL
6212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6214 if (SWIG_arg_fail(1)) SWIG_fail
;
6216 arg2
= (int)(SWIG_As_int(obj1
));
6217 if (SWIG_arg_fail(2)) SWIG_fail
;
6219 if (arg1
) (arg1
)->width
= arg2
;
6221 Py_INCREF(Py_None
); resultobj
= Py_None
;
6228 static PyObject
*_wrap_Rect_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6229 PyObject
*resultobj
;
6230 wxRect
*arg1
= (wxRect
*) 0 ;
6232 PyObject
* obj0
= 0 ;
6234 (char *) "self", NULL
6237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
6238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6239 if (SWIG_arg_fail(1)) SWIG_fail
;
6240 result
= (int) ((arg1
)->width
);
6243 resultobj
= SWIG_From_int((int)(result
));
6251 static PyObject
*_wrap_Rect_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6252 PyObject
*resultobj
;
6253 wxRect
*arg1
= (wxRect
*) 0 ;
6255 PyObject
* obj0
= 0 ;
6256 PyObject
* obj1
= 0 ;
6258 (char *) "self",(char *) "height", NULL
6261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6263 if (SWIG_arg_fail(1)) SWIG_fail
;
6265 arg2
= (int)(SWIG_As_int(obj1
));
6266 if (SWIG_arg_fail(2)) SWIG_fail
;
6268 if (arg1
) (arg1
)->height
= arg2
;
6270 Py_INCREF(Py_None
); resultobj
= Py_None
;
6277 static PyObject
*_wrap_Rect_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6278 PyObject
*resultobj
;
6279 wxRect
*arg1
= (wxRect
*) 0 ;
6281 PyObject
* obj0
= 0 ;
6283 (char *) "self", NULL
6286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
6287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6288 if (SWIG_arg_fail(1)) SWIG_fail
;
6289 result
= (int) ((arg1
)->height
);
6292 resultobj
= SWIG_From_int((int)(result
));
6300 static PyObject
*_wrap_Rect_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6301 PyObject
*resultobj
;
6302 wxRect
*arg1
= (wxRect
*) 0 ;
6303 int arg2
= (int) 0 ;
6304 int arg3
= (int) 0 ;
6305 int arg4
= (int) 0 ;
6306 int arg5
= (int) 0 ;
6307 PyObject
* obj0
= 0 ;
6308 PyObject
* obj1
= 0 ;
6309 PyObject
* obj2
= 0 ;
6310 PyObject
* obj3
= 0 ;
6311 PyObject
* obj4
= 0 ;
6313 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6318 if (SWIG_arg_fail(1)) SWIG_fail
;
6321 arg2
= (int)(SWIG_As_int(obj1
));
6322 if (SWIG_arg_fail(2)) SWIG_fail
;
6327 arg3
= (int)(SWIG_As_int(obj2
));
6328 if (SWIG_arg_fail(3)) SWIG_fail
;
6333 arg4
= (int)(SWIG_As_int(obj3
));
6334 if (SWIG_arg_fail(4)) SWIG_fail
;
6339 arg5
= (int)(SWIG_As_int(obj4
));
6340 if (SWIG_arg_fail(5)) SWIG_fail
;
6344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6345 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
6347 wxPyEndAllowThreads(__tstate
);
6348 if (PyErr_Occurred()) SWIG_fail
;
6350 Py_INCREF(Py_None
); resultobj
= Py_None
;
6357 static PyObject
*_wrap_Rect_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6358 PyObject
*resultobj
;
6359 wxRect
*arg1
= (wxRect
*) 0 ;
6361 PyObject
* obj0
= 0 ;
6363 (char *) "self", NULL
6366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
6367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6368 if (SWIG_arg_fail(1)) SWIG_fail
;
6370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6371 result
= (PyObject
*)wxRect_Get(arg1
);
6373 wxPyEndAllowThreads(__tstate
);
6374 if (PyErr_Occurred()) SWIG_fail
;
6383 static PyObject
* Rect_swigregister(PyObject
*, PyObject
*args
) {
6385 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6386 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
6388 return Py_BuildValue((char *)"");
6390 static PyObject
*_wrap_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6391 PyObject
*resultobj
;
6392 wxRect
*arg1
= (wxRect
*) 0 ;
6393 wxRect
*arg2
= (wxRect
*) 0 ;
6395 PyObject
* obj0
= 0 ;
6396 PyObject
* obj1
= 0 ;
6398 (char *) "r1",(char *) "r2", NULL
6401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6403 if (SWIG_arg_fail(1)) SWIG_fail
;
6404 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6405 if (SWIG_arg_fail(2)) SWIG_fail
;
6407 if (!wxPyCheckForApp()) SWIG_fail
;
6408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6409 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
6411 wxPyEndAllowThreads(__tstate
);
6412 if (PyErr_Occurred()) SWIG_fail
;
6421 static PyObject
*_wrap_new_Point2D(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6422 PyObject
*resultobj
;
6423 double arg1
= (double) 0.0 ;
6424 double arg2
= (double) 0.0 ;
6426 PyObject
* obj0
= 0 ;
6427 PyObject
* obj1
= 0 ;
6429 (char *) "x",(char *) "y", NULL
6432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
6435 arg1
= (double)(SWIG_As_double(obj0
));
6436 if (SWIG_arg_fail(1)) SWIG_fail
;
6441 arg2
= (double)(SWIG_As_double(obj1
));
6442 if (SWIG_arg_fail(2)) SWIG_fail
;
6446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6447 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
6449 wxPyEndAllowThreads(__tstate
);
6450 if (PyErr_Occurred()) SWIG_fail
;
6452 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6459 static PyObject
*_wrap_new_Point2DCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6460 PyObject
*resultobj
;
6461 wxPoint2D
*arg1
= 0 ;
6464 PyObject
* obj0
= 0 ;
6469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
6472 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
6475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6476 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
6478 wxPyEndAllowThreads(__tstate
);
6479 if (PyErr_Occurred()) SWIG_fail
;
6481 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6488 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6489 PyObject
*resultobj
;
6493 PyObject
* obj0
= 0 ;
6498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
6501 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6505 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
6507 wxPyEndAllowThreads(__tstate
);
6508 if (PyErr_Occurred()) SWIG_fail
;
6510 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6517 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6518 PyObject
*resultobj
;
6519 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6520 int *arg2
= (int *) 0 ;
6521 int *arg3
= (int *) 0 ;
6526 PyObject
* obj0
= 0 ;
6528 (char *) "self", NULL
6531 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6532 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
6534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6535 if (SWIG_arg_fail(1)) SWIG_fail
;
6537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6538 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
6540 wxPyEndAllowThreads(__tstate
);
6541 if (PyErr_Occurred()) SWIG_fail
;
6543 Py_INCREF(Py_None
); resultobj
= Py_None
;
6544 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6545 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6546 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6547 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6554 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6555 PyObject
*resultobj
;
6556 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6557 int *arg2
= (int *) 0 ;
6558 int *arg3
= (int *) 0 ;
6563 PyObject
* obj0
= 0 ;
6565 (char *) "self", NULL
6568 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6569 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
6571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6572 if (SWIG_arg_fail(1)) SWIG_fail
;
6574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6575 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
6577 wxPyEndAllowThreads(__tstate
);
6578 if (PyErr_Occurred()) SWIG_fail
;
6580 Py_INCREF(Py_None
); resultobj
= Py_None
;
6581 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6582 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6583 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6584 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6591 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6592 PyObject
*resultobj
;
6593 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6595 PyObject
* obj0
= 0 ;
6597 (char *) "self", NULL
6600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
6601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6602 if (SWIG_arg_fail(1)) SWIG_fail
;
6604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6605 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
6607 wxPyEndAllowThreads(__tstate
);
6608 if (PyErr_Occurred()) SWIG_fail
;
6611 resultobj
= SWIG_From_double((double)(result
));
6619 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6620 PyObject
*resultobj
;
6621 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6623 PyObject
* obj0
= 0 ;
6625 (char *) "self", NULL
6628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
6629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6630 if (SWIG_arg_fail(1)) SWIG_fail
;
6632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6633 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
6635 wxPyEndAllowThreads(__tstate
);
6636 if (PyErr_Occurred()) SWIG_fail
;
6639 resultobj
= SWIG_From_double((double)(result
));
6647 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6648 PyObject
*resultobj
;
6649 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6651 PyObject
* obj0
= 0 ;
6652 PyObject
* obj1
= 0 ;
6654 (char *) "self",(char *) "length", NULL
6657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
6658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6659 if (SWIG_arg_fail(1)) SWIG_fail
;
6661 arg2
= (double)(SWIG_As_double(obj1
));
6662 if (SWIG_arg_fail(2)) SWIG_fail
;
6665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6666 (arg1
)->SetVectorLength(arg2
);
6668 wxPyEndAllowThreads(__tstate
);
6669 if (PyErr_Occurred()) SWIG_fail
;
6671 Py_INCREF(Py_None
); resultobj
= Py_None
;
6678 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6679 PyObject
*resultobj
;
6680 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6682 PyObject
* obj0
= 0 ;
6683 PyObject
* obj1
= 0 ;
6685 (char *) "self",(char *) "degrees", NULL
6688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
6689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6690 if (SWIG_arg_fail(1)) SWIG_fail
;
6692 arg2
= (double)(SWIG_As_double(obj1
));
6693 if (SWIG_arg_fail(2)) SWIG_fail
;
6696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6697 (arg1
)->SetVectorAngle(arg2
);
6699 wxPyEndAllowThreads(__tstate
);
6700 if (PyErr_Occurred()) SWIG_fail
;
6702 Py_INCREF(Py_None
); resultobj
= Py_None
;
6709 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6710 PyObject
*resultobj
;
6711 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6712 wxPoint2D
*arg2
= 0 ;
6715 PyObject
* obj0
= 0 ;
6716 PyObject
* obj1
= 0 ;
6718 (char *) "self",(char *) "pt", NULL
6721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
6722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6723 if (SWIG_arg_fail(1)) SWIG_fail
;
6726 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6730 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
6732 wxPyEndAllowThreads(__tstate
);
6733 if (PyErr_Occurred()) SWIG_fail
;
6736 resultobj
= SWIG_From_double((double)(result
));
6744 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6745 PyObject
*resultobj
;
6746 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6747 wxPoint2D
*arg2
= 0 ;
6750 PyObject
* obj0
= 0 ;
6751 PyObject
* obj1
= 0 ;
6753 (char *) "self",(char *) "pt", NULL
6756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
6757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6758 if (SWIG_arg_fail(1)) SWIG_fail
;
6761 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6765 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
6767 wxPyEndAllowThreads(__tstate
);
6768 if (PyErr_Occurred()) SWIG_fail
;
6771 resultobj
= SWIG_From_double((double)(result
));
6779 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6780 PyObject
*resultobj
;
6781 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6782 wxPoint2D
*arg2
= 0 ;
6785 PyObject
* obj0
= 0 ;
6786 PyObject
* obj1
= 0 ;
6788 (char *) "self",(char *) "vec", NULL
6791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6793 if (SWIG_arg_fail(1)) SWIG_fail
;
6796 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6800 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
6802 wxPyEndAllowThreads(__tstate
);
6803 if (PyErr_Occurred()) SWIG_fail
;
6806 resultobj
= SWIG_From_double((double)(result
));
6814 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6815 PyObject
*resultobj
;
6816 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6817 wxPoint2D
*arg2
= 0 ;
6820 PyObject
* obj0
= 0 ;
6821 PyObject
* obj1
= 0 ;
6823 (char *) "self",(char *) "vec", NULL
6826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6828 if (SWIG_arg_fail(1)) SWIG_fail
;
6831 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6835 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
6837 wxPyEndAllowThreads(__tstate
);
6838 if (PyErr_Occurred()) SWIG_fail
;
6841 resultobj
= SWIG_From_double((double)(result
));
6849 static PyObject
*_wrap_Point2D___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6850 PyObject
*resultobj
;
6851 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6853 PyObject
* obj0
= 0 ;
6855 (char *) "self", NULL
6858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
6859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6860 if (SWIG_arg_fail(1)) SWIG_fail
;
6862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6863 result
= (arg1
)->operator -();
6865 wxPyEndAllowThreads(__tstate
);
6866 if (PyErr_Occurred()) SWIG_fail
;
6869 wxPoint2D
* resultptr
;
6870 resultptr
= new wxPoint2D((wxPoint2D
&)(result
));
6871 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
6879 static PyObject
*_wrap_Point2D___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6880 PyObject
*resultobj
;
6881 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6882 wxPoint2D
*arg2
= 0 ;
6885 PyObject
* obj0
= 0 ;
6886 PyObject
* obj1
= 0 ;
6888 (char *) "self",(char *) "pt", NULL
6891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
6892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6893 if (SWIG_arg_fail(1)) SWIG_fail
;
6896 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6901 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
6902 result
= (wxPoint2D
*) &_result_ref
;
6905 wxPyEndAllowThreads(__tstate
);
6906 if (PyErr_Occurred()) SWIG_fail
;
6908 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6915 static PyObject
*_wrap_Point2D___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6916 PyObject
*resultobj
;
6917 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6918 wxPoint2D
*arg2
= 0 ;
6921 PyObject
* obj0
= 0 ;
6922 PyObject
* obj1
= 0 ;
6924 (char *) "self",(char *) "pt", NULL
6927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
6928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6929 if (SWIG_arg_fail(1)) SWIG_fail
;
6932 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6937 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
6938 result
= (wxPoint2D
*) &_result_ref
;
6941 wxPyEndAllowThreads(__tstate
);
6942 if (PyErr_Occurred()) SWIG_fail
;
6944 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6951 static PyObject
*_wrap_Point2D___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6952 PyObject
*resultobj
;
6953 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6954 wxPoint2D
*arg2
= 0 ;
6957 PyObject
* obj0
= 0 ;
6958 PyObject
* obj1
= 0 ;
6960 (char *) "self",(char *) "pt", NULL
6963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
6964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6965 if (SWIG_arg_fail(1)) SWIG_fail
;
6968 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6973 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
6974 result
= (wxPoint2D
*) &_result_ref
;
6977 wxPyEndAllowThreads(__tstate
);
6978 if (PyErr_Occurred()) SWIG_fail
;
6980 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6987 static PyObject
*_wrap_Point2D___idiv__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6988 PyObject
*resultobj
;
6989 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6990 wxPoint2D
*arg2
= 0 ;
6993 PyObject
* obj0
= 0 ;
6994 PyObject
* obj1
= 0 ;
6996 (char *) "self",(char *) "pt", NULL
6999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
7000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7001 if (SWIG_arg_fail(1)) SWIG_fail
;
7004 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7009 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
7010 result
= (wxPoint2D
*) &_result_ref
;
7013 wxPyEndAllowThreads(__tstate
);
7014 if (PyErr_Occurred()) SWIG_fail
;
7016 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7023 static PyObject
*_wrap_Point2D___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7024 PyObject
*resultobj
;
7025 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7026 wxPoint2D
*arg2
= 0 ;
7029 PyObject
* obj0
= 0 ;
7030 PyObject
* obj1
= 0 ;
7032 (char *) "self",(char *) "pt", NULL
7035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7037 if (SWIG_arg_fail(1)) SWIG_fail
;
7040 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7044 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
7046 wxPyEndAllowThreads(__tstate
);
7047 if (PyErr_Occurred()) SWIG_fail
;
7050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7058 static PyObject
*_wrap_Point2D___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7059 PyObject
*resultobj
;
7060 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7061 wxPoint2D
*arg2
= 0 ;
7064 PyObject
* obj0
= 0 ;
7065 PyObject
* obj1
= 0 ;
7067 (char *) "self",(char *) "pt", NULL
7070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7072 if (SWIG_arg_fail(1)) SWIG_fail
;
7075 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7079 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
7081 wxPyEndAllowThreads(__tstate
);
7082 if (PyErr_Occurred()) SWIG_fail
;
7085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7093 static PyObject
*_wrap_Point2D_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7094 PyObject
*resultobj
;
7095 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7097 PyObject
* obj0
= 0 ;
7098 PyObject
* obj1
= 0 ;
7100 (char *) "self",(char *) "m_x", NULL
7103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7105 if (SWIG_arg_fail(1)) SWIG_fail
;
7107 arg2
= (double)(SWIG_As_double(obj1
));
7108 if (SWIG_arg_fail(2)) SWIG_fail
;
7110 if (arg1
) (arg1
)->m_x
= arg2
;
7112 Py_INCREF(Py_None
); resultobj
= Py_None
;
7119 static PyObject
*_wrap_Point2D_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7120 PyObject
*resultobj
;
7121 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7123 PyObject
* obj0
= 0 ;
7125 (char *) "self", NULL
7128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
7129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7130 if (SWIG_arg_fail(1)) SWIG_fail
;
7131 result
= (double) ((arg1
)->m_x
);
7134 resultobj
= SWIG_From_double((double)(result
));
7142 static PyObject
*_wrap_Point2D_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7143 PyObject
*resultobj
;
7144 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7146 PyObject
* obj0
= 0 ;
7147 PyObject
* obj1
= 0 ;
7149 (char *) "self",(char *) "m_y", NULL
7152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7154 if (SWIG_arg_fail(1)) SWIG_fail
;
7156 arg2
= (double)(SWIG_As_double(obj1
));
7157 if (SWIG_arg_fail(2)) SWIG_fail
;
7159 if (arg1
) (arg1
)->m_y
= arg2
;
7161 Py_INCREF(Py_None
); resultobj
= Py_None
;
7168 static PyObject
*_wrap_Point2D_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7169 PyObject
*resultobj
;
7170 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7172 PyObject
* obj0
= 0 ;
7174 (char *) "self", NULL
7177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
7178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7179 if (SWIG_arg_fail(1)) SWIG_fail
;
7180 result
= (double) ((arg1
)->m_y
);
7183 resultobj
= SWIG_From_double((double)(result
));
7191 static PyObject
*_wrap_Point2D_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7192 PyObject
*resultobj
;
7193 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7194 double arg2
= (double) 0 ;
7195 double arg3
= (double) 0 ;
7196 PyObject
* obj0
= 0 ;
7197 PyObject
* obj1
= 0 ;
7198 PyObject
* obj2
= 0 ;
7200 (char *) "self",(char *) "x",(char *) "y", NULL
7203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7205 if (SWIG_arg_fail(1)) SWIG_fail
;
7208 arg2
= (double)(SWIG_As_double(obj1
));
7209 if (SWIG_arg_fail(2)) SWIG_fail
;
7214 arg3
= (double)(SWIG_As_double(obj2
));
7215 if (SWIG_arg_fail(3)) SWIG_fail
;
7219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7220 wxPoint2D_Set(arg1
,arg2
,arg3
);
7222 wxPyEndAllowThreads(__tstate
);
7223 if (PyErr_Occurred()) SWIG_fail
;
7225 Py_INCREF(Py_None
); resultobj
= Py_None
;
7232 static PyObject
*_wrap_Point2D_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7233 PyObject
*resultobj
;
7234 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7236 PyObject
* obj0
= 0 ;
7238 (char *) "self", NULL
7241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
7242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7243 if (SWIG_arg_fail(1)) SWIG_fail
;
7245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7246 result
= (PyObject
*)wxPoint2D_Get(arg1
);
7248 wxPyEndAllowThreads(__tstate
);
7249 if (PyErr_Occurred()) SWIG_fail
;
7258 static PyObject
* Point2D_swigregister(PyObject
*, PyObject
*args
) {
7260 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7261 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
7263 return Py_BuildValue((char *)"");
7265 static int _wrap_DefaultPosition_set(PyObject
*) {
7266 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
7271 static PyObject
*_wrap_DefaultPosition_get(void) {
7274 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
7279 static int _wrap_DefaultSize_set(PyObject
*) {
7280 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
7285 static PyObject
*_wrap_DefaultSize_get(void) {
7288 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
7293 static PyObject
*_wrap_new_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7294 PyObject
*resultobj
;
7295 PyObject
*arg1
= (PyObject
*) 0 ;
7296 wxPyInputStream
*result
;
7297 PyObject
* obj0
= 0 ;
7302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
7305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7306 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
7308 wxPyEndAllowThreads(__tstate
);
7309 if (PyErr_Occurred()) SWIG_fail
;
7311 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
7318 static PyObject
*_wrap_delete_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7319 PyObject
*resultobj
;
7320 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7321 PyObject
* obj0
= 0 ;
7323 (char *) "self", NULL
7326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_InputStream",kwnames
,&obj0
)) goto fail
;
7327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7328 if (SWIG_arg_fail(1)) SWIG_fail
;
7330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7333 wxPyEndAllowThreads(__tstate
);
7334 if (PyErr_Occurred()) SWIG_fail
;
7336 Py_INCREF(Py_None
); resultobj
= Py_None
;
7343 static PyObject
*_wrap_InputStream_close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7344 PyObject
*resultobj
;
7345 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7346 PyObject
* obj0
= 0 ;
7348 (char *) "self", NULL
7351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
7352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7353 if (SWIG_arg_fail(1)) SWIG_fail
;
7355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7358 wxPyEndAllowThreads(__tstate
);
7359 if (PyErr_Occurred()) SWIG_fail
;
7361 Py_INCREF(Py_None
); resultobj
= Py_None
;
7368 static PyObject
*_wrap_InputStream_flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7369 PyObject
*resultobj
;
7370 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7371 PyObject
* obj0
= 0 ;
7373 (char *) "self", NULL
7376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
7377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7378 if (SWIG_arg_fail(1)) SWIG_fail
;
7380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7383 wxPyEndAllowThreads(__tstate
);
7384 if (PyErr_Occurred()) SWIG_fail
;
7386 Py_INCREF(Py_None
); resultobj
= Py_None
;
7393 static PyObject
*_wrap_InputStream_eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7394 PyObject
*resultobj
;
7395 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7397 PyObject
* obj0
= 0 ;
7399 (char *) "self", NULL
7402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
7403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7404 if (SWIG_arg_fail(1)) SWIG_fail
;
7406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7407 result
= (bool)(arg1
)->eof();
7409 wxPyEndAllowThreads(__tstate
);
7410 if (PyErr_Occurred()) SWIG_fail
;
7413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7421 static PyObject
*_wrap_InputStream_read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7422 PyObject
*resultobj
;
7423 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7424 int arg2
= (int) -1 ;
7426 PyObject
* obj0
= 0 ;
7427 PyObject
* obj1
= 0 ;
7429 (char *) "self",(char *) "size", NULL
7432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
7433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7434 if (SWIG_arg_fail(1)) SWIG_fail
;
7437 arg2
= (int)(SWIG_As_int(obj1
));
7438 if (SWIG_arg_fail(2)) SWIG_fail
;
7442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7443 result
= (PyObject
*)(arg1
)->read(arg2
);
7445 wxPyEndAllowThreads(__tstate
);
7446 if (PyErr_Occurred()) SWIG_fail
;
7455 static PyObject
*_wrap_InputStream_readline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7456 PyObject
*resultobj
;
7457 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7458 int arg2
= (int) -1 ;
7460 PyObject
* obj0
= 0 ;
7461 PyObject
* obj1
= 0 ;
7463 (char *) "self",(char *) "size", NULL
7466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
7467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7468 if (SWIG_arg_fail(1)) SWIG_fail
;
7471 arg2
= (int)(SWIG_As_int(obj1
));
7472 if (SWIG_arg_fail(2)) SWIG_fail
;
7476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7477 result
= (PyObject
*)(arg1
)->readline(arg2
);
7479 wxPyEndAllowThreads(__tstate
);
7480 if (PyErr_Occurred()) SWIG_fail
;
7489 static PyObject
*_wrap_InputStream_readlines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7490 PyObject
*resultobj
;
7491 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7492 int arg2
= (int) -1 ;
7494 PyObject
* obj0
= 0 ;
7495 PyObject
* obj1
= 0 ;
7497 (char *) "self",(char *) "sizehint", NULL
7500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
7501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7502 if (SWIG_arg_fail(1)) SWIG_fail
;
7505 arg2
= (int)(SWIG_As_int(obj1
));
7506 if (SWIG_arg_fail(2)) SWIG_fail
;
7510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7511 result
= (PyObject
*)(arg1
)->readlines(arg2
);
7513 wxPyEndAllowThreads(__tstate
);
7514 if (PyErr_Occurred()) SWIG_fail
;
7523 static PyObject
*_wrap_InputStream_seek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7524 PyObject
*resultobj
;
7525 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7527 int arg3
= (int) 0 ;
7528 PyObject
* obj0
= 0 ;
7529 PyObject
* obj1
= 0 ;
7530 PyObject
* obj2
= 0 ;
7532 (char *) "self",(char *) "offset",(char *) "whence", NULL
7535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7537 if (SWIG_arg_fail(1)) SWIG_fail
;
7539 arg2
= (int)(SWIG_As_int(obj1
));
7540 if (SWIG_arg_fail(2)) SWIG_fail
;
7544 arg3
= (int)(SWIG_As_int(obj2
));
7545 if (SWIG_arg_fail(3)) SWIG_fail
;
7549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7550 (arg1
)->seek(arg2
,arg3
);
7552 wxPyEndAllowThreads(__tstate
);
7553 if (PyErr_Occurred()) SWIG_fail
;
7555 Py_INCREF(Py_None
); resultobj
= Py_None
;
7562 static PyObject
*_wrap_InputStream_tell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7563 PyObject
*resultobj
;
7564 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7566 PyObject
* obj0
= 0 ;
7568 (char *) "self", NULL
7571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
7572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7573 if (SWIG_arg_fail(1)) SWIG_fail
;
7575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7576 result
= (int)(arg1
)->tell();
7578 wxPyEndAllowThreads(__tstate
);
7579 if (PyErr_Occurred()) SWIG_fail
;
7582 resultobj
= SWIG_From_int((int)(result
));
7590 static PyObject
*_wrap_InputStream_Peek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7591 PyObject
*resultobj
;
7592 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7594 PyObject
* obj0
= 0 ;
7596 (char *) "self", NULL
7599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
7600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7601 if (SWIG_arg_fail(1)) SWIG_fail
;
7603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7604 result
= (char)(arg1
)->Peek();
7606 wxPyEndAllowThreads(__tstate
);
7607 if (PyErr_Occurred()) SWIG_fail
;
7610 resultobj
= SWIG_From_char((char)(result
));
7618 static PyObject
*_wrap_InputStream_GetC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7619 PyObject
*resultobj
;
7620 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7622 PyObject
* obj0
= 0 ;
7624 (char *) "self", NULL
7627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
7628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7629 if (SWIG_arg_fail(1)) SWIG_fail
;
7631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7632 result
= (char)(arg1
)->GetC();
7634 wxPyEndAllowThreads(__tstate
);
7635 if (PyErr_Occurred()) SWIG_fail
;
7638 resultobj
= SWIG_From_char((char)(result
));
7646 static PyObject
*_wrap_InputStream_LastRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7647 PyObject
*resultobj
;
7648 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7650 PyObject
* obj0
= 0 ;
7652 (char *) "self", NULL
7655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
7656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7657 if (SWIG_arg_fail(1)) SWIG_fail
;
7659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7660 result
= (size_t)(arg1
)->LastRead();
7662 wxPyEndAllowThreads(__tstate
);
7663 if (PyErr_Occurred()) SWIG_fail
;
7666 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
7674 static PyObject
*_wrap_InputStream_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7675 PyObject
*resultobj
;
7676 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7678 PyObject
* obj0
= 0 ;
7680 (char *) "self", NULL
7683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
7684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7685 if (SWIG_arg_fail(1)) SWIG_fail
;
7687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7688 result
= (bool)(arg1
)->CanRead();
7690 wxPyEndAllowThreads(__tstate
);
7691 if (PyErr_Occurred()) SWIG_fail
;
7694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7702 static PyObject
*_wrap_InputStream_Eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7703 PyObject
*resultobj
;
7704 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7706 PyObject
* obj0
= 0 ;
7708 (char *) "self", NULL
7711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
7712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7713 if (SWIG_arg_fail(1)) SWIG_fail
;
7715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7716 result
= (bool)(arg1
)->Eof();
7718 wxPyEndAllowThreads(__tstate
);
7719 if (PyErr_Occurred()) SWIG_fail
;
7722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7730 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7731 PyObject
*resultobj
;
7732 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7735 PyObject
* obj0
= 0 ;
7736 PyObject
* obj1
= 0 ;
7738 (char *) "self",(char *) "c", NULL
7741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
7742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7743 if (SWIG_arg_fail(1)) SWIG_fail
;
7745 arg2
= (char)(SWIG_As_char(obj1
));
7746 if (SWIG_arg_fail(2)) SWIG_fail
;
7749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7750 result
= (bool)(arg1
)->Ungetch(arg2
);
7752 wxPyEndAllowThreads(__tstate
);
7753 if (PyErr_Occurred()) SWIG_fail
;
7756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7764 static PyObject
*_wrap_InputStream_SeekI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7765 PyObject
*resultobj
;
7766 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7768 wxSeekMode arg3
= (wxSeekMode
) wxFromStart
;
7770 PyObject
* obj0
= 0 ;
7771 PyObject
* obj1
= 0 ;
7772 PyObject
* obj2
= 0 ;
7774 (char *) "self",(char *) "pos",(char *) "mode", NULL
7777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7779 if (SWIG_arg_fail(1)) SWIG_fail
;
7781 arg2
= (long)(SWIG_As_long(obj1
));
7782 if (SWIG_arg_fail(2)) SWIG_fail
;
7786 arg3
= (wxSeekMode
)(SWIG_As_int(obj2
));
7787 if (SWIG_arg_fail(3)) SWIG_fail
;
7791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7792 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
7794 wxPyEndAllowThreads(__tstate
);
7795 if (PyErr_Occurred()) SWIG_fail
;
7798 resultobj
= SWIG_From_long((long)(result
));
7806 static PyObject
*_wrap_InputStream_TellI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7807 PyObject
*resultobj
;
7808 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7810 PyObject
* obj0
= 0 ;
7812 (char *) "self", NULL
7815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
7816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7817 if (SWIG_arg_fail(1)) SWIG_fail
;
7819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7820 result
= (long)(arg1
)->TellI();
7822 wxPyEndAllowThreads(__tstate
);
7823 if (PyErr_Occurred()) SWIG_fail
;
7826 resultobj
= SWIG_From_long((long)(result
));
7834 static PyObject
* InputStream_swigregister(PyObject
*, PyObject
*args
) {
7836 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7837 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
7839 return Py_BuildValue((char *)"");
7841 static PyObject
*_wrap_OutputStream_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7842 PyObject
*resultobj
;
7843 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
7844 PyObject
*arg2
= (PyObject
*) 0 ;
7845 PyObject
* obj0
= 0 ;
7846 PyObject
* obj1
= 0 ;
7848 (char *) "self",(char *) "obj", NULL
7851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
7852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxOutputStream
, SWIG_POINTER_EXCEPTION
| 0);
7853 if (SWIG_arg_fail(1)) SWIG_fail
;
7856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7857 wxOutputStream_write(arg1
,arg2
);
7859 wxPyEndAllowThreads(__tstate
);
7860 if (PyErr_Occurred()) SWIG_fail
;
7862 Py_INCREF(Py_None
); resultobj
= Py_None
;
7869 static PyObject
* OutputStream_swigregister(PyObject
*, PyObject
*args
) {
7871 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7872 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
7874 return Py_BuildValue((char *)"");
7876 static PyObject
*_wrap_new_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7877 PyObject
*resultobj
;
7878 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
7879 wxString
*arg2
= 0 ;
7880 wxString
*arg3
= 0 ;
7881 wxString
*arg4
= 0 ;
7884 wxPyInputStream
*temp1
;
7886 bool temp2
= false ;
7887 bool temp3
= false ;
7888 bool temp4
= false ;
7889 PyObject
* obj0
= 0 ;
7890 PyObject
* obj1
= 0 ;
7891 PyObject
* obj2
= 0 ;
7892 PyObject
* obj3
= 0 ;
7893 PyObject
* obj4
= 0 ;
7895 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
7898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7900 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
7901 arg1
= temp1
->m_wxis
;
7904 PyErr_Clear(); // clear the failure of the wxPyConvert above
7905 arg1
= wxPyCBInputStream_create(obj0
, false);
7907 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
7914 arg2
= wxString_in_helper(obj1
);
7915 if (arg2
== NULL
) SWIG_fail
;
7919 arg3
= wxString_in_helper(obj2
);
7920 if (arg3
== NULL
) SWIG_fail
;
7924 arg4
= wxString_in_helper(obj3
);
7925 if (arg4
== NULL
) SWIG_fail
;
7930 SWIG_Python_ConvertPtr(obj4
, (void **)&argp
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
);
7931 if (SWIG_arg_fail(5)) SWIG_fail
;
7933 SWIG_null_ref("wxDateTime");
7935 if (SWIG_arg_fail(5)) SWIG_fail
;
7939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7940 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
7942 wxPyEndAllowThreads(__tstate
);
7943 if (PyErr_Occurred()) SWIG_fail
;
7946 resultobj
= wxPyMake_wxObject(result
, 1);
7986 static PyObject
*_wrap_delete_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7987 PyObject
*resultobj
;
7988 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
7989 PyObject
* obj0
= 0 ;
7991 (char *) "self", NULL
7994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
7995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
7996 if (SWIG_arg_fail(1)) SWIG_fail
;
7998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8001 wxPyEndAllowThreads(__tstate
);
8002 if (PyErr_Occurred()) SWIG_fail
;
8004 Py_INCREF(Py_None
); resultobj
= Py_None
;
8011 static PyObject
*_wrap_FSFile_GetStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8012 PyObject
*resultobj
;
8013 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8014 wxInputStream
*result
;
8015 PyObject
* obj0
= 0 ;
8017 (char *) "self", NULL
8020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
8021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8022 if (SWIG_arg_fail(1)) SWIG_fail
;
8024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8025 result
= (wxInputStream
*)(arg1
)->GetStream();
8027 wxPyEndAllowThreads(__tstate
);
8028 if (PyErr_Occurred()) SWIG_fail
;
8031 wxPyInputStream
* _ptr
= NULL
;
8034 _ptr
= new wxPyInputStream(result
);
8036 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
8044 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8045 PyObject
*resultobj
;
8046 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8048 PyObject
* obj0
= 0 ;
8050 (char *) "self", NULL
8053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
8054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8055 if (SWIG_arg_fail(1)) SWIG_fail
;
8057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8059 wxString
const &_result_ref
= (arg1
)->GetMimeType();
8060 result
= (wxString
*) &_result_ref
;
8063 wxPyEndAllowThreads(__tstate
);
8064 if (PyErr_Occurred()) SWIG_fail
;
8068 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8070 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8079 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8080 PyObject
*resultobj
;
8081 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8083 PyObject
* obj0
= 0 ;
8085 (char *) "self", NULL
8088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
8089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8090 if (SWIG_arg_fail(1)) SWIG_fail
;
8092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8094 wxString
const &_result_ref
= (arg1
)->GetLocation();
8095 result
= (wxString
*) &_result_ref
;
8098 wxPyEndAllowThreads(__tstate
);
8099 if (PyErr_Occurred()) SWIG_fail
;
8103 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8105 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8114 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8115 PyObject
*resultobj
;
8116 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8118 PyObject
* obj0
= 0 ;
8120 (char *) "self", NULL
8123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
8124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8125 if (SWIG_arg_fail(1)) SWIG_fail
;
8127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8129 wxString
const &_result_ref
= (arg1
)->GetAnchor();
8130 result
= (wxString
*) &_result_ref
;
8133 wxPyEndAllowThreads(__tstate
);
8134 if (PyErr_Occurred()) SWIG_fail
;
8138 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8140 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8149 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8150 PyObject
*resultobj
;
8151 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8153 PyObject
* obj0
= 0 ;
8155 (char *) "self", NULL
8158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
8159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8160 if (SWIG_arg_fail(1)) SWIG_fail
;
8162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8163 result
= (arg1
)->GetModificationTime();
8165 wxPyEndAllowThreads(__tstate
);
8166 if (PyErr_Occurred()) SWIG_fail
;
8169 wxDateTime
* resultptr
;
8170 resultptr
= new wxDateTime((wxDateTime
&)(result
));
8171 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
8179 static PyObject
* FSFile_swigregister(PyObject
*, PyObject
*args
) {
8181 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8182 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
8184 return Py_BuildValue((char *)"");
8186 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8188 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8189 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
8191 return Py_BuildValue((char *)"");
8193 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8194 PyObject
*resultobj
;
8195 wxPyFileSystemHandler
*result
;
8200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
8202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8203 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
8205 wxPyEndAllowThreads(__tstate
);
8206 if (PyErr_Occurred()) SWIG_fail
;
8208 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
8215 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8216 PyObject
*resultobj
;
8217 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8218 PyObject
*arg2
= (PyObject
*) 0 ;
8219 PyObject
*arg3
= (PyObject
*) 0 ;
8220 PyObject
* obj0
= 0 ;
8221 PyObject
* obj1
= 0 ;
8222 PyObject
* obj2
= 0 ;
8224 (char *) "self",(char *) "self",(char *) "_class", NULL
8227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8229 if (SWIG_arg_fail(1)) SWIG_fail
;
8233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8234 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8236 wxPyEndAllowThreads(__tstate
);
8237 if (PyErr_Occurred()) SWIG_fail
;
8239 Py_INCREF(Py_None
); resultobj
= Py_None
;
8246 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8247 PyObject
*resultobj
;
8248 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8249 wxString
*arg2
= 0 ;
8251 bool temp2
= false ;
8252 PyObject
* obj0
= 0 ;
8253 PyObject
* obj1
= 0 ;
8255 (char *) "self",(char *) "location", NULL
8258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
8259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8260 if (SWIG_arg_fail(1)) SWIG_fail
;
8262 arg2
= wxString_in_helper(obj1
);
8263 if (arg2
== NULL
) SWIG_fail
;
8267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8268 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
8270 wxPyEndAllowThreads(__tstate
);
8271 if (PyErr_Occurred()) SWIG_fail
;
8274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8290 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8291 PyObject
*resultobj
;
8292 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8293 wxFileSystem
*arg2
= 0 ;
8294 wxString
*arg3
= 0 ;
8296 bool temp3
= false ;
8297 PyObject
* obj0
= 0 ;
8298 PyObject
* obj1
= 0 ;
8299 PyObject
* obj2
= 0 ;
8301 (char *) "self",(char *) "fs",(char *) "location", NULL
8304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8306 if (SWIG_arg_fail(1)) SWIG_fail
;
8308 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8309 if (SWIG_arg_fail(2)) SWIG_fail
;
8311 SWIG_null_ref("wxFileSystem");
8313 if (SWIG_arg_fail(2)) SWIG_fail
;
8316 arg3
= wxString_in_helper(obj2
);
8317 if (arg3
== NULL
) SWIG_fail
;
8321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8322 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8324 wxPyEndAllowThreads(__tstate
);
8325 if (PyErr_Occurred()) SWIG_fail
;
8328 resultobj
= wxPyMake_wxObject(result
, 1);
8344 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8345 PyObject
*resultobj
;
8346 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8347 wxString
*arg2
= 0 ;
8348 int arg3
= (int) 0 ;
8350 bool temp2
= false ;
8351 PyObject
* obj0
= 0 ;
8352 PyObject
* obj1
= 0 ;
8353 PyObject
* obj2
= 0 ;
8355 (char *) "self",(char *) "spec",(char *) "flags", NULL
8358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8360 if (SWIG_arg_fail(1)) SWIG_fail
;
8362 arg2
= wxString_in_helper(obj1
);
8363 if (arg2
== NULL
) SWIG_fail
;
8368 arg3
= (int)(SWIG_As_int(obj2
));
8369 if (SWIG_arg_fail(3)) SWIG_fail
;
8373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8374 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8376 wxPyEndAllowThreads(__tstate
);
8377 if (PyErr_Occurred()) SWIG_fail
;
8381 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8383 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8400 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8401 PyObject
*resultobj
;
8402 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8404 PyObject
* obj0
= 0 ;
8406 (char *) "self", NULL
8409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8411 if (SWIG_arg_fail(1)) SWIG_fail
;
8413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8414 result
= (arg1
)->FindNext();
8416 wxPyEndAllowThreads(__tstate
);
8417 if (PyErr_Occurred()) SWIG_fail
;
8421 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8423 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8432 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8433 PyObject
*resultobj
;
8434 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8435 wxString
*arg2
= 0 ;
8437 bool temp2
= false ;
8438 PyObject
* obj0
= 0 ;
8439 PyObject
* obj1
= 0 ;
8441 (char *) "self",(char *) "location", NULL
8444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
8445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8446 if (SWIG_arg_fail(1)) SWIG_fail
;
8448 arg2
= wxString_in_helper(obj1
);
8449 if (arg2
== NULL
) SWIG_fail
;
8453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8454 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
8456 wxPyEndAllowThreads(__tstate
);
8457 if (PyErr_Occurred()) SWIG_fail
;
8461 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8463 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8480 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8481 PyObject
*resultobj
;
8482 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8483 wxString
*arg2
= 0 ;
8485 bool temp2
= false ;
8486 PyObject
* obj0
= 0 ;
8487 PyObject
* obj1
= 0 ;
8489 (char *) "self",(char *) "location", NULL
8492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8494 if (SWIG_arg_fail(1)) SWIG_fail
;
8496 arg2
= wxString_in_helper(obj1
);
8497 if (arg2
== NULL
) SWIG_fail
;
8501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8502 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
8504 wxPyEndAllowThreads(__tstate
);
8505 if (PyErr_Occurred()) SWIG_fail
;
8509 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8511 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8528 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8529 PyObject
*resultobj
;
8530 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8531 wxString
*arg2
= 0 ;
8533 bool temp2
= false ;
8534 PyObject
* obj0
= 0 ;
8535 PyObject
* obj1
= 0 ;
8537 (char *) "self",(char *) "location", NULL
8540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
8541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8542 if (SWIG_arg_fail(1)) SWIG_fail
;
8544 arg2
= wxString_in_helper(obj1
);
8545 if (arg2
== NULL
) SWIG_fail
;
8549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8550 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
8552 wxPyEndAllowThreads(__tstate
);
8553 if (PyErr_Occurred()) SWIG_fail
;
8557 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8559 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8576 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8577 PyObject
*resultobj
;
8578 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8579 wxString
*arg2
= 0 ;
8581 bool temp2
= false ;
8582 PyObject
* obj0
= 0 ;
8583 PyObject
* obj1
= 0 ;
8585 (char *) "self",(char *) "location", NULL
8588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8590 if (SWIG_arg_fail(1)) SWIG_fail
;
8592 arg2
= wxString_in_helper(obj1
);
8593 if (arg2
== NULL
) SWIG_fail
;
8597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8598 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
8600 wxPyEndAllowThreads(__tstate
);
8601 if (PyErr_Occurred()) SWIG_fail
;
8605 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8607 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8624 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8625 PyObject
*resultobj
;
8626 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8627 wxString
*arg2
= 0 ;
8629 bool temp2
= false ;
8630 PyObject
* obj0
= 0 ;
8631 PyObject
* obj1
= 0 ;
8633 (char *) "self",(char *) "location", NULL
8636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
8637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8638 if (SWIG_arg_fail(1)) SWIG_fail
;
8640 arg2
= wxString_in_helper(obj1
);
8641 if (arg2
== NULL
) SWIG_fail
;
8645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8646 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
8648 wxPyEndAllowThreads(__tstate
);
8649 if (PyErr_Occurred()) SWIG_fail
;
8653 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8655 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8672 static PyObject
* FileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8674 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8675 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
8677 return Py_BuildValue((char *)"");
8679 static PyObject
*_wrap_new_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8680 PyObject
*resultobj
;
8681 wxFileSystem
*result
;
8686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
8688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8689 result
= (wxFileSystem
*)new wxFileSystem();
8691 wxPyEndAllowThreads(__tstate
);
8692 if (PyErr_Occurred()) SWIG_fail
;
8695 resultobj
= wxPyMake_wxObject(result
, 1);
8703 static PyObject
*_wrap_delete_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8704 PyObject
*resultobj
;
8705 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8706 PyObject
* obj0
= 0 ;
8708 (char *) "self", NULL
8711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
8712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8713 if (SWIG_arg_fail(1)) SWIG_fail
;
8715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8718 wxPyEndAllowThreads(__tstate
);
8719 if (PyErr_Occurred()) SWIG_fail
;
8721 Py_INCREF(Py_None
); resultobj
= Py_None
;
8728 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8729 PyObject
*resultobj
;
8730 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8731 wxString
*arg2
= 0 ;
8732 bool arg3
= (bool) false ;
8733 bool temp2
= false ;
8734 PyObject
* obj0
= 0 ;
8735 PyObject
* obj1
= 0 ;
8736 PyObject
* obj2
= 0 ;
8738 (char *) "self",(char *) "location",(char *) "is_dir", NULL
8741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8743 if (SWIG_arg_fail(1)) SWIG_fail
;
8745 arg2
= wxString_in_helper(obj1
);
8746 if (arg2
== NULL
) SWIG_fail
;
8751 arg3
= (bool)(SWIG_As_bool(obj2
));
8752 if (SWIG_arg_fail(3)) SWIG_fail
;
8756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8757 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
8759 wxPyEndAllowThreads(__tstate
);
8760 if (PyErr_Occurred()) SWIG_fail
;
8762 Py_INCREF(Py_None
); resultobj
= Py_None
;
8777 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8778 PyObject
*resultobj
;
8779 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8781 PyObject
* obj0
= 0 ;
8783 (char *) "self", NULL
8786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
8787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8788 if (SWIG_arg_fail(1)) SWIG_fail
;
8790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8791 result
= (arg1
)->GetPath();
8793 wxPyEndAllowThreads(__tstate
);
8794 if (PyErr_Occurred()) SWIG_fail
;
8798 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8800 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8809 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8810 PyObject
*resultobj
;
8811 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8812 wxString
*arg2
= 0 ;
8814 bool temp2
= false ;
8815 PyObject
* obj0
= 0 ;
8816 PyObject
* obj1
= 0 ;
8818 (char *) "self",(char *) "location", NULL
8821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8823 if (SWIG_arg_fail(1)) SWIG_fail
;
8825 arg2
= wxString_in_helper(obj1
);
8826 if (arg2
== NULL
) SWIG_fail
;
8830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8831 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
8833 wxPyEndAllowThreads(__tstate
);
8834 if (PyErr_Occurred()) SWIG_fail
;
8837 resultobj
= wxPyMake_wxObject(result
, 1);
8853 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8854 PyObject
*resultobj
;
8855 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8856 wxString
*arg2
= 0 ;
8857 int arg3
= (int) 0 ;
8859 bool temp2
= false ;
8860 PyObject
* obj0
= 0 ;
8861 PyObject
* obj1
= 0 ;
8862 PyObject
* obj2
= 0 ;
8864 (char *) "self",(char *) "spec",(char *) "flags", NULL
8867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8869 if (SWIG_arg_fail(1)) SWIG_fail
;
8871 arg2
= wxString_in_helper(obj1
);
8872 if (arg2
== NULL
) SWIG_fail
;
8877 arg3
= (int)(SWIG_As_int(obj2
));
8878 if (SWIG_arg_fail(3)) SWIG_fail
;
8882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8883 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8885 wxPyEndAllowThreads(__tstate
);
8886 if (PyErr_Occurred()) SWIG_fail
;
8890 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8892 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8909 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8910 PyObject
*resultobj
;
8911 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8913 PyObject
* obj0
= 0 ;
8915 (char *) "self", NULL
8918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
8919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8920 if (SWIG_arg_fail(1)) SWIG_fail
;
8922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8923 result
= (arg1
)->FindNext();
8925 wxPyEndAllowThreads(__tstate
);
8926 if (PyErr_Occurred()) SWIG_fail
;
8930 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8932 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8941 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8942 PyObject
*resultobj
;
8943 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
8944 PyObject
* obj0
= 0 ;
8946 (char *) "handler", NULL
8949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
8950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8951 if (SWIG_arg_fail(1)) SWIG_fail
;
8953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8954 wxFileSystem::AddHandler(arg1
);
8956 wxPyEndAllowThreads(__tstate
);
8957 if (PyErr_Occurred()) SWIG_fail
;
8959 Py_INCREF(Py_None
); resultobj
= Py_None
;
8966 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8967 PyObject
*resultobj
;
8972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
8974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8975 wxFileSystem::CleanUpHandlers();
8977 wxPyEndAllowThreads(__tstate
);
8978 if (PyErr_Occurred()) SWIG_fail
;
8980 Py_INCREF(Py_None
); resultobj
= Py_None
;
8987 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8988 PyObject
*resultobj
;
8989 wxString
*arg1
= 0 ;
8991 bool temp1
= false ;
8992 PyObject
* obj0
= 0 ;
8994 (char *) "filename", NULL
8997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
8999 arg1
= wxString_in_helper(obj0
);
9000 if (arg1
== NULL
) SWIG_fail
;
9004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9005 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
9007 wxPyEndAllowThreads(__tstate
);
9008 if (PyErr_Occurred()) SWIG_fail
;
9012 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9014 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9031 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9032 PyObject
*resultobj
;
9033 wxString
*arg1
= 0 ;
9035 bool temp1
= false ;
9036 PyObject
* obj0
= 0 ;
9038 (char *) "url", NULL
9041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
9043 arg1
= wxString_in_helper(obj0
);
9044 if (arg1
== NULL
) SWIG_fail
;
9048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9049 result
= FileSystem_URLToFileName((wxString
const &)*arg1
);
9051 wxPyEndAllowThreads(__tstate
);
9052 if (PyErr_Occurred()) SWIG_fail
;
9056 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9058 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9075 static PyObject
* FileSystem_swigregister(PyObject
*, PyObject
*args
) {
9077 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9078 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
9080 return Py_BuildValue((char *)"");
9082 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9083 PyObject
*resultobj
;
9084 wxInternetFSHandler
*result
;
9089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
9091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9092 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
9094 wxPyEndAllowThreads(__tstate
);
9095 if (PyErr_Occurred()) SWIG_fail
;
9097 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
9104 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9105 PyObject
*resultobj
;
9106 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9107 wxString
*arg2
= 0 ;
9109 bool temp2
= false ;
9110 PyObject
* obj0
= 0 ;
9111 PyObject
* obj1
= 0 ;
9113 (char *) "self",(char *) "location", NULL
9116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9118 if (SWIG_arg_fail(1)) SWIG_fail
;
9120 arg2
= wxString_in_helper(obj1
);
9121 if (arg2
== NULL
) SWIG_fail
;
9125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9126 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9128 wxPyEndAllowThreads(__tstate
);
9129 if (PyErr_Occurred()) SWIG_fail
;
9132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9148 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9149 PyObject
*resultobj
;
9150 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9151 wxFileSystem
*arg2
= 0 ;
9152 wxString
*arg3
= 0 ;
9154 bool temp3
= false ;
9155 PyObject
* obj0
= 0 ;
9156 PyObject
* obj1
= 0 ;
9157 PyObject
* obj2
= 0 ;
9159 (char *) "self",(char *) "fs",(char *) "location", NULL
9162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9164 if (SWIG_arg_fail(1)) SWIG_fail
;
9166 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9167 if (SWIG_arg_fail(2)) SWIG_fail
;
9169 SWIG_null_ref("wxFileSystem");
9171 if (SWIG_arg_fail(2)) SWIG_fail
;
9174 arg3
= wxString_in_helper(obj2
);
9175 if (arg3
== NULL
) SWIG_fail
;
9179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9180 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9182 wxPyEndAllowThreads(__tstate
);
9183 if (PyErr_Occurred()) SWIG_fail
;
9186 resultobj
= wxPyMake_wxObject(result
, 1);
9202 static PyObject
* InternetFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9204 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9205 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
9207 return Py_BuildValue((char *)"");
9209 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9210 PyObject
*resultobj
;
9211 wxZipFSHandler
*result
;
9216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
9218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9219 result
= (wxZipFSHandler
*)new wxZipFSHandler();
9221 wxPyEndAllowThreads(__tstate
);
9222 if (PyErr_Occurred()) SWIG_fail
;
9224 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
9231 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9232 PyObject
*resultobj
;
9233 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9234 wxString
*arg2
= 0 ;
9236 bool temp2
= false ;
9237 PyObject
* obj0
= 0 ;
9238 PyObject
* obj1
= 0 ;
9240 (char *) "self",(char *) "location", NULL
9243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9245 if (SWIG_arg_fail(1)) SWIG_fail
;
9247 arg2
= wxString_in_helper(obj1
);
9248 if (arg2
== NULL
) SWIG_fail
;
9252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9253 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9255 wxPyEndAllowThreads(__tstate
);
9256 if (PyErr_Occurred()) SWIG_fail
;
9259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9275 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9276 PyObject
*resultobj
;
9277 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9278 wxFileSystem
*arg2
= 0 ;
9279 wxString
*arg3
= 0 ;
9281 bool temp3
= false ;
9282 PyObject
* obj0
= 0 ;
9283 PyObject
* obj1
= 0 ;
9284 PyObject
* obj2
= 0 ;
9286 (char *) "self",(char *) "fs",(char *) "location", NULL
9289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9291 if (SWIG_arg_fail(1)) SWIG_fail
;
9293 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9294 if (SWIG_arg_fail(2)) SWIG_fail
;
9296 SWIG_null_ref("wxFileSystem");
9298 if (SWIG_arg_fail(2)) SWIG_fail
;
9301 arg3
= wxString_in_helper(obj2
);
9302 if (arg3
== NULL
) SWIG_fail
;
9306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9307 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9309 wxPyEndAllowThreads(__tstate
);
9310 if (PyErr_Occurred()) SWIG_fail
;
9313 resultobj
= wxPyMake_wxObject(result
, 1);
9329 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9330 PyObject
*resultobj
;
9331 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9332 wxString
*arg2
= 0 ;
9333 int arg3
= (int) 0 ;
9335 bool temp2
= false ;
9336 PyObject
* obj0
= 0 ;
9337 PyObject
* obj1
= 0 ;
9338 PyObject
* obj2
= 0 ;
9340 (char *) "self",(char *) "spec",(char *) "flags", NULL
9343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9345 if (SWIG_arg_fail(1)) SWIG_fail
;
9347 arg2
= wxString_in_helper(obj1
);
9348 if (arg2
== NULL
) SWIG_fail
;
9353 arg3
= (int)(SWIG_As_int(obj2
));
9354 if (SWIG_arg_fail(3)) SWIG_fail
;
9358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9359 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9361 wxPyEndAllowThreads(__tstate
);
9362 if (PyErr_Occurred()) SWIG_fail
;
9366 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9368 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9385 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9386 PyObject
*resultobj
;
9387 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9389 PyObject
* obj0
= 0 ;
9391 (char *) "self", NULL
9394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9396 if (SWIG_arg_fail(1)) SWIG_fail
;
9398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9399 result
= (arg1
)->FindNext();
9401 wxPyEndAllowThreads(__tstate
);
9402 if (PyErr_Occurred()) SWIG_fail
;
9406 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9408 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9417 static PyObject
* ZipFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9419 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9420 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
9422 return Py_BuildValue((char *)"");
9424 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9425 PyObject
*resultobj
;
9426 wxString
*arg1
= 0 ;
9429 bool temp1
= false ;
9430 PyObject
* obj0
= 0 ;
9431 PyObject
* obj1
= 0 ;
9432 PyObject
* obj2
= 0 ;
9434 (char *) "filename",(char *) "image",(char *) "type", NULL
9437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9439 arg1
= wxString_in_helper(obj0
);
9440 if (arg1
== NULL
) SWIG_fail
;
9444 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
9445 if (SWIG_arg_fail(2)) SWIG_fail
;
9447 SWIG_null_ref("wxImage");
9449 if (SWIG_arg_fail(2)) SWIG_fail
;
9452 arg3
= (long)(SWIG_As_long(obj2
));
9453 if (SWIG_arg_fail(3)) SWIG_fail
;
9456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9457 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
9459 wxPyEndAllowThreads(__tstate
);
9460 if (PyErr_Occurred()) SWIG_fail
;
9462 Py_INCREF(Py_None
); resultobj
= Py_None
;
9477 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9478 PyObject
*resultobj
;
9479 wxString
*arg1
= 0 ;
9480 wxBitmap
*arg2
= 0 ;
9482 bool temp1
= false ;
9483 PyObject
* obj0
= 0 ;
9484 PyObject
* obj1
= 0 ;
9485 PyObject
* obj2
= 0 ;
9487 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
9490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9492 arg1
= wxString_in_helper(obj0
);
9493 if (arg1
== NULL
) SWIG_fail
;
9497 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
9498 if (SWIG_arg_fail(2)) SWIG_fail
;
9500 SWIG_null_ref("wxBitmap");
9502 if (SWIG_arg_fail(2)) SWIG_fail
;
9505 arg3
= (long)(SWIG_As_long(obj2
));
9506 if (SWIG_arg_fail(3)) SWIG_fail
;
9509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9510 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
9512 wxPyEndAllowThreads(__tstate
);
9513 if (PyErr_Occurred()) SWIG_fail
;
9515 Py_INCREF(Py_None
); resultobj
= Py_None
;
9530 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9531 PyObject
*resultobj
;
9532 wxString
*arg1
= 0 ;
9533 PyObject
*arg2
= (PyObject
*) 0 ;
9534 bool temp1
= false ;
9535 PyObject
* obj0
= 0 ;
9536 PyObject
* obj1
= 0 ;
9538 (char *) "filename",(char *) "data", NULL
9541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
9543 arg1
= wxString_in_helper(obj0
);
9544 if (arg1
== NULL
) SWIG_fail
;
9549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9550 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
9552 wxPyEndAllowThreads(__tstate
);
9553 if (PyErr_Occurred()) SWIG_fail
;
9555 Py_INCREF(Py_None
); resultobj
= Py_None
;
9570 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9571 PyObject
*resultobj
;
9572 wxMemoryFSHandler
*result
;
9577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
9579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9580 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
9582 wxPyEndAllowThreads(__tstate
);
9583 if (PyErr_Occurred()) SWIG_fail
;
9585 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
9592 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9593 PyObject
*resultobj
;
9594 wxString
*arg1
= 0 ;
9595 bool temp1
= false ;
9596 PyObject
* obj0
= 0 ;
9598 (char *) "filename", NULL
9601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
9603 arg1
= wxString_in_helper(obj0
);
9604 if (arg1
== NULL
) SWIG_fail
;
9608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9609 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
9611 wxPyEndAllowThreads(__tstate
);
9612 if (PyErr_Occurred()) SWIG_fail
;
9614 Py_INCREF(Py_None
); resultobj
= Py_None
;
9629 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9630 PyObject
*resultobj
;
9631 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9632 wxString
*arg2
= 0 ;
9634 bool temp2
= false ;
9635 PyObject
* obj0
= 0 ;
9636 PyObject
* obj1
= 0 ;
9638 (char *) "self",(char *) "location", NULL
9641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9643 if (SWIG_arg_fail(1)) SWIG_fail
;
9645 arg2
= wxString_in_helper(obj1
);
9646 if (arg2
== NULL
) SWIG_fail
;
9650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9651 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9653 wxPyEndAllowThreads(__tstate
);
9654 if (PyErr_Occurred()) SWIG_fail
;
9657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9673 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9674 PyObject
*resultobj
;
9675 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9676 wxFileSystem
*arg2
= 0 ;
9677 wxString
*arg3
= 0 ;
9679 bool temp3
= false ;
9680 PyObject
* obj0
= 0 ;
9681 PyObject
* obj1
= 0 ;
9682 PyObject
* obj2
= 0 ;
9684 (char *) "self",(char *) "fs",(char *) "location", NULL
9687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9689 if (SWIG_arg_fail(1)) SWIG_fail
;
9691 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9692 if (SWIG_arg_fail(2)) SWIG_fail
;
9694 SWIG_null_ref("wxFileSystem");
9696 if (SWIG_arg_fail(2)) SWIG_fail
;
9699 arg3
= wxString_in_helper(obj2
);
9700 if (arg3
== NULL
) SWIG_fail
;
9704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9705 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9707 wxPyEndAllowThreads(__tstate
);
9708 if (PyErr_Occurred()) SWIG_fail
;
9711 resultobj
= wxPyMake_wxObject(result
, 1);
9727 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9728 PyObject
*resultobj
;
9729 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9730 wxString
*arg2
= 0 ;
9731 int arg3
= (int) 0 ;
9733 bool temp2
= false ;
9734 PyObject
* obj0
= 0 ;
9735 PyObject
* obj1
= 0 ;
9736 PyObject
* obj2
= 0 ;
9738 (char *) "self",(char *) "spec",(char *) "flags", NULL
9741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9743 if (SWIG_arg_fail(1)) SWIG_fail
;
9745 arg2
= wxString_in_helper(obj1
);
9746 if (arg2
== NULL
) SWIG_fail
;
9751 arg3
= (int)(SWIG_As_int(obj2
));
9752 if (SWIG_arg_fail(3)) SWIG_fail
;
9756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9757 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9759 wxPyEndAllowThreads(__tstate
);
9760 if (PyErr_Occurred()) SWIG_fail
;
9764 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9766 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9783 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9784 PyObject
*resultobj
;
9785 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9787 PyObject
* obj0
= 0 ;
9789 (char *) "self", NULL
9792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9794 if (SWIG_arg_fail(1)) SWIG_fail
;
9796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9797 result
= (arg1
)->FindNext();
9799 wxPyEndAllowThreads(__tstate
);
9800 if (PyErr_Occurred()) SWIG_fail
;
9804 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9806 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9815 static PyObject
* MemoryFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9817 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9818 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
9820 return Py_BuildValue((char *)"");
9822 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9823 PyObject
*resultobj
;
9824 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9826 PyObject
* obj0
= 0 ;
9828 (char *) "self", NULL
9831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
9832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9833 if (SWIG_arg_fail(1)) SWIG_fail
;
9835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9836 result
= (arg1
)->GetName();
9838 wxPyEndAllowThreads(__tstate
);
9839 if (PyErr_Occurred()) SWIG_fail
;
9843 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9845 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9854 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9855 PyObject
*resultobj
;
9856 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9858 PyObject
* obj0
= 0 ;
9860 (char *) "self", NULL
9863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
9864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9865 if (SWIG_arg_fail(1)) SWIG_fail
;
9867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9868 result
= (arg1
)->GetExtension();
9870 wxPyEndAllowThreads(__tstate
);
9871 if (PyErr_Occurred()) SWIG_fail
;
9875 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9877 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9886 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9887 PyObject
*resultobj
;
9888 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9890 PyObject
* obj0
= 0 ;
9892 (char *) "self", NULL
9895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
9896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9897 if (SWIG_arg_fail(1)) SWIG_fail
;
9899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9900 result
= (long)(arg1
)->GetType();
9902 wxPyEndAllowThreads(__tstate
);
9903 if (PyErr_Occurred()) SWIG_fail
;
9906 resultobj
= SWIG_From_long((long)(result
));
9914 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9915 PyObject
*resultobj
;
9916 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9918 PyObject
* obj0
= 0 ;
9920 (char *) "self", NULL
9923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
9924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9925 if (SWIG_arg_fail(1)) SWIG_fail
;
9927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9928 result
= (arg1
)->GetMimeType();
9930 wxPyEndAllowThreads(__tstate
);
9931 if (PyErr_Occurred()) SWIG_fail
;
9935 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9937 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9946 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9947 PyObject
*resultobj
;
9948 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9949 wxString
*arg2
= 0 ;
9951 bool temp2
= false ;
9952 PyObject
* obj0
= 0 ;
9953 PyObject
* obj1
= 0 ;
9955 (char *) "self",(char *) "name", NULL
9958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
9959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9960 if (SWIG_arg_fail(1)) SWIG_fail
;
9962 arg2
= wxString_in_helper(obj1
);
9963 if (arg2
== NULL
) SWIG_fail
;
9967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9968 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
9970 wxPyEndAllowThreads(__tstate
);
9971 if (PyErr_Occurred()) SWIG_fail
;
9974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9990 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9991 PyObject
*resultobj
;
9992 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9993 wxString
*arg2
= 0 ;
9994 bool temp2
= false ;
9995 PyObject
* obj0
= 0 ;
9996 PyObject
* obj1
= 0 ;
9998 (char *) "self",(char *) "name", NULL
10001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
10002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10003 if (SWIG_arg_fail(1)) SWIG_fail
;
10005 arg2
= wxString_in_helper(obj1
);
10006 if (arg2
== NULL
) SWIG_fail
;
10010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10011 (arg1
)->SetName((wxString
const &)*arg2
);
10013 wxPyEndAllowThreads(__tstate
);
10014 if (PyErr_Occurred()) SWIG_fail
;
10016 Py_INCREF(Py_None
); resultobj
= Py_None
;
10031 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10032 PyObject
*resultobj
;
10033 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10034 wxString
*arg2
= 0 ;
10035 bool temp2
= false ;
10036 PyObject
* obj0
= 0 ;
10037 PyObject
* obj1
= 0 ;
10038 char *kwnames
[] = {
10039 (char *) "self",(char *) "extension", NULL
10042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
10043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10044 if (SWIG_arg_fail(1)) SWIG_fail
;
10046 arg2
= wxString_in_helper(obj1
);
10047 if (arg2
== NULL
) SWIG_fail
;
10051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10052 (arg1
)->SetExtension((wxString
const &)*arg2
);
10054 wxPyEndAllowThreads(__tstate
);
10055 if (PyErr_Occurred()) SWIG_fail
;
10057 Py_INCREF(Py_None
); resultobj
= Py_None
;
10072 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10073 PyObject
*resultobj
;
10074 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10076 PyObject
* obj0
= 0 ;
10077 PyObject
* obj1
= 0 ;
10078 char *kwnames
[] = {
10079 (char *) "self",(char *) "type", NULL
10082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
10083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10084 if (SWIG_arg_fail(1)) SWIG_fail
;
10086 arg2
= (long)(SWIG_As_long(obj1
));
10087 if (SWIG_arg_fail(2)) SWIG_fail
;
10090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10091 (arg1
)->SetType(arg2
);
10093 wxPyEndAllowThreads(__tstate
);
10094 if (PyErr_Occurred()) SWIG_fail
;
10096 Py_INCREF(Py_None
); resultobj
= Py_None
;
10103 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10104 PyObject
*resultobj
;
10105 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10106 wxString
*arg2
= 0 ;
10107 bool temp2
= false ;
10108 PyObject
* obj0
= 0 ;
10109 PyObject
* obj1
= 0 ;
10110 char *kwnames
[] = {
10111 (char *) "self",(char *) "mimetype", NULL
10114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
10115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10116 if (SWIG_arg_fail(1)) SWIG_fail
;
10118 arg2
= wxString_in_helper(obj1
);
10119 if (arg2
== NULL
) SWIG_fail
;
10123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10124 (arg1
)->SetMimeType((wxString
const &)*arg2
);
10126 wxPyEndAllowThreads(__tstate
);
10127 if (PyErr_Occurred()) SWIG_fail
;
10129 Py_INCREF(Py_None
); resultobj
= Py_None
;
10144 static PyObject
* ImageHandler_swigregister(PyObject
*, PyObject
*args
) {
10146 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10147 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
10149 return Py_BuildValue((char *)"");
10151 static PyObject
*_wrap_new_ImageHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10152 PyObject
*resultobj
;
10153 wxImageHistogram
*result
;
10154 char *kwnames
[] = {
10158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
10160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10161 result
= (wxImageHistogram
*)new wxImageHistogram();
10163 wxPyEndAllowThreads(__tstate
);
10164 if (PyErr_Occurred()) SWIG_fail
;
10166 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
10173 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10174 PyObject
*resultobj
;
10175 unsigned char arg1
;
10176 unsigned char arg2
;
10177 unsigned char arg3
;
10178 unsigned long result
;
10179 PyObject
* obj0
= 0 ;
10180 PyObject
* obj1
= 0 ;
10181 PyObject
* obj2
= 0 ;
10182 char *kwnames
[] = {
10183 (char *) "r",(char *) "g",(char *) "b", NULL
10186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10188 arg1
= (unsigned char)(SWIG_As_unsigned_SS_char(obj0
));
10189 if (SWIG_arg_fail(1)) SWIG_fail
;
10192 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
10193 if (SWIG_arg_fail(2)) SWIG_fail
;
10196 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
10197 if (SWIG_arg_fail(3)) SWIG_fail
;
10200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10201 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
10203 wxPyEndAllowThreads(__tstate
);
10204 if (PyErr_Occurred()) SWIG_fail
;
10207 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10215 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10216 PyObject
*resultobj
;
10217 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10218 unsigned char *arg2
= (unsigned char *) 0 ;
10219 unsigned char *arg3
= (unsigned char *) 0 ;
10220 unsigned char *arg4
= (unsigned char *) 0 ;
10221 unsigned char arg5
= (unsigned char) 1 ;
10222 unsigned char arg6
= (unsigned char) 0 ;
10223 unsigned char arg7
= (unsigned char) 0 ;
10225 unsigned char temp2
;
10227 unsigned char temp3
;
10229 unsigned char temp4
;
10231 PyObject
* obj0
= 0 ;
10232 PyObject
* obj1
= 0 ;
10233 PyObject
* obj2
= 0 ;
10234 PyObject
* obj3
= 0 ;
10235 char *kwnames
[] = {
10236 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
10239 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10240 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10241 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10244 if (SWIG_arg_fail(1)) SWIG_fail
;
10247 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
10248 if (SWIG_arg_fail(5)) SWIG_fail
;
10253 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
10254 if (SWIG_arg_fail(6)) SWIG_fail
;
10259 arg7
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
10260 if (SWIG_arg_fail(7)) SWIG_fail
;
10264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10265 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10267 wxPyEndAllowThreads(__tstate
);
10268 if (PyErr_Occurred()) SWIG_fail
;
10271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10273 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10274 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
10275 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10276 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
10277 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10278 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
10285 static PyObject
* ImageHistogram_swigregister(PyObject
*, PyObject
*args
) {
10287 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10288 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
10290 return Py_BuildValue((char *)"");
10292 static PyObject
*_wrap_new_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10293 PyObject
*resultobj
;
10294 wxString
*arg1
= 0 ;
10295 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10296 int arg3
= (int) -1 ;
10298 bool temp1
= false ;
10299 PyObject
* obj0
= 0 ;
10300 PyObject
* obj1
= 0 ;
10301 PyObject
* obj2
= 0 ;
10302 char *kwnames
[] = {
10303 (char *) "name",(char *) "type",(char *) "index", NULL
10306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10308 arg1
= wxString_in_helper(obj0
);
10309 if (arg1
== NULL
) SWIG_fail
;
10314 arg2
= (long)(SWIG_As_long(obj1
));
10315 if (SWIG_arg_fail(2)) SWIG_fail
;
10320 arg3
= (int)(SWIG_As_int(obj2
));
10321 if (SWIG_arg_fail(3)) SWIG_fail
;
10325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10326 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
10328 wxPyEndAllowThreads(__tstate
);
10329 if (PyErr_Occurred()) SWIG_fail
;
10331 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10346 static PyObject
*_wrap_delete_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10347 PyObject
*resultobj
;
10348 wxImage
*arg1
= (wxImage
*) 0 ;
10349 PyObject
* obj0
= 0 ;
10350 char *kwnames
[] = {
10351 (char *) "self", NULL
10354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
10355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10356 if (SWIG_arg_fail(1)) SWIG_fail
;
10358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10361 wxPyEndAllowThreads(__tstate
);
10362 if (PyErr_Occurred()) SWIG_fail
;
10364 Py_INCREF(Py_None
); resultobj
= Py_None
;
10371 static PyObject
*_wrap_new_ImageFromMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10372 PyObject
*resultobj
;
10373 wxString
*arg1
= 0 ;
10374 wxString
*arg2
= 0 ;
10375 int arg3
= (int) -1 ;
10377 bool temp1
= false ;
10378 bool temp2
= false ;
10379 PyObject
* obj0
= 0 ;
10380 PyObject
* obj1
= 0 ;
10381 PyObject
* obj2
= 0 ;
10382 char *kwnames
[] = {
10383 (char *) "name",(char *) "mimetype",(char *) "index", NULL
10386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10388 arg1
= wxString_in_helper(obj0
);
10389 if (arg1
== NULL
) SWIG_fail
;
10393 arg2
= wxString_in_helper(obj1
);
10394 if (arg2
== NULL
) SWIG_fail
;
10399 arg3
= (int)(SWIG_As_int(obj2
));
10400 if (SWIG_arg_fail(3)) SWIG_fail
;
10404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10405 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
10407 wxPyEndAllowThreads(__tstate
);
10408 if (PyErr_Occurred()) SWIG_fail
;
10410 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10433 static PyObject
*_wrap_new_ImageFromStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10434 PyObject
*resultobj
;
10435 wxInputStream
*arg1
= 0 ;
10436 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10437 int arg3
= (int) -1 ;
10439 wxPyInputStream
*temp1
;
10441 PyObject
* obj0
= 0 ;
10442 PyObject
* obj1
= 0 ;
10443 PyObject
* obj2
= 0 ;
10444 char *kwnames
[] = {
10445 (char *) "stream",(char *) "type",(char *) "index", NULL
10448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10450 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10451 arg1
= temp1
->m_wxis
;
10454 PyErr_Clear(); // clear the failure of the wxPyConvert above
10455 arg1
= wxPyCBInputStream_create(obj0
, false);
10456 if (arg1
== NULL
) {
10457 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10465 arg2
= (long)(SWIG_As_long(obj1
));
10466 if (SWIG_arg_fail(2)) SWIG_fail
;
10471 arg3
= (int)(SWIG_As_int(obj2
));
10472 if (SWIG_arg_fail(3)) SWIG_fail
;
10476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10477 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
10479 wxPyEndAllowThreads(__tstate
);
10480 if (PyErr_Occurred()) SWIG_fail
;
10482 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10497 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10498 PyObject
*resultobj
;
10499 wxInputStream
*arg1
= 0 ;
10500 wxString
*arg2
= 0 ;
10501 int arg3
= (int) -1 ;
10503 wxPyInputStream
*temp1
;
10505 bool temp2
= false ;
10506 PyObject
* obj0
= 0 ;
10507 PyObject
* obj1
= 0 ;
10508 PyObject
* obj2
= 0 ;
10509 char *kwnames
[] = {
10510 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
10513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10515 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10516 arg1
= temp1
->m_wxis
;
10519 PyErr_Clear(); // clear the failure of the wxPyConvert above
10520 arg1
= wxPyCBInputStream_create(obj0
, false);
10521 if (arg1
== NULL
) {
10522 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10529 arg2
= wxString_in_helper(obj1
);
10530 if (arg2
== NULL
) SWIG_fail
;
10535 arg3
= (int)(SWIG_As_int(obj2
));
10536 if (SWIG_arg_fail(3)) SWIG_fail
;
10540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10541 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
10543 wxPyEndAllowThreads(__tstate
);
10544 if (PyErr_Occurred()) SWIG_fail
;
10546 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10569 static PyObject
*_wrap_new_EmptyImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10570 PyObject
*resultobj
;
10571 int arg1
= (int) 0 ;
10572 int arg2
= (int) 0 ;
10573 bool arg3
= (bool) true ;
10575 PyObject
* obj0
= 0 ;
10576 PyObject
* obj1
= 0 ;
10577 PyObject
* obj2
= 0 ;
10578 char *kwnames
[] = {
10579 (char *) "width",(char *) "height",(char *) "clear", NULL
10582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10585 arg1
= (int)(SWIG_As_int(obj0
));
10586 if (SWIG_arg_fail(1)) SWIG_fail
;
10591 arg2
= (int)(SWIG_As_int(obj1
));
10592 if (SWIG_arg_fail(2)) SWIG_fail
;
10597 arg3
= (bool)(SWIG_As_bool(obj2
));
10598 if (SWIG_arg_fail(3)) SWIG_fail
;
10602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10603 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
10605 wxPyEndAllowThreads(__tstate
);
10606 if (PyErr_Occurred()) SWIG_fail
;
10608 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10615 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10616 PyObject
*resultobj
;
10617 wxBitmap
*arg1
= 0 ;
10619 PyObject
* obj0
= 0 ;
10620 char *kwnames
[] = {
10621 (char *) "bitmap", NULL
10624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
10626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
10627 if (SWIG_arg_fail(1)) SWIG_fail
;
10628 if (arg1
== NULL
) {
10629 SWIG_null_ref("wxBitmap");
10631 if (SWIG_arg_fail(1)) SWIG_fail
;
10634 if (!wxPyCheckForApp()) SWIG_fail
;
10635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10636 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
10638 wxPyEndAllowThreads(__tstate
);
10639 if (PyErr_Occurred()) SWIG_fail
;
10641 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10648 static PyObject
*_wrap_new_ImageFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10649 PyObject
*resultobj
;
10652 unsigned char *arg3
= (unsigned char *) 0 ;
10654 PyObject
* obj0
= 0 ;
10655 PyObject
* obj1
= 0 ;
10656 PyObject
* obj2
= 0 ;
10657 char *kwnames
[] = {
10658 (char *) "width",(char *) "height",(char *) "data", NULL
10661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10663 arg1
= (int)(SWIG_As_int(obj0
));
10664 if (SWIG_arg_fail(1)) SWIG_fail
;
10667 arg2
= (int)(SWIG_As_int(obj1
));
10668 if (SWIG_arg_fail(2)) SWIG_fail
;
10670 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
10671 if (SWIG_arg_fail(3)) SWIG_fail
;
10673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10674 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
10676 wxPyEndAllowThreads(__tstate
);
10677 if (PyErr_Occurred()) SWIG_fail
;
10679 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10686 static PyObject
*_wrap_new_ImageFromDataWithAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10687 PyObject
*resultobj
;
10690 unsigned char *arg3
= (unsigned char *) 0 ;
10691 unsigned char *arg4
= (unsigned char *) 0 ;
10693 PyObject
* obj0
= 0 ;
10694 PyObject
* obj1
= 0 ;
10695 PyObject
* obj2
= 0 ;
10696 PyObject
* obj3
= 0 ;
10697 char *kwnames
[] = {
10698 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
10701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_ImageFromDataWithAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10703 arg1
= (int)(SWIG_As_int(obj0
));
10704 if (SWIG_arg_fail(1)) SWIG_fail
;
10707 arg2
= (int)(SWIG_As_int(obj1
));
10708 if (SWIG_arg_fail(2)) SWIG_fail
;
10710 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
10711 if (SWIG_arg_fail(3)) SWIG_fail
;
10712 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
10713 if (SWIG_arg_fail(4)) SWIG_fail
;
10715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10716 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
);
10718 wxPyEndAllowThreads(__tstate
);
10719 if (PyErr_Occurred()) SWIG_fail
;
10721 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10728 static PyObject
*_wrap_Image_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10729 PyObject
*resultobj
;
10730 wxImage
*arg1
= (wxImage
*) 0 ;
10733 PyObject
* obj0
= 0 ;
10734 PyObject
* obj1
= 0 ;
10735 PyObject
* obj2
= 0 ;
10736 char *kwnames
[] = {
10737 (char *) "self",(char *) "width",(char *) "height", NULL
10740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10742 if (SWIG_arg_fail(1)) SWIG_fail
;
10744 arg2
= (int)(SWIG_As_int(obj1
));
10745 if (SWIG_arg_fail(2)) SWIG_fail
;
10748 arg3
= (int)(SWIG_As_int(obj2
));
10749 if (SWIG_arg_fail(3)) SWIG_fail
;
10752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10753 (arg1
)->Create(arg2
,arg3
);
10755 wxPyEndAllowThreads(__tstate
);
10756 if (PyErr_Occurred()) SWIG_fail
;
10758 Py_INCREF(Py_None
); resultobj
= Py_None
;
10765 static PyObject
*_wrap_Image_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10766 PyObject
*resultobj
;
10767 wxImage
*arg1
= (wxImage
*) 0 ;
10768 PyObject
* obj0
= 0 ;
10769 char *kwnames
[] = {
10770 (char *) "self", NULL
10773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
10774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10775 if (SWIG_arg_fail(1)) SWIG_fail
;
10777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10780 wxPyEndAllowThreads(__tstate
);
10781 if (PyErr_Occurred()) SWIG_fail
;
10783 Py_INCREF(Py_None
); resultobj
= Py_None
;
10790 static PyObject
*_wrap_Image_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10791 PyObject
*resultobj
;
10792 wxImage
*arg1
= (wxImage
*) 0 ;
10795 SwigValueWrapper
<wxImage
> result
;
10796 PyObject
* obj0
= 0 ;
10797 PyObject
* obj1
= 0 ;
10798 PyObject
* obj2
= 0 ;
10799 char *kwnames
[] = {
10800 (char *) "self",(char *) "width",(char *) "height", NULL
10803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10805 if (SWIG_arg_fail(1)) SWIG_fail
;
10807 arg2
= (int)(SWIG_As_int(obj1
));
10808 if (SWIG_arg_fail(2)) SWIG_fail
;
10811 arg3
= (int)(SWIG_As_int(obj2
));
10812 if (SWIG_arg_fail(3)) SWIG_fail
;
10815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10816 result
= (arg1
)->Scale(arg2
,arg3
);
10818 wxPyEndAllowThreads(__tstate
);
10819 if (PyErr_Occurred()) SWIG_fail
;
10822 wxImage
* resultptr
;
10823 resultptr
= new wxImage((wxImage
&)(result
));
10824 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10832 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10833 PyObject
*resultobj
;
10834 wxImage
*arg1
= (wxImage
*) 0 ;
10837 SwigValueWrapper
<wxImage
> result
;
10838 PyObject
* obj0
= 0 ;
10839 PyObject
* obj1
= 0 ;
10840 PyObject
* obj2
= 0 ;
10841 char *kwnames
[] = {
10842 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
10845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10847 if (SWIG_arg_fail(1)) SWIG_fail
;
10849 arg2
= (int)(SWIG_As_int(obj1
));
10850 if (SWIG_arg_fail(2)) SWIG_fail
;
10853 arg3
= (int)(SWIG_As_int(obj2
));
10854 if (SWIG_arg_fail(3)) SWIG_fail
;
10857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10858 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
10860 wxPyEndAllowThreads(__tstate
);
10861 if (PyErr_Occurred()) SWIG_fail
;
10864 wxImage
* resultptr
;
10865 resultptr
= new wxImage((wxImage
&)(result
));
10866 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10874 static PyObject
*_wrap_Image_Rescale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10875 PyObject
*resultobj
;
10876 wxImage
*arg1
= (wxImage
*) 0 ;
10880 PyObject
* obj0
= 0 ;
10881 PyObject
* obj1
= 0 ;
10882 PyObject
* obj2
= 0 ;
10883 char *kwnames
[] = {
10884 (char *) "self",(char *) "width",(char *) "height", NULL
10887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10889 if (SWIG_arg_fail(1)) SWIG_fail
;
10891 arg2
= (int)(SWIG_As_int(obj1
));
10892 if (SWIG_arg_fail(2)) SWIG_fail
;
10895 arg3
= (int)(SWIG_As_int(obj2
));
10896 if (SWIG_arg_fail(3)) SWIG_fail
;
10899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10901 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
10902 result
= (wxImage
*) &_result_ref
;
10905 wxPyEndAllowThreads(__tstate
);
10906 if (PyErr_Occurred()) SWIG_fail
;
10908 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
10915 static PyObject
*_wrap_Image_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10916 PyObject
*resultobj
;
10917 wxImage
*arg1
= (wxImage
*) 0 ;
10920 unsigned char arg4
;
10921 unsigned char arg5
;
10922 unsigned char arg6
;
10923 PyObject
* obj0
= 0 ;
10924 PyObject
* obj1
= 0 ;
10925 PyObject
* obj2
= 0 ;
10926 PyObject
* obj3
= 0 ;
10927 PyObject
* obj4
= 0 ;
10928 PyObject
* obj5
= 0 ;
10929 char *kwnames
[] = {
10930 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
10933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10935 if (SWIG_arg_fail(1)) SWIG_fail
;
10937 arg2
= (int)(SWIG_As_int(obj1
));
10938 if (SWIG_arg_fail(2)) SWIG_fail
;
10941 arg3
= (int)(SWIG_As_int(obj2
));
10942 if (SWIG_arg_fail(3)) SWIG_fail
;
10945 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
10946 if (SWIG_arg_fail(4)) SWIG_fail
;
10949 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj4
));
10950 if (SWIG_arg_fail(5)) SWIG_fail
;
10953 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj5
));
10954 if (SWIG_arg_fail(6)) SWIG_fail
;
10957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10958 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
10960 wxPyEndAllowThreads(__tstate
);
10961 if (PyErr_Occurred()) SWIG_fail
;
10963 Py_INCREF(Py_None
); resultobj
= Py_None
;
10970 static PyObject
*_wrap_Image_GetRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10971 PyObject
*resultobj
;
10972 wxImage
*arg1
= (wxImage
*) 0 ;
10975 unsigned char result
;
10976 PyObject
* obj0
= 0 ;
10977 PyObject
* obj1
= 0 ;
10978 PyObject
* obj2
= 0 ;
10979 char *kwnames
[] = {
10980 (char *) "self",(char *) "x",(char *) "y", NULL
10983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10985 if (SWIG_arg_fail(1)) SWIG_fail
;
10987 arg2
= (int)(SWIG_As_int(obj1
));
10988 if (SWIG_arg_fail(2)) SWIG_fail
;
10991 arg3
= (int)(SWIG_As_int(obj2
));
10992 if (SWIG_arg_fail(3)) SWIG_fail
;
10995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10996 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
10998 wxPyEndAllowThreads(__tstate
);
10999 if (PyErr_Occurred()) SWIG_fail
;
11002 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11010 static PyObject
*_wrap_Image_GetGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11011 PyObject
*resultobj
;
11012 wxImage
*arg1
= (wxImage
*) 0 ;
11015 unsigned char result
;
11016 PyObject
* obj0
= 0 ;
11017 PyObject
* obj1
= 0 ;
11018 PyObject
* obj2
= 0 ;
11019 char *kwnames
[] = {
11020 (char *) "self",(char *) "x",(char *) "y", NULL
11023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11025 if (SWIG_arg_fail(1)) SWIG_fail
;
11027 arg2
= (int)(SWIG_As_int(obj1
));
11028 if (SWIG_arg_fail(2)) SWIG_fail
;
11031 arg3
= (int)(SWIG_As_int(obj2
));
11032 if (SWIG_arg_fail(3)) SWIG_fail
;
11035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11036 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
11038 wxPyEndAllowThreads(__tstate
);
11039 if (PyErr_Occurred()) SWIG_fail
;
11042 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11050 static PyObject
*_wrap_Image_GetBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11051 PyObject
*resultobj
;
11052 wxImage
*arg1
= (wxImage
*) 0 ;
11055 unsigned char result
;
11056 PyObject
* obj0
= 0 ;
11057 PyObject
* obj1
= 0 ;
11058 PyObject
* obj2
= 0 ;
11059 char *kwnames
[] = {
11060 (char *) "self",(char *) "x",(char *) "y", NULL
11063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11065 if (SWIG_arg_fail(1)) SWIG_fail
;
11067 arg2
= (int)(SWIG_As_int(obj1
));
11068 if (SWIG_arg_fail(2)) SWIG_fail
;
11071 arg3
= (int)(SWIG_As_int(obj2
));
11072 if (SWIG_arg_fail(3)) SWIG_fail
;
11075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11076 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
11078 wxPyEndAllowThreads(__tstate
);
11079 if (PyErr_Occurred()) SWIG_fail
;
11082 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11090 static PyObject
*_wrap_Image_SetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11091 PyObject
*resultobj
;
11092 wxImage
*arg1
= (wxImage
*) 0 ;
11095 unsigned char arg4
;
11096 PyObject
* obj0
= 0 ;
11097 PyObject
* obj1
= 0 ;
11098 PyObject
* obj2
= 0 ;
11099 PyObject
* obj3
= 0 ;
11100 char *kwnames
[] = {
11101 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
11104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11106 if (SWIG_arg_fail(1)) SWIG_fail
;
11108 arg2
= (int)(SWIG_As_int(obj1
));
11109 if (SWIG_arg_fail(2)) SWIG_fail
;
11112 arg3
= (int)(SWIG_As_int(obj2
));
11113 if (SWIG_arg_fail(3)) SWIG_fail
;
11116 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11117 if (SWIG_arg_fail(4)) SWIG_fail
;
11120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11121 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
11123 wxPyEndAllowThreads(__tstate
);
11124 if (PyErr_Occurred()) SWIG_fail
;
11126 Py_INCREF(Py_None
); resultobj
= Py_None
;
11133 static PyObject
*_wrap_Image_GetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11134 PyObject
*resultobj
;
11135 wxImage
*arg1
= (wxImage
*) 0 ;
11138 unsigned char result
;
11139 PyObject
* obj0
= 0 ;
11140 PyObject
* obj1
= 0 ;
11141 PyObject
* obj2
= 0 ;
11142 char *kwnames
[] = {
11143 (char *) "self",(char *) "x",(char *) "y", NULL
11146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11148 if (SWIG_arg_fail(1)) SWIG_fail
;
11150 arg2
= (int)(SWIG_As_int(obj1
));
11151 if (SWIG_arg_fail(2)) SWIG_fail
;
11154 arg3
= (int)(SWIG_As_int(obj2
));
11155 if (SWIG_arg_fail(3)) SWIG_fail
;
11158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11159 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
11161 wxPyEndAllowThreads(__tstate
);
11162 if (PyErr_Occurred()) SWIG_fail
;
11165 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11173 static PyObject
*_wrap_Image_HasAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11174 PyObject
*resultobj
;
11175 wxImage
*arg1
= (wxImage
*) 0 ;
11177 PyObject
* obj0
= 0 ;
11178 char *kwnames
[] = {
11179 (char *) "self", NULL
11182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
11183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11184 if (SWIG_arg_fail(1)) SWIG_fail
;
11186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11187 result
= (bool)(arg1
)->HasAlpha();
11189 wxPyEndAllowThreads(__tstate
);
11190 if (PyErr_Occurred()) SWIG_fail
;
11193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11201 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11202 PyObject
*resultobj
;
11203 wxImage
*arg1
= (wxImage
*) 0 ;
11204 byte
*arg2
= (byte
*) 0 ;
11205 byte
*arg3
= (byte
*) 0 ;
11206 byte
*arg4
= (byte
*) 0 ;
11207 byte arg5
= (byte
) 0 ;
11208 byte arg6
= (byte
) 0 ;
11209 byte arg7
= (byte
) 0 ;
11217 PyObject
* obj0
= 0 ;
11218 PyObject
* obj1
= 0 ;
11219 PyObject
* obj2
= 0 ;
11220 PyObject
* obj3
= 0 ;
11221 char *kwnames
[] = {
11222 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
11225 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
11226 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11227 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
11228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11230 if (SWIG_arg_fail(1)) SWIG_fail
;
11233 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11234 if (SWIG_arg_fail(5)) SWIG_fail
;
11239 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11240 if (SWIG_arg_fail(6)) SWIG_fail
;
11245 arg7
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11246 if (SWIG_arg_fail(7)) SWIG_fail
;
11250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11251 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11253 wxPyEndAllowThreads(__tstate
);
11254 if (PyErr_Occurred()) SWIG_fail
;
11257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11259 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
11260 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
11261 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11262 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
11263 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
11264 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
11271 static PyObject
*_wrap_Image_ConvertAlphaToMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11272 PyObject
*resultobj
;
11273 wxImage
*arg1
= (wxImage
*) 0 ;
11274 byte arg2
= (byte
) 128 ;
11276 PyObject
* obj0
= 0 ;
11277 PyObject
* obj1
= 0 ;
11278 char *kwnames
[] = {
11279 (char *) "self",(char *) "threshold", NULL
11282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) goto fail
;
11283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11284 if (SWIG_arg_fail(1)) SWIG_fail
;
11287 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11288 if (SWIG_arg_fail(2)) SWIG_fail
;
11292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11293 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
11295 wxPyEndAllowThreads(__tstate
);
11296 if (PyErr_Occurred()) SWIG_fail
;
11299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11307 static PyObject
*_wrap_Image_ConvertColourToAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11308 PyObject
*resultobj
;
11309 wxImage
*arg1
= (wxImage
*) 0 ;
11310 unsigned char arg2
;
11311 unsigned char arg3
;
11312 unsigned char arg4
;
11314 PyObject
* obj0
= 0 ;
11315 PyObject
* obj1
= 0 ;
11316 PyObject
* obj2
= 0 ;
11317 PyObject
* obj3
= 0 ;
11318 char *kwnames
[] = {
11319 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
11322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertColourToAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11324 if (SWIG_arg_fail(1)) SWIG_fail
;
11326 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
11327 if (SWIG_arg_fail(2)) SWIG_fail
;
11330 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
11331 if (SWIG_arg_fail(3)) SWIG_fail
;
11334 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11335 if (SWIG_arg_fail(4)) SWIG_fail
;
11338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11339 result
= (bool)(arg1
)->ConvertColourToAlpha(arg2
,arg3
,arg4
);
11341 wxPyEndAllowThreads(__tstate
);
11342 if (PyErr_Occurred()) SWIG_fail
;
11345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11353 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11354 PyObject
*resultobj
;
11355 wxImage
*arg1
= (wxImage
*) 0 ;
11356 wxImage
*arg2
= 0 ;
11361 PyObject
* obj0
= 0 ;
11362 PyObject
* obj1
= 0 ;
11363 PyObject
* obj2
= 0 ;
11364 PyObject
* obj3
= 0 ;
11365 PyObject
* obj4
= 0 ;
11366 char *kwnames
[] = {
11367 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
11370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11372 if (SWIG_arg_fail(1)) SWIG_fail
;
11374 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11375 if (SWIG_arg_fail(2)) SWIG_fail
;
11376 if (arg2
== NULL
) {
11377 SWIG_null_ref("wxImage");
11379 if (SWIG_arg_fail(2)) SWIG_fail
;
11382 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11383 if (SWIG_arg_fail(3)) SWIG_fail
;
11386 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11387 if (SWIG_arg_fail(4)) SWIG_fail
;
11390 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
11391 if (SWIG_arg_fail(5)) SWIG_fail
;
11394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11395 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
11397 wxPyEndAllowThreads(__tstate
);
11398 if (PyErr_Occurred()) SWIG_fail
;
11401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11409 static PyObject
*_wrap_Image_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11410 PyObject
*resultobj
;
11411 wxString
*arg1
= 0 ;
11413 bool temp1
= false ;
11414 PyObject
* obj0
= 0 ;
11415 char *kwnames
[] = {
11416 (char *) "name", NULL
11419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
11421 arg1
= wxString_in_helper(obj0
);
11422 if (arg1
== NULL
) SWIG_fail
;
11426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11427 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
11429 wxPyEndAllowThreads(__tstate
);
11430 if (PyErr_Occurred()) SWIG_fail
;
11433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11449 static PyObject
*_wrap_Image_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11450 PyObject
*resultobj
;
11451 wxString
*arg1
= 0 ;
11452 long arg2
= (long) wxBITMAP_TYPE_ANY
;
11454 bool temp1
= false ;
11455 PyObject
* obj0
= 0 ;
11456 PyObject
* obj1
= 0 ;
11457 char *kwnames
[] = {
11458 (char *) "name",(char *) "type", NULL
11461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11463 arg1
= wxString_in_helper(obj0
);
11464 if (arg1
== NULL
) SWIG_fail
;
11469 arg2
= (long)(SWIG_As_long(obj1
));
11470 if (SWIG_arg_fail(2)) SWIG_fail
;
11474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11475 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
11477 wxPyEndAllowThreads(__tstate
);
11478 if (PyErr_Occurred()) SWIG_fail
;
11481 resultobj
= SWIG_From_int((int)(result
));
11497 static PyObject
*_wrap_Image_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11498 PyObject
*resultobj
;
11499 wxImage
*arg1
= (wxImage
*) 0 ;
11500 wxString
*arg2
= 0 ;
11501 long arg3
= (long) wxBITMAP_TYPE_ANY
;
11502 int arg4
= (int) -1 ;
11504 bool temp2
= false ;
11505 PyObject
* obj0
= 0 ;
11506 PyObject
* obj1
= 0 ;
11507 PyObject
* obj2
= 0 ;
11508 PyObject
* obj3
= 0 ;
11509 char *kwnames
[] = {
11510 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
11513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11515 if (SWIG_arg_fail(1)) SWIG_fail
;
11517 arg2
= wxString_in_helper(obj1
);
11518 if (arg2
== NULL
) SWIG_fail
;
11523 arg3
= (long)(SWIG_As_long(obj2
));
11524 if (SWIG_arg_fail(3)) SWIG_fail
;
11529 arg4
= (int)(SWIG_As_int(obj3
));
11530 if (SWIG_arg_fail(4)) SWIG_fail
;
11534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11535 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
11537 wxPyEndAllowThreads(__tstate
);
11538 if (PyErr_Occurred()) SWIG_fail
;
11541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11557 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11558 PyObject
*resultobj
;
11559 wxImage
*arg1
= (wxImage
*) 0 ;
11560 wxString
*arg2
= 0 ;
11561 wxString
*arg3
= 0 ;
11562 int arg4
= (int) -1 ;
11564 bool temp2
= false ;
11565 bool temp3
= false ;
11566 PyObject
* obj0
= 0 ;
11567 PyObject
* obj1
= 0 ;
11568 PyObject
* obj2
= 0 ;
11569 PyObject
* obj3
= 0 ;
11570 char *kwnames
[] = {
11571 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
11574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11576 if (SWIG_arg_fail(1)) SWIG_fail
;
11578 arg2
= wxString_in_helper(obj1
);
11579 if (arg2
== NULL
) SWIG_fail
;
11583 arg3
= wxString_in_helper(obj2
);
11584 if (arg3
== NULL
) SWIG_fail
;
11589 arg4
= (int)(SWIG_As_int(obj3
));
11590 if (SWIG_arg_fail(4)) SWIG_fail
;
11594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11595 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
11597 wxPyEndAllowThreads(__tstate
);
11598 if (PyErr_Occurred()) SWIG_fail
;
11601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11625 static PyObject
*_wrap_Image_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11626 PyObject
*resultobj
;
11627 wxImage
*arg1
= (wxImage
*) 0 ;
11628 wxString
*arg2
= 0 ;
11631 bool temp2
= false ;
11632 PyObject
* obj0
= 0 ;
11633 PyObject
* obj1
= 0 ;
11634 PyObject
* obj2
= 0 ;
11635 char *kwnames
[] = {
11636 (char *) "self",(char *) "name",(char *) "type", NULL
11639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11641 if (SWIG_arg_fail(1)) SWIG_fail
;
11643 arg2
= wxString_in_helper(obj1
);
11644 if (arg2
== NULL
) SWIG_fail
;
11648 arg3
= (int)(SWIG_As_int(obj2
));
11649 if (SWIG_arg_fail(3)) SWIG_fail
;
11652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11653 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
11655 wxPyEndAllowThreads(__tstate
);
11656 if (PyErr_Occurred()) SWIG_fail
;
11659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11675 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11676 PyObject
*resultobj
;
11677 wxImage
*arg1
= (wxImage
*) 0 ;
11678 wxString
*arg2
= 0 ;
11679 wxString
*arg3
= 0 ;
11681 bool temp2
= false ;
11682 bool temp3
= false ;
11683 PyObject
* obj0
= 0 ;
11684 PyObject
* obj1
= 0 ;
11685 PyObject
* obj2
= 0 ;
11686 char *kwnames
[] = {
11687 (char *) "self",(char *) "name",(char *) "mimetype", NULL
11690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11692 if (SWIG_arg_fail(1)) SWIG_fail
;
11694 arg2
= wxString_in_helper(obj1
);
11695 if (arg2
== NULL
) SWIG_fail
;
11699 arg3
= wxString_in_helper(obj2
);
11700 if (arg3
== NULL
) SWIG_fail
;
11704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11705 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
11707 wxPyEndAllowThreads(__tstate
);
11708 if (PyErr_Occurred()) SWIG_fail
;
11711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11735 static PyObject
*_wrap_Image_CanReadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11736 PyObject
*resultobj
;
11737 wxInputStream
*arg1
= 0 ;
11739 wxPyInputStream
*temp1
;
11741 PyObject
* obj0
= 0 ;
11742 char *kwnames
[] = {
11743 (char *) "stream", NULL
11746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
11748 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
11749 arg1
= temp1
->m_wxis
;
11752 PyErr_Clear(); // clear the failure of the wxPyConvert above
11753 arg1
= wxPyCBInputStream_create(obj0
, false);
11754 if (arg1
== NULL
) {
11755 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
11762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11763 result
= (bool)wxImage::CanRead(*arg1
);
11765 wxPyEndAllowThreads(__tstate
);
11766 if (PyErr_Occurred()) SWIG_fail
;
11769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11785 static PyObject
*_wrap_Image_LoadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11786 PyObject
*resultobj
;
11787 wxImage
*arg1
= (wxImage
*) 0 ;
11788 wxInputStream
*arg2
= 0 ;
11789 long arg3
= (long) wxBITMAP_TYPE_ANY
;
11790 int arg4
= (int) -1 ;
11792 wxPyInputStream
*temp2
;
11794 PyObject
* obj0
= 0 ;
11795 PyObject
* obj1
= 0 ;
11796 PyObject
* obj2
= 0 ;
11797 PyObject
* obj3
= 0 ;
11798 char *kwnames
[] = {
11799 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
11802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11804 if (SWIG_arg_fail(1)) SWIG_fail
;
11806 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
11807 arg2
= temp2
->m_wxis
;
11810 PyErr_Clear(); // clear the failure of the wxPyConvert above
11811 arg2
= wxPyCBInputStream_create(obj1
, false);
11812 if (arg2
== NULL
) {
11813 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
11821 arg3
= (long)(SWIG_As_long(obj2
));
11822 if (SWIG_arg_fail(3)) SWIG_fail
;
11827 arg4
= (int)(SWIG_As_int(obj3
));
11828 if (SWIG_arg_fail(4)) SWIG_fail
;
11832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11833 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
11835 wxPyEndAllowThreads(__tstate
);
11836 if (PyErr_Occurred()) SWIG_fail
;
11839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11855 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11856 PyObject
*resultobj
;
11857 wxImage
*arg1
= (wxImage
*) 0 ;
11858 wxInputStream
*arg2
= 0 ;
11859 wxString
*arg3
= 0 ;
11860 int arg4
= (int) -1 ;
11862 wxPyInputStream
*temp2
;
11864 bool temp3
= false ;
11865 PyObject
* obj0
= 0 ;
11866 PyObject
* obj1
= 0 ;
11867 PyObject
* obj2
= 0 ;
11868 PyObject
* obj3
= 0 ;
11869 char *kwnames
[] = {
11870 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
11873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11875 if (SWIG_arg_fail(1)) SWIG_fail
;
11877 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
11878 arg2
= temp2
->m_wxis
;
11881 PyErr_Clear(); // clear the failure of the wxPyConvert above
11882 arg2
= wxPyCBInputStream_create(obj1
, false);
11883 if (arg2
== NULL
) {
11884 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
11891 arg3
= wxString_in_helper(obj2
);
11892 if (arg3
== NULL
) SWIG_fail
;
11897 arg4
= (int)(SWIG_As_int(obj3
));
11898 if (SWIG_arg_fail(4)) SWIG_fail
;
11902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11903 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
11905 wxPyEndAllowThreads(__tstate
);
11906 if (PyErr_Occurred()) SWIG_fail
;
11909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11933 static PyObject
*_wrap_Image_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11934 PyObject
*resultobj
;
11935 wxImage
*arg1
= (wxImage
*) 0 ;
11937 PyObject
* obj0
= 0 ;
11938 char *kwnames
[] = {
11939 (char *) "self", NULL
11942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
11943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11944 if (SWIG_arg_fail(1)) SWIG_fail
;
11946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11947 result
= (bool)(arg1
)->Ok();
11949 wxPyEndAllowThreads(__tstate
);
11950 if (PyErr_Occurred()) SWIG_fail
;
11953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11961 static PyObject
*_wrap_Image_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11962 PyObject
*resultobj
;
11963 wxImage
*arg1
= (wxImage
*) 0 ;
11965 PyObject
* obj0
= 0 ;
11966 char *kwnames
[] = {
11967 (char *) "self", NULL
11970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
11971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11972 if (SWIG_arg_fail(1)) SWIG_fail
;
11974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11975 result
= (int)(arg1
)->GetWidth();
11977 wxPyEndAllowThreads(__tstate
);
11978 if (PyErr_Occurred()) SWIG_fail
;
11981 resultobj
= SWIG_From_int((int)(result
));
11989 static PyObject
*_wrap_Image_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11990 PyObject
*resultobj
;
11991 wxImage
*arg1
= (wxImage
*) 0 ;
11993 PyObject
* obj0
= 0 ;
11994 char *kwnames
[] = {
11995 (char *) "self", NULL
11998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
11999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12000 if (SWIG_arg_fail(1)) SWIG_fail
;
12002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12003 result
= (int)(arg1
)->GetHeight();
12005 wxPyEndAllowThreads(__tstate
);
12006 if (PyErr_Occurred()) SWIG_fail
;
12009 resultobj
= SWIG_From_int((int)(result
));
12017 static PyObject
*_wrap_Image_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12018 PyObject
*resultobj
;
12019 wxImage
*arg1
= (wxImage
*) 0 ;
12021 PyObject
* obj0
= 0 ;
12022 char *kwnames
[] = {
12023 (char *) "self", NULL
12026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
12027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12028 if (SWIG_arg_fail(1)) SWIG_fail
;
12030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12031 result
= wxImage_GetSize(arg1
);
12033 wxPyEndAllowThreads(__tstate
);
12034 if (PyErr_Occurred()) SWIG_fail
;
12037 wxSize
* resultptr
;
12038 resultptr
= new wxSize((wxSize
&)(result
));
12039 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
12047 static PyObject
*_wrap_Image_GetSubImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12048 PyObject
*resultobj
;
12049 wxImage
*arg1
= (wxImage
*) 0 ;
12051 SwigValueWrapper
<wxImage
> result
;
12053 PyObject
* obj0
= 0 ;
12054 PyObject
* obj1
= 0 ;
12055 char *kwnames
[] = {
12056 (char *) "self",(char *) "rect", NULL
12059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
12060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12061 if (SWIG_arg_fail(1)) SWIG_fail
;
12064 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12068 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
12070 wxPyEndAllowThreads(__tstate
);
12071 if (PyErr_Occurred()) SWIG_fail
;
12074 wxImage
* resultptr
;
12075 resultptr
= new wxImage((wxImage
&)(result
));
12076 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12084 static PyObject
*_wrap_Image_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12085 PyObject
*resultobj
;
12086 wxImage
*arg1
= (wxImage
*) 0 ;
12087 SwigValueWrapper
<wxImage
> result
;
12088 PyObject
* obj0
= 0 ;
12089 char *kwnames
[] = {
12090 (char *) "self", NULL
12093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
12094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12095 if (SWIG_arg_fail(1)) SWIG_fail
;
12097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12098 result
= (arg1
)->Copy();
12100 wxPyEndAllowThreads(__tstate
);
12101 if (PyErr_Occurred()) SWIG_fail
;
12104 wxImage
* resultptr
;
12105 resultptr
= new wxImage((wxImage
&)(result
));
12106 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12114 static PyObject
*_wrap_Image_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12115 PyObject
*resultobj
;
12116 wxImage
*arg1
= (wxImage
*) 0 ;
12117 wxImage
*arg2
= 0 ;
12120 PyObject
* obj0
= 0 ;
12121 PyObject
* obj1
= 0 ;
12122 PyObject
* obj2
= 0 ;
12123 PyObject
* obj3
= 0 ;
12124 char *kwnames
[] = {
12125 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
12128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12130 if (SWIG_arg_fail(1)) SWIG_fail
;
12132 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12133 if (SWIG_arg_fail(2)) SWIG_fail
;
12134 if (arg2
== NULL
) {
12135 SWIG_null_ref("wxImage");
12137 if (SWIG_arg_fail(2)) SWIG_fail
;
12140 arg3
= (int)(SWIG_As_int(obj2
));
12141 if (SWIG_arg_fail(3)) SWIG_fail
;
12144 arg4
= (int)(SWIG_As_int(obj3
));
12145 if (SWIG_arg_fail(4)) SWIG_fail
;
12148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12149 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
12151 wxPyEndAllowThreads(__tstate
);
12152 if (PyErr_Occurred()) SWIG_fail
;
12154 Py_INCREF(Py_None
); resultobj
= Py_None
;
12161 static PyObject
*_wrap_Image_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12162 PyObject
*resultobj
;
12163 wxImage
*arg1
= (wxImage
*) 0 ;
12165 PyObject
* obj0
= 0 ;
12166 char *kwnames
[] = {
12167 (char *) "self", NULL
12170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
12171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12172 if (SWIG_arg_fail(1)) SWIG_fail
;
12174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12175 result
= (PyObject
*)wxImage_GetData(arg1
);
12177 wxPyEndAllowThreads(__tstate
);
12178 if (PyErr_Occurred()) SWIG_fail
;
12180 resultobj
= result
;
12187 static PyObject
*_wrap_Image_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12188 PyObject
*resultobj
;
12189 wxImage
*arg1
= (wxImage
*) 0 ;
12190 PyObject
*arg2
= (PyObject
*) 0 ;
12191 PyObject
* obj0
= 0 ;
12192 PyObject
* obj1
= 0 ;
12193 char *kwnames
[] = {
12194 (char *) "self",(char *) "data", NULL
12197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
12198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12199 if (SWIG_arg_fail(1)) SWIG_fail
;
12202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12203 wxImage_SetData(arg1
,arg2
);
12205 wxPyEndAllowThreads(__tstate
);
12206 if (PyErr_Occurred()) SWIG_fail
;
12208 Py_INCREF(Py_None
); resultobj
= Py_None
;
12215 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12216 PyObject
*resultobj
;
12217 wxImage
*arg1
= (wxImage
*) 0 ;
12219 PyObject
* obj0
= 0 ;
12220 char *kwnames
[] = {
12221 (char *) "self", NULL
12224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
12225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12226 if (SWIG_arg_fail(1)) SWIG_fail
;
12228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12229 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
12231 wxPyEndAllowThreads(__tstate
);
12232 if (PyErr_Occurred()) SWIG_fail
;
12234 resultobj
= result
;
12241 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12242 PyObject
*resultobj
;
12243 wxImage
*arg1
= (wxImage
*) 0 ;
12244 PyObject
*arg2
= (PyObject
*) 0 ;
12245 PyObject
* obj0
= 0 ;
12246 PyObject
* obj1
= 0 ;
12247 char *kwnames
[] = {
12248 (char *) "self",(char *) "data", NULL
12251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12253 if (SWIG_arg_fail(1)) SWIG_fail
;
12256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12257 wxImage_SetDataBuffer(arg1
,arg2
);
12259 wxPyEndAllowThreads(__tstate
);
12260 if (PyErr_Occurred()) SWIG_fail
;
12262 Py_INCREF(Py_None
); resultobj
= Py_None
;
12269 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12270 PyObject
*resultobj
;
12271 wxImage
*arg1
= (wxImage
*) 0 ;
12273 PyObject
* obj0
= 0 ;
12274 char *kwnames
[] = {
12275 (char *) "self", NULL
12278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
12279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12280 if (SWIG_arg_fail(1)) SWIG_fail
;
12282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12283 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
12285 wxPyEndAllowThreads(__tstate
);
12286 if (PyErr_Occurred()) SWIG_fail
;
12288 resultobj
= result
;
12295 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12296 PyObject
*resultobj
;
12297 wxImage
*arg1
= (wxImage
*) 0 ;
12298 PyObject
*arg2
= (PyObject
*) 0 ;
12299 PyObject
* obj0
= 0 ;
12300 PyObject
* obj1
= 0 ;
12301 char *kwnames
[] = {
12302 (char *) "self",(char *) "data", NULL
12305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
12306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12307 if (SWIG_arg_fail(1)) SWIG_fail
;
12310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12311 wxImage_SetAlphaData(arg1
,arg2
);
12313 wxPyEndAllowThreads(__tstate
);
12314 if (PyErr_Occurred()) SWIG_fail
;
12316 Py_INCREF(Py_None
); resultobj
= Py_None
;
12323 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12324 PyObject
*resultobj
;
12325 wxImage
*arg1
= (wxImage
*) 0 ;
12327 PyObject
* obj0
= 0 ;
12328 char *kwnames
[] = {
12329 (char *) "self", NULL
12332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
12333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12334 if (SWIG_arg_fail(1)) SWIG_fail
;
12336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12337 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
12339 wxPyEndAllowThreads(__tstate
);
12340 if (PyErr_Occurred()) SWIG_fail
;
12342 resultobj
= result
;
12349 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12350 PyObject
*resultobj
;
12351 wxImage
*arg1
= (wxImage
*) 0 ;
12352 PyObject
*arg2
= (PyObject
*) 0 ;
12353 PyObject
* obj0
= 0 ;
12354 PyObject
* obj1
= 0 ;
12355 char *kwnames
[] = {
12356 (char *) "self",(char *) "data", NULL
12359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12361 if (SWIG_arg_fail(1)) SWIG_fail
;
12364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12365 wxImage_SetAlphaBuffer(arg1
,arg2
);
12367 wxPyEndAllowThreads(__tstate
);
12368 if (PyErr_Occurred()) SWIG_fail
;
12370 Py_INCREF(Py_None
); resultobj
= Py_None
;
12377 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12378 PyObject
*resultobj
;
12379 wxImage
*arg1
= (wxImage
*) 0 ;
12380 unsigned char arg2
;
12381 unsigned char arg3
;
12382 unsigned char arg4
;
12383 PyObject
* obj0
= 0 ;
12384 PyObject
* obj1
= 0 ;
12385 PyObject
* obj2
= 0 ;
12386 PyObject
* obj3
= 0 ;
12387 char *kwnames
[] = {
12388 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
12391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12393 if (SWIG_arg_fail(1)) SWIG_fail
;
12395 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
12396 if (SWIG_arg_fail(2)) SWIG_fail
;
12399 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
12400 if (SWIG_arg_fail(3)) SWIG_fail
;
12403 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
12404 if (SWIG_arg_fail(4)) SWIG_fail
;
12407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12408 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
12410 wxPyEndAllowThreads(__tstate
);
12411 if (PyErr_Occurred()) SWIG_fail
;
12413 Py_INCREF(Py_None
); resultobj
= Py_None
;
12420 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12421 PyObject
*resultobj
;
12422 wxImage
*arg1
= (wxImage
*) 0 ;
12423 unsigned char result
;
12424 PyObject
* obj0
= 0 ;
12425 char *kwnames
[] = {
12426 (char *) "self", NULL
12429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
12430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12431 if (SWIG_arg_fail(1)) SWIG_fail
;
12433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12434 result
= (unsigned char)(arg1
)->GetMaskRed();
12436 wxPyEndAllowThreads(__tstate
);
12437 if (PyErr_Occurred()) SWIG_fail
;
12440 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12448 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12449 PyObject
*resultobj
;
12450 wxImage
*arg1
= (wxImage
*) 0 ;
12451 unsigned char result
;
12452 PyObject
* obj0
= 0 ;
12453 char *kwnames
[] = {
12454 (char *) "self", NULL
12457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
12458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12459 if (SWIG_arg_fail(1)) SWIG_fail
;
12461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12462 result
= (unsigned char)(arg1
)->GetMaskGreen();
12464 wxPyEndAllowThreads(__tstate
);
12465 if (PyErr_Occurred()) SWIG_fail
;
12468 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12476 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12477 PyObject
*resultobj
;
12478 wxImage
*arg1
= (wxImage
*) 0 ;
12479 unsigned char result
;
12480 PyObject
* obj0
= 0 ;
12481 char *kwnames
[] = {
12482 (char *) "self", NULL
12485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
12486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12487 if (SWIG_arg_fail(1)) SWIG_fail
;
12489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12490 result
= (unsigned char)(arg1
)->GetMaskBlue();
12492 wxPyEndAllowThreads(__tstate
);
12493 if (PyErr_Occurred()) SWIG_fail
;
12496 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12504 static PyObject
*_wrap_Image_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12505 PyObject
*resultobj
;
12506 wxImage
*arg1
= (wxImage
*) 0 ;
12507 bool arg2
= (bool) true ;
12508 PyObject
* obj0
= 0 ;
12509 PyObject
* obj1
= 0 ;
12510 char *kwnames
[] = {
12511 (char *) "self",(char *) "mask", NULL
12514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
12515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12516 if (SWIG_arg_fail(1)) SWIG_fail
;
12519 arg2
= (bool)(SWIG_As_bool(obj1
));
12520 if (SWIG_arg_fail(2)) SWIG_fail
;
12524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12525 (arg1
)->SetMask(arg2
);
12527 wxPyEndAllowThreads(__tstate
);
12528 if (PyErr_Occurred()) SWIG_fail
;
12530 Py_INCREF(Py_None
); resultobj
= Py_None
;
12537 static PyObject
*_wrap_Image_HasMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12538 PyObject
*resultobj
;
12539 wxImage
*arg1
= (wxImage
*) 0 ;
12541 PyObject
* obj0
= 0 ;
12542 char *kwnames
[] = {
12543 (char *) "self", NULL
12546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
12547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12548 if (SWIG_arg_fail(1)) SWIG_fail
;
12550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12551 result
= (bool)(arg1
)->HasMask();
12553 wxPyEndAllowThreads(__tstate
);
12554 if (PyErr_Occurred()) SWIG_fail
;
12557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12565 static PyObject
*_wrap_Image_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12566 PyObject
*resultobj
;
12567 wxImage
*arg1
= (wxImage
*) 0 ;
12569 wxPoint
*arg3
= 0 ;
12570 bool arg4
= (bool) true ;
12571 wxPoint
*arg5
= (wxPoint
*) NULL
;
12572 SwigValueWrapper
<wxImage
> result
;
12574 PyObject
* obj0
= 0 ;
12575 PyObject
* obj1
= 0 ;
12576 PyObject
* obj2
= 0 ;
12577 PyObject
* obj3
= 0 ;
12578 PyObject
* obj4
= 0 ;
12579 char *kwnames
[] = {
12580 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
12583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12585 if (SWIG_arg_fail(1)) SWIG_fail
;
12587 arg2
= (double)(SWIG_As_double(obj1
));
12588 if (SWIG_arg_fail(2)) SWIG_fail
;
12592 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12596 arg4
= (bool)(SWIG_As_bool(obj3
));
12597 if (SWIG_arg_fail(4)) SWIG_fail
;
12601 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
12602 if (SWIG_arg_fail(5)) SWIG_fail
;
12605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12606 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
12608 wxPyEndAllowThreads(__tstate
);
12609 if (PyErr_Occurred()) SWIG_fail
;
12612 wxImage
* resultptr
;
12613 resultptr
= new wxImage((wxImage
&)(result
));
12614 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12622 static PyObject
*_wrap_Image_Rotate90(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12623 PyObject
*resultobj
;
12624 wxImage
*arg1
= (wxImage
*) 0 ;
12625 bool arg2
= (bool) true ;
12626 SwigValueWrapper
<wxImage
> result
;
12627 PyObject
* obj0
= 0 ;
12628 PyObject
* obj1
= 0 ;
12629 char *kwnames
[] = {
12630 (char *) "self",(char *) "clockwise", NULL
12633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
12634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12635 if (SWIG_arg_fail(1)) SWIG_fail
;
12638 arg2
= (bool)(SWIG_As_bool(obj1
));
12639 if (SWIG_arg_fail(2)) SWIG_fail
;
12643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12644 result
= (arg1
)->Rotate90(arg2
);
12646 wxPyEndAllowThreads(__tstate
);
12647 if (PyErr_Occurred()) SWIG_fail
;
12650 wxImage
* resultptr
;
12651 resultptr
= new wxImage((wxImage
&)(result
));
12652 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12660 static PyObject
*_wrap_Image_Mirror(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12661 PyObject
*resultobj
;
12662 wxImage
*arg1
= (wxImage
*) 0 ;
12663 bool arg2
= (bool) true ;
12664 SwigValueWrapper
<wxImage
> result
;
12665 PyObject
* obj0
= 0 ;
12666 PyObject
* obj1
= 0 ;
12667 char *kwnames
[] = {
12668 (char *) "self",(char *) "horizontally", NULL
12671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
12672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12673 if (SWIG_arg_fail(1)) SWIG_fail
;
12676 arg2
= (bool)(SWIG_As_bool(obj1
));
12677 if (SWIG_arg_fail(2)) SWIG_fail
;
12681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12682 result
= (arg1
)->Mirror(arg2
);
12684 wxPyEndAllowThreads(__tstate
);
12685 if (PyErr_Occurred()) SWIG_fail
;
12688 wxImage
* resultptr
;
12689 resultptr
= new wxImage((wxImage
&)(result
));
12690 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12698 static PyObject
*_wrap_Image_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12699 PyObject
*resultobj
;
12700 wxImage
*arg1
= (wxImage
*) 0 ;
12701 unsigned char arg2
;
12702 unsigned char arg3
;
12703 unsigned char arg4
;
12704 unsigned char arg5
;
12705 unsigned char arg6
;
12706 unsigned char arg7
;
12707 PyObject
* obj0
= 0 ;
12708 PyObject
* obj1
= 0 ;
12709 PyObject
* obj2
= 0 ;
12710 PyObject
* obj3
= 0 ;
12711 PyObject
* obj4
= 0 ;
12712 PyObject
* obj5
= 0 ;
12713 PyObject
* obj6
= 0 ;
12714 char *kwnames
[] = {
12715 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
12718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12720 if (SWIG_arg_fail(1)) SWIG_fail
;
12722 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
12723 if (SWIG_arg_fail(2)) SWIG_fail
;
12726 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
12727 if (SWIG_arg_fail(3)) SWIG_fail
;
12730 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
12731 if (SWIG_arg_fail(4)) SWIG_fail
;
12734 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj4
));
12735 if (SWIG_arg_fail(5)) SWIG_fail
;
12738 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj5
));
12739 if (SWIG_arg_fail(6)) SWIG_fail
;
12742 arg7
= (unsigned char)(SWIG_As_unsigned_SS_char(obj6
));
12743 if (SWIG_arg_fail(7)) SWIG_fail
;
12746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12747 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12749 wxPyEndAllowThreads(__tstate
);
12750 if (PyErr_Occurred()) SWIG_fail
;
12752 Py_INCREF(Py_None
); resultobj
= Py_None
;
12759 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12760 PyObject
*resultobj
;
12761 wxImage
*arg1
= (wxImage
*) 0 ;
12762 unsigned char arg2
;
12763 unsigned char arg3
;
12764 unsigned char arg4
;
12765 SwigValueWrapper
<wxImage
> result
;
12766 PyObject
* obj0
= 0 ;
12767 PyObject
* obj1
= 0 ;
12768 PyObject
* obj2
= 0 ;
12769 PyObject
* obj3
= 0 ;
12770 char *kwnames
[] = {
12771 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
12774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12776 if (SWIG_arg_fail(1)) SWIG_fail
;
12778 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
12779 if (SWIG_arg_fail(2)) SWIG_fail
;
12782 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
12783 if (SWIG_arg_fail(3)) SWIG_fail
;
12786 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
12787 if (SWIG_arg_fail(4)) SWIG_fail
;
12790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12791 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
12793 wxPyEndAllowThreads(__tstate
);
12794 if (PyErr_Occurred()) SWIG_fail
;
12797 wxImage
* resultptr
;
12798 resultptr
= new wxImage((wxImage
&)(result
));
12799 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12807 static PyObject
*_wrap_Image_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12808 PyObject
*resultobj
;
12809 wxImage
*arg1
= (wxImage
*) 0 ;
12810 wxString
*arg2
= 0 ;
12811 wxString
*arg3
= 0 ;
12812 bool temp2
= false ;
12813 bool temp3
= false ;
12814 PyObject
* obj0
= 0 ;
12815 PyObject
* obj1
= 0 ;
12816 PyObject
* obj2
= 0 ;
12817 char *kwnames
[] = {
12818 (char *) "self",(char *) "name",(char *) "value", NULL
12821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12823 if (SWIG_arg_fail(1)) SWIG_fail
;
12825 arg2
= wxString_in_helper(obj1
);
12826 if (arg2
== NULL
) SWIG_fail
;
12830 arg3
= wxString_in_helper(obj2
);
12831 if (arg3
== NULL
) SWIG_fail
;
12835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12836 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
12838 wxPyEndAllowThreads(__tstate
);
12839 if (PyErr_Occurred()) SWIG_fail
;
12841 Py_INCREF(Py_None
); resultobj
= Py_None
;
12864 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12865 PyObject
*resultobj
;
12866 wxImage
*arg1
= (wxImage
*) 0 ;
12867 wxString
*arg2
= 0 ;
12869 bool temp2
= false ;
12870 PyObject
* obj0
= 0 ;
12871 PyObject
* obj1
= 0 ;
12872 PyObject
* obj2
= 0 ;
12873 char *kwnames
[] = {
12874 (char *) "self",(char *) "name",(char *) "value", NULL
12877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12879 if (SWIG_arg_fail(1)) SWIG_fail
;
12881 arg2
= wxString_in_helper(obj1
);
12882 if (arg2
== NULL
) SWIG_fail
;
12886 arg3
= (int)(SWIG_As_int(obj2
));
12887 if (SWIG_arg_fail(3)) SWIG_fail
;
12890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12891 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
12893 wxPyEndAllowThreads(__tstate
);
12894 if (PyErr_Occurred()) SWIG_fail
;
12896 Py_INCREF(Py_None
); resultobj
= Py_None
;
12911 static PyObject
*_wrap_Image_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12912 PyObject
*resultobj
;
12913 wxImage
*arg1
= (wxImage
*) 0 ;
12914 wxString
*arg2
= 0 ;
12916 bool temp2
= false ;
12917 PyObject
* obj0
= 0 ;
12918 PyObject
* obj1
= 0 ;
12919 char *kwnames
[] = {
12920 (char *) "self",(char *) "name", NULL
12923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
12924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12925 if (SWIG_arg_fail(1)) SWIG_fail
;
12927 arg2
= wxString_in_helper(obj1
);
12928 if (arg2
== NULL
) SWIG_fail
;
12932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12933 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
12935 wxPyEndAllowThreads(__tstate
);
12936 if (PyErr_Occurred()) SWIG_fail
;
12940 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12942 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12959 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12960 PyObject
*resultobj
;
12961 wxImage
*arg1
= (wxImage
*) 0 ;
12962 wxString
*arg2
= 0 ;
12964 bool temp2
= false ;
12965 PyObject
* obj0
= 0 ;
12966 PyObject
* obj1
= 0 ;
12967 char *kwnames
[] = {
12968 (char *) "self",(char *) "name", NULL
12971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
12972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12973 if (SWIG_arg_fail(1)) SWIG_fail
;
12975 arg2
= wxString_in_helper(obj1
);
12976 if (arg2
== NULL
) SWIG_fail
;
12980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12981 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
12983 wxPyEndAllowThreads(__tstate
);
12984 if (PyErr_Occurred()) SWIG_fail
;
12987 resultobj
= SWIG_From_int((int)(result
));
13003 static PyObject
*_wrap_Image_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13004 PyObject
*resultobj
;
13005 wxImage
*arg1
= (wxImage
*) 0 ;
13006 wxString
*arg2
= 0 ;
13008 bool temp2
= false ;
13009 PyObject
* obj0
= 0 ;
13010 PyObject
* obj1
= 0 ;
13011 char *kwnames
[] = {
13012 (char *) "self",(char *) "name", NULL
13015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
13016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13017 if (SWIG_arg_fail(1)) SWIG_fail
;
13019 arg2
= wxString_in_helper(obj1
);
13020 if (arg2
== NULL
) SWIG_fail
;
13024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13025 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
13027 wxPyEndAllowThreads(__tstate
);
13028 if (PyErr_Occurred()) SWIG_fail
;
13031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13047 static PyObject
*_wrap_Image_CountColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13048 PyObject
*resultobj
;
13049 wxImage
*arg1
= (wxImage
*) 0 ;
13050 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
13051 unsigned long result
;
13052 PyObject
* obj0
= 0 ;
13053 PyObject
* obj1
= 0 ;
13054 char *kwnames
[] = {
13055 (char *) "self",(char *) "stopafter", NULL
13058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
13059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13060 if (SWIG_arg_fail(1)) SWIG_fail
;
13063 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
13064 if (SWIG_arg_fail(2)) SWIG_fail
;
13068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13069 result
= (unsigned long)(arg1
)->CountColours(arg2
);
13071 wxPyEndAllowThreads(__tstate
);
13072 if (PyErr_Occurred()) SWIG_fail
;
13075 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13083 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13084 PyObject
*resultobj
;
13085 wxImage
*arg1
= (wxImage
*) 0 ;
13086 wxImageHistogram
*arg2
= 0 ;
13087 unsigned long result
;
13088 PyObject
* obj0
= 0 ;
13089 PyObject
* obj1
= 0 ;
13090 char *kwnames
[] = {
13091 (char *) "self",(char *) "h", NULL
13094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
13095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13096 if (SWIG_arg_fail(1)) SWIG_fail
;
13098 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
13099 if (SWIG_arg_fail(2)) SWIG_fail
;
13100 if (arg2
== NULL
) {
13101 SWIG_null_ref("wxImageHistogram");
13103 if (SWIG_arg_fail(2)) SWIG_fail
;
13106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13107 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
13109 wxPyEndAllowThreads(__tstate
);
13110 if (PyErr_Occurred()) SWIG_fail
;
13113 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13121 static PyObject
*_wrap_Image_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13122 PyObject
*resultobj
;
13123 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13124 PyObject
* obj0
= 0 ;
13125 char *kwnames
[] = {
13126 (char *) "handler", NULL
13129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
13130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13131 if (SWIG_arg_fail(1)) SWIG_fail
;
13133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13134 wxImage::AddHandler(arg1
);
13136 wxPyEndAllowThreads(__tstate
);
13137 if (PyErr_Occurred()) SWIG_fail
;
13139 Py_INCREF(Py_None
); resultobj
= Py_None
;
13146 static PyObject
*_wrap_Image_InsertHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13147 PyObject
*resultobj
;
13148 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13149 PyObject
* obj0
= 0 ;
13150 char *kwnames
[] = {
13151 (char *) "handler", NULL
13154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
13155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13156 if (SWIG_arg_fail(1)) SWIG_fail
;
13158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13159 wxImage::InsertHandler(arg1
);
13161 wxPyEndAllowThreads(__tstate
);
13162 if (PyErr_Occurred()) SWIG_fail
;
13164 Py_INCREF(Py_None
); resultobj
= Py_None
;
13171 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13172 PyObject
*resultobj
;
13173 wxString
*arg1
= 0 ;
13175 bool temp1
= false ;
13176 PyObject
* obj0
= 0 ;
13177 char *kwnames
[] = {
13178 (char *) "name", NULL
13181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
13183 arg1
= wxString_in_helper(obj0
);
13184 if (arg1
== NULL
) SWIG_fail
;
13188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13189 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
13191 wxPyEndAllowThreads(__tstate
);
13192 if (PyErr_Occurred()) SWIG_fail
;
13195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13211 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13212 PyObject
*resultobj
;
13214 char *kwnames
[] = {
13218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
13220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13221 result
= wxImage::GetImageExtWildcard();
13223 wxPyEndAllowThreads(__tstate
);
13224 if (PyErr_Occurred()) SWIG_fail
;
13228 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13230 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13239 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13240 PyObject
*resultobj
;
13241 wxImage
*arg1
= (wxImage
*) 0 ;
13242 int arg2
= (int) -1 ;
13244 PyObject
* obj0
= 0 ;
13245 PyObject
* obj1
= 0 ;
13246 char *kwnames
[] = {
13247 (char *) "self",(char *) "depth", NULL
13250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13252 if (SWIG_arg_fail(1)) SWIG_fail
;
13255 arg2
= (int)(SWIG_As_int(obj1
));
13256 if (SWIG_arg_fail(2)) SWIG_fail
;
13260 if (!wxPyCheckForApp()) SWIG_fail
;
13261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13262 result
= wxImage_ConvertToBitmap(arg1
,arg2
);
13264 wxPyEndAllowThreads(__tstate
);
13265 if (PyErr_Occurred()) SWIG_fail
;
13268 wxBitmap
* resultptr
;
13269 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13270 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13278 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13279 PyObject
*resultobj
;
13280 wxImage
*arg1
= (wxImage
*) 0 ;
13281 unsigned char arg2
;
13282 unsigned char arg3
;
13283 unsigned char arg4
;
13285 PyObject
* obj0
= 0 ;
13286 PyObject
* obj1
= 0 ;
13287 PyObject
* obj2
= 0 ;
13288 PyObject
* obj3
= 0 ;
13289 char *kwnames
[] = {
13290 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
13293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13295 if (SWIG_arg_fail(1)) SWIG_fail
;
13297 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
13298 if (SWIG_arg_fail(2)) SWIG_fail
;
13301 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
13302 if (SWIG_arg_fail(3)) SWIG_fail
;
13305 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
13306 if (SWIG_arg_fail(4)) SWIG_fail
;
13309 if (!wxPyCheckForApp()) SWIG_fail
;
13310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13311 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
13313 wxPyEndAllowThreads(__tstate
);
13314 if (PyErr_Occurred()) SWIG_fail
;
13317 wxBitmap
* resultptr
;
13318 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13319 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13327 static PyObject
* Image_swigregister(PyObject
*, PyObject
*args
) {
13329 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13330 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
13332 return Py_BuildValue((char *)"");
13334 static int _wrap_NullImage_set(PyObject
*) {
13335 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
13340 static PyObject
*_wrap_NullImage_get(void) {
13343 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
13348 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
13349 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
13354 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get(void) {
13359 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13361 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13368 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
13369 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
13374 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get(void) {
13379 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13381 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13388 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
13389 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
13394 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get(void) {
13399 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13401 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13408 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
13409 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
13414 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get(void) {
13419 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13421 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13428 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
13429 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
13434 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get(void) {
13439 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
13441 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
13448 static PyObject
*_wrap_new_BMPHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13449 PyObject
*resultobj
;
13450 wxBMPHandler
*result
;
13451 char *kwnames
[] = {
13455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
13457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13458 result
= (wxBMPHandler
*)new wxBMPHandler();
13460 wxPyEndAllowThreads(__tstate
);
13461 if (PyErr_Occurred()) SWIG_fail
;
13463 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
13470 static PyObject
* BMPHandler_swigregister(PyObject
*, PyObject
*args
) {
13472 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13473 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
13475 return Py_BuildValue((char *)"");
13477 static PyObject
*_wrap_new_ICOHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13478 PyObject
*resultobj
;
13479 wxICOHandler
*result
;
13480 char *kwnames
[] = {
13484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
13486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13487 result
= (wxICOHandler
*)new wxICOHandler();
13489 wxPyEndAllowThreads(__tstate
);
13490 if (PyErr_Occurred()) SWIG_fail
;
13492 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
13499 static PyObject
* ICOHandler_swigregister(PyObject
*, PyObject
*args
) {
13501 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13502 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
13504 return Py_BuildValue((char *)"");
13506 static PyObject
*_wrap_new_CURHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13507 PyObject
*resultobj
;
13508 wxCURHandler
*result
;
13509 char *kwnames
[] = {
13513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
13515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13516 result
= (wxCURHandler
*)new wxCURHandler();
13518 wxPyEndAllowThreads(__tstate
);
13519 if (PyErr_Occurred()) SWIG_fail
;
13521 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
13528 static PyObject
* CURHandler_swigregister(PyObject
*, PyObject
*args
) {
13530 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13531 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
13533 return Py_BuildValue((char *)"");
13535 static PyObject
*_wrap_new_ANIHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13536 PyObject
*resultobj
;
13537 wxANIHandler
*result
;
13538 char *kwnames
[] = {
13542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
13544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13545 result
= (wxANIHandler
*)new wxANIHandler();
13547 wxPyEndAllowThreads(__tstate
);
13548 if (PyErr_Occurred()) SWIG_fail
;
13550 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
13557 static PyObject
* ANIHandler_swigregister(PyObject
*, PyObject
*args
) {
13559 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13560 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
13562 return Py_BuildValue((char *)"");
13564 static PyObject
*_wrap_new_PNGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13565 PyObject
*resultobj
;
13566 wxPNGHandler
*result
;
13567 char *kwnames
[] = {
13571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
13573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13574 result
= (wxPNGHandler
*)new wxPNGHandler();
13576 wxPyEndAllowThreads(__tstate
);
13577 if (PyErr_Occurred()) SWIG_fail
;
13579 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
13586 static PyObject
* PNGHandler_swigregister(PyObject
*, PyObject
*args
) {
13588 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13589 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
13591 return Py_BuildValue((char *)"");
13593 static PyObject
*_wrap_new_GIFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13594 PyObject
*resultobj
;
13595 wxGIFHandler
*result
;
13596 char *kwnames
[] = {
13600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
13602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13603 result
= (wxGIFHandler
*)new wxGIFHandler();
13605 wxPyEndAllowThreads(__tstate
);
13606 if (PyErr_Occurred()) SWIG_fail
;
13608 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
13615 static PyObject
* GIFHandler_swigregister(PyObject
*, PyObject
*args
) {
13617 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13618 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
13620 return Py_BuildValue((char *)"");
13622 static PyObject
*_wrap_new_PCXHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13623 PyObject
*resultobj
;
13624 wxPCXHandler
*result
;
13625 char *kwnames
[] = {
13629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
13631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13632 result
= (wxPCXHandler
*)new wxPCXHandler();
13634 wxPyEndAllowThreads(__tstate
);
13635 if (PyErr_Occurred()) SWIG_fail
;
13637 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
13644 static PyObject
* PCXHandler_swigregister(PyObject
*, PyObject
*args
) {
13646 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13647 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
13649 return Py_BuildValue((char *)"");
13651 static PyObject
*_wrap_new_JPEGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13652 PyObject
*resultobj
;
13653 wxJPEGHandler
*result
;
13654 char *kwnames
[] = {
13658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
13660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13661 result
= (wxJPEGHandler
*)new wxJPEGHandler();
13663 wxPyEndAllowThreads(__tstate
);
13664 if (PyErr_Occurred()) SWIG_fail
;
13666 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
13673 static PyObject
* JPEGHandler_swigregister(PyObject
*, PyObject
*args
) {
13675 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13676 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
13678 return Py_BuildValue((char *)"");
13680 static PyObject
*_wrap_new_PNMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13681 PyObject
*resultobj
;
13682 wxPNMHandler
*result
;
13683 char *kwnames
[] = {
13687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
13689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13690 result
= (wxPNMHandler
*)new wxPNMHandler();
13692 wxPyEndAllowThreads(__tstate
);
13693 if (PyErr_Occurred()) SWIG_fail
;
13695 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
13702 static PyObject
* PNMHandler_swigregister(PyObject
*, PyObject
*args
) {
13704 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13705 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
13707 return Py_BuildValue((char *)"");
13709 static PyObject
*_wrap_new_XPMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13710 PyObject
*resultobj
;
13711 wxXPMHandler
*result
;
13712 char *kwnames
[] = {
13716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
13718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13719 result
= (wxXPMHandler
*)new wxXPMHandler();
13721 wxPyEndAllowThreads(__tstate
);
13722 if (PyErr_Occurred()) SWIG_fail
;
13724 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
13731 static PyObject
* XPMHandler_swigregister(PyObject
*, PyObject
*args
) {
13733 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13734 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
13736 return Py_BuildValue((char *)"");
13738 static PyObject
*_wrap_new_TIFFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13739 PyObject
*resultobj
;
13740 wxTIFFHandler
*result
;
13741 char *kwnames
[] = {
13745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
13747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13748 result
= (wxTIFFHandler
*)new wxTIFFHandler();
13750 wxPyEndAllowThreads(__tstate
);
13751 if (PyErr_Occurred()) SWIG_fail
;
13753 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
13760 static PyObject
* TIFFHandler_swigregister(PyObject
*, PyObject
*args
) {
13762 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13763 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
13765 return Py_BuildValue((char *)"");
13767 static PyObject
*_wrap_Quantize_Quantize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13768 PyObject
*resultobj
;
13769 wxImage
*arg1
= 0 ;
13770 wxImage
*arg2
= 0 ;
13771 int arg3
= (int) 236 ;
13772 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
13774 PyObject
* obj0
= 0 ;
13775 PyObject
* obj1
= 0 ;
13776 PyObject
* obj2
= 0 ;
13777 PyObject
* obj3
= 0 ;
13778 char *kwnames
[] = {
13779 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
13782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13785 if (SWIG_arg_fail(1)) SWIG_fail
;
13786 if (arg1
== NULL
) {
13787 SWIG_null_ref("wxImage");
13789 if (SWIG_arg_fail(1)) SWIG_fail
;
13792 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13793 if (SWIG_arg_fail(2)) SWIG_fail
;
13794 if (arg2
== NULL
) {
13795 SWIG_null_ref("wxImage");
13797 if (SWIG_arg_fail(2)) SWIG_fail
;
13801 arg3
= (int)(SWIG_As_int(obj2
));
13802 if (SWIG_arg_fail(3)) SWIG_fail
;
13807 arg4
= (int)(SWIG_As_int(obj3
));
13808 if (SWIG_arg_fail(4)) SWIG_fail
;
13812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13813 result
= (bool)Quantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
13815 wxPyEndAllowThreads(__tstate
);
13816 if (PyErr_Occurred()) SWIG_fail
;
13819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13827 static PyObject
* Quantize_swigregister(PyObject
*, PyObject
*args
) {
13829 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13830 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize
, obj
);
13832 return Py_BuildValue((char *)"");
13834 static PyObject
*_wrap_new_EvtHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13835 PyObject
*resultobj
;
13836 wxEvtHandler
*result
;
13837 char *kwnames
[] = {
13841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
13843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13844 result
= (wxEvtHandler
*)new wxEvtHandler();
13846 wxPyEndAllowThreads(__tstate
);
13847 if (PyErr_Occurred()) SWIG_fail
;
13849 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvtHandler
, 1);
13856 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13857 PyObject
*resultobj
;
13858 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
13859 wxEvtHandler
*result
;
13860 PyObject
* obj0
= 0 ;
13861 char *kwnames
[] = {
13862 (char *) "self", NULL
13865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
13866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
13867 if (SWIG_arg_fail(1)) SWIG_fail
;
13869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13870 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
13872 wxPyEndAllowThreads(__tstate
);
13873 if (PyErr_Occurred()) SWIG_fail
;
13876 resultobj
= wxPyMake_wxObject(result
, 0);
13884 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13885 PyObject
*resultobj
;
13886 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
13887 wxEvtHandler
*result
;
13888 PyObject
* obj0
= 0 ;
13889 char *kwnames
[] = {
13890 (char *) "self", NULL
13893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
13894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
13895 if (SWIG_arg_fail(1)) SWIG_fail
;
13897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13898 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
13900 wxPyEndAllowThreads(__tstate
);
13901 if (PyErr_Occurred()) SWIG_fail
;
13904 resultobj
= wxPyMake_wxObject(result
, 0);
13912 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13913 PyObject
*resultobj
;
13914 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
13915 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
13916 PyObject
* obj0
= 0 ;
13917 PyObject
* obj1
= 0 ;
13918 char *kwnames
[] = {
13919 (char *) "self",(char *) "handler", NULL
13922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
13923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
13924 if (SWIG_arg_fail(1)) SWIG_fail
;
13925 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
13926 if (SWIG_arg_fail(2)) SWIG_fail
;
13928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13929 (arg1
)->SetNextHandler(arg2
);
13931 wxPyEndAllowThreads(__tstate
);
13932 if (PyErr_Occurred()) SWIG_fail
;
13934 Py_INCREF(Py_None
); resultobj
= Py_None
;
13941 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13942 PyObject
*resultobj
;
13943 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
13944 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
13945 PyObject
* obj0
= 0 ;
13946 PyObject
* obj1
= 0 ;
13947 char *kwnames
[] = {
13948 (char *) "self",(char *) "handler", NULL
13951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
13952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
13953 if (SWIG_arg_fail(1)) SWIG_fail
;
13954 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
13955 if (SWIG_arg_fail(2)) SWIG_fail
;
13957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13958 (arg1
)->SetPreviousHandler(arg2
);
13960 wxPyEndAllowThreads(__tstate
);
13961 if (PyErr_Occurred()) SWIG_fail
;
13963 Py_INCREF(Py_None
); resultobj
= Py_None
;
13970 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13971 PyObject
*resultobj
;
13972 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
13974 PyObject
* obj0
= 0 ;
13975 char *kwnames
[] = {
13976 (char *) "self", NULL
13979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
13980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
13981 if (SWIG_arg_fail(1)) SWIG_fail
;
13983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13984 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
13986 wxPyEndAllowThreads(__tstate
);
13987 if (PyErr_Occurred()) SWIG_fail
;
13990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13998 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13999 PyObject
*resultobj
;
14000 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14002 PyObject
* obj0
= 0 ;
14003 PyObject
* obj1
= 0 ;
14004 char *kwnames
[] = {
14005 (char *) "self",(char *) "enabled", NULL
14008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
14009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14010 if (SWIG_arg_fail(1)) SWIG_fail
;
14012 arg2
= (bool)(SWIG_As_bool(obj1
));
14013 if (SWIG_arg_fail(2)) SWIG_fail
;
14016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14017 (arg1
)->SetEvtHandlerEnabled(arg2
);
14019 wxPyEndAllowThreads(__tstate
);
14020 if (PyErr_Occurred()) SWIG_fail
;
14022 Py_INCREF(Py_None
); resultobj
= Py_None
;
14029 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14030 PyObject
*resultobj
;
14031 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14032 wxEvent
*arg2
= 0 ;
14034 PyObject
* obj0
= 0 ;
14035 PyObject
* obj1
= 0 ;
14036 char *kwnames
[] = {
14037 (char *) "self",(char *) "event", NULL
14040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14042 if (SWIG_arg_fail(1)) SWIG_fail
;
14044 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14045 if (SWIG_arg_fail(2)) SWIG_fail
;
14046 if (arg2
== NULL
) {
14047 SWIG_null_ref("wxEvent");
14049 if (SWIG_arg_fail(2)) SWIG_fail
;
14052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14053 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
14055 wxPyEndAllowThreads(__tstate
);
14056 if (PyErr_Occurred()) SWIG_fail
;
14059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14067 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14068 PyObject
*resultobj
;
14069 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14070 wxEvent
*arg2
= 0 ;
14071 PyObject
* obj0
= 0 ;
14072 PyObject
* obj1
= 0 ;
14073 char *kwnames
[] = {
14074 (char *) "self",(char *) "event", NULL
14077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14079 if (SWIG_arg_fail(1)) SWIG_fail
;
14081 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14082 if (SWIG_arg_fail(2)) SWIG_fail
;
14083 if (arg2
== NULL
) {
14084 SWIG_null_ref("wxEvent");
14086 if (SWIG_arg_fail(2)) SWIG_fail
;
14089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14090 (arg1
)->AddPendingEvent(*arg2
);
14092 wxPyEndAllowThreads(__tstate
);
14093 if (PyErr_Occurred()) SWIG_fail
;
14095 Py_INCREF(Py_None
); resultobj
= Py_None
;
14102 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14103 PyObject
*resultobj
;
14104 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14105 PyObject
* obj0
= 0 ;
14106 char *kwnames
[] = {
14107 (char *) "self", NULL
14110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
14111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14112 if (SWIG_arg_fail(1)) SWIG_fail
;
14114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14115 (arg1
)->ProcessPendingEvents();
14117 wxPyEndAllowThreads(__tstate
);
14118 if (PyErr_Occurred()) SWIG_fail
;
14120 Py_INCREF(Py_None
); resultobj
= Py_None
;
14127 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14128 PyObject
*resultobj
;
14129 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14133 PyObject
*arg5
= (PyObject
*) 0 ;
14134 PyObject
* obj0
= 0 ;
14135 PyObject
* obj1
= 0 ;
14136 PyObject
* obj2
= 0 ;
14137 PyObject
* obj3
= 0 ;
14138 PyObject
* obj4
= 0 ;
14139 char *kwnames
[] = {
14140 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
14143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14145 if (SWIG_arg_fail(1)) SWIG_fail
;
14147 arg2
= (int)(SWIG_As_int(obj1
));
14148 if (SWIG_arg_fail(2)) SWIG_fail
;
14151 arg3
= (int)(SWIG_As_int(obj2
));
14152 if (SWIG_arg_fail(3)) SWIG_fail
;
14155 arg4
= (int)(SWIG_As_int(obj3
));
14156 if (SWIG_arg_fail(4)) SWIG_fail
;
14160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14161 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
14163 wxPyEndAllowThreads(__tstate
);
14164 if (PyErr_Occurred()) SWIG_fail
;
14166 Py_INCREF(Py_None
); resultobj
= Py_None
;
14173 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14174 PyObject
*resultobj
;
14175 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14177 int arg3
= (int) -1 ;
14178 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
14180 PyObject
* obj0
= 0 ;
14181 PyObject
* obj1
= 0 ;
14182 PyObject
* obj2
= 0 ;
14183 PyObject
* obj3
= 0 ;
14184 char *kwnames
[] = {
14185 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
14188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14190 if (SWIG_arg_fail(1)) SWIG_fail
;
14192 arg2
= (int)(SWIG_As_int(obj1
));
14193 if (SWIG_arg_fail(2)) SWIG_fail
;
14197 arg3
= (int)(SWIG_As_int(obj2
));
14198 if (SWIG_arg_fail(3)) SWIG_fail
;
14203 arg4
= (wxEventType
)(SWIG_As_int(obj3
));
14204 if (SWIG_arg_fail(4)) SWIG_fail
;
14208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14209 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
14211 wxPyEndAllowThreads(__tstate
);
14212 if (PyErr_Occurred()) SWIG_fail
;
14215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14223 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14224 PyObject
*resultobj
;
14225 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14226 PyObject
*arg2
= (PyObject
*) 0 ;
14227 bool arg3
= (bool) true ;
14228 PyObject
* obj0
= 0 ;
14229 PyObject
* obj1
= 0 ;
14230 PyObject
* obj2
= 0 ;
14231 char *kwnames
[] = {
14232 (char *) "self",(char *) "_self",(char *) "incref", NULL
14235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14237 if (SWIG_arg_fail(1)) SWIG_fail
;
14241 arg3
= (bool)(SWIG_As_bool(obj2
));
14242 if (SWIG_arg_fail(3)) SWIG_fail
;
14246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14247 wxEvtHandler__setOORInfo(arg1
,arg2
,arg3
);
14249 wxPyEndAllowThreads(__tstate
);
14250 if (PyErr_Occurred()) SWIG_fail
;
14252 Py_INCREF(Py_None
); resultobj
= Py_None
;
14259 static PyObject
* EvtHandler_swigregister(PyObject
*, PyObject
*args
) {
14261 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14262 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
14264 return Py_BuildValue((char *)"");
14266 static PyObject
*_wrap_NewEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14267 PyObject
*resultobj
;
14268 wxEventType result
;
14269 char *kwnames
[] = {
14273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
14275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14276 result
= (wxEventType
)wxNewEventType();
14278 wxPyEndAllowThreads(__tstate
);
14279 if (PyErr_Occurred()) SWIG_fail
;
14282 resultobj
= SWIG_From_int((int)(result
));
14290 static PyObject
*_wrap_delete_Event(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14291 PyObject
*resultobj
;
14292 wxEvent
*arg1
= (wxEvent
*) 0 ;
14293 PyObject
* obj0
= 0 ;
14294 char *kwnames
[] = {
14295 (char *) "self", NULL
14298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
14299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14300 if (SWIG_arg_fail(1)) SWIG_fail
;
14302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14305 wxPyEndAllowThreads(__tstate
);
14306 if (PyErr_Occurred()) SWIG_fail
;
14308 Py_INCREF(Py_None
); resultobj
= Py_None
;
14315 static PyObject
*_wrap_Event_SetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14316 PyObject
*resultobj
;
14317 wxEvent
*arg1
= (wxEvent
*) 0 ;
14319 PyObject
* obj0
= 0 ;
14320 PyObject
* obj1
= 0 ;
14321 char *kwnames
[] = {
14322 (char *) "self",(char *) "typ", NULL
14325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
14326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14327 if (SWIG_arg_fail(1)) SWIG_fail
;
14329 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
14330 if (SWIG_arg_fail(2)) SWIG_fail
;
14333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14334 (arg1
)->SetEventType(arg2
);
14336 wxPyEndAllowThreads(__tstate
);
14337 if (PyErr_Occurred()) SWIG_fail
;
14339 Py_INCREF(Py_None
); resultobj
= Py_None
;
14346 static PyObject
*_wrap_Event_GetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14347 PyObject
*resultobj
;
14348 wxEvent
*arg1
= (wxEvent
*) 0 ;
14349 wxEventType result
;
14350 PyObject
* obj0
= 0 ;
14351 char *kwnames
[] = {
14352 (char *) "self", NULL
14355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
14356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14357 if (SWIG_arg_fail(1)) SWIG_fail
;
14359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14360 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
14362 wxPyEndAllowThreads(__tstate
);
14363 if (PyErr_Occurred()) SWIG_fail
;
14366 resultobj
= SWIG_From_int((int)(result
));
14374 static PyObject
*_wrap_Event_GetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14375 PyObject
*resultobj
;
14376 wxEvent
*arg1
= (wxEvent
*) 0 ;
14378 PyObject
* obj0
= 0 ;
14379 char *kwnames
[] = {
14380 (char *) "self", NULL
14383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
14384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14385 if (SWIG_arg_fail(1)) SWIG_fail
;
14387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14388 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
14390 wxPyEndAllowThreads(__tstate
);
14391 if (PyErr_Occurred()) SWIG_fail
;
14394 resultobj
= wxPyMake_wxObject(result
, 0);
14402 static PyObject
*_wrap_Event_SetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14403 PyObject
*resultobj
;
14404 wxEvent
*arg1
= (wxEvent
*) 0 ;
14405 wxObject
*arg2
= (wxObject
*) 0 ;
14406 PyObject
* obj0
= 0 ;
14407 PyObject
* obj1
= 0 ;
14408 char *kwnames
[] = {
14409 (char *) "self",(char *) "obj", NULL
14412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
14413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14414 if (SWIG_arg_fail(1)) SWIG_fail
;
14415 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
14416 if (SWIG_arg_fail(2)) SWIG_fail
;
14418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14419 (arg1
)->SetEventObject(arg2
);
14421 wxPyEndAllowThreads(__tstate
);
14422 if (PyErr_Occurred()) SWIG_fail
;
14424 Py_INCREF(Py_None
); resultobj
= Py_None
;
14431 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14432 PyObject
*resultobj
;
14433 wxEvent
*arg1
= (wxEvent
*) 0 ;
14435 PyObject
* obj0
= 0 ;
14436 char *kwnames
[] = {
14437 (char *) "self", NULL
14440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
14441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14442 if (SWIG_arg_fail(1)) SWIG_fail
;
14444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14445 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
14447 wxPyEndAllowThreads(__tstate
);
14448 if (PyErr_Occurred()) SWIG_fail
;
14451 resultobj
= SWIG_From_long((long)(result
));
14459 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14460 PyObject
*resultobj
;
14461 wxEvent
*arg1
= (wxEvent
*) 0 ;
14462 long arg2
= (long) 0 ;
14463 PyObject
* obj0
= 0 ;
14464 PyObject
* obj1
= 0 ;
14465 char *kwnames
[] = {
14466 (char *) "self",(char *) "ts", NULL
14469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
14470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14471 if (SWIG_arg_fail(1)) SWIG_fail
;
14474 arg2
= (long)(SWIG_As_long(obj1
));
14475 if (SWIG_arg_fail(2)) SWIG_fail
;
14479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14480 (arg1
)->SetTimestamp(arg2
);
14482 wxPyEndAllowThreads(__tstate
);
14483 if (PyErr_Occurred()) SWIG_fail
;
14485 Py_INCREF(Py_None
); resultobj
= Py_None
;
14492 static PyObject
*_wrap_Event_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14493 PyObject
*resultobj
;
14494 wxEvent
*arg1
= (wxEvent
*) 0 ;
14496 PyObject
* obj0
= 0 ;
14497 char *kwnames
[] = {
14498 (char *) "self", NULL
14501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
14502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14503 if (SWIG_arg_fail(1)) SWIG_fail
;
14505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14506 result
= (int)((wxEvent
const *)arg1
)->GetId();
14508 wxPyEndAllowThreads(__tstate
);
14509 if (PyErr_Occurred()) SWIG_fail
;
14512 resultobj
= SWIG_From_int((int)(result
));
14520 static PyObject
*_wrap_Event_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14521 PyObject
*resultobj
;
14522 wxEvent
*arg1
= (wxEvent
*) 0 ;
14524 PyObject
* obj0
= 0 ;
14525 PyObject
* obj1
= 0 ;
14526 char *kwnames
[] = {
14527 (char *) "self",(char *) "Id", NULL
14530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
14531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14532 if (SWIG_arg_fail(1)) SWIG_fail
;
14534 arg2
= (int)(SWIG_As_int(obj1
));
14535 if (SWIG_arg_fail(2)) SWIG_fail
;
14538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14539 (arg1
)->SetId(arg2
);
14541 wxPyEndAllowThreads(__tstate
);
14542 if (PyErr_Occurred()) SWIG_fail
;
14544 Py_INCREF(Py_None
); resultobj
= Py_None
;
14551 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14552 PyObject
*resultobj
;
14553 wxEvent
*arg1
= (wxEvent
*) 0 ;
14555 PyObject
* obj0
= 0 ;
14556 char *kwnames
[] = {
14557 (char *) "self", NULL
14560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
14561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14562 if (SWIG_arg_fail(1)) SWIG_fail
;
14564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14565 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
14567 wxPyEndAllowThreads(__tstate
);
14568 if (PyErr_Occurred()) SWIG_fail
;
14571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14579 static PyObject
*_wrap_Event_Skip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14580 PyObject
*resultobj
;
14581 wxEvent
*arg1
= (wxEvent
*) 0 ;
14582 bool arg2
= (bool) true ;
14583 PyObject
* obj0
= 0 ;
14584 PyObject
* obj1
= 0 ;
14585 char *kwnames
[] = {
14586 (char *) "self",(char *) "skip", NULL
14589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
14590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14591 if (SWIG_arg_fail(1)) SWIG_fail
;
14594 arg2
= (bool)(SWIG_As_bool(obj1
));
14595 if (SWIG_arg_fail(2)) SWIG_fail
;
14599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14600 (arg1
)->Skip(arg2
);
14602 wxPyEndAllowThreads(__tstate
);
14603 if (PyErr_Occurred()) SWIG_fail
;
14605 Py_INCREF(Py_None
); resultobj
= Py_None
;
14612 static PyObject
*_wrap_Event_GetSkipped(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14613 PyObject
*resultobj
;
14614 wxEvent
*arg1
= (wxEvent
*) 0 ;
14616 PyObject
* obj0
= 0 ;
14617 char *kwnames
[] = {
14618 (char *) "self", NULL
14621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
14622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14623 if (SWIG_arg_fail(1)) SWIG_fail
;
14625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14626 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
14628 wxPyEndAllowThreads(__tstate
);
14629 if (PyErr_Occurred()) SWIG_fail
;
14632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14640 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14641 PyObject
*resultobj
;
14642 wxEvent
*arg1
= (wxEvent
*) 0 ;
14644 PyObject
* obj0
= 0 ;
14645 char *kwnames
[] = {
14646 (char *) "self", NULL
14649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
14650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14651 if (SWIG_arg_fail(1)) SWIG_fail
;
14653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14654 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
14656 wxPyEndAllowThreads(__tstate
);
14657 if (PyErr_Occurred()) SWIG_fail
;
14660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14668 static PyObject
*_wrap_Event_StopPropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14669 PyObject
*resultobj
;
14670 wxEvent
*arg1
= (wxEvent
*) 0 ;
14672 PyObject
* obj0
= 0 ;
14673 char *kwnames
[] = {
14674 (char *) "self", NULL
14677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
14678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14679 if (SWIG_arg_fail(1)) SWIG_fail
;
14681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14682 result
= (int)(arg1
)->StopPropagation();
14684 wxPyEndAllowThreads(__tstate
);
14685 if (PyErr_Occurred()) SWIG_fail
;
14688 resultobj
= SWIG_From_int((int)(result
));
14696 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14697 PyObject
*resultobj
;
14698 wxEvent
*arg1
= (wxEvent
*) 0 ;
14700 PyObject
* obj0
= 0 ;
14701 PyObject
* obj1
= 0 ;
14702 char *kwnames
[] = {
14703 (char *) "self",(char *) "propagationLevel", NULL
14706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
14707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14708 if (SWIG_arg_fail(1)) SWIG_fail
;
14710 arg2
= (int)(SWIG_As_int(obj1
));
14711 if (SWIG_arg_fail(2)) SWIG_fail
;
14714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14715 (arg1
)->ResumePropagation(arg2
);
14717 wxPyEndAllowThreads(__tstate
);
14718 if (PyErr_Occurred()) SWIG_fail
;
14720 Py_INCREF(Py_None
); resultobj
= Py_None
;
14727 static PyObject
*_wrap_Event_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14728 PyObject
*resultobj
;
14729 wxEvent
*arg1
= (wxEvent
*) 0 ;
14731 PyObject
* obj0
= 0 ;
14732 char *kwnames
[] = {
14733 (char *) "self", NULL
14736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
14737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14738 if (SWIG_arg_fail(1)) SWIG_fail
;
14740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14741 result
= (wxEvent
*)(arg1
)->Clone();
14743 wxPyEndAllowThreads(__tstate
);
14744 if (PyErr_Occurred()) SWIG_fail
;
14746 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
14753 static PyObject
* Event_swigregister(PyObject
*, PyObject
*args
) {
14755 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14756 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
14758 return Py_BuildValue((char *)"");
14760 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14761 PyObject
*resultobj
;
14762 wxEvent
*arg1
= 0 ;
14763 wxPropagationDisabler
*result
;
14764 PyObject
* obj0
= 0 ;
14765 char *kwnames
[] = {
14766 (char *) "event", NULL
14769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
14771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14772 if (SWIG_arg_fail(1)) SWIG_fail
;
14773 if (arg1
== NULL
) {
14774 SWIG_null_ref("wxEvent");
14776 if (SWIG_arg_fail(1)) SWIG_fail
;
14779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14780 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
14782 wxPyEndAllowThreads(__tstate
);
14783 if (PyErr_Occurred()) SWIG_fail
;
14785 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
14792 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14793 PyObject
*resultobj
;
14794 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
14795 PyObject
* obj0
= 0 ;
14796 char *kwnames
[] = {
14797 (char *) "self", NULL
14800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
14801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagationDisabler
, SWIG_POINTER_EXCEPTION
| 0);
14802 if (SWIG_arg_fail(1)) SWIG_fail
;
14804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14807 wxPyEndAllowThreads(__tstate
);
14808 if (PyErr_Occurred()) SWIG_fail
;
14810 Py_INCREF(Py_None
); resultobj
= Py_None
;
14817 static PyObject
* PropagationDisabler_swigregister(PyObject
*, PyObject
*args
) {
14819 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14820 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
14822 return Py_BuildValue((char *)"");
14824 static PyObject
*_wrap_new_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14825 PyObject
*resultobj
;
14826 wxEvent
*arg1
= 0 ;
14827 wxPropagateOnce
*result
;
14828 PyObject
* obj0
= 0 ;
14829 char *kwnames
[] = {
14830 (char *) "event", NULL
14833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
14835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14836 if (SWIG_arg_fail(1)) SWIG_fail
;
14837 if (arg1
== NULL
) {
14838 SWIG_null_ref("wxEvent");
14840 if (SWIG_arg_fail(1)) SWIG_fail
;
14843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14844 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
14846 wxPyEndAllowThreads(__tstate
);
14847 if (PyErr_Occurred()) SWIG_fail
;
14849 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
14856 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14857 PyObject
*resultobj
;
14858 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
14859 PyObject
* obj0
= 0 ;
14860 char *kwnames
[] = {
14861 (char *) "self", NULL
14864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
14865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagateOnce
, SWIG_POINTER_EXCEPTION
| 0);
14866 if (SWIG_arg_fail(1)) SWIG_fail
;
14868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14871 wxPyEndAllowThreads(__tstate
);
14872 if (PyErr_Occurred()) SWIG_fail
;
14874 Py_INCREF(Py_None
); resultobj
= Py_None
;
14881 static PyObject
* PropagateOnce_swigregister(PyObject
*, PyObject
*args
) {
14883 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14884 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
14886 return Py_BuildValue((char *)"");
14888 static PyObject
*_wrap_new_CommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14889 PyObject
*resultobj
;
14890 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14891 int arg2
= (int) 0 ;
14892 wxCommandEvent
*result
;
14893 PyObject
* obj0
= 0 ;
14894 PyObject
* obj1
= 0 ;
14895 char *kwnames
[] = {
14896 (char *) "commandType",(char *) "winid", NULL
14899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14902 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
14903 if (SWIG_arg_fail(1)) SWIG_fail
;
14908 arg2
= (int)(SWIG_As_int(obj1
));
14909 if (SWIG_arg_fail(2)) SWIG_fail
;
14913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14914 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
14916 wxPyEndAllowThreads(__tstate
);
14917 if (PyErr_Occurred()) SWIG_fail
;
14919 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
14926 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14927 PyObject
*resultobj
;
14928 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
14930 PyObject
* obj0
= 0 ;
14931 char *kwnames
[] = {
14932 (char *) "self", NULL
14935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
14936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
14937 if (SWIG_arg_fail(1)) SWIG_fail
;
14939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14940 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
14942 wxPyEndAllowThreads(__tstate
);
14943 if (PyErr_Occurred()) SWIG_fail
;
14946 resultobj
= SWIG_From_int((int)(result
));
14954 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14955 PyObject
*resultobj
;
14956 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
14957 wxString
*arg2
= 0 ;
14958 bool temp2
= false ;
14959 PyObject
* obj0
= 0 ;
14960 PyObject
* obj1
= 0 ;
14961 char *kwnames
[] = {
14962 (char *) "self",(char *) "s", NULL
14965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
14966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
14967 if (SWIG_arg_fail(1)) SWIG_fail
;
14969 arg2
= wxString_in_helper(obj1
);
14970 if (arg2
== NULL
) SWIG_fail
;
14974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14975 (arg1
)->SetString((wxString
const &)*arg2
);
14977 wxPyEndAllowThreads(__tstate
);
14978 if (PyErr_Occurred()) SWIG_fail
;
14980 Py_INCREF(Py_None
); resultobj
= Py_None
;
14995 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14996 PyObject
*resultobj
;
14997 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
14999 PyObject
* obj0
= 0 ;
15000 char *kwnames
[] = {
15001 (char *) "self", NULL
15004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
15005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15006 if (SWIG_arg_fail(1)) SWIG_fail
;
15008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15009 result
= ((wxCommandEvent
const *)arg1
)->GetString();
15011 wxPyEndAllowThreads(__tstate
);
15012 if (PyErr_Occurred()) SWIG_fail
;
15016 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15018 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15027 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15028 PyObject
*resultobj
;
15029 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15031 PyObject
* obj0
= 0 ;
15032 char *kwnames
[] = {
15033 (char *) "self", NULL
15036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
15037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15038 if (SWIG_arg_fail(1)) SWIG_fail
;
15040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15041 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
15043 wxPyEndAllowThreads(__tstate
);
15044 if (PyErr_Occurred()) SWIG_fail
;
15047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15055 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15056 PyObject
*resultobj
;
15057 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15059 PyObject
* obj0
= 0 ;
15060 char *kwnames
[] = {
15061 (char *) "self", NULL
15064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
15065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15066 if (SWIG_arg_fail(1)) SWIG_fail
;
15068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15069 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
15071 wxPyEndAllowThreads(__tstate
);
15072 if (PyErr_Occurred()) SWIG_fail
;
15075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15083 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15084 PyObject
*resultobj
;
15085 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15087 PyObject
* obj0
= 0 ;
15088 PyObject
* obj1
= 0 ;
15089 char *kwnames
[] = {
15090 (char *) "self",(char *) "extraLong", NULL
15093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
15094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15095 if (SWIG_arg_fail(1)) SWIG_fail
;
15097 arg2
= (long)(SWIG_As_long(obj1
));
15098 if (SWIG_arg_fail(2)) SWIG_fail
;
15101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15102 (arg1
)->SetExtraLong(arg2
);
15104 wxPyEndAllowThreads(__tstate
);
15105 if (PyErr_Occurred()) SWIG_fail
;
15107 Py_INCREF(Py_None
); resultobj
= Py_None
;
15114 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15115 PyObject
*resultobj
;
15116 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15118 PyObject
* obj0
= 0 ;
15119 char *kwnames
[] = {
15120 (char *) "self", NULL
15123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
15124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15125 if (SWIG_arg_fail(1)) SWIG_fail
;
15127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15128 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
15130 wxPyEndAllowThreads(__tstate
);
15131 if (PyErr_Occurred()) SWIG_fail
;
15134 resultobj
= SWIG_From_long((long)(result
));
15142 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15143 PyObject
*resultobj
;
15144 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15146 PyObject
* obj0
= 0 ;
15147 PyObject
* obj1
= 0 ;
15148 char *kwnames
[] = {
15149 (char *) "self",(char *) "i", NULL
15152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
15153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15154 if (SWIG_arg_fail(1)) SWIG_fail
;
15156 arg2
= (int)(SWIG_As_int(obj1
));
15157 if (SWIG_arg_fail(2)) SWIG_fail
;
15160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15161 (arg1
)->SetInt(arg2
);
15163 wxPyEndAllowThreads(__tstate
);
15164 if (PyErr_Occurred()) SWIG_fail
;
15166 Py_INCREF(Py_None
); resultobj
= Py_None
;
15173 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15174 PyObject
*resultobj
;
15175 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15177 PyObject
* obj0
= 0 ;
15178 char *kwnames
[] = {
15179 (char *) "self", NULL
15182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
15183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15184 if (SWIG_arg_fail(1)) SWIG_fail
;
15186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15187 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
15189 wxPyEndAllowThreads(__tstate
);
15190 if (PyErr_Occurred()) SWIG_fail
;
15193 resultobj
= SWIG_From_long((long)(result
));
15201 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15202 PyObject
*resultobj
;
15203 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15205 PyObject
* obj0
= 0 ;
15206 char *kwnames
[] = {
15207 (char *) "self", NULL
15210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
15211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15212 if (SWIG_arg_fail(1)) SWIG_fail
;
15214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15215 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
15217 wxPyEndAllowThreads(__tstate
);
15218 if (PyErr_Occurred()) SWIG_fail
;
15220 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
15227 static PyObject
* CommandEvent_swigregister(PyObject
*, PyObject
*args
) {
15229 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15230 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
15232 return Py_BuildValue((char *)"");
15234 static PyObject
*_wrap_new_NotifyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15235 PyObject
*resultobj
;
15236 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15237 int arg2
= (int) 0 ;
15238 wxNotifyEvent
*result
;
15239 PyObject
* obj0
= 0 ;
15240 PyObject
* obj1
= 0 ;
15241 char *kwnames
[] = {
15242 (char *) "commandType",(char *) "winid", NULL
15245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15248 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15249 if (SWIG_arg_fail(1)) SWIG_fail
;
15254 arg2
= (int)(SWIG_As_int(obj1
));
15255 if (SWIG_arg_fail(2)) SWIG_fail
;
15259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15260 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
15262 wxPyEndAllowThreads(__tstate
);
15263 if (PyErr_Occurred()) SWIG_fail
;
15265 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
15272 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15273 PyObject
*resultobj
;
15274 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15275 PyObject
* obj0
= 0 ;
15276 char *kwnames
[] = {
15277 (char *) "self", NULL
15280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
15281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15282 if (SWIG_arg_fail(1)) SWIG_fail
;
15284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15287 wxPyEndAllowThreads(__tstate
);
15288 if (PyErr_Occurred()) SWIG_fail
;
15290 Py_INCREF(Py_None
); resultobj
= Py_None
;
15297 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15298 PyObject
*resultobj
;
15299 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15300 PyObject
* obj0
= 0 ;
15301 char *kwnames
[] = {
15302 (char *) "self", NULL
15305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
15306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15307 if (SWIG_arg_fail(1)) SWIG_fail
;
15309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15312 wxPyEndAllowThreads(__tstate
);
15313 if (PyErr_Occurred()) SWIG_fail
;
15315 Py_INCREF(Py_None
); resultobj
= Py_None
;
15322 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15323 PyObject
*resultobj
;
15324 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15326 PyObject
* obj0
= 0 ;
15327 char *kwnames
[] = {
15328 (char *) "self", NULL
15331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
15332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15333 if (SWIG_arg_fail(1)) SWIG_fail
;
15335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15336 result
= (bool)(arg1
)->IsAllowed();
15338 wxPyEndAllowThreads(__tstate
);
15339 if (PyErr_Occurred()) SWIG_fail
;
15342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15350 static PyObject
* NotifyEvent_swigregister(PyObject
*, PyObject
*args
) {
15352 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15353 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
15355 return Py_BuildValue((char *)"");
15357 static PyObject
*_wrap_new_ScrollEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15358 PyObject
*resultobj
;
15359 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15360 int arg2
= (int) 0 ;
15361 int arg3
= (int) 0 ;
15362 int arg4
= (int) 0 ;
15363 wxScrollEvent
*result
;
15364 PyObject
* obj0
= 0 ;
15365 PyObject
* obj1
= 0 ;
15366 PyObject
* obj2
= 0 ;
15367 PyObject
* obj3
= 0 ;
15368 char *kwnames
[] = {
15369 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
15372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15375 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15376 if (SWIG_arg_fail(1)) SWIG_fail
;
15381 arg2
= (int)(SWIG_As_int(obj1
));
15382 if (SWIG_arg_fail(2)) SWIG_fail
;
15387 arg3
= (int)(SWIG_As_int(obj2
));
15388 if (SWIG_arg_fail(3)) SWIG_fail
;
15393 arg4
= (int)(SWIG_As_int(obj3
));
15394 if (SWIG_arg_fail(4)) SWIG_fail
;
15398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15399 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
15401 wxPyEndAllowThreads(__tstate
);
15402 if (PyErr_Occurred()) SWIG_fail
;
15404 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
15411 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15412 PyObject
*resultobj
;
15413 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15415 PyObject
* obj0
= 0 ;
15416 char *kwnames
[] = {
15417 (char *) "self", NULL
15420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
15421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15422 if (SWIG_arg_fail(1)) SWIG_fail
;
15424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15425 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
15427 wxPyEndAllowThreads(__tstate
);
15428 if (PyErr_Occurred()) SWIG_fail
;
15431 resultobj
= SWIG_From_int((int)(result
));
15439 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15440 PyObject
*resultobj
;
15441 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15443 PyObject
* obj0
= 0 ;
15444 char *kwnames
[] = {
15445 (char *) "self", NULL
15448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15450 if (SWIG_arg_fail(1)) SWIG_fail
;
15452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15453 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
15455 wxPyEndAllowThreads(__tstate
);
15456 if (PyErr_Occurred()) SWIG_fail
;
15459 resultobj
= SWIG_From_int((int)(result
));
15467 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15468 PyObject
*resultobj
;
15469 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15471 PyObject
* obj0
= 0 ;
15472 PyObject
* obj1
= 0 ;
15473 char *kwnames
[] = {
15474 (char *) "self",(char *) "orient", NULL
15477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
15478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15479 if (SWIG_arg_fail(1)) SWIG_fail
;
15481 arg2
= (int)(SWIG_As_int(obj1
));
15482 if (SWIG_arg_fail(2)) SWIG_fail
;
15485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15486 (arg1
)->SetOrientation(arg2
);
15488 wxPyEndAllowThreads(__tstate
);
15489 if (PyErr_Occurred()) SWIG_fail
;
15491 Py_INCREF(Py_None
); resultobj
= Py_None
;
15498 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15499 PyObject
*resultobj
;
15500 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15502 PyObject
* obj0
= 0 ;
15503 PyObject
* obj1
= 0 ;
15504 char *kwnames
[] = {
15505 (char *) "self",(char *) "pos", NULL
15508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
15509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15510 if (SWIG_arg_fail(1)) SWIG_fail
;
15512 arg2
= (int)(SWIG_As_int(obj1
));
15513 if (SWIG_arg_fail(2)) SWIG_fail
;
15516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15517 (arg1
)->SetPosition(arg2
);
15519 wxPyEndAllowThreads(__tstate
);
15520 if (PyErr_Occurred()) SWIG_fail
;
15522 Py_INCREF(Py_None
); resultobj
= Py_None
;
15529 static PyObject
* ScrollEvent_swigregister(PyObject
*, PyObject
*args
) {
15531 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15532 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
15534 return Py_BuildValue((char *)"");
15536 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15537 PyObject
*resultobj
;
15538 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15539 int arg2
= (int) 0 ;
15540 int arg3
= (int) 0 ;
15541 wxScrollWinEvent
*result
;
15542 PyObject
* obj0
= 0 ;
15543 PyObject
* obj1
= 0 ;
15544 PyObject
* obj2
= 0 ;
15545 char *kwnames
[] = {
15546 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
15549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15552 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15553 if (SWIG_arg_fail(1)) SWIG_fail
;
15558 arg2
= (int)(SWIG_As_int(obj1
));
15559 if (SWIG_arg_fail(2)) SWIG_fail
;
15564 arg3
= (int)(SWIG_As_int(obj2
));
15565 if (SWIG_arg_fail(3)) SWIG_fail
;
15569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15570 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
15572 wxPyEndAllowThreads(__tstate
);
15573 if (PyErr_Occurred()) SWIG_fail
;
15575 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
15582 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15583 PyObject
*resultobj
;
15584 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
15586 PyObject
* obj0
= 0 ;
15587 char *kwnames
[] = {
15588 (char *) "self", NULL
15591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
15592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
15593 if (SWIG_arg_fail(1)) SWIG_fail
;
15595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15596 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
15598 wxPyEndAllowThreads(__tstate
);
15599 if (PyErr_Occurred()) SWIG_fail
;
15602 resultobj
= SWIG_From_int((int)(result
));
15610 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15611 PyObject
*resultobj
;
15612 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
15614 PyObject
* obj0
= 0 ;
15615 char *kwnames
[] = {
15616 (char *) "self", NULL
15619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
15621 if (SWIG_arg_fail(1)) SWIG_fail
;
15623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15624 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
15626 wxPyEndAllowThreads(__tstate
);
15627 if (PyErr_Occurred()) SWIG_fail
;
15630 resultobj
= SWIG_From_int((int)(result
));
15638 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15639 PyObject
*resultobj
;
15640 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
15642 PyObject
* obj0
= 0 ;
15643 PyObject
* obj1
= 0 ;
15644 char *kwnames
[] = {
15645 (char *) "self",(char *) "orient", NULL
15648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
15649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
15650 if (SWIG_arg_fail(1)) SWIG_fail
;
15652 arg2
= (int)(SWIG_As_int(obj1
));
15653 if (SWIG_arg_fail(2)) SWIG_fail
;
15656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15657 (arg1
)->SetOrientation(arg2
);
15659 wxPyEndAllowThreads(__tstate
);
15660 if (PyErr_Occurred()) SWIG_fail
;
15662 Py_INCREF(Py_None
); resultobj
= Py_None
;
15669 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15670 PyObject
*resultobj
;
15671 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
15673 PyObject
* obj0
= 0 ;
15674 PyObject
* obj1
= 0 ;
15675 char *kwnames
[] = {
15676 (char *) "self",(char *) "pos", NULL
15679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
15680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
15681 if (SWIG_arg_fail(1)) SWIG_fail
;
15683 arg2
= (int)(SWIG_As_int(obj1
));
15684 if (SWIG_arg_fail(2)) SWIG_fail
;
15687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15688 (arg1
)->SetPosition(arg2
);
15690 wxPyEndAllowThreads(__tstate
);
15691 if (PyErr_Occurred()) SWIG_fail
;
15693 Py_INCREF(Py_None
); resultobj
= Py_None
;
15700 static PyObject
* ScrollWinEvent_swigregister(PyObject
*, PyObject
*args
) {
15702 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15703 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
15705 return Py_BuildValue((char *)"");
15707 static PyObject
*_wrap_new_MouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15708 PyObject
*resultobj
;
15709 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15710 wxMouseEvent
*result
;
15711 PyObject
* obj0
= 0 ;
15712 char *kwnames
[] = {
15713 (char *) "mouseType", NULL
15716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
15719 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15720 if (SWIG_arg_fail(1)) SWIG_fail
;
15724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15725 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
15727 wxPyEndAllowThreads(__tstate
);
15728 if (PyErr_Occurred()) SWIG_fail
;
15731 resultobj
= wxPyMake_wxObject(result
, 1);
15739 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15740 PyObject
*resultobj
;
15741 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15743 PyObject
* obj0
= 0 ;
15744 char *kwnames
[] = {
15745 (char *) "self", NULL
15748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
15749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
15750 if (SWIG_arg_fail(1)) SWIG_fail
;
15752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15753 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
15755 wxPyEndAllowThreads(__tstate
);
15756 if (PyErr_Occurred()) SWIG_fail
;
15759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15767 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15768 PyObject
*resultobj
;
15769 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15770 int arg2
= (int) wxMOUSE_BTN_ANY
;
15772 PyObject
* obj0
= 0 ;
15773 PyObject
* obj1
= 0 ;
15774 char *kwnames
[] = {
15775 (char *) "self",(char *) "but", NULL
15778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
15779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
15780 if (SWIG_arg_fail(1)) SWIG_fail
;
15783 arg2
= (int)(SWIG_As_int(obj1
));
15784 if (SWIG_arg_fail(2)) SWIG_fail
;
15788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15789 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
15791 wxPyEndAllowThreads(__tstate
);
15792 if (PyErr_Occurred()) SWIG_fail
;
15795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15803 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15804 PyObject
*resultobj
;
15805 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15806 int arg2
= (int) wxMOUSE_BTN_ANY
;
15808 PyObject
* obj0
= 0 ;
15809 PyObject
* obj1
= 0 ;
15810 char *kwnames
[] = {
15811 (char *) "self",(char *) "but", NULL
15814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
15815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
15816 if (SWIG_arg_fail(1)) SWIG_fail
;
15819 arg2
= (int)(SWIG_As_int(obj1
));
15820 if (SWIG_arg_fail(2)) SWIG_fail
;
15824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15825 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
15827 wxPyEndAllowThreads(__tstate
);
15828 if (PyErr_Occurred()) SWIG_fail
;
15831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15839 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15840 PyObject
*resultobj
;
15841 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15842 int arg2
= (int) wxMOUSE_BTN_ANY
;
15844 PyObject
* obj0
= 0 ;
15845 PyObject
* obj1
= 0 ;
15846 char *kwnames
[] = {
15847 (char *) "self",(char *) "but", NULL
15850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
15851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
15852 if (SWIG_arg_fail(1)) SWIG_fail
;
15855 arg2
= (int)(SWIG_As_int(obj1
));
15856 if (SWIG_arg_fail(2)) SWIG_fail
;
15860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15861 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
15863 wxPyEndAllowThreads(__tstate
);
15864 if (PyErr_Occurred()) SWIG_fail
;
15867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15875 static PyObject
*_wrap_MouseEvent_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15876 PyObject
*resultobj
;
15877 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15880 PyObject
* obj0
= 0 ;
15881 PyObject
* obj1
= 0 ;
15882 char *kwnames
[] = {
15883 (char *) "self",(char *) "but", NULL
15886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
15887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
15888 if (SWIG_arg_fail(1)) SWIG_fail
;
15890 arg2
= (int)(SWIG_As_int(obj1
));
15891 if (SWIG_arg_fail(2)) SWIG_fail
;
15894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15895 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
15897 wxPyEndAllowThreads(__tstate
);
15898 if (PyErr_Occurred()) SWIG_fail
;
15901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15909 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15910 PyObject
*resultobj
;
15911 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15914 PyObject
* obj0
= 0 ;
15915 PyObject
* obj1
= 0 ;
15916 char *kwnames
[] = {
15917 (char *) "self",(char *) "but", NULL
15920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
15921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
15922 if (SWIG_arg_fail(1)) SWIG_fail
;
15924 arg2
= (int)(SWIG_As_int(obj1
));
15925 if (SWIG_arg_fail(2)) SWIG_fail
;
15928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15929 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
15931 wxPyEndAllowThreads(__tstate
);
15932 if (PyErr_Occurred()) SWIG_fail
;
15935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15943 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15944 PyObject
*resultobj
;
15945 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15947 PyObject
* obj0
= 0 ;
15948 char *kwnames
[] = {
15949 (char *) "self", NULL
15952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
15953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
15954 if (SWIG_arg_fail(1)) SWIG_fail
;
15956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15957 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
15959 wxPyEndAllowThreads(__tstate
);
15960 if (PyErr_Occurred()) SWIG_fail
;
15963 resultobj
= SWIG_From_int((int)(result
));
15971 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15972 PyObject
*resultobj
;
15973 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15975 PyObject
* obj0
= 0 ;
15976 char *kwnames
[] = {
15977 (char *) "self", NULL
15980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
15982 if (SWIG_arg_fail(1)) SWIG_fail
;
15984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15985 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
15987 wxPyEndAllowThreads(__tstate
);
15988 if (PyErr_Occurred()) SWIG_fail
;
15991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15999 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16000 PyObject
*resultobj
;
16001 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16003 PyObject
* obj0
= 0 ;
16004 char *kwnames
[] = {
16005 (char *) "self", NULL
16008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
16009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16010 if (SWIG_arg_fail(1)) SWIG_fail
;
16012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16013 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
16015 wxPyEndAllowThreads(__tstate
);
16016 if (PyErr_Occurred()) SWIG_fail
;
16019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16027 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16028 PyObject
*resultobj
;
16029 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16031 PyObject
* obj0
= 0 ;
16032 char *kwnames
[] = {
16033 (char *) "self", NULL
16036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
16037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16038 if (SWIG_arg_fail(1)) SWIG_fail
;
16040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16041 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
16043 wxPyEndAllowThreads(__tstate
);
16044 if (PyErr_Occurred()) SWIG_fail
;
16047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16055 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16056 PyObject
*resultobj
;
16057 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16059 PyObject
* obj0
= 0 ;
16060 char *kwnames
[] = {
16061 (char *) "self", NULL
16064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
16065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16066 if (SWIG_arg_fail(1)) SWIG_fail
;
16068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16069 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
16071 wxPyEndAllowThreads(__tstate
);
16072 if (PyErr_Occurred()) SWIG_fail
;
16075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16083 static PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16084 PyObject
*resultobj
;
16085 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16087 PyObject
* obj0
= 0 ;
16088 char *kwnames
[] = {
16089 (char *) "self", NULL
16092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
16093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16094 if (SWIG_arg_fail(1)) SWIG_fail
;
16096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16097 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
16099 wxPyEndAllowThreads(__tstate
);
16100 if (PyErr_Occurred()) SWIG_fail
;
16103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16111 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16112 PyObject
*resultobj
;
16113 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16115 PyObject
* obj0
= 0 ;
16116 char *kwnames
[] = {
16117 (char *) "self", NULL
16120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
16121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16122 if (SWIG_arg_fail(1)) SWIG_fail
;
16124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16125 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
16127 wxPyEndAllowThreads(__tstate
);
16128 if (PyErr_Occurred()) SWIG_fail
;
16131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16139 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16140 PyObject
*resultobj
;
16141 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16143 PyObject
* obj0
= 0 ;
16144 char *kwnames
[] = {
16145 (char *) "self", NULL
16148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
16149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16150 if (SWIG_arg_fail(1)) SWIG_fail
;
16152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16153 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
16155 wxPyEndAllowThreads(__tstate
);
16156 if (PyErr_Occurred()) SWIG_fail
;
16159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16167 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16168 PyObject
*resultobj
;
16169 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16171 PyObject
* obj0
= 0 ;
16172 char *kwnames
[] = {
16173 (char *) "self", NULL
16176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
16177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16178 if (SWIG_arg_fail(1)) SWIG_fail
;
16180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16181 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
16183 wxPyEndAllowThreads(__tstate
);
16184 if (PyErr_Occurred()) SWIG_fail
;
16187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16195 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16196 PyObject
*resultobj
;
16197 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16199 PyObject
* obj0
= 0 ;
16200 char *kwnames
[] = {
16201 (char *) "self", NULL
16204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
16205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16206 if (SWIG_arg_fail(1)) SWIG_fail
;
16208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16209 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
16211 wxPyEndAllowThreads(__tstate
);
16212 if (PyErr_Occurred()) SWIG_fail
;
16215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16223 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16224 PyObject
*resultobj
;
16225 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16227 PyObject
* obj0
= 0 ;
16228 char *kwnames
[] = {
16229 (char *) "self", NULL
16232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
16233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16234 if (SWIG_arg_fail(1)) SWIG_fail
;
16236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16237 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
16239 wxPyEndAllowThreads(__tstate
);
16240 if (PyErr_Occurred()) SWIG_fail
;
16243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16251 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16252 PyObject
*resultobj
;
16253 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16255 PyObject
* obj0
= 0 ;
16256 char *kwnames
[] = {
16257 (char *) "self", NULL
16260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
16261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16262 if (SWIG_arg_fail(1)) SWIG_fail
;
16264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16265 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
16267 wxPyEndAllowThreads(__tstate
);
16268 if (PyErr_Occurred()) SWIG_fail
;
16271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16279 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16280 PyObject
*resultobj
;
16281 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16283 PyObject
* obj0
= 0 ;
16284 char *kwnames
[] = {
16285 (char *) "self", NULL
16288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
16289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16290 if (SWIG_arg_fail(1)) SWIG_fail
;
16292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16293 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
16295 wxPyEndAllowThreads(__tstate
);
16296 if (PyErr_Occurred()) SWIG_fail
;
16299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16307 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16308 PyObject
*resultobj
;
16309 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16311 PyObject
* obj0
= 0 ;
16312 char *kwnames
[] = {
16313 (char *) "self", NULL
16316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
16317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16318 if (SWIG_arg_fail(1)) SWIG_fail
;
16320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16321 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
16323 wxPyEndAllowThreads(__tstate
);
16324 if (PyErr_Occurred()) SWIG_fail
;
16327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16335 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16336 PyObject
*resultobj
;
16337 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16339 PyObject
* obj0
= 0 ;
16340 char *kwnames
[] = {
16341 (char *) "self", NULL
16344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
16345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16346 if (SWIG_arg_fail(1)) SWIG_fail
;
16348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16349 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
16351 wxPyEndAllowThreads(__tstate
);
16352 if (PyErr_Occurred()) SWIG_fail
;
16355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16363 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16364 PyObject
*resultobj
;
16365 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16367 PyObject
* obj0
= 0 ;
16368 char *kwnames
[] = {
16369 (char *) "self", NULL
16372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
16373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16374 if (SWIG_arg_fail(1)) SWIG_fail
;
16376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16377 result
= (bool)(arg1
)->LeftIsDown();
16379 wxPyEndAllowThreads(__tstate
);
16380 if (PyErr_Occurred()) SWIG_fail
;
16383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16391 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16392 PyObject
*resultobj
;
16393 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16395 PyObject
* obj0
= 0 ;
16396 char *kwnames
[] = {
16397 (char *) "self", NULL
16400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
16401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16402 if (SWIG_arg_fail(1)) SWIG_fail
;
16404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16405 result
= (bool)(arg1
)->MiddleIsDown();
16407 wxPyEndAllowThreads(__tstate
);
16408 if (PyErr_Occurred()) SWIG_fail
;
16411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16419 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16420 PyObject
*resultobj
;
16421 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16423 PyObject
* obj0
= 0 ;
16424 char *kwnames
[] = {
16425 (char *) "self", NULL
16428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
16429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16430 if (SWIG_arg_fail(1)) SWIG_fail
;
16432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16433 result
= (bool)(arg1
)->RightIsDown();
16435 wxPyEndAllowThreads(__tstate
);
16436 if (PyErr_Occurred()) SWIG_fail
;
16439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16447 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16448 PyObject
*resultobj
;
16449 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16451 PyObject
* obj0
= 0 ;
16452 char *kwnames
[] = {
16453 (char *) "self", NULL
16456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
16457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16458 if (SWIG_arg_fail(1)) SWIG_fail
;
16460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16461 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
16463 wxPyEndAllowThreads(__tstate
);
16464 if (PyErr_Occurred()) SWIG_fail
;
16467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16475 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16476 PyObject
*resultobj
;
16477 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16479 PyObject
* obj0
= 0 ;
16480 char *kwnames
[] = {
16481 (char *) "self", NULL
16484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
16485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16486 if (SWIG_arg_fail(1)) SWIG_fail
;
16488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16489 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
16491 wxPyEndAllowThreads(__tstate
);
16492 if (PyErr_Occurred()) SWIG_fail
;
16495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16503 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16504 PyObject
*resultobj
;
16505 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16507 PyObject
* obj0
= 0 ;
16508 char *kwnames
[] = {
16509 (char *) "self", NULL
16512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
16513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16514 if (SWIG_arg_fail(1)) SWIG_fail
;
16516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16517 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
16519 wxPyEndAllowThreads(__tstate
);
16520 if (PyErr_Occurred()) SWIG_fail
;
16523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16531 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16532 PyObject
*resultobj
;
16533 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16535 PyObject
* obj0
= 0 ;
16536 char *kwnames
[] = {
16537 (char *) "self", NULL
16540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
16541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16542 if (SWIG_arg_fail(1)) SWIG_fail
;
16544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16545 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
16547 wxPyEndAllowThreads(__tstate
);
16548 if (PyErr_Occurred()) SWIG_fail
;
16551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16559 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16560 PyObject
*resultobj
;
16561 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16563 PyObject
* obj0
= 0 ;
16564 char *kwnames
[] = {
16565 (char *) "self", NULL
16568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16570 if (SWIG_arg_fail(1)) SWIG_fail
;
16572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16573 result
= (arg1
)->GetPosition();
16575 wxPyEndAllowThreads(__tstate
);
16576 if (PyErr_Occurred()) SWIG_fail
;
16579 wxPoint
* resultptr
;
16580 resultptr
= new wxPoint((wxPoint
&)(result
));
16581 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16589 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16590 PyObject
*resultobj
;
16591 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16592 long *arg2
= (long *) 0 ;
16593 long *arg3
= (long *) 0 ;
16598 PyObject
* obj0
= 0 ;
16599 char *kwnames
[] = {
16600 (char *) "self", NULL
16603 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16604 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
16606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16607 if (SWIG_arg_fail(1)) SWIG_fail
;
16609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16610 (arg1
)->GetPosition(arg2
,arg3
);
16612 wxPyEndAllowThreads(__tstate
);
16613 if (PyErr_Occurred()) SWIG_fail
;
16615 Py_INCREF(Py_None
); resultobj
= Py_None
;
16616 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16617 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
16618 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16619 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
16626 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16627 PyObject
*resultobj
;
16628 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16631 PyObject
* obj0
= 0 ;
16632 PyObject
* obj1
= 0 ;
16633 char *kwnames
[] = {
16634 (char *) "self",(char *) "dc", NULL
16637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16639 if (SWIG_arg_fail(1)) SWIG_fail
;
16641 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16642 if (SWIG_arg_fail(2)) SWIG_fail
;
16643 if (arg2
== NULL
) {
16644 SWIG_null_ref("wxDC");
16646 if (SWIG_arg_fail(2)) SWIG_fail
;
16649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16650 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
16652 wxPyEndAllowThreads(__tstate
);
16653 if (PyErr_Occurred()) SWIG_fail
;
16656 wxPoint
* resultptr
;
16657 resultptr
= new wxPoint((wxPoint
&)(result
));
16658 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16666 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16667 PyObject
*resultobj
;
16668 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16670 PyObject
* obj0
= 0 ;
16671 char *kwnames
[] = {
16672 (char *) "self", NULL
16675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
16676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16677 if (SWIG_arg_fail(1)) SWIG_fail
;
16679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16680 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
16682 wxPyEndAllowThreads(__tstate
);
16683 if (PyErr_Occurred()) SWIG_fail
;
16686 resultobj
= SWIG_From_int((int)(result
));
16694 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16695 PyObject
*resultobj
;
16696 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16698 PyObject
* obj0
= 0 ;
16699 char *kwnames
[] = {
16700 (char *) "self", NULL
16703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
16704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16705 if (SWIG_arg_fail(1)) SWIG_fail
;
16707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16708 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
16710 wxPyEndAllowThreads(__tstate
);
16711 if (PyErr_Occurred()) SWIG_fail
;
16714 resultobj
= SWIG_From_int((int)(result
));
16722 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16723 PyObject
*resultobj
;
16724 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16726 PyObject
* obj0
= 0 ;
16727 char *kwnames
[] = {
16728 (char *) "self", NULL
16731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
16732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16733 if (SWIG_arg_fail(1)) SWIG_fail
;
16735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16736 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
16738 wxPyEndAllowThreads(__tstate
);
16739 if (PyErr_Occurred()) SWIG_fail
;
16742 resultobj
= SWIG_From_int((int)(result
));
16750 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16751 PyObject
*resultobj
;
16752 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16754 PyObject
* obj0
= 0 ;
16755 char *kwnames
[] = {
16756 (char *) "self", NULL
16759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
16760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16761 if (SWIG_arg_fail(1)) SWIG_fail
;
16763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16764 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
16766 wxPyEndAllowThreads(__tstate
);
16767 if (PyErr_Occurred()) SWIG_fail
;
16770 resultobj
= SWIG_From_int((int)(result
));
16778 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16779 PyObject
*resultobj
;
16780 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16782 PyObject
* obj0
= 0 ;
16783 char *kwnames
[] = {
16784 (char *) "self", NULL
16787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
16788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16789 if (SWIG_arg_fail(1)) SWIG_fail
;
16791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16792 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
16794 wxPyEndAllowThreads(__tstate
);
16795 if (PyErr_Occurred()) SWIG_fail
;
16798 resultobj
= SWIG_From_int((int)(result
));
16806 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16807 PyObject
*resultobj
;
16808 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16810 PyObject
* obj0
= 0 ;
16811 char *kwnames
[] = {
16812 (char *) "self", NULL
16815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
16816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16817 if (SWIG_arg_fail(1)) SWIG_fail
;
16819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16820 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
16822 wxPyEndAllowThreads(__tstate
);
16823 if (PyErr_Occurred()) SWIG_fail
;
16826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16834 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16835 PyObject
*resultobj
;
16836 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16838 PyObject
* obj0
= 0 ;
16839 PyObject
* obj1
= 0 ;
16840 char *kwnames
[] = {
16841 (char *) "self",(char *) "m_x", NULL
16844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16846 if (SWIG_arg_fail(1)) SWIG_fail
;
16848 arg2
= (int)(SWIG_As_int(obj1
));
16849 if (SWIG_arg_fail(2)) SWIG_fail
;
16851 if (arg1
) (arg1
)->m_x
= arg2
;
16853 Py_INCREF(Py_None
); resultobj
= Py_None
;
16860 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16861 PyObject
*resultobj
;
16862 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16864 PyObject
* obj0
= 0 ;
16865 char *kwnames
[] = {
16866 (char *) "self", NULL
16869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
16870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16871 if (SWIG_arg_fail(1)) SWIG_fail
;
16872 result
= (int) ((arg1
)->m_x
);
16875 resultobj
= SWIG_From_int((int)(result
));
16883 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16884 PyObject
*resultobj
;
16885 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16887 PyObject
* obj0
= 0 ;
16888 PyObject
* obj1
= 0 ;
16889 char *kwnames
[] = {
16890 (char *) "self",(char *) "m_y", NULL
16893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16895 if (SWIG_arg_fail(1)) SWIG_fail
;
16897 arg2
= (int)(SWIG_As_int(obj1
));
16898 if (SWIG_arg_fail(2)) SWIG_fail
;
16900 if (arg1
) (arg1
)->m_y
= arg2
;
16902 Py_INCREF(Py_None
); resultobj
= Py_None
;
16909 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16910 PyObject
*resultobj
;
16911 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16913 PyObject
* obj0
= 0 ;
16914 char *kwnames
[] = {
16915 (char *) "self", NULL
16918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
16919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16920 if (SWIG_arg_fail(1)) SWIG_fail
;
16921 result
= (int) ((arg1
)->m_y
);
16924 resultobj
= SWIG_From_int((int)(result
));
16932 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16933 PyObject
*resultobj
;
16934 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16936 PyObject
* obj0
= 0 ;
16937 PyObject
* obj1
= 0 ;
16938 char *kwnames
[] = {
16939 (char *) "self",(char *) "m_leftDown", NULL
16942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16944 if (SWIG_arg_fail(1)) SWIG_fail
;
16946 arg2
= (bool)(SWIG_As_bool(obj1
));
16947 if (SWIG_arg_fail(2)) SWIG_fail
;
16949 if (arg1
) (arg1
)->m_leftDown
= arg2
;
16951 Py_INCREF(Py_None
); resultobj
= Py_None
;
16958 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16959 PyObject
*resultobj
;
16960 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16962 PyObject
* obj0
= 0 ;
16963 char *kwnames
[] = {
16964 (char *) "self", NULL
16967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
16968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16969 if (SWIG_arg_fail(1)) SWIG_fail
;
16970 result
= (bool) ((arg1
)->m_leftDown
);
16973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16981 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16982 PyObject
*resultobj
;
16983 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16985 PyObject
* obj0
= 0 ;
16986 PyObject
* obj1
= 0 ;
16987 char *kwnames
[] = {
16988 (char *) "self",(char *) "m_middleDown", NULL
16991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16993 if (SWIG_arg_fail(1)) SWIG_fail
;
16995 arg2
= (bool)(SWIG_As_bool(obj1
));
16996 if (SWIG_arg_fail(2)) SWIG_fail
;
16998 if (arg1
) (arg1
)->m_middleDown
= arg2
;
17000 Py_INCREF(Py_None
); resultobj
= Py_None
;
17007 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17008 PyObject
*resultobj
;
17009 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17011 PyObject
* obj0
= 0 ;
17012 char *kwnames
[] = {
17013 (char *) "self", NULL
17016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
17017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17018 if (SWIG_arg_fail(1)) SWIG_fail
;
17019 result
= (bool) ((arg1
)->m_middleDown
);
17022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17030 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17031 PyObject
*resultobj
;
17032 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17034 PyObject
* obj0
= 0 ;
17035 PyObject
* obj1
= 0 ;
17036 char *kwnames
[] = {
17037 (char *) "self",(char *) "m_rightDown", NULL
17040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17042 if (SWIG_arg_fail(1)) SWIG_fail
;
17044 arg2
= (bool)(SWIG_As_bool(obj1
));
17045 if (SWIG_arg_fail(2)) SWIG_fail
;
17047 if (arg1
) (arg1
)->m_rightDown
= arg2
;
17049 Py_INCREF(Py_None
); resultobj
= Py_None
;
17056 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17057 PyObject
*resultobj
;
17058 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17060 PyObject
* obj0
= 0 ;
17061 char *kwnames
[] = {
17062 (char *) "self", NULL
17065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
17066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17067 if (SWIG_arg_fail(1)) SWIG_fail
;
17068 result
= (bool) ((arg1
)->m_rightDown
);
17071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17079 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17080 PyObject
*resultobj
;
17081 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17083 PyObject
* obj0
= 0 ;
17084 PyObject
* obj1
= 0 ;
17085 char *kwnames
[] = {
17086 (char *) "self",(char *) "m_controlDown", NULL
17089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17091 if (SWIG_arg_fail(1)) SWIG_fail
;
17093 arg2
= (bool)(SWIG_As_bool(obj1
));
17094 if (SWIG_arg_fail(2)) SWIG_fail
;
17096 if (arg1
) (arg1
)->m_controlDown
= arg2
;
17098 Py_INCREF(Py_None
); resultobj
= Py_None
;
17105 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17106 PyObject
*resultobj
;
17107 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17109 PyObject
* obj0
= 0 ;
17110 char *kwnames
[] = {
17111 (char *) "self", NULL
17114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
17115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17116 if (SWIG_arg_fail(1)) SWIG_fail
;
17117 result
= (bool) ((arg1
)->m_controlDown
);
17120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17128 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17129 PyObject
*resultobj
;
17130 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17132 PyObject
* obj0
= 0 ;
17133 PyObject
* obj1
= 0 ;
17134 char *kwnames
[] = {
17135 (char *) "self",(char *) "m_shiftDown", NULL
17138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17140 if (SWIG_arg_fail(1)) SWIG_fail
;
17142 arg2
= (bool)(SWIG_As_bool(obj1
));
17143 if (SWIG_arg_fail(2)) SWIG_fail
;
17145 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
17147 Py_INCREF(Py_None
); resultobj
= Py_None
;
17154 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17155 PyObject
*resultobj
;
17156 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17158 PyObject
* obj0
= 0 ;
17159 char *kwnames
[] = {
17160 (char *) "self", NULL
17163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
17164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17165 if (SWIG_arg_fail(1)) SWIG_fail
;
17166 result
= (bool) ((arg1
)->m_shiftDown
);
17169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17177 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17178 PyObject
*resultobj
;
17179 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17181 PyObject
* obj0
= 0 ;
17182 PyObject
* obj1
= 0 ;
17183 char *kwnames
[] = {
17184 (char *) "self",(char *) "m_altDown", NULL
17187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17189 if (SWIG_arg_fail(1)) SWIG_fail
;
17191 arg2
= (bool)(SWIG_As_bool(obj1
));
17192 if (SWIG_arg_fail(2)) SWIG_fail
;
17194 if (arg1
) (arg1
)->m_altDown
= arg2
;
17196 Py_INCREF(Py_None
); resultobj
= Py_None
;
17203 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17204 PyObject
*resultobj
;
17205 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17207 PyObject
* obj0
= 0 ;
17208 char *kwnames
[] = {
17209 (char *) "self", NULL
17212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
17213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17214 if (SWIG_arg_fail(1)) SWIG_fail
;
17215 result
= (bool) ((arg1
)->m_altDown
);
17218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17226 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17227 PyObject
*resultobj
;
17228 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17230 PyObject
* obj0
= 0 ;
17231 PyObject
* obj1
= 0 ;
17232 char *kwnames
[] = {
17233 (char *) "self",(char *) "m_metaDown", NULL
17236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17238 if (SWIG_arg_fail(1)) SWIG_fail
;
17240 arg2
= (bool)(SWIG_As_bool(obj1
));
17241 if (SWIG_arg_fail(2)) SWIG_fail
;
17243 if (arg1
) (arg1
)->m_metaDown
= arg2
;
17245 Py_INCREF(Py_None
); resultobj
= Py_None
;
17252 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17253 PyObject
*resultobj
;
17254 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17256 PyObject
* obj0
= 0 ;
17257 char *kwnames
[] = {
17258 (char *) "self", NULL
17261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
17262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17263 if (SWIG_arg_fail(1)) SWIG_fail
;
17264 result
= (bool) ((arg1
)->m_metaDown
);
17267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17275 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17276 PyObject
*resultobj
;
17277 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17279 PyObject
* obj0
= 0 ;
17280 PyObject
* obj1
= 0 ;
17281 char *kwnames
[] = {
17282 (char *) "self",(char *) "m_wheelRotation", NULL
17285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17287 if (SWIG_arg_fail(1)) SWIG_fail
;
17289 arg2
= (int)(SWIG_As_int(obj1
));
17290 if (SWIG_arg_fail(2)) SWIG_fail
;
17292 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
17294 Py_INCREF(Py_None
); resultobj
= Py_None
;
17301 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17302 PyObject
*resultobj
;
17303 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17305 PyObject
* obj0
= 0 ;
17306 char *kwnames
[] = {
17307 (char *) "self", NULL
17310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
17311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17312 if (SWIG_arg_fail(1)) SWIG_fail
;
17313 result
= (int) ((arg1
)->m_wheelRotation
);
17316 resultobj
= SWIG_From_int((int)(result
));
17324 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17325 PyObject
*resultobj
;
17326 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17328 PyObject
* obj0
= 0 ;
17329 PyObject
* obj1
= 0 ;
17330 char *kwnames
[] = {
17331 (char *) "self",(char *) "m_wheelDelta", NULL
17334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17336 if (SWIG_arg_fail(1)) SWIG_fail
;
17338 arg2
= (int)(SWIG_As_int(obj1
));
17339 if (SWIG_arg_fail(2)) SWIG_fail
;
17341 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
17343 Py_INCREF(Py_None
); resultobj
= Py_None
;
17350 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17351 PyObject
*resultobj
;
17352 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17354 PyObject
* obj0
= 0 ;
17355 char *kwnames
[] = {
17356 (char *) "self", NULL
17359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
17360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17361 if (SWIG_arg_fail(1)) SWIG_fail
;
17362 result
= (int) ((arg1
)->m_wheelDelta
);
17365 resultobj
= SWIG_From_int((int)(result
));
17373 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17374 PyObject
*resultobj
;
17375 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17377 PyObject
* obj0
= 0 ;
17378 PyObject
* obj1
= 0 ;
17379 char *kwnames
[] = {
17380 (char *) "self",(char *) "m_linesPerAction", NULL
17383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17385 if (SWIG_arg_fail(1)) SWIG_fail
;
17387 arg2
= (int)(SWIG_As_int(obj1
));
17388 if (SWIG_arg_fail(2)) SWIG_fail
;
17390 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
17392 Py_INCREF(Py_None
); resultobj
= Py_None
;
17399 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17400 PyObject
*resultobj
;
17401 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17403 PyObject
* obj0
= 0 ;
17404 char *kwnames
[] = {
17405 (char *) "self", NULL
17408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
17409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17410 if (SWIG_arg_fail(1)) SWIG_fail
;
17411 result
= (int) ((arg1
)->m_linesPerAction
);
17414 resultobj
= SWIG_From_int((int)(result
));
17422 static PyObject
* MouseEvent_swigregister(PyObject
*, PyObject
*args
) {
17424 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17425 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
17427 return Py_BuildValue((char *)"");
17429 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17430 PyObject
*resultobj
;
17431 int arg1
= (int) 0 ;
17432 int arg2
= (int) 0 ;
17433 wxSetCursorEvent
*result
;
17434 PyObject
* obj0
= 0 ;
17435 PyObject
* obj1
= 0 ;
17436 char *kwnames
[] = {
17437 (char *) "x",(char *) "y", NULL
17440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17443 arg1
= (int)(SWIG_As_int(obj0
));
17444 if (SWIG_arg_fail(1)) SWIG_fail
;
17449 arg2
= (int)(SWIG_As_int(obj1
));
17450 if (SWIG_arg_fail(2)) SWIG_fail
;
17454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17455 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
17457 wxPyEndAllowThreads(__tstate
);
17458 if (PyErr_Occurred()) SWIG_fail
;
17460 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
17467 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17468 PyObject
*resultobj
;
17469 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17471 PyObject
* obj0
= 0 ;
17472 char *kwnames
[] = {
17473 (char *) "self", NULL
17476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
17477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17478 if (SWIG_arg_fail(1)) SWIG_fail
;
17480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17481 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
17483 wxPyEndAllowThreads(__tstate
);
17484 if (PyErr_Occurred()) SWIG_fail
;
17487 resultobj
= SWIG_From_int((int)(result
));
17495 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17496 PyObject
*resultobj
;
17497 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17499 PyObject
* obj0
= 0 ;
17500 char *kwnames
[] = {
17501 (char *) "self", NULL
17504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
17505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17506 if (SWIG_arg_fail(1)) SWIG_fail
;
17508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17509 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
17511 wxPyEndAllowThreads(__tstate
);
17512 if (PyErr_Occurred()) SWIG_fail
;
17515 resultobj
= SWIG_From_int((int)(result
));
17523 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17524 PyObject
*resultobj
;
17525 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17526 wxCursor
*arg2
= 0 ;
17527 PyObject
* obj0
= 0 ;
17528 PyObject
* obj1
= 0 ;
17529 char *kwnames
[] = {
17530 (char *) "self",(char *) "cursor", NULL
17533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
17534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17535 if (SWIG_arg_fail(1)) SWIG_fail
;
17537 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
17538 if (SWIG_arg_fail(2)) SWIG_fail
;
17539 if (arg2
== NULL
) {
17540 SWIG_null_ref("wxCursor");
17542 if (SWIG_arg_fail(2)) SWIG_fail
;
17545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17546 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
17548 wxPyEndAllowThreads(__tstate
);
17549 if (PyErr_Occurred()) SWIG_fail
;
17551 Py_INCREF(Py_None
); resultobj
= Py_None
;
17558 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17559 PyObject
*resultobj
;
17560 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17562 PyObject
* obj0
= 0 ;
17563 char *kwnames
[] = {
17564 (char *) "self", NULL
17567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
17568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17569 if (SWIG_arg_fail(1)) SWIG_fail
;
17571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17573 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
17574 result
= (wxCursor
*) &_result_ref
;
17577 wxPyEndAllowThreads(__tstate
);
17578 if (PyErr_Occurred()) SWIG_fail
;
17581 wxCursor
* resultptr
= new wxCursor(*result
);
17582 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
17590 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17591 PyObject
*resultobj
;
17592 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17594 PyObject
* obj0
= 0 ;
17595 char *kwnames
[] = {
17596 (char *) "self", NULL
17599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
17600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17601 if (SWIG_arg_fail(1)) SWIG_fail
;
17603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17604 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
17606 wxPyEndAllowThreads(__tstate
);
17607 if (PyErr_Occurred()) SWIG_fail
;
17610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17618 static PyObject
* SetCursorEvent_swigregister(PyObject
*, PyObject
*args
) {
17620 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17621 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
17623 return Py_BuildValue((char *)"");
17625 static PyObject
*_wrap_new_KeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17626 PyObject
*resultobj
;
17627 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17628 wxKeyEvent
*result
;
17629 PyObject
* obj0
= 0 ;
17630 char *kwnames
[] = {
17631 (char *) "keyType", NULL
17634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
17637 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17638 if (SWIG_arg_fail(1)) SWIG_fail
;
17642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17643 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
17645 wxPyEndAllowThreads(__tstate
);
17646 if (PyErr_Occurred()) SWIG_fail
;
17648 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
17655 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17656 PyObject
*resultobj
;
17657 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17659 PyObject
* obj0
= 0 ;
17660 char *kwnames
[] = {
17661 (char *) "self", NULL
17664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
17665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17666 if (SWIG_arg_fail(1)) SWIG_fail
;
17668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17669 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
17671 wxPyEndAllowThreads(__tstate
);
17672 if (PyErr_Occurred()) SWIG_fail
;
17675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17683 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17684 PyObject
*resultobj
;
17685 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17687 PyObject
* obj0
= 0 ;
17688 char *kwnames
[] = {
17689 (char *) "self", NULL
17692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
17693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17694 if (SWIG_arg_fail(1)) SWIG_fail
;
17696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17697 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
17699 wxPyEndAllowThreads(__tstate
);
17700 if (PyErr_Occurred()) SWIG_fail
;
17703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17711 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17712 PyObject
*resultobj
;
17713 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17715 PyObject
* obj0
= 0 ;
17716 char *kwnames
[] = {
17717 (char *) "self", NULL
17720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
17721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17722 if (SWIG_arg_fail(1)) SWIG_fail
;
17724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17725 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
17727 wxPyEndAllowThreads(__tstate
);
17728 if (PyErr_Occurred()) SWIG_fail
;
17731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17739 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17740 PyObject
*resultobj
;
17741 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17743 PyObject
* obj0
= 0 ;
17744 char *kwnames
[] = {
17745 (char *) "self", NULL
17748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
17749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17750 if (SWIG_arg_fail(1)) SWIG_fail
;
17752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17753 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
17755 wxPyEndAllowThreads(__tstate
);
17756 if (PyErr_Occurred()) SWIG_fail
;
17759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17767 static PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17768 PyObject
*resultobj
;
17769 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17771 PyObject
* obj0
= 0 ;
17772 char *kwnames
[] = {
17773 (char *) "self", NULL
17776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
17777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17778 if (SWIG_arg_fail(1)) SWIG_fail
;
17780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17781 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
17783 wxPyEndAllowThreads(__tstate
);
17784 if (PyErr_Occurred()) SWIG_fail
;
17787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17795 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17796 PyObject
*resultobj
;
17797 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17799 PyObject
* obj0
= 0 ;
17800 char *kwnames
[] = {
17801 (char *) "self", NULL
17804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
17805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17806 if (SWIG_arg_fail(1)) SWIG_fail
;
17808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17809 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
17811 wxPyEndAllowThreads(__tstate
);
17812 if (PyErr_Occurred()) SWIG_fail
;
17815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17823 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17824 PyObject
*resultobj
;
17825 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17827 PyObject
* obj0
= 0 ;
17828 char *kwnames
[] = {
17829 (char *) "self", NULL
17832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
17833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17834 if (SWIG_arg_fail(1)) SWIG_fail
;
17836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17837 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
17839 wxPyEndAllowThreads(__tstate
);
17840 if (PyErr_Occurred()) SWIG_fail
;
17843 resultobj
= SWIG_From_int((int)(result
));
17851 static PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17852 PyObject
*resultobj
;
17853 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17855 PyObject
* obj0
= 0 ;
17856 char *kwnames
[] = {
17857 (char *) "self", NULL
17860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
17861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17862 if (SWIG_arg_fail(1)) SWIG_fail
;
17864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17865 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
17867 wxPyEndAllowThreads(__tstate
);
17868 if (PyErr_Occurred()) SWIG_fail
;
17871 resultobj
= SWIG_From_int((int)(result
));
17879 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17880 PyObject
*resultobj
;
17881 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17882 unsigned int result
;
17883 PyObject
* obj0
= 0 ;
17884 char *kwnames
[] = {
17885 (char *) "self", NULL
17888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
17889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17890 if (SWIG_arg_fail(1)) SWIG_fail
;
17892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17893 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
17895 wxPyEndAllowThreads(__tstate
);
17896 if (PyErr_Occurred()) SWIG_fail
;
17899 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
17907 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17908 PyObject
*resultobj
;
17909 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17910 unsigned int result
;
17911 PyObject
* obj0
= 0 ;
17912 char *kwnames
[] = {
17913 (char *) "self", NULL
17916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
17917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17918 if (SWIG_arg_fail(1)) SWIG_fail
;
17920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17921 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
17923 wxPyEndAllowThreads(__tstate
);
17924 if (PyErr_Occurred()) SWIG_fail
;
17927 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
17935 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17936 PyObject
*resultobj
;
17937 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17939 PyObject
* obj0
= 0 ;
17940 char *kwnames
[] = {
17941 (char *) "self", NULL
17944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17946 if (SWIG_arg_fail(1)) SWIG_fail
;
17948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17949 result
= (arg1
)->GetPosition();
17951 wxPyEndAllowThreads(__tstate
);
17952 if (PyErr_Occurred()) SWIG_fail
;
17955 wxPoint
* resultptr
;
17956 resultptr
= new wxPoint((wxPoint
&)(result
));
17957 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17965 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17966 PyObject
*resultobj
;
17967 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17968 long *arg2
= (long *) 0 ;
17969 long *arg3
= (long *) 0 ;
17974 PyObject
* obj0
= 0 ;
17975 char *kwnames
[] = {
17976 (char *) "self", NULL
17979 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17980 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
17982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17983 if (SWIG_arg_fail(1)) SWIG_fail
;
17985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17986 (arg1
)->GetPosition(arg2
,arg3
);
17988 wxPyEndAllowThreads(__tstate
);
17989 if (PyErr_Occurred()) SWIG_fail
;
17991 Py_INCREF(Py_None
); resultobj
= Py_None
;
17992 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17993 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
17994 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17995 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
18002 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18003 PyObject
*resultobj
;
18004 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18006 PyObject
* obj0
= 0 ;
18007 char *kwnames
[] = {
18008 (char *) "self", NULL
18011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
18012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18013 if (SWIG_arg_fail(1)) SWIG_fail
;
18015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18016 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
18018 wxPyEndAllowThreads(__tstate
);
18019 if (PyErr_Occurred()) SWIG_fail
;
18022 resultobj
= SWIG_From_int((int)(result
));
18030 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18031 PyObject
*resultobj
;
18032 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18034 PyObject
* obj0
= 0 ;
18035 char *kwnames
[] = {
18036 (char *) "self", NULL
18039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
18040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18041 if (SWIG_arg_fail(1)) SWIG_fail
;
18043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18044 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
18046 wxPyEndAllowThreads(__tstate
);
18047 if (PyErr_Occurred()) SWIG_fail
;
18050 resultobj
= SWIG_From_int((int)(result
));
18058 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18059 PyObject
*resultobj
;
18060 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18062 PyObject
* obj0
= 0 ;
18063 PyObject
* obj1
= 0 ;
18064 char *kwnames
[] = {
18065 (char *) "self",(char *) "m_x", NULL
18068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18070 if (SWIG_arg_fail(1)) SWIG_fail
;
18072 arg2
= (int)(SWIG_As_int(obj1
));
18073 if (SWIG_arg_fail(2)) SWIG_fail
;
18075 if (arg1
) (arg1
)->m_x
= arg2
;
18077 Py_INCREF(Py_None
); resultobj
= Py_None
;
18084 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18085 PyObject
*resultobj
;
18086 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18088 PyObject
* obj0
= 0 ;
18089 char *kwnames
[] = {
18090 (char *) "self", NULL
18093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
18094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18095 if (SWIG_arg_fail(1)) SWIG_fail
;
18096 result
= (int) ((arg1
)->m_x
);
18099 resultobj
= SWIG_From_int((int)(result
));
18107 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18108 PyObject
*resultobj
;
18109 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18111 PyObject
* obj0
= 0 ;
18112 PyObject
* obj1
= 0 ;
18113 char *kwnames
[] = {
18114 (char *) "self",(char *) "m_y", NULL
18117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18119 if (SWIG_arg_fail(1)) SWIG_fail
;
18121 arg2
= (int)(SWIG_As_int(obj1
));
18122 if (SWIG_arg_fail(2)) SWIG_fail
;
18124 if (arg1
) (arg1
)->m_y
= arg2
;
18126 Py_INCREF(Py_None
); resultobj
= Py_None
;
18133 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18134 PyObject
*resultobj
;
18135 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18137 PyObject
* obj0
= 0 ;
18138 char *kwnames
[] = {
18139 (char *) "self", NULL
18142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
18143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18144 if (SWIG_arg_fail(1)) SWIG_fail
;
18145 result
= (int) ((arg1
)->m_y
);
18148 resultobj
= SWIG_From_int((int)(result
));
18156 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18157 PyObject
*resultobj
;
18158 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18160 PyObject
* obj0
= 0 ;
18161 PyObject
* obj1
= 0 ;
18162 char *kwnames
[] = {
18163 (char *) "self",(char *) "m_keyCode", NULL
18166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18168 if (SWIG_arg_fail(1)) SWIG_fail
;
18170 arg2
= (long)(SWIG_As_long(obj1
));
18171 if (SWIG_arg_fail(2)) SWIG_fail
;
18173 if (arg1
) (arg1
)->m_keyCode
= arg2
;
18175 Py_INCREF(Py_None
); resultobj
= Py_None
;
18182 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18183 PyObject
*resultobj
;
18184 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18186 PyObject
* obj0
= 0 ;
18187 char *kwnames
[] = {
18188 (char *) "self", NULL
18191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
18192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18193 if (SWIG_arg_fail(1)) SWIG_fail
;
18194 result
= (long) ((arg1
)->m_keyCode
);
18197 resultobj
= SWIG_From_long((long)(result
));
18205 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18206 PyObject
*resultobj
;
18207 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18209 PyObject
* obj0
= 0 ;
18210 PyObject
* obj1
= 0 ;
18211 char *kwnames
[] = {
18212 (char *) "self",(char *) "m_controlDown", NULL
18215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18217 if (SWIG_arg_fail(1)) SWIG_fail
;
18219 arg2
= (bool)(SWIG_As_bool(obj1
));
18220 if (SWIG_arg_fail(2)) SWIG_fail
;
18222 if (arg1
) (arg1
)->m_controlDown
= arg2
;
18224 Py_INCREF(Py_None
); resultobj
= Py_None
;
18231 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18232 PyObject
*resultobj
;
18233 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18235 PyObject
* obj0
= 0 ;
18236 char *kwnames
[] = {
18237 (char *) "self", NULL
18240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
18241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18242 if (SWIG_arg_fail(1)) SWIG_fail
;
18243 result
= (bool) ((arg1
)->m_controlDown
);
18246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18254 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18255 PyObject
*resultobj
;
18256 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18258 PyObject
* obj0
= 0 ;
18259 PyObject
* obj1
= 0 ;
18260 char *kwnames
[] = {
18261 (char *) "self",(char *) "m_shiftDown", NULL
18264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18266 if (SWIG_arg_fail(1)) SWIG_fail
;
18268 arg2
= (bool)(SWIG_As_bool(obj1
));
18269 if (SWIG_arg_fail(2)) SWIG_fail
;
18271 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
18273 Py_INCREF(Py_None
); resultobj
= Py_None
;
18280 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18281 PyObject
*resultobj
;
18282 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18284 PyObject
* obj0
= 0 ;
18285 char *kwnames
[] = {
18286 (char *) "self", NULL
18289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
18290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18291 if (SWIG_arg_fail(1)) SWIG_fail
;
18292 result
= (bool) ((arg1
)->m_shiftDown
);
18295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18303 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18304 PyObject
*resultobj
;
18305 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18307 PyObject
* obj0
= 0 ;
18308 PyObject
* obj1
= 0 ;
18309 char *kwnames
[] = {
18310 (char *) "self",(char *) "m_altDown", NULL
18313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18315 if (SWIG_arg_fail(1)) SWIG_fail
;
18317 arg2
= (bool)(SWIG_As_bool(obj1
));
18318 if (SWIG_arg_fail(2)) SWIG_fail
;
18320 if (arg1
) (arg1
)->m_altDown
= arg2
;
18322 Py_INCREF(Py_None
); resultobj
= Py_None
;
18329 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18330 PyObject
*resultobj
;
18331 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18333 PyObject
* obj0
= 0 ;
18334 char *kwnames
[] = {
18335 (char *) "self", NULL
18338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
18339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18340 if (SWIG_arg_fail(1)) SWIG_fail
;
18341 result
= (bool) ((arg1
)->m_altDown
);
18344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18352 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18353 PyObject
*resultobj
;
18354 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18356 PyObject
* obj0
= 0 ;
18357 PyObject
* obj1
= 0 ;
18358 char *kwnames
[] = {
18359 (char *) "self",(char *) "m_metaDown", NULL
18362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18364 if (SWIG_arg_fail(1)) SWIG_fail
;
18366 arg2
= (bool)(SWIG_As_bool(obj1
));
18367 if (SWIG_arg_fail(2)) SWIG_fail
;
18369 if (arg1
) (arg1
)->m_metaDown
= arg2
;
18371 Py_INCREF(Py_None
); resultobj
= Py_None
;
18378 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18379 PyObject
*resultobj
;
18380 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18382 PyObject
* obj0
= 0 ;
18383 char *kwnames
[] = {
18384 (char *) "self", NULL
18387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
18388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18389 if (SWIG_arg_fail(1)) SWIG_fail
;
18390 result
= (bool) ((arg1
)->m_metaDown
);
18393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18401 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18402 PyObject
*resultobj
;
18403 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18405 PyObject
* obj0
= 0 ;
18406 PyObject
* obj1
= 0 ;
18407 char *kwnames
[] = {
18408 (char *) "self",(char *) "m_scanCode", NULL
18411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18413 if (SWIG_arg_fail(1)) SWIG_fail
;
18415 arg2
= (bool)(SWIG_As_bool(obj1
));
18416 if (SWIG_arg_fail(2)) SWIG_fail
;
18418 if (arg1
) (arg1
)->m_scanCode
= arg2
;
18420 Py_INCREF(Py_None
); resultobj
= Py_None
;
18427 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18428 PyObject
*resultobj
;
18429 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18431 PyObject
* obj0
= 0 ;
18432 char *kwnames
[] = {
18433 (char *) "self", NULL
18436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
18437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18438 if (SWIG_arg_fail(1)) SWIG_fail
;
18439 result
= (bool) ((arg1
)->m_scanCode
);
18442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18450 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18451 PyObject
*resultobj
;
18452 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18453 unsigned int arg2
;
18454 PyObject
* obj0
= 0 ;
18455 PyObject
* obj1
= 0 ;
18456 char *kwnames
[] = {
18457 (char *) "self",(char *) "m_rawCode", NULL
18460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18462 if (SWIG_arg_fail(1)) SWIG_fail
;
18464 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
18465 if (SWIG_arg_fail(2)) SWIG_fail
;
18467 if (arg1
) (arg1
)->m_rawCode
= arg2
;
18469 Py_INCREF(Py_None
); resultobj
= Py_None
;
18476 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18477 PyObject
*resultobj
;
18478 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18479 unsigned int result
;
18480 PyObject
* obj0
= 0 ;
18481 char *kwnames
[] = {
18482 (char *) "self", NULL
18485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
18486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18487 if (SWIG_arg_fail(1)) SWIG_fail
;
18488 result
= (unsigned int) ((arg1
)->m_rawCode
);
18491 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18499 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18500 PyObject
*resultobj
;
18501 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18502 unsigned int arg2
;
18503 PyObject
* obj0
= 0 ;
18504 PyObject
* obj1
= 0 ;
18505 char *kwnames
[] = {
18506 (char *) "self",(char *) "m_rawFlags", NULL
18509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18511 if (SWIG_arg_fail(1)) SWIG_fail
;
18513 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
18514 if (SWIG_arg_fail(2)) SWIG_fail
;
18516 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
18518 Py_INCREF(Py_None
); resultobj
= Py_None
;
18525 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18526 PyObject
*resultobj
;
18527 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18528 unsigned int result
;
18529 PyObject
* obj0
= 0 ;
18530 char *kwnames
[] = {
18531 (char *) "self", NULL
18534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
18535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18536 if (SWIG_arg_fail(1)) SWIG_fail
;
18537 result
= (unsigned int) ((arg1
)->m_rawFlags
);
18540 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18548 static PyObject
* KeyEvent_swigregister(PyObject
*, PyObject
*args
) {
18550 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18551 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
18553 return Py_BuildValue((char *)"");
18555 static PyObject
*_wrap_new_SizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18556 PyObject
*resultobj
;
18557 wxSize
const &arg1_defvalue
= wxDefaultSize
;
18558 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
18559 int arg2
= (int) 0 ;
18560 wxSizeEvent
*result
;
18562 PyObject
* obj0
= 0 ;
18563 PyObject
* obj1
= 0 ;
18564 char *kwnames
[] = {
18565 (char *) "sz",(char *) "winid", NULL
18568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18572 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
18577 arg2
= (int)(SWIG_As_int(obj1
));
18578 if (SWIG_arg_fail(2)) SWIG_fail
;
18582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18583 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
18585 wxPyEndAllowThreads(__tstate
);
18586 if (PyErr_Occurred()) SWIG_fail
;
18588 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
18595 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18596 PyObject
*resultobj
;
18597 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18599 PyObject
* obj0
= 0 ;
18600 char *kwnames
[] = {
18601 (char *) "self", NULL
18604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
18605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18606 if (SWIG_arg_fail(1)) SWIG_fail
;
18608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18609 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
18611 wxPyEndAllowThreads(__tstate
);
18612 if (PyErr_Occurred()) SWIG_fail
;
18615 wxSize
* resultptr
;
18616 resultptr
= new wxSize((wxSize
&)(result
));
18617 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18625 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18626 PyObject
*resultobj
;
18627 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18629 PyObject
* obj0
= 0 ;
18630 char *kwnames
[] = {
18631 (char *) "self", NULL
18634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
18635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18636 if (SWIG_arg_fail(1)) SWIG_fail
;
18638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18639 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
18641 wxPyEndAllowThreads(__tstate
);
18642 if (PyErr_Occurred()) SWIG_fail
;
18645 wxRect
* resultptr
;
18646 resultptr
= new wxRect((wxRect
&)(result
));
18647 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
18655 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18656 PyObject
*resultobj
;
18657 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18659 PyObject
* obj0
= 0 ;
18660 PyObject
* obj1
= 0 ;
18661 char *kwnames
[] = {
18662 (char *) "self",(char *) "rect", NULL
18665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
18666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18667 if (SWIG_arg_fail(1)) SWIG_fail
;
18670 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
);
18671 if (SWIG_arg_fail(2)) SWIG_fail
;
18672 if (argp
== NULL
) {
18673 SWIG_null_ref("wxRect");
18675 if (SWIG_arg_fail(2)) SWIG_fail
;
18679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18680 (arg1
)->SetRect(arg2
);
18682 wxPyEndAllowThreads(__tstate
);
18683 if (PyErr_Occurred()) SWIG_fail
;
18685 Py_INCREF(Py_None
); resultobj
= Py_None
;
18692 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18693 PyObject
*resultobj
;
18694 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18696 PyObject
* obj0
= 0 ;
18697 PyObject
* obj1
= 0 ;
18698 char *kwnames
[] = {
18699 (char *) "self",(char *) "size", NULL
18702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18704 if (SWIG_arg_fail(1)) SWIG_fail
;
18707 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
18708 if (SWIG_arg_fail(2)) SWIG_fail
;
18709 if (argp
== NULL
) {
18710 SWIG_null_ref("wxSize");
18712 if (SWIG_arg_fail(2)) SWIG_fail
;
18716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18717 wxSizeEvent_SetSize(arg1
,arg2
);
18719 wxPyEndAllowThreads(__tstate
);
18720 if (PyErr_Occurred()) SWIG_fail
;
18722 Py_INCREF(Py_None
); resultobj
= Py_None
;
18729 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18730 PyObject
*resultobj
;
18731 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18732 wxSize
*arg2
= (wxSize
*) 0 ;
18733 PyObject
* obj0
= 0 ;
18734 PyObject
* obj1
= 0 ;
18735 char *kwnames
[] = {
18736 (char *) "self",(char *) "m_size", NULL
18739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18741 if (SWIG_arg_fail(1)) SWIG_fail
;
18742 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
18743 if (SWIG_arg_fail(2)) SWIG_fail
;
18744 if (arg1
) (arg1
)->m_size
= *arg2
;
18746 Py_INCREF(Py_None
); resultobj
= Py_None
;
18753 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18754 PyObject
*resultobj
;
18755 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18757 PyObject
* obj0
= 0 ;
18758 char *kwnames
[] = {
18759 (char *) "self", NULL
18762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
18763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18764 if (SWIG_arg_fail(1)) SWIG_fail
;
18765 result
= (wxSize
*)& ((arg1
)->m_size
);
18767 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
18774 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18775 PyObject
*resultobj
;
18776 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18777 wxRect
*arg2
= (wxRect
*) 0 ;
18778 PyObject
* obj0
= 0 ;
18779 PyObject
* obj1
= 0 ;
18780 char *kwnames
[] = {
18781 (char *) "self",(char *) "m_rect", NULL
18784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18786 if (SWIG_arg_fail(1)) SWIG_fail
;
18787 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
18788 if (SWIG_arg_fail(2)) SWIG_fail
;
18789 if (arg1
) (arg1
)->m_rect
= *arg2
;
18791 Py_INCREF(Py_None
); resultobj
= Py_None
;
18798 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18799 PyObject
*resultobj
;
18800 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18802 PyObject
* obj0
= 0 ;
18803 char *kwnames
[] = {
18804 (char *) "self", NULL
18807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
18808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18809 if (SWIG_arg_fail(1)) SWIG_fail
;
18810 result
= (wxRect
*)& ((arg1
)->m_rect
);
18812 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
18819 static PyObject
* SizeEvent_swigregister(PyObject
*, PyObject
*args
) {
18821 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18822 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
18824 return Py_BuildValue((char *)"");
18826 static PyObject
*_wrap_new_MoveEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18827 PyObject
*resultobj
;
18828 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
18829 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
18830 int arg2
= (int) 0 ;
18831 wxMoveEvent
*result
;
18833 PyObject
* obj0
= 0 ;
18834 PyObject
* obj1
= 0 ;
18835 char *kwnames
[] = {
18836 (char *) "pos",(char *) "winid", NULL
18839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18843 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
18848 arg2
= (int)(SWIG_As_int(obj1
));
18849 if (SWIG_arg_fail(2)) SWIG_fail
;
18853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18854 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
18856 wxPyEndAllowThreads(__tstate
);
18857 if (PyErr_Occurred()) SWIG_fail
;
18859 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
18866 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18867 PyObject
*resultobj
;
18868 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
18870 PyObject
* obj0
= 0 ;
18871 char *kwnames
[] = {
18872 (char *) "self", NULL
18875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
18877 if (SWIG_arg_fail(1)) SWIG_fail
;
18879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18880 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
18882 wxPyEndAllowThreads(__tstate
);
18883 if (PyErr_Occurred()) SWIG_fail
;
18886 wxPoint
* resultptr
;
18887 resultptr
= new wxPoint((wxPoint
&)(result
));
18888 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18896 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18897 PyObject
*resultobj
;
18898 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
18900 PyObject
* obj0
= 0 ;
18901 char *kwnames
[] = {
18902 (char *) "self", NULL
18905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
18906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
18907 if (SWIG_arg_fail(1)) SWIG_fail
;
18909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18910 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
18912 wxPyEndAllowThreads(__tstate
);
18913 if (PyErr_Occurred()) SWIG_fail
;
18916 wxRect
* resultptr
;
18917 resultptr
= new wxRect((wxRect
&)(result
));
18918 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
18926 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18927 PyObject
*resultobj
;
18928 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
18930 PyObject
* obj0
= 0 ;
18931 PyObject
* obj1
= 0 ;
18932 char *kwnames
[] = {
18933 (char *) "self",(char *) "rect", NULL
18936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
18937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
18938 if (SWIG_arg_fail(1)) SWIG_fail
;
18941 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
);
18942 if (SWIG_arg_fail(2)) SWIG_fail
;
18943 if (argp
== NULL
) {
18944 SWIG_null_ref("wxRect");
18946 if (SWIG_arg_fail(2)) SWIG_fail
;
18950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18951 (arg1
)->SetRect(arg2
);
18953 wxPyEndAllowThreads(__tstate
);
18954 if (PyErr_Occurred()) SWIG_fail
;
18956 Py_INCREF(Py_None
); resultobj
= Py_None
;
18963 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18964 PyObject
*resultobj
;
18965 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
18967 PyObject
* obj0
= 0 ;
18968 PyObject
* obj1
= 0 ;
18969 char *kwnames
[] = {
18970 (char *) "self",(char *) "pos", NULL
18973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
18974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
18975 if (SWIG_arg_fail(1)) SWIG_fail
;
18978 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
);
18979 if (SWIG_arg_fail(2)) SWIG_fail
;
18980 if (argp
== NULL
) {
18981 SWIG_null_ref("wxPoint");
18983 if (SWIG_arg_fail(2)) SWIG_fail
;
18987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18988 wxMoveEvent_SetPosition(arg1
,arg2
);
18990 wxPyEndAllowThreads(__tstate
);
18991 if (PyErr_Occurred()) SWIG_fail
;
18993 Py_INCREF(Py_None
); resultobj
= Py_None
;
19000 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19001 PyObject
*resultobj
;
19002 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19003 wxPoint
*arg2
= (wxPoint
*) 0 ;
19004 PyObject
* obj0
= 0 ;
19005 PyObject
* obj1
= 0 ;
19006 char *kwnames
[] = {
19007 (char *) "self",(char *) "m_pos", NULL
19010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19012 if (SWIG_arg_fail(1)) SWIG_fail
;
19013 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
19014 if (SWIG_arg_fail(2)) SWIG_fail
;
19015 if (arg1
) (arg1
)->m_pos
= *arg2
;
19017 Py_INCREF(Py_None
); resultobj
= Py_None
;
19024 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19025 PyObject
*resultobj
;
19026 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19028 PyObject
* obj0
= 0 ;
19029 char *kwnames
[] = {
19030 (char *) "self", NULL
19033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
19034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19035 if (SWIG_arg_fail(1)) SWIG_fail
;
19036 result
= (wxPoint
*)& ((arg1
)->m_pos
);
19038 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
19045 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19046 PyObject
*resultobj
;
19047 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19048 wxRect
*arg2
= (wxRect
*) 0 ;
19049 PyObject
* obj0
= 0 ;
19050 PyObject
* obj1
= 0 ;
19051 char *kwnames
[] = {
19052 (char *) "self",(char *) "m_rect", NULL
19055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19057 if (SWIG_arg_fail(1)) SWIG_fail
;
19058 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
19059 if (SWIG_arg_fail(2)) SWIG_fail
;
19060 if (arg1
) (arg1
)->m_rect
= *arg2
;
19062 Py_INCREF(Py_None
); resultobj
= Py_None
;
19069 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19070 PyObject
*resultobj
;
19071 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19073 PyObject
* obj0
= 0 ;
19074 char *kwnames
[] = {
19075 (char *) "self", NULL
19078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
19079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19080 if (SWIG_arg_fail(1)) SWIG_fail
;
19081 result
= (wxRect
*)& ((arg1
)->m_rect
);
19083 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
19090 static PyObject
* MoveEvent_swigregister(PyObject
*, PyObject
*args
) {
19092 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19093 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
19095 return Py_BuildValue((char *)"");
19097 static PyObject
*_wrap_new_PaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19098 PyObject
*resultobj
;
19099 int arg1
= (int) 0 ;
19100 wxPaintEvent
*result
;
19101 PyObject
* obj0
= 0 ;
19102 char *kwnames
[] = {
19103 (char *) "Id", NULL
19106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
19109 arg1
= (int)(SWIG_As_int(obj0
));
19110 if (SWIG_arg_fail(1)) SWIG_fail
;
19114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19115 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
19117 wxPyEndAllowThreads(__tstate
);
19118 if (PyErr_Occurred()) SWIG_fail
;
19120 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
19127 static PyObject
* PaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19129 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19130 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
19132 return Py_BuildValue((char *)"");
19134 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19135 PyObject
*resultobj
;
19136 int arg1
= (int) 0 ;
19137 wxNcPaintEvent
*result
;
19138 PyObject
* obj0
= 0 ;
19139 char *kwnames
[] = {
19140 (char *) "winid", NULL
19143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
19146 arg1
= (int)(SWIG_As_int(obj0
));
19147 if (SWIG_arg_fail(1)) SWIG_fail
;
19151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19152 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
19154 wxPyEndAllowThreads(__tstate
);
19155 if (PyErr_Occurred()) SWIG_fail
;
19157 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
19164 static PyObject
* NcPaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19166 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19167 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
19169 return Py_BuildValue((char *)"");
19171 static PyObject
*_wrap_new_EraseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19172 PyObject
*resultobj
;
19173 int arg1
= (int) 0 ;
19174 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
19175 wxEraseEvent
*result
;
19176 PyObject
* obj0
= 0 ;
19177 PyObject
* obj1
= 0 ;
19178 char *kwnames
[] = {
19179 (char *) "Id",(char *) "dc", NULL
19182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19185 arg1
= (int)(SWIG_As_int(obj0
));
19186 if (SWIG_arg_fail(1)) SWIG_fail
;
19190 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
19191 if (SWIG_arg_fail(2)) SWIG_fail
;
19194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19195 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
19197 wxPyEndAllowThreads(__tstate
);
19198 if (PyErr_Occurred()) SWIG_fail
;
19200 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
19207 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19208 PyObject
*resultobj
;
19209 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
19211 PyObject
* obj0
= 0 ;
19212 char *kwnames
[] = {
19213 (char *) "self", NULL
19216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
19217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEraseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19218 if (SWIG_arg_fail(1)) SWIG_fail
;
19220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19221 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
19223 wxPyEndAllowThreads(__tstate
);
19224 if (PyErr_Occurred()) SWIG_fail
;
19227 resultobj
= wxPyMake_wxObject(result
, 0);
19235 static PyObject
* EraseEvent_swigregister(PyObject
*, PyObject
*args
) {
19237 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19238 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
19240 return Py_BuildValue((char *)"");
19242 static PyObject
*_wrap_new_FocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19243 PyObject
*resultobj
;
19244 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19245 int arg2
= (int) 0 ;
19246 wxFocusEvent
*result
;
19247 PyObject
* obj0
= 0 ;
19248 PyObject
* obj1
= 0 ;
19249 char *kwnames
[] = {
19250 (char *) "type",(char *) "winid", NULL
19253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19256 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19257 if (SWIG_arg_fail(1)) SWIG_fail
;
19262 arg2
= (int)(SWIG_As_int(obj1
));
19263 if (SWIG_arg_fail(2)) SWIG_fail
;
19267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19268 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
19270 wxPyEndAllowThreads(__tstate
);
19271 if (PyErr_Occurred()) SWIG_fail
;
19273 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
19280 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19281 PyObject
*resultobj
;
19282 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19284 PyObject
* obj0
= 0 ;
19285 char *kwnames
[] = {
19286 (char *) "self", NULL
19289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19291 if (SWIG_arg_fail(1)) SWIG_fail
;
19293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19294 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
19296 wxPyEndAllowThreads(__tstate
);
19297 if (PyErr_Occurred()) SWIG_fail
;
19300 resultobj
= wxPyMake_wxObject(result
, 0);
19308 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19309 PyObject
*resultobj
;
19310 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19311 wxWindow
*arg2
= (wxWindow
*) 0 ;
19312 PyObject
* obj0
= 0 ;
19313 PyObject
* obj1
= 0 ;
19314 char *kwnames
[] = {
19315 (char *) "self",(char *) "win", NULL
19318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
19319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19320 if (SWIG_arg_fail(1)) SWIG_fail
;
19321 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19322 if (SWIG_arg_fail(2)) SWIG_fail
;
19324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19325 (arg1
)->SetWindow(arg2
);
19327 wxPyEndAllowThreads(__tstate
);
19328 if (PyErr_Occurred()) SWIG_fail
;
19330 Py_INCREF(Py_None
); resultobj
= Py_None
;
19337 static PyObject
* FocusEvent_swigregister(PyObject
*, PyObject
*args
) {
19339 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19340 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
19342 return Py_BuildValue((char *)"");
19344 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19345 PyObject
*resultobj
;
19346 wxWindow
*arg1
= (wxWindow
*) NULL
;
19347 wxChildFocusEvent
*result
;
19348 PyObject
* obj0
= 0 ;
19349 char *kwnames
[] = {
19350 (char *) "win", NULL
19353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
19355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19356 if (SWIG_arg_fail(1)) SWIG_fail
;
19359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19360 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
19362 wxPyEndAllowThreads(__tstate
);
19363 if (PyErr_Occurred()) SWIG_fail
;
19365 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
19372 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19373 PyObject
*resultobj
;
19374 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
19376 PyObject
* obj0
= 0 ;
19377 char *kwnames
[] = {
19378 (char *) "self", NULL
19381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChildFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19383 if (SWIG_arg_fail(1)) SWIG_fail
;
19385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19386 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
19388 wxPyEndAllowThreads(__tstate
);
19389 if (PyErr_Occurred()) SWIG_fail
;
19392 resultobj
= wxPyMake_wxObject(result
, 0);
19400 static PyObject
* ChildFocusEvent_swigregister(PyObject
*, PyObject
*args
) {
19402 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19403 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
19405 return Py_BuildValue((char *)"");
19407 static PyObject
*_wrap_new_ActivateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19408 PyObject
*resultobj
;
19409 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19410 bool arg2
= (bool) true ;
19411 int arg3
= (int) 0 ;
19412 wxActivateEvent
*result
;
19413 PyObject
* obj0
= 0 ;
19414 PyObject
* obj1
= 0 ;
19415 PyObject
* obj2
= 0 ;
19416 char *kwnames
[] = {
19417 (char *) "type",(char *) "active",(char *) "Id", NULL
19420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19423 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19424 if (SWIG_arg_fail(1)) SWIG_fail
;
19429 arg2
= (bool)(SWIG_As_bool(obj1
));
19430 if (SWIG_arg_fail(2)) SWIG_fail
;
19435 arg3
= (int)(SWIG_As_int(obj2
));
19436 if (SWIG_arg_fail(3)) SWIG_fail
;
19440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19441 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
19443 wxPyEndAllowThreads(__tstate
);
19444 if (PyErr_Occurred()) SWIG_fail
;
19446 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
19453 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19454 PyObject
*resultobj
;
19455 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
19457 PyObject
* obj0
= 0 ;
19458 char *kwnames
[] = {
19459 (char *) "self", NULL
19462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
19463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxActivateEvent
, SWIG_POINTER_EXCEPTION
| 0);
19464 if (SWIG_arg_fail(1)) SWIG_fail
;
19466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19467 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
19469 wxPyEndAllowThreads(__tstate
);
19470 if (PyErr_Occurred()) SWIG_fail
;
19473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19481 static PyObject
* ActivateEvent_swigregister(PyObject
*, PyObject
*args
) {
19483 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19484 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
19486 return Py_BuildValue((char *)"");
19488 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19489 PyObject
*resultobj
;
19490 int arg1
= (int) 0 ;
19491 wxInitDialogEvent
*result
;
19492 PyObject
* obj0
= 0 ;
19493 char *kwnames
[] = {
19494 (char *) "Id", NULL
19497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
19500 arg1
= (int)(SWIG_As_int(obj0
));
19501 if (SWIG_arg_fail(1)) SWIG_fail
;
19505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19506 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
19508 wxPyEndAllowThreads(__tstate
);
19509 if (PyErr_Occurred()) SWIG_fail
;
19511 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
19518 static PyObject
* InitDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
19520 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19521 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
19523 return Py_BuildValue((char *)"");
19525 static PyObject
*_wrap_new_MenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19526 PyObject
*resultobj
;
19527 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19528 int arg2
= (int) 0 ;
19529 wxMenu
*arg3
= (wxMenu
*) NULL
;
19530 wxMenuEvent
*result
;
19531 PyObject
* obj0
= 0 ;
19532 PyObject
* obj1
= 0 ;
19533 PyObject
* obj2
= 0 ;
19534 char *kwnames
[] = {
19535 (char *) "type",(char *) "winid",(char *) "menu", NULL
19538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19541 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19542 if (SWIG_arg_fail(1)) SWIG_fail
;
19547 arg2
= (int)(SWIG_As_int(obj1
));
19548 if (SWIG_arg_fail(2)) SWIG_fail
;
19552 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
19553 if (SWIG_arg_fail(3)) SWIG_fail
;
19556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19557 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
19559 wxPyEndAllowThreads(__tstate
);
19560 if (PyErr_Occurred()) SWIG_fail
;
19562 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
19569 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19570 PyObject
*resultobj
;
19571 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
19573 PyObject
* obj0
= 0 ;
19574 char *kwnames
[] = {
19575 (char *) "self", NULL
19578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
19579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
19580 if (SWIG_arg_fail(1)) SWIG_fail
;
19582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19583 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
19585 wxPyEndAllowThreads(__tstate
);
19586 if (PyErr_Occurred()) SWIG_fail
;
19589 resultobj
= SWIG_From_int((int)(result
));
19597 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19598 PyObject
*resultobj
;
19599 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
19601 PyObject
* obj0
= 0 ;
19602 char *kwnames
[] = {
19603 (char *) "self", NULL
19606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
19607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
19608 if (SWIG_arg_fail(1)) SWIG_fail
;
19610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19611 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
19613 wxPyEndAllowThreads(__tstate
);
19614 if (PyErr_Occurred()) SWIG_fail
;
19617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19625 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19626 PyObject
*resultobj
;
19627 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
19629 PyObject
* obj0
= 0 ;
19630 char *kwnames
[] = {
19631 (char *) "self", NULL
19634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
19635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
19636 if (SWIG_arg_fail(1)) SWIG_fail
;
19638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19639 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
19641 wxPyEndAllowThreads(__tstate
);
19642 if (PyErr_Occurred()) SWIG_fail
;
19645 resultobj
= wxPyMake_wxObject(result
, 0);
19653 static PyObject
* MenuEvent_swigregister(PyObject
*, PyObject
*args
) {
19655 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19656 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
19658 return Py_BuildValue((char *)"");
19660 static PyObject
*_wrap_new_CloseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19661 PyObject
*resultobj
;
19662 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19663 int arg2
= (int) 0 ;
19664 wxCloseEvent
*result
;
19665 PyObject
* obj0
= 0 ;
19666 PyObject
* obj1
= 0 ;
19667 char *kwnames
[] = {
19668 (char *) "type",(char *) "winid", NULL
19671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19674 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19675 if (SWIG_arg_fail(1)) SWIG_fail
;
19680 arg2
= (int)(SWIG_As_int(obj1
));
19681 if (SWIG_arg_fail(2)) SWIG_fail
;
19685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19686 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
19688 wxPyEndAllowThreads(__tstate
);
19689 if (PyErr_Occurred()) SWIG_fail
;
19691 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
19698 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19699 PyObject
*resultobj
;
19700 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19702 PyObject
* obj0
= 0 ;
19703 PyObject
* obj1
= 0 ;
19704 char *kwnames
[] = {
19705 (char *) "self",(char *) "logOff", NULL
19708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
19709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19710 if (SWIG_arg_fail(1)) SWIG_fail
;
19712 arg2
= (bool)(SWIG_As_bool(obj1
));
19713 if (SWIG_arg_fail(2)) SWIG_fail
;
19716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19717 (arg1
)->SetLoggingOff(arg2
);
19719 wxPyEndAllowThreads(__tstate
);
19720 if (PyErr_Occurred()) SWIG_fail
;
19722 Py_INCREF(Py_None
); resultobj
= Py_None
;
19729 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19730 PyObject
*resultobj
;
19731 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19733 PyObject
* obj0
= 0 ;
19734 char *kwnames
[] = {
19735 (char *) "self", NULL
19738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
19739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19740 if (SWIG_arg_fail(1)) SWIG_fail
;
19742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19743 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
19745 wxPyEndAllowThreads(__tstate
);
19746 if (PyErr_Occurred()) SWIG_fail
;
19749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19757 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19758 PyObject
*resultobj
;
19759 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19760 bool arg2
= (bool) true ;
19761 PyObject
* obj0
= 0 ;
19762 PyObject
* obj1
= 0 ;
19763 char *kwnames
[] = {
19764 (char *) "self",(char *) "veto", NULL
19767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
19768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19769 if (SWIG_arg_fail(1)) SWIG_fail
;
19772 arg2
= (bool)(SWIG_As_bool(obj1
));
19773 if (SWIG_arg_fail(2)) SWIG_fail
;
19777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19778 (arg1
)->Veto(arg2
);
19780 wxPyEndAllowThreads(__tstate
);
19781 if (PyErr_Occurred()) SWIG_fail
;
19783 Py_INCREF(Py_None
); resultobj
= Py_None
;
19790 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19791 PyObject
*resultobj
;
19792 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19794 PyObject
* obj0
= 0 ;
19795 PyObject
* obj1
= 0 ;
19796 char *kwnames
[] = {
19797 (char *) "self",(char *) "canVeto", NULL
19800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
19801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19802 if (SWIG_arg_fail(1)) SWIG_fail
;
19804 arg2
= (bool)(SWIG_As_bool(obj1
));
19805 if (SWIG_arg_fail(2)) SWIG_fail
;
19808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19809 (arg1
)->SetCanVeto(arg2
);
19811 wxPyEndAllowThreads(__tstate
);
19812 if (PyErr_Occurred()) SWIG_fail
;
19814 Py_INCREF(Py_None
); resultobj
= Py_None
;
19821 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19822 PyObject
*resultobj
;
19823 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19825 PyObject
* obj0
= 0 ;
19826 char *kwnames
[] = {
19827 (char *) "self", NULL
19830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
19831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19832 if (SWIG_arg_fail(1)) SWIG_fail
;
19834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19835 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
19837 wxPyEndAllowThreads(__tstate
);
19838 if (PyErr_Occurred()) SWIG_fail
;
19841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19849 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19850 PyObject
*resultobj
;
19851 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19853 PyObject
* obj0
= 0 ;
19854 char *kwnames
[] = {
19855 (char *) "self", NULL
19858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
19859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19860 if (SWIG_arg_fail(1)) SWIG_fail
;
19862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19863 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
19865 wxPyEndAllowThreads(__tstate
);
19866 if (PyErr_Occurred()) SWIG_fail
;
19869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19877 static PyObject
* CloseEvent_swigregister(PyObject
*, PyObject
*args
) {
19879 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19880 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
19882 return Py_BuildValue((char *)"");
19884 static PyObject
*_wrap_new_ShowEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19885 PyObject
*resultobj
;
19886 int arg1
= (int) 0 ;
19887 bool arg2
= (bool) false ;
19888 wxShowEvent
*result
;
19889 PyObject
* obj0
= 0 ;
19890 PyObject
* obj1
= 0 ;
19891 char *kwnames
[] = {
19892 (char *) "winid",(char *) "show", NULL
19895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19898 arg1
= (int)(SWIG_As_int(obj0
));
19899 if (SWIG_arg_fail(1)) SWIG_fail
;
19904 arg2
= (bool)(SWIG_As_bool(obj1
));
19905 if (SWIG_arg_fail(2)) SWIG_fail
;
19909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19910 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
19912 wxPyEndAllowThreads(__tstate
);
19913 if (PyErr_Occurred()) SWIG_fail
;
19915 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
19922 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19923 PyObject
*resultobj
;
19924 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
19926 PyObject
* obj0
= 0 ;
19927 PyObject
* obj1
= 0 ;
19928 char *kwnames
[] = {
19929 (char *) "self",(char *) "show", NULL
19932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
19933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
19934 if (SWIG_arg_fail(1)) SWIG_fail
;
19936 arg2
= (bool)(SWIG_As_bool(obj1
));
19937 if (SWIG_arg_fail(2)) SWIG_fail
;
19940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19941 (arg1
)->SetShow(arg2
);
19943 wxPyEndAllowThreads(__tstate
);
19944 if (PyErr_Occurred()) SWIG_fail
;
19946 Py_INCREF(Py_None
); resultobj
= Py_None
;
19953 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19954 PyObject
*resultobj
;
19955 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
19957 PyObject
* obj0
= 0 ;
19958 char *kwnames
[] = {
19959 (char *) "self", NULL
19962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
19963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
19964 if (SWIG_arg_fail(1)) SWIG_fail
;
19966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19967 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
19969 wxPyEndAllowThreads(__tstate
);
19970 if (PyErr_Occurred()) SWIG_fail
;
19973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19981 static PyObject
* ShowEvent_swigregister(PyObject
*, PyObject
*args
) {
19983 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19984 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
19986 return Py_BuildValue((char *)"");
19988 static PyObject
*_wrap_new_IconizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19989 PyObject
*resultobj
;
19990 int arg1
= (int) 0 ;
19991 bool arg2
= (bool) true ;
19992 wxIconizeEvent
*result
;
19993 PyObject
* obj0
= 0 ;
19994 PyObject
* obj1
= 0 ;
19995 char *kwnames
[] = {
19996 (char *) "id",(char *) "iconized", NULL
19999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20002 arg1
= (int)(SWIG_As_int(obj0
));
20003 if (SWIG_arg_fail(1)) SWIG_fail
;
20008 arg2
= (bool)(SWIG_As_bool(obj1
));
20009 if (SWIG_arg_fail(2)) SWIG_fail
;
20013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20014 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
20016 wxPyEndAllowThreads(__tstate
);
20017 if (PyErr_Occurred()) SWIG_fail
;
20019 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
20026 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20027 PyObject
*resultobj
;
20028 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
20030 PyObject
* obj0
= 0 ;
20031 char *kwnames
[] = {
20032 (char *) "self", NULL
20035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
20036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
20037 if (SWIG_arg_fail(1)) SWIG_fail
;
20039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20040 result
= (bool)(arg1
)->Iconized();
20042 wxPyEndAllowThreads(__tstate
);
20043 if (PyErr_Occurred()) SWIG_fail
;
20046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20054 static PyObject
* IconizeEvent_swigregister(PyObject
*, PyObject
*args
) {
20056 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20057 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
20059 return Py_BuildValue((char *)"");
20061 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20062 PyObject
*resultobj
;
20063 int arg1
= (int) 0 ;
20064 wxMaximizeEvent
*result
;
20065 PyObject
* obj0
= 0 ;
20066 char *kwnames
[] = {
20067 (char *) "id", NULL
20070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
20073 arg1
= (int)(SWIG_As_int(obj0
));
20074 if (SWIG_arg_fail(1)) SWIG_fail
;
20078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20079 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
20081 wxPyEndAllowThreads(__tstate
);
20082 if (PyErr_Occurred()) SWIG_fail
;
20084 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
20091 static PyObject
* MaximizeEvent_swigregister(PyObject
*, PyObject
*args
) {
20093 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20094 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
20096 return Py_BuildValue((char *)"");
20098 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20099 PyObject
*resultobj
;
20100 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20102 PyObject
* obj0
= 0 ;
20103 char *kwnames
[] = {
20104 (char *) "self", NULL
20107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
20108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20109 if (SWIG_arg_fail(1)) SWIG_fail
;
20111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20112 result
= (arg1
)->GetPosition();
20114 wxPyEndAllowThreads(__tstate
);
20115 if (PyErr_Occurred()) SWIG_fail
;
20118 wxPoint
* resultptr
;
20119 resultptr
= new wxPoint((wxPoint
&)(result
));
20120 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20128 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20129 PyObject
*resultobj
;
20130 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20132 PyObject
* obj0
= 0 ;
20133 char *kwnames
[] = {
20134 (char *) "self", NULL
20137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
20138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20139 if (SWIG_arg_fail(1)) SWIG_fail
;
20141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20142 result
= (int)(arg1
)->GetNumberOfFiles();
20144 wxPyEndAllowThreads(__tstate
);
20145 if (PyErr_Occurred()) SWIG_fail
;
20148 resultobj
= SWIG_From_int((int)(result
));
20156 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20157 PyObject
*resultobj
;
20158 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20160 PyObject
* obj0
= 0 ;
20161 char *kwnames
[] = {
20162 (char *) "self", NULL
20165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
20166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20167 if (SWIG_arg_fail(1)) SWIG_fail
;
20169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20170 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
20172 wxPyEndAllowThreads(__tstate
);
20173 if (PyErr_Occurred()) SWIG_fail
;
20175 resultobj
= result
;
20182 static PyObject
* DropFilesEvent_swigregister(PyObject
*, PyObject
*args
) {
20184 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20185 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
20187 return Py_BuildValue((char *)"");
20189 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20190 PyObject
*resultobj
;
20191 int arg1
= (int) 0 ;
20192 wxUpdateUIEvent
*result
;
20193 PyObject
* obj0
= 0 ;
20194 char *kwnames
[] = {
20195 (char *) "commandId", NULL
20198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
20201 arg1
= (int)(SWIG_As_int(obj0
));
20202 if (SWIG_arg_fail(1)) SWIG_fail
;
20206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20207 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
20209 wxPyEndAllowThreads(__tstate
);
20210 if (PyErr_Occurred()) SWIG_fail
;
20212 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
20219 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20220 PyObject
*resultobj
;
20221 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20223 PyObject
* obj0
= 0 ;
20224 char *kwnames
[] = {
20225 (char *) "self", NULL
20228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
20229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20230 if (SWIG_arg_fail(1)) SWIG_fail
;
20232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20233 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
20235 wxPyEndAllowThreads(__tstate
);
20236 if (PyErr_Occurred()) SWIG_fail
;
20239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20247 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20248 PyObject
*resultobj
;
20249 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20251 PyObject
* obj0
= 0 ;
20252 char *kwnames
[] = {
20253 (char *) "self", NULL
20256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
20257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20258 if (SWIG_arg_fail(1)) SWIG_fail
;
20260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20261 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
20263 wxPyEndAllowThreads(__tstate
);
20264 if (PyErr_Occurred()) SWIG_fail
;
20267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20275 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20276 PyObject
*resultobj
;
20277 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20279 PyObject
* obj0
= 0 ;
20280 char *kwnames
[] = {
20281 (char *) "self", NULL
20284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
20285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20286 if (SWIG_arg_fail(1)) SWIG_fail
;
20288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20289 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
20291 wxPyEndAllowThreads(__tstate
);
20292 if (PyErr_Occurred()) SWIG_fail
;
20296 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20298 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20307 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20308 PyObject
*resultobj
;
20309 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20311 PyObject
* obj0
= 0 ;
20312 char *kwnames
[] = {
20313 (char *) "self", NULL
20316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
20317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20318 if (SWIG_arg_fail(1)) SWIG_fail
;
20320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20321 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
20323 wxPyEndAllowThreads(__tstate
);
20324 if (PyErr_Occurred()) SWIG_fail
;
20327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20335 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20336 PyObject
*resultobj
;
20337 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20339 PyObject
* obj0
= 0 ;
20340 char *kwnames
[] = {
20341 (char *) "self", NULL
20344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
20345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20346 if (SWIG_arg_fail(1)) SWIG_fail
;
20348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20349 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
20351 wxPyEndAllowThreads(__tstate
);
20352 if (PyErr_Occurred()) SWIG_fail
;
20355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20363 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20364 PyObject
*resultobj
;
20365 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20367 PyObject
* obj0
= 0 ;
20368 char *kwnames
[] = {
20369 (char *) "self", NULL
20372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
20373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20374 if (SWIG_arg_fail(1)) SWIG_fail
;
20376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20377 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
20379 wxPyEndAllowThreads(__tstate
);
20380 if (PyErr_Occurred()) SWIG_fail
;
20383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20391 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20392 PyObject
*resultobj
;
20393 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20395 PyObject
* obj0
= 0 ;
20396 PyObject
* obj1
= 0 ;
20397 char *kwnames
[] = {
20398 (char *) "self",(char *) "check", NULL
20401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
20402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20403 if (SWIG_arg_fail(1)) SWIG_fail
;
20405 arg2
= (bool)(SWIG_As_bool(obj1
));
20406 if (SWIG_arg_fail(2)) SWIG_fail
;
20409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20410 (arg1
)->Check(arg2
);
20412 wxPyEndAllowThreads(__tstate
);
20413 if (PyErr_Occurred()) SWIG_fail
;
20415 Py_INCREF(Py_None
); resultobj
= Py_None
;
20422 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20423 PyObject
*resultobj
;
20424 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20426 PyObject
* obj0
= 0 ;
20427 PyObject
* obj1
= 0 ;
20428 char *kwnames
[] = {
20429 (char *) "self",(char *) "enable", NULL
20432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
20433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20434 if (SWIG_arg_fail(1)) SWIG_fail
;
20436 arg2
= (bool)(SWIG_As_bool(obj1
));
20437 if (SWIG_arg_fail(2)) SWIG_fail
;
20440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20441 (arg1
)->Enable(arg2
);
20443 wxPyEndAllowThreads(__tstate
);
20444 if (PyErr_Occurred()) SWIG_fail
;
20446 Py_INCREF(Py_None
); resultobj
= Py_None
;
20453 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20454 PyObject
*resultobj
;
20455 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20456 wxString
*arg2
= 0 ;
20457 bool temp2
= false ;
20458 PyObject
* obj0
= 0 ;
20459 PyObject
* obj1
= 0 ;
20460 char *kwnames
[] = {
20461 (char *) "self",(char *) "text", NULL
20464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
20465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20466 if (SWIG_arg_fail(1)) SWIG_fail
;
20468 arg2
= wxString_in_helper(obj1
);
20469 if (arg2
== NULL
) SWIG_fail
;
20473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20474 (arg1
)->SetText((wxString
const &)*arg2
);
20476 wxPyEndAllowThreads(__tstate
);
20477 if (PyErr_Occurred()) SWIG_fail
;
20479 Py_INCREF(Py_None
); resultobj
= Py_None
;
20494 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20495 PyObject
*resultobj
;
20497 PyObject
* obj0
= 0 ;
20498 char *kwnames
[] = {
20499 (char *) "updateInterval", NULL
20502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
20504 arg1
= (long)(SWIG_As_long(obj0
));
20505 if (SWIG_arg_fail(1)) SWIG_fail
;
20508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20509 wxUpdateUIEvent::SetUpdateInterval(arg1
);
20511 wxPyEndAllowThreads(__tstate
);
20512 if (PyErr_Occurred()) SWIG_fail
;
20514 Py_INCREF(Py_None
); resultobj
= Py_None
;
20521 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20522 PyObject
*resultobj
;
20524 char *kwnames
[] = {
20528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
20530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20531 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
20533 wxPyEndAllowThreads(__tstate
);
20534 if (PyErr_Occurred()) SWIG_fail
;
20537 resultobj
= SWIG_From_long((long)(result
));
20545 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20546 PyObject
*resultobj
;
20547 wxWindow
*arg1
= (wxWindow
*) 0 ;
20549 PyObject
* obj0
= 0 ;
20550 char *kwnames
[] = {
20551 (char *) "win", NULL
20554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
20555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20556 if (SWIG_arg_fail(1)) SWIG_fail
;
20558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20559 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
20561 wxPyEndAllowThreads(__tstate
);
20562 if (PyErr_Occurred()) SWIG_fail
;
20565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20573 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20574 PyObject
*resultobj
;
20575 char *kwnames
[] = {
20579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
20581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20582 wxUpdateUIEvent::ResetUpdateTime();
20584 wxPyEndAllowThreads(__tstate
);
20585 if (PyErr_Occurred()) SWIG_fail
;
20587 Py_INCREF(Py_None
); resultobj
= Py_None
;
20594 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20595 PyObject
*resultobj
;
20596 wxUpdateUIMode arg1
;
20597 PyObject
* obj0
= 0 ;
20598 char *kwnames
[] = {
20599 (char *) "mode", NULL
20602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
20604 arg1
= (wxUpdateUIMode
)(SWIG_As_int(obj0
));
20605 if (SWIG_arg_fail(1)) SWIG_fail
;
20608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20609 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
20611 wxPyEndAllowThreads(__tstate
);
20612 if (PyErr_Occurred()) SWIG_fail
;
20614 Py_INCREF(Py_None
); resultobj
= Py_None
;
20621 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20622 PyObject
*resultobj
;
20623 wxUpdateUIMode result
;
20624 char *kwnames
[] = {
20628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
20630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20631 result
= (wxUpdateUIMode
)wxUpdateUIEvent::GetMode();
20633 wxPyEndAllowThreads(__tstate
);
20634 if (PyErr_Occurred()) SWIG_fail
;
20636 resultobj
= SWIG_From_int((result
));
20643 static PyObject
* UpdateUIEvent_swigregister(PyObject
*, PyObject
*args
) {
20645 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20646 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
20648 return Py_BuildValue((char *)"");
20650 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20651 PyObject
*resultobj
;
20652 wxSysColourChangedEvent
*result
;
20653 char *kwnames
[] = {
20657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
20659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20660 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
20662 wxPyEndAllowThreads(__tstate
);
20663 if (PyErr_Occurred()) SWIG_fail
;
20665 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
20672 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
20674 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20675 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
20677 return Py_BuildValue((char *)"");
20679 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20680 PyObject
*resultobj
;
20681 int arg1
= (int) 0 ;
20682 wxWindow
*arg2
= (wxWindow
*) NULL
;
20683 wxMouseCaptureChangedEvent
*result
;
20684 PyObject
* obj0
= 0 ;
20685 PyObject
* obj1
= 0 ;
20686 char *kwnames
[] = {
20687 (char *) "winid",(char *) "gainedCapture", NULL
20690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20693 arg1
= (int)(SWIG_As_int(obj0
));
20694 if (SWIG_arg_fail(1)) SWIG_fail
;
20698 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20699 if (SWIG_arg_fail(2)) SWIG_fail
;
20702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20703 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
20705 wxPyEndAllowThreads(__tstate
);
20706 if (PyErr_Occurred()) SWIG_fail
;
20708 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
20715 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20716 PyObject
*resultobj
;
20717 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
20719 PyObject
* obj0
= 0 ;
20720 char *kwnames
[] = {
20721 (char *) "self", NULL
20724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
20725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseCaptureChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
20726 if (SWIG_arg_fail(1)) SWIG_fail
;
20728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20729 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
20731 wxPyEndAllowThreads(__tstate
);
20732 if (PyErr_Occurred()) SWIG_fail
;
20735 resultobj
= wxPyMake_wxObject(result
, 0);
20743 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
20745 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20746 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
20748 return Py_BuildValue((char *)"");
20750 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20751 PyObject
*resultobj
;
20752 wxDisplayChangedEvent
*result
;
20753 char *kwnames
[] = {
20757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
20759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20760 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
20762 wxPyEndAllowThreads(__tstate
);
20763 if (PyErr_Occurred()) SWIG_fail
;
20765 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
20772 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
20774 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20775 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
20777 return Py_BuildValue((char *)"");
20779 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20780 PyObject
*resultobj
;
20781 int arg1
= (int) 0 ;
20782 wxPaletteChangedEvent
*result
;
20783 PyObject
* obj0
= 0 ;
20784 char *kwnames
[] = {
20785 (char *) "id", NULL
20788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
20791 arg1
= (int)(SWIG_As_int(obj0
));
20792 if (SWIG_arg_fail(1)) SWIG_fail
;
20796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20797 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
20799 wxPyEndAllowThreads(__tstate
);
20800 if (PyErr_Occurred()) SWIG_fail
;
20802 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
20809 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20810 PyObject
*resultobj
;
20811 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
20812 wxWindow
*arg2
= (wxWindow
*) 0 ;
20813 PyObject
* obj0
= 0 ;
20814 PyObject
* obj1
= 0 ;
20815 char *kwnames
[] = {
20816 (char *) "self",(char *) "win", NULL
20819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
20820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
20821 if (SWIG_arg_fail(1)) SWIG_fail
;
20822 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20823 if (SWIG_arg_fail(2)) SWIG_fail
;
20825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20826 (arg1
)->SetChangedWindow(arg2
);
20828 wxPyEndAllowThreads(__tstate
);
20829 if (PyErr_Occurred()) SWIG_fail
;
20831 Py_INCREF(Py_None
); resultobj
= Py_None
;
20838 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20839 PyObject
*resultobj
;
20840 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
20842 PyObject
* obj0
= 0 ;
20843 char *kwnames
[] = {
20844 (char *) "self", NULL
20847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
20848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
20849 if (SWIG_arg_fail(1)) SWIG_fail
;
20851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20852 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
20854 wxPyEndAllowThreads(__tstate
);
20855 if (PyErr_Occurred()) SWIG_fail
;
20858 resultobj
= wxPyMake_wxObject(result
, 0);
20866 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
20868 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20869 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
20871 return Py_BuildValue((char *)"");
20873 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20874 PyObject
*resultobj
;
20875 int arg1
= (int) 0 ;
20876 wxQueryNewPaletteEvent
*result
;
20877 PyObject
* obj0
= 0 ;
20878 char *kwnames
[] = {
20879 (char *) "winid", NULL
20882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
20885 arg1
= (int)(SWIG_As_int(obj0
));
20886 if (SWIG_arg_fail(1)) SWIG_fail
;
20890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20891 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
20893 wxPyEndAllowThreads(__tstate
);
20894 if (PyErr_Occurred()) SWIG_fail
;
20896 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
20903 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20904 PyObject
*resultobj
;
20905 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
20907 PyObject
* obj0
= 0 ;
20908 PyObject
* obj1
= 0 ;
20909 char *kwnames
[] = {
20910 (char *) "self",(char *) "realized", NULL
20913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
20914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
20915 if (SWIG_arg_fail(1)) SWIG_fail
;
20917 arg2
= (bool)(SWIG_As_bool(obj1
));
20918 if (SWIG_arg_fail(2)) SWIG_fail
;
20921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20922 (arg1
)->SetPaletteRealized(arg2
);
20924 wxPyEndAllowThreads(__tstate
);
20925 if (PyErr_Occurred()) SWIG_fail
;
20927 Py_INCREF(Py_None
); resultobj
= Py_None
;
20934 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20935 PyObject
*resultobj
;
20936 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
20938 PyObject
* obj0
= 0 ;
20939 char *kwnames
[] = {
20940 (char *) "self", NULL
20943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
20944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
20945 if (SWIG_arg_fail(1)) SWIG_fail
;
20947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20948 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
20950 wxPyEndAllowThreads(__tstate
);
20951 if (PyErr_Occurred()) SWIG_fail
;
20954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20962 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*, PyObject
*args
) {
20964 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20965 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
20967 return Py_BuildValue((char *)"");
20969 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20970 PyObject
*resultobj
;
20971 wxNavigationKeyEvent
*result
;
20972 char *kwnames
[] = {
20976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
20978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20979 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
20981 wxPyEndAllowThreads(__tstate
);
20982 if (PyErr_Occurred()) SWIG_fail
;
20984 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
20991 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20992 PyObject
*resultobj
;
20993 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
20995 PyObject
* obj0
= 0 ;
20996 char *kwnames
[] = {
20997 (char *) "self", NULL
21000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
21001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21002 if (SWIG_arg_fail(1)) SWIG_fail
;
21004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21005 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
21007 wxPyEndAllowThreads(__tstate
);
21008 if (PyErr_Occurred()) SWIG_fail
;
21011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21019 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21020 PyObject
*resultobj
;
21021 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21023 PyObject
* obj0
= 0 ;
21024 PyObject
* obj1
= 0 ;
21025 char *kwnames
[] = {
21026 (char *) "self",(char *) "forward", NULL
21029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
21030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21031 if (SWIG_arg_fail(1)) SWIG_fail
;
21033 arg2
= (bool)(SWIG_As_bool(obj1
));
21034 if (SWIG_arg_fail(2)) SWIG_fail
;
21037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21038 (arg1
)->SetDirection(arg2
);
21040 wxPyEndAllowThreads(__tstate
);
21041 if (PyErr_Occurred()) SWIG_fail
;
21043 Py_INCREF(Py_None
); resultobj
= Py_None
;
21050 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21051 PyObject
*resultobj
;
21052 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21054 PyObject
* obj0
= 0 ;
21055 char *kwnames
[] = {
21056 (char *) "self", NULL
21059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
21060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21061 if (SWIG_arg_fail(1)) SWIG_fail
;
21063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21064 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
21066 wxPyEndAllowThreads(__tstate
);
21067 if (PyErr_Occurred()) SWIG_fail
;
21070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21078 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21079 PyObject
*resultobj
;
21080 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21082 PyObject
* obj0
= 0 ;
21083 PyObject
* obj1
= 0 ;
21084 char *kwnames
[] = {
21085 (char *) "self",(char *) "ischange", NULL
21088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
21089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21090 if (SWIG_arg_fail(1)) SWIG_fail
;
21092 arg2
= (bool)(SWIG_As_bool(obj1
));
21093 if (SWIG_arg_fail(2)) SWIG_fail
;
21096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21097 (arg1
)->SetWindowChange(arg2
);
21099 wxPyEndAllowThreads(__tstate
);
21100 if (PyErr_Occurred()) SWIG_fail
;
21102 Py_INCREF(Py_None
); resultobj
= Py_None
;
21109 static PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21110 PyObject
*resultobj
;
21111 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21113 PyObject
* obj0
= 0 ;
21114 PyObject
* obj1
= 0 ;
21115 char *kwnames
[] = {
21116 (char *) "self",(char *) "flags", NULL
21119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
21120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21121 if (SWIG_arg_fail(1)) SWIG_fail
;
21123 arg2
= (long)(SWIG_As_long(obj1
));
21124 if (SWIG_arg_fail(2)) SWIG_fail
;
21127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21128 (arg1
)->SetFlags(arg2
);
21130 wxPyEndAllowThreads(__tstate
);
21131 if (PyErr_Occurred()) SWIG_fail
;
21133 Py_INCREF(Py_None
); resultobj
= Py_None
;
21140 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21141 PyObject
*resultobj
;
21142 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21144 PyObject
* obj0
= 0 ;
21145 char *kwnames
[] = {
21146 (char *) "self", NULL
21149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
21150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21151 if (SWIG_arg_fail(1)) SWIG_fail
;
21153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21154 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
21156 wxPyEndAllowThreads(__tstate
);
21157 if (PyErr_Occurred()) SWIG_fail
;
21160 resultobj
= wxPyMake_wxObject(result
, 0);
21168 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21169 PyObject
*resultobj
;
21170 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21171 wxWindow
*arg2
= (wxWindow
*) 0 ;
21172 PyObject
* obj0
= 0 ;
21173 PyObject
* obj1
= 0 ;
21174 char *kwnames
[] = {
21175 (char *) "self",(char *) "win", NULL
21178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
21179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21180 if (SWIG_arg_fail(1)) SWIG_fail
;
21181 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21182 if (SWIG_arg_fail(2)) SWIG_fail
;
21184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21185 (arg1
)->SetCurrentFocus(arg2
);
21187 wxPyEndAllowThreads(__tstate
);
21188 if (PyErr_Occurred()) SWIG_fail
;
21190 Py_INCREF(Py_None
); resultobj
= Py_None
;
21197 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*, PyObject
*args
) {
21199 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21200 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
21202 return Py_BuildValue((char *)"");
21204 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21205 PyObject
*resultobj
;
21206 wxWindow
*arg1
= (wxWindow
*) NULL
;
21207 wxWindowCreateEvent
*result
;
21208 PyObject
* obj0
= 0 ;
21209 char *kwnames
[] = {
21210 (char *) "win", NULL
21213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
21215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21216 if (SWIG_arg_fail(1)) SWIG_fail
;
21219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21220 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
21222 wxPyEndAllowThreads(__tstate
);
21223 if (PyErr_Occurred()) SWIG_fail
;
21225 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
21232 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21233 PyObject
*resultobj
;
21234 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
21236 PyObject
* obj0
= 0 ;
21237 char *kwnames
[] = {
21238 (char *) "self", NULL
21241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowCreateEvent
, SWIG_POINTER_EXCEPTION
| 0);
21243 if (SWIG_arg_fail(1)) SWIG_fail
;
21245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21246 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
21248 wxPyEndAllowThreads(__tstate
);
21249 if (PyErr_Occurred()) SWIG_fail
;
21252 resultobj
= wxPyMake_wxObject(result
, 0);
21260 static PyObject
* WindowCreateEvent_swigregister(PyObject
*, PyObject
*args
) {
21262 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21263 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
21265 return Py_BuildValue((char *)"");
21267 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21268 PyObject
*resultobj
;
21269 wxWindow
*arg1
= (wxWindow
*) NULL
;
21270 wxWindowDestroyEvent
*result
;
21271 PyObject
* obj0
= 0 ;
21272 char *kwnames
[] = {
21273 (char *) "win", NULL
21276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
21278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21279 if (SWIG_arg_fail(1)) SWIG_fail
;
21282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21283 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
21285 wxPyEndAllowThreads(__tstate
);
21286 if (PyErr_Occurred()) SWIG_fail
;
21288 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
21295 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21296 PyObject
*resultobj
;
21297 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
21299 PyObject
* obj0
= 0 ;
21300 char *kwnames
[] = {
21301 (char *) "self", NULL
21304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDestroyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21306 if (SWIG_arg_fail(1)) SWIG_fail
;
21308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21309 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
21311 wxPyEndAllowThreads(__tstate
);
21312 if (PyErr_Occurred()) SWIG_fail
;
21315 resultobj
= wxPyMake_wxObject(result
, 0);
21323 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*, PyObject
*args
) {
21325 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21326 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
21328 return Py_BuildValue((char *)"");
21330 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21331 PyObject
*resultobj
;
21332 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21333 int arg2
= (int) 0 ;
21334 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21335 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21336 wxContextMenuEvent
*result
;
21338 PyObject
* obj0
= 0 ;
21339 PyObject
* obj1
= 0 ;
21340 PyObject
* obj2
= 0 ;
21341 char *kwnames
[] = {
21342 (char *) "type",(char *) "winid",(char *) "pt", NULL
21345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21348 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
21349 if (SWIG_arg_fail(1)) SWIG_fail
;
21354 arg2
= (int)(SWIG_As_int(obj1
));
21355 if (SWIG_arg_fail(2)) SWIG_fail
;
21361 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21366 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
21368 wxPyEndAllowThreads(__tstate
);
21369 if (PyErr_Occurred()) SWIG_fail
;
21371 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
21378 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21379 PyObject
*resultobj
;
21380 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
21382 PyObject
* obj0
= 0 ;
21383 char *kwnames
[] = {
21384 (char *) "self", NULL
21387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
21388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
21389 if (SWIG_arg_fail(1)) SWIG_fail
;
21391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21393 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
21394 result
= (wxPoint
*) &_result_ref
;
21397 wxPyEndAllowThreads(__tstate
);
21398 if (PyErr_Occurred()) SWIG_fail
;
21400 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
21407 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21408 PyObject
*resultobj
;
21409 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
21410 wxPoint
*arg2
= 0 ;
21412 PyObject
* obj0
= 0 ;
21413 PyObject
* obj1
= 0 ;
21414 char *kwnames
[] = {
21415 (char *) "self",(char *) "pos", NULL
21418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
21419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
21420 if (SWIG_arg_fail(1)) SWIG_fail
;
21423 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21427 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
21429 wxPyEndAllowThreads(__tstate
);
21430 if (PyErr_Occurred()) SWIG_fail
;
21432 Py_INCREF(Py_None
); resultobj
= Py_None
;
21439 static PyObject
* ContextMenuEvent_swigregister(PyObject
*, PyObject
*args
) {
21441 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21442 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
21444 return Py_BuildValue((char *)"");
21446 static PyObject
*_wrap_new_IdleEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21447 PyObject
*resultobj
;
21448 wxIdleEvent
*result
;
21449 char *kwnames
[] = {
21453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
21455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21456 result
= (wxIdleEvent
*)new wxIdleEvent();
21458 wxPyEndAllowThreads(__tstate
);
21459 if (PyErr_Occurred()) SWIG_fail
;
21461 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
21468 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21469 PyObject
*resultobj
;
21470 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
21471 bool arg2
= (bool) true ;
21472 PyObject
* obj0
= 0 ;
21473 PyObject
* obj1
= 0 ;
21474 char *kwnames
[] = {
21475 (char *) "self",(char *) "needMore", NULL
21478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
21479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
21480 if (SWIG_arg_fail(1)) SWIG_fail
;
21483 arg2
= (bool)(SWIG_As_bool(obj1
));
21484 if (SWIG_arg_fail(2)) SWIG_fail
;
21488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21489 (arg1
)->RequestMore(arg2
);
21491 wxPyEndAllowThreads(__tstate
);
21492 if (PyErr_Occurred()) SWIG_fail
;
21494 Py_INCREF(Py_None
); resultobj
= Py_None
;
21501 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21502 PyObject
*resultobj
;
21503 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
21505 PyObject
* obj0
= 0 ;
21506 char *kwnames
[] = {
21507 (char *) "self", NULL
21510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
21511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
21512 if (SWIG_arg_fail(1)) SWIG_fail
;
21514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21515 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
21517 wxPyEndAllowThreads(__tstate
);
21518 if (PyErr_Occurred()) SWIG_fail
;
21521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21529 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21530 PyObject
*resultobj
;
21532 PyObject
* obj0
= 0 ;
21533 char *kwnames
[] = {
21534 (char *) "mode", NULL
21537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
21539 arg1
= (wxIdleMode
)(SWIG_As_int(obj0
));
21540 if (SWIG_arg_fail(1)) SWIG_fail
;
21543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21544 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
21546 wxPyEndAllowThreads(__tstate
);
21547 if (PyErr_Occurred()) SWIG_fail
;
21549 Py_INCREF(Py_None
); resultobj
= Py_None
;
21556 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21557 PyObject
*resultobj
;
21559 char *kwnames
[] = {
21563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
21565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21566 result
= (wxIdleMode
)wxIdleEvent::GetMode();
21568 wxPyEndAllowThreads(__tstate
);
21569 if (PyErr_Occurred()) SWIG_fail
;
21571 resultobj
= SWIG_From_int((result
));
21578 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21579 PyObject
*resultobj
;
21580 wxWindow
*arg1
= (wxWindow
*) 0 ;
21582 PyObject
* obj0
= 0 ;
21583 char *kwnames
[] = {
21584 (char *) "win", NULL
21587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
21588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21589 if (SWIG_arg_fail(1)) SWIG_fail
;
21591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21592 result
= (bool)wxIdleEvent::CanSend(arg1
);
21594 wxPyEndAllowThreads(__tstate
);
21595 if (PyErr_Occurred()) SWIG_fail
;
21598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21606 static PyObject
* IdleEvent_swigregister(PyObject
*, PyObject
*args
) {
21608 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21609 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
21611 return Py_BuildValue((char *)"");
21613 static PyObject
*_wrap_new_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21614 PyObject
*resultobj
;
21615 int arg1
= (int) 0 ;
21616 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
21618 PyObject
* obj0
= 0 ;
21619 PyObject
* obj1
= 0 ;
21620 char *kwnames
[] = {
21621 (char *) "winid",(char *) "commandType", NULL
21624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21627 arg1
= (int)(SWIG_As_int(obj0
));
21628 if (SWIG_arg_fail(1)) SWIG_fail
;
21633 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
21634 if (SWIG_arg_fail(2)) SWIG_fail
;
21638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21639 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
21641 wxPyEndAllowThreads(__tstate
);
21642 if (PyErr_Occurred()) SWIG_fail
;
21644 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
21651 static PyObject
*_wrap_delete_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21652 PyObject
*resultobj
;
21653 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
21654 PyObject
* obj0
= 0 ;
21655 char *kwnames
[] = {
21656 (char *) "self", NULL
21659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
21660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21661 if (SWIG_arg_fail(1)) SWIG_fail
;
21663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21666 wxPyEndAllowThreads(__tstate
);
21667 if (PyErr_Occurred()) SWIG_fail
;
21669 Py_INCREF(Py_None
); resultobj
= Py_None
;
21676 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21677 PyObject
*resultobj
;
21678 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
21679 PyObject
*arg2
= (PyObject
*) 0 ;
21680 PyObject
* obj0
= 0 ;
21681 PyObject
* obj1
= 0 ;
21682 char *kwnames
[] = {
21683 (char *) "self",(char *) "self", NULL
21686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
21687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21688 if (SWIG_arg_fail(1)) SWIG_fail
;
21691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21692 (arg1
)->SetSelf(arg2
);
21694 wxPyEndAllowThreads(__tstate
);
21695 if (PyErr_Occurred()) SWIG_fail
;
21697 Py_INCREF(Py_None
); resultobj
= Py_None
;
21704 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21705 PyObject
*resultobj
;
21706 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
21708 PyObject
* obj0
= 0 ;
21709 char *kwnames
[] = {
21710 (char *) "self", NULL
21713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
21714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21715 if (SWIG_arg_fail(1)) SWIG_fail
;
21717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21718 result
= (PyObject
*)(arg1
)->GetSelf();
21720 wxPyEndAllowThreads(__tstate
);
21721 if (PyErr_Occurred()) SWIG_fail
;
21723 resultobj
= result
;
21730 static PyObject
* PyEvent_swigregister(PyObject
*, PyObject
*args
) {
21732 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21733 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
21735 return Py_BuildValue((char *)"");
21737 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21738 PyObject
*resultobj
;
21739 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21740 int arg2
= (int) 0 ;
21741 wxPyCommandEvent
*result
;
21742 PyObject
* obj0
= 0 ;
21743 PyObject
* obj1
= 0 ;
21744 char *kwnames
[] = {
21745 (char *) "commandType",(char *) "id", NULL
21748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21751 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
21752 if (SWIG_arg_fail(1)) SWIG_fail
;
21757 arg2
= (int)(SWIG_As_int(obj1
));
21758 if (SWIG_arg_fail(2)) SWIG_fail
;
21762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21763 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
21765 wxPyEndAllowThreads(__tstate
);
21766 if (PyErr_Occurred()) SWIG_fail
;
21768 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
21775 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21776 PyObject
*resultobj
;
21777 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
21778 PyObject
* obj0
= 0 ;
21779 char *kwnames
[] = {
21780 (char *) "self", NULL
21783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
21784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
21785 if (SWIG_arg_fail(1)) SWIG_fail
;
21787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21790 wxPyEndAllowThreads(__tstate
);
21791 if (PyErr_Occurred()) SWIG_fail
;
21793 Py_INCREF(Py_None
); resultobj
= Py_None
;
21800 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21801 PyObject
*resultobj
;
21802 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
21803 PyObject
*arg2
= (PyObject
*) 0 ;
21804 PyObject
* obj0
= 0 ;
21805 PyObject
* obj1
= 0 ;
21806 char *kwnames
[] = {
21807 (char *) "self",(char *) "self", NULL
21810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
21811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
21812 if (SWIG_arg_fail(1)) SWIG_fail
;
21815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21816 (arg1
)->SetSelf(arg2
);
21818 wxPyEndAllowThreads(__tstate
);
21819 if (PyErr_Occurred()) SWIG_fail
;
21821 Py_INCREF(Py_None
); resultobj
= Py_None
;
21828 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21829 PyObject
*resultobj
;
21830 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
21832 PyObject
* obj0
= 0 ;
21833 char *kwnames
[] = {
21834 (char *) "self", NULL
21837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
21838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
21839 if (SWIG_arg_fail(1)) SWIG_fail
;
21841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21842 result
= (PyObject
*)(arg1
)->GetSelf();
21844 wxPyEndAllowThreads(__tstate
);
21845 if (PyErr_Occurred()) SWIG_fail
;
21847 resultobj
= result
;
21854 static PyObject
* PyCommandEvent_swigregister(PyObject
*, PyObject
*args
) {
21856 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21857 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
21859 return Py_BuildValue((char *)"");
21861 static PyObject
*_wrap_new_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21862 PyObject
*resultobj
;
21864 char *kwnames
[] = {
21868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
21870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21871 result
= (wxPyApp
*)new_wxPyApp();
21873 wxPyEndAllowThreads(__tstate
);
21874 if (PyErr_Occurred()) SWIG_fail
;
21876 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyApp
, 1);
21883 static PyObject
*_wrap_delete_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21884 PyObject
*resultobj
;
21885 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
21886 PyObject
* obj0
= 0 ;
21887 char *kwnames
[] = {
21888 (char *) "self", NULL
21891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
21892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
21893 if (SWIG_arg_fail(1)) SWIG_fail
;
21895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21898 wxPyEndAllowThreads(__tstate
);
21899 if (PyErr_Occurred()) SWIG_fail
;
21901 Py_INCREF(Py_None
); resultobj
= Py_None
;
21908 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21909 PyObject
*resultobj
;
21910 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
21911 PyObject
*arg2
= (PyObject
*) 0 ;
21912 PyObject
*arg3
= (PyObject
*) 0 ;
21913 PyObject
* obj0
= 0 ;
21914 PyObject
* obj1
= 0 ;
21915 PyObject
* obj2
= 0 ;
21916 char *kwnames
[] = {
21917 (char *) "self",(char *) "self",(char *) "_class", NULL
21920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
21922 if (SWIG_arg_fail(1)) SWIG_fail
;
21926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21927 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21929 wxPyEndAllowThreads(__tstate
);
21930 if (PyErr_Occurred()) SWIG_fail
;
21932 Py_INCREF(Py_None
); resultobj
= Py_None
;
21939 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21940 PyObject
*resultobj
;
21941 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
21943 PyObject
* obj0
= 0 ;
21944 char *kwnames
[] = {
21945 (char *) "self", NULL
21948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
21949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
21950 if (SWIG_arg_fail(1)) SWIG_fail
;
21952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21953 result
= ((wxPyApp
const *)arg1
)->GetAppName();
21955 wxPyEndAllowThreads(__tstate
);
21956 if (PyErr_Occurred()) SWIG_fail
;
21960 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21962 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21971 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21972 PyObject
*resultobj
;
21973 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
21974 wxString
*arg2
= 0 ;
21975 bool temp2
= false ;
21976 PyObject
* obj0
= 0 ;
21977 PyObject
* obj1
= 0 ;
21978 char *kwnames
[] = {
21979 (char *) "self",(char *) "name", NULL
21982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
21983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
21984 if (SWIG_arg_fail(1)) SWIG_fail
;
21986 arg2
= wxString_in_helper(obj1
);
21987 if (arg2
== NULL
) SWIG_fail
;
21991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21992 (arg1
)->SetAppName((wxString
const &)*arg2
);
21994 wxPyEndAllowThreads(__tstate
);
21995 if (PyErr_Occurred()) SWIG_fail
;
21997 Py_INCREF(Py_None
); resultobj
= Py_None
;
22012 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22013 PyObject
*resultobj
;
22014 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22016 PyObject
* obj0
= 0 ;
22017 char *kwnames
[] = {
22018 (char *) "self", NULL
22021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
22022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22023 if (SWIG_arg_fail(1)) SWIG_fail
;
22025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22026 result
= ((wxPyApp
const *)arg1
)->GetClassName();
22028 wxPyEndAllowThreads(__tstate
);
22029 if (PyErr_Occurred()) SWIG_fail
;
22033 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22035 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22044 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22045 PyObject
*resultobj
;
22046 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22047 wxString
*arg2
= 0 ;
22048 bool temp2
= false ;
22049 PyObject
* obj0
= 0 ;
22050 PyObject
* obj1
= 0 ;
22051 char *kwnames
[] = {
22052 (char *) "self",(char *) "name", NULL
22055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
22056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22057 if (SWIG_arg_fail(1)) SWIG_fail
;
22059 arg2
= wxString_in_helper(obj1
);
22060 if (arg2
== NULL
) SWIG_fail
;
22064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22065 (arg1
)->SetClassName((wxString
const &)*arg2
);
22067 wxPyEndAllowThreads(__tstate
);
22068 if (PyErr_Occurred()) SWIG_fail
;
22070 Py_INCREF(Py_None
); resultobj
= Py_None
;
22085 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22086 PyObject
*resultobj
;
22087 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22089 PyObject
* obj0
= 0 ;
22090 char *kwnames
[] = {
22091 (char *) "self", NULL
22094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
22095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22096 if (SWIG_arg_fail(1)) SWIG_fail
;
22098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22100 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
22101 result
= (wxString
*) &_result_ref
;
22104 wxPyEndAllowThreads(__tstate
);
22105 if (PyErr_Occurred()) SWIG_fail
;
22109 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22111 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22120 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22121 PyObject
*resultobj
;
22122 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22123 wxString
*arg2
= 0 ;
22124 bool temp2
= false ;
22125 PyObject
* obj0
= 0 ;
22126 PyObject
* obj1
= 0 ;
22127 char *kwnames
[] = {
22128 (char *) "self",(char *) "name", NULL
22131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
22132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22133 if (SWIG_arg_fail(1)) SWIG_fail
;
22135 arg2
= wxString_in_helper(obj1
);
22136 if (arg2
== NULL
) SWIG_fail
;
22140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22141 (arg1
)->SetVendorName((wxString
const &)*arg2
);
22143 wxPyEndAllowThreads(__tstate
);
22144 if (PyErr_Occurred()) SWIG_fail
;
22146 Py_INCREF(Py_None
); resultobj
= Py_None
;
22161 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22162 PyObject
*resultobj
;
22163 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22164 wxAppTraits
*result
;
22165 PyObject
* obj0
= 0 ;
22166 char *kwnames
[] = {
22167 (char *) "self", NULL
22170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
22171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22172 if (SWIG_arg_fail(1)) SWIG_fail
;
22174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22175 result
= (wxAppTraits
*)(arg1
)->GetTraits();
22177 wxPyEndAllowThreads(__tstate
);
22178 if (PyErr_Occurred()) SWIG_fail
;
22180 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
22187 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22188 PyObject
*resultobj
;
22189 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22190 PyObject
* obj0
= 0 ;
22191 char *kwnames
[] = {
22192 (char *) "self", NULL
22195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
22196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22197 if (SWIG_arg_fail(1)) SWIG_fail
;
22199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22200 (arg1
)->ProcessPendingEvents();
22202 wxPyEndAllowThreads(__tstate
);
22203 if (PyErr_Occurred()) SWIG_fail
;
22205 Py_INCREF(Py_None
); resultobj
= Py_None
;
22212 static PyObject
*_wrap_PyApp_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22213 PyObject
*resultobj
;
22214 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22215 bool arg2
= (bool) false ;
22217 PyObject
* obj0
= 0 ;
22218 PyObject
* obj1
= 0 ;
22219 char *kwnames
[] = {
22220 (char *) "self",(char *) "onlyIfNeeded", NULL
22223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
22224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22225 if (SWIG_arg_fail(1)) SWIG_fail
;
22228 arg2
= (bool)(SWIG_As_bool(obj1
));
22229 if (SWIG_arg_fail(2)) SWIG_fail
;
22233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22234 result
= (bool)(arg1
)->Yield(arg2
);
22236 wxPyEndAllowThreads(__tstate
);
22237 if (PyErr_Occurred()) SWIG_fail
;
22240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22248 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22249 PyObject
*resultobj
;
22250 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22251 PyObject
* obj0
= 0 ;
22252 char *kwnames
[] = {
22253 (char *) "self", NULL
22256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
22257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22258 if (SWIG_arg_fail(1)) SWIG_fail
;
22260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22261 (arg1
)->WakeUpIdle();
22263 wxPyEndAllowThreads(__tstate
);
22264 if (PyErr_Occurred()) SWIG_fail
;
22266 Py_INCREF(Py_None
); resultobj
= Py_None
;
22273 static PyObject
*_wrap_PyApp_IsMainLoopRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22274 PyObject
*resultobj
;
22276 char *kwnames
[] = {
22280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_IsMainLoopRunning",kwnames
)) goto fail
;
22282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22283 result
= (bool)wxPyApp::IsMainLoopRunning();
22285 wxPyEndAllowThreads(__tstate
);
22286 if (PyErr_Occurred()) SWIG_fail
;
22289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22297 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22298 PyObject
*resultobj
;
22299 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22301 PyObject
* obj0
= 0 ;
22302 char *kwnames
[] = {
22303 (char *) "self", NULL
22306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
22307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22308 if (SWIG_arg_fail(1)) SWIG_fail
;
22310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22311 result
= (int)(arg1
)->MainLoop();
22313 wxPyEndAllowThreads(__tstate
);
22314 if (PyErr_Occurred()) SWIG_fail
;
22317 resultobj
= SWIG_From_int((int)(result
));
22325 static PyObject
*_wrap_PyApp_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22326 PyObject
*resultobj
;
22327 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22328 PyObject
* obj0
= 0 ;
22329 char *kwnames
[] = {
22330 (char *) "self", NULL
22333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
22334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22335 if (SWIG_arg_fail(1)) SWIG_fail
;
22337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22340 wxPyEndAllowThreads(__tstate
);
22341 if (PyErr_Occurred()) SWIG_fail
;
22343 Py_INCREF(Py_None
); resultobj
= Py_None
;
22350 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22351 PyObject
*resultobj
;
22352 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22353 PyObject
* obj0
= 0 ;
22354 char *kwnames
[] = {
22355 (char *) "self", NULL
22358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
22359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22360 if (SWIG_arg_fail(1)) SWIG_fail
;
22362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22363 (arg1
)->ExitMainLoop();
22365 wxPyEndAllowThreads(__tstate
);
22366 if (PyErr_Occurred()) SWIG_fail
;
22368 Py_INCREF(Py_None
); resultobj
= Py_None
;
22375 static PyObject
*_wrap_PyApp_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22376 PyObject
*resultobj
;
22377 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22379 PyObject
* obj0
= 0 ;
22380 char *kwnames
[] = {
22381 (char *) "self", NULL
22384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
22385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22386 if (SWIG_arg_fail(1)) SWIG_fail
;
22388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22389 result
= (bool)(arg1
)->Pending();
22391 wxPyEndAllowThreads(__tstate
);
22392 if (PyErr_Occurred()) SWIG_fail
;
22395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22403 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22404 PyObject
*resultobj
;
22405 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22407 PyObject
* obj0
= 0 ;
22408 char *kwnames
[] = {
22409 (char *) "self", NULL
22412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
22413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22414 if (SWIG_arg_fail(1)) SWIG_fail
;
22416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22417 result
= (bool)(arg1
)->Dispatch();
22419 wxPyEndAllowThreads(__tstate
);
22420 if (PyErr_Occurred()) SWIG_fail
;
22423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22431 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22432 PyObject
*resultobj
;
22433 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22435 PyObject
* obj0
= 0 ;
22436 char *kwnames
[] = {
22437 (char *) "self", NULL
22440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
22441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22442 if (SWIG_arg_fail(1)) SWIG_fail
;
22444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22445 result
= (bool)(arg1
)->ProcessIdle();
22447 wxPyEndAllowThreads(__tstate
);
22448 if (PyErr_Occurred()) SWIG_fail
;
22451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22459 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22460 PyObject
*resultobj
;
22461 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22462 wxWindow
*arg2
= (wxWindow
*) 0 ;
22463 wxIdleEvent
*arg3
= 0 ;
22465 PyObject
* obj0
= 0 ;
22466 PyObject
* obj1
= 0 ;
22467 PyObject
* obj2
= 0 ;
22468 char *kwnames
[] = {
22469 (char *) "self",(char *) "win",(char *) "event", NULL
22472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22474 if (SWIG_arg_fail(1)) SWIG_fail
;
22475 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22476 if (SWIG_arg_fail(2)) SWIG_fail
;
22478 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
22479 if (SWIG_arg_fail(3)) SWIG_fail
;
22480 if (arg3
== NULL
) {
22481 SWIG_null_ref("wxIdleEvent");
22483 if (SWIG_arg_fail(3)) SWIG_fail
;
22486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22487 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
22489 wxPyEndAllowThreads(__tstate
);
22490 if (PyErr_Occurred()) SWIG_fail
;
22493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22501 static PyObject
*_wrap_PyApp_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22502 PyObject
*resultobj
;
22503 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22505 PyObject
* obj0
= 0 ;
22506 char *kwnames
[] = {
22507 (char *) "self", NULL
22510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
22511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22512 if (SWIG_arg_fail(1)) SWIG_fail
;
22514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22515 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
22517 wxPyEndAllowThreads(__tstate
);
22518 if (PyErr_Occurred()) SWIG_fail
;
22521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22529 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22530 PyObject
*resultobj
;
22531 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22532 wxWindow
*arg2
= (wxWindow
*) 0 ;
22533 PyObject
* obj0
= 0 ;
22534 PyObject
* obj1
= 0 ;
22535 char *kwnames
[] = {
22536 (char *) "self",(char *) "win", NULL
22539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
22540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22541 if (SWIG_arg_fail(1)) SWIG_fail
;
22542 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22543 if (SWIG_arg_fail(2)) SWIG_fail
;
22545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22546 (arg1
)->SetTopWindow(arg2
);
22548 wxPyEndAllowThreads(__tstate
);
22549 if (PyErr_Occurred()) SWIG_fail
;
22551 Py_INCREF(Py_None
); resultobj
= Py_None
;
22558 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22559 PyObject
*resultobj
;
22560 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22562 PyObject
* obj0
= 0 ;
22563 char *kwnames
[] = {
22564 (char *) "self", NULL
22567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
22568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22569 if (SWIG_arg_fail(1)) SWIG_fail
;
22571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22572 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
22574 wxPyEndAllowThreads(__tstate
);
22575 if (PyErr_Occurred()) SWIG_fail
;
22578 resultobj
= wxPyMake_wxObject(result
, 0);
22586 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22587 PyObject
*resultobj
;
22588 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22590 PyObject
* obj0
= 0 ;
22591 PyObject
* obj1
= 0 ;
22592 char *kwnames
[] = {
22593 (char *) "self",(char *) "flag", NULL
22596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
22597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22598 if (SWIG_arg_fail(1)) SWIG_fail
;
22600 arg2
= (bool)(SWIG_As_bool(obj1
));
22601 if (SWIG_arg_fail(2)) SWIG_fail
;
22604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22605 (arg1
)->SetExitOnFrameDelete(arg2
);
22607 wxPyEndAllowThreads(__tstate
);
22608 if (PyErr_Occurred()) SWIG_fail
;
22610 Py_INCREF(Py_None
); resultobj
= Py_None
;
22617 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22618 PyObject
*resultobj
;
22619 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22621 PyObject
* obj0
= 0 ;
22622 char *kwnames
[] = {
22623 (char *) "self", NULL
22626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
22627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22628 if (SWIG_arg_fail(1)) SWIG_fail
;
22630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22631 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
22633 wxPyEndAllowThreads(__tstate
);
22634 if (PyErr_Occurred()) SWIG_fail
;
22637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22645 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22646 PyObject
*resultobj
;
22647 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22649 PyObject
* obj0
= 0 ;
22650 PyObject
* obj1
= 0 ;
22651 char *kwnames
[] = {
22652 (char *) "self",(char *) "flag", NULL
22655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
22656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22657 if (SWIG_arg_fail(1)) SWIG_fail
;
22659 arg2
= (bool)(SWIG_As_bool(obj1
));
22660 if (SWIG_arg_fail(2)) SWIG_fail
;
22663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22664 (arg1
)->SetUseBestVisual(arg2
);
22666 wxPyEndAllowThreads(__tstate
);
22667 if (PyErr_Occurred()) SWIG_fail
;
22669 Py_INCREF(Py_None
); resultobj
= Py_None
;
22676 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22677 PyObject
*resultobj
;
22678 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22680 PyObject
* obj0
= 0 ;
22681 char *kwnames
[] = {
22682 (char *) "self", NULL
22685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
22686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22687 if (SWIG_arg_fail(1)) SWIG_fail
;
22689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22690 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
22692 wxPyEndAllowThreads(__tstate
);
22693 if (PyErr_Occurred()) SWIG_fail
;
22696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22704 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22705 PyObject
*resultobj
;
22706 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22708 PyObject
* obj0
= 0 ;
22709 PyObject
* obj1
= 0 ;
22710 char *kwnames
[] = {
22711 (char *) "self",(char *) "mode", NULL
22714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
22715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22716 if (SWIG_arg_fail(1)) SWIG_fail
;
22718 arg2
= (int)(SWIG_As_int(obj1
));
22719 if (SWIG_arg_fail(2)) SWIG_fail
;
22722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22723 (arg1
)->SetPrintMode(arg2
);
22725 wxPyEndAllowThreads(__tstate
);
22726 if (PyErr_Occurred()) SWIG_fail
;
22728 Py_INCREF(Py_None
); resultobj
= Py_None
;
22735 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22736 PyObject
*resultobj
;
22737 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22739 PyObject
* obj0
= 0 ;
22740 char *kwnames
[] = {
22741 (char *) "self", NULL
22744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
22745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22746 if (SWIG_arg_fail(1)) SWIG_fail
;
22748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22749 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
22751 wxPyEndAllowThreads(__tstate
);
22752 if (PyErr_Occurred()) SWIG_fail
;
22755 resultobj
= SWIG_From_int((int)(result
));
22763 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22764 PyObject
*resultobj
;
22765 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22767 PyObject
* obj0
= 0 ;
22768 PyObject
* obj1
= 0 ;
22769 char *kwnames
[] = {
22770 (char *) "self",(char *) "mode", NULL
22773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
22774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22775 if (SWIG_arg_fail(1)) SWIG_fail
;
22777 arg2
= (int)(SWIG_As_int(obj1
));
22778 if (SWIG_arg_fail(2)) SWIG_fail
;
22781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22782 (arg1
)->SetAssertMode(arg2
);
22784 wxPyEndAllowThreads(__tstate
);
22785 if (PyErr_Occurred()) SWIG_fail
;
22787 Py_INCREF(Py_None
); resultobj
= Py_None
;
22794 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22795 PyObject
*resultobj
;
22796 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22798 PyObject
* obj0
= 0 ;
22799 char *kwnames
[] = {
22800 (char *) "self", NULL
22803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
22804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22805 if (SWIG_arg_fail(1)) SWIG_fail
;
22807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22808 result
= (int)(arg1
)->GetAssertMode();
22810 wxPyEndAllowThreads(__tstate
);
22811 if (PyErr_Occurred()) SWIG_fail
;
22814 resultobj
= SWIG_From_int((int)(result
));
22822 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22823 PyObject
*resultobj
;
22825 char *kwnames
[] = {
22829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
22831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22832 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
22834 wxPyEndAllowThreads(__tstate
);
22835 if (PyErr_Occurred()) SWIG_fail
;
22838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22846 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22847 PyObject
*resultobj
;
22849 char *kwnames
[] = {
22853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
22855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22856 result
= (long)wxPyApp::GetMacAboutMenuItemId();
22858 wxPyEndAllowThreads(__tstate
);
22859 if (PyErr_Occurred()) SWIG_fail
;
22862 resultobj
= SWIG_From_long((long)(result
));
22870 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22871 PyObject
*resultobj
;
22873 char *kwnames
[] = {
22877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
22879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22880 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
22882 wxPyEndAllowThreads(__tstate
);
22883 if (PyErr_Occurred()) SWIG_fail
;
22886 resultobj
= SWIG_From_long((long)(result
));
22894 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22895 PyObject
*resultobj
;
22897 char *kwnames
[] = {
22901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
22903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22904 result
= (long)wxPyApp::GetMacExitMenuItemId();
22906 wxPyEndAllowThreads(__tstate
);
22907 if (PyErr_Occurred()) SWIG_fail
;
22910 resultobj
= SWIG_From_long((long)(result
));
22918 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22919 PyObject
*resultobj
;
22921 char *kwnames
[] = {
22925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
22927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22928 result
= wxPyApp::GetMacHelpMenuTitleName();
22930 wxPyEndAllowThreads(__tstate
);
22931 if (PyErr_Occurred()) SWIG_fail
;
22935 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22937 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22946 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22947 PyObject
*resultobj
;
22949 PyObject
* obj0
= 0 ;
22950 char *kwnames
[] = {
22951 (char *) "val", NULL
22954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
22956 arg1
= (bool)(SWIG_As_bool(obj0
));
22957 if (SWIG_arg_fail(1)) SWIG_fail
;
22960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22961 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
22963 wxPyEndAllowThreads(__tstate
);
22964 if (PyErr_Occurred()) SWIG_fail
;
22966 Py_INCREF(Py_None
); resultobj
= Py_None
;
22973 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22974 PyObject
*resultobj
;
22976 PyObject
* obj0
= 0 ;
22977 char *kwnames
[] = {
22978 (char *) "val", NULL
22981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
22983 arg1
= (long)(SWIG_As_long(obj0
));
22984 if (SWIG_arg_fail(1)) SWIG_fail
;
22987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22988 wxPyApp::SetMacAboutMenuItemId(arg1
);
22990 wxPyEndAllowThreads(__tstate
);
22991 if (PyErr_Occurred()) SWIG_fail
;
22993 Py_INCREF(Py_None
); resultobj
= Py_None
;
23000 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23001 PyObject
*resultobj
;
23003 PyObject
* obj0
= 0 ;
23004 char *kwnames
[] = {
23005 (char *) "val", NULL
23008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
23010 arg1
= (long)(SWIG_As_long(obj0
));
23011 if (SWIG_arg_fail(1)) SWIG_fail
;
23014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23015 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
23017 wxPyEndAllowThreads(__tstate
);
23018 if (PyErr_Occurred()) SWIG_fail
;
23020 Py_INCREF(Py_None
); resultobj
= Py_None
;
23027 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23028 PyObject
*resultobj
;
23030 PyObject
* obj0
= 0 ;
23031 char *kwnames
[] = {
23032 (char *) "val", NULL
23035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
23037 arg1
= (long)(SWIG_As_long(obj0
));
23038 if (SWIG_arg_fail(1)) SWIG_fail
;
23041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23042 wxPyApp::SetMacExitMenuItemId(arg1
);
23044 wxPyEndAllowThreads(__tstate
);
23045 if (PyErr_Occurred()) SWIG_fail
;
23047 Py_INCREF(Py_None
); resultobj
= Py_None
;
23054 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23055 PyObject
*resultobj
;
23056 wxString
*arg1
= 0 ;
23057 bool temp1
= false ;
23058 PyObject
* obj0
= 0 ;
23059 char *kwnames
[] = {
23060 (char *) "val", NULL
23063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
23065 arg1
= wxString_in_helper(obj0
);
23066 if (arg1
== NULL
) SWIG_fail
;
23070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23071 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
23073 wxPyEndAllowThreads(__tstate
);
23074 if (PyErr_Occurred()) SWIG_fail
;
23076 Py_INCREF(Py_None
); resultobj
= Py_None
;
23091 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23092 PyObject
*resultobj
;
23093 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23094 PyObject
* obj0
= 0 ;
23095 char *kwnames
[] = {
23096 (char *) "self", NULL
23099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
23100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23101 if (SWIG_arg_fail(1)) SWIG_fail
;
23103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23104 (arg1
)->_BootstrapApp();
23106 wxPyEndAllowThreads(__tstate
);
23107 if (PyErr_Occurred()) SWIG_fail
;
23109 Py_INCREF(Py_None
); resultobj
= Py_None
;
23116 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23117 PyObject
*resultobj
;
23119 char *kwnames
[] = {
23123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
23125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23126 result
= (int)wxPyApp::GetComCtl32Version();
23128 wxPyEndAllowThreads(__tstate
);
23129 if (PyErr_Occurred()) SWIG_fail
;
23132 resultobj
= SWIG_From_int((int)(result
));
23140 static PyObject
* PyApp_swigregister(PyObject
*, PyObject
*args
) {
23142 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23143 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
23145 return Py_BuildValue((char *)"");
23147 static PyObject
*_wrap_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23148 PyObject
*resultobj
;
23149 char *kwnames
[] = {
23153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
23155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23158 wxPyEndAllowThreads(__tstate
);
23159 if (PyErr_Occurred()) SWIG_fail
;
23161 Py_INCREF(Py_None
); resultobj
= Py_None
;
23168 static PyObject
*_wrap_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23169 PyObject
*resultobj
;
23171 char *kwnames
[] = {
23175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
23177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23178 result
= (bool)wxYield();
23180 wxPyEndAllowThreads(__tstate
);
23181 if (PyErr_Occurred()) SWIG_fail
;
23184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23192 static PyObject
*_wrap_YieldIfNeeded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23193 PyObject
*resultobj
;
23195 char *kwnames
[] = {
23199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
23201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23202 result
= (bool)wxYieldIfNeeded();
23204 wxPyEndAllowThreads(__tstate
);
23205 if (PyErr_Occurred()) SWIG_fail
;
23208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23216 static PyObject
*_wrap_SafeYield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23217 PyObject
*resultobj
;
23218 wxWindow
*arg1
= (wxWindow
*) NULL
;
23219 bool arg2
= (bool) false ;
23221 PyObject
* obj0
= 0 ;
23222 PyObject
* obj1
= 0 ;
23223 char *kwnames
[] = {
23224 (char *) "win",(char *) "onlyIfNeeded", NULL
23227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
23229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23230 if (SWIG_arg_fail(1)) SWIG_fail
;
23234 arg2
= (bool)(SWIG_As_bool(obj1
));
23235 if (SWIG_arg_fail(2)) SWIG_fail
;
23239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23240 result
= (bool)wxSafeYield(arg1
,arg2
);
23242 wxPyEndAllowThreads(__tstate
);
23243 if (PyErr_Occurred()) SWIG_fail
;
23246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23254 static PyObject
*_wrap_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23255 PyObject
*resultobj
;
23256 char *kwnames
[] = {
23260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
23262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23265 wxPyEndAllowThreads(__tstate
);
23266 if (PyErr_Occurred()) SWIG_fail
;
23268 Py_INCREF(Py_None
); resultobj
= Py_None
;
23275 static PyObject
*_wrap_PostEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23276 PyObject
*resultobj
;
23277 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
23278 wxEvent
*arg2
= 0 ;
23279 PyObject
* obj0
= 0 ;
23280 PyObject
* obj1
= 0 ;
23281 char *kwnames
[] = {
23282 (char *) "dest",(char *) "event", NULL
23285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
23287 if (SWIG_arg_fail(1)) SWIG_fail
;
23289 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
23290 if (SWIG_arg_fail(2)) SWIG_fail
;
23291 if (arg2
== NULL
) {
23292 SWIG_null_ref("wxEvent");
23294 if (SWIG_arg_fail(2)) SWIG_fail
;
23297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23298 wxPostEvent(arg1
,*arg2
);
23300 wxPyEndAllowThreads(__tstate
);
23301 if (PyErr_Occurred()) SWIG_fail
;
23303 Py_INCREF(Py_None
); resultobj
= Py_None
;
23310 static PyObject
*_wrap_App_CleanUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23311 PyObject
*resultobj
;
23312 char *kwnames
[] = {
23316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
23318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23321 wxPyEndAllowThreads(__tstate
);
23322 if (PyErr_Occurred()) SWIG_fail
;
23324 Py_INCREF(Py_None
); resultobj
= Py_None
;
23331 static PyObject
*_wrap_GetApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23332 PyObject
*resultobj
;
23334 char *kwnames
[] = {
23338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
23340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23341 result
= (wxPyApp
*)wxPyGetApp();
23343 wxPyEndAllowThreads(__tstate
);
23344 if (PyErr_Occurred()) SWIG_fail
;
23347 resultobj
= wxPyMake_wxObject(result
, 0);
23355 static PyObject
*_wrap_SetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23356 PyObject
*resultobj
;
23357 char *arg1
= (char *) 0 ;
23358 PyObject
* obj0
= 0 ;
23359 char *kwnames
[] = {
23360 (char *) "encoding", NULL
23363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetDefaultPyEncoding",kwnames
,&obj0
)) goto fail
;
23364 if (!SWIG_AsCharPtr(obj0
, (char**)&arg1
)) {
23365 SWIG_arg_fail(1);SWIG_fail
;
23368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23369 wxSetDefaultPyEncoding((char const *)arg1
);
23371 wxPyEndAllowThreads(__tstate
);
23372 if (PyErr_Occurred()) SWIG_fail
;
23374 Py_INCREF(Py_None
); resultobj
= Py_None
;
23381 static PyObject
*_wrap_GetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23382 PyObject
*resultobj
;
23384 char *kwnames
[] = {
23388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDefaultPyEncoding",kwnames
)) goto fail
;
23390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23391 result
= (char *)wxGetDefaultPyEncoding();
23393 wxPyEndAllowThreads(__tstate
);
23394 if (PyErr_Occurred()) SWIG_fail
;
23396 resultobj
= SWIG_FromCharPtr(result
);
23403 static PyObject
*_wrap_new_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23404 PyObject
*resultobj
;
23405 wxEventLoop
*result
;
23406 char *kwnames
[] = {
23410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EventLoop",kwnames
)) goto fail
;
23412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23413 result
= (wxEventLoop
*)new wxEventLoop();
23415 wxPyEndAllowThreads(__tstate
);
23416 if (PyErr_Occurred()) SWIG_fail
;
23418 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 1);
23425 static PyObject
*_wrap_delete_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23426 PyObject
*resultobj
;
23427 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23428 PyObject
* obj0
= 0 ;
23429 char *kwnames
[] = {
23430 (char *) "self", NULL
23433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EventLoop",kwnames
,&obj0
)) goto fail
;
23434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23435 if (SWIG_arg_fail(1)) SWIG_fail
;
23437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23440 wxPyEndAllowThreads(__tstate
);
23441 if (PyErr_Occurred()) SWIG_fail
;
23443 Py_INCREF(Py_None
); resultobj
= Py_None
;
23450 static PyObject
*_wrap_EventLoop_Run(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23451 PyObject
*resultobj
;
23452 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23454 PyObject
* obj0
= 0 ;
23455 char *kwnames
[] = {
23456 (char *) "self", NULL
23459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Run",kwnames
,&obj0
)) goto fail
;
23460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23461 if (SWIG_arg_fail(1)) SWIG_fail
;
23463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23464 result
= (int)(arg1
)->Run();
23466 wxPyEndAllowThreads(__tstate
);
23467 if (PyErr_Occurred()) SWIG_fail
;
23470 resultobj
= SWIG_From_int((int)(result
));
23478 static PyObject
*_wrap_EventLoop_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23479 PyObject
*resultobj
;
23480 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23481 int arg2
= (int) 0 ;
23482 PyObject
* obj0
= 0 ;
23483 PyObject
* obj1
= 0 ;
23484 char *kwnames
[] = {
23485 (char *) "self",(char *) "rc", NULL
23488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EventLoop_Exit",kwnames
,&obj0
,&obj1
)) goto fail
;
23489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23490 if (SWIG_arg_fail(1)) SWIG_fail
;
23493 arg2
= (int)(SWIG_As_int(obj1
));
23494 if (SWIG_arg_fail(2)) SWIG_fail
;
23498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23499 (arg1
)->Exit(arg2
);
23501 wxPyEndAllowThreads(__tstate
);
23502 if (PyErr_Occurred()) SWIG_fail
;
23504 Py_INCREF(Py_None
); resultobj
= Py_None
;
23511 static PyObject
*_wrap_EventLoop_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23512 PyObject
*resultobj
;
23513 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23515 PyObject
* obj0
= 0 ;
23516 char *kwnames
[] = {
23517 (char *) "self", NULL
23520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Pending",kwnames
,&obj0
)) goto fail
;
23521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23522 if (SWIG_arg_fail(1)) SWIG_fail
;
23524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23525 result
= (bool)((wxEventLoop
const *)arg1
)->Pending();
23527 wxPyEndAllowThreads(__tstate
);
23528 if (PyErr_Occurred()) SWIG_fail
;
23531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23539 static PyObject
*_wrap_EventLoop_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23540 PyObject
*resultobj
;
23541 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23543 PyObject
* obj0
= 0 ;
23544 char *kwnames
[] = {
23545 (char *) "self", NULL
23548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Dispatch",kwnames
,&obj0
)) goto fail
;
23549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23550 if (SWIG_arg_fail(1)) SWIG_fail
;
23552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23553 result
= (bool)(arg1
)->Dispatch();
23555 wxPyEndAllowThreads(__tstate
);
23556 if (PyErr_Occurred()) SWIG_fail
;
23559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23567 static PyObject
*_wrap_EventLoop_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23568 PyObject
*resultobj
;
23569 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23571 PyObject
* obj0
= 0 ;
23572 char *kwnames
[] = {
23573 (char *) "self", NULL
23576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_IsRunning",kwnames
,&obj0
)) goto fail
;
23577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23578 if (SWIG_arg_fail(1)) SWIG_fail
;
23580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23581 result
= (bool)((wxEventLoop
const *)arg1
)->IsRunning();
23583 wxPyEndAllowThreads(__tstate
);
23584 if (PyErr_Occurred()) SWIG_fail
;
23587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23595 static PyObject
*_wrap_EventLoop_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23596 PyObject
*resultobj
;
23597 wxEventLoop
*result
;
23598 char *kwnames
[] = {
23602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EventLoop_GetActive",kwnames
)) goto fail
;
23604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23605 result
= (wxEventLoop
*)wxEventLoop::GetActive();
23607 wxPyEndAllowThreads(__tstate
);
23608 if (PyErr_Occurred()) SWIG_fail
;
23610 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 0);
23617 static PyObject
*_wrap_EventLoop_SetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23618 PyObject
*resultobj
;
23619 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23620 PyObject
* obj0
= 0 ;
23621 char *kwnames
[] = {
23622 (char *) "loop", NULL
23625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_SetActive",kwnames
,&obj0
)) goto fail
;
23626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23627 if (SWIG_arg_fail(1)) SWIG_fail
;
23629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23630 wxEventLoop::SetActive(arg1
);
23632 wxPyEndAllowThreads(__tstate
);
23633 if (PyErr_Occurred()) SWIG_fail
;
23635 Py_INCREF(Py_None
); resultobj
= Py_None
;
23642 static PyObject
* EventLoop_swigregister(PyObject
*, PyObject
*args
) {
23644 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23645 SWIG_TypeClientData(SWIGTYPE_p_wxEventLoop
, obj
);
23647 return Py_BuildValue((char *)"");
23649 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23650 PyObject
*resultobj
;
23651 int arg1
= (int) 0 ;
23652 int arg2
= (int) 0 ;
23653 int arg3
= (int) 0 ;
23654 wxAcceleratorEntry
*result
;
23655 PyObject
* obj0
= 0 ;
23656 PyObject
* obj1
= 0 ;
23657 PyObject
* obj2
= 0 ;
23658 char *kwnames
[] = {
23659 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
23662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23665 arg1
= (int)(SWIG_As_int(obj0
));
23666 if (SWIG_arg_fail(1)) SWIG_fail
;
23671 arg2
= (int)(SWIG_As_int(obj1
));
23672 if (SWIG_arg_fail(2)) SWIG_fail
;
23677 arg3
= (int)(SWIG_As_int(obj2
));
23678 if (SWIG_arg_fail(3)) SWIG_fail
;
23682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23683 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
23685 wxPyEndAllowThreads(__tstate
);
23686 if (PyErr_Occurred()) SWIG_fail
;
23688 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
23695 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23696 PyObject
*resultobj
;
23697 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
23698 PyObject
* obj0
= 0 ;
23699 char *kwnames
[] = {
23700 (char *) "self", NULL
23703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
23704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
23705 if (SWIG_arg_fail(1)) SWIG_fail
;
23707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23710 wxPyEndAllowThreads(__tstate
);
23711 if (PyErr_Occurred()) SWIG_fail
;
23713 Py_INCREF(Py_None
); resultobj
= Py_None
;
23720 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23721 PyObject
*resultobj
;
23722 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
23726 PyObject
* obj0
= 0 ;
23727 PyObject
* obj1
= 0 ;
23728 PyObject
* obj2
= 0 ;
23729 PyObject
* obj3
= 0 ;
23730 char *kwnames
[] = {
23731 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
23734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
23736 if (SWIG_arg_fail(1)) SWIG_fail
;
23738 arg2
= (int)(SWIG_As_int(obj1
));
23739 if (SWIG_arg_fail(2)) SWIG_fail
;
23742 arg3
= (int)(SWIG_As_int(obj2
));
23743 if (SWIG_arg_fail(3)) SWIG_fail
;
23746 arg4
= (int)(SWIG_As_int(obj3
));
23747 if (SWIG_arg_fail(4)) SWIG_fail
;
23750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23751 (arg1
)->Set(arg2
,arg3
,arg4
);
23753 wxPyEndAllowThreads(__tstate
);
23754 if (PyErr_Occurred()) SWIG_fail
;
23756 Py_INCREF(Py_None
); resultobj
= Py_None
;
23763 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23764 PyObject
*resultobj
;
23765 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
23767 PyObject
* obj0
= 0 ;
23768 char *kwnames
[] = {
23769 (char *) "self", NULL
23772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
23773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
23774 if (SWIG_arg_fail(1)) SWIG_fail
;
23776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23777 result
= (int)(arg1
)->GetFlags();
23779 wxPyEndAllowThreads(__tstate
);
23780 if (PyErr_Occurred()) SWIG_fail
;
23783 resultobj
= SWIG_From_int((int)(result
));
23791 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23792 PyObject
*resultobj
;
23793 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
23795 PyObject
* obj0
= 0 ;
23796 char *kwnames
[] = {
23797 (char *) "self", NULL
23800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
23802 if (SWIG_arg_fail(1)) SWIG_fail
;
23804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23805 result
= (int)(arg1
)->GetKeyCode();
23807 wxPyEndAllowThreads(__tstate
);
23808 if (PyErr_Occurred()) SWIG_fail
;
23811 resultobj
= SWIG_From_int((int)(result
));
23819 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23820 PyObject
*resultobj
;
23821 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
23823 PyObject
* obj0
= 0 ;
23824 char *kwnames
[] = {
23825 (char *) "self", NULL
23828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
23829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
23830 if (SWIG_arg_fail(1)) SWIG_fail
;
23832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23833 result
= (int)(arg1
)->GetCommand();
23835 wxPyEndAllowThreads(__tstate
);
23836 if (PyErr_Occurred()) SWIG_fail
;
23839 resultobj
= SWIG_From_int((int)(result
));
23847 static PyObject
* AcceleratorEntry_swigregister(PyObject
*, PyObject
*args
) {
23849 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23850 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
23852 return Py_BuildValue((char *)"");
23854 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23855 PyObject
*resultobj
;
23857 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
23858 wxAcceleratorTable
*result
;
23859 PyObject
* obj0
= 0 ;
23860 char *kwnames
[] = {
23864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
23866 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
23867 if (arg2
) arg1
= PyList_Size(obj0
);
23871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23872 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
23874 wxPyEndAllowThreads(__tstate
);
23875 if (PyErr_Occurred()) SWIG_fail
;
23877 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
23890 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23891 PyObject
*resultobj
;
23892 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
23893 PyObject
* obj0
= 0 ;
23894 char *kwnames
[] = {
23895 (char *) "self", NULL
23898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
23899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
23900 if (SWIG_arg_fail(1)) SWIG_fail
;
23902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23905 wxPyEndAllowThreads(__tstate
);
23906 if (PyErr_Occurred()) SWIG_fail
;
23908 Py_INCREF(Py_None
); resultobj
= Py_None
;
23915 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23916 PyObject
*resultobj
;
23917 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
23919 PyObject
* obj0
= 0 ;
23920 char *kwnames
[] = {
23921 (char *) "self", NULL
23924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
23925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
23926 if (SWIG_arg_fail(1)) SWIG_fail
;
23928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23929 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
23931 wxPyEndAllowThreads(__tstate
);
23932 if (PyErr_Occurred()) SWIG_fail
;
23935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23943 static PyObject
* AcceleratorTable_swigregister(PyObject
*, PyObject
*args
) {
23945 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23946 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
23948 return Py_BuildValue((char *)"");
23950 static int _wrap_NullAcceleratorTable_set(PyObject
*) {
23951 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
23956 static PyObject
*_wrap_NullAcceleratorTable_get(void) {
23959 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
23964 static PyObject
*_wrap_GetAccelFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23965 PyObject
*resultobj
;
23966 wxString
*arg1
= 0 ;
23967 wxAcceleratorEntry
*result
;
23968 bool temp1
= false ;
23969 PyObject
* obj0
= 0 ;
23970 char *kwnames
[] = {
23971 (char *) "label", NULL
23974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
23976 arg1
= wxString_in_helper(obj0
);
23977 if (arg1
== NULL
) SWIG_fail
;
23981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23982 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
23984 wxPyEndAllowThreads(__tstate
);
23985 if (PyErr_Occurred()) SWIG_fail
;
23987 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
24002 static int _wrap_PanelNameStr_set(PyObject
*) {
24003 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
24008 static PyObject
*_wrap_PanelNameStr_get(void) {
24013 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
24015 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
24022 static PyObject
*_wrap_new_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24023 PyObject
*resultobj
;
24024 wxVisualAttributes
*result
;
24025 char *kwnames
[] = {
24029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
24031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24032 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
24034 wxPyEndAllowThreads(__tstate
);
24035 if (PyErr_Occurred()) SWIG_fail
;
24037 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
24044 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24045 PyObject
*resultobj
;
24046 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24047 PyObject
* obj0
= 0 ;
24048 char *kwnames
[] = {
24049 (char *) "self", NULL
24052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
24053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24054 if (SWIG_arg_fail(1)) SWIG_fail
;
24056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24057 delete_wxVisualAttributes(arg1
);
24059 wxPyEndAllowThreads(__tstate
);
24060 if (PyErr_Occurred()) SWIG_fail
;
24062 Py_INCREF(Py_None
); resultobj
= Py_None
;
24069 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24070 PyObject
*resultobj
;
24071 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24072 wxFont
*arg2
= (wxFont
*) 0 ;
24073 PyObject
* obj0
= 0 ;
24074 PyObject
* obj1
= 0 ;
24075 char *kwnames
[] = {
24076 (char *) "self",(char *) "font", NULL
24079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24081 if (SWIG_arg_fail(1)) SWIG_fail
;
24082 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
24083 if (SWIG_arg_fail(2)) SWIG_fail
;
24084 if (arg1
) (arg1
)->font
= *arg2
;
24086 Py_INCREF(Py_None
); resultobj
= Py_None
;
24093 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24094 PyObject
*resultobj
;
24095 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24097 PyObject
* obj0
= 0 ;
24098 char *kwnames
[] = {
24099 (char *) "self", NULL
24102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
24103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24104 if (SWIG_arg_fail(1)) SWIG_fail
;
24105 result
= (wxFont
*)& ((arg1
)->font
);
24107 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
24114 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24115 PyObject
*resultobj
;
24116 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24117 wxColour
*arg2
= (wxColour
*) 0 ;
24118 PyObject
* obj0
= 0 ;
24119 PyObject
* obj1
= 0 ;
24120 char *kwnames
[] = {
24121 (char *) "self",(char *) "colFg", NULL
24124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24126 if (SWIG_arg_fail(1)) SWIG_fail
;
24127 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
24128 if (SWIG_arg_fail(2)) SWIG_fail
;
24129 if (arg1
) (arg1
)->colFg
= *arg2
;
24131 Py_INCREF(Py_None
); resultobj
= Py_None
;
24138 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24139 PyObject
*resultobj
;
24140 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24142 PyObject
* obj0
= 0 ;
24143 char *kwnames
[] = {
24144 (char *) "self", NULL
24147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
24148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24149 if (SWIG_arg_fail(1)) SWIG_fail
;
24150 result
= (wxColour
*)& ((arg1
)->colFg
);
24152 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
24159 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24160 PyObject
*resultobj
;
24161 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24162 wxColour
*arg2
= (wxColour
*) 0 ;
24163 PyObject
* obj0
= 0 ;
24164 PyObject
* obj1
= 0 ;
24165 char *kwnames
[] = {
24166 (char *) "self",(char *) "colBg", NULL
24169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24171 if (SWIG_arg_fail(1)) SWIG_fail
;
24172 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
24173 if (SWIG_arg_fail(2)) SWIG_fail
;
24174 if (arg1
) (arg1
)->colBg
= *arg2
;
24176 Py_INCREF(Py_None
); resultobj
= Py_None
;
24183 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24184 PyObject
*resultobj
;
24185 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24187 PyObject
* obj0
= 0 ;
24188 char *kwnames
[] = {
24189 (char *) "self", NULL
24192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
24193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24194 if (SWIG_arg_fail(1)) SWIG_fail
;
24195 result
= (wxColour
*)& ((arg1
)->colBg
);
24197 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
24204 static PyObject
* VisualAttributes_swigregister(PyObject
*, PyObject
*args
) {
24206 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24207 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
24209 return Py_BuildValue((char *)"");
24211 static PyObject
*_wrap_new_Window(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24212 PyObject
*resultobj
;
24213 wxWindow
*arg1
= (wxWindow
*) 0 ;
24214 int arg2
= (int) (int)-1 ;
24215 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24216 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24217 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24218 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24219 long arg5
= (long) 0 ;
24220 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
24221 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
24225 bool temp6
= false ;
24226 PyObject
* obj0
= 0 ;
24227 PyObject
* obj1
= 0 ;
24228 PyObject
* obj2
= 0 ;
24229 PyObject
* obj3
= 0 ;
24230 PyObject
* obj4
= 0 ;
24231 PyObject
* obj5
= 0 ;
24232 char *kwnames
[] = {
24233 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24238 if (SWIG_arg_fail(1)) SWIG_fail
;
24241 arg2
= (int const)(SWIG_As_int(obj1
));
24242 if (SWIG_arg_fail(2)) SWIG_fail
;
24248 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24254 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24259 arg5
= (long)(SWIG_As_long(obj4
));
24260 if (SWIG_arg_fail(5)) SWIG_fail
;
24265 arg6
= wxString_in_helper(obj5
);
24266 if (arg6
== NULL
) SWIG_fail
;
24271 if (!wxPyCheckForApp()) SWIG_fail
;
24272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24273 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
24275 wxPyEndAllowThreads(__tstate
);
24276 if (PyErr_Occurred()) SWIG_fail
;
24278 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
24293 static PyObject
*_wrap_new_PreWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24294 PyObject
*resultobj
;
24296 char *kwnames
[] = {
24300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
24302 if (!wxPyCheckForApp()) SWIG_fail
;
24303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24304 result
= (wxWindow
*)new wxWindow();
24306 wxPyEndAllowThreads(__tstate
);
24307 if (PyErr_Occurred()) SWIG_fail
;
24309 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
24316 static PyObject
*_wrap_Window_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24317 PyObject
*resultobj
;
24318 wxWindow
*arg1
= (wxWindow
*) 0 ;
24319 wxWindow
*arg2
= (wxWindow
*) 0 ;
24320 int arg3
= (int) (int)-1 ;
24321 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24322 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24323 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24324 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24325 long arg6
= (long) 0 ;
24326 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
24327 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24331 bool temp7
= false ;
24332 PyObject
* obj0
= 0 ;
24333 PyObject
* obj1
= 0 ;
24334 PyObject
* obj2
= 0 ;
24335 PyObject
* obj3
= 0 ;
24336 PyObject
* obj4
= 0 ;
24337 PyObject
* obj5
= 0 ;
24338 PyObject
* obj6
= 0 ;
24339 char *kwnames
[] = {
24340 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24345 if (SWIG_arg_fail(1)) SWIG_fail
;
24346 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24347 if (SWIG_arg_fail(2)) SWIG_fail
;
24350 arg3
= (int const)(SWIG_As_int(obj2
));
24351 if (SWIG_arg_fail(3)) SWIG_fail
;
24357 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24363 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24368 arg6
= (long)(SWIG_As_long(obj5
));
24369 if (SWIG_arg_fail(6)) SWIG_fail
;
24374 arg7
= wxString_in_helper(obj6
);
24375 if (arg7
== NULL
) SWIG_fail
;
24380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24381 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24383 wxPyEndAllowThreads(__tstate
);
24384 if (PyErr_Occurred()) SWIG_fail
;
24387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24403 static PyObject
*_wrap_Window_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24404 PyObject
*resultobj
;
24405 wxWindow
*arg1
= (wxWindow
*) 0 ;
24406 bool arg2
= (bool) false ;
24408 PyObject
* obj0
= 0 ;
24409 PyObject
* obj1
= 0 ;
24410 char *kwnames
[] = {
24411 (char *) "self",(char *) "force", NULL
24414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
24415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24416 if (SWIG_arg_fail(1)) SWIG_fail
;
24419 arg2
= (bool)(SWIG_As_bool(obj1
));
24420 if (SWIG_arg_fail(2)) SWIG_fail
;
24424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24425 result
= (bool)(arg1
)->Close(arg2
);
24427 wxPyEndAllowThreads(__tstate
);
24428 if (PyErr_Occurred()) SWIG_fail
;
24431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24439 static PyObject
*_wrap_Window_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24440 PyObject
*resultobj
;
24441 wxWindow
*arg1
= (wxWindow
*) 0 ;
24443 PyObject
* obj0
= 0 ;
24444 char *kwnames
[] = {
24445 (char *) "self", NULL
24448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
24449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24450 if (SWIG_arg_fail(1)) SWIG_fail
;
24452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24453 result
= (bool)(arg1
)->Destroy();
24455 wxPyEndAllowThreads(__tstate
);
24456 if (PyErr_Occurred()) SWIG_fail
;
24459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24467 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24468 PyObject
*resultobj
;
24469 wxWindow
*arg1
= (wxWindow
*) 0 ;
24471 PyObject
* obj0
= 0 ;
24472 char *kwnames
[] = {
24473 (char *) "self", NULL
24476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
24477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24478 if (SWIG_arg_fail(1)) SWIG_fail
;
24480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24481 result
= (bool)(arg1
)->DestroyChildren();
24483 wxPyEndAllowThreads(__tstate
);
24484 if (PyErr_Occurred()) SWIG_fail
;
24487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24495 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24496 PyObject
*resultobj
;
24497 wxWindow
*arg1
= (wxWindow
*) 0 ;
24499 PyObject
* obj0
= 0 ;
24500 char *kwnames
[] = {
24501 (char *) "self", NULL
24504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
24505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24506 if (SWIG_arg_fail(1)) SWIG_fail
;
24508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24509 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
24511 wxPyEndAllowThreads(__tstate
);
24512 if (PyErr_Occurred()) SWIG_fail
;
24515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24523 static PyObject
*_wrap_Window_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24524 PyObject
*resultobj
;
24525 wxWindow
*arg1
= (wxWindow
*) 0 ;
24526 wxString
*arg2
= 0 ;
24527 bool temp2
= false ;
24528 PyObject
* obj0
= 0 ;
24529 PyObject
* obj1
= 0 ;
24530 char *kwnames
[] = {
24531 (char *) "self",(char *) "title", NULL
24534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
24535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24536 if (SWIG_arg_fail(1)) SWIG_fail
;
24538 arg2
= wxString_in_helper(obj1
);
24539 if (arg2
== NULL
) SWIG_fail
;
24543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24544 (arg1
)->SetTitle((wxString
const &)*arg2
);
24546 wxPyEndAllowThreads(__tstate
);
24547 if (PyErr_Occurred()) SWIG_fail
;
24549 Py_INCREF(Py_None
); resultobj
= Py_None
;
24564 static PyObject
*_wrap_Window_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24565 PyObject
*resultobj
;
24566 wxWindow
*arg1
= (wxWindow
*) 0 ;
24568 PyObject
* obj0
= 0 ;
24569 char *kwnames
[] = {
24570 (char *) "self", NULL
24573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
24574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24575 if (SWIG_arg_fail(1)) SWIG_fail
;
24577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24578 result
= ((wxWindow
const *)arg1
)->GetTitle();
24580 wxPyEndAllowThreads(__tstate
);
24581 if (PyErr_Occurred()) SWIG_fail
;
24585 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24587 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24596 static PyObject
*_wrap_Window_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24597 PyObject
*resultobj
;
24598 wxWindow
*arg1
= (wxWindow
*) 0 ;
24599 wxString
*arg2
= 0 ;
24600 bool temp2
= false ;
24601 PyObject
* obj0
= 0 ;
24602 PyObject
* obj1
= 0 ;
24603 char *kwnames
[] = {
24604 (char *) "self",(char *) "label", NULL
24607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
24608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24609 if (SWIG_arg_fail(1)) SWIG_fail
;
24611 arg2
= wxString_in_helper(obj1
);
24612 if (arg2
== NULL
) SWIG_fail
;
24616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24617 (arg1
)->SetLabel((wxString
const &)*arg2
);
24619 wxPyEndAllowThreads(__tstate
);
24620 if (PyErr_Occurred()) SWIG_fail
;
24622 Py_INCREF(Py_None
); resultobj
= Py_None
;
24637 static PyObject
*_wrap_Window_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24638 PyObject
*resultobj
;
24639 wxWindow
*arg1
= (wxWindow
*) 0 ;
24641 PyObject
* obj0
= 0 ;
24642 char *kwnames
[] = {
24643 (char *) "self", NULL
24646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
24647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24648 if (SWIG_arg_fail(1)) SWIG_fail
;
24650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24651 result
= ((wxWindow
const *)arg1
)->GetLabel();
24653 wxPyEndAllowThreads(__tstate
);
24654 if (PyErr_Occurred()) SWIG_fail
;
24658 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24660 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24669 static PyObject
*_wrap_Window_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24670 PyObject
*resultobj
;
24671 wxWindow
*arg1
= (wxWindow
*) 0 ;
24672 wxString
*arg2
= 0 ;
24673 bool temp2
= false ;
24674 PyObject
* obj0
= 0 ;
24675 PyObject
* obj1
= 0 ;
24676 char *kwnames
[] = {
24677 (char *) "self",(char *) "name", NULL
24680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
24681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24682 if (SWIG_arg_fail(1)) SWIG_fail
;
24684 arg2
= wxString_in_helper(obj1
);
24685 if (arg2
== NULL
) SWIG_fail
;
24689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24690 (arg1
)->SetName((wxString
const &)*arg2
);
24692 wxPyEndAllowThreads(__tstate
);
24693 if (PyErr_Occurred()) SWIG_fail
;
24695 Py_INCREF(Py_None
); resultobj
= Py_None
;
24710 static PyObject
*_wrap_Window_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24711 PyObject
*resultobj
;
24712 wxWindow
*arg1
= (wxWindow
*) 0 ;
24714 PyObject
* obj0
= 0 ;
24715 char *kwnames
[] = {
24716 (char *) "self", NULL
24719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
24720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24721 if (SWIG_arg_fail(1)) SWIG_fail
;
24723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24724 result
= ((wxWindow
const *)arg1
)->GetName();
24726 wxPyEndAllowThreads(__tstate
);
24727 if (PyErr_Occurred()) SWIG_fail
;
24731 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24733 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24742 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24743 PyObject
*resultobj
;
24744 wxWindow
*arg1
= (wxWindow
*) 0 ;
24745 wxWindowVariant arg2
;
24746 PyObject
* obj0
= 0 ;
24747 PyObject
* obj1
= 0 ;
24748 char *kwnames
[] = {
24749 (char *) "self",(char *) "variant", NULL
24752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
24753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24754 if (SWIG_arg_fail(1)) SWIG_fail
;
24756 arg2
= (wxWindowVariant
)(SWIG_As_int(obj1
));
24757 if (SWIG_arg_fail(2)) SWIG_fail
;
24760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24761 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
24763 wxPyEndAllowThreads(__tstate
);
24764 if (PyErr_Occurred()) SWIG_fail
;
24766 Py_INCREF(Py_None
); resultobj
= Py_None
;
24773 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24774 PyObject
*resultobj
;
24775 wxWindow
*arg1
= (wxWindow
*) 0 ;
24776 wxWindowVariant result
;
24777 PyObject
* obj0
= 0 ;
24778 char *kwnames
[] = {
24779 (char *) "self", NULL
24782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
24783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24784 if (SWIG_arg_fail(1)) SWIG_fail
;
24786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24787 result
= (wxWindowVariant
)((wxWindow
const *)arg1
)->GetWindowVariant();
24789 wxPyEndAllowThreads(__tstate
);
24790 if (PyErr_Occurred()) SWIG_fail
;
24792 resultobj
= SWIG_From_int((result
));
24799 static PyObject
*_wrap_Window_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24800 PyObject
*resultobj
;
24801 wxWindow
*arg1
= (wxWindow
*) 0 ;
24803 PyObject
* obj0
= 0 ;
24804 PyObject
* obj1
= 0 ;
24805 char *kwnames
[] = {
24806 (char *) "self",(char *) "winid", NULL
24809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24811 if (SWIG_arg_fail(1)) SWIG_fail
;
24813 arg2
= (int)(SWIG_As_int(obj1
));
24814 if (SWIG_arg_fail(2)) SWIG_fail
;
24817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24818 (arg1
)->SetId(arg2
);
24820 wxPyEndAllowThreads(__tstate
);
24821 if (PyErr_Occurred()) SWIG_fail
;
24823 Py_INCREF(Py_None
); resultobj
= Py_None
;
24830 static PyObject
*_wrap_Window_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24831 PyObject
*resultobj
;
24832 wxWindow
*arg1
= (wxWindow
*) 0 ;
24834 PyObject
* obj0
= 0 ;
24835 char *kwnames
[] = {
24836 (char *) "self", NULL
24839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
24840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24841 if (SWIG_arg_fail(1)) SWIG_fail
;
24843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24844 result
= (int)((wxWindow
const *)arg1
)->GetId();
24846 wxPyEndAllowThreads(__tstate
);
24847 if (PyErr_Occurred()) SWIG_fail
;
24850 resultobj
= SWIG_From_int((int)(result
));
24858 static PyObject
*_wrap_Window_NewControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24859 PyObject
*resultobj
;
24861 char *kwnames
[] = {
24865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
24867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24868 result
= (int)wxWindow::NewControlId();
24870 wxPyEndAllowThreads(__tstate
);
24871 if (PyErr_Occurred()) SWIG_fail
;
24874 resultobj
= SWIG_From_int((int)(result
));
24882 static PyObject
*_wrap_Window_NextControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24883 PyObject
*resultobj
;
24886 PyObject
* obj0
= 0 ;
24887 char *kwnames
[] = {
24888 (char *) "winid", NULL
24891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
24893 arg1
= (int)(SWIG_As_int(obj0
));
24894 if (SWIG_arg_fail(1)) SWIG_fail
;
24897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24898 result
= (int)wxWindow::NextControlId(arg1
);
24900 wxPyEndAllowThreads(__tstate
);
24901 if (PyErr_Occurred()) SWIG_fail
;
24904 resultobj
= SWIG_From_int((int)(result
));
24912 static PyObject
*_wrap_Window_PrevControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24913 PyObject
*resultobj
;
24916 PyObject
* obj0
= 0 ;
24917 char *kwnames
[] = {
24918 (char *) "winid", NULL
24921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
24923 arg1
= (int)(SWIG_As_int(obj0
));
24924 if (SWIG_arg_fail(1)) SWIG_fail
;
24927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24928 result
= (int)wxWindow::PrevControlId(arg1
);
24930 wxPyEndAllowThreads(__tstate
);
24931 if (PyErr_Occurred()) SWIG_fail
;
24934 resultobj
= SWIG_From_int((int)(result
));
24942 static PyObject
*_wrap_Window_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24943 PyObject
*resultobj
;
24944 wxWindow
*arg1
= (wxWindow
*) 0 ;
24947 PyObject
* obj0
= 0 ;
24948 PyObject
* obj1
= 0 ;
24949 char *kwnames
[] = {
24950 (char *) "self",(char *) "size", NULL
24953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24955 if (SWIG_arg_fail(1)) SWIG_fail
;
24958 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24962 (arg1
)->SetSize((wxSize
const &)*arg2
);
24964 wxPyEndAllowThreads(__tstate
);
24965 if (PyErr_Occurred()) SWIG_fail
;
24967 Py_INCREF(Py_None
); resultobj
= Py_None
;
24974 static PyObject
*_wrap_Window_SetDimensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24975 PyObject
*resultobj
;
24976 wxWindow
*arg1
= (wxWindow
*) 0 ;
24981 int arg6
= (int) wxSIZE_AUTO
;
24982 PyObject
* obj0
= 0 ;
24983 PyObject
* obj1
= 0 ;
24984 PyObject
* obj2
= 0 ;
24985 PyObject
* obj3
= 0 ;
24986 PyObject
* obj4
= 0 ;
24987 PyObject
* obj5
= 0 ;
24988 char *kwnames
[] = {
24989 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
24992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24994 if (SWIG_arg_fail(1)) SWIG_fail
;
24996 arg2
= (int)(SWIG_As_int(obj1
));
24997 if (SWIG_arg_fail(2)) SWIG_fail
;
25000 arg3
= (int)(SWIG_As_int(obj2
));
25001 if (SWIG_arg_fail(3)) SWIG_fail
;
25004 arg4
= (int)(SWIG_As_int(obj3
));
25005 if (SWIG_arg_fail(4)) SWIG_fail
;
25008 arg5
= (int)(SWIG_As_int(obj4
));
25009 if (SWIG_arg_fail(5)) SWIG_fail
;
25013 arg6
= (int)(SWIG_As_int(obj5
));
25014 if (SWIG_arg_fail(6)) SWIG_fail
;
25018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25019 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
25021 wxPyEndAllowThreads(__tstate
);
25022 if (PyErr_Occurred()) SWIG_fail
;
25024 Py_INCREF(Py_None
); resultobj
= Py_None
;
25031 static PyObject
*_wrap_Window_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25032 PyObject
*resultobj
;
25033 wxWindow
*arg1
= (wxWindow
*) 0 ;
25035 int arg3
= (int) wxSIZE_AUTO
;
25037 PyObject
* obj0
= 0 ;
25038 PyObject
* obj1
= 0 ;
25039 PyObject
* obj2
= 0 ;
25040 char *kwnames
[] = {
25041 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
25044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25046 if (SWIG_arg_fail(1)) SWIG_fail
;
25049 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25053 arg3
= (int)(SWIG_As_int(obj2
));
25054 if (SWIG_arg_fail(3)) SWIG_fail
;
25058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25059 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
25061 wxPyEndAllowThreads(__tstate
);
25062 if (PyErr_Occurred()) SWIG_fail
;
25064 Py_INCREF(Py_None
); resultobj
= Py_None
;
25071 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25072 PyObject
*resultobj
;
25073 wxWindow
*arg1
= (wxWindow
*) 0 ;
25076 PyObject
* obj0
= 0 ;
25077 PyObject
* obj1
= 0 ;
25078 PyObject
* obj2
= 0 ;
25079 char *kwnames
[] = {
25080 (char *) "self",(char *) "width",(char *) "height", NULL
25083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25085 if (SWIG_arg_fail(1)) SWIG_fail
;
25087 arg2
= (int)(SWIG_As_int(obj1
));
25088 if (SWIG_arg_fail(2)) SWIG_fail
;
25091 arg3
= (int)(SWIG_As_int(obj2
));
25092 if (SWIG_arg_fail(3)) SWIG_fail
;
25095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25096 (arg1
)->SetSize(arg2
,arg3
);
25098 wxPyEndAllowThreads(__tstate
);
25099 if (PyErr_Occurred()) SWIG_fail
;
25101 Py_INCREF(Py_None
); resultobj
= Py_None
;
25108 static PyObject
*_wrap_Window_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25109 PyObject
*resultobj
;
25110 wxWindow
*arg1
= (wxWindow
*) 0 ;
25111 wxPoint
*arg2
= 0 ;
25112 int arg3
= (int) wxSIZE_USE_EXISTING
;
25114 PyObject
* obj0
= 0 ;
25115 PyObject
* obj1
= 0 ;
25116 PyObject
* obj2
= 0 ;
25117 char *kwnames
[] = {
25118 (char *) "self",(char *) "pt",(char *) "flags", NULL
25121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25123 if (SWIG_arg_fail(1)) SWIG_fail
;
25126 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25130 arg3
= (int)(SWIG_As_int(obj2
));
25131 if (SWIG_arg_fail(3)) SWIG_fail
;
25135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25136 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
25138 wxPyEndAllowThreads(__tstate
);
25139 if (PyErr_Occurred()) SWIG_fail
;
25141 Py_INCREF(Py_None
); resultobj
= Py_None
;
25148 static PyObject
*_wrap_Window_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25149 PyObject
*resultobj
;
25150 wxWindow
*arg1
= (wxWindow
*) 0 ;
25153 int arg4
= (int) wxSIZE_USE_EXISTING
;
25154 PyObject
* obj0
= 0 ;
25155 PyObject
* obj1
= 0 ;
25156 PyObject
* obj2
= 0 ;
25157 PyObject
* obj3
= 0 ;
25158 char *kwnames
[] = {
25159 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
25162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25164 if (SWIG_arg_fail(1)) SWIG_fail
;
25166 arg2
= (int)(SWIG_As_int(obj1
));
25167 if (SWIG_arg_fail(2)) SWIG_fail
;
25170 arg3
= (int)(SWIG_As_int(obj2
));
25171 if (SWIG_arg_fail(3)) SWIG_fail
;
25175 arg4
= (int)(SWIG_As_int(obj3
));
25176 if (SWIG_arg_fail(4)) SWIG_fail
;
25180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25181 (arg1
)->Move(arg2
,arg3
,arg4
);
25183 wxPyEndAllowThreads(__tstate
);
25184 if (PyErr_Occurred()) SWIG_fail
;
25186 Py_INCREF(Py_None
); resultobj
= Py_None
;
25193 static PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25194 PyObject
*resultobj
;
25195 wxWindow
*arg1
= (wxWindow
*) 0 ;
25196 wxSize
const &arg2_defvalue
= wxDefaultSize
;
25197 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
25199 PyObject
* obj0
= 0 ;
25200 PyObject
* obj1
= 0 ;
25201 char *kwnames
[] = {
25202 (char *) "self",(char *) "size", NULL
25205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25207 if (SWIG_arg_fail(1)) SWIG_fail
;
25211 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25216 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
25218 wxPyEndAllowThreads(__tstate
);
25219 if (PyErr_Occurred()) SWIG_fail
;
25221 Py_INCREF(Py_None
); resultobj
= Py_None
;
25228 static PyObject
*_wrap_Window_Raise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25229 PyObject
*resultobj
;
25230 wxWindow
*arg1
= (wxWindow
*) 0 ;
25231 PyObject
* obj0
= 0 ;
25232 char *kwnames
[] = {
25233 (char *) "self", NULL
25236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
25237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25238 if (SWIG_arg_fail(1)) SWIG_fail
;
25240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25243 wxPyEndAllowThreads(__tstate
);
25244 if (PyErr_Occurred()) SWIG_fail
;
25246 Py_INCREF(Py_None
); resultobj
= Py_None
;
25253 static PyObject
*_wrap_Window_Lower(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25254 PyObject
*resultobj
;
25255 wxWindow
*arg1
= (wxWindow
*) 0 ;
25256 PyObject
* obj0
= 0 ;
25257 char *kwnames
[] = {
25258 (char *) "self", NULL
25261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
25262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25263 if (SWIG_arg_fail(1)) SWIG_fail
;
25265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25268 wxPyEndAllowThreads(__tstate
);
25269 if (PyErr_Occurred()) SWIG_fail
;
25271 Py_INCREF(Py_None
); resultobj
= Py_None
;
25278 static PyObject
*_wrap_Window_SetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25279 PyObject
*resultobj
;
25280 wxWindow
*arg1
= (wxWindow
*) 0 ;
25283 PyObject
* obj0
= 0 ;
25284 PyObject
* obj1
= 0 ;
25285 char *kwnames
[] = {
25286 (char *) "self",(char *) "size", NULL
25289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25291 if (SWIG_arg_fail(1)) SWIG_fail
;
25294 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25298 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
25300 wxPyEndAllowThreads(__tstate
);
25301 if (PyErr_Occurred()) SWIG_fail
;
25303 Py_INCREF(Py_None
); resultobj
= Py_None
;
25310 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25311 PyObject
*resultobj
;
25312 wxWindow
*arg1
= (wxWindow
*) 0 ;
25315 PyObject
* obj0
= 0 ;
25316 PyObject
* obj1
= 0 ;
25317 PyObject
* obj2
= 0 ;
25318 char *kwnames
[] = {
25319 (char *) "self",(char *) "width",(char *) "height", NULL
25322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25324 if (SWIG_arg_fail(1)) SWIG_fail
;
25326 arg2
= (int)(SWIG_As_int(obj1
));
25327 if (SWIG_arg_fail(2)) SWIG_fail
;
25330 arg3
= (int)(SWIG_As_int(obj2
));
25331 if (SWIG_arg_fail(3)) SWIG_fail
;
25334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25335 (arg1
)->SetClientSize(arg2
,arg3
);
25337 wxPyEndAllowThreads(__tstate
);
25338 if (PyErr_Occurred()) SWIG_fail
;
25340 Py_INCREF(Py_None
); resultobj
= Py_None
;
25347 static PyObject
*_wrap_Window_SetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25348 PyObject
*resultobj
;
25349 wxWindow
*arg1
= (wxWindow
*) 0 ;
25352 PyObject
* obj0
= 0 ;
25353 PyObject
* obj1
= 0 ;
25354 char *kwnames
[] = {
25355 (char *) "self",(char *) "rect", NULL
25358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25360 if (SWIG_arg_fail(1)) SWIG_fail
;
25363 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25367 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
25369 wxPyEndAllowThreads(__tstate
);
25370 if (PyErr_Occurred()) SWIG_fail
;
25372 Py_INCREF(Py_None
); resultobj
= Py_None
;
25379 static PyObject
*_wrap_Window_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25380 PyObject
*resultobj
;
25381 wxWindow
*arg1
= (wxWindow
*) 0 ;
25383 PyObject
* obj0
= 0 ;
25384 char *kwnames
[] = {
25385 (char *) "self", NULL
25388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
25389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25390 if (SWIG_arg_fail(1)) SWIG_fail
;
25392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25393 result
= (arg1
)->GetPosition();
25395 wxPyEndAllowThreads(__tstate
);
25396 if (PyErr_Occurred()) SWIG_fail
;
25399 wxPoint
* resultptr
;
25400 resultptr
= new wxPoint((wxPoint
&)(result
));
25401 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25409 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25410 PyObject
*resultobj
;
25411 wxWindow
*arg1
= (wxWindow
*) 0 ;
25412 int *arg2
= (int *) 0 ;
25413 int *arg3
= (int *) 0 ;
25418 PyObject
* obj0
= 0 ;
25419 char *kwnames
[] = {
25420 (char *) "self", NULL
25423 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25424 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
25426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25427 if (SWIG_arg_fail(1)) SWIG_fail
;
25429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25430 (arg1
)->GetPosition(arg2
,arg3
);
25432 wxPyEndAllowThreads(__tstate
);
25433 if (PyErr_Occurred()) SWIG_fail
;
25435 Py_INCREF(Py_None
); resultobj
= Py_None
;
25436 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25437 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25438 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25439 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25446 static PyObject
*_wrap_Window_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25447 PyObject
*resultobj
;
25448 wxWindow
*arg1
= (wxWindow
*) 0 ;
25450 PyObject
* obj0
= 0 ;
25451 char *kwnames
[] = {
25452 (char *) "self", NULL
25455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
25456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25457 if (SWIG_arg_fail(1)) SWIG_fail
;
25459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25460 result
= ((wxWindow
const *)arg1
)->GetSize();
25462 wxPyEndAllowThreads(__tstate
);
25463 if (PyErr_Occurred()) SWIG_fail
;
25466 wxSize
* resultptr
;
25467 resultptr
= new wxSize((wxSize
&)(result
));
25468 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25476 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25477 PyObject
*resultobj
;
25478 wxWindow
*arg1
= (wxWindow
*) 0 ;
25479 int *arg2
= (int *) 0 ;
25480 int *arg3
= (int *) 0 ;
25485 PyObject
* obj0
= 0 ;
25486 char *kwnames
[] = {
25487 (char *) "self", NULL
25490 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25491 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
25493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25494 if (SWIG_arg_fail(1)) SWIG_fail
;
25496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25497 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
25499 wxPyEndAllowThreads(__tstate
);
25500 if (PyErr_Occurred()) SWIG_fail
;
25502 Py_INCREF(Py_None
); resultobj
= Py_None
;
25503 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25504 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25505 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25506 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25513 static PyObject
*_wrap_Window_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25514 PyObject
*resultobj
;
25515 wxWindow
*arg1
= (wxWindow
*) 0 ;
25517 PyObject
* obj0
= 0 ;
25518 char *kwnames
[] = {
25519 (char *) "self", NULL
25522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
25523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25524 if (SWIG_arg_fail(1)) SWIG_fail
;
25526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25527 result
= ((wxWindow
const *)arg1
)->GetRect();
25529 wxPyEndAllowThreads(__tstate
);
25530 if (PyErr_Occurred()) SWIG_fail
;
25533 wxRect
* resultptr
;
25534 resultptr
= new wxRect((wxRect
&)(result
));
25535 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
25543 static PyObject
*_wrap_Window_GetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25544 PyObject
*resultobj
;
25545 wxWindow
*arg1
= (wxWindow
*) 0 ;
25547 PyObject
* obj0
= 0 ;
25548 char *kwnames
[] = {
25549 (char *) "self", NULL
25552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
25553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25554 if (SWIG_arg_fail(1)) SWIG_fail
;
25556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25557 result
= ((wxWindow
const *)arg1
)->GetClientSize();
25559 wxPyEndAllowThreads(__tstate
);
25560 if (PyErr_Occurred()) SWIG_fail
;
25563 wxSize
* resultptr
;
25564 resultptr
= new wxSize((wxSize
&)(result
));
25565 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25573 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25574 PyObject
*resultobj
;
25575 wxWindow
*arg1
= (wxWindow
*) 0 ;
25576 int *arg2
= (int *) 0 ;
25577 int *arg3
= (int *) 0 ;
25582 PyObject
* obj0
= 0 ;
25583 char *kwnames
[] = {
25584 (char *) "self", NULL
25587 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25588 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
25590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25591 if (SWIG_arg_fail(1)) SWIG_fail
;
25593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25594 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
25596 wxPyEndAllowThreads(__tstate
);
25597 if (PyErr_Occurred()) SWIG_fail
;
25599 Py_INCREF(Py_None
); resultobj
= Py_None
;
25600 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25601 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25602 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25603 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25610 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25611 PyObject
*resultobj
;
25612 wxWindow
*arg1
= (wxWindow
*) 0 ;
25614 PyObject
* obj0
= 0 ;
25615 char *kwnames
[] = {
25616 (char *) "self", NULL
25619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
25620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25621 if (SWIG_arg_fail(1)) SWIG_fail
;
25623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25624 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
25626 wxPyEndAllowThreads(__tstate
);
25627 if (PyErr_Occurred()) SWIG_fail
;
25630 wxPoint
* resultptr
;
25631 resultptr
= new wxPoint((wxPoint
&)(result
));
25632 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25640 static PyObject
*_wrap_Window_GetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25641 PyObject
*resultobj
;
25642 wxWindow
*arg1
= (wxWindow
*) 0 ;
25644 PyObject
* obj0
= 0 ;
25645 char *kwnames
[] = {
25646 (char *) "self", NULL
25649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
25650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25651 if (SWIG_arg_fail(1)) SWIG_fail
;
25653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25654 result
= ((wxWindow
const *)arg1
)->GetClientRect();
25656 wxPyEndAllowThreads(__tstate
);
25657 if (PyErr_Occurred()) SWIG_fail
;
25660 wxRect
* resultptr
;
25661 resultptr
= new wxRect((wxRect
&)(result
));
25662 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
25670 static PyObject
*_wrap_Window_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25671 PyObject
*resultobj
;
25672 wxWindow
*arg1
= (wxWindow
*) 0 ;
25674 PyObject
* obj0
= 0 ;
25675 char *kwnames
[] = {
25676 (char *) "self", NULL
25679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
25680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25681 if (SWIG_arg_fail(1)) SWIG_fail
;
25683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25684 result
= ((wxWindow
const *)arg1
)->GetBestSize();
25686 wxPyEndAllowThreads(__tstate
);
25687 if (PyErr_Occurred()) SWIG_fail
;
25690 wxSize
* resultptr
;
25691 resultptr
= new wxSize((wxSize
&)(result
));
25692 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25700 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25701 PyObject
*resultobj
;
25702 wxWindow
*arg1
= (wxWindow
*) 0 ;
25703 int *arg2
= (int *) 0 ;
25704 int *arg3
= (int *) 0 ;
25709 PyObject
* obj0
= 0 ;
25710 char *kwnames
[] = {
25711 (char *) "self", NULL
25714 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25715 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
25717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25718 if (SWIG_arg_fail(1)) SWIG_fail
;
25720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25721 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
25723 wxPyEndAllowThreads(__tstate
);
25724 if (PyErr_Occurred()) SWIG_fail
;
25726 Py_INCREF(Py_None
); resultobj
= Py_None
;
25727 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25728 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25729 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25730 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25737 static PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25738 PyObject
*resultobj
;
25739 wxWindow
*arg1
= (wxWindow
*) 0 ;
25740 PyObject
* obj0
= 0 ;
25741 char *kwnames
[] = {
25742 (char *) "self", NULL
25745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
25746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25747 if (SWIG_arg_fail(1)) SWIG_fail
;
25749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25750 (arg1
)->InvalidateBestSize();
25752 wxPyEndAllowThreads(__tstate
);
25753 if (PyErr_Occurred()) SWIG_fail
;
25755 Py_INCREF(Py_None
); resultobj
= Py_None
;
25762 static PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25763 PyObject
*resultobj
;
25764 wxWindow
*arg1
= (wxWindow
*) 0 ;
25766 PyObject
* obj0
= 0 ;
25767 char *kwnames
[] = {
25768 (char *) "self", NULL
25771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",kwnames
,&obj0
)) goto fail
;
25772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25773 if (SWIG_arg_fail(1)) SWIG_fail
;
25775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25776 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
25778 wxPyEndAllowThreads(__tstate
);
25779 if (PyErr_Occurred()) SWIG_fail
;
25782 wxSize
* resultptr
;
25783 resultptr
= new wxSize((wxSize
&)(result
));
25784 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25792 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25793 PyObject
*resultobj
;
25794 wxWindow
*arg1
= (wxWindow
*) 0 ;
25796 PyObject
* obj0
= 0 ;
25797 char *kwnames
[] = {
25798 (char *) "self", NULL
25801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
25802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25803 if (SWIG_arg_fail(1)) SWIG_fail
;
25805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25806 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
25808 wxPyEndAllowThreads(__tstate
);
25809 if (PyErr_Occurred()) SWIG_fail
;
25812 wxSize
* resultptr
;
25813 resultptr
= new wxSize((wxSize
&)(result
));
25814 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25822 static PyObject
*_wrap_Window_Center(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25823 PyObject
*resultobj
;
25824 wxWindow
*arg1
= (wxWindow
*) 0 ;
25825 int arg2
= (int) wxBOTH
;
25826 PyObject
* obj0
= 0 ;
25827 PyObject
* obj1
= 0 ;
25828 char *kwnames
[] = {
25829 (char *) "self",(char *) "direction", NULL
25832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
25833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25834 if (SWIG_arg_fail(1)) SWIG_fail
;
25837 arg2
= (int)(SWIG_As_int(obj1
));
25838 if (SWIG_arg_fail(2)) SWIG_fail
;
25842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25843 (arg1
)->Center(arg2
);
25845 wxPyEndAllowThreads(__tstate
);
25846 if (PyErr_Occurred()) SWIG_fail
;
25848 Py_INCREF(Py_None
); resultobj
= Py_None
;
25855 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25856 PyObject
*resultobj
;
25857 wxWindow
*arg1
= (wxWindow
*) 0 ;
25858 int arg2
= (int) wxBOTH
;
25859 PyObject
* obj0
= 0 ;
25860 PyObject
* obj1
= 0 ;
25861 char *kwnames
[] = {
25862 (char *) "self",(char *) "dir", NULL
25865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
25866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25867 if (SWIG_arg_fail(1)) SWIG_fail
;
25870 arg2
= (int)(SWIG_As_int(obj1
));
25871 if (SWIG_arg_fail(2)) SWIG_fail
;
25875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25876 (arg1
)->CenterOnScreen(arg2
);
25878 wxPyEndAllowThreads(__tstate
);
25879 if (PyErr_Occurred()) SWIG_fail
;
25881 Py_INCREF(Py_None
); resultobj
= Py_None
;
25888 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25889 PyObject
*resultobj
;
25890 wxWindow
*arg1
= (wxWindow
*) 0 ;
25891 int arg2
= (int) wxBOTH
;
25892 PyObject
* obj0
= 0 ;
25893 PyObject
* obj1
= 0 ;
25894 char *kwnames
[] = {
25895 (char *) "self",(char *) "dir", NULL
25898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
25899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25900 if (SWIG_arg_fail(1)) SWIG_fail
;
25903 arg2
= (int)(SWIG_As_int(obj1
));
25904 if (SWIG_arg_fail(2)) SWIG_fail
;
25908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25909 (arg1
)->CenterOnParent(arg2
);
25911 wxPyEndAllowThreads(__tstate
);
25912 if (PyErr_Occurred()) SWIG_fail
;
25914 Py_INCREF(Py_None
); resultobj
= Py_None
;
25921 static PyObject
*_wrap_Window_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25922 PyObject
*resultobj
;
25923 wxWindow
*arg1
= (wxWindow
*) 0 ;
25924 PyObject
* obj0
= 0 ;
25925 char *kwnames
[] = {
25926 (char *) "self", NULL
25929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
25930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25931 if (SWIG_arg_fail(1)) SWIG_fail
;
25933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25936 wxPyEndAllowThreads(__tstate
);
25937 if (PyErr_Occurred()) SWIG_fail
;
25939 Py_INCREF(Py_None
); resultobj
= Py_None
;
25946 static PyObject
*_wrap_Window_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25947 PyObject
*resultobj
;
25948 wxWindow
*arg1
= (wxWindow
*) 0 ;
25949 PyObject
* obj0
= 0 ;
25950 char *kwnames
[] = {
25951 (char *) "self", NULL
25954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
25955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25956 if (SWIG_arg_fail(1)) SWIG_fail
;
25958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25959 (arg1
)->FitInside();
25961 wxPyEndAllowThreads(__tstate
);
25962 if (PyErr_Occurred()) SWIG_fail
;
25964 Py_INCREF(Py_None
); resultobj
= Py_None
;
25971 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25972 PyObject
*resultobj
;
25973 wxWindow
*arg1
= (wxWindow
*) 0 ;
25976 int arg4
= (int) -1 ;
25977 int arg5
= (int) -1 ;
25978 int arg6
= (int) -1 ;
25979 int arg7
= (int) -1 ;
25980 PyObject
* obj0
= 0 ;
25981 PyObject
* obj1
= 0 ;
25982 PyObject
* obj2
= 0 ;
25983 PyObject
* obj3
= 0 ;
25984 PyObject
* obj4
= 0 ;
25985 PyObject
* obj5
= 0 ;
25986 PyObject
* obj6
= 0 ;
25987 char *kwnames
[] = {
25988 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
25991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25993 if (SWIG_arg_fail(1)) SWIG_fail
;
25995 arg2
= (int)(SWIG_As_int(obj1
));
25996 if (SWIG_arg_fail(2)) SWIG_fail
;
25999 arg3
= (int)(SWIG_As_int(obj2
));
26000 if (SWIG_arg_fail(3)) SWIG_fail
;
26004 arg4
= (int)(SWIG_As_int(obj3
));
26005 if (SWIG_arg_fail(4)) SWIG_fail
;
26010 arg5
= (int)(SWIG_As_int(obj4
));
26011 if (SWIG_arg_fail(5)) SWIG_fail
;
26016 arg6
= (int)(SWIG_As_int(obj5
));
26017 if (SWIG_arg_fail(6)) SWIG_fail
;
26022 arg7
= (int)(SWIG_As_int(obj6
));
26023 if (SWIG_arg_fail(7)) SWIG_fail
;
26027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26028 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26030 wxPyEndAllowThreads(__tstate
);
26031 if (PyErr_Occurred()) SWIG_fail
;
26033 Py_INCREF(Py_None
); resultobj
= Py_None
;
26040 static PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26041 PyObject
*resultobj
;
26042 wxWindow
*arg1
= (wxWindow
*) 0 ;
26044 wxSize
const &arg3_defvalue
= wxDefaultSize
;
26045 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
26046 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26047 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26051 PyObject
* obj0
= 0 ;
26052 PyObject
* obj1
= 0 ;
26053 PyObject
* obj2
= 0 ;
26054 PyObject
* obj3
= 0 ;
26055 char *kwnames
[] = {
26056 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
26059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26061 if (SWIG_arg_fail(1)) SWIG_fail
;
26064 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26069 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26075 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26080 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
26082 wxPyEndAllowThreads(__tstate
);
26083 if (PyErr_Occurred()) SWIG_fail
;
26085 Py_INCREF(Py_None
); resultobj
= Py_None
;
26092 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26093 PyObject
*resultobj
;
26094 wxWindow
*arg1
= (wxWindow
*) 0 ;
26097 int arg4
= (int) -1 ;
26098 int arg5
= (int) -1 ;
26099 PyObject
* obj0
= 0 ;
26100 PyObject
* obj1
= 0 ;
26101 PyObject
* obj2
= 0 ;
26102 PyObject
* obj3
= 0 ;
26103 PyObject
* obj4
= 0 ;
26104 char *kwnames
[] = {
26105 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
26108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26110 if (SWIG_arg_fail(1)) SWIG_fail
;
26112 arg2
= (int)(SWIG_As_int(obj1
));
26113 if (SWIG_arg_fail(2)) SWIG_fail
;
26116 arg3
= (int)(SWIG_As_int(obj2
));
26117 if (SWIG_arg_fail(3)) SWIG_fail
;
26121 arg4
= (int)(SWIG_As_int(obj3
));
26122 if (SWIG_arg_fail(4)) SWIG_fail
;
26127 arg5
= (int)(SWIG_As_int(obj4
));
26128 if (SWIG_arg_fail(5)) SWIG_fail
;
26132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26133 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
26135 wxPyEndAllowThreads(__tstate
);
26136 if (PyErr_Occurred()) SWIG_fail
;
26138 Py_INCREF(Py_None
); resultobj
= Py_None
;
26145 static PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26146 PyObject
*resultobj
;
26147 wxWindow
*arg1
= (wxWindow
*) 0 ;
26149 wxSize
const &arg3_defvalue
= wxDefaultSize
;
26150 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
26153 PyObject
* obj0
= 0 ;
26154 PyObject
* obj1
= 0 ;
26155 PyObject
* obj2
= 0 ;
26156 char *kwnames
[] = {
26157 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
26160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26162 if (SWIG_arg_fail(1)) SWIG_fail
;
26165 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26170 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26175 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
26177 wxPyEndAllowThreads(__tstate
);
26178 if (PyErr_Occurred()) SWIG_fail
;
26180 Py_INCREF(Py_None
); resultobj
= Py_None
;
26187 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26188 PyObject
*resultobj
;
26189 wxWindow
*arg1
= (wxWindow
*) 0 ;
26191 PyObject
* obj0
= 0 ;
26192 char *kwnames
[] = {
26193 (char *) "self", NULL
26196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
26197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26198 if (SWIG_arg_fail(1)) SWIG_fail
;
26200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26201 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
26203 wxPyEndAllowThreads(__tstate
);
26204 if (PyErr_Occurred()) SWIG_fail
;
26207 wxSize
* resultptr
;
26208 resultptr
= new wxSize((wxSize
&)(result
));
26209 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26217 static PyObject
*_wrap_Window_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26218 PyObject
*resultobj
;
26219 wxWindow
*arg1
= (wxWindow
*) 0 ;
26221 PyObject
* obj0
= 0 ;
26222 char *kwnames
[] = {
26223 (char *) "self", NULL
26226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
26227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26228 if (SWIG_arg_fail(1)) SWIG_fail
;
26230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26231 result
= ((wxWindow
const *)arg1
)->GetMinSize();
26233 wxPyEndAllowThreads(__tstate
);
26234 if (PyErr_Occurred()) SWIG_fail
;
26237 wxSize
* resultptr
;
26238 resultptr
= new wxSize((wxSize
&)(result
));
26239 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26247 static PyObject
*_wrap_Window_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26248 PyObject
*resultobj
;
26249 wxWindow
*arg1
= (wxWindow
*) 0 ;
26252 PyObject
* obj0
= 0 ;
26253 PyObject
* obj1
= 0 ;
26254 char *kwnames
[] = {
26255 (char *) "self",(char *) "minSize", NULL
26258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26260 if (SWIG_arg_fail(1)) SWIG_fail
;
26263 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26267 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
26269 wxPyEndAllowThreads(__tstate
);
26270 if (PyErr_Occurred()) SWIG_fail
;
26272 Py_INCREF(Py_None
); resultobj
= Py_None
;
26279 static PyObject
*_wrap_Window_SetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26280 PyObject
*resultobj
;
26281 wxWindow
*arg1
= (wxWindow
*) 0 ;
26284 PyObject
* obj0
= 0 ;
26285 PyObject
* obj1
= 0 ;
26286 char *kwnames
[] = {
26287 (char *) "self",(char *) "maxSize", NULL
26290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26292 if (SWIG_arg_fail(1)) SWIG_fail
;
26295 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26299 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
26301 wxPyEndAllowThreads(__tstate
);
26302 if (PyErr_Occurred()) SWIG_fail
;
26304 Py_INCREF(Py_None
); resultobj
= Py_None
;
26311 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26312 PyObject
*resultobj
;
26313 wxWindow
*arg1
= (wxWindow
*) 0 ;
26315 PyObject
* obj0
= 0 ;
26316 char *kwnames
[] = {
26317 (char *) "self", NULL
26320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
26321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26322 if (SWIG_arg_fail(1)) SWIG_fail
;
26324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26325 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
26327 wxPyEndAllowThreads(__tstate
);
26328 if (PyErr_Occurred()) SWIG_fail
;
26331 resultobj
= SWIG_From_int((int)(result
));
26339 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26340 PyObject
*resultobj
;
26341 wxWindow
*arg1
= (wxWindow
*) 0 ;
26343 PyObject
* obj0
= 0 ;
26344 char *kwnames
[] = {
26345 (char *) "self", NULL
26348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
26349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26350 if (SWIG_arg_fail(1)) SWIG_fail
;
26352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26353 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
26355 wxPyEndAllowThreads(__tstate
);
26356 if (PyErr_Occurred()) SWIG_fail
;
26359 resultobj
= SWIG_From_int((int)(result
));
26367 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26368 PyObject
*resultobj
;
26369 wxWindow
*arg1
= (wxWindow
*) 0 ;
26371 PyObject
* obj0
= 0 ;
26372 char *kwnames
[] = {
26373 (char *) "self", NULL
26376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
26377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26378 if (SWIG_arg_fail(1)) SWIG_fail
;
26380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26381 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
26383 wxPyEndAllowThreads(__tstate
);
26384 if (PyErr_Occurred()) SWIG_fail
;
26387 resultobj
= SWIG_From_int((int)(result
));
26395 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26396 PyObject
*resultobj
;
26397 wxWindow
*arg1
= (wxWindow
*) 0 ;
26399 PyObject
* obj0
= 0 ;
26400 char *kwnames
[] = {
26401 (char *) "self", NULL
26404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
26405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26406 if (SWIG_arg_fail(1)) SWIG_fail
;
26408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26409 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
26411 wxPyEndAllowThreads(__tstate
);
26412 if (PyErr_Occurred()) SWIG_fail
;
26415 resultobj
= SWIG_From_int((int)(result
));
26423 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26424 PyObject
*resultobj
;
26425 wxWindow
*arg1
= (wxWindow
*) 0 ;
26428 PyObject
* obj0
= 0 ;
26429 PyObject
* obj1
= 0 ;
26430 char *kwnames
[] = {
26431 (char *) "self",(char *) "size", NULL
26434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26436 if (SWIG_arg_fail(1)) SWIG_fail
;
26439 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26443 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
26445 wxPyEndAllowThreads(__tstate
);
26446 if (PyErr_Occurred()) SWIG_fail
;
26448 Py_INCREF(Py_None
); resultobj
= Py_None
;
26455 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26456 PyObject
*resultobj
;
26457 wxWindow
*arg1
= (wxWindow
*) 0 ;
26460 PyObject
* obj0
= 0 ;
26461 PyObject
* obj1
= 0 ;
26462 PyObject
* obj2
= 0 ;
26463 char *kwnames
[] = {
26464 (char *) "self",(char *) "w",(char *) "h", NULL
26467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26469 if (SWIG_arg_fail(1)) SWIG_fail
;
26471 arg2
= (int)(SWIG_As_int(obj1
));
26472 if (SWIG_arg_fail(2)) SWIG_fail
;
26475 arg3
= (int)(SWIG_As_int(obj2
));
26476 if (SWIG_arg_fail(3)) SWIG_fail
;
26479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26480 (arg1
)->SetVirtualSize(arg2
,arg3
);
26482 wxPyEndAllowThreads(__tstate
);
26483 if (PyErr_Occurred()) SWIG_fail
;
26485 Py_INCREF(Py_None
); resultobj
= Py_None
;
26492 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26493 PyObject
*resultobj
;
26494 wxWindow
*arg1
= (wxWindow
*) 0 ;
26496 PyObject
* obj0
= 0 ;
26497 char *kwnames
[] = {
26498 (char *) "self", NULL
26501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
26502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26503 if (SWIG_arg_fail(1)) SWIG_fail
;
26505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26506 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
26508 wxPyEndAllowThreads(__tstate
);
26509 if (PyErr_Occurred()) SWIG_fail
;
26512 wxSize
* resultptr
;
26513 resultptr
= new wxSize((wxSize
&)(result
));
26514 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26522 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26523 PyObject
*resultobj
;
26524 wxWindow
*arg1
= (wxWindow
*) 0 ;
26525 int *arg2
= (int *) 0 ;
26526 int *arg3
= (int *) 0 ;
26531 PyObject
* obj0
= 0 ;
26532 char *kwnames
[] = {
26533 (char *) "self", NULL
26536 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26537 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
26539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26540 if (SWIG_arg_fail(1)) SWIG_fail
;
26542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26543 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
26545 wxPyEndAllowThreads(__tstate
);
26546 if (PyErr_Occurred()) SWIG_fail
;
26548 Py_INCREF(Py_None
); resultobj
= Py_None
;
26549 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26550 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26551 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26552 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26559 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26560 PyObject
*resultobj
;
26561 wxWindow
*arg1
= (wxWindow
*) 0 ;
26563 PyObject
* obj0
= 0 ;
26564 char *kwnames
[] = {
26565 (char *) "self", NULL
26568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
26569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26570 if (SWIG_arg_fail(1)) SWIG_fail
;
26572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26573 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
26575 wxPyEndAllowThreads(__tstate
);
26576 if (PyErr_Occurred()) SWIG_fail
;
26579 wxSize
* resultptr
;
26580 resultptr
= new wxSize((wxSize
&)(result
));
26581 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26589 static PyObject
*_wrap_Window_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26590 PyObject
*resultobj
;
26591 wxWindow
*arg1
= (wxWindow
*) 0 ;
26592 bool arg2
= (bool) true ;
26594 PyObject
* obj0
= 0 ;
26595 PyObject
* obj1
= 0 ;
26596 char *kwnames
[] = {
26597 (char *) "self",(char *) "show", NULL
26600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
26601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26602 if (SWIG_arg_fail(1)) SWIG_fail
;
26605 arg2
= (bool)(SWIG_As_bool(obj1
));
26606 if (SWIG_arg_fail(2)) SWIG_fail
;
26610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26611 result
= (bool)(arg1
)->Show(arg2
);
26613 wxPyEndAllowThreads(__tstate
);
26614 if (PyErr_Occurred()) SWIG_fail
;
26617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26625 static PyObject
*_wrap_Window_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26626 PyObject
*resultobj
;
26627 wxWindow
*arg1
= (wxWindow
*) 0 ;
26629 PyObject
* obj0
= 0 ;
26630 char *kwnames
[] = {
26631 (char *) "self", NULL
26634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
26635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26636 if (SWIG_arg_fail(1)) SWIG_fail
;
26638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26639 result
= (bool)(arg1
)->Hide();
26641 wxPyEndAllowThreads(__tstate
);
26642 if (PyErr_Occurred()) SWIG_fail
;
26645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26653 static PyObject
*_wrap_Window_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26654 PyObject
*resultobj
;
26655 wxWindow
*arg1
= (wxWindow
*) 0 ;
26656 bool arg2
= (bool) true ;
26658 PyObject
* obj0
= 0 ;
26659 PyObject
* obj1
= 0 ;
26660 char *kwnames
[] = {
26661 (char *) "self",(char *) "enable", NULL
26664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
26665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26666 if (SWIG_arg_fail(1)) SWIG_fail
;
26669 arg2
= (bool)(SWIG_As_bool(obj1
));
26670 if (SWIG_arg_fail(2)) SWIG_fail
;
26674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26675 result
= (bool)(arg1
)->Enable(arg2
);
26677 wxPyEndAllowThreads(__tstate
);
26678 if (PyErr_Occurred()) SWIG_fail
;
26681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26689 static PyObject
*_wrap_Window_Disable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26690 PyObject
*resultobj
;
26691 wxWindow
*arg1
= (wxWindow
*) 0 ;
26693 PyObject
* obj0
= 0 ;
26694 char *kwnames
[] = {
26695 (char *) "self", NULL
26698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
26699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26700 if (SWIG_arg_fail(1)) SWIG_fail
;
26702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26703 result
= (bool)(arg1
)->Disable();
26705 wxPyEndAllowThreads(__tstate
);
26706 if (PyErr_Occurred()) SWIG_fail
;
26709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26717 static PyObject
*_wrap_Window_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26718 PyObject
*resultobj
;
26719 wxWindow
*arg1
= (wxWindow
*) 0 ;
26721 PyObject
* obj0
= 0 ;
26722 char *kwnames
[] = {
26723 (char *) "self", NULL
26726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
26727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26728 if (SWIG_arg_fail(1)) SWIG_fail
;
26730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26731 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
26733 wxPyEndAllowThreads(__tstate
);
26734 if (PyErr_Occurred()) SWIG_fail
;
26737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26745 static PyObject
*_wrap_Window_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26746 PyObject
*resultobj
;
26747 wxWindow
*arg1
= (wxWindow
*) 0 ;
26749 PyObject
* obj0
= 0 ;
26750 char *kwnames
[] = {
26751 (char *) "self", NULL
26754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
26755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26756 if (SWIG_arg_fail(1)) SWIG_fail
;
26758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26759 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
26761 wxPyEndAllowThreads(__tstate
);
26762 if (PyErr_Occurred()) SWIG_fail
;
26765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26773 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26774 PyObject
*resultobj
;
26775 wxWindow
*arg1
= (wxWindow
*) 0 ;
26777 PyObject
* obj0
= 0 ;
26778 PyObject
* obj1
= 0 ;
26779 char *kwnames
[] = {
26780 (char *) "self",(char *) "style", NULL
26783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
26784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26785 if (SWIG_arg_fail(1)) SWIG_fail
;
26787 arg2
= (long)(SWIG_As_long(obj1
));
26788 if (SWIG_arg_fail(2)) SWIG_fail
;
26791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26792 (arg1
)->SetWindowStyleFlag(arg2
);
26794 wxPyEndAllowThreads(__tstate
);
26795 if (PyErr_Occurred()) SWIG_fail
;
26797 Py_INCREF(Py_None
); resultobj
= Py_None
;
26804 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26805 PyObject
*resultobj
;
26806 wxWindow
*arg1
= (wxWindow
*) 0 ;
26808 PyObject
* obj0
= 0 ;
26809 char *kwnames
[] = {
26810 (char *) "self", NULL
26813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
26814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26815 if (SWIG_arg_fail(1)) SWIG_fail
;
26817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26818 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
26820 wxPyEndAllowThreads(__tstate
);
26821 if (PyErr_Occurred()) SWIG_fail
;
26824 resultobj
= SWIG_From_long((long)(result
));
26832 static PyObject
*_wrap_Window_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26833 PyObject
*resultobj
;
26834 wxWindow
*arg1
= (wxWindow
*) 0 ;
26837 PyObject
* obj0
= 0 ;
26838 PyObject
* obj1
= 0 ;
26839 char *kwnames
[] = {
26840 (char *) "self",(char *) "flag", NULL
26843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
26844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26845 if (SWIG_arg_fail(1)) SWIG_fail
;
26847 arg2
= (int)(SWIG_As_int(obj1
));
26848 if (SWIG_arg_fail(2)) SWIG_fail
;
26851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26852 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
26854 wxPyEndAllowThreads(__tstate
);
26855 if (PyErr_Occurred()) SWIG_fail
;
26858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26866 static PyObject
*_wrap_Window_IsRetained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26867 PyObject
*resultobj
;
26868 wxWindow
*arg1
= (wxWindow
*) 0 ;
26870 PyObject
* obj0
= 0 ;
26871 char *kwnames
[] = {
26872 (char *) "self", NULL
26875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
26876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26877 if (SWIG_arg_fail(1)) SWIG_fail
;
26879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26880 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
26882 wxPyEndAllowThreads(__tstate
);
26883 if (PyErr_Occurred()) SWIG_fail
;
26886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26894 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26895 PyObject
*resultobj
;
26896 wxWindow
*arg1
= (wxWindow
*) 0 ;
26898 PyObject
* obj0
= 0 ;
26899 PyObject
* obj1
= 0 ;
26900 char *kwnames
[] = {
26901 (char *) "self",(char *) "exStyle", NULL
26904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
26905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26906 if (SWIG_arg_fail(1)) SWIG_fail
;
26908 arg2
= (long)(SWIG_As_long(obj1
));
26909 if (SWIG_arg_fail(2)) SWIG_fail
;
26912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26913 (arg1
)->SetExtraStyle(arg2
);
26915 wxPyEndAllowThreads(__tstate
);
26916 if (PyErr_Occurred()) SWIG_fail
;
26918 Py_INCREF(Py_None
); resultobj
= Py_None
;
26925 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26926 PyObject
*resultobj
;
26927 wxWindow
*arg1
= (wxWindow
*) 0 ;
26929 PyObject
* obj0
= 0 ;
26930 char *kwnames
[] = {
26931 (char *) "self", NULL
26934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
26935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26936 if (SWIG_arg_fail(1)) SWIG_fail
;
26938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26939 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
26941 wxPyEndAllowThreads(__tstate
);
26942 if (PyErr_Occurred()) SWIG_fail
;
26945 resultobj
= SWIG_From_long((long)(result
));
26953 static PyObject
*_wrap_Window_MakeModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26954 PyObject
*resultobj
;
26955 wxWindow
*arg1
= (wxWindow
*) 0 ;
26956 bool arg2
= (bool) true ;
26957 PyObject
* obj0
= 0 ;
26958 PyObject
* obj1
= 0 ;
26959 char *kwnames
[] = {
26960 (char *) "self",(char *) "modal", NULL
26963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
26964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26965 if (SWIG_arg_fail(1)) SWIG_fail
;
26968 arg2
= (bool)(SWIG_As_bool(obj1
));
26969 if (SWIG_arg_fail(2)) SWIG_fail
;
26973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26974 (arg1
)->MakeModal(arg2
);
26976 wxPyEndAllowThreads(__tstate
);
26977 if (PyErr_Occurred()) SWIG_fail
;
26979 Py_INCREF(Py_None
); resultobj
= Py_None
;
26986 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26987 PyObject
*resultobj
;
26988 wxWindow
*arg1
= (wxWindow
*) 0 ;
26990 PyObject
* obj0
= 0 ;
26991 PyObject
* obj1
= 0 ;
26992 char *kwnames
[] = {
26993 (char *) "self",(char *) "enableTheme", NULL
26996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
26997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26998 if (SWIG_arg_fail(1)) SWIG_fail
;
27000 arg2
= (bool)(SWIG_As_bool(obj1
));
27001 if (SWIG_arg_fail(2)) SWIG_fail
;
27004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27005 (arg1
)->SetThemeEnabled(arg2
);
27007 wxPyEndAllowThreads(__tstate
);
27008 if (PyErr_Occurred()) SWIG_fail
;
27010 Py_INCREF(Py_None
); resultobj
= Py_None
;
27017 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27018 PyObject
*resultobj
;
27019 wxWindow
*arg1
= (wxWindow
*) 0 ;
27021 PyObject
* obj0
= 0 ;
27022 char *kwnames
[] = {
27023 (char *) "self", NULL
27026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
27027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27028 if (SWIG_arg_fail(1)) SWIG_fail
;
27030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27031 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
27033 wxPyEndAllowThreads(__tstate
);
27034 if (PyErr_Occurred()) SWIG_fail
;
27037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27045 static PyObject
*_wrap_Window_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27046 PyObject
*resultobj
;
27047 wxWindow
*arg1
= (wxWindow
*) 0 ;
27048 PyObject
* obj0
= 0 ;
27049 char *kwnames
[] = {
27050 (char *) "self", NULL
27053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
27054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27055 if (SWIG_arg_fail(1)) SWIG_fail
;
27057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27058 (arg1
)->SetFocus();
27060 wxPyEndAllowThreads(__tstate
);
27061 if (PyErr_Occurred()) SWIG_fail
;
27063 Py_INCREF(Py_None
); resultobj
= Py_None
;
27070 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27071 PyObject
*resultobj
;
27072 wxWindow
*arg1
= (wxWindow
*) 0 ;
27073 PyObject
* obj0
= 0 ;
27074 char *kwnames
[] = {
27075 (char *) "self", NULL
27078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
27079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27080 if (SWIG_arg_fail(1)) SWIG_fail
;
27082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27083 (arg1
)->SetFocusFromKbd();
27085 wxPyEndAllowThreads(__tstate
);
27086 if (PyErr_Occurred()) SWIG_fail
;
27088 Py_INCREF(Py_None
); resultobj
= Py_None
;
27095 static PyObject
*_wrap_Window_FindFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27096 PyObject
*resultobj
;
27098 char *kwnames
[] = {
27102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
27104 if (!wxPyCheckForApp()) SWIG_fail
;
27105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27106 result
= (wxWindow
*)wxWindow::FindFocus();
27108 wxPyEndAllowThreads(__tstate
);
27109 if (PyErr_Occurred()) SWIG_fail
;
27112 resultobj
= wxPyMake_wxObject(result
, 0);
27120 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27121 PyObject
*resultobj
;
27122 wxWindow
*arg1
= (wxWindow
*) 0 ;
27124 PyObject
* obj0
= 0 ;
27125 char *kwnames
[] = {
27126 (char *) "self", NULL
27129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
27130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27131 if (SWIG_arg_fail(1)) SWIG_fail
;
27133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27134 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
27136 wxPyEndAllowThreads(__tstate
);
27137 if (PyErr_Occurred()) SWIG_fail
;
27140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27148 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27149 PyObject
*resultobj
;
27150 wxWindow
*arg1
= (wxWindow
*) 0 ;
27152 PyObject
* obj0
= 0 ;
27153 char *kwnames
[] = {
27154 (char *) "self", NULL
27157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
27158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27159 if (SWIG_arg_fail(1)) SWIG_fail
;
27161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27162 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
27164 wxPyEndAllowThreads(__tstate
);
27165 if (PyErr_Occurred()) SWIG_fail
;
27168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27176 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27177 PyObject
*resultobj
;
27178 wxWindow
*arg1
= (wxWindow
*) 0 ;
27180 PyObject
* obj0
= 0 ;
27181 char *kwnames
[] = {
27182 (char *) "self", NULL
27185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
27186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27187 if (SWIG_arg_fail(1)) SWIG_fail
;
27189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27190 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
27192 wxPyEndAllowThreads(__tstate
);
27193 if (PyErr_Occurred()) SWIG_fail
;
27196 resultobj
= wxPyMake_wxObject(result
, 0);
27204 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27205 PyObject
*resultobj
;
27206 wxWindow
*arg1
= (wxWindow
*) 0 ;
27207 wxWindow
*arg2
= (wxWindow
*) 0 ;
27209 PyObject
* obj0
= 0 ;
27210 PyObject
* obj1
= 0 ;
27211 char *kwnames
[] = {
27212 (char *) "self",(char *) "child", NULL
27215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27217 if (SWIG_arg_fail(1)) SWIG_fail
;
27218 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27219 if (SWIG_arg_fail(2)) SWIG_fail
;
27221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27222 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
27224 wxPyEndAllowThreads(__tstate
);
27225 if (PyErr_Occurred()) SWIG_fail
;
27228 resultobj
= wxPyMake_wxObject(result
, 0);
27236 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27237 PyObject
*resultobj
;
27238 wxWindow
*arg1
= (wxWindow
*) 0 ;
27239 wxWindow
*arg2
= (wxWindow
*) 0 ;
27240 PyObject
* obj0
= 0 ;
27241 PyObject
* obj1
= 0 ;
27242 char *kwnames
[] = {
27243 (char *) "self",(char *) "win", NULL
27246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27248 if (SWIG_arg_fail(1)) SWIG_fail
;
27249 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27250 if (SWIG_arg_fail(2)) SWIG_fail
;
27252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27253 (arg1
)->SetTmpDefaultItem(arg2
);
27255 wxPyEndAllowThreads(__tstate
);
27256 if (PyErr_Occurred()) SWIG_fail
;
27258 Py_INCREF(Py_None
); resultobj
= Py_None
;
27265 static PyObject
*_wrap_Window_Navigate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27266 PyObject
*resultobj
;
27267 wxWindow
*arg1
= (wxWindow
*) 0 ;
27268 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
27270 PyObject
* obj0
= 0 ;
27271 PyObject
* obj1
= 0 ;
27272 char *kwnames
[] = {
27273 (char *) "self",(char *) "flags", NULL
27276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
27277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27278 if (SWIG_arg_fail(1)) SWIG_fail
;
27281 arg2
= (int)(SWIG_As_int(obj1
));
27282 if (SWIG_arg_fail(2)) SWIG_fail
;
27286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27287 result
= (bool)(arg1
)->Navigate(arg2
);
27289 wxPyEndAllowThreads(__tstate
);
27290 if (PyErr_Occurred()) SWIG_fail
;
27293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27301 static PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27302 PyObject
*resultobj
;
27303 wxWindow
*arg1
= (wxWindow
*) 0 ;
27304 wxWindow
*arg2
= (wxWindow
*) 0 ;
27305 PyObject
* obj0
= 0 ;
27306 PyObject
* obj1
= 0 ;
27307 char *kwnames
[] = {
27308 (char *) "self",(char *) "win", NULL
27311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
27312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27313 if (SWIG_arg_fail(1)) SWIG_fail
;
27314 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27315 if (SWIG_arg_fail(2)) SWIG_fail
;
27317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27318 (arg1
)->MoveAfterInTabOrder(arg2
);
27320 wxPyEndAllowThreads(__tstate
);
27321 if (PyErr_Occurred()) SWIG_fail
;
27323 Py_INCREF(Py_None
); resultobj
= Py_None
;
27330 static PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27331 PyObject
*resultobj
;
27332 wxWindow
*arg1
= (wxWindow
*) 0 ;
27333 wxWindow
*arg2
= (wxWindow
*) 0 ;
27334 PyObject
* obj0
= 0 ;
27335 PyObject
* obj1
= 0 ;
27336 char *kwnames
[] = {
27337 (char *) "self",(char *) "win", NULL
27340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
27341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27342 if (SWIG_arg_fail(1)) SWIG_fail
;
27343 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27344 if (SWIG_arg_fail(2)) SWIG_fail
;
27346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27347 (arg1
)->MoveBeforeInTabOrder(arg2
);
27349 wxPyEndAllowThreads(__tstate
);
27350 if (PyErr_Occurred()) SWIG_fail
;
27352 Py_INCREF(Py_None
); resultobj
= Py_None
;
27359 static PyObject
*_wrap_Window_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27360 PyObject
*resultobj
;
27361 wxWindow
*arg1
= (wxWindow
*) 0 ;
27363 PyObject
* obj0
= 0 ;
27364 char *kwnames
[] = {
27365 (char *) "self", NULL
27368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
27369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27370 if (SWIG_arg_fail(1)) SWIG_fail
;
27372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27373 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
27375 wxPyEndAllowThreads(__tstate
);
27376 if (PyErr_Occurred()) SWIG_fail
;
27378 resultobj
= result
;
27385 static PyObject
*_wrap_Window_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27386 PyObject
*resultobj
;
27387 wxWindow
*arg1
= (wxWindow
*) 0 ;
27389 PyObject
* obj0
= 0 ;
27390 char *kwnames
[] = {
27391 (char *) "self", NULL
27394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
27395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27396 if (SWIG_arg_fail(1)) SWIG_fail
;
27398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27399 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
27401 wxPyEndAllowThreads(__tstate
);
27402 if (PyErr_Occurred()) SWIG_fail
;
27405 resultobj
= wxPyMake_wxObject(result
, 0);
27413 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27414 PyObject
*resultobj
;
27415 wxWindow
*arg1
= (wxWindow
*) 0 ;
27417 PyObject
* obj0
= 0 ;
27418 char *kwnames
[] = {
27419 (char *) "self", NULL
27422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
27423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27424 if (SWIG_arg_fail(1)) SWIG_fail
;
27426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27427 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
27429 wxPyEndAllowThreads(__tstate
);
27430 if (PyErr_Occurred()) SWIG_fail
;
27433 resultobj
= wxPyMake_wxObject(result
, 0);
27441 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27442 PyObject
*resultobj
;
27443 wxWindow
*arg1
= (wxWindow
*) 0 ;
27445 PyObject
* obj0
= 0 ;
27446 char *kwnames
[] = {
27447 (char *) "self", NULL
27450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
27451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27452 if (SWIG_arg_fail(1)) SWIG_fail
;
27454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27455 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
27457 wxPyEndAllowThreads(__tstate
);
27458 if (PyErr_Occurred()) SWIG_fail
;
27461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27469 static PyObject
*_wrap_Window_Reparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27470 PyObject
*resultobj
;
27471 wxWindow
*arg1
= (wxWindow
*) 0 ;
27472 wxWindow
*arg2
= (wxWindow
*) 0 ;
27474 PyObject
* obj0
= 0 ;
27475 PyObject
* obj1
= 0 ;
27476 char *kwnames
[] = {
27477 (char *) "self",(char *) "newParent", NULL
27480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
27481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27482 if (SWIG_arg_fail(1)) SWIG_fail
;
27483 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27484 if (SWIG_arg_fail(2)) SWIG_fail
;
27486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27487 result
= (bool)(arg1
)->Reparent(arg2
);
27489 wxPyEndAllowThreads(__tstate
);
27490 if (PyErr_Occurred()) SWIG_fail
;
27493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27501 static PyObject
*_wrap_Window_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27502 PyObject
*resultobj
;
27503 wxWindow
*arg1
= (wxWindow
*) 0 ;
27504 wxWindow
*arg2
= (wxWindow
*) 0 ;
27505 PyObject
* obj0
= 0 ;
27506 PyObject
* obj1
= 0 ;
27507 char *kwnames
[] = {
27508 (char *) "self",(char *) "child", NULL
27511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
27512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27513 if (SWIG_arg_fail(1)) SWIG_fail
;
27514 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27515 if (SWIG_arg_fail(2)) SWIG_fail
;
27517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27518 (arg1
)->AddChild(arg2
);
27520 wxPyEndAllowThreads(__tstate
);
27521 if (PyErr_Occurred()) SWIG_fail
;
27523 Py_INCREF(Py_None
); resultobj
= Py_None
;
27530 static PyObject
*_wrap_Window_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27531 PyObject
*resultobj
;
27532 wxWindow
*arg1
= (wxWindow
*) 0 ;
27533 wxWindow
*arg2
= (wxWindow
*) 0 ;
27534 PyObject
* obj0
= 0 ;
27535 PyObject
* obj1
= 0 ;
27536 char *kwnames
[] = {
27537 (char *) "self",(char *) "child", NULL
27540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
27541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27542 if (SWIG_arg_fail(1)) SWIG_fail
;
27543 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27544 if (SWIG_arg_fail(2)) SWIG_fail
;
27546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27547 (arg1
)->RemoveChild(arg2
);
27549 wxPyEndAllowThreads(__tstate
);
27550 if (PyErr_Occurred()) SWIG_fail
;
27552 Py_INCREF(Py_None
); resultobj
= Py_None
;
27559 static PyObject
*_wrap_Window_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27560 PyObject
*resultobj
;
27561 wxWindow
*arg1
= (wxWindow
*) 0 ;
27564 PyObject
* obj0
= 0 ;
27565 PyObject
* obj1
= 0 ;
27566 char *kwnames
[] = {
27567 (char *) "self",(char *) "winid", NULL
27570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
27571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27572 if (SWIG_arg_fail(1)) SWIG_fail
;
27574 arg2
= (long)(SWIG_As_long(obj1
));
27575 if (SWIG_arg_fail(2)) SWIG_fail
;
27578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27579 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
27581 wxPyEndAllowThreads(__tstate
);
27582 if (PyErr_Occurred()) SWIG_fail
;
27585 resultobj
= wxPyMake_wxObject(result
, 0);
27593 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27594 PyObject
*resultobj
;
27595 wxWindow
*arg1
= (wxWindow
*) 0 ;
27596 wxString
*arg2
= 0 ;
27598 bool temp2
= false ;
27599 PyObject
* obj0
= 0 ;
27600 PyObject
* obj1
= 0 ;
27601 char *kwnames
[] = {
27602 (char *) "self",(char *) "name", NULL
27605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
27606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27607 if (SWIG_arg_fail(1)) SWIG_fail
;
27609 arg2
= wxString_in_helper(obj1
);
27610 if (arg2
== NULL
) SWIG_fail
;
27614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27615 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
27617 wxPyEndAllowThreads(__tstate
);
27618 if (PyErr_Occurred()) SWIG_fail
;
27621 resultobj
= wxPyMake_wxObject(result
, 0);
27637 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27638 PyObject
*resultobj
;
27639 wxWindow
*arg1
= (wxWindow
*) 0 ;
27640 wxEvtHandler
*result
;
27641 PyObject
* obj0
= 0 ;
27642 char *kwnames
[] = {
27643 (char *) "self", NULL
27646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
27647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27648 if (SWIG_arg_fail(1)) SWIG_fail
;
27650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27651 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
27653 wxPyEndAllowThreads(__tstate
);
27654 if (PyErr_Occurred()) SWIG_fail
;
27657 resultobj
= wxPyMake_wxObject(result
, 0);
27665 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27666 PyObject
*resultobj
;
27667 wxWindow
*arg1
= (wxWindow
*) 0 ;
27668 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
27669 PyObject
* obj0
= 0 ;
27670 PyObject
* obj1
= 0 ;
27671 char *kwnames
[] = {
27672 (char *) "self",(char *) "handler", NULL
27675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
27676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27677 if (SWIG_arg_fail(1)) SWIG_fail
;
27678 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
27679 if (SWIG_arg_fail(2)) SWIG_fail
;
27681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27682 (arg1
)->SetEventHandler(arg2
);
27684 wxPyEndAllowThreads(__tstate
);
27685 if (PyErr_Occurred()) SWIG_fail
;
27687 Py_INCREF(Py_None
); resultobj
= Py_None
;
27694 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27695 PyObject
*resultobj
;
27696 wxWindow
*arg1
= (wxWindow
*) 0 ;
27697 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
27698 PyObject
* obj0
= 0 ;
27699 PyObject
* obj1
= 0 ;
27700 char *kwnames
[] = {
27701 (char *) "self",(char *) "handler", NULL
27704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
27705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27706 if (SWIG_arg_fail(1)) SWIG_fail
;
27707 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
27708 if (SWIG_arg_fail(2)) SWIG_fail
;
27710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27711 (arg1
)->PushEventHandler(arg2
);
27713 wxPyEndAllowThreads(__tstate
);
27714 if (PyErr_Occurred()) SWIG_fail
;
27716 Py_INCREF(Py_None
); resultobj
= Py_None
;
27723 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27724 PyObject
*resultobj
;
27725 wxWindow
*arg1
= (wxWindow
*) 0 ;
27726 bool arg2
= (bool) false ;
27727 wxEvtHandler
*result
;
27728 PyObject
* obj0
= 0 ;
27729 PyObject
* obj1
= 0 ;
27730 char *kwnames
[] = {
27731 (char *) "self",(char *) "deleteHandler", NULL
27734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
27735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27736 if (SWIG_arg_fail(1)) SWIG_fail
;
27739 arg2
= (bool)(SWIG_As_bool(obj1
));
27740 if (SWIG_arg_fail(2)) SWIG_fail
;
27744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27745 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
27747 wxPyEndAllowThreads(__tstate
);
27748 if (PyErr_Occurred()) SWIG_fail
;
27751 resultobj
= wxPyMake_wxObject(result
, 0);
27759 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27760 PyObject
*resultobj
;
27761 wxWindow
*arg1
= (wxWindow
*) 0 ;
27762 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
27764 PyObject
* obj0
= 0 ;
27765 PyObject
* obj1
= 0 ;
27766 char *kwnames
[] = {
27767 (char *) "self",(char *) "handler", NULL
27770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
27771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27772 if (SWIG_arg_fail(1)) SWIG_fail
;
27773 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
27774 if (SWIG_arg_fail(2)) SWIG_fail
;
27776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27777 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
27779 wxPyEndAllowThreads(__tstate
);
27780 if (PyErr_Occurred()) SWIG_fail
;
27783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27791 static PyObject
*_wrap_Window_SetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27792 PyObject
*resultobj
;
27793 wxWindow
*arg1
= (wxWindow
*) 0 ;
27794 wxValidator
*arg2
= 0 ;
27795 PyObject
* obj0
= 0 ;
27796 PyObject
* obj1
= 0 ;
27797 char *kwnames
[] = {
27798 (char *) "self",(char *) "validator", NULL
27801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
27802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27803 if (SWIG_arg_fail(1)) SWIG_fail
;
27805 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
27806 if (SWIG_arg_fail(2)) SWIG_fail
;
27807 if (arg2
== NULL
) {
27808 SWIG_null_ref("wxValidator");
27810 if (SWIG_arg_fail(2)) SWIG_fail
;
27813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27814 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
27816 wxPyEndAllowThreads(__tstate
);
27817 if (PyErr_Occurred()) SWIG_fail
;
27819 Py_INCREF(Py_None
); resultobj
= Py_None
;
27826 static PyObject
*_wrap_Window_GetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27827 PyObject
*resultobj
;
27828 wxWindow
*arg1
= (wxWindow
*) 0 ;
27829 wxValidator
*result
;
27830 PyObject
* obj0
= 0 ;
27831 char *kwnames
[] = {
27832 (char *) "self", NULL
27835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
27836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27837 if (SWIG_arg_fail(1)) SWIG_fail
;
27839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27840 result
= (wxValidator
*)(arg1
)->GetValidator();
27842 wxPyEndAllowThreads(__tstate
);
27843 if (PyErr_Occurred()) SWIG_fail
;
27846 resultobj
= wxPyMake_wxObject(result
, 0);
27854 static PyObject
*_wrap_Window_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27855 PyObject
*resultobj
;
27856 wxWindow
*arg1
= (wxWindow
*) 0 ;
27858 PyObject
* obj0
= 0 ;
27859 char *kwnames
[] = {
27860 (char *) "self", NULL
27863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
27864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27865 if (SWIG_arg_fail(1)) SWIG_fail
;
27867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27868 result
= (bool)(arg1
)->Validate();
27870 wxPyEndAllowThreads(__tstate
);
27871 if (PyErr_Occurred()) SWIG_fail
;
27874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27882 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27883 PyObject
*resultobj
;
27884 wxWindow
*arg1
= (wxWindow
*) 0 ;
27886 PyObject
* obj0
= 0 ;
27887 char *kwnames
[] = {
27888 (char *) "self", NULL
27891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
27892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27893 if (SWIG_arg_fail(1)) SWIG_fail
;
27895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27896 result
= (bool)(arg1
)->TransferDataToWindow();
27898 wxPyEndAllowThreads(__tstate
);
27899 if (PyErr_Occurred()) SWIG_fail
;
27902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27910 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27911 PyObject
*resultobj
;
27912 wxWindow
*arg1
= (wxWindow
*) 0 ;
27914 PyObject
* obj0
= 0 ;
27915 char *kwnames
[] = {
27916 (char *) "self", NULL
27919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
27920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27921 if (SWIG_arg_fail(1)) SWIG_fail
;
27923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27924 result
= (bool)(arg1
)->TransferDataFromWindow();
27926 wxPyEndAllowThreads(__tstate
);
27927 if (PyErr_Occurred()) SWIG_fail
;
27930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27938 static PyObject
*_wrap_Window_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27939 PyObject
*resultobj
;
27940 wxWindow
*arg1
= (wxWindow
*) 0 ;
27941 PyObject
* obj0
= 0 ;
27942 char *kwnames
[] = {
27943 (char *) "self", NULL
27946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
27947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27948 if (SWIG_arg_fail(1)) SWIG_fail
;
27950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27951 (arg1
)->InitDialog();
27953 wxPyEndAllowThreads(__tstate
);
27954 if (PyErr_Occurred()) SWIG_fail
;
27956 Py_INCREF(Py_None
); resultobj
= Py_None
;
27963 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27964 PyObject
*resultobj
;
27965 wxWindow
*arg1
= (wxWindow
*) 0 ;
27966 wxAcceleratorTable
*arg2
= 0 ;
27967 PyObject
* obj0
= 0 ;
27968 PyObject
* obj1
= 0 ;
27969 char *kwnames
[] = {
27970 (char *) "self",(char *) "accel", NULL
27973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
27974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27975 if (SWIG_arg_fail(1)) SWIG_fail
;
27977 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
27978 if (SWIG_arg_fail(2)) SWIG_fail
;
27979 if (arg2
== NULL
) {
27980 SWIG_null_ref("wxAcceleratorTable");
27982 if (SWIG_arg_fail(2)) SWIG_fail
;
27985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27986 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
27988 wxPyEndAllowThreads(__tstate
);
27989 if (PyErr_Occurred()) SWIG_fail
;
27991 Py_INCREF(Py_None
); resultobj
= Py_None
;
27998 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27999 PyObject
*resultobj
;
28000 wxWindow
*arg1
= (wxWindow
*) 0 ;
28001 wxAcceleratorTable
*result
;
28002 PyObject
* obj0
= 0 ;
28003 char *kwnames
[] = {
28004 (char *) "self", NULL
28007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
28008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28009 if (SWIG_arg_fail(1)) SWIG_fail
;
28011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28012 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
28014 wxPyEndAllowThreads(__tstate
);
28015 if (PyErr_Occurred()) SWIG_fail
;
28017 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
28024 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28025 PyObject
*resultobj
;
28026 wxWindow
*arg1
= (wxWindow
*) 0 ;
28031 PyObject
* obj0
= 0 ;
28032 PyObject
* obj1
= 0 ;
28033 PyObject
* obj2
= 0 ;
28034 PyObject
* obj3
= 0 ;
28035 char *kwnames
[] = {
28036 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
28039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28041 if (SWIG_arg_fail(1)) SWIG_fail
;
28043 arg2
= (int)(SWIG_As_int(obj1
));
28044 if (SWIG_arg_fail(2)) SWIG_fail
;
28047 arg3
= (int)(SWIG_As_int(obj2
));
28048 if (SWIG_arg_fail(3)) SWIG_fail
;
28051 arg4
= (int)(SWIG_As_int(obj3
));
28052 if (SWIG_arg_fail(4)) SWIG_fail
;
28055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28056 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
28058 wxPyEndAllowThreads(__tstate
);
28059 if (PyErr_Occurred()) SWIG_fail
;
28062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28070 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28071 PyObject
*resultobj
;
28072 wxWindow
*arg1
= (wxWindow
*) 0 ;
28075 PyObject
* obj0
= 0 ;
28076 PyObject
* obj1
= 0 ;
28077 char *kwnames
[] = {
28078 (char *) "self",(char *) "hotkeyId", NULL
28081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
28082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28083 if (SWIG_arg_fail(1)) SWIG_fail
;
28085 arg2
= (int)(SWIG_As_int(obj1
));
28086 if (SWIG_arg_fail(2)) SWIG_fail
;
28089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28090 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
28092 wxPyEndAllowThreads(__tstate
);
28093 if (PyErr_Occurred()) SWIG_fail
;
28096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28104 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28105 PyObject
*resultobj
;
28106 wxWindow
*arg1
= (wxWindow
*) 0 ;
28107 wxPoint
*arg2
= 0 ;
28110 PyObject
* obj0
= 0 ;
28111 PyObject
* obj1
= 0 ;
28112 char *kwnames
[] = {
28113 (char *) "self",(char *) "pt", NULL
28116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28118 if (SWIG_arg_fail(1)) SWIG_fail
;
28121 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28125 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
28127 wxPyEndAllowThreads(__tstate
);
28128 if (PyErr_Occurred()) SWIG_fail
;
28131 wxPoint
* resultptr
;
28132 resultptr
= new wxPoint((wxPoint
&)(result
));
28133 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28141 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28142 PyObject
*resultobj
;
28143 wxWindow
*arg1
= (wxWindow
*) 0 ;
28147 PyObject
* obj0
= 0 ;
28148 PyObject
* obj1
= 0 ;
28149 char *kwnames
[] = {
28150 (char *) "self",(char *) "sz", NULL
28153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28155 if (SWIG_arg_fail(1)) SWIG_fail
;
28158 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28162 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
28164 wxPyEndAllowThreads(__tstate
);
28165 if (PyErr_Occurred()) SWIG_fail
;
28168 wxSize
* resultptr
;
28169 resultptr
= new wxSize((wxSize
&)(result
));
28170 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28178 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28179 PyObject
*resultobj
;
28180 wxWindow
*arg1
= (wxWindow
*) 0 ;
28181 wxPoint
*arg2
= 0 ;
28184 PyObject
* obj0
= 0 ;
28185 PyObject
* obj1
= 0 ;
28186 char *kwnames
[] = {
28187 (char *) "self",(char *) "pt", NULL
28190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
28191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28192 if (SWIG_arg_fail(1)) SWIG_fail
;
28195 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28199 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
28201 wxPyEndAllowThreads(__tstate
);
28202 if (PyErr_Occurred()) SWIG_fail
;
28205 wxPoint
* resultptr
;
28206 resultptr
= new wxPoint((wxPoint
&)(result
));
28207 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28215 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28216 PyObject
*resultobj
;
28217 wxWindow
*arg1
= (wxWindow
*) 0 ;
28221 PyObject
* obj0
= 0 ;
28222 PyObject
* obj1
= 0 ;
28223 char *kwnames
[] = {
28224 (char *) "self",(char *) "sz", NULL
28227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
28228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28229 if (SWIG_arg_fail(1)) SWIG_fail
;
28232 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28236 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
28238 wxPyEndAllowThreads(__tstate
);
28239 if (PyErr_Occurred()) SWIG_fail
;
28242 wxSize
* resultptr
;
28243 resultptr
= new wxSize((wxSize
&)(result
));
28244 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28252 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28253 PyObject
*resultobj
;
28254 wxWindow
*arg1
= (wxWindow
*) 0 ;
28255 wxPoint
*arg2
= 0 ;
28258 PyObject
* obj0
= 0 ;
28259 PyObject
* obj1
= 0 ;
28260 char *kwnames
[] = {
28261 (char *) "self",(char *) "pt", NULL
28264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
28265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28266 if (SWIG_arg_fail(1)) SWIG_fail
;
28269 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28273 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
28275 wxPyEndAllowThreads(__tstate
);
28276 if (PyErr_Occurred()) SWIG_fail
;
28279 wxPoint
* resultptr
;
28280 resultptr
= new wxPoint((wxPoint
&)(result
));
28281 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28289 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28290 PyObject
*resultobj
;
28291 wxWindow
*arg1
= (wxWindow
*) 0 ;
28295 PyObject
* obj0
= 0 ;
28296 PyObject
* obj1
= 0 ;
28297 char *kwnames
[] = {
28298 (char *) "self",(char *) "sz", NULL
28301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
28302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28303 if (SWIG_arg_fail(1)) SWIG_fail
;
28306 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28310 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
28312 wxPyEndAllowThreads(__tstate
);
28313 if (PyErr_Occurred()) SWIG_fail
;
28316 wxSize
* resultptr
;
28317 resultptr
= new wxSize((wxSize
&)(result
));
28318 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28326 static PyObject
*_wrap_Window_WarpPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28327 PyObject
*resultobj
;
28328 wxWindow
*arg1
= (wxWindow
*) 0 ;
28331 PyObject
* obj0
= 0 ;
28332 PyObject
* obj1
= 0 ;
28333 PyObject
* obj2
= 0 ;
28334 char *kwnames
[] = {
28335 (char *) "self",(char *) "x",(char *) "y", NULL
28338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28340 if (SWIG_arg_fail(1)) SWIG_fail
;
28342 arg2
= (int)(SWIG_As_int(obj1
));
28343 if (SWIG_arg_fail(2)) SWIG_fail
;
28346 arg3
= (int)(SWIG_As_int(obj2
));
28347 if (SWIG_arg_fail(3)) SWIG_fail
;
28350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28351 (arg1
)->WarpPointer(arg2
,arg3
);
28353 wxPyEndAllowThreads(__tstate
);
28354 if (PyErr_Occurred()) SWIG_fail
;
28356 Py_INCREF(Py_None
); resultobj
= Py_None
;
28363 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28364 PyObject
*resultobj
;
28365 wxWindow
*arg1
= (wxWindow
*) 0 ;
28366 PyObject
* obj0
= 0 ;
28367 char *kwnames
[] = {
28368 (char *) "self", NULL
28371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
28372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28373 if (SWIG_arg_fail(1)) SWIG_fail
;
28375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28376 (arg1
)->CaptureMouse();
28378 wxPyEndAllowThreads(__tstate
);
28379 if (PyErr_Occurred()) SWIG_fail
;
28381 Py_INCREF(Py_None
); resultobj
= Py_None
;
28388 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28389 PyObject
*resultobj
;
28390 wxWindow
*arg1
= (wxWindow
*) 0 ;
28391 PyObject
* obj0
= 0 ;
28392 char *kwnames
[] = {
28393 (char *) "self", NULL
28396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
28397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28398 if (SWIG_arg_fail(1)) SWIG_fail
;
28400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28401 (arg1
)->ReleaseMouse();
28403 wxPyEndAllowThreads(__tstate
);
28404 if (PyErr_Occurred()) SWIG_fail
;
28406 Py_INCREF(Py_None
); resultobj
= Py_None
;
28413 static PyObject
*_wrap_Window_GetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28414 PyObject
*resultobj
;
28416 char *kwnames
[] = {
28420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
28422 if (!wxPyCheckForApp()) SWIG_fail
;
28423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28424 result
= (wxWindow
*)wxWindow::GetCapture();
28426 wxPyEndAllowThreads(__tstate
);
28427 if (PyErr_Occurred()) SWIG_fail
;
28430 resultobj
= wxPyMake_wxObject(result
, 0);
28438 static PyObject
*_wrap_Window_HasCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28439 PyObject
*resultobj
;
28440 wxWindow
*arg1
= (wxWindow
*) 0 ;
28442 PyObject
* obj0
= 0 ;
28443 char *kwnames
[] = {
28444 (char *) "self", NULL
28447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
28448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28449 if (SWIG_arg_fail(1)) SWIG_fail
;
28451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28452 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
28454 wxPyEndAllowThreads(__tstate
);
28455 if (PyErr_Occurred()) SWIG_fail
;
28458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28466 static PyObject
*_wrap_Window_Refresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28467 PyObject
*resultobj
;
28468 wxWindow
*arg1
= (wxWindow
*) 0 ;
28469 bool arg2
= (bool) true ;
28470 wxRect
*arg3
= (wxRect
*) NULL
;
28471 PyObject
* obj0
= 0 ;
28472 PyObject
* obj1
= 0 ;
28473 PyObject
* obj2
= 0 ;
28474 char *kwnames
[] = {
28475 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
28478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28480 if (SWIG_arg_fail(1)) SWIG_fail
;
28483 arg2
= (bool)(SWIG_As_bool(obj1
));
28484 if (SWIG_arg_fail(2)) SWIG_fail
;
28488 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
28489 if (SWIG_arg_fail(3)) SWIG_fail
;
28492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28493 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
28495 wxPyEndAllowThreads(__tstate
);
28496 if (PyErr_Occurred()) SWIG_fail
;
28498 Py_INCREF(Py_None
); resultobj
= Py_None
;
28505 static PyObject
*_wrap_Window_RefreshRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28506 PyObject
*resultobj
;
28507 wxWindow
*arg1
= (wxWindow
*) 0 ;
28510 PyObject
* obj0
= 0 ;
28511 PyObject
* obj1
= 0 ;
28512 char *kwnames
[] = {
28513 (char *) "self",(char *) "rect", NULL
28516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
28517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28518 if (SWIG_arg_fail(1)) SWIG_fail
;
28521 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
28524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28525 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
28527 wxPyEndAllowThreads(__tstate
);
28528 if (PyErr_Occurred()) SWIG_fail
;
28530 Py_INCREF(Py_None
); resultobj
= Py_None
;
28537 static PyObject
*_wrap_Window_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28538 PyObject
*resultobj
;
28539 wxWindow
*arg1
= (wxWindow
*) 0 ;
28540 PyObject
* obj0
= 0 ;
28541 char *kwnames
[] = {
28542 (char *) "self", NULL
28545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
28546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28547 if (SWIG_arg_fail(1)) SWIG_fail
;
28549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28552 wxPyEndAllowThreads(__tstate
);
28553 if (PyErr_Occurred()) SWIG_fail
;
28555 Py_INCREF(Py_None
); resultobj
= Py_None
;
28562 static PyObject
*_wrap_Window_ClearBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28563 PyObject
*resultobj
;
28564 wxWindow
*arg1
= (wxWindow
*) 0 ;
28565 PyObject
* obj0
= 0 ;
28566 char *kwnames
[] = {
28567 (char *) "self", NULL
28570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
28571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28572 if (SWIG_arg_fail(1)) SWIG_fail
;
28574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28575 (arg1
)->ClearBackground();
28577 wxPyEndAllowThreads(__tstate
);
28578 if (PyErr_Occurred()) SWIG_fail
;
28580 Py_INCREF(Py_None
); resultobj
= Py_None
;
28587 static PyObject
*_wrap_Window_Freeze(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28588 PyObject
*resultobj
;
28589 wxWindow
*arg1
= (wxWindow
*) 0 ;
28590 PyObject
* obj0
= 0 ;
28591 char *kwnames
[] = {
28592 (char *) "self", NULL
28595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
28596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28597 if (SWIG_arg_fail(1)) SWIG_fail
;
28599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28602 wxPyEndAllowThreads(__tstate
);
28603 if (PyErr_Occurred()) SWIG_fail
;
28605 Py_INCREF(Py_None
); resultobj
= Py_None
;
28612 static PyObject
*_wrap_Window_Thaw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28613 PyObject
*resultobj
;
28614 wxWindow
*arg1
= (wxWindow
*) 0 ;
28615 PyObject
* obj0
= 0 ;
28616 char *kwnames
[] = {
28617 (char *) "self", NULL
28620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
28621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28622 if (SWIG_arg_fail(1)) SWIG_fail
;
28624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28627 wxPyEndAllowThreads(__tstate
);
28628 if (PyErr_Occurred()) SWIG_fail
;
28630 Py_INCREF(Py_None
); resultobj
= Py_None
;
28637 static PyObject
*_wrap_Window_PrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28638 PyObject
*resultobj
;
28639 wxWindow
*arg1
= (wxWindow
*) 0 ;
28641 PyObject
* obj0
= 0 ;
28642 PyObject
* obj1
= 0 ;
28643 char *kwnames
[] = {
28644 (char *) "self",(char *) "dc", NULL
28647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
28648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28649 if (SWIG_arg_fail(1)) SWIG_fail
;
28651 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
28652 if (SWIG_arg_fail(2)) SWIG_fail
;
28653 if (arg2
== NULL
) {
28654 SWIG_null_ref("wxDC");
28656 if (SWIG_arg_fail(2)) SWIG_fail
;
28659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28660 (arg1
)->PrepareDC(*arg2
);
28662 wxPyEndAllowThreads(__tstate
);
28663 if (PyErr_Occurred()) SWIG_fail
;
28665 Py_INCREF(Py_None
); resultobj
= Py_None
;
28672 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28673 PyObject
*resultobj
;
28674 wxWindow
*arg1
= (wxWindow
*) 0 ;
28676 PyObject
* obj0
= 0 ;
28677 char *kwnames
[] = {
28678 (char *) "self", NULL
28681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
28682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28683 if (SWIG_arg_fail(1)) SWIG_fail
;
28685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28687 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
28688 result
= (wxRegion
*) &_result_ref
;
28691 wxPyEndAllowThreads(__tstate
);
28692 if (PyErr_Occurred()) SWIG_fail
;
28694 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
28701 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28702 PyObject
*resultobj
;
28703 wxWindow
*arg1
= (wxWindow
*) 0 ;
28705 PyObject
* obj0
= 0 ;
28706 char *kwnames
[] = {
28707 (char *) "self", NULL
28710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
28711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28712 if (SWIG_arg_fail(1)) SWIG_fail
;
28714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28715 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
28717 wxPyEndAllowThreads(__tstate
);
28718 if (PyErr_Occurred()) SWIG_fail
;
28721 wxRect
* resultptr
;
28722 resultptr
= new wxRect((wxRect
&)(result
));
28723 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
28731 static PyObject
*_wrap_Window_IsExposed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28732 PyObject
*resultobj
;
28733 wxWindow
*arg1
= (wxWindow
*) 0 ;
28736 int arg4
= (int) 1 ;
28737 int arg5
= (int) 1 ;
28739 PyObject
* obj0
= 0 ;
28740 PyObject
* obj1
= 0 ;
28741 PyObject
* obj2
= 0 ;
28742 PyObject
* obj3
= 0 ;
28743 PyObject
* obj4
= 0 ;
28744 char *kwnames
[] = {
28745 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
28748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28750 if (SWIG_arg_fail(1)) SWIG_fail
;
28752 arg2
= (int)(SWIG_As_int(obj1
));
28753 if (SWIG_arg_fail(2)) SWIG_fail
;
28756 arg3
= (int)(SWIG_As_int(obj2
));
28757 if (SWIG_arg_fail(3)) SWIG_fail
;
28761 arg4
= (int)(SWIG_As_int(obj3
));
28762 if (SWIG_arg_fail(4)) SWIG_fail
;
28767 arg5
= (int)(SWIG_As_int(obj4
));
28768 if (SWIG_arg_fail(5)) SWIG_fail
;
28772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28773 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
28775 wxPyEndAllowThreads(__tstate
);
28776 if (PyErr_Occurred()) SWIG_fail
;
28779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28787 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28788 PyObject
*resultobj
;
28789 wxWindow
*arg1
= (wxWindow
*) 0 ;
28790 wxPoint
*arg2
= 0 ;
28793 PyObject
* obj0
= 0 ;
28794 PyObject
* obj1
= 0 ;
28795 char *kwnames
[] = {
28796 (char *) "self",(char *) "pt", NULL
28799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
28800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28801 if (SWIG_arg_fail(1)) SWIG_fail
;
28804 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28808 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
28810 wxPyEndAllowThreads(__tstate
);
28811 if (PyErr_Occurred()) SWIG_fail
;
28814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28822 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28823 PyObject
*resultobj
;
28824 wxWindow
*arg1
= (wxWindow
*) 0 ;
28828 PyObject
* obj0
= 0 ;
28829 PyObject
* obj1
= 0 ;
28830 char *kwnames
[] = {
28831 (char *) "self",(char *) "rect", NULL
28834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
28835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28836 if (SWIG_arg_fail(1)) SWIG_fail
;
28839 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
28842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28843 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
28845 wxPyEndAllowThreads(__tstate
);
28846 if (PyErr_Occurred()) SWIG_fail
;
28849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28857 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28858 PyObject
*resultobj
;
28859 wxWindow
*arg1
= (wxWindow
*) 0 ;
28860 wxVisualAttributes result
;
28861 PyObject
* obj0
= 0 ;
28862 char *kwnames
[] = {
28863 (char *) "self", NULL
28866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
28867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28868 if (SWIG_arg_fail(1)) SWIG_fail
;
28870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28871 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
28873 wxPyEndAllowThreads(__tstate
);
28874 if (PyErr_Occurred()) SWIG_fail
;
28877 wxVisualAttributes
* resultptr
;
28878 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
28879 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
28887 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28888 PyObject
*resultobj
;
28889 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
28890 wxVisualAttributes result
;
28891 PyObject
* obj0
= 0 ;
28892 char *kwnames
[] = {
28893 (char *) "variant", NULL
28896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
28899 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
28900 if (SWIG_arg_fail(1)) SWIG_fail
;
28904 if (!wxPyCheckForApp()) SWIG_fail
;
28905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28906 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
28908 wxPyEndAllowThreads(__tstate
);
28909 if (PyErr_Occurred()) SWIG_fail
;
28912 wxVisualAttributes
* resultptr
;
28913 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
28914 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
28922 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28923 PyObject
*resultobj
;
28924 wxWindow
*arg1
= (wxWindow
*) 0 ;
28925 wxColour
*arg2
= 0 ;
28928 PyObject
* obj0
= 0 ;
28929 PyObject
* obj1
= 0 ;
28930 char *kwnames
[] = {
28931 (char *) "self",(char *) "colour", NULL
28934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28936 if (SWIG_arg_fail(1)) SWIG_fail
;
28939 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28943 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
28945 wxPyEndAllowThreads(__tstate
);
28946 if (PyErr_Occurred()) SWIG_fail
;
28949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28957 static PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28958 PyObject
*resultobj
;
28959 wxWindow
*arg1
= (wxWindow
*) 0 ;
28960 wxColour
*arg2
= 0 ;
28962 PyObject
* obj0
= 0 ;
28963 PyObject
* obj1
= 0 ;
28964 char *kwnames
[] = {
28965 (char *) "self",(char *) "colour", NULL
28968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28970 if (SWIG_arg_fail(1)) SWIG_fail
;
28973 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28977 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
28979 wxPyEndAllowThreads(__tstate
);
28980 if (PyErr_Occurred()) SWIG_fail
;
28982 Py_INCREF(Py_None
); resultobj
= Py_None
;
28989 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28990 PyObject
*resultobj
;
28991 wxWindow
*arg1
= (wxWindow
*) 0 ;
28992 wxColour
*arg2
= 0 ;
28995 PyObject
* obj0
= 0 ;
28996 PyObject
* obj1
= 0 ;
28997 char *kwnames
[] = {
28998 (char *) "self",(char *) "colour", NULL
29001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29003 if (SWIG_arg_fail(1)) SWIG_fail
;
29006 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29010 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
29012 wxPyEndAllowThreads(__tstate
);
29013 if (PyErr_Occurred()) SWIG_fail
;
29016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29024 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29025 PyObject
*resultobj
;
29026 wxWindow
*arg1
= (wxWindow
*) 0 ;
29027 wxColour
*arg2
= 0 ;
29029 PyObject
* obj0
= 0 ;
29030 PyObject
* obj1
= 0 ;
29031 char *kwnames
[] = {
29032 (char *) "self",(char *) "colour", NULL
29035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29037 if (SWIG_arg_fail(1)) SWIG_fail
;
29040 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29044 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
29046 wxPyEndAllowThreads(__tstate
);
29047 if (PyErr_Occurred()) SWIG_fail
;
29049 Py_INCREF(Py_None
); resultobj
= Py_None
;
29056 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29057 PyObject
*resultobj
;
29058 wxWindow
*arg1
= (wxWindow
*) 0 ;
29060 PyObject
* obj0
= 0 ;
29061 char *kwnames
[] = {
29062 (char *) "self", NULL
29065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
29066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29067 if (SWIG_arg_fail(1)) SWIG_fail
;
29069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29070 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
29072 wxPyEndAllowThreads(__tstate
);
29073 if (PyErr_Occurred()) SWIG_fail
;
29076 wxColour
* resultptr
;
29077 resultptr
= new wxColour((wxColour
&)(result
));
29078 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29086 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29087 PyObject
*resultobj
;
29088 wxWindow
*arg1
= (wxWindow
*) 0 ;
29090 PyObject
* obj0
= 0 ;
29091 char *kwnames
[] = {
29092 (char *) "self", NULL
29095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
29096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29097 if (SWIG_arg_fail(1)) SWIG_fail
;
29099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29100 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
29102 wxPyEndAllowThreads(__tstate
);
29103 if (PyErr_Occurred()) SWIG_fail
;
29106 wxColour
* resultptr
;
29107 resultptr
= new wxColour((wxColour
&)(result
));
29108 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29116 static PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29117 PyObject
*resultobj
;
29118 wxWindow
*arg1
= (wxWindow
*) 0 ;
29119 wxBackgroundStyle arg2
;
29121 PyObject
* obj0
= 0 ;
29122 PyObject
* obj1
= 0 ;
29123 char *kwnames
[] = {
29124 (char *) "self",(char *) "style", NULL
29127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
29128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29129 if (SWIG_arg_fail(1)) SWIG_fail
;
29131 arg2
= (wxBackgroundStyle
)(SWIG_As_int(obj1
));
29132 if (SWIG_arg_fail(2)) SWIG_fail
;
29135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29136 result
= (bool)(arg1
)->SetBackgroundStyle((wxBackgroundStyle
)arg2
);
29138 wxPyEndAllowThreads(__tstate
);
29139 if (PyErr_Occurred()) SWIG_fail
;
29142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29150 static PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29151 PyObject
*resultobj
;
29152 wxWindow
*arg1
= (wxWindow
*) 0 ;
29153 wxBackgroundStyle result
;
29154 PyObject
* obj0
= 0 ;
29155 char *kwnames
[] = {
29156 (char *) "self", NULL
29159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundStyle",kwnames
,&obj0
)) goto fail
;
29160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29161 if (SWIG_arg_fail(1)) SWIG_fail
;
29163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29164 result
= (wxBackgroundStyle
)((wxWindow
const *)arg1
)->GetBackgroundStyle();
29166 wxPyEndAllowThreads(__tstate
);
29167 if (PyErr_Occurred()) SWIG_fail
;
29169 resultobj
= SWIG_From_int((result
));
29176 static PyObject
*_wrap_Window_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29177 PyObject
*resultobj
;
29178 wxWindow
*arg1
= (wxWindow
*) 0 ;
29179 wxCursor
*arg2
= 0 ;
29181 PyObject
* obj0
= 0 ;
29182 PyObject
* obj1
= 0 ;
29183 char *kwnames
[] = {
29184 (char *) "self",(char *) "cursor", NULL
29187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
29188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29189 if (SWIG_arg_fail(1)) SWIG_fail
;
29191 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
29192 if (SWIG_arg_fail(2)) SWIG_fail
;
29193 if (arg2
== NULL
) {
29194 SWIG_null_ref("wxCursor");
29196 if (SWIG_arg_fail(2)) SWIG_fail
;
29199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29200 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
29202 wxPyEndAllowThreads(__tstate
);
29203 if (PyErr_Occurred()) SWIG_fail
;
29206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29214 static PyObject
*_wrap_Window_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29215 PyObject
*resultobj
;
29216 wxWindow
*arg1
= (wxWindow
*) 0 ;
29218 PyObject
* obj0
= 0 ;
29219 char *kwnames
[] = {
29220 (char *) "self", NULL
29223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
29224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29225 if (SWIG_arg_fail(1)) SWIG_fail
;
29227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29228 result
= (arg1
)->GetCursor();
29230 wxPyEndAllowThreads(__tstate
);
29231 if (PyErr_Occurred()) SWIG_fail
;
29234 wxCursor
* resultptr
;
29235 resultptr
= new wxCursor((wxCursor
&)(result
));
29236 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
29244 static PyObject
*_wrap_Window_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29245 PyObject
*resultobj
;
29246 wxWindow
*arg1
= (wxWindow
*) 0 ;
29249 PyObject
* obj0
= 0 ;
29250 PyObject
* obj1
= 0 ;
29251 char *kwnames
[] = {
29252 (char *) "self",(char *) "font", NULL
29255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
29256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29257 if (SWIG_arg_fail(1)) SWIG_fail
;
29259 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29260 if (SWIG_arg_fail(2)) SWIG_fail
;
29261 if (arg2
== NULL
) {
29262 SWIG_null_ref("wxFont");
29264 if (SWIG_arg_fail(2)) SWIG_fail
;
29267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29268 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
29270 wxPyEndAllowThreads(__tstate
);
29271 if (PyErr_Occurred()) SWIG_fail
;
29274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29282 static PyObject
*_wrap_Window_SetOwnFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29283 PyObject
*resultobj
;
29284 wxWindow
*arg1
= (wxWindow
*) 0 ;
29286 PyObject
* obj0
= 0 ;
29287 PyObject
* obj1
= 0 ;
29288 char *kwnames
[] = {
29289 (char *) "self",(char *) "font", NULL
29292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
29293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29294 if (SWIG_arg_fail(1)) SWIG_fail
;
29296 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29297 if (SWIG_arg_fail(2)) SWIG_fail
;
29298 if (arg2
== NULL
) {
29299 SWIG_null_ref("wxFont");
29301 if (SWIG_arg_fail(2)) SWIG_fail
;
29304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29305 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
29307 wxPyEndAllowThreads(__tstate
);
29308 if (PyErr_Occurred()) SWIG_fail
;
29310 Py_INCREF(Py_None
); resultobj
= Py_None
;
29317 static PyObject
*_wrap_Window_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29318 PyObject
*resultobj
;
29319 wxWindow
*arg1
= (wxWindow
*) 0 ;
29321 PyObject
* obj0
= 0 ;
29322 char *kwnames
[] = {
29323 (char *) "self", NULL
29326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
29327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29328 if (SWIG_arg_fail(1)) SWIG_fail
;
29330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29331 result
= (arg1
)->GetFont();
29333 wxPyEndAllowThreads(__tstate
);
29334 if (PyErr_Occurred()) SWIG_fail
;
29337 wxFont
* resultptr
;
29338 resultptr
= new wxFont((wxFont
&)(result
));
29339 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
29347 static PyObject
*_wrap_Window_SetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29348 PyObject
*resultobj
;
29349 wxWindow
*arg1
= (wxWindow
*) 0 ;
29350 wxCaret
*arg2
= (wxCaret
*) 0 ;
29351 PyObject
* obj0
= 0 ;
29352 PyObject
* obj1
= 0 ;
29353 char *kwnames
[] = {
29354 (char *) "self",(char *) "caret", NULL
29357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
29358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29359 if (SWIG_arg_fail(1)) SWIG_fail
;
29360 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
29361 if (SWIG_arg_fail(2)) SWIG_fail
;
29363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29364 (arg1
)->SetCaret(arg2
);
29366 wxPyEndAllowThreads(__tstate
);
29367 if (PyErr_Occurred()) SWIG_fail
;
29369 Py_INCREF(Py_None
); resultobj
= Py_None
;
29376 static PyObject
*_wrap_Window_GetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29377 PyObject
*resultobj
;
29378 wxWindow
*arg1
= (wxWindow
*) 0 ;
29380 PyObject
* obj0
= 0 ;
29381 char *kwnames
[] = {
29382 (char *) "self", NULL
29385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
29386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29387 if (SWIG_arg_fail(1)) SWIG_fail
;
29389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29390 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
29392 wxPyEndAllowThreads(__tstate
);
29393 if (PyErr_Occurred()) SWIG_fail
;
29395 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
29402 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29403 PyObject
*resultobj
;
29404 wxWindow
*arg1
= (wxWindow
*) 0 ;
29406 PyObject
* obj0
= 0 ;
29407 char *kwnames
[] = {
29408 (char *) "self", NULL
29411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
29412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29413 if (SWIG_arg_fail(1)) SWIG_fail
;
29415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29416 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
29418 wxPyEndAllowThreads(__tstate
);
29419 if (PyErr_Occurred()) SWIG_fail
;
29422 resultobj
= SWIG_From_int((int)(result
));
29430 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29431 PyObject
*resultobj
;
29432 wxWindow
*arg1
= (wxWindow
*) 0 ;
29434 PyObject
* obj0
= 0 ;
29435 char *kwnames
[] = {
29436 (char *) "self", NULL
29439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
29440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29441 if (SWIG_arg_fail(1)) SWIG_fail
;
29443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29444 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
29446 wxPyEndAllowThreads(__tstate
);
29447 if (PyErr_Occurred()) SWIG_fail
;
29450 resultobj
= SWIG_From_int((int)(result
));
29458 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29459 PyObject
*resultobj
;
29460 wxWindow
*arg1
= (wxWindow
*) 0 ;
29461 wxString
*arg2
= 0 ;
29462 int *arg3
= (int *) 0 ;
29463 int *arg4
= (int *) 0 ;
29464 bool temp2
= false ;
29469 PyObject
* obj0
= 0 ;
29470 PyObject
* obj1
= 0 ;
29471 char *kwnames
[] = {
29472 (char *) "self",(char *) "string", NULL
29475 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29476 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
29477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
29478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29479 if (SWIG_arg_fail(1)) SWIG_fail
;
29481 arg2
= wxString_in_helper(obj1
);
29482 if (arg2
== NULL
) SWIG_fail
;
29486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29487 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
29489 wxPyEndAllowThreads(__tstate
);
29490 if (PyErr_Occurred()) SWIG_fail
;
29492 Py_INCREF(Py_None
); resultobj
= Py_None
;
29493 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29494 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29495 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
29496 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
29511 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29512 PyObject
*resultobj
;
29513 wxWindow
*arg1
= (wxWindow
*) 0 ;
29514 wxString
*arg2
= 0 ;
29515 int *arg3
= (int *) 0 ;
29516 int *arg4
= (int *) 0 ;
29517 int *arg5
= (int *) 0 ;
29518 int *arg6
= (int *) 0 ;
29519 wxFont
*arg7
= (wxFont
*) NULL
;
29520 bool temp2
= false ;
29529 PyObject
* obj0
= 0 ;
29530 PyObject
* obj1
= 0 ;
29531 PyObject
* obj2
= 0 ;
29532 char *kwnames
[] = {
29533 (char *) "self",(char *) "string",(char *) "font", NULL
29536 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29537 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
29538 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
29539 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
29540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29542 if (SWIG_arg_fail(1)) SWIG_fail
;
29544 arg2
= wxString_in_helper(obj1
);
29545 if (arg2
== NULL
) SWIG_fail
;
29549 SWIG_Python_ConvertPtr(obj2
, (void **)&arg7
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29550 if (SWIG_arg_fail(7)) SWIG_fail
;
29553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29554 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
29556 wxPyEndAllowThreads(__tstate
);
29557 if (PyErr_Occurred()) SWIG_fail
;
29559 Py_INCREF(Py_None
); resultobj
= Py_None
;
29560 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29561 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29562 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
29563 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
29564 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
29565 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
29566 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
29567 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
29582 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29583 PyObject
*resultobj
;
29584 wxWindow
*arg1
= (wxWindow
*) 0 ;
29585 int *arg2
= (int *) 0 ;
29586 int *arg3
= (int *) 0 ;
29591 PyObject
* obj0
= 0 ;
29592 PyObject
* obj1
= 0 ;
29593 PyObject
* obj2
= 0 ;
29594 char *kwnames
[] = {
29595 (char *) "self",(char *) "x",(char *) "y", NULL
29598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29600 if (SWIG_arg_fail(1)) SWIG_fail
;
29602 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
29603 temp2
= SWIG_As_int(obj1
);
29604 if (SWIG_arg_fail(2)) SWIG_fail
;
29606 res2
= SWIG_NEWOBJ
;
29610 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
29611 temp3
= SWIG_As_int(obj2
);
29612 if (SWIG_arg_fail(3)) SWIG_fail
;
29614 res3
= SWIG_NEWOBJ
;
29618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29619 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
29621 wxPyEndAllowThreads(__tstate
);
29622 if (PyErr_Occurred()) SWIG_fail
;
29624 Py_INCREF(Py_None
); resultobj
= Py_None
;
29625 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
29626 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
29627 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29628 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29635 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29636 PyObject
*resultobj
;
29637 wxWindow
*arg1
= (wxWindow
*) 0 ;
29638 int *arg2
= (int *) 0 ;
29639 int *arg3
= (int *) 0 ;
29644 PyObject
* obj0
= 0 ;
29645 PyObject
* obj1
= 0 ;
29646 PyObject
* obj2
= 0 ;
29647 char *kwnames
[] = {
29648 (char *) "self",(char *) "x",(char *) "y", NULL
29651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29653 if (SWIG_arg_fail(1)) SWIG_fail
;
29655 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
29656 temp2
= SWIG_As_int(obj1
);
29657 if (SWIG_arg_fail(2)) SWIG_fail
;
29659 res2
= SWIG_NEWOBJ
;
29663 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
29664 temp3
= SWIG_As_int(obj2
);
29665 if (SWIG_arg_fail(3)) SWIG_fail
;
29667 res3
= SWIG_NEWOBJ
;
29671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29672 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
29674 wxPyEndAllowThreads(__tstate
);
29675 if (PyErr_Occurred()) SWIG_fail
;
29677 Py_INCREF(Py_None
); resultobj
= Py_None
;
29678 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
29679 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
29680 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29681 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29688 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29689 PyObject
*resultobj
;
29690 wxWindow
*arg1
= (wxWindow
*) 0 ;
29691 wxPoint
*arg2
= 0 ;
29694 PyObject
* obj0
= 0 ;
29695 PyObject
* obj1
= 0 ;
29696 char *kwnames
[] = {
29697 (char *) "self",(char *) "pt", NULL
29700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
29701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29702 if (SWIG_arg_fail(1)) SWIG_fail
;
29705 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29709 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
29711 wxPyEndAllowThreads(__tstate
);
29712 if (PyErr_Occurred()) SWIG_fail
;
29715 wxPoint
* resultptr
;
29716 resultptr
= new wxPoint((wxPoint
&)(result
));
29717 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29725 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29726 PyObject
*resultobj
;
29727 wxWindow
*arg1
= (wxWindow
*) 0 ;
29728 wxPoint
*arg2
= 0 ;
29731 PyObject
* obj0
= 0 ;
29732 PyObject
* obj1
= 0 ;
29733 char *kwnames
[] = {
29734 (char *) "self",(char *) "pt", NULL
29737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
29738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29739 if (SWIG_arg_fail(1)) SWIG_fail
;
29742 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29746 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
29748 wxPyEndAllowThreads(__tstate
);
29749 if (PyErr_Occurred()) SWIG_fail
;
29752 wxPoint
* resultptr
;
29753 resultptr
= new wxPoint((wxPoint
&)(result
));
29754 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29762 static PyObject
*_wrap_Window_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29763 PyObject
*resultobj
;
29764 wxWindow
*arg1
= (wxWindow
*) 0 ;
29768 PyObject
* obj0
= 0 ;
29769 PyObject
* obj1
= 0 ;
29770 PyObject
* obj2
= 0 ;
29771 char *kwnames
[] = {
29772 (char *) "self",(char *) "x",(char *) "y", NULL
29775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29777 if (SWIG_arg_fail(1)) SWIG_fail
;
29779 arg2
= (int)(SWIG_As_int(obj1
));
29780 if (SWIG_arg_fail(2)) SWIG_fail
;
29783 arg3
= (int)(SWIG_As_int(obj2
));
29784 if (SWIG_arg_fail(3)) SWIG_fail
;
29787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29788 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
29790 wxPyEndAllowThreads(__tstate
);
29791 if (PyErr_Occurred()) SWIG_fail
;
29793 resultobj
= SWIG_From_int((result
));
29800 static PyObject
*_wrap_Window_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29801 PyObject
*resultobj
;
29802 wxWindow
*arg1
= (wxWindow
*) 0 ;
29803 wxPoint
*arg2
= 0 ;
29806 PyObject
* obj0
= 0 ;
29807 PyObject
* obj1
= 0 ;
29808 char *kwnames
[] = {
29809 (char *) "self",(char *) "pt", NULL
29812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
29813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29814 if (SWIG_arg_fail(1)) SWIG_fail
;
29817 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29821 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
29823 wxPyEndAllowThreads(__tstate
);
29824 if (PyErr_Occurred()) SWIG_fail
;
29826 resultobj
= SWIG_From_int((result
));
29833 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*, PyObject
*args
) {
29834 PyObject
*resultobj
;
29835 wxWindow
*arg1
= (wxWindow
*) 0 ;
29838 PyObject
* obj0
= 0 ;
29839 PyObject
* obj1
= 0 ;
29841 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
29842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29843 if (SWIG_arg_fail(1)) SWIG_fail
;
29845 arg2
= (long)(SWIG_As_long(obj1
));
29846 if (SWIG_arg_fail(2)) SWIG_fail
;
29849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29850 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder(arg2
);
29852 wxPyEndAllowThreads(__tstate
);
29853 if (PyErr_Occurred()) SWIG_fail
;
29855 resultobj
= SWIG_From_int((result
));
29862 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*, PyObject
*args
) {
29863 PyObject
*resultobj
;
29864 wxWindow
*arg1
= (wxWindow
*) 0 ;
29866 PyObject
* obj0
= 0 ;
29868 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
29869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29870 if (SWIG_arg_fail(1)) SWIG_fail
;
29872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29873 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder();
29875 wxPyEndAllowThreads(__tstate
);
29876 if (PyErr_Occurred()) SWIG_fail
;
29878 resultobj
= SWIG_From_int((result
));
29885 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
29890 argc
= PyObject_Length(args
);
29891 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
29892 argv
[ii
] = PyTuple_GetItem(args
,ii
);
29898 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
29906 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
29913 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
29921 _v
= SWIG_Check_long(argv
[1]);
29923 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
29928 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'Window_GetBorder'");
29933 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29934 PyObject
*resultobj
;
29935 wxWindow
*arg1
= (wxWindow
*) 0 ;
29936 long arg2
= (long) wxUPDATE_UI_NONE
;
29937 PyObject
* obj0
= 0 ;
29938 PyObject
* obj1
= 0 ;
29939 char *kwnames
[] = {
29940 (char *) "self",(char *) "flags", NULL
29943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
29944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29945 if (SWIG_arg_fail(1)) SWIG_fail
;
29948 arg2
= (long)(SWIG_As_long(obj1
));
29949 if (SWIG_arg_fail(2)) SWIG_fail
;
29953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29954 (arg1
)->UpdateWindowUI(arg2
);
29956 wxPyEndAllowThreads(__tstate
);
29957 if (PyErr_Occurred()) SWIG_fail
;
29959 Py_INCREF(Py_None
); resultobj
= Py_None
;
29966 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29967 PyObject
*resultobj
;
29968 wxWindow
*arg1
= (wxWindow
*) 0 ;
29969 wxMenu
*arg2
= (wxMenu
*) 0 ;
29970 int arg3
= (int) -1 ;
29971 int arg4
= (int) -1 ;
29973 PyObject
* obj0
= 0 ;
29974 PyObject
* obj1
= 0 ;
29975 PyObject
* obj2
= 0 ;
29976 PyObject
* obj3
= 0 ;
29977 char *kwnames
[] = {
29978 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
29981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29983 if (SWIG_arg_fail(1)) SWIG_fail
;
29984 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
29985 if (SWIG_arg_fail(2)) SWIG_fail
;
29988 arg3
= (int)(SWIG_As_int(obj2
));
29989 if (SWIG_arg_fail(3)) SWIG_fail
;
29994 arg4
= (int)(SWIG_As_int(obj3
));
29995 if (SWIG_arg_fail(4)) SWIG_fail
;
29999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30000 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
30002 wxPyEndAllowThreads(__tstate
);
30003 if (PyErr_Occurred()) SWIG_fail
;
30006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30014 static PyObject
*_wrap_Window_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30015 PyObject
*resultobj
;
30016 wxWindow
*arg1
= (wxWindow
*) 0 ;
30017 wxMenu
*arg2
= (wxMenu
*) 0 ;
30018 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30019 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30022 PyObject
* obj0
= 0 ;
30023 PyObject
* obj1
= 0 ;
30024 PyObject
* obj2
= 0 ;
30025 char *kwnames
[] = {
30026 (char *) "self",(char *) "menu",(char *) "pos", NULL
30029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30031 if (SWIG_arg_fail(1)) SWIG_fail
;
30032 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
30033 if (SWIG_arg_fail(2)) SWIG_fail
;
30037 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30042 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
30044 wxPyEndAllowThreads(__tstate
);
30045 if (PyErr_Occurred()) SWIG_fail
;
30048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30056 static PyObject
*_wrap_Window_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30057 PyObject
*resultobj
;
30058 wxWindow
*arg1
= (wxWindow
*) 0 ;
30060 PyObject
* obj0
= 0 ;
30061 char *kwnames
[] = {
30062 (char *) "self", NULL
30065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
30066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30067 if (SWIG_arg_fail(1)) SWIG_fail
;
30069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30070 result
= (long)wxWindow_GetHandle(arg1
);
30072 wxPyEndAllowThreads(__tstate
);
30073 if (PyErr_Occurred()) SWIG_fail
;
30076 resultobj
= SWIG_From_long((long)(result
));
30084 static PyObject
*_wrap_Window_AssociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30085 PyObject
*resultobj
;
30086 wxWindow
*arg1
= (wxWindow
*) 0 ;
30088 PyObject
* obj0
= 0 ;
30089 PyObject
* obj1
= 0 ;
30090 char *kwnames
[] = {
30091 (char *) "self",(char *) "handle", NULL
30094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AssociateHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
30095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30096 if (SWIG_arg_fail(1)) SWIG_fail
;
30098 arg2
= (long)(SWIG_As_long(obj1
));
30099 if (SWIG_arg_fail(2)) SWIG_fail
;
30102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30103 wxWindow_AssociateHandle(arg1
,arg2
);
30105 wxPyEndAllowThreads(__tstate
);
30106 if (PyErr_Occurred()) SWIG_fail
;
30108 Py_INCREF(Py_None
); resultobj
= Py_None
;
30115 static PyObject
*_wrap_Window_DissociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30116 PyObject
*resultobj
;
30117 wxWindow
*arg1
= (wxWindow
*) 0 ;
30118 PyObject
* obj0
= 0 ;
30119 char *kwnames
[] = {
30120 (char *) "self", NULL
30123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DissociateHandle",kwnames
,&obj0
)) goto fail
;
30124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30125 if (SWIG_arg_fail(1)) SWIG_fail
;
30127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30128 (arg1
)->DissociateHandle();
30130 wxPyEndAllowThreads(__tstate
);
30131 if (PyErr_Occurred()) SWIG_fail
;
30133 Py_INCREF(Py_None
); resultobj
= Py_None
;
30140 static PyObject
*_wrap_Window_OnPaint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30141 PyObject
*resultobj
;
30142 wxWindow
*arg1
= (wxWindow
*) 0 ;
30143 wxPaintEvent
*arg2
= 0 ;
30144 PyObject
* obj0
= 0 ;
30145 PyObject
* obj1
= 0 ;
30146 char *kwnames
[] = {
30147 (char *) "self",(char *) "event", NULL
30150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_OnPaint",kwnames
,&obj0
,&obj1
)) goto fail
;
30151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30152 if (SWIG_arg_fail(1)) SWIG_fail
;
30154 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPaintEvent
, SWIG_POINTER_EXCEPTION
| 0);
30155 if (SWIG_arg_fail(2)) SWIG_fail
;
30156 if (arg2
== NULL
) {
30157 SWIG_null_ref("wxPaintEvent");
30159 if (SWIG_arg_fail(2)) SWIG_fail
;
30162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30163 (arg1
)->OnPaint(*arg2
);
30165 wxPyEndAllowThreads(__tstate
);
30166 if (PyErr_Occurred()) SWIG_fail
;
30168 Py_INCREF(Py_None
); resultobj
= Py_None
;
30175 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30176 PyObject
*resultobj
;
30177 wxWindow
*arg1
= (wxWindow
*) 0 ;
30180 PyObject
* obj0
= 0 ;
30181 PyObject
* obj1
= 0 ;
30182 char *kwnames
[] = {
30183 (char *) "self",(char *) "orient", NULL
30186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
30187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30188 if (SWIG_arg_fail(1)) SWIG_fail
;
30190 arg2
= (int)(SWIG_As_int(obj1
));
30191 if (SWIG_arg_fail(2)) SWIG_fail
;
30194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30195 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
30197 wxPyEndAllowThreads(__tstate
);
30198 if (PyErr_Occurred()) SWIG_fail
;
30201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30209 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30210 PyObject
*resultobj
;
30211 wxWindow
*arg1
= (wxWindow
*) 0 ;
30216 bool arg6
= (bool) true ;
30217 PyObject
* obj0
= 0 ;
30218 PyObject
* obj1
= 0 ;
30219 PyObject
* obj2
= 0 ;
30220 PyObject
* obj3
= 0 ;
30221 PyObject
* obj4
= 0 ;
30222 PyObject
* obj5
= 0 ;
30223 char *kwnames
[] = {
30224 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
30227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30229 if (SWIG_arg_fail(1)) SWIG_fail
;
30231 arg2
= (int)(SWIG_As_int(obj1
));
30232 if (SWIG_arg_fail(2)) SWIG_fail
;
30235 arg3
= (int)(SWIG_As_int(obj2
));
30236 if (SWIG_arg_fail(3)) SWIG_fail
;
30239 arg4
= (int)(SWIG_As_int(obj3
));
30240 if (SWIG_arg_fail(4)) SWIG_fail
;
30243 arg5
= (int)(SWIG_As_int(obj4
));
30244 if (SWIG_arg_fail(5)) SWIG_fail
;
30248 arg6
= (bool)(SWIG_As_bool(obj5
));
30249 if (SWIG_arg_fail(6)) SWIG_fail
;
30253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30254 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
30256 wxPyEndAllowThreads(__tstate
);
30257 if (PyErr_Occurred()) SWIG_fail
;
30259 Py_INCREF(Py_None
); resultobj
= Py_None
;
30266 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30267 PyObject
*resultobj
;
30268 wxWindow
*arg1
= (wxWindow
*) 0 ;
30271 bool arg4
= (bool) true ;
30272 PyObject
* obj0
= 0 ;
30273 PyObject
* obj1
= 0 ;
30274 PyObject
* obj2
= 0 ;
30275 PyObject
* obj3
= 0 ;
30276 char *kwnames
[] = {
30277 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
30280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30282 if (SWIG_arg_fail(1)) SWIG_fail
;
30284 arg2
= (int)(SWIG_As_int(obj1
));
30285 if (SWIG_arg_fail(2)) SWIG_fail
;
30288 arg3
= (int)(SWIG_As_int(obj2
));
30289 if (SWIG_arg_fail(3)) SWIG_fail
;
30293 arg4
= (bool)(SWIG_As_bool(obj3
));
30294 if (SWIG_arg_fail(4)) SWIG_fail
;
30298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30299 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
30301 wxPyEndAllowThreads(__tstate
);
30302 if (PyErr_Occurred()) SWIG_fail
;
30304 Py_INCREF(Py_None
); resultobj
= Py_None
;
30311 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30312 PyObject
*resultobj
;
30313 wxWindow
*arg1
= (wxWindow
*) 0 ;
30316 PyObject
* obj0
= 0 ;
30317 PyObject
* obj1
= 0 ;
30318 char *kwnames
[] = {
30319 (char *) "self",(char *) "orientation", NULL
30322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
30323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30324 if (SWIG_arg_fail(1)) SWIG_fail
;
30326 arg2
= (int)(SWIG_As_int(obj1
));
30327 if (SWIG_arg_fail(2)) SWIG_fail
;
30330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30331 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
30333 wxPyEndAllowThreads(__tstate
);
30334 if (PyErr_Occurred()) SWIG_fail
;
30337 resultobj
= SWIG_From_int((int)(result
));
30345 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30346 PyObject
*resultobj
;
30347 wxWindow
*arg1
= (wxWindow
*) 0 ;
30350 PyObject
* obj0
= 0 ;
30351 PyObject
* obj1
= 0 ;
30352 char *kwnames
[] = {
30353 (char *) "self",(char *) "orientation", NULL
30356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
30357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30358 if (SWIG_arg_fail(1)) SWIG_fail
;
30360 arg2
= (int)(SWIG_As_int(obj1
));
30361 if (SWIG_arg_fail(2)) SWIG_fail
;
30364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30365 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
30367 wxPyEndAllowThreads(__tstate
);
30368 if (PyErr_Occurred()) SWIG_fail
;
30371 resultobj
= SWIG_From_int((int)(result
));
30379 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30380 PyObject
*resultobj
;
30381 wxWindow
*arg1
= (wxWindow
*) 0 ;
30384 PyObject
* obj0
= 0 ;
30385 PyObject
* obj1
= 0 ;
30386 char *kwnames
[] = {
30387 (char *) "self",(char *) "orientation", NULL
30390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
30391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30392 if (SWIG_arg_fail(1)) SWIG_fail
;
30394 arg2
= (int)(SWIG_As_int(obj1
));
30395 if (SWIG_arg_fail(2)) SWIG_fail
;
30398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30399 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
30401 wxPyEndAllowThreads(__tstate
);
30402 if (PyErr_Occurred()) SWIG_fail
;
30405 resultobj
= SWIG_From_int((int)(result
));
30413 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30414 PyObject
*resultobj
;
30415 wxWindow
*arg1
= (wxWindow
*) 0 ;
30418 wxRect
*arg4
= (wxRect
*) NULL
;
30419 PyObject
* obj0
= 0 ;
30420 PyObject
* obj1
= 0 ;
30421 PyObject
* obj2
= 0 ;
30422 PyObject
* obj3
= 0 ;
30423 char *kwnames
[] = {
30424 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
30427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30429 if (SWIG_arg_fail(1)) SWIG_fail
;
30431 arg2
= (int)(SWIG_As_int(obj1
));
30432 if (SWIG_arg_fail(2)) SWIG_fail
;
30435 arg3
= (int)(SWIG_As_int(obj2
));
30436 if (SWIG_arg_fail(3)) SWIG_fail
;
30439 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
30440 if (SWIG_arg_fail(4)) SWIG_fail
;
30443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30444 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
30446 wxPyEndAllowThreads(__tstate
);
30447 if (PyErr_Occurred()) SWIG_fail
;
30449 Py_INCREF(Py_None
); resultobj
= Py_None
;
30456 static PyObject
*_wrap_Window_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30457 PyObject
*resultobj
;
30458 wxWindow
*arg1
= (wxWindow
*) 0 ;
30461 PyObject
* obj0
= 0 ;
30462 PyObject
* obj1
= 0 ;
30463 char *kwnames
[] = {
30464 (char *) "self",(char *) "lines", NULL
30467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
30468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30469 if (SWIG_arg_fail(1)) SWIG_fail
;
30471 arg2
= (int)(SWIG_As_int(obj1
));
30472 if (SWIG_arg_fail(2)) SWIG_fail
;
30475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30476 result
= (bool)(arg1
)->ScrollLines(arg2
);
30478 wxPyEndAllowThreads(__tstate
);
30479 if (PyErr_Occurred()) SWIG_fail
;
30482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30490 static PyObject
*_wrap_Window_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30491 PyObject
*resultobj
;
30492 wxWindow
*arg1
= (wxWindow
*) 0 ;
30495 PyObject
* obj0
= 0 ;
30496 PyObject
* obj1
= 0 ;
30497 char *kwnames
[] = {
30498 (char *) "self",(char *) "pages", NULL
30501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
30502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30503 if (SWIG_arg_fail(1)) SWIG_fail
;
30505 arg2
= (int)(SWIG_As_int(obj1
));
30506 if (SWIG_arg_fail(2)) SWIG_fail
;
30509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30510 result
= (bool)(arg1
)->ScrollPages(arg2
);
30512 wxPyEndAllowThreads(__tstate
);
30513 if (PyErr_Occurred()) SWIG_fail
;
30516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30524 static PyObject
*_wrap_Window_LineUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30525 PyObject
*resultobj
;
30526 wxWindow
*arg1
= (wxWindow
*) 0 ;
30528 PyObject
* obj0
= 0 ;
30529 char *kwnames
[] = {
30530 (char *) "self", NULL
30533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
30534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30535 if (SWIG_arg_fail(1)) SWIG_fail
;
30537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30538 result
= (bool)(arg1
)->LineUp();
30540 wxPyEndAllowThreads(__tstate
);
30541 if (PyErr_Occurred()) SWIG_fail
;
30544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30552 static PyObject
*_wrap_Window_LineDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30553 PyObject
*resultobj
;
30554 wxWindow
*arg1
= (wxWindow
*) 0 ;
30556 PyObject
* obj0
= 0 ;
30557 char *kwnames
[] = {
30558 (char *) "self", NULL
30561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
30562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30563 if (SWIG_arg_fail(1)) SWIG_fail
;
30565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30566 result
= (bool)(arg1
)->LineDown();
30568 wxPyEndAllowThreads(__tstate
);
30569 if (PyErr_Occurred()) SWIG_fail
;
30572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30580 static PyObject
*_wrap_Window_PageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30581 PyObject
*resultobj
;
30582 wxWindow
*arg1
= (wxWindow
*) 0 ;
30584 PyObject
* obj0
= 0 ;
30585 char *kwnames
[] = {
30586 (char *) "self", NULL
30589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
30590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30591 if (SWIG_arg_fail(1)) SWIG_fail
;
30593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30594 result
= (bool)(arg1
)->PageUp();
30596 wxPyEndAllowThreads(__tstate
);
30597 if (PyErr_Occurred()) SWIG_fail
;
30600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30608 static PyObject
*_wrap_Window_PageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30609 PyObject
*resultobj
;
30610 wxWindow
*arg1
= (wxWindow
*) 0 ;
30612 PyObject
* obj0
= 0 ;
30613 char *kwnames
[] = {
30614 (char *) "self", NULL
30617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
30618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30619 if (SWIG_arg_fail(1)) SWIG_fail
;
30621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30622 result
= (bool)(arg1
)->PageDown();
30624 wxPyEndAllowThreads(__tstate
);
30625 if (PyErr_Occurred()) SWIG_fail
;
30628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30636 static PyObject
*_wrap_Window_SetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30637 PyObject
*resultobj
;
30638 wxWindow
*arg1
= (wxWindow
*) 0 ;
30639 wxString
*arg2
= 0 ;
30640 bool temp2
= false ;
30641 PyObject
* obj0
= 0 ;
30642 PyObject
* obj1
= 0 ;
30643 char *kwnames
[] = {
30644 (char *) "self",(char *) "text", NULL
30647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
30648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30649 if (SWIG_arg_fail(1)) SWIG_fail
;
30651 arg2
= wxString_in_helper(obj1
);
30652 if (arg2
== NULL
) SWIG_fail
;
30656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30657 (arg1
)->SetHelpText((wxString
const &)*arg2
);
30659 wxPyEndAllowThreads(__tstate
);
30660 if (PyErr_Occurred()) SWIG_fail
;
30662 Py_INCREF(Py_None
); resultobj
= Py_None
;
30677 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30678 PyObject
*resultobj
;
30679 wxWindow
*arg1
= (wxWindow
*) 0 ;
30680 wxString
*arg2
= 0 ;
30681 bool temp2
= false ;
30682 PyObject
* obj0
= 0 ;
30683 PyObject
* obj1
= 0 ;
30684 char *kwnames
[] = {
30685 (char *) "self",(char *) "text", NULL
30688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
30689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30690 if (SWIG_arg_fail(1)) SWIG_fail
;
30692 arg2
= wxString_in_helper(obj1
);
30693 if (arg2
== NULL
) SWIG_fail
;
30697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30698 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
30700 wxPyEndAllowThreads(__tstate
);
30701 if (PyErr_Occurred()) SWIG_fail
;
30703 Py_INCREF(Py_None
); resultobj
= Py_None
;
30718 static PyObject
*_wrap_Window_GetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30719 PyObject
*resultobj
;
30720 wxWindow
*arg1
= (wxWindow
*) 0 ;
30722 PyObject
* obj0
= 0 ;
30723 char *kwnames
[] = {
30724 (char *) "self", NULL
30727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
30728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30729 if (SWIG_arg_fail(1)) SWIG_fail
;
30731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30732 result
= ((wxWindow
const *)arg1
)->GetHelpText();
30734 wxPyEndAllowThreads(__tstate
);
30735 if (PyErr_Occurred()) SWIG_fail
;
30739 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30741 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30750 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30751 PyObject
*resultobj
;
30752 wxWindow
*arg1
= (wxWindow
*) 0 ;
30753 wxString
*arg2
= 0 ;
30754 bool temp2
= false ;
30755 PyObject
* obj0
= 0 ;
30756 PyObject
* obj1
= 0 ;
30757 char *kwnames
[] = {
30758 (char *) "self",(char *) "tip", NULL
30761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
30762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30763 if (SWIG_arg_fail(1)) SWIG_fail
;
30765 arg2
= wxString_in_helper(obj1
);
30766 if (arg2
== NULL
) SWIG_fail
;
30770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30771 (arg1
)->SetToolTip((wxString
const &)*arg2
);
30773 wxPyEndAllowThreads(__tstate
);
30774 if (PyErr_Occurred()) SWIG_fail
;
30776 Py_INCREF(Py_None
); resultobj
= Py_None
;
30791 static PyObject
*_wrap_Window_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30792 PyObject
*resultobj
;
30793 wxWindow
*arg1
= (wxWindow
*) 0 ;
30794 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
30795 PyObject
* obj0
= 0 ;
30796 PyObject
* obj1
= 0 ;
30797 char *kwnames
[] = {
30798 (char *) "self",(char *) "tip", NULL
30801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
30802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30803 if (SWIG_arg_fail(1)) SWIG_fail
;
30804 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
30805 if (SWIG_arg_fail(2)) SWIG_fail
;
30807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30808 (arg1
)->SetToolTip(arg2
);
30810 wxPyEndAllowThreads(__tstate
);
30811 if (PyErr_Occurred()) SWIG_fail
;
30813 Py_INCREF(Py_None
); resultobj
= Py_None
;
30820 static PyObject
*_wrap_Window_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30821 PyObject
*resultobj
;
30822 wxWindow
*arg1
= (wxWindow
*) 0 ;
30824 PyObject
* obj0
= 0 ;
30825 char *kwnames
[] = {
30826 (char *) "self", NULL
30829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
30830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30831 if (SWIG_arg_fail(1)) SWIG_fail
;
30833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30834 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
30836 wxPyEndAllowThreads(__tstate
);
30837 if (PyErr_Occurred()) SWIG_fail
;
30840 resultobj
= wxPyMake_wxObject(result
, 0);
30848 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30849 PyObject
*resultobj
;
30850 wxWindow
*arg1
= (wxWindow
*) 0 ;
30851 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
30852 PyObject
* obj0
= 0 ;
30853 PyObject
* obj1
= 0 ;
30854 char *kwnames
[] = {
30855 (char *) "self",(char *) "dropTarget", NULL
30858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
30859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30860 if (SWIG_arg_fail(1)) SWIG_fail
;
30861 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
30862 if (SWIG_arg_fail(2)) SWIG_fail
;
30864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30865 (arg1
)->SetDropTarget(arg2
);
30867 wxPyEndAllowThreads(__tstate
);
30868 if (PyErr_Occurred()) SWIG_fail
;
30870 Py_INCREF(Py_None
); resultobj
= Py_None
;
30877 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30878 PyObject
*resultobj
;
30879 wxWindow
*arg1
= (wxWindow
*) 0 ;
30880 wxPyDropTarget
*result
;
30881 PyObject
* obj0
= 0 ;
30882 char *kwnames
[] = {
30883 (char *) "self", NULL
30886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
30887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30888 if (SWIG_arg_fail(1)) SWIG_fail
;
30890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30891 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
30893 wxPyEndAllowThreads(__tstate
);
30894 if (PyErr_Occurred()) SWIG_fail
;
30896 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
30903 static PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30904 PyObject
*resultobj
;
30905 wxWindow
*arg1
= (wxWindow
*) 0 ;
30907 PyObject
* obj0
= 0 ;
30908 PyObject
* obj1
= 0 ;
30909 char *kwnames
[] = {
30910 (char *) "self",(char *) "accept", NULL
30913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) goto fail
;
30914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30915 if (SWIG_arg_fail(1)) SWIG_fail
;
30917 arg2
= (bool)(SWIG_As_bool(obj1
));
30918 if (SWIG_arg_fail(2)) SWIG_fail
;
30921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30922 (arg1
)->DragAcceptFiles(arg2
);
30924 wxPyEndAllowThreads(__tstate
);
30925 if (PyErr_Occurred()) SWIG_fail
;
30927 Py_INCREF(Py_None
); resultobj
= Py_None
;
30934 static PyObject
*_wrap_Window_SetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30935 PyObject
*resultobj
;
30936 wxWindow
*arg1
= (wxWindow
*) 0 ;
30937 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
30938 PyObject
* obj0
= 0 ;
30939 PyObject
* obj1
= 0 ;
30940 char *kwnames
[] = {
30941 (char *) "self",(char *) "constraints", NULL
30944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
30945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30946 if (SWIG_arg_fail(1)) SWIG_fail
;
30947 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
30948 if (SWIG_arg_fail(2)) SWIG_fail
;
30950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30951 (arg1
)->SetConstraints(arg2
);
30953 wxPyEndAllowThreads(__tstate
);
30954 if (PyErr_Occurred()) SWIG_fail
;
30956 Py_INCREF(Py_None
); resultobj
= Py_None
;
30963 static PyObject
*_wrap_Window_GetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30964 PyObject
*resultobj
;
30965 wxWindow
*arg1
= (wxWindow
*) 0 ;
30966 wxLayoutConstraints
*result
;
30967 PyObject
* obj0
= 0 ;
30968 char *kwnames
[] = {
30969 (char *) "self", NULL
30972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
30973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30974 if (SWIG_arg_fail(1)) SWIG_fail
;
30976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30977 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
30979 wxPyEndAllowThreads(__tstate
);
30980 if (PyErr_Occurred()) SWIG_fail
;
30982 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
30989 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30990 PyObject
*resultobj
;
30991 wxWindow
*arg1
= (wxWindow
*) 0 ;
30993 PyObject
* obj0
= 0 ;
30994 PyObject
* obj1
= 0 ;
30995 char *kwnames
[] = {
30996 (char *) "self",(char *) "autoLayout", NULL
30999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
31000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31001 if (SWIG_arg_fail(1)) SWIG_fail
;
31003 arg2
= (bool)(SWIG_As_bool(obj1
));
31004 if (SWIG_arg_fail(2)) SWIG_fail
;
31007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31008 (arg1
)->SetAutoLayout(arg2
);
31010 wxPyEndAllowThreads(__tstate
);
31011 if (PyErr_Occurred()) SWIG_fail
;
31013 Py_INCREF(Py_None
); resultobj
= Py_None
;
31020 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31021 PyObject
*resultobj
;
31022 wxWindow
*arg1
= (wxWindow
*) 0 ;
31024 PyObject
* obj0
= 0 ;
31025 char *kwnames
[] = {
31026 (char *) "self", NULL
31029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
31030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31031 if (SWIG_arg_fail(1)) SWIG_fail
;
31033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31034 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
31036 wxPyEndAllowThreads(__tstate
);
31037 if (PyErr_Occurred()) SWIG_fail
;
31040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31048 static PyObject
*_wrap_Window_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31049 PyObject
*resultobj
;
31050 wxWindow
*arg1
= (wxWindow
*) 0 ;
31052 PyObject
* obj0
= 0 ;
31053 char *kwnames
[] = {
31054 (char *) "self", NULL
31057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
31058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31059 if (SWIG_arg_fail(1)) SWIG_fail
;
31061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31062 result
= (bool)(arg1
)->Layout();
31064 wxPyEndAllowThreads(__tstate
);
31065 if (PyErr_Occurred()) SWIG_fail
;
31068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31076 static PyObject
*_wrap_Window_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31077 PyObject
*resultobj
;
31078 wxWindow
*arg1
= (wxWindow
*) 0 ;
31079 wxSizer
*arg2
= (wxSizer
*) 0 ;
31080 bool arg3
= (bool) true ;
31081 PyObject
* obj0
= 0 ;
31082 PyObject
* obj1
= 0 ;
31083 PyObject
* obj2
= 0 ;
31084 char *kwnames
[] = {
31085 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31090 if (SWIG_arg_fail(1)) SWIG_fail
;
31091 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31092 if (SWIG_arg_fail(2)) SWIG_fail
;
31095 arg3
= (bool)(SWIG_As_bool(obj2
));
31096 if (SWIG_arg_fail(3)) SWIG_fail
;
31100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31101 (arg1
)->SetSizer(arg2
,arg3
);
31103 wxPyEndAllowThreads(__tstate
);
31104 if (PyErr_Occurred()) SWIG_fail
;
31106 Py_INCREF(Py_None
); resultobj
= Py_None
;
31113 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31114 PyObject
*resultobj
;
31115 wxWindow
*arg1
= (wxWindow
*) 0 ;
31116 wxSizer
*arg2
= (wxSizer
*) 0 ;
31117 bool arg3
= (bool) true ;
31118 PyObject
* obj0
= 0 ;
31119 PyObject
* obj1
= 0 ;
31120 PyObject
* obj2
= 0 ;
31121 char *kwnames
[] = {
31122 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31127 if (SWIG_arg_fail(1)) SWIG_fail
;
31128 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31129 if (SWIG_arg_fail(2)) SWIG_fail
;
31132 arg3
= (bool)(SWIG_As_bool(obj2
));
31133 if (SWIG_arg_fail(3)) SWIG_fail
;
31137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31138 (arg1
)->SetSizerAndFit(arg2
,arg3
);
31140 wxPyEndAllowThreads(__tstate
);
31141 if (PyErr_Occurred()) SWIG_fail
;
31143 Py_INCREF(Py_None
); resultobj
= Py_None
;
31150 static PyObject
*_wrap_Window_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31151 PyObject
*resultobj
;
31152 wxWindow
*arg1
= (wxWindow
*) 0 ;
31154 PyObject
* obj0
= 0 ;
31155 char *kwnames
[] = {
31156 (char *) "self", NULL
31159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
31160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31161 if (SWIG_arg_fail(1)) SWIG_fail
;
31163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31164 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
31166 wxPyEndAllowThreads(__tstate
);
31167 if (PyErr_Occurred()) SWIG_fail
;
31170 resultobj
= wxPyMake_wxSizer(result
, 0);
31178 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31179 PyObject
*resultobj
;
31180 wxWindow
*arg1
= (wxWindow
*) 0 ;
31181 wxSizer
*arg2
= (wxSizer
*) 0 ;
31182 PyObject
* obj0
= 0 ;
31183 PyObject
* obj1
= 0 ;
31184 char *kwnames
[] = {
31185 (char *) "self",(char *) "sizer", NULL
31188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
31189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31190 if (SWIG_arg_fail(1)) SWIG_fail
;
31191 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31192 if (SWIG_arg_fail(2)) SWIG_fail
;
31194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31195 (arg1
)->SetContainingSizer(arg2
);
31197 wxPyEndAllowThreads(__tstate
);
31198 if (PyErr_Occurred()) SWIG_fail
;
31200 Py_INCREF(Py_None
); resultobj
= Py_None
;
31207 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31208 PyObject
*resultobj
;
31209 wxWindow
*arg1
= (wxWindow
*) 0 ;
31211 PyObject
* obj0
= 0 ;
31212 char *kwnames
[] = {
31213 (char *) "self", NULL
31216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
31217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31218 if (SWIG_arg_fail(1)) SWIG_fail
;
31220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31221 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
31223 wxPyEndAllowThreads(__tstate
);
31224 if (PyErr_Occurred()) SWIG_fail
;
31227 resultobj
= wxPyMake_wxSizer(result
, 0);
31235 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31236 PyObject
*resultobj
;
31237 wxWindow
*arg1
= (wxWindow
*) 0 ;
31238 PyObject
* obj0
= 0 ;
31239 char *kwnames
[] = {
31240 (char *) "self", NULL
31243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
31244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31245 if (SWIG_arg_fail(1)) SWIG_fail
;
31247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31248 (arg1
)->InheritAttributes();
31250 wxPyEndAllowThreads(__tstate
);
31251 if (PyErr_Occurred()) SWIG_fail
;
31253 Py_INCREF(Py_None
); resultobj
= Py_None
;
31260 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31261 PyObject
*resultobj
;
31262 wxWindow
*arg1
= (wxWindow
*) 0 ;
31264 PyObject
* obj0
= 0 ;
31265 char *kwnames
[] = {
31266 (char *) "self", NULL
31269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
31270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31271 if (SWIG_arg_fail(1)) SWIG_fail
;
31273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31274 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
31276 wxPyEndAllowThreads(__tstate
);
31277 if (PyErr_Occurred()) SWIG_fail
;
31280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31288 static PyObject
* Window_swigregister(PyObject
*, PyObject
*args
) {
31290 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31291 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
31293 return Py_BuildValue((char *)"");
31295 static PyObject
*_wrap_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31296 PyObject
*resultobj
;
31298 wxWindow
*arg2
= (wxWindow
*) NULL
;
31300 PyObject
* obj0
= 0 ;
31301 PyObject
* obj1
= 0 ;
31302 char *kwnames
[] = {
31303 (char *) "id",(char *) "parent", NULL
31306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
31308 arg1
= (long)(SWIG_As_long(obj0
));
31309 if (SWIG_arg_fail(1)) SWIG_fail
;
31312 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31313 if (SWIG_arg_fail(2)) SWIG_fail
;
31316 if (!wxPyCheckForApp()) SWIG_fail
;
31317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31318 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
31320 wxPyEndAllowThreads(__tstate
);
31321 if (PyErr_Occurred()) SWIG_fail
;
31324 resultobj
= wxPyMake_wxObject(result
, 0);
31332 static PyObject
*_wrap_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31333 PyObject
*resultobj
;
31334 wxString
*arg1
= 0 ;
31335 wxWindow
*arg2
= (wxWindow
*) NULL
;
31337 bool temp1
= false ;
31338 PyObject
* obj0
= 0 ;
31339 PyObject
* obj1
= 0 ;
31340 char *kwnames
[] = {
31341 (char *) "name",(char *) "parent", NULL
31344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
31346 arg1
= wxString_in_helper(obj0
);
31347 if (arg1
== NULL
) SWIG_fail
;
31351 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31352 if (SWIG_arg_fail(2)) SWIG_fail
;
31355 if (!wxPyCheckForApp()) SWIG_fail
;
31356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31357 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
31359 wxPyEndAllowThreads(__tstate
);
31360 if (PyErr_Occurred()) SWIG_fail
;
31363 resultobj
= wxPyMake_wxObject(result
, 0);
31379 static PyObject
*_wrap_FindWindowByLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31380 PyObject
*resultobj
;
31381 wxString
*arg1
= 0 ;
31382 wxWindow
*arg2
= (wxWindow
*) NULL
;
31384 bool temp1
= false ;
31385 PyObject
* obj0
= 0 ;
31386 PyObject
* obj1
= 0 ;
31387 char *kwnames
[] = {
31388 (char *) "label",(char *) "parent", NULL
31391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31393 arg1
= wxString_in_helper(obj0
);
31394 if (arg1
== NULL
) SWIG_fail
;
31398 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31399 if (SWIG_arg_fail(2)) SWIG_fail
;
31402 if (!wxPyCheckForApp()) SWIG_fail
;
31403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31404 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
31406 wxPyEndAllowThreads(__tstate
);
31407 if (PyErr_Occurred()) SWIG_fail
;
31410 resultobj
= wxPyMake_wxObject(result
, 0);
31426 static PyObject
*_wrap_Window_FromHWND(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31427 PyObject
*resultobj
;
31428 wxWindow
*arg1
= (wxWindow
*) 0 ;
31429 unsigned long arg2
;
31431 PyObject
* obj0
= 0 ;
31432 PyObject
* obj1
= 0 ;
31433 char *kwnames
[] = {
31434 (char *) "parent",(char *) "_hWnd", NULL
31437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
31438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31439 if (SWIG_arg_fail(1)) SWIG_fail
;
31441 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
31442 if (SWIG_arg_fail(2)) SWIG_fail
;
31445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31446 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
31448 wxPyEndAllowThreads(__tstate
);
31449 if (PyErr_Occurred()) SWIG_fail
;
31452 resultobj
= wxPyMake_wxObject(result
, 0);
31460 static PyObject
*_wrap_new_Validator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31461 PyObject
*resultobj
;
31462 wxValidator
*result
;
31463 char *kwnames
[] = {
31467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
31469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31470 result
= (wxValidator
*)new wxValidator();
31472 wxPyEndAllowThreads(__tstate
);
31473 if (PyErr_Occurred()) SWIG_fail
;
31475 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1);
31482 static PyObject
*_wrap_Validator_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31483 PyObject
*resultobj
;
31484 wxValidator
*arg1
= (wxValidator
*) 0 ;
31485 wxValidator
*result
;
31486 PyObject
* obj0
= 0 ;
31487 char *kwnames
[] = {
31488 (char *) "self", NULL
31491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
31492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31493 if (SWIG_arg_fail(1)) SWIG_fail
;
31495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31496 result
= (wxValidator
*)(arg1
)->Clone();
31498 wxPyEndAllowThreads(__tstate
);
31499 if (PyErr_Occurred()) SWIG_fail
;
31502 resultobj
= wxPyMake_wxObject(result
, 0);
31510 static PyObject
*_wrap_Validator_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31511 PyObject
*resultobj
;
31512 wxValidator
*arg1
= (wxValidator
*) 0 ;
31513 wxWindow
*arg2
= (wxWindow
*) 0 ;
31515 PyObject
* obj0
= 0 ;
31516 PyObject
* obj1
= 0 ;
31517 char *kwnames
[] = {
31518 (char *) "self",(char *) "parent", NULL
31521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
31522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31523 if (SWIG_arg_fail(1)) SWIG_fail
;
31524 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31525 if (SWIG_arg_fail(2)) SWIG_fail
;
31527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31528 result
= (bool)(arg1
)->Validate(arg2
);
31530 wxPyEndAllowThreads(__tstate
);
31531 if (PyErr_Occurred()) SWIG_fail
;
31534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31542 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31543 PyObject
*resultobj
;
31544 wxValidator
*arg1
= (wxValidator
*) 0 ;
31546 PyObject
* obj0
= 0 ;
31547 char *kwnames
[] = {
31548 (char *) "self", NULL
31551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
31552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31553 if (SWIG_arg_fail(1)) SWIG_fail
;
31555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31556 result
= (bool)(arg1
)->TransferToWindow();
31558 wxPyEndAllowThreads(__tstate
);
31559 if (PyErr_Occurred()) SWIG_fail
;
31562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31570 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31571 PyObject
*resultobj
;
31572 wxValidator
*arg1
= (wxValidator
*) 0 ;
31574 PyObject
* obj0
= 0 ;
31575 char *kwnames
[] = {
31576 (char *) "self", NULL
31579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
31580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31581 if (SWIG_arg_fail(1)) SWIG_fail
;
31583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31584 result
= (bool)(arg1
)->TransferFromWindow();
31586 wxPyEndAllowThreads(__tstate
);
31587 if (PyErr_Occurred()) SWIG_fail
;
31590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31598 static PyObject
*_wrap_Validator_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31599 PyObject
*resultobj
;
31600 wxValidator
*arg1
= (wxValidator
*) 0 ;
31602 PyObject
* obj0
= 0 ;
31603 char *kwnames
[] = {
31604 (char *) "self", NULL
31607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
31608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31609 if (SWIG_arg_fail(1)) SWIG_fail
;
31611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31612 result
= (wxWindow
*)(arg1
)->GetWindow();
31614 wxPyEndAllowThreads(__tstate
);
31615 if (PyErr_Occurred()) SWIG_fail
;
31618 resultobj
= wxPyMake_wxObject(result
, 0);
31626 static PyObject
*_wrap_Validator_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31627 PyObject
*resultobj
;
31628 wxValidator
*arg1
= (wxValidator
*) 0 ;
31629 wxWindow
*arg2
= (wxWindow
*) 0 ;
31630 PyObject
* obj0
= 0 ;
31631 PyObject
* obj1
= 0 ;
31632 char *kwnames
[] = {
31633 (char *) "self",(char *) "window", NULL
31636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
31637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31638 if (SWIG_arg_fail(1)) SWIG_fail
;
31639 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31640 if (SWIG_arg_fail(2)) SWIG_fail
;
31642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31643 (arg1
)->SetWindow(arg2
);
31645 wxPyEndAllowThreads(__tstate
);
31646 if (PyErr_Occurred()) SWIG_fail
;
31648 Py_INCREF(Py_None
); resultobj
= Py_None
;
31655 static PyObject
*_wrap_Validator_IsSilent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31656 PyObject
*resultobj
;
31658 char *kwnames
[] = {
31662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
31664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31665 result
= (bool)wxValidator::IsSilent();
31667 wxPyEndAllowThreads(__tstate
);
31668 if (PyErr_Occurred()) SWIG_fail
;
31671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31679 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31680 PyObject
*resultobj
;
31681 int arg1
= (int) true ;
31682 PyObject
* obj0
= 0 ;
31683 char *kwnames
[] = {
31684 (char *) "doIt", NULL
31687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
31690 arg1
= (int)(SWIG_As_int(obj0
));
31691 if (SWIG_arg_fail(1)) SWIG_fail
;
31695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31696 wxValidator::SetBellOnError(arg1
);
31698 wxPyEndAllowThreads(__tstate
);
31699 if (PyErr_Occurred()) SWIG_fail
;
31701 Py_INCREF(Py_None
); resultobj
= Py_None
;
31708 static PyObject
* Validator_swigregister(PyObject
*, PyObject
*args
) {
31710 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31711 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
31713 return Py_BuildValue((char *)"");
31715 static PyObject
*_wrap_new_PyValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31716 PyObject
*resultobj
;
31717 wxPyValidator
*result
;
31718 char *kwnames
[] = {
31722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
31724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31725 result
= (wxPyValidator
*)new wxPyValidator();
31727 wxPyEndAllowThreads(__tstate
);
31728 if (PyErr_Occurred()) SWIG_fail
;
31730 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
31737 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31738 PyObject
*resultobj
;
31739 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
31740 PyObject
*arg2
= (PyObject
*) 0 ;
31741 PyObject
*arg3
= (PyObject
*) 0 ;
31742 int arg4
= (int) true ;
31743 PyObject
* obj0
= 0 ;
31744 PyObject
* obj1
= 0 ;
31745 PyObject
* obj2
= 0 ;
31746 PyObject
* obj3
= 0 ;
31747 char *kwnames
[] = {
31748 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
31751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyValidator
, SWIG_POINTER_EXCEPTION
| 0);
31753 if (SWIG_arg_fail(1)) SWIG_fail
;
31758 arg4
= (int)(SWIG_As_int(obj3
));
31759 if (SWIG_arg_fail(4)) SWIG_fail
;
31763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31764 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
31766 wxPyEndAllowThreads(__tstate
);
31767 if (PyErr_Occurred()) SWIG_fail
;
31769 Py_INCREF(Py_None
); resultobj
= Py_None
;
31776 static PyObject
* PyValidator_swigregister(PyObject
*, PyObject
*args
) {
31778 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31779 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
31781 return Py_BuildValue((char *)"");
31783 static int _wrap_DefaultValidator_set(PyObject
*) {
31784 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
31789 static PyObject
*_wrap_DefaultValidator_get(void) {
31792 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
31797 static PyObject
*_wrap_new_Menu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31798 PyObject
*resultobj
;
31799 wxString
const &arg1_defvalue
= wxPyEmptyString
;
31800 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
31801 long arg2
= (long) 0 ;
31803 bool temp1
= false ;
31804 PyObject
* obj0
= 0 ;
31805 PyObject
* obj1
= 0 ;
31806 char *kwnames
[] = {
31807 (char *) "title",(char *) "style", NULL
31810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
31813 arg1
= wxString_in_helper(obj0
);
31814 if (arg1
== NULL
) SWIG_fail
;
31820 arg2
= (long)(SWIG_As_long(obj1
));
31821 if (SWIG_arg_fail(2)) SWIG_fail
;
31825 if (!wxPyCheckForApp()) SWIG_fail
;
31826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31827 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
31829 wxPyEndAllowThreads(__tstate
);
31830 if (PyErr_Occurred()) SWIG_fail
;
31832 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1);
31847 static PyObject
*_wrap_Menu_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31848 PyObject
*resultobj
;
31849 wxMenu
*arg1
= (wxMenu
*) 0 ;
31851 wxString
*arg3
= 0 ;
31852 wxString
const &arg4_defvalue
= wxPyEmptyString
;
31853 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31854 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
31855 wxMenuItem
*result
;
31856 bool temp3
= false ;
31857 bool temp4
= false ;
31858 PyObject
* obj0
= 0 ;
31859 PyObject
* obj1
= 0 ;
31860 PyObject
* obj2
= 0 ;
31861 PyObject
* obj3
= 0 ;
31862 PyObject
* obj4
= 0 ;
31863 char *kwnames
[] = {
31864 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
31867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
31869 if (SWIG_arg_fail(1)) SWIG_fail
;
31871 arg2
= (int)(SWIG_As_int(obj1
));
31872 if (SWIG_arg_fail(2)) SWIG_fail
;
31875 arg3
= wxString_in_helper(obj2
);
31876 if (arg3
== NULL
) SWIG_fail
;
31881 arg4
= wxString_in_helper(obj3
);
31882 if (arg4
== NULL
) SWIG_fail
;
31888 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
31889 if (SWIG_arg_fail(5)) SWIG_fail
;
31893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31894 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
31896 wxPyEndAllowThreads(__tstate
);
31897 if (PyErr_Occurred()) SWIG_fail
;
31900 resultobj
= wxPyMake_wxObject(result
, 0);
31924 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31925 PyObject
*resultobj
;
31926 wxMenu
*arg1
= (wxMenu
*) 0 ;
31927 wxMenuItem
*result
;
31928 PyObject
* obj0
= 0 ;
31929 char *kwnames
[] = {
31930 (char *) "self", NULL
31933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
31934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
31935 if (SWIG_arg_fail(1)) SWIG_fail
;
31937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31938 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
31940 wxPyEndAllowThreads(__tstate
);
31941 if (PyErr_Occurred()) SWIG_fail
;
31944 resultobj
= wxPyMake_wxObject(result
, 0);
31952 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31953 PyObject
*resultobj
;
31954 wxMenu
*arg1
= (wxMenu
*) 0 ;
31956 wxString
*arg3
= 0 ;
31957 wxString
const &arg4_defvalue
= wxPyEmptyString
;
31958 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31959 wxMenuItem
*result
;
31960 bool temp3
= false ;
31961 bool temp4
= false ;
31962 PyObject
* obj0
= 0 ;
31963 PyObject
* obj1
= 0 ;
31964 PyObject
* obj2
= 0 ;
31965 PyObject
* obj3
= 0 ;
31966 char *kwnames
[] = {
31967 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
31970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
31972 if (SWIG_arg_fail(1)) SWIG_fail
;
31974 arg2
= (int)(SWIG_As_int(obj1
));
31975 if (SWIG_arg_fail(2)) SWIG_fail
;
31978 arg3
= wxString_in_helper(obj2
);
31979 if (arg3
== NULL
) SWIG_fail
;
31984 arg4
= wxString_in_helper(obj3
);
31985 if (arg4
== NULL
) SWIG_fail
;
31990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31991 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
31993 wxPyEndAllowThreads(__tstate
);
31994 if (PyErr_Occurred()) SWIG_fail
;
31997 resultobj
= wxPyMake_wxObject(result
, 0);
32021 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32022 PyObject
*resultobj
;
32023 wxMenu
*arg1
= (wxMenu
*) 0 ;
32025 wxString
*arg3
= 0 ;
32026 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32027 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32028 wxMenuItem
*result
;
32029 bool temp3
= false ;
32030 bool temp4
= false ;
32031 PyObject
* obj0
= 0 ;
32032 PyObject
* obj1
= 0 ;
32033 PyObject
* obj2
= 0 ;
32034 PyObject
* obj3
= 0 ;
32035 char *kwnames
[] = {
32036 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32041 if (SWIG_arg_fail(1)) SWIG_fail
;
32043 arg2
= (int)(SWIG_As_int(obj1
));
32044 if (SWIG_arg_fail(2)) SWIG_fail
;
32047 arg3
= wxString_in_helper(obj2
);
32048 if (arg3
== NULL
) SWIG_fail
;
32053 arg4
= wxString_in_helper(obj3
);
32054 if (arg4
== NULL
) SWIG_fail
;
32059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32060 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32062 wxPyEndAllowThreads(__tstate
);
32063 if (PyErr_Occurred()) SWIG_fail
;
32066 resultobj
= wxPyMake_wxObject(result
, 0);
32090 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32091 PyObject
*resultobj
;
32092 wxMenu
*arg1
= (wxMenu
*) 0 ;
32094 wxString
*arg3
= 0 ;
32095 wxMenu
*arg4
= (wxMenu
*) 0 ;
32096 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32097 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32098 wxMenuItem
*result
;
32099 bool temp3
= false ;
32100 bool temp5
= false ;
32101 PyObject
* obj0
= 0 ;
32102 PyObject
* obj1
= 0 ;
32103 PyObject
* obj2
= 0 ;
32104 PyObject
* obj3
= 0 ;
32105 PyObject
* obj4
= 0 ;
32106 char *kwnames
[] = {
32107 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
32110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32112 if (SWIG_arg_fail(1)) SWIG_fail
;
32114 arg2
= (int)(SWIG_As_int(obj1
));
32115 if (SWIG_arg_fail(2)) SWIG_fail
;
32118 arg3
= wxString_in_helper(obj2
);
32119 if (arg3
== NULL
) SWIG_fail
;
32122 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32123 if (SWIG_arg_fail(4)) SWIG_fail
;
32126 arg5
= wxString_in_helper(obj4
);
32127 if (arg5
== NULL
) SWIG_fail
;
32132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32133 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
32135 wxPyEndAllowThreads(__tstate
);
32136 if (PyErr_Occurred()) SWIG_fail
;
32139 resultobj
= wxPyMake_wxObject(result
, 0);
32163 static PyObject
*_wrap_Menu_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32164 PyObject
*resultobj
;
32165 wxMenu
*arg1
= (wxMenu
*) 0 ;
32166 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
32167 wxMenuItem
*result
;
32168 PyObject
* obj0
= 0 ;
32169 PyObject
* obj1
= 0 ;
32170 char *kwnames
[] = {
32171 (char *) "self",(char *) "item", NULL
32174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
32175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32176 if (SWIG_arg_fail(1)) SWIG_fail
;
32177 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
32178 if (SWIG_arg_fail(2)) SWIG_fail
;
32180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32181 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
32183 wxPyEndAllowThreads(__tstate
);
32184 if (PyErr_Occurred()) SWIG_fail
;
32187 resultobj
= wxPyMake_wxObject(result
, 0);
32195 static PyObject
*_wrap_Menu_Break(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32196 PyObject
*resultobj
;
32197 wxMenu
*arg1
= (wxMenu
*) 0 ;
32198 PyObject
* obj0
= 0 ;
32199 char *kwnames
[] = {
32200 (char *) "self", NULL
32203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
32204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32205 if (SWIG_arg_fail(1)) SWIG_fail
;
32207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32210 wxPyEndAllowThreads(__tstate
);
32211 if (PyErr_Occurred()) SWIG_fail
;
32213 Py_INCREF(Py_None
); resultobj
= Py_None
;
32220 static PyObject
*_wrap_Menu_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32221 PyObject
*resultobj
;
32222 wxMenu
*arg1
= (wxMenu
*) 0 ;
32224 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
32225 wxMenuItem
*result
;
32226 PyObject
* obj0
= 0 ;
32227 PyObject
* obj1
= 0 ;
32228 PyObject
* obj2
= 0 ;
32229 char *kwnames
[] = {
32230 (char *) "self",(char *) "pos",(char *) "item", NULL
32233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32235 if (SWIG_arg_fail(1)) SWIG_fail
;
32237 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32238 if (SWIG_arg_fail(2)) SWIG_fail
;
32240 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
32241 if (SWIG_arg_fail(3)) SWIG_fail
;
32243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32244 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
32246 wxPyEndAllowThreads(__tstate
);
32247 if (PyErr_Occurred()) SWIG_fail
;
32250 resultobj
= wxPyMake_wxObject(result
, 0);
32258 static PyObject
*_wrap_Menu_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32259 PyObject
*resultobj
;
32260 wxMenu
*arg1
= (wxMenu
*) 0 ;
32263 wxString
*arg4
= 0 ;
32264 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32265 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32266 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
32267 wxMenuItem
*result
;
32268 bool temp4
= false ;
32269 bool temp5
= false ;
32270 PyObject
* obj0
= 0 ;
32271 PyObject
* obj1
= 0 ;
32272 PyObject
* obj2
= 0 ;
32273 PyObject
* obj3
= 0 ;
32274 PyObject
* obj4
= 0 ;
32275 PyObject
* obj5
= 0 ;
32276 char *kwnames
[] = {
32277 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
32280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32282 if (SWIG_arg_fail(1)) SWIG_fail
;
32284 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32285 if (SWIG_arg_fail(2)) SWIG_fail
;
32288 arg3
= (int)(SWIG_As_int(obj2
));
32289 if (SWIG_arg_fail(3)) SWIG_fail
;
32292 arg4
= wxString_in_helper(obj3
);
32293 if (arg4
== NULL
) SWIG_fail
;
32298 arg5
= wxString_in_helper(obj4
);
32299 if (arg5
== NULL
) SWIG_fail
;
32305 arg6
= (wxItemKind
)(SWIG_As_int(obj5
));
32306 if (SWIG_arg_fail(6)) SWIG_fail
;
32310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32311 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
32313 wxPyEndAllowThreads(__tstate
);
32314 if (PyErr_Occurred()) SWIG_fail
;
32317 resultobj
= wxPyMake_wxObject(result
, 0);
32341 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32342 PyObject
*resultobj
;
32343 wxMenu
*arg1
= (wxMenu
*) 0 ;
32345 wxMenuItem
*result
;
32346 PyObject
* obj0
= 0 ;
32347 PyObject
* obj1
= 0 ;
32348 char *kwnames
[] = {
32349 (char *) "self",(char *) "pos", NULL
32352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
32353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32354 if (SWIG_arg_fail(1)) SWIG_fail
;
32356 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32357 if (SWIG_arg_fail(2)) SWIG_fail
;
32360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32361 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
32363 wxPyEndAllowThreads(__tstate
);
32364 if (PyErr_Occurred()) SWIG_fail
;
32367 resultobj
= wxPyMake_wxObject(result
, 0);
32375 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32376 PyObject
*resultobj
;
32377 wxMenu
*arg1
= (wxMenu
*) 0 ;
32380 wxString
*arg4
= 0 ;
32381 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32382 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32383 wxMenuItem
*result
;
32384 bool temp4
= false ;
32385 bool temp5
= false ;
32386 PyObject
* obj0
= 0 ;
32387 PyObject
* obj1
= 0 ;
32388 PyObject
* obj2
= 0 ;
32389 PyObject
* obj3
= 0 ;
32390 PyObject
* obj4
= 0 ;
32391 char *kwnames
[] = {
32392 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
32395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32397 if (SWIG_arg_fail(1)) SWIG_fail
;
32399 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32400 if (SWIG_arg_fail(2)) SWIG_fail
;
32403 arg3
= (int)(SWIG_As_int(obj2
));
32404 if (SWIG_arg_fail(3)) SWIG_fail
;
32407 arg4
= wxString_in_helper(obj3
);
32408 if (arg4
== NULL
) SWIG_fail
;
32413 arg5
= wxString_in_helper(obj4
);
32414 if (arg5
== NULL
) SWIG_fail
;
32419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32420 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
32422 wxPyEndAllowThreads(__tstate
);
32423 if (PyErr_Occurred()) SWIG_fail
;
32426 resultobj
= wxPyMake_wxObject(result
, 0);
32450 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32451 PyObject
*resultobj
;
32452 wxMenu
*arg1
= (wxMenu
*) 0 ;
32455 wxString
*arg4
= 0 ;
32456 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32457 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32458 wxMenuItem
*result
;
32459 bool temp4
= false ;
32460 bool temp5
= false ;
32461 PyObject
* obj0
= 0 ;
32462 PyObject
* obj1
= 0 ;
32463 PyObject
* obj2
= 0 ;
32464 PyObject
* obj3
= 0 ;
32465 PyObject
* obj4
= 0 ;
32466 char *kwnames
[] = {
32467 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
32470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32472 if (SWIG_arg_fail(1)) SWIG_fail
;
32474 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32475 if (SWIG_arg_fail(2)) SWIG_fail
;
32478 arg3
= (int)(SWIG_As_int(obj2
));
32479 if (SWIG_arg_fail(3)) SWIG_fail
;
32482 arg4
= wxString_in_helper(obj3
);
32483 if (arg4
== NULL
) SWIG_fail
;
32488 arg5
= wxString_in_helper(obj4
);
32489 if (arg5
== NULL
) SWIG_fail
;
32494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32495 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
32497 wxPyEndAllowThreads(__tstate
);
32498 if (PyErr_Occurred()) SWIG_fail
;
32501 resultobj
= wxPyMake_wxObject(result
, 0);
32525 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32526 PyObject
*resultobj
;
32527 wxMenu
*arg1
= (wxMenu
*) 0 ;
32530 wxString
*arg4
= 0 ;
32531 wxMenu
*arg5
= (wxMenu
*) 0 ;
32532 wxString
const &arg6_defvalue
= wxPyEmptyString
;
32533 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
32534 wxMenuItem
*result
;
32535 bool temp4
= false ;
32536 bool temp6
= false ;
32537 PyObject
* obj0
= 0 ;
32538 PyObject
* obj1
= 0 ;
32539 PyObject
* obj2
= 0 ;
32540 PyObject
* obj3
= 0 ;
32541 PyObject
* obj4
= 0 ;
32542 PyObject
* obj5
= 0 ;
32543 char *kwnames
[] = {
32544 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
32547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32549 if (SWIG_arg_fail(1)) SWIG_fail
;
32551 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32552 if (SWIG_arg_fail(2)) SWIG_fail
;
32555 arg3
= (int)(SWIG_As_int(obj2
));
32556 if (SWIG_arg_fail(3)) SWIG_fail
;
32559 arg4
= wxString_in_helper(obj3
);
32560 if (arg4
== NULL
) SWIG_fail
;
32563 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32564 if (SWIG_arg_fail(5)) SWIG_fail
;
32567 arg6
= wxString_in_helper(obj5
);
32568 if (arg6
== NULL
) SWIG_fail
;
32573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32574 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
32576 wxPyEndAllowThreads(__tstate
);
32577 if (PyErr_Occurred()) SWIG_fail
;
32580 resultobj
= wxPyMake_wxObject(result
, 0);
32604 static PyObject
*_wrap_Menu_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32605 PyObject
*resultobj
;
32606 wxMenu
*arg1
= (wxMenu
*) 0 ;
32607 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
32608 wxMenuItem
*result
;
32609 PyObject
* obj0
= 0 ;
32610 PyObject
* obj1
= 0 ;
32611 char *kwnames
[] = {
32612 (char *) "self",(char *) "item", NULL
32615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
32616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32617 if (SWIG_arg_fail(1)) SWIG_fail
;
32618 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
32619 if (SWIG_arg_fail(2)) SWIG_fail
;
32621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32622 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
32624 wxPyEndAllowThreads(__tstate
);
32625 if (PyErr_Occurred()) SWIG_fail
;
32628 resultobj
= wxPyMake_wxObject(result
, 0);
32636 static PyObject
*_wrap_Menu_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32637 PyObject
*resultobj
;
32638 wxMenu
*arg1
= (wxMenu
*) 0 ;
32640 wxString
*arg3
= 0 ;
32641 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32642 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32643 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
32644 wxMenuItem
*result
;
32645 bool temp3
= false ;
32646 bool temp4
= false ;
32647 PyObject
* obj0
= 0 ;
32648 PyObject
* obj1
= 0 ;
32649 PyObject
* obj2
= 0 ;
32650 PyObject
* obj3
= 0 ;
32651 PyObject
* obj4
= 0 ;
32652 char *kwnames
[] = {
32653 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
32656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32658 if (SWIG_arg_fail(1)) SWIG_fail
;
32660 arg2
= (int)(SWIG_As_int(obj1
));
32661 if (SWIG_arg_fail(2)) SWIG_fail
;
32664 arg3
= wxString_in_helper(obj2
);
32665 if (arg3
== NULL
) SWIG_fail
;
32670 arg4
= wxString_in_helper(obj3
);
32671 if (arg4
== NULL
) SWIG_fail
;
32677 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
32678 if (SWIG_arg_fail(5)) SWIG_fail
;
32682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32683 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
32685 wxPyEndAllowThreads(__tstate
);
32686 if (PyErr_Occurred()) SWIG_fail
;
32689 resultobj
= wxPyMake_wxObject(result
, 0);
32713 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32714 PyObject
*resultobj
;
32715 wxMenu
*arg1
= (wxMenu
*) 0 ;
32716 wxMenuItem
*result
;
32717 PyObject
* obj0
= 0 ;
32718 char *kwnames
[] = {
32719 (char *) "self", NULL
32722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
32723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32724 if (SWIG_arg_fail(1)) SWIG_fail
;
32726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32727 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
32729 wxPyEndAllowThreads(__tstate
);
32730 if (PyErr_Occurred()) SWIG_fail
;
32733 resultobj
= wxPyMake_wxObject(result
, 0);
32741 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32742 PyObject
*resultobj
;
32743 wxMenu
*arg1
= (wxMenu
*) 0 ;
32745 wxString
*arg3
= 0 ;
32746 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32747 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32748 wxMenuItem
*result
;
32749 bool temp3
= false ;
32750 bool temp4
= false ;
32751 PyObject
* obj0
= 0 ;
32752 PyObject
* obj1
= 0 ;
32753 PyObject
* obj2
= 0 ;
32754 PyObject
* obj3
= 0 ;
32755 char *kwnames
[] = {
32756 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32761 if (SWIG_arg_fail(1)) SWIG_fail
;
32763 arg2
= (int)(SWIG_As_int(obj1
));
32764 if (SWIG_arg_fail(2)) SWIG_fail
;
32767 arg3
= wxString_in_helper(obj2
);
32768 if (arg3
== NULL
) SWIG_fail
;
32773 arg4
= wxString_in_helper(obj3
);
32774 if (arg4
== NULL
) SWIG_fail
;
32779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32780 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32782 wxPyEndAllowThreads(__tstate
);
32783 if (PyErr_Occurred()) SWIG_fail
;
32786 resultobj
= wxPyMake_wxObject(result
, 0);
32810 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32811 PyObject
*resultobj
;
32812 wxMenu
*arg1
= (wxMenu
*) 0 ;
32814 wxString
*arg3
= 0 ;
32815 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32816 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32817 wxMenuItem
*result
;
32818 bool temp3
= false ;
32819 bool temp4
= false ;
32820 PyObject
* obj0
= 0 ;
32821 PyObject
* obj1
= 0 ;
32822 PyObject
* obj2
= 0 ;
32823 PyObject
* obj3
= 0 ;
32824 char *kwnames
[] = {
32825 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32830 if (SWIG_arg_fail(1)) SWIG_fail
;
32832 arg2
= (int)(SWIG_As_int(obj1
));
32833 if (SWIG_arg_fail(2)) SWIG_fail
;
32836 arg3
= wxString_in_helper(obj2
);
32837 if (arg3
== NULL
) SWIG_fail
;
32842 arg4
= wxString_in_helper(obj3
);
32843 if (arg4
== NULL
) SWIG_fail
;
32848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32849 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32851 wxPyEndAllowThreads(__tstate
);
32852 if (PyErr_Occurred()) SWIG_fail
;
32855 resultobj
= wxPyMake_wxObject(result
, 0);
32879 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32880 PyObject
*resultobj
;
32881 wxMenu
*arg1
= (wxMenu
*) 0 ;
32883 wxString
*arg3
= 0 ;
32884 wxMenu
*arg4
= (wxMenu
*) 0 ;
32885 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32886 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32887 wxMenuItem
*result
;
32888 bool temp3
= false ;
32889 bool temp5
= false ;
32890 PyObject
* obj0
= 0 ;
32891 PyObject
* obj1
= 0 ;
32892 PyObject
* obj2
= 0 ;
32893 PyObject
* obj3
= 0 ;
32894 PyObject
* obj4
= 0 ;
32895 char *kwnames
[] = {
32896 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
32899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32901 if (SWIG_arg_fail(1)) SWIG_fail
;
32903 arg2
= (int)(SWIG_As_int(obj1
));
32904 if (SWIG_arg_fail(2)) SWIG_fail
;
32907 arg3
= wxString_in_helper(obj2
);
32908 if (arg3
== NULL
) SWIG_fail
;
32911 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32912 if (SWIG_arg_fail(4)) SWIG_fail
;
32915 arg5
= wxString_in_helper(obj4
);
32916 if (arg5
== NULL
) SWIG_fail
;
32921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32922 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
32924 wxPyEndAllowThreads(__tstate
);
32925 if (PyErr_Occurred()) SWIG_fail
;
32928 resultobj
= wxPyMake_wxObject(result
, 0);
32952 static PyObject
*_wrap_Menu_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32953 PyObject
*resultobj
;
32954 wxMenu
*arg1
= (wxMenu
*) 0 ;
32956 wxMenuItem
*result
;
32957 PyObject
* obj0
= 0 ;
32958 PyObject
* obj1
= 0 ;
32959 char *kwnames
[] = {
32960 (char *) "self",(char *) "id", NULL
32963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
32964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32965 if (SWIG_arg_fail(1)) SWIG_fail
;
32967 arg2
= (int)(SWIG_As_int(obj1
));
32968 if (SWIG_arg_fail(2)) SWIG_fail
;
32971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32972 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
32974 wxPyEndAllowThreads(__tstate
);
32975 if (PyErr_Occurred()) SWIG_fail
;
32978 resultobj
= wxPyMake_wxObject(result
, 0);
32986 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32987 PyObject
*resultobj
;
32988 wxMenu
*arg1
= (wxMenu
*) 0 ;
32989 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
32990 wxMenuItem
*result
;
32991 PyObject
* obj0
= 0 ;
32992 PyObject
* obj1
= 0 ;
32993 char *kwnames
[] = {
32994 (char *) "self",(char *) "item", NULL
32997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
32998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32999 if (SWIG_arg_fail(1)) SWIG_fail
;
33000 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33001 if (SWIG_arg_fail(2)) SWIG_fail
;
33003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33004 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
33006 wxPyEndAllowThreads(__tstate
);
33007 if (PyErr_Occurred()) SWIG_fail
;
33010 resultobj
= wxPyMake_wxObject(result
, 0);
33018 static PyObject
*_wrap_Menu_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33019 PyObject
*resultobj
;
33020 wxMenu
*arg1
= (wxMenu
*) 0 ;
33023 PyObject
* obj0
= 0 ;
33024 PyObject
* obj1
= 0 ;
33025 char *kwnames
[] = {
33026 (char *) "self",(char *) "id", NULL
33029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
33030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33031 if (SWIG_arg_fail(1)) SWIG_fail
;
33033 arg2
= (int)(SWIG_As_int(obj1
));
33034 if (SWIG_arg_fail(2)) SWIG_fail
;
33037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33038 result
= (bool)(arg1
)->Delete(arg2
);
33040 wxPyEndAllowThreads(__tstate
);
33041 if (PyErr_Occurred()) SWIG_fail
;
33044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33052 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33053 PyObject
*resultobj
;
33054 wxMenu
*arg1
= (wxMenu
*) 0 ;
33055 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33057 PyObject
* obj0
= 0 ;
33058 PyObject
* obj1
= 0 ;
33059 char *kwnames
[] = {
33060 (char *) "self",(char *) "item", NULL
33063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33065 if (SWIG_arg_fail(1)) SWIG_fail
;
33066 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33067 if (SWIG_arg_fail(2)) SWIG_fail
;
33069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33070 result
= (bool)(arg1
)->Delete(arg2
);
33072 wxPyEndAllowThreads(__tstate
);
33073 if (PyErr_Occurred()) SWIG_fail
;
33076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33084 static PyObject
*_wrap_Menu_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33085 PyObject
*resultobj
;
33086 wxMenu
*arg1
= (wxMenu
*) 0 ;
33087 PyObject
* obj0
= 0 ;
33088 char *kwnames
[] = {
33089 (char *) "self", NULL
33092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
33093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33094 if (SWIG_arg_fail(1)) SWIG_fail
;
33096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33097 wxMenu_Destroy(arg1
);
33099 wxPyEndAllowThreads(__tstate
);
33100 if (PyErr_Occurred()) SWIG_fail
;
33102 Py_INCREF(Py_None
); resultobj
= Py_None
;
33109 static PyObject
*_wrap_Menu_DestroyId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33110 PyObject
*resultobj
;
33111 wxMenu
*arg1
= (wxMenu
*) 0 ;
33114 PyObject
* obj0
= 0 ;
33115 PyObject
* obj1
= 0 ;
33116 char *kwnames
[] = {
33117 (char *) "self",(char *) "id", NULL
33120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
33121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33122 if (SWIG_arg_fail(1)) SWIG_fail
;
33124 arg2
= (int)(SWIG_As_int(obj1
));
33125 if (SWIG_arg_fail(2)) SWIG_fail
;
33128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33129 result
= (bool)(arg1
)->Destroy(arg2
);
33131 wxPyEndAllowThreads(__tstate
);
33132 if (PyErr_Occurred()) SWIG_fail
;
33135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33143 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33144 PyObject
*resultobj
;
33145 wxMenu
*arg1
= (wxMenu
*) 0 ;
33146 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33148 PyObject
* obj0
= 0 ;
33149 PyObject
* obj1
= 0 ;
33150 char *kwnames
[] = {
33151 (char *) "self",(char *) "item", NULL
33154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33156 if (SWIG_arg_fail(1)) SWIG_fail
;
33157 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33158 if (SWIG_arg_fail(2)) SWIG_fail
;
33160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33161 result
= (bool)(arg1
)->Destroy(arg2
);
33163 wxPyEndAllowThreads(__tstate
);
33164 if (PyErr_Occurred()) SWIG_fail
;
33167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33175 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33176 PyObject
*resultobj
;
33177 wxMenu
*arg1
= (wxMenu
*) 0 ;
33179 PyObject
* obj0
= 0 ;
33180 char *kwnames
[] = {
33181 (char *) "self", NULL
33184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
33185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33186 if (SWIG_arg_fail(1)) SWIG_fail
;
33188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33189 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
33191 wxPyEndAllowThreads(__tstate
);
33192 if (PyErr_Occurred()) SWIG_fail
;
33195 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
33203 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33204 PyObject
*resultobj
;
33205 wxMenu
*arg1
= (wxMenu
*) 0 ;
33207 PyObject
* obj0
= 0 ;
33208 char *kwnames
[] = {
33209 (char *) "self", NULL
33212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
33213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33214 if (SWIG_arg_fail(1)) SWIG_fail
;
33216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33217 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
33219 wxPyEndAllowThreads(__tstate
);
33220 if (PyErr_Occurred()) SWIG_fail
;
33222 resultobj
= result
;
33229 static PyObject
*_wrap_Menu_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33230 PyObject
*resultobj
;
33231 wxMenu
*arg1
= (wxMenu
*) 0 ;
33232 wxString
*arg2
= 0 ;
33234 bool temp2
= false ;
33235 PyObject
* obj0
= 0 ;
33236 PyObject
* obj1
= 0 ;
33237 char *kwnames
[] = {
33238 (char *) "self",(char *) "item", NULL
33241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33243 if (SWIG_arg_fail(1)) SWIG_fail
;
33245 arg2
= wxString_in_helper(obj1
);
33246 if (arg2
== NULL
) SWIG_fail
;
33250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33251 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
33253 wxPyEndAllowThreads(__tstate
);
33254 if (PyErr_Occurred()) SWIG_fail
;
33257 resultobj
= SWIG_From_int((int)(result
));
33273 static PyObject
*_wrap_Menu_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33274 PyObject
*resultobj
;
33275 wxMenu
*arg1
= (wxMenu
*) 0 ;
33277 wxMenuItem
*result
;
33278 PyObject
* obj0
= 0 ;
33279 PyObject
* obj1
= 0 ;
33280 char *kwnames
[] = {
33281 (char *) "self",(char *) "id", NULL
33284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
33285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33286 if (SWIG_arg_fail(1)) SWIG_fail
;
33288 arg2
= (int)(SWIG_As_int(obj1
));
33289 if (SWIG_arg_fail(2)) SWIG_fail
;
33292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33293 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
33295 wxPyEndAllowThreads(__tstate
);
33296 if (PyErr_Occurred()) SWIG_fail
;
33299 resultobj
= wxPyMake_wxObject(result
, 0);
33307 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33308 PyObject
*resultobj
;
33309 wxMenu
*arg1
= (wxMenu
*) 0 ;
33311 wxMenuItem
*result
;
33312 PyObject
* obj0
= 0 ;
33313 PyObject
* obj1
= 0 ;
33314 char *kwnames
[] = {
33315 (char *) "self",(char *) "position", NULL
33318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
33319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33320 if (SWIG_arg_fail(1)) SWIG_fail
;
33322 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33323 if (SWIG_arg_fail(2)) SWIG_fail
;
33326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33327 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
33329 wxPyEndAllowThreads(__tstate
);
33330 if (PyErr_Occurred()) SWIG_fail
;
33333 resultobj
= wxPyMake_wxObject(result
, 0);
33341 static PyObject
*_wrap_Menu_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33342 PyObject
*resultobj
;
33343 wxMenu
*arg1
= (wxMenu
*) 0 ;
33346 PyObject
* obj0
= 0 ;
33347 PyObject
* obj1
= 0 ;
33348 PyObject
* obj2
= 0 ;
33349 char *kwnames
[] = {
33350 (char *) "self",(char *) "id",(char *) "enable", NULL
33353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33355 if (SWIG_arg_fail(1)) SWIG_fail
;
33357 arg2
= (int)(SWIG_As_int(obj1
));
33358 if (SWIG_arg_fail(2)) SWIG_fail
;
33361 arg3
= (bool)(SWIG_As_bool(obj2
));
33362 if (SWIG_arg_fail(3)) SWIG_fail
;
33365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33366 (arg1
)->Enable(arg2
,arg3
);
33368 wxPyEndAllowThreads(__tstate
);
33369 if (PyErr_Occurred()) SWIG_fail
;
33371 Py_INCREF(Py_None
); resultobj
= Py_None
;
33378 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33379 PyObject
*resultobj
;
33380 wxMenu
*arg1
= (wxMenu
*) 0 ;
33383 PyObject
* obj0
= 0 ;
33384 PyObject
* obj1
= 0 ;
33385 char *kwnames
[] = {
33386 (char *) "self",(char *) "id", NULL
33389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
33390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33391 if (SWIG_arg_fail(1)) SWIG_fail
;
33393 arg2
= (int)(SWIG_As_int(obj1
));
33394 if (SWIG_arg_fail(2)) SWIG_fail
;
33397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33398 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
33400 wxPyEndAllowThreads(__tstate
);
33401 if (PyErr_Occurred()) SWIG_fail
;
33404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33412 static PyObject
*_wrap_Menu_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33413 PyObject
*resultobj
;
33414 wxMenu
*arg1
= (wxMenu
*) 0 ;
33417 PyObject
* obj0
= 0 ;
33418 PyObject
* obj1
= 0 ;
33419 PyObject
* obj2
= 0 ;
33420 char *kwnames
[] = {
33421 (char *) "self",(char *) "id",(char *) "check", NULL
33424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33426 if (SWIG_arg_fail(1)) SWIG_fail
;
33428 arg2
= (int)(SWIG_As_int(obj1
));
33429 if (SWIG_arg_fail(2)) SWIG_fail
;
33432 arg3
= (bool)(SWIG_As_bool(obj2
));
33433 if (SWIG_arg_fail(3)) SWIG_fail
;
33436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33437 (arg1
)->Check(arg2
,arg3
);
33439 wxPyEndAllowThreads(__tstate
);
33440 if (PyErr_Occurred()) SWIG_fail
;
33442 Py_INCREF(Py_None
); resultobj
= Py_None
;
33449 static PyObject
*_wrap_Menu_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33450 PyObject
*resultobj
;
33451 wxMenu
*arg1
= (wxMenu
*) 0 ;
33454 PyObject
* obj0
= 0 ;
33455 PyObject
* obj1
= 0 ;
33456 char *kwnames
[] = {
33457 (char *) "self",(char *) "id", NULL
33460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
33461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33462 if (SWIG_arg_fail(1)) SWIG_fail
;
33464 arg2
= (int)(SWIG_As_int(obj1
));
33465 if (SWIG_arg_fail(2)) SWIG_fail
;
33468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33469 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
33471 wxPyEndAllowThreads(__tstate
);
33472 if (PyErr_Occurred()) SWIG_fail
;
33475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33483 static PyObject
*_wrap_Menu_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33484 PyObject
*resultobj
;
33485 wxMenu
*arg1
= (wxMenu
*) 0 ;
33487 wxString
*arg3
= 0 ;
33488 bool temp3
= false ;
33489 PyObject
* obj0
= 0 ;
33490 PyObject
* obj1
= 0 ;
33491 PyObject
* obj2
= 0 ;
33492 char *kwnames
[] = {
33493 (char *) "self",(char *) "id",(char *) "label", NULL
33496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33498 if (SWIG_arg_fail(1)) SWIG_fail
;
33500 arg2
= (int)(SWIG_As_int(obj1
));
33501 if (SWIG_arg_fail(2)) SWIG_fail
;
33504 arg3
= wxString_in_helper(obj2
);
33505 if (arg3
== NULL
) SWIG_fail
;
33509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33510 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
33512 wxPyEndAllowThreads(__tstate
);
33513 if (PyErr_Occurred()) SWIG_fail
;
33515 Py_INCREF(Py_None
); resultobj
= Py_None
;
33530 static PyObject
*_wrap_Menu_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33531 PyObject
*resultobj
;
33532 wxMenu
*arg1
= (wxMenu
*) 0 ;
33535 PyObject
* obj0
= 0 ;
33536 PyObject
* obj1
= 0 ;
33537 char *kwnames
[] = {
33538 (char *) "self",(char *) "id", NULL
33541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
33542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33543 if (SWIG_arg_fail(1)) SWIG_fail
;
33545 arg2
= (int)(SWIG_As_int(obj1
));
33546 if (SWIG_arg_fail(2)) SWIG_fail
;
33549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33550 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
33552 wxPyEndAllowThreads(__tstate
);
33553 if (PyErr_Occurred()) SWIG_fail
;
33557 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33559 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33568 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33569 PyObject
*resultobj
;
33570 wxMenu
*arg1
= (wxMenu
*) 0 ;
33572 wxString
*arg3
= 0 ;
33573 bool temp3
= false ;
33574 PyObject
* obj0
= 0 ;
33575 PyObject
* obj1
= 0 ;
33576 PyObject
* obj2
= 0 ;
33577 char *kwnames
[] = {
33578 (char *) "self",(char *) "id",(char *) "helpString", NULL
33581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33583 if (SWIG_arg_fail(1)) SWIG_fail
;
33585 arg2
= (int)(SWIG_As_int(obj1
));
33586 if (SWIG_arg_fail(2)) SWIG_fail
;
33589 arg3
= wxString_in_helper(obj2
);
33590 if (arg3
== NULL
) SWIG_fail
;
33594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33595 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
33597 wxPyEndAllowThreads(__tstate
);
33598 if (PyErr_Occurred()) SWIG_fail
;
33600 Py_INCREF(Py_None
); resultobj
= Py_None
;
33615 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33616 PyObject
*resultobj
;
33617 wxMenu
*arg1
= (wxMenu
*) 0 ;
33620 PyObject
* obj0
= 0 ;
33621 PyObject
* obj1
= 0 ;
33622 char *kwnames
[] = {
33623 (char *) "self",(char *) "id", NULL
33626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
33627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33628 if (SWIG_arg_fail(1)) SWIG_fail
;
33630 arg2
= (int)(SWIG_As_int(obj1
));
33631 if (SWIG_arg_fail(2)) SWIG_fail
;
33634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33635 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
33637 wxPyEndAllowThreads(__tstate
);
33638 if (PyErr_Occurred()) SWIG_fail
;
33642 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33644 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33653 static PyObject
*_wrap_Menu_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33654 PyObject
*resultobj
;
33655 wxMenu
*arg1
= (wxMenu
*) 0 ;
33656 wxString
*arg2
= 0 ;
33657 bool temp2
= false ;
33658 PyObject
* obj0
= 0 ;
33659 PyObject
* obj1
= 0 ;
33660 char *kwnames
[] = {
33661 (char *) "self",(char *) "title", NULL
33664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
33665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33666 if (SWIG_arg_fail(1)) SWIG_fail
;
33668 arg2
= wxString_in_helper(obj1
);
33669 if (arg2
== NULL
) SWIG_fail
;
33673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33674 (arg1
)->SetTitle((wxString
const &)*arg2
);
33676 wxPyEndAllowThreads(__tstate
);
33677 if (PyErr_Occurred()) SWIG_fail
;
33679 Py_INCREF(Py_None
); resultobj
= Py_None
;
33694 static PyObject
*_wrap_Menu_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33695 PyObject
*resultobj
;
33696 wxMenu
*arg1
= (wxMenu
*) 0 ;
33698 PyObject
* obj0
= 0 ;
33699 char *kwnames
[] = {
33700 (char *) "self", NULL
33703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
33704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33705 if (SWIG_arg_fail(1)) SWIG_fail
;
33707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33708 result
= ((wxMenu
const *)arg1
)->GetTitle();
33710 wxPyEndAllowThreads(__tstate
);
33711 if (PyErr_Occurred()) SWIG_fail
;
33715 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33717 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33726 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33727 PyObject
*resultobj
;
33728 wxMenu
*arg1
= (wxMenu
*) 0 ;
33729 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
33730 PyObject
* obj0
= 0 ;
33731 PyObject
* obj1
= 0 ;
33732 char *kwnames
[] = {
33733 (char *) "self",(char *) "handler", NULL
33736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
33737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33738 if (SWIG_arg_fail(1)) SWIG_fail
;
33739 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
33740 if (SWIG_arg_fail(2)) SWIG_fail
;
33742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33743 (arg1
)->SetEventHandler(arg2
);
33745 wxPyEndAllowThreads(__tstate
);
33746 if (PyErr_Occurred()) SWIG_fail
;
33748 Py_INCREF(Py_None
); resultobj
= Py_None
;
33755 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33756 PyObject
*resultobj
;
33757 wxMenu
*arg1
= (wxMenu
*) 0 ;
33758 wxEvtHandler
*result
;
33759 PyObject
* obj0
= 0 ;
33760 char *kwnames
[] = {
33761 (char *) "self", NULL
33764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
33765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33766 if (SWIG_arg_fail(1)) SWIG_fail
;
33768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33769 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
33771 wxPyEndAllowThreads(__tstate
);
33772 if (PyErr_Occurred()) SWIG_fail
;
33775 resultobj
= wxPyMake_wxObject(result
, 0);
33783 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33784 PyObject
*resultobj
;
33785 wxMenu
*arg1
= (wxMenu
*) 0 ;
33786 wxWindow
*arg2
= (wxWindow
*) 0 ;
33787 PyObject
* obj0
= 0 ;
33788 PyObject
* obj1
= 0 ;
33789 char *kwnames
[] = {
33790 (char *) "self",(char *) "win", NULL
33793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
33794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33795 if (SWIG_arg_fail(1)) SWIG_fail
;
33796 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33797 if (SWIG_arg_fail(2)) SWIG_fail
;
33799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33800 (arg1
)->SetInvokingWindow(arg2
);
33802 wxPyEndAllowThreads(__tstate
);
33803 if (PyErr_Occurred()) SWIG_fail
;
33805 Py_INCREF(Py_None
); resultobj
= Py_None
;
33812 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33813 PyObject
*resultobj
;
33814 wxMenu
*arg1
= (wxMenu
*) 0 ;
33816 PyObject
* obj0
= 0 ;
33817 char *kwnames
[] = {
33818 (char *) "self", NULL
33821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
33822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33823 if (SWIG_arg_fail(1)) SWIG_fail
;
33825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33826 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
33828 wxPyEndAllowThreads(__tstate
);
33829 if (PyErr_Occurred()) SWIG_fail
;
33832 resultobj
= wxPyMake_wxObject(result
, 0);
33840 static PyObject
*_wrap_Menu_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33841 PyObject
*resultobj
;
33842 wxMenu
*arg1
= (wxMenu
*) 0 ;
33844 PyObject
* obj0
= 0 ;
33845 char *kwnames
[] = {
33846 (char *) "self", NULL
33849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
33850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33851 if (SWIG_arg_fail(1)) SWIG_fail
;
33853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33854 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
33856 wxPyEndAllowThreads(__tstate
);
33857 if (PyErr_Occurred()) SWIG_fail
;
33860 resultobj
= SWIG_From_long((long)(result
));
33868 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33869 PyObject
*resultobj
;
33870 wxMenu
*arg1
= (wxMenu
*) 0 ;
33871 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
33872 PyObject
* obj0
= 0 ;
33873 PyObject
* obj1
= 0 ;
33874 char *kwnames
[] = {
33875 (char *) "self",(char *) "source", NULL
33878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
33879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33880 if (SWIG_arg_fail(1)) SWIG_fail
;
33882 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
33883 if (SWIG_arg_fail(2)) SWIG_fail
;
33886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33887 (arg1
)->UpdateUI(arg2
);
33889 wxPyEndAllowThreads(__tstate
);
33890 if (PyErr_Occurred()) SWIG_fail
;
33892 Py_INCREF(Py_None
); resultobj
= Py_None
;
33899 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33900 PyObject
*resultobj
;
33901 wxMenu
*arg1
= (wxMenu
*) 0 ;
33903 PyObject
* obj0
= 0 ;
33904 char *kwnames
[] = {
33905 (char *) "self", NULL
33908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
33909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33910 if (SWIG_arg_fail(1)) SWIG_fail
;
33912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33913 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
33915 wxPyEndAllowThreads(__tstate
);
33916 if (PyErr_Occurred()) SWIG_fail
;
33919 resultobj
= wxPyMake_wxObject(result
, 0);
33927 static PyObject
*_wrap_Menu_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33928 PyObject
*resultobj
;
33929 wxMenu
*arg1
= (wxMenu
*) 0 ;
33930 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
33931 PyObject
* obj0
= 0 ;
33932 PyObject
* obj1
= 0 ;
33933 char *kwnames
[] = {
33934 (char *) "self",(char *) "menubar", NULL
33937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
33938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33939 if (SWIG_arg_fail(1)) SWIG_fail
;
33940 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuBarBase
, SWIG_POINTER_EXCEPTION
| 0);
33941 if (SWIG_arg_fail(2)) SWIG_fail
;
33943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33944 (arg1
)->Attach(arg2
);
33946 wxPyEndAllowThreads(__tstate
);
33947 if (PyErr_Occurred()) SWIG_fail
;
33949 Py_INCREF(Py_None
); resultobj
= Py_None
;
33956 static PyObject
*_wrap_Menu_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33957 PyObject
*resultobj
;
33958 wxMenu
*arg1
= (wxMenu
*) 0 ;
33959 PyObject
* obj0
= 0 ;
33960 char *kwnames
[] = {
33961 (char *) "self", NULL
33964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
33965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33966 if (SWIG_arg_fail(1)) SWIG_fail
;
33968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33971 wxPyEndAllowThreads(__tstate
);
33972 if (PyErr_Occurred()) SWIG_fail
;
33974 Py_INCREF(Py_None
); resultobj
= Py_None
;
33981 static PyObject
*_wrap_Menu_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33982 PyObject
*resultobj
;
33983 wxMenu
*arg1
= (wxMenu
*) 0 ;
33985 PyObject
* obj0
= 0 ;
33986 char *kwnames
[] = {
33987 (char *) "self", NULL
33990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
33991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33992 if (SWIG_arg_fail(1)) SWIG_fail
;
33994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33995 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
33997 wxPyEndAllowThreads(__tstate
);
33998 if (PyErr_Occurred()) SWIG_fail
;
34001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34009 static PyObject
*_wrap_Menu_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34010 PyObject
*resultobj
;
34011 wxMenu
*arg1
= (wxMenu
*) 0 ;
34012 wxMenu
*arg2
= (wxMenu
*) 0 ;
34013 PyObject
* obj0
= 0 ;
34014 PyObject
* obj1
= 0 ;
34015 char *kwnames
[] = {
34016 (char *) "self",(char *) "parent", NULL
34019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
34020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34021 if (SWIG_arg_fail(1)) SWIG_fail
;
34022 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34023 if (SWIG_arg_fail(2)) SWIG_fail
;
34025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34026 (arg1
)->SetParent(arg2
);
34028 wxPyEndAllowThreads(__tstate
);
34029 if (PyErr_Occurred()) SWIG_fail
;
34031 Py_INCREF(Py_None
); resultobj
= Py_None
;
34038 static PyObject
*_wrap_Menu_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34039 PyObject
*resultobj
;
34040 wxMenu
*arg1
= (wxMenu
*) 0 ;
34042 PyObject
* obj0
= 0 ;
34043 char *kwnames
[] = {
34044 (char *) "self", NULL
34047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
34048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34049 if (SWIG_arg_fail(1)) SWIG_fail
;
34051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34052 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
34054 wxPyEndAllowThreads(__tstate
);
34055 if (PyErr_Occurred()) SWIG_fail
;
34058 resultobj
= wxPyMake_wxObject(result
, 0);
34066 static PyObject
* Menu_swigregister(PyObject
*, PyObject
*args
) {
34068 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34069 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
34071 return Py_BuildValue((char *)"");
34073 static PyObject
*_wrap_new_MenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34074 PyObject
*resultobj
;
34075 long arg1
= (long) 0 ;
34077 PyObject
* obj0
= 0 ;
34078 char *kwnames
[] = {
34079 (char *) "style", NULL
34082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
34085 arg1
= (long)(SWIG_As_long(obj0
));
34086 if (SWIG_arg_fail(1)) SWIG_fail
;
34090 if (!wxPyCheckForApp()) SWIG_fail
;
34091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34092 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
34094 wxPyEndAllowThreads(__tstate
);
34095 if (PyErr_Occurred()) SWIG_fail
;
34097 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1);
34104 static PyObject
*_wrap_MenuBar_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34105 PyObject
*resultobj
;
34106 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34107 wxMenu
*arg2
= (wxMenu
*) 0 ;
34108 wxString
*arg3
= 0 ;
34110 bool temp3
= false ;
34111 PyObject
* obj0
= 0 ;
34112 PyObject
* obj1
= 0 ;
34113 PyObject
* obj2
= 0 ;
34114 char *kwnames
[] = {
34115 (char *) "self",(char *) "menu",(char *) "title", NULL
34118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34120 if (SWIG_arg_fail(1)) SWIG_fail
;
34121 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34122 if (SWIG_arg_fail(2)) SWIG_fail
;
34124 arg3
= wxString_in_helper(obj2
);
34125 if (arg3
== NULL
) SWIG_fail
;
34129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34130 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
34132 wxPyEndAllowThreads(__tstate
);
34133 if (PyErr_Occurred()) SWIG_fail
;
34136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34152 static PyObject
*_wrap_MenuBar_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34153 PyObject
*resultobj
;
34154 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34156 wxMenu
*arg3
= (wxMenu
*) 0 ;
34157 wxString
*arg4
= 0 ;
34159 bool temp4
= false ;
34160 PyObject
* obj0
= 0 ;
34161 PyObject
* obj1
= 0 ;
34162 PyObject
* obj2
= 0 ;
34163 PyObject
* obj3
= 0 ;
34164 char *kwnames
[] = {
34165 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
34168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34170 if (SWIG_arg_fail(1)) SWIG_fail
;
34172 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34173 if (SWIG_arg_fail(2)) SWIG_fail
;
34175 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34176 if (SWIG_arg_fail(3)) SWIG_fail
;
34178 arg4
= wxString_in_helper(obj3
);
34179 if (arg4
== NULL
) SWIG_fail
;
34183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34184 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
34186 wxPyEndAllowThreads(__tstate
);
34187 if (PyErr_Occurred()) SWIG_fail
;
34190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34206 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34207 PyObject
*resultobj
;
34208 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34210 PyObject
* obj0
= 0 ;
34211 char *kwnames
[] = {
34212 (char *) "self", NULL
34215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
34216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34217 if (SWIG_arg_fail(1)) SWIG_fail
;
34219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34220 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
34222 wxPyEndAllowThreads(__tstate
);
34223 if (PyErr_Occurred()) SWIG_fail
;
34226 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
34234 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34235 PyObject
*resultobj
;
34236 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34239 PyObject
* obj0
= 0 ;
34240 PyObject
* obj1
= 0 ;
34241 char *kwnames
[] = {
34242 (char *) "self",(char *) "pos", NULL
34245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
34246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34247 if (SWIG_arg_fail(1)) SWIG_fail
;
34249 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34250 if (SWIG_arg_fail(2)) SWIG_fail
;
34253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34254 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
34256 wxPyEndAllowThreads(__tstate
);
34257 if (PyErr_Occurred()) SWIG_fail
;
34260 resultobj
= wxPyMake_wxObject(result
, 0);
34268 static PyObject
*_wrap_MenuBar_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34269 PyObject
*resultobj
;
34270 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34272 wxMenu
*arg3
= (wxMenu
*) 0 ;
34273 wxString
*arg4
= 0 ;
34275 bool temp4
= false ;
34276 PyObject
* obj0
= 0 ;
34277 PyObject
* obj1
= 0 ;
34278 PyObject
* obj2
= 0 ;
34279 PyObject
* obj3
= 0 ;
34280 char *kwnames
[] = {
34281 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
34284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34286 if (SWIG_arg_fail(1)) SWIG_fail
;
34288 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34289 if (SWIG_arg_fail(2)) SWIG_fail
;
34291 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34292 if (SWIG_arg_fail(3)) SWIG_fail
;
34294 arg4
= wxString_in_helper(obj3
);
34295 if (arg4
== NULL
) SWIG_fail
;
34299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34300 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
34302 wxPyEndAllowThreads(__tstate
);
34303 if (PyErr_Occurred()) SWIG_fail
;
34306 resultobj
= wxPyMake_wxObject(result
, 0);
34322 static PyObject
*_wrap_MenuBar_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34323 PyObject
*resultobj
;
34324 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34327 PyObject
* obj0
= 0 ;
34328 PyObject
* obj1
= 0 ;
34329 char *kwnames
[] = {
34330 (char *) "self",(char *) "pos", NULL
34333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
34334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34335 if (SWIG_arg_fail(1)) SWIG_fail
;
34337 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34338 if (SWIG_arg_fail(2)) SWIG_fail
;
34341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34342 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
34344 wxPyEndAllowThreads(__tstate
);
34345 if (PyErr_Occurred()) SWIG_fail
;
34348 resultobj
= wxPyMake_wxObject(result
, 0);
34356 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34357 PyObject
*resultobj
;
34358 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34361 PyObject
* obj0
= 0 ;
34362 PyObject
* obj1
= 0 ;
34363 PyObject
* obj2
= 0 ;
34364 char *kwnames
[] = {
34365 (char *) "self",(char *) "pos",(char *) "enable", NULL
34368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34370 if (SWIG_arg_fail(1)) SWIG_fail
;
34372 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34373 if (SWIG_arg_fail(2)) SWIG_fail
;
34376 arg3
= (bool)(SWIG_As_bool(obj2
));
34377 if (SWIG_arg_fail(3)) SWIG_fail
;
34380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34381 (arg1
)->EnableTop(arg2
,arg3
);
34383 wxPyEndAllowThreads(__tstate
);
34384 if (PyErr_Occurred()) SWIG_fail
;
34386 Py_INCREF(Py_None
); resultobj
= Py_None
;
34393 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34394 PyObject
*resultobj
;
34395 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34398 PyObject
* obj0
= 0 ;
34399 PyObject
* obj1
= 0 ;
34400 char *kwnames
[] = {
34401 (char *) "self",(char *) "pos", NULL
34404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
34405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34406 if (SWIG_arg_fail(1)) SWIG_fail
;
34408 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34409 if (SWIG_arg_fail(2)) SWIG_fail
;
34412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34413 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
34415 wxPyEndAllowThreads(__tstate
);
34416 if (PyErr_Occurred()) SWIG_fail
;
34419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34427 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34428 PyObject
*resultobj
;
34429 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34431 wxString
*arg3
= 0 ;
34432 bool temp3
= false ;
34433 PyObject
* obj0
= 0 ;
34434 PyObject
* obj1
= 0 ;
34435 PyObject
* obj2
= 0 ;
34436 char *kwnames
[] = {
34437 (char *) "self",(char *) "pos",(char *) "label", NULL
34440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34442 if (SWIG_arg_fail(1)) SWIG_fail
;
34444 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34445 if (SWIG_arg_fail(2)) SWIG_fail
;
34448 arg3
= wxString_in_helper(obj2
);
34449 if (arg3
== NULL
) SWIG_fail
;
34453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34454 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
34456 wxPyEndAllowThreads(__tstate
);
34457 if (PyErr_Occurred()) SWIG_fail
;
34459 Py_INCREF(Py_None
); resultobj
= Py_None
;
34474 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34475 PyObject
*resultobj
;
34476 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34479 PyObject
* obj0
= 0 ;
34480 PyObject
* obj1
= 0 ;
34481 char *kwnames
[] = {
34482 (char *) "self",(char *) "pos", NULL
34485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
34486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34487 if (SWIG_arg_fail(1)) SWIG_fail
;
34489 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34490 if (SWIG_arg_fail(2)) SWIG_fail
;
34493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34494 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
34496 wxPyEndAllowThreads(__tstate
);
34497 if (PyErr_Occurred()) SWIG_fail
;
34501 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34503 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34512 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34513 PyObject
*resultobj
;
34514 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34515 wxString
*arg2
= 0 ;
34516 wxString
*arg3
= 0 ;
34518 bool temp2
= false ;
34519 bool temp3
= false ;
34520 PyObject
* obj0
= 0 ;
34521 PyObject
* obj1
= 0 ;
34522 PyObject
* obj2
= 0 ;
34523 char *kwnames
[] = {
34524 (char *) "self",(char *) "menu",(char *) "item", NULL
34527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34529 if (SWIG_arg_fail(1)) SWIG_fail
;
34531 arg2
= wxString_in_helper(obj1
);
34532 if (arg2
== NULL
) SWIG_fail
;
34536 arg3
= wxString_in_helper(obj2
);
34537 if (arg3
== NULL
) SWIG_fail
;
34541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34542 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
34544 wxPyEndAllowThreads(__tstate
);
34545 if (PyErr_Occurred()) SWIG_fail
;
34548 resultobj
= SWIG_From_int((int)(result
));
34572 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34573 PyObject
*resultobj
;
34574 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34576 wxMenuItem
*result
;
34577 PyObject
* obj0
= 0 ;
34578 PyObject
* obj1
= 0 ;
34579 char *kwnames
[] = {
34580 (char *) "self",(char *) "id", NULL
34583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
34584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34585 if (SWIG_arg_fail(1)) SWIG_fail
;
34587 arg2
= (int)(SWIG_As_int(obj1
));
34588 if (SWIG_arg_fail(2)) SWIG_fail
;
34591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34592 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
34594 wxPyEndAllowThreads(__tstate
);
34595 if (PyErr_Occurred()) SWIG_fail
;
34598 resultobj
= wxPyMake_wxObject(result
, 0);
34606 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34607 PyObject
*resultobj
;
34608 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34609 wxString
*arg2
= 0 ;
34611 bool temp2
= false ;
34612 PyObject
* obj0
= 0 ;
34613 PyObject
* obj1
= 0 ;
34614 char *kwnames
[] = {
34615 (char *) "self",(char *) "title", NULL
34618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
34619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34620 if (SWIG_arg_fail(1)) SWIG_fail
;
34622 arg2
= wxString_in_helper(obj1
);
34623 if (arg2
== NULL
) SWIG_fail
;
34627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34628 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
34630 wxPyEndAllowThreads(__tstate
);
34631 if (PyErr_Occurred()) SWIG_fail
;
34634 resultobj
= SWIG_From_int((int)(result
));
34650 static PyObject
*_wrap_MenuBar_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34651 PyObject
*resultobj
;
34652 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34655 PyObject
* obj0
= 0 ;
34656 PyObject
* obj1
= 0 ;
34657 PyObject
* obj2
= 0 ;
34658 char *kwnames
[] = {
34659 (char *) "self",(char *) "id",(char *) "enable", NULL
34662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34664 if (SWIG_arg_fail(1)) SWIG_fail
;
34666 arg2
= (int)(SWIG_As_int(obj1
));
34667 if (SWIG_arg_fail(2)) SWIG_fail
;
34670 arg3
= (bool)(SWIG_As_bool(obj2
));
34671 if (SWIG_arg_fail(3)) SWIG_fail
;
34674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34675 (arg1
)->Enable(arg2
,arg3
);
34677 wxPyEndAllowThreads(__tstate
);
34678 if (PyErr_Occurred()) SWIG_fail
;
34680 Py_INCREF(Py_None
); resultobj
= Py_None
;
34687 static PyObject
*_wrap_MenuBar_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34688 PyObject
*resultobj
;
34689 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34692 PyObject
* obj0
= 0 ;
34693 PyObject
* obj1
= 0 ;
34694 PyObject
* obj2
= 0 ;
34695 char *kwnames
[] = {
34696 (char *) "self",(char *) "id",(char *) "check", NULL
34699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34701 if (SWIG_arg_fail(1)) SWIG_fail
;
34703 arg2
= (int)(SWIG_As_int(obj1
));
34704 if (SWIG_arg_fail(2)) SWIG_fail
;
34707 arg3
= (bool)(SWIG_As_bool(obj2
));
34708 if (SWIG_arg_fail(3)) SWIG_fail
;
34711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34712 (arg1
)->Check(arg2
,arg3
);
34714 wxPyEndAllowThreads(__tstate
);
34715 if (PyErr_Occurred()) SWIG_fail
;
34717 Py_INCREF(Py_None
); resultobj
= Py_None
;
34724 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34725 PyObject
*resultobj
;
34726 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34729 PyObject
* obj0
= 0 ;
34730 PyObject
* obj1
= 0 ;
34731 char *kwnames
[] = {
34732 (char *) "self",(char *) "id", NULL
34735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
34736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34737 if (SWIG_arg_fail(1)) SWIG_fail
;
34739 arg2
= (int)(SWIG_As_int(obj1
));
34740 if (SWIG_arg_fail(2)) SWIG_fail
;
34743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34744 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
34746 wxPyEndAllowThreads(__tstate
);
34747 if (PyErr_Occurred()) SWIG_fail
;
34750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34758 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34759 PyObject
*resultobj
;
34760 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34763 PyObject
* obj0
= 0 ;
34764 PyObject
* obj1
= 0 ;
34765 char *kwnames
[] = {
34766 (char *) "self",(char *) "id", NULL
34769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
34770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34771 if (SWIG_arg_fail(1)) SWIG_fail
;
34773 arg2
= (int)(SWIG_As_int(obj1
));
34774 if (SWIG_arg_fail(2)) SWIG_fail
;
34777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34778 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
34780 wxPyEndAllowThreads(__tstate
);
34781 if (PyErr_Occurred()) SWIG_fail
;
34784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34792 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34793 PyObject
*resultobj
;
34794 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34796 wxString
*arg3
= 0 ;
34797 bool temp3
= false ;
34798 PyObject
* obj0
= 0 ;
34799 PyObject
* obj1
= 0 ;
34800 PyObject
* obj2
= 0 ;
34801 char *kwnames
[] = {
34802 (char *) "self",(char *) "id",(char *) "label", NULL
34805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34807 if (SWIG_arg_fail(1)) SWIG_fail
;
34809 arg2
= (int)(SWIG_As_int(obj1
));
34810 if (SWIG_arg_fail(2)) SWIG_fail
;
34813 arg3
= wxString_in_helper(obj2
);
34814 if (arg3
== NULL
) SWIG_fail
;
34818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34819 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
34821 wxPyEndAllowThreads(__tstate
);
34822 if (PyErr_Occurred()) SWIG_fail
;
34824 Py_INCREF(Py_None
); resultobj
= Py_None
;
34839 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34840 PyObject
*resultobj
;
34841 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34844 PyObject
* obj0
= 0 ;
34845 PyObject
* obj1
= 0 ;
34846 char *kwnames
[] = {
34847 (char *) "self",(char *) "id", NULL
34850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
34851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34852 if (SWIG_arg_fail(1)) SWIG_fail
;
34854 arg2
= (int)(SWIG_As_int(obj1
));
34855 if (SWIG_arg_fail(2)) SWIG_fail
;
34858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34859 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
34861 wxPyEndAllowThreads(__tstate
);
34862 if (PyErr_Occurred()) SWIG_fail
;
34866 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34868 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34877 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34878 PyObject
*resultobj
;
34879 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34881 wxString
*arg3
= 0 ;
34882 bool temp3
= false ;
34883 PyObject
* obj0
= 0 ;
34884 PyObject
* obj1
= 0 ;
34885 PyObject
* obj2
= 0 ;
34886 char *kwnames
[] = {
34887 (char *) "self",(char *) "id",(char *) "helpString", NULL
34890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34892 if (SWIG_arg_fail(1)) SWIG_fail
;
34894 arg2
= (int)(SWIG_As_int(obj1
));
34895 if (SWIG_arg_fail(2)) SWIG_fail
;
34898 arg3
= wxString_in_helper(obj2
);
34899 if (arg3
== NULL
) SWIG_fail
;
34903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34904 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
34906 wxPyEndAllowThreads(__tstate
);
34907 if (PyErr_Occurred()) SWIG_fail
;
34909 Py_INCREF(Py_None
); resultobj
= Py_None
;
34924 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34925 PyObject
*resultobj
;
34926 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34929 PyObject
* obj0
= 0 ;
34930 PyObject
* obj1
= 0 ;
34931 char *kwnames
[] = {
34932 (char *) "self",(char *) "id", NULL
34935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
34936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34937 if (SWIG_arg_fail(1)) SWIG_fail
;
34939 arg2
= (int)(SWIG_As_int(obj1
));
34940 if (SWIG_arg_fail(2)) SWIG_fail
;
34943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34944 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
34946 wxPyEndAllowThreads(__tstate
);
34947 if (PyErr_Occurred()) SWIG_fail
;
34951 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34953 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34962 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34963 PyObject
*resultobj
;
34964 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34966 PyObject
* obj0
= 0 ;
34967 char *kwnames
[] = {
34968 (char *) "self", NULL
34971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
34972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34973 if (SWIG_arg_fail(1)) SWIG_fail
;
34975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34976 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
34978 wxPyEndAllowThreads(__tstate
);
34979 if (PyErr_Occurred()) SWIG_fail
;
34982 resultobj
= wxPyMake_wxObject(result
, 0);
34990 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34991 PyObject
*resultobj
;
34992 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34994 PyObject
* obj0
= 0 ;
34995 char *kwnames
[] = {
34996 (char *) "self", NULL
34999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
35000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35001 if (SWIG_arg_fail(1)) SWIG_fail
;
35003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35004 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
35006 wxPyEndAllowThreads(__tstate
);
35007 if (PyErr_Occurred()) SWIG_fail
;
35010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35018 static PyObject
*_wrap_MenuBar_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35019 PyObject
*resultobj
;
35020 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35021 wxFrame
*arg2
= (wxFrame
*) 0 ;
35022 PyObject
* obj0
= 0 ;
35023 PyObject
* obj1
= 0 ;
35024 char *kwnames
[] = {
35025 (char *) "self",(char *) "frame", NULL
35028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
35029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35030 if (SWIG_arg_fail(1)) SWIG_fail
;
35031 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
35032 if (SWIG_arg_fail(2)) SWIG_fail
;
35034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35035 (arg1
)->Attach(arg2
);
35037 wxPyEndAllowThreads(__tstate
);
35038 if (PyErr_Occurred()) SWIG_fail
;
35040 Py_INCREF(Py_None
); resultobj
= Py_None
;
35047 static PyObject
*_wrap_MenuBar_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35048 PyObject
*resultobj
;
35049 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35050 PyObject
* obj0
= 0 ;
35051 char *kwnames
[] = {
35052 (char *) "self", NULL
35055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
35056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35057 if (SWIG_arg_fail(1)) SWIG_fail
;
35059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35062 wxPyEndAllowThreads(__tstate
);
35063 if (PyErr_Occurred()) SWIG_fail
;
35065 Py_INCREF(Py_None
); resultobj
= Py_None
;
35072 static PyObject
* MenuBar_swigregister(PyObject
*, PyObject
*args
) {
35074 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35075 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
35077 return Py_BuildValue((char *)"");
35079 static PyObject
*_wrap_new_MenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35080 PyObject
*resultobj
;
35081 wxMenu
*arg1
= (wxMenu
*) NULL
;
35082 int arg2
= (int) wxID_ANY
;
35083 wxString
const &arg3_defvalue
= wxPyEmptyString
;
35084 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
35085 wxString
const &arg4_defvalue
= wxPyEmptyString
;
35086 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
35087 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
35088 wxMenu
*arg6
= (wxMenu
*) NULL
;
35089 wxMenuItem
*result
;
35090 bool temp3
= false ;
35091 bool temp4
= false ;
35092 PyObject
* obj0
= 0 ;
35093 PyObject
* obj1
= 0 ;
35094 PyObject
* obj2
= 0 ;
35095 PyObject
* obj3
= 0 ;
35096 PyObject
* obj4
= 0 ;
35097 PyObject
* obj5
= 0 ;
35098 char *kwnames
[] = {
35099 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
35102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35105 if (SWIG_arg_fail(1)) SWIG_fail
;
35109 arg2
= (int)(SWIG_As_int(obj1
));
35110 if (SWIG_arg_fail(2)) SWIG_fail
;
35115 arg3
= wxString_in_helper(obj2
);
35116 if (arg3
== NULL
) SWIG_fail
;
35122 arg4
= wxString_in_helper(obj3
);
35123 if (arg4
== NULL
) SWIG_fail
;
35129 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
35130 if (SWIG_arg_fail(5)) SWIG_fail
;
35134 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35135 if (SWIG_arg_fail(6)) SWIG_fail
;
35138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35139 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
35141 wxPyEndAllowThreads(__tstate
);
35142 if (PyErr_Occurred()) SWIG_fail
;
35145 resultobj
= wxPyMake_wxObject(result
, 1);
35169 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35170 PyObject
*resultobj
;
35171 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35173 PyObject
* obj0
= 0 ;
35174 char *kwnames
[] = {
35175 (char *) "self", NULL
35178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
35179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35180 if (SWIG_arg_fail(1)) SWIG_fail
;
35182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35183 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
35185 wxPyEndAllowThreads(__tstate
);
35186 if (PyErr_Occurred()) SWIG_fail
;
35189 resultobj
= wxPyMake_wxObject(result
, 0);
35197 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35198 PyObject
*resultobj
;
35199 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35200 wxMenu
*arg2
= (wxMenu
*) 0 ;
35201 PyObject
* obj0
= 0 ;
35202 PyObject
* obj1
= 0 ;
35203 char *kwnames
[] = {
35204 (char *) "self",(char *) "menu", NULL
35207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35209 if (SWIG_arg_fail(1)) SWIG_fail
;
35210 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35211 if (SWIG_arg_fail(2)) SWIG_fail
;
35213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35214 (arg1
)->SetMenu(arg2
);
35216 wxPyEndAllowThreads(__tstate
);
35217 if (PyErr_Occurred()) SWIG_fail
;
35219 Py_INCREF(Py_None
); resultobj
= Py_None
;
35226 static PyObject
*_wrap_MenuItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35227 PyObject
*resultobj
;
35228 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35230 PyObject
* obj0
= 0 ;
35231 PyObject
* obj1
= 0 ;
35232 char *kwnames
[] = {
35233 (char *) "self",(char *) "id", NULL
35236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
35237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35238 if (SWIG_arg_fail(1)) SWIG_fail
;
35240 arg2
= (int)(SWIG_As_int(obj1
));
35241 if (SWIG_arg_fail(2)) SWIG_fail
;
35244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35245 (arg1
)->SetId(arg2
);
35247 wxPyEndAllowThreads(__tstate
);
35248 if (PyErr_Occurred()) SWIG_fail
;
35250 Py_INCREF(Py_None
); resultobj
= Py_None
;
35257 static PyObject
*_wrap_MenuItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35258 PyObject
*resultobj
;
35259 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35261 PyObject
* obj0
= 0 ;
35262 char *kwnames
[] = {
35263 (char *) "self", NULL
35266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
35267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35268 if (SWIG_arg_fail(1)) SWIG_fail
;
35270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35271 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
35273 wxPyEndAllowThreads(__tstate
);
35274 if (PyErr_Occurred()) SWIG_fail
;
35277 resultobj
= SWIG_From_int((int)(result
));
35285 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35286 PyObject
*resultobj
;
35287 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35289 PyObject
* obj0
= 0 ;
35290 char *kwnames
[] = {
35291 (char *) "self", NULL
35294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
35295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35296 if (SWIG_arg_fail(1)) SWIG_fail
;
35298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35299 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
35301 wxPyEndAllowThreads(__tstate
);
35302 if (PyErr_Occurred()) SWIG_fail
;
35305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35313 static PyObject
*_wrap_MenuItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35314 PyObject
*resultobj
;
35315 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35316 wxString
*arg2
= 0 ;
35317 bool temp2
= false ;
35318 PyObject
* obj0
= 0 ;
35319 PyObject
* obj1
= 0 ;
35320 char *kwnames
[] = {
35321 (char *) "self",(char *) "str", NULL
35324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
35325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35326 if (SWIG_arg_fail(1)) SWIG_fail
;
35328 arg2
= wxString_in_helper(obj1
);
35329 if (arg2
== NULL
) SWIG_fail
;
35333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35334 (arg1
)->SetText((wxString
const &)*arg2
);
35336 wxPyEndAllowThreads(__tstate
);
35337 if (PyErr_Occurred()) SWIG_fail
;
35339 Py_INCREF(Py_None
); resultobj
= Py_None
;
35354 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35355 PyObject
*resultobj
;
35356 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35358 PyObject
* obj0
= 0 ;
35359 char *kwnames
[] = {
35360 (char *) "self", NULL
35363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
35364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35365 if (SWIG_arg_fail(1)) SWIG_fail
;
35367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35368 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
35370 wxPyEndAllowThreads(__tstate
);
35371 if (PyErr_Occurred()) SWIG_fail
;
35375 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35377 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35386 static PyObject
*_wrap_MenuItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35387 PyObject
*resultobj
;
35388 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35390 PyObject
* obj0
= 0 ;
35391 char *kwnames
[] = {
35392 (char *) "self", NULL
35395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
35396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35397 if (SWIG_arg_fail(1)) SWIG_fail
;
35399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35401 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
35402 result
= (wxString
*) &_result_ref
;
35405 wxPyEndAllowThreads(__tstate
);
35406 if (PyErr_Occurred()) SWIG_fail
;
35410 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
35412 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
35421 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35422 PyObject
*resultobj
;
35423 wxString
*arg1
= 0 ;
35425 bool temp1
= false ;
35426 PyObject
* obj0
= 0 ;
35427 char *kwnames
[] = {
35428 (char *) "text", NULL
35431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
35433 arg1
= wxString_in_helper(obj0
);
35434 if (arg1
== NULL
) SWIG_fail
;
35438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35439 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
35441 wxPyEndAllowThreads(__tstate
);
35442 if (PyErr_Occurred()) SWIG_fail
;
35446 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35448 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35465 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35466 PyObject
*resultobj
;
35467 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35469 PyObject
* obj0
= 0 ;
35470 char *kwnames
[] = {
35471 (char *) "self", NULL
35474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
35475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35476 if (SWIG_arg_fail(1)) SWIG_fail
;
35478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35479 result
= (wxItemKind
)((wxMenuItem
const *)arg1
)->GetKind();
35481 wxPyEndAllowThreads(__tstate
);
35482 if (PyErr_Occurred()) SWIG_fail
;
35484 resultobj
= SWIG_From_int((result
));
35491 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35492 PyObject
*resultobj
;
35493 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35495 PyObject
* obj0
= 0 ;
35496 PyObject
* obj1
= 0 ;
35497 char *kwnames
[] = {
35498 (char *) "self",(char *) "kind", NULL
35501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
35502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35503 if (SWIG_arg_fail(1)) SWIG_fail
;
35505 arg2
= (wxItemKind
)(SWIG_As_int(obj1
));
35506 if (SWIG_arg_fail(2)) SWIG_fail
;
35509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35510 (arg1
)->SetKind((wxItemKind
)arg2
);
35512 wxPyEndAllowThreads(__tstate
);
35513 if (PyErr_Occurred()) SWIG_fail
;
35515 Py_INCREF(Py_None
); resultobj
= Py_None
;
35522 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35523 PyObject
*resultobj
;
35524 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35526 PyObject
* obj0
= 0 ;
35527 PyObject
* obj1
= 0 ;
35528 char *kwnames
[] = {
35529 (char *) "self",(char *) "checkable", NULL
35532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
35533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35534 if (SWIG_arg_fail(1)) SWIG_fail
;
35536 arg2
= (bool)(SWIG_As_bool(obj1
));
35537 if (SWIG_arg_fail(2)) SWIG_fail
;
35540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35541 (arg1
)->SetCheckable(arg2
);
35543 wxPyEndAllowThreads(__tstate
);
35544 if (PyErr_Occurred()) SWIG_fail
;
35546 Py_INCREF(Py_None
); resultobj
= Py_None
;
35553 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35554 PyObject
*resultobj
;
35555 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35557 PyObject
* obj0
= 0 ;
35558 char *kwnames
[] = {
35559 (char *) "self", NULL
35562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
35563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35564 if (SWIG_arg_fail(1)) SWIG_fail
;
35566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35567 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
35569 wxPyEndAllowThreads(__tstate
);
35570 if (PyErr_Occurred()) SWIG_fail
;
35573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35581 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35582 PyObject
*resultobj
;
35583 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35585 PyObject
* obj0
= 0 ;
35586 char *kwnames
[] = {
35587 (char *) "self", NULL
35590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
35591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35592 if (SWIG_arg_fail(1)) SWIG_fail
;
35594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35595 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
35597 wxPyEndAllowThreads(__tstate
);
35598 if (PyErr_Occurred()) SWIG_fail
;
35601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35609 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35610 PyObject
*resultobj
;
35611 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35612 wxMenu
*arg2
= (wxMenu
*) 0 ;
35613 PyObject
* obj0
= 0 ;
35614 PyObject
* obj1
= 0 ;
35615 char *kwnames
[] = {
35616 (char *) "self",(char *) "menu", NULL
35619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35621 if (SWIG_arg_fail(1)) SWIG_fail
;
35622 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35623 if (SWIG_arg_fail(2)) SWIG_fail
;
35625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35626 (arg1
)->SetSubMenu(arg2
);
35628 wxPyEndAllowThreads(__tstate
);
35629 if (PyErr_Occurred()) SWIG_fail
;
35631 Py_INCREF(Py_None
); resultobj
= Py_None
;
35638 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35639 PyObject
*resultobj
;
35640 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35642 PyObject
* obj0
= 0 ;
35643 char *kwnames
[] = {
35644 (char *) "self", NULL
35647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
35648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35649 if (SWIG_arg_fail(1)) SWIG_fail
;
35651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35652 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
35654 wxPyEndAllowThreads(__tstate
);
35655 if (PyErr_Occurred()) SWIG_fail
;
35658 resultobj
= wxPyMake_wxObject(result
, 0);
35666 static PyObject
*_wrap_MenuItem_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35667 PyObject
*resultobj
;
35668 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35669 bool arg2
= (bool) true ;
35670 PyObject
* obj0
= 0 ;
35671 PyObject
* obj1
= 0 ;
35672 char *kwnames
[] = {
35673 (char *) "self",(char *) "enable", NULL
35676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
35677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35678 if (SWIG_arg_fail(1)) SWIG_fail
;
35681 arg2
= (bool)(SWIG_As_bool(obj1
));
35682 if (SWIG_arg_fail(2)) SWIG_fail
;
35686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35687 (arg1
)->Enable(arg2
);
35689 wxPyEndAllowThreads(__tstate
);
35690 if (PyErr_Occurred()) SWIG_fail
;
35692 Py_INCREF(Py_None
); resultobj
= Py_None
;
35699 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35700 PyObject
*resultobj
;
35701 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35703 PyObject
* obj0
= 0 ;
35704 char *kwnames
[] = {
35705 (char *) "self", NULL
35708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
35709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35710 if (SWIG_arg_fail(1)) SWIG_fail
;
35712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35713 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
35715 wxPyEndAllowThreads(__tstate
);
35716 if (PyErr_Occurred()) SWIG_fail
;
35719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35727 static PyObject
*_wrap_MenuItem_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35728 PyObject
*resultobj
;
35729 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35730 bool arg2
= (bool) true ;
35731 PyObject
* obj0
= 0 ;
35732 PyObject
* obj1
= 0 ;
35733 char *kwnames
[] = {
35734 (char *) "self",(char *) "check", NULL
35737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
35738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35739 if (SWIG_arg_fail(1)) SWIG_fail
;
35742 arg2
= (bool)(SWIG_As_bool(obj1
));
35743 if (SWIG_arg_fail(2)) SWIG_fail
;
35747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35748 (arg1
)->Check(arg2
);
35750 wxPyEndAllowThreads(__tstate
);
35751 if (PyErr_Occurred()) SWIG_fail
;
35753 Py_INCREF(Py_None
); resultobj
= Py_None
;
35760 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35761 PyObject
*resultobj
;
35762 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35764 PyObject
* obj0
= 0 ;
35765 char *kwnames
[] = {
35766 (char *) "self", NULL
35769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
35770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35771 if (SWIG_arg_fail(1)) SWIG_fail
;
35773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35774 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
35776 wxPyEndAllowThreads(__tstate
);
35777 if (PyErr_Occurred()) SWIG_fail
;
35780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35788 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35789 PyObject
*resultobj
;
35790 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35791 PyObject
* obj0
= 0 ;
35792 char *kwnames
[] = {
35793 (char *) "self", NULL
35796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
35797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35798 if (SWIG_arg_fail(1)) SWIG_fail
;
35800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35803 wxPyEndAllowThreads(__tstate
);
35804 if (PyErr_Occurred()) SWIG_fail
;
35806 Py_INCREF(Py_None
); resultobj
= Py_None
;
35813 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35814 PyObject
*resultobj
;
35815 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35816 wxString
*arg2
= 0 ;
35817 bool temp2
= false ;
35818 PyObject
* obj0
= 0 ;
35819 PyObject
* obj1
= 0 ;
35820 char *kwnames
[] = {
35821 (char *) "self",(char *) "str", NULL
35824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
35825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35826 if (SWIG_arg_fail(1)) SWIG_fail
;
35828 arg2
= wxString_in_helper(obj1
);
35829 if (arg2
== NULL
) SWIG_fail
;
35833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35834 (arg1
)->SetHelp((wxString
const &)*arg2
);
35836 wxPyEndAllowThreads(__tstate
);
35837 if (PyErr_Occurred()) SWIG_fail
;
35839 Py_INCREF(Py_None
); resultobj
= Py_None
;
35854 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35855 PyObject
*resultobj
;
35856 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35858 PyObject
* obj0
= 0 ;
35859 char *kwnames
[] = {
35860 (char *) "self", NULL
35863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
35864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35865 if (SWIG_arg_fail(1)) SWIG_fail
;
35867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35869 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
35870 result
= (wxString
*) &_result_ref
;
35873 wxPyEndAllowThreads(__tstate
);
35874 if (PyErr_Occurred()) SWIG_fail
;
35878 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
35880 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
35889 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35890 PyObject
*resultobj
;
35891 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35892 wxAcceleratorEntry
*result
;
35893 PyObject
* obj0
= 0 ;
35894 char *kwnames
[] = {
35895 (char *) "self", NULL
35898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
35899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35900 if (SWIG_arg_fail(1)) SWIG_fail
;
35902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35903 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
35905 wxPyEndAllowThreads(__tstate
);
35906 if (PyErr_Occurred()) SWIG_fail
;
35908 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
35915 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35916 PyObject
*resultobj
;
35917 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35918 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
35919 PyObject
* obj0
= 0 ;
35920 PyObject
* obj1
= 0 ;
35921 char *kwnames
[] = {
35922 (char *) "self",(char *) "accel", NULL
35925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
35926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35927 if (SWIG_arg_fail(1)) SWIG_fail
;
35928 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
35929 if (SWIG_arg_fail(2)) SWIG_fail
;
35931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35932 (arg1
)->SetAccel(arg2
);
35934 wxPyEndAllowThreads(__tstate
);
35935 if (PyErr_Occurred()) SWIG_fail
;
35937 Py_INCREF(Py_None
); resultobj
= Py_None
;
35944 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35945 PyObject
*resultobj
;
35946 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35948 PyObject
* obj0
= 0 ;
35949 PyObject
* obj1
= 0 ;
35950 char *kwnames
[] = {
35951 (char *) "self",(char *) "font", NULL
35954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
35955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35956 if (SWIG_arg_fail(1)) SWIG_fail
;
35958 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
35959 if (SWIG_arg_fail(2)) SWIG_fail
;
35960 if (arg2
== NULL
) {
35961 SWIG_null_ref("wxFont");
35963 if (SWIG_arg_fail(2)) SWIG_fail
;
35966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35967 (arg1
)->SetFont((wxFont
const &)*arg2
);
35969 wxPyEndAllowThreads(__tstate
);
35970 if (PyErr_Occurred()) SWIG_fail
;
35972 Py_INCREF(Py_None
); resultobj
= Py_None
;
35979 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35980 PyObject
*resultobj
;
35981 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35983 PyObject
* obj0
= 0 ;
35984 char *kwnames
[] = {
35985 (char *) "self", NULL
35988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
35989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35990 if (SWIG_arg_fail(1)) SWIG_fail
;
35992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35993 result
= (arg1
)->GetFont();
35995 wxPyEndAllowThreads(__tstate
);
35996 if (PyErr_Occurred()) SWIG_fail
;
35999 wxFont
* resultptr
;
36000 resultptr
= new wxFont((wxFont
&)(result
));
36001 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
36009 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36010 PyObject
*resultobj
;
36011 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36012 wxColour
*arg2
= 0 ;
36014 PyObject
* obj0
= 0 ;
36015 PyObject
* obj1
= 0 ;
36016 char *kwnames
[] = {
36017 (char *) "self",(char *) "colText", NULL
36020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
36021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36022 if (SWIG_arg_fail(1)) SWIG_fail
;
36025 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
36028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36029 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
36031 wxPyEndAllowThreads(__tstate
);
36032 if (PyErr_Occurred()) SWIG_fail
;
36034 Py_INCREF(Py_None
); resultobj
= Py_None
;
36041 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36042 PyObject
*resultobj
;
36043 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36045 PyObject
* obj0
= 0 ;
36046 char *kwnames
[] = {
36047 (char *) "self", NULL
36050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
36051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36052 if (SWIG_arg_fail(1)) SWIG_fail
;
36054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36055 result
= (arg1
)->GetTextColour();
36057 wxPyEndAllowThreads(__tstate
);
36058 if (PyErr_Occurred()) SWIG_fail
;
36061 wxColour
* resultptr
;
36062 resultptr
= new wxColour((wxColour
&)(result
));
36063 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
36071 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36072 PyObject
*resultobj
;
36073 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36074 wxColour
*arg2
= 0 ;
36076 PyObject
* obj0
= 0 ;
36077 PyObject
* obj1
= 0 ;
36078 char *kwnames
[] = {
36079 (char *) "self",(char *) "colBack", NULL
36082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
36083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36084 if (SWIG_arg_fail(1)) SWIG_fail
;
36087 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
36090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36091 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
36093 wxPyEndAllowThreads(__tstate
);
36094 if (PyErr_Occurred()) SWIG_fail
;
36096 Py_INCREF(Py_None
); resultobj
= Py_None
;
36103 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36104 PyObject
*resultobj
;
36105 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36107 PyObject
* obj0
= 0 ;
36108 char *kwnames
[] = {
36109 (char *) "self", NULL
36112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
36113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36114 if (SWIG_arg_fail(1)) SWIG_fail
;
36116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36117 result
= (arg1
)->GetBackgroundColour();
36119 wxPyEndAllowThreads(__tstate
);
36120 if (PyErr_Occurred()) SWIG_fail
;
36123 wxColour
* resultptr
;
36124 resultptr
= new wxColour((wxColour
&)(result
));
36125 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
36133 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36134 PyObject
*resultobj
;
36135 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36136 wxBitmap
*arg2
= 0 ;
36137 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
36138 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
36139 PyObject
* obj0
= 0 ;
36140 PyObject
* obj1
= 0 ;
36141 PyObject
* obj2
= 0 ;
36142 char *kwnames
[] = {
36143 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
36146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36148 if (SWIG_arg_fail(1)) SWIG_fail
;
36150 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36151 if (SWIG_arg_fail(2)) SWIG_fail
;
36152 if (arg2
== NULL
) {
36153 SWIG_null_ref("wxBitmap");
36155 if (SWIG_arg_fail(2)) SWIG_fail
;
36159 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36160 if (SWIG_arg_fail(3)) SWIG_fail
;
36161 if (arg3
== NULL
) {
36162 SWIG_null_ref("wxBitmap");
36164 if (SWIG_arg_fail(3)) SWIG_fail
;
36168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36169 (arg1
)->SetBitmaps((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
36171 wxPyEndAllowThreads(__tstate
);
36172 if (PyErr_Occurred()) SWIG_fail
;
36174 Py_INCREF(Py_None
); resultobj
= Py_None
;
36181 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36182 PyObject
*resultobj
;
36183 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36184 wxBitmap
*arg2
= 0 ;
36185 PyObject
* obj0
= 0 ;
36186 PyObject
* obj1
= 0 ;
36187 char *kwnames
[] = {
36188 (char *) "self",(char *) "bmpDisabled", NULL
36191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
36192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36193 if (SWIG_arg_fail(1)) SWIG_fail
;
36195 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36196 if (SWIG_arg_fail(2)) SWIG_fail
;
36197 if (arg2
== NULL
) {
36198 SWIG_null_ref("wxBitmap");
36200 if (SWIG_arg_fail(2)) SWIG_fail
;
36203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36204 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
36206 wxPyEndAllowThreads(__tstate
);
36207 if (PyErr_Occurred()) SWIG_fail
;
36209 Py_INCREF(Py_None
); resultobj
= Py_None
;
36216 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36217 PyObject
*resultobj
;
36218 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36220 PyObject
* obj0
= 0 ;
36221 char *kwnames
[] = {
36222 (char *) "self", NULL
36225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
36226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36227 if (SWIG_arg_fail(1)) SWIG_fail
;
36229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36231 wxBitmap
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetDisabledBitmap();
36232 result
= (wxBitmap
*) &_result_ref
;
36235 wxPyEndAllowThreads(__tstate
);
36236 if (PyErr_Occurred()) SWIG_fail
;
36239 wxBitmap
* resultptr
= new wxBitmap(*result
);
36240 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
36248 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36249 PyObject
*resultobj
;
36250 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36252 PyObject
* obj0
= 0 ;
36253 PyObject
* obj1
= 0 ;
36254 char *kwnames
[] = {
36255 (char *) "self",(char *) "nWidth", NULL
36258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
36259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36260 if (SWIG_arg_fail(1)) SWIG_fail
;
36262 arg2
= (int)(SWIG_As_int(obj1
));
36263 if (SWIG_arg_fail(2)) SWIG_fail
;
36266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36267 (arg1
)->SetMarginWidth(arg2
);
36269 wxPyEndAllowThreads(__tstate
);
36270 if (PyErr_Occurred()) SWIG_fail
;
36272 Py_INCREF(Py_None
); resultobj
= Py_None
;
36279 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36280 PyObject
*resultobj
;
36281 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36283 PyObject
* obj0
= 0 ;
36284 char *kwnames
[] = {
36285 (char *) "self", NULL
36288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
36289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36290 if (SWIG_arg_fail(1)) SWIG_fail
;
36292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36293 result
= (int)(arg1
)->GetMarginWidth();
36295 wxPyEndAllowThreads(__tstate
);
36296 if (PyErr_Occurred()) SWIG_fail
;
36299 resultobj
= SWIG_From_int((int)(result
));
36307 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36308 PyObject
*resultobj
;
36310 char *kwnames
[] = {
36314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
36316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36317 result
= (int)wxMenuItem::GetDefaultMarginWidth();
36319 wxPyEndAllowThreads(__tstate
);
36320 if (PyErr_Occurred()) SWIG_fail
;
36323 resultobj
= SWIG_From_int((int)(result
));
36331 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36332 PyObject
*resultobj
;
36333 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36335 PyObject
* obj0
= 0 ;
36336 char *kwnames
[] = {
36337 (char *) "self", NULL
36340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
36341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36342 if (SWIG_arg_fail(1)) SWIG_fail
;
36344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36345 result
= (bool)(arg1
)->IsOwnerDrawn();
36347 wxPyEndAllowThreads(__tstate
);
36348 if (PyErr_Occurred()) SWIG_fail
;
36351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36359 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36360 PyObject
*resultobj
;
36361 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36362 bool arg2
= (bool) true ;
36363 PyObject
* obj0
= 0 ;
36364 PyObject
* obj1
= 0 ;
36365 char *kwnames
[] = {
36366 (char *) "self",(char *) "ownerDrawn", NULL
36369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
36370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36371 if (SWIG_arg_fail(1)) SWIG_fail
;
36374 arg2
= (bool)(SWIG_As_bool(obj1
));
36375 if (SWIG_arg_fail(2)) SWIG_fail
;
36379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36380 (arg1
)->SetOwnerDrawn(arg2
);
36382 wxPyEndAllowThreads(__tstate
);
36383 if (PyErr_Occurred()) SWIG_fail
;
36385 Py_INCREF(Py_None
); resultobj
= Py_None
;
36392 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36393 PyObject
*resultobj
;
36394 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36395 PyObject
* obj0
= 0 ;
36396 char *kwnames
[] = {
36397 (char *) "self", NULL
36400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
36401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36402 if (SWIG_arg_fail(1)) SWIG_fail
;
36404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36405 (arg1
)->ResetOwnerDrawn();
36407 wxPyEndAllowThreads(__tstate
);
36408 if (PyErr_Occurred()) SWIG_fail
;
36410 Py_INCREF(Py_None
); resultobj
= Py_None
;
36417 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36418 PyObject
*resultobj
;
36419 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36420 wxBitmap
*arg2
= 0 ;
36421 PyObject
* obj0
= 0 ;
36422 PyObject
* obj1
= 0 ;
36423 char *kwnames
[] = {
36424 (char *) "self",(char *) "bitmap", NULL
36427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
36428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36429 if (SWIG_arg_fail(1)) SWIG_fail
;
36431 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36432 if (SWIG_arg_fail(2)) SWIG_fail
;
36433 if (arg2
== NULL
) {
36434 SWIG_null_ref("wxBitmap");
36436 if (SWIG_arg_fail(2)) SWIG_fail
;
36439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36440 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
36442 wxPyEndAllowThreads(__tstate
);
36443 if (PyErr_Occurred()) SWIG_fail
;
36445 Py_INCREF(Py_None
); resultobj
= Py_None
;
36452 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36453 PyObject
*resultobj
;
36454 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36456 PyObject
* obj0
= 0 ;
36457 char *kwnames
[] = {
36458 (char *) "self", NULL
36461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
36462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36463 if (SWIG_arg_fail(1)) SWIG_fail
;
36465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36467 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
36468 result
= (wxBitmap
*) &_result_ref
;
36471 wxPyEndAllowThreads(__tstate
);
36472 if (PyErr_Occurred()) SWIG_fail
;
36475 wxBitmap
* resultptr
= new wxBitmap(*result
);
36476 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
36484 static PyObject
* MenuItem_swigregister(PyObject
*, PyObject
*args
) {
36486 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36487 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
36489 return Py_BuildValue((char *)"");
36491 static int _wrap_ControlNameStr_set(PyObject
*) {
36492 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
36497 static PyObject
*_wrap_ControlNameStr_get(void) {
36502 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
36504 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
36511 static PyObject
*_wrap_new_Control(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36512 PyObject
*resultobj
;
36513 wxWindow
*arg1
= (wxWindow
*) 0 ;
36514 int arg2
= (int) -1 ;
36515 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
36516 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
36517 wxSize
const &arg4_defvalue
= wxDefaultSize
;
36518 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
36519 long arg5
= (long) 0 ;
36520 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
36521 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
36522 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
36523 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
36527 bool temp7
= false ;
36528 PyObject
* obj0
= 0 ;
36529 PyObject
* obj1
= 0 ;
36530 PyObject
* obj2
= 0 ;
36531 PyObject
* obj3
= 0 ;
36532 PyObject
* obj4
= 0 ;
36533 PyObject
* obj5
= 0 ;
36534 PyObject
* obj6
= 0 ;
36535 char *kwnames
[] = {
36536 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
36539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
36540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
36541 if (SWIG_arg_fail(1)) SWIG_fail
;
36544 arg2
= (int)(SWIG_As_int(obj1
));
36545 if (SWIG_arg_fail(2)) SWIG_fail
;
36551 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36557 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
36562 arg5
= (long)(SWIG_As_long(obj4
));
36563 if (SWIG_arg_fail(5)) SWIG_fail
;
36568 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
36569 if (SWIG_arg_fail(6)) SWIG_fail
;
36570 if (arg6
== NULL
) {
36571 SWIG_null_ref("wxValidator");
36573 if (SWIG_arg_fail(6)) SWIG_fail
;
36578 arg7
= wxString_in_helper(obj6
);
36579 if (arg7
== NULL
) SWIG_fail
;
36584 if (!wxPyCheckForApp()) SWIG_fail
;
36585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36586 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
36588 wxPyEndAllowThreads(__tstate
);
36589 if (PyErr_Occurred()) SWIG_fail
;
36591 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
36606 static PyObject
*_wrap_new_PreControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36607 PyObject
*resultobj
;
36609 char *kwnames
[] = {
36613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
36615 if (!wxPyCheckForApp()) SWIG_fail
;
36616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36617 result
= (wxControl
*)new wxControl();
36619 wxPyEndAllowThreads(__tstate
);
36620 if (PyErr_Occurred()) SWIG_fail
;
36622 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
36629 static PyObject
*_wrap_Control_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36630 PyObject
*resultobj
;
36631 wxControl
*arg1
= (wxControl
*) 0 ;
36632 wxWindow
*arg2
= (wxWindow
*) 0 ;
36633 int arg3
= (int) -1 ;
36634 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
36635 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
36636 wxSize
const &arg5_defvalue
= wxDefaultSize
;
36637 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
36638 long arg6
= (long) 0 ;
36639 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
36640 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
36641 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
36642 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
36646 bool temp8
= false ;
36647 PyObject
* obj0
= 0 ;
36648 PyObject
* obj1
= 0 ;
36649 PyObject
* obj2
= 0 ;
36650 PyObject
* obj3
= 0 ;
36651 PyObject
* obj4
= 0 ;
36652 PyObject
* obj5
= 0 ;
36653 PyObject
* obj6
= 0 ;
36654 PyObject
* obj7
= 0 ;
36655 char *kwnames
[] = {
36656 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
36659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
36660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
36661 if (SWIG_arg_fail(1)) SWIG_fail
;
36662 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
36663 if (SWIG_arg_fail(2)) SWIG_fail
;
36666 arg3
= (int)(SWIG_As_int(obj2
));
36667 if (SWIG_arg_fail(3)) SWIG_fail
;
36673 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
36679 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
36684 arg6
= (long)(SWIG_As_long(obj5
));
36685 if (SWIG_arg_fail(6)) SWIG_fail
;
36690 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
36691 if (SWIG_arg_fail(7)) SWIG_fail
;
36692 if (arg7
== NULL
) {
36693 SWIG_null_ref("wxValidator");
36695 if (SWIG_arg_fail(7)) SWIG_fail
;
36700 arg8
= wxString_in_helper(obj7
);
36701 if (arg8
== NULL
) SWIG_fail
;
36706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36707 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
36709 wxPyEndAllowThreads(__tstate
);
36710 if (PyErr_Occurred()) SWIG_fail
;
36713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36729 static PyObject
*_wrap_Control_Command(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36730 PyObject
*resultobj
;
36731 wxControl
*arg1
= (wxControl
*) 0 ;
36732 wxCommandEvent
*arg2
= 0 ;
36733 PyObject
* obj0
= 0 ;
36734 PyObject
* obj1
= 0 ;
36735 char *kwnames
[] = {
36736 (char *) "self",(char *) "event", NULL
36739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
36740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
36741 if (SWIG_arg_fail(1)) SWIG_fail
;
36743 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
36744 if (SWIG_arg_fail(2)) SWIG_fail
;
36745 if (arg2
== NULL
) {
36746 SWIG_null_ref("wxCommandEvent");
36748 if (SWIG_arg_fail(2)) SWIG_fail
;
36751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36752 (arg1
)->Command(*arg2
);
36754 wxPyEndAllowThreads(__tstate
);
36755 if (PyErr_Occurred()) SWIG_fail
;
36757 Py_INCREF(Py_None
); resultobj
= Py_None
;
36764 static PyObject
*_wrap_Control_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36765 PyObject
*resultobj
;
36766 wxControl
*arg1
= (wxControl
*) 0 ;
36768 PyObject
* obj0
= 0 ;
36769 char *kwnames
[] = {
36770 (char *) "self", NULL
36773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
36774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
36775 if (SWIG_arg_fail(1)) SWIG_fail
;
36777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36778 result
= (arg1
)->GetLabel();
36780 wxPyEndAllowThreads(__tstate
);
36781 if (PyErr_Occurred()) SWIG_fail
;
36785 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36787 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36796 static PyObject
*_wrap_Control_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36797 PyObject
*resultobj
;
36798 wxControl
*arg1
= (wxControl
*) 0 ;
36799 wxString
*arg2
= 0 ;
36800 bool temp2
= false ;
36801 PyObject
* obj0
= 0 ;
36802 PyObject
* obj1
= 0 ;
36803 char *kwnames
[] = {
36804 (char *) "self",(char *) "label", NULL
36807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
36808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
36809 if (SWIG_arg_fail(1)) SWIG_fail
;
36811 arg2
= wxString_in_helper(obj1
);
36812 if (arg2
== NULL
) SWIG_fail
;
36816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36817 (arg1
)->SetLabel((wxString
const &)*arg2
);
36819 wxPyEndAllowThreads(__tstate
);
36820 if (PyErr_Occurred()) SWIG_fail
;
36822 Py_INCREF(Py_None
); resultobj
= Py_None
;
36837 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36838 PyObject
*resultobj
;
36839 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
36840 wxVisualAttributes result
;
36841 PyObject
* obj0
= 0 ;
36842 char *kwnames
[] = {
36843 (char *) "variant", NULL
36846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
36849 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
36850 if (SWIG_arg_fail(1)) SWIG_fail
;
36854 if (!wxPyCheckForApp()) SWIG_fail
;
36855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36856 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
36858 wxPyEndAllowThreads(__tstate
);
36859 if (PyErr_Occurred()) SWIG_fail
;
36862 wxVisualAttributes
* resultptr
;
36863 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
36864 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
36872 static PyObject
* Control_swigregister(PyObject
*, PyObject
*args
) {
36874 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36875 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
36877 return Py_BuildValue((char *)"");
36879 static PyObject
*_wrap_ItemContainer_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36880 PyObject
*resultobj
;
36881 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36882 wxString
*arg2
= 0 ;
36883 PyObject
*arg3
= (PyObject
*) NULL
;
36885 bool temp2
= false ;
36886 PyObject
* obj0
= 0 ;
36887 PyObject
* obj1
= 0 ;
36888 PyObject
* obj2
= 0 ;
36889 char *kwnames
[] = {
36890 (char *) "self",(char *) "item",(char *) "clientData", NULL
36893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
36895 if (SWIG_arg_fail(1)) SWIG_fail
;
36897 arg2
= wxString_in_helper(obj1
);
36898 if (arg2
== NULL
) SWIG_fail
;
36905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36906 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
36908 wxPyEndAllowThreads(__tstate
);
36909 if (PyErr_Occurred()) SWIG_fail
;
36912 resultobj
= SWIG_From_int((int)(result
));
36928 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36929 PyObject
*resultobj
;
36930 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36931 wxArrayString
*arg2
= 0 ;
36932 bool temp2
= false ;
36933 PyObject
* obj0
= 0 ;
36934 PyObject
* obj1
= 0 ;
36935 char *kwnames
[] = {
36936 (char *) "self",(char *) "strings", NULL
36939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
36940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
36941 if (SWIG_arg_fail(1)) SWIG_fail
;
36943 if (! PySequence_Check(obj1
)) {
36944 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
36947 arg2
= new wxArrayString
;
36949 int i
, len
=PySequence_Length(obj1
);
36950 for (i
=0; i
<len
; i
++) {
36951 PyObject
* item
= PySequence_GetItem(obj1
, i
);
36953 PyObject
* str
= PyObject_Unicode(item
);
36955 PyObject
* str
= PyObject_Str(item
);
36957 if (PyErr_Occurred()) SWIG_fail
;
36958 arg2
->Add(Py2wxString(str
));
36964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36965 (arg1
)->Append((wxArrayString
const &)*arg2
);
36967 wxPyEndAllowThreads(__tstate
);
36968 if (PyErr_Occurred()) SWIG_fail
;
36970 Py_INCREF(Py_None
); resultobj
= Py_None
;
36972 if (temp2
) delete arg2
;
36977 if (temp2
) delete arg2
;
36983 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36984 PyObject
*resultobj
;
36985 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36986 wxString
*arg2
= 0 ;
36988 PyObject
*arg4
= (PyObject
*) NULL
;
36990 bool temp2
= false ;
36991 PyObject
* obj0
= 0 ;
36992 PyObject
* obj1
= 0 ;
36993 PyObject
* obj2
= 0 ;
36994 PyObject
* obj3
= 0 ;
36995 char *kwnames
[] = {
36996 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
36999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37001 if (SWIG_arg_fail(1)) SWIG_fail
;
37003 arg2
= wxString_in_helper(obj1
);
37004 if (arg2
== NULL
) SWIG_fail
;
37008 arg3
= (int)(SWIG_As_int(obj2
));
37009 if (SWIG_arg_fail(3)) SWIG_fail
;
37015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37016 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
37018 wxPyEndAllowThreads(__tstate
);
37019 if (PyErr_Occurred()) SWIG_fail
;
37022 resultobj
= SWIG_From_int((int)(result
));
37038 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37039 PyObject
*resultobj
;
37040 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37041 PyObject
* obj0
= 0 ;
37042 char *kwnames
[] = {
37043 (char *) "self", NULL
37046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
37047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37048 if (SWIG_arg_fail(1)) SWIG_fail
;
37050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37053 wxPyEndAllowThreads(__tstate
);
37054 if (PyErr_Occurred()) SWIG_fail
;
37056 Py_INCREF(Py_None
); resultobj
= Py_None
;
37063 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37064 PyObject
*resultobj
;
37065 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37067 PyObject
* obj0
= 0 ;
37068 PyObject
* obj1
= 0 ;
37069 char *kwnames
[] = {
37070 (char *) "self",(char *) "n", NULL
37073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
37074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37075 if (SWIG_arg_fail(1)) SWIG_fail
;
37077 arg2
= (int)(SWIG_As_int(obj1
));
37078 if (SWIG_arg_fail(2)) SWIG_fail
;
37081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37082 (arg1
)->Delete(arg2
);
37084 wxPyEndAllowThreads(__tstate
);
37085 if (PyErr_Occurred()) SWIG_fail
;
37087 Py_INCREF(Py_None
); resultobj
= Py_None
;
37094 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37095 PyObject
*resultobj
;
37096 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37098 PyObject
* obj0
= 0 ;
37099 char *kwnames
[] = {
37100 (char *) "self", NULL
37103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
37104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37105 if (SWIG_arg_fail(1)) SWIG_fail
;
37107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37108 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
37110 wxPyEndAllowThreads(__tstate
);
37111 if (PyErr_Occurred()) SWIG_fail
;
37114 resultobj
= SWIG_From_int((int)(result
));
37122 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37123 PyObject
*resultobj
;
37124 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37126 PyObject
* obj0
= 0 ;
37127 char *kwnames
[] = {
37128 (char *) "self", NULL
37131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
37132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37133 if (SWIG_arg_fail(1)) SWIG_fail
;
37135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37136 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
37138 wxPyEndAllowThreads(__tstate
);
37139 if (PyErr_Occurred()) SWIG_fail
;
37142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37150 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37151 PyObject
*resultobj
;
37152 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37155 PyObject
* obj0
= 0 ;
37156 PyObject
* obj1
= 0 ;
37157 char *kwnames
[] = {
37158 (char *) "self",(char *) "n", NULL
37161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
37162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37163 if (SWIG_arg_fail(1)) SWIG_fail
;
37165 arg2
= (int)(SWIG_As_int(obj1
));
37166 if (SWIG_arg_fail(2)) SWIG_fail
;
37169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37170 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
37172 wxPyEndAllowThreads(__tstate
);
37173 if (PyErr_Occurred()) SWIG_fail
;
37177 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37179 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37188 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37189 PyObject
*resultobj
;
37190 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37191 wxArrayString result
;
37192 PyObject
* obj0
= 0 ;
37193 char *kwnames
[] = {
37194 (char *) "self", NULL
37197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
37198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37199 if (SWIG_arg_fail(1)) SWIG_fail
;
37201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37202 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
37204 wxPyEndAllowThreads(__tstate
);
37205 if (PyErr_Occurred()) SWIG_fail
;
37208 resultobj
= wxArrayString2PyList_helper(result
);
37216 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37217 PyObject
*resultobj
;
37218 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37220 wxString
*arg3
= 0 ;
37221 bool temp3
= false ;
37222 PyObject
* obj0
= 0 ;
37223 PyObject
* obj1
= 0 ;
37224 PyObject
* obj2
= 0 ;
37225 char *kwnames
[] = {
37226 (char *) "self",(char *) "n",(char *) "s", NULL
37229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37231 if (SWIG_arg_fail(1)) SWIG_fail
;
37233 arg2
= (int)(SWIG_As_int(obj1
));
37234 if (SWIG_arg_fail(2)) SWIG_fail
;
37237 arg3
= wxString_in_helper(obj2
);
37238 if (arg3
== NULL
) SWIG_fail
;
37242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37243 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
37245 wxPyEndAllowThreads(__tstate
);
37246 if (PyErr_Occurred()) SWIG_fail
;
37248 Py_INCREF(Py_None
); resultobj
= Py_None
;
37263 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37264 PyObject
*resultobj
;
37265 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37266 wxString
*arg2
= 0 ;
37268 bool temp2
= false ;
37269 PyObject
* obj0
= 0 ;
37270 PyObject
* obj1
= 0 ;
37271 char *kwnames
[] = {
37272 (char *) "self",(char *) "s", NULL
37275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
37276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37277 if (SWIG_arg_fail(1)) SWIG_fail
;
37279 arg2
= wxString_in_helper(obj1
);
37280 if (arg2
== NULL
) SWIG_fail
;
37284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37285 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
37287 wxPyEndAllowThreads(__tstate
);
37288 if (PyErr_Occurred()) SWIG_fail
;
37291 resultobj
= SWIG_From_int((int)(result
));
37307 static PyObject
*_wrap_ItemContainer_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37308 PyObject
*resultobj
;
37309 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37311 PyObject
* obj0
= 0 ;
37312 PyObject
* obj1
= 0 ;
37313 char *kwnames
[] = {
37314 (char *) "self",(char *) "n", NULL
37317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
37318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37319 if (SWIG_arg_fail(1)) SWIG_fail
;
37321 arg2
= (int)(SWIG_As_int(obj1
));
37322 if (SWIG_arg_fail(2)) SWIG_fail
;
37325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37326 (arg1
)->Select(arg2
);
37328 wxPyEndAllowThreads(__tstate
);
37329 if (PyErr_Occurred()) SWIG_fail
;
37331 Py_INCREF(Py_None
); resultobj
= Py_None
;
37338 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37339 PyObject
*resultobj
;
37340 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37342 PyObject
* obj0
= 0 ;
37343 char *kwnames
[] = {
37344 (char *) "self", NULL
37347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
37348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37349 if (SWIG_arg_fail(1)) SWIG_fail
;
37351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37352 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
37354 wxPyEndAllowThreads(__tstate
);
37355 if (PyErr_Occurred()) SWIG_fail
;
37358 resultobj
= SWIG_From_int((int)(result
));
37366 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37367 PyObject
*resultobj
;
37368 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37370 PyObject
* obj0
= 0 ;
37371 char *kwnames
[] = {
37372 (char *) "self", NULL
37375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
37376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37377 if (SWIG_arg_fail(1)) SWIG_fail
;
37379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37380 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
37382 wxPyEndAllowThreads(__tstate
);
37383 if (PyErr_Occurred()) SWIG_fail
;
37387 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37389 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37398 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37399 PyObject
*resultobj
;
37400 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37403 PyObject
* obj0
= 0 ;
37404 PyObject
* obj1
= 0 ;
37405 char *kwnames
[] = {
37406 (char *) "self",(char *) "n", NULL
37409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
37410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37411 if (SWIG_arg_fail(1)) SWIG_fail
;
37413 arg2
= (int)(SWIG_As_int(obj1
));
37414 if (SWIG_arg_fail(2)) SWIG_fail
;
37417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37418 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
37420 wxPyEndAllowThreads(__tstate
);
37421 if (PyErr_Occurred()) SWIG_fail
;
37423 resultobj
= result
;
37430 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37431 PyObject
*resultobj
;
37432 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37434 PyObject
*arg3
= (PyObject
*) 0 ;
37435 PyObject
* obj0
= 0 ;
37436 PyObject
* obj1
= 0 ;
37437 PyObject
* obj2
= 0 ;
37438 char *kwnames
[] = {
37439 (char *) "self",(char *) "n",(char *) "clientData", NULL
37442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37444 if (SWIG_arg_fail(1)) SWIG_fail
;
37446 arg2
= (int)(SWIG_As_int(obj1
));
37447 if (SWIG_arg_fail(2)) SWIG_fail
;
37451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37452 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
37454 wxPyEndAllowThreads(__tstate
);
37455 if (PyErr_Occurred()) SWIG_fail
;
37457 Py_INCREF(Py_None
); resultobj
= Py_None
;
37464 static PyObject
* ItemContainer_swigregister(PyObject
*, PyObject
*args
) {
37466 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37467 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
37469 return Py_BuildValue((char *)"");
37471 static PyObject
* ControlWithItems_swigregister(PyObject
*, PyObject
*args
) {
37473 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37474 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
37476 return Py_BuildValue((char *)"");
37478 static PyObject
*_wrap_new_SizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37479 PyObject
*resultobj
;
37480 wxSizerItem
*result
;
37481 char *kwnames
[] = {
37485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
37487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37488 result
= (wxSizerItem
*)new wxSizerItem();
37490 wxPyEndAllowThreads(__tstate
);
37491 if (PyErr_Occurred()) SWIG_fail
;
37493 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
37500 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37501 PyObject
*resultobj
;
37502 wxWindow
*arg1
= (wxWindow
*) 0 ;
37506 PyObject
*arg5
= (PyObject
*) NULL
;
37507 wxSizerItem
*result
;
37508 PyObject
* obj0
= 0 ;
37509 PyObject
* obj1
= 0 ;
37510 PyObject
* obj2
= 0 ;
37511 PyObject
* obj3
= 0 ;
37512 PyObject
* obj4
= 0 ;
37513 char *kwnames
[] = {
37514 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
37517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
37518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
37519 if (SWIG_arg_fail(1)) SWIG_fail
;
37521 arg2
= (int)(SWIG_As_int(obj1
));
37522 if (SWIG_arg_fail(2)) SWIG_fail
;
37525 arg3
= (int)(SWIG_As_int(obj2
));
37526 if (SWIG_arg_fail(3)) SWIG_fail
;
37529 arg4
= (int)(SWIG_As_int(obj3
));
37530 if (SWIG_arg_fail(4)) SWIG_fail
;
37536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37537 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
37539 wxPyEndAllowThreads(__tstate
);
37540 if (PyErr_Occurred()) SWIG_fail
;
37542 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
37549 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37550 PyObject
*resultobj
;
37556 PyObject
*arg6
= (PyObject
*) NULL
;
37557 wxSizerItem
*result
;
37558 PyObject
* obj0
= 0 ;
37559 PyObject
* obj1
= 0 ;
37560 PyObject
* obj2
= 0 ;
37561 PyObject
* obj3
= 0 ;
37562 PyObject
* obj4
= 0 ;
37563 PyObject
* obj5
= 0 ;
37564 char *kwnames
[] = {
37565 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
37568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37570 arg1
= (int)(SWIG_As_int(obj0
));
37571 if (SWIG_arg_fail(1)) SWIG_fail
;
37574 arg2
= (int)(SWIG_As_int(obj1
));
37575 if (SWIG_arg_fail(2)) SWIG_fail
;
37578 arg3
= (int)(SWIG_As_int(obj2
));
37579 if (SWIG_arg_fail(3)) SWIG_fail
;
37582 arg4
= (int)(SWIG_As_int(obj3
));
37583 if (SWIG_arg_fail(4)) SWIG_fail
;
37586 arg5
= (int)(SWIG_As_int(obj4
));
37587 if (SWIG_arg_fail(5)) SWIG_fail
;
37593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37594 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
37596 wxPyEndAllowThreads(__tstate
);
37597 if (PyErr_Occurred()) SWIG_fail
;
37599 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
37606 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37607 PyObject
*resultobj
;
37608 wxSizer
*arg1
= (wxSizer
*) 0 ;
37612 PyObject
*arg5
= (PyObject
*) NULL
;
37613 wxSizerItem
*result
;
37614 PyObject
* obj0
= 0 ;
37615 PyObject
* obj1
= 0 ;
37616 PyObject
* obj2
= 0 ;
37617 PyObject
* obj3
= 0 ;
37618 PyObject
* obj4
= 0 ;
37619 char *kwnames
[] = {
37620 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
37623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
37624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
37625 if (SWIG_arg_fail(1)) SWIG_fail
;
37627 arg2
= (int)(SWIG_As_int(obj1
));
37628 if (SWIG_arg_fail(2)) SWIG_fail
;
37631 arg3
= (int)(SWIG_As_int(obj2
));
37632 if (SWIG_arg_fail(3)) SWIG_fail
;
37635 arg4
= (int)(SWIG_As_int(obj3
));
37636 if (SWIG_arg_fail(4)) SWIG_fail
;
37642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37643 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
37645 wxPyEndAllowThreads(__tstate
);
37646 if (PyErr_Occurred()) SWIG_fail
;
37648 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
37655 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37656 PyObject
*resultobj
;
37657 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37658 PyObject
* obj0
= 0 ;
37659 char *kwnames
[] = {
37660 (char *) "self", NULL
37663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
37664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37665 if (SWIG_arg_fail(1)) SWIG_fail
;
37667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37668 (arg1
)->DeleteWindows();
37670 wxPyEndAllowThreads(__tstate
);
37671 if (PyErr_Occurred()) SWIG_fail
;
37673 Py_INCREF(Py_None
); resultobj
= Py_None
;
37680 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37681 PyObject
*resultobj
;
37682 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37683 PyObject
* obj0
= 0 ;
37684 char *kwnames
[] = {
37685 (char *) "self", NULL
37688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
37689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37690 if (SWIG_arg_fail(1)) SWIG_fail
;
37692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37693 (arg1
)->DetachSizer();
37695 wxPyEndAllowThreads(__tstate
);
37696 if (PyErr_Occurred()) SWIG_fail
;
37698 Py_INCREF(Py_None
); resultobj
= Py_None
;
37705 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37706 PyObject
*resultobj
;
37707 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37709 PyObject
* obj0
= 0 ;
37710 char *kwnames
[] = {
37711 (char *) "self", NULL
37714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
37715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37716 if (SWIG_arg_fail(1)) SWIG_fail
;
37718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37719 result
= (arg1
)->GetSize();
37721 wxPyEndAllowThreads(__tstate
);
37722 if (PyErr_Occurred()) SWIG_fail
;
37725 wxSize
* resultptr
;
37726 resultptr
= new wxSize((wxSize
&)(result
));
37727 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
37735 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37736 PyObject
*resultobj
;
37737 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37739 PyObject
* obj0
= 0 ;
37740 char *kwnames
[] = {
37741 (char *) "self", NULL
37744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
37745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37746 if (SWIG_arg_fail(1)) SWIG_fail
;
37748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37749 result
= (arg1
)->CalcMin();
37751 wxPyEndAllowThreads(__tstate
);
37752 if (PyErr_Occurred()) SWIG_fail
;
37755 wxSize
* resultptr
;
37756 resultptr
= new wxSize((wxSize
&)(result
));
37757 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
37765 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37766 PyObject
*resultobj
;
37767 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37770 PyObject
* obj0
= 0 ;
37771 PyObject
* obj1
= 0 ;
37772 PyObject
* obj2
= 0 ;
37773 char *kwnames
[] = {
37774 (char *) "self",(char *) "pos",(char *) "size", NULL
37777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37779 if (SWIG_arg_fail(1)) SWIG_fail
;
37782 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
);
37783 if (SWIG_arg_fail(2)) SWIG_fail
;
37784 if (argp
== NULL
) {
37785 SWIG_null_ref("wxPoint");
37787 if (SWIG_arg_fail(2)) SWIG_fail
;
37792 SWIG_Python_ConvertPtr(obj2
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
37793 if (SWIG_arg_fail(3)) SWIG_fail
;
37794 if (argp
== NULL
) {
37795 SWIG_null_ref("wxSize");
37797 if (SWIG_arg_fail(3)) SWIG_fail
;
37801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37802 (arg1
)->SetDimension(arg2
,arg3
);
37804 wxPyEndAllowThreads(__tstate
);
37805 if (PyErr_Occurred()) SWIG_fail
;
37807 Py_INCREF(Py_None
); resultobj
= Py_None
;
37814 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37815 PyObject
*resultobj
;
37816 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37818 PyObject
* obj0
= 0 ;
37819 char *kwnames
[] = {
37820 (char *) "self", NULL
37823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
37824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37825 if (SWIG_arg_fail(1)) SWIG_fail
;
37827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37828 result
= (arg1
)->GetMinSize();
37830 wxPyEndAllowThreads(__tstate
);
37831 if (PyErr_Occurred()) SWIG_fail
;
37834 wxSize
* resultptr
;
37835 resultptr
= new wxSize((wxSize
&)(result
));
37836 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
37844 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37845 PyObject
*resultobj
;
37846 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37848 PyObject
* obj0
= 0 ;
37849 char *kwnames
[] = {
37850 (char *) "self", NULL
37853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
37854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37855 if (SWIG_arg_fail(1)) SWIG_fail
;
37857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37858 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
37860 wxPyEndAllowThreads(__tstate
);
37861 if (PyErr_Occurred()) SWIG_fail
;
37864 wxSize
* resultptr
;
37865 resultptr
= new wxSize((wxSize
&)(result
));
37866 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
37874 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37875 PyObject
*resultobj
;
37876 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37879 PyObject
* obj0
= 0 ;
37880 PyObject
* obj1
= 0 ;
37881 PyObject
* obj2
= 0 ;
37882 char *kwnames
[] = {
37883 (char *) "self",(char *) "x",(char *) "y", NULL
37886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37888 if (SWIG_arg_fail(1)) SWIG_fail
;
37890 arg2
= (int)(SWIG_As_int(obj1
));
37891 if (SWIG_arg_fail(2)) SWIG_fail
;
37894 arg3
= (int)(SWIG_As_int(obj2
));
37895 if (SWIG_arg_fail(3)) SWIG_fail
;
37898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37899 (arg1
)->SetInitSize(arg2
,arg3
);
37901 wxPyEndAllowThreads(__tstate
);
37902 if (PyErr_Occurred()) SWIG_fail
;
37904 Py_INCREF(Py_None
); resultobj
= Py_None
;
37911 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37912 PyObject
*resultobj
;
37913 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37916 PyObject
* obj0
= 0 ;
37917 PyObject
* obj1
= 0 ;
37918 PyObject
* obj2
= 0 ;
37919 char *kwnames
[] = {
37920 (char *) "self",(char *) "width",(char *) "height", NULL
37923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37925 if (SWIG_arg_fail(1)) SWIG_fail
;
37927 arg2
= (int)(SWIG_As_int(obj1
));
37928 if (SWIG_arg_fail(2)) SWIG_fail
;
37931 arg3
= (int)(SWIG_As_int(obj2
));
37932 if (SWIG_arg_fail(3)) SWIG_fail
;
37935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37936 (arg1
)->SetRatio(arg2
,arg3
);
37938 wxPyEndAllowThreads(__tstate
);
37939 if (PyErr_Occurred()) SWIG_fail
;
37941 Py_INCREF(Py_None
); resultobj
= Py_None
;
37948 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37949 PyObject
*resultobj
;
37950 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37952 PyObject
* obj0
= 0 ;
37953 PyObject
* obj1
= 0 ;
37954 char *kwnames
[] = {
37955 (char *) "self",(char *) "size", NULL
37958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
37959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37960 if (SWIG_arg_fail(1)) SWIG_fail
;
37963 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
37964 if (SWIG_arg_fail(2)) SWIG_fail
;
37965 if (argp
== NULL
) {
37966 SWIG_null_ref("wxSize");
37968 if (SWIG_arg_fail(2)) SWIG_fail
;
37972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37973 (arg1
)->SetRatio(arg2
);
37975 wxPyEndAllowThreads(__tstate
);
37976 if (PyErr_Occurred()) SWIG_fail
;
37978 Py_INCREF(Py_None
); resultobj
= Py_None
;
37985 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37986 PyObject
*resultobj
;
37987 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37989 PyObject
* obj0
= 0 ;
37990 PyObject
* obj1
= 0 ;
37991 char *kwnames
[] = {
37992 (char *) "self",(char *) "ratio", NULL
37995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
37996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37997 if (SWIG_arg_fail(1)) SWIG_fail
;
37999 arg2
= (float)(SWIG_As_float(obj1
));
38000 if (SWIG_arg_fail(2)) SWIG_fail
;
38003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38004 (arg1
)->SetRatio(arg2
);
38006 wxPyEndAllowThreads(__tstate
);
38007 if (PyErr_Occurred()) SWIG_fail
;
38009 Py_INCREF(Py_None
); resultobj
= Py_None
;
38016 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38017 PyObject
*resultobj
;
38018 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38020 PyObject
* obj0
= 0 ;
38021 char *kwnames
[] = {
38022 (char *) "self", NULL
38025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
38026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38027 if (SWIG_arg_fail(1)) SWIG_fail
;
38029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38030 result
= (float)(arg1
)->GetRatio();
38032 wxPyEndAllowThreads(__tstate
);
38033 if (PyErr_Occurred()) SWIG_fail
;
38036 resultobj
= SWIG_From_float((float)(result
));
38044 static PyObject
*_wrap_SizerItem_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38045 PyObject
*resultobj
;
38046 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38048 PyObject
* obj0
= 0 ;
38049 char *kwnames
[] = {
38050 (char *) "self", NULL
38053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRect",kwnames
,&obj0
)) goto fail
;
38054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38055 if (SWIG_arg_fail(1)) SWIG_fail
;
38057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38058 result
= (arg1
)->GetRect();
38060 wxPyEndAllowThreads(__tstate
);
38061 if (PyErr_Occurred()) SWIG_fail
;
38064 wxRect
* resultptr
;
38065 resultptr
= new wxRect((wxRect
&)(result
));
38066 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
38074 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38075 PyObject
*resultobj
;
38076 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38078 PyObject
* obj0
= 0 ;
38079 char *kwnames
[] = {
38080 (char *) "self", NULL
38083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
38084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38085 if (SWIG_arg_fail(1)) SWIG_fail
;
38087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38088 result
= (bool)(arg1
)->IsWindow();
38090 wxPyEndAllowThreads(__tstate
);
38091 if (PyErr_Occurred()) SWIG_fail
;
38094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38102 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38103 PyObject
*resultobj
;
38104 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38106 PyObject
* obj0
= 0 ;
38107 char *kwnames
[] = {
38108 (char *) "self", NULL
38111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
38112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38113 if (SWIG_arg_fail(1)) SWIG_fail
;
38115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38116 result
= (bool)(arg1
)->IsSizer();
38118 wxPyEndAllowThreads(__tstate
);
38119 if (PyErr_Occurred()) SWIG_fail
;
38122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38130 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38131 PyObject
*resultobj
;
38132 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38134 PyObject
* obj0
= 0 ;
38135 char *kwnames
[] = {
38136 (char *) "self", NULL
38139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
38140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38141 if (SWIG_arg_fail(1)) SWIG_fail
;
38143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38144 result
= (bool)(arg1
)->IsSpacer();
38146 wxPyEndAllowThreads(__tstate
);
38147 if (PyErr_Occurred()) SWIG_fail
;
38150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38158 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38159 PyObject
*resultobj
;
38160 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38162 PyObject
* obj0
= 0 ;
38163 PyObject
* obj1
= 0 ;
38164 char *kwnames
[] = {
38165 (char *) "self",(char *) "proportion", NULL
38168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
38169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38170 if (SWIG_arg_fail(1)) SWIG_fail
;
38172 arg2
= (int)(SWIG_As_int(obj1
));
38173 if (SWIG_arg_fail(2)) SWIG_fail
;
38176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38177 (arg1
)->SetProportion(arg2
);
38179 wxPyEndAllowThreads(__tstate
);
38180 if (PyErr_Occurred()) SWIG_fail
;
38182 Py_INCREF(Py_None
); resultobj
= Py_None
;
38189 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38190 PyObject
*resultobj
;
38191 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38193 PyObject
* obj0
= 0 ;
38194 char *kwnames
[] = {
38195 (char *) "self", NULL
38198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
38199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38200 if (SWIG_arg_fail(1)) SWIG_fail
;
38202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38203 result
= (int)(arg1
)->GetProportion();
38205 wxPyEndAllowThreads(__tstate
);
38206 if (PyErr_Occurred()) SWIG_fail
;
38209 resultobj
= SWIG_From_int((int)(result
));
38217 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38218 PyObject
*resultobj
;
38219 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38221 PyObject
* obj0
= 0 ;
38222 PyObject
* obj1
= 0 ;
38223 char *kwnames
[] = {
38224 (char *) "self",(char *) "flag", NULL
38227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
38228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38229 if (SWIG_arg_fail(1)) SWIG_fail
;
38231 arg2
= (int)(SWIG_As_int(obj1
));
38232 if (SWIG_arg_fail(2)) SWIG_fail
;
38235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38236 (arg1
)->SetFlag(arg2
);
38238 wxPyEndAllowThreads(__tstate
);
38239 if (PyErr_Occurred()) SWIG_fail
;
38241 Py_INCREF(Py_None
); resultobj
= Py_None
;
38248 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38249 PyObject
*resultobj
;
38250 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38252 PyObject
* obj0
= 0 ;
38253 char *kwnames
[] = {
38254 (char *) "self", NULL
38257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
38258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38259 if (SWIG_arg_fail(1)) SWIG_fail
;
38261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38262 result
= (int)(arg1
)->GetFlag();
38264 wxPyEndAllowThreads(__tstate
);
38265 if (PyErr_Occurred()) SWIG_fail
;
38268 resultobj
= SWIG_From_int((int)(result
));
38276 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38277 PyObject
*resultobj
;
38278 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38280 PyObject
* obj0
= 0 ;
38281 PyObject
* obj1
= 0 ;
38282 char *kwnames
[] = {
38283 (char *) "self",(char *) "border", NULL
38286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
38287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38288 if (SWIG_arg_fail(1)) SWIG_fail
;
38290 arg2
= (int)(SWIG_As_int(obj1
));
38291 if (SWIG_arg_fail(2)) SWIG_fail
;
38294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38295 (arg1
)->SetBorder(arg2
);
38297 wxPyEndAllowThreads(__tstate
);
38298 if (PyErr_Occurred()) SWIG_fail
;
38300 Py_INCREF(Py_None
); resultobj
= Py_None
;
38307 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38308 PyObject
*resultobj
;
38309 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38311 PyObject
* obj0
= 0 ;
38312 char *kwnames
[] = {
38313 (char *) "self", NULL
38316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
38317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38318 if (SWIG_arg_fail(1)) SWIG_fail
;
38320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38321 result
= (int)(arg1
)->GetBorder();
38323 wxPyEndAllowThreads(__tstate
);
38324 if (PyErr_Occurred()) SWIG_fail
;
38327 resultobj
= SWIG_From_int((int)(result
));
38335 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38336 PyObject
*resultobj
;
38337 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38339 PyObject
* obj0
= 0 ;
38340 char *kwnames
[] = {
38341 (char *) "self", NULL
38344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
38345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38346 if (SWIG_arg_fail(1)) SWIG_fail
;
38348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38349 result
= (wxWindow
*)(arg1
)->GetWindow();
38351 wxPyEndAllowThreads(__tstate
);
38352 if (PyErr_Occurred()) SWIG_fail
;
38355 resultobj
= wxPyMake_wxObject(result
, 0);
38363 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38364 PyObject
*resultobj
;
38365 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38366 wxWindow
*arg2
= (wxWindow
*) 0 ;
38367 PyObject
* obj0
= 0 ;
38368 PyObject
* obj1
= 0 ;
38369 char *kwnames
[] = {
38370 (char *) "self",(char *) "window", NULL
38373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
38374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38375 if (SWIG_arg_fail(1)) SWIG_fail
;
38376 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
38377 if (SWIG_arg_fail(2)) SWIG_fail
;
38379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38380 (arg1
)->SetWindow(arg2
);
38382 wxPyEndAllowThreads(__tstate
);
38383 if (PyErr_Occurred()) SWIG_fail
;
38385 Py_INCREF(Py_None
); resultobj
= Py_None
;
38392 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38393 PyObject
*resultobj
;
38394 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38396 PyObject
* obj0
= 0 ;
38397 char *kwnames
[] = {
38398 (char *) "self", NULL
38401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
38402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38403 if (SWIG_arg_fail(1)) SWIG_fail
;
38405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38406 result
= (wxSizer
*)(arg1
)->GetSizer();
38408 wxPyEndAllowThreads(__tstate
);
38409 if (PyErr_Occurred()) SWIG_fail
;
38412 resultobj
= wxPyMake_wxSizer(result
, 0);
38420 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38421 PyObject
*resultobj
;
38422 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38423 wxSizer
*arg2
= (wxSizer
*) 0 ;
38424 PyObject
* obj0
= 0 ;
38425 PyObject
* obj1
= 0 ;
38426 char *kwnames
[] = {
38427 (char *) "self",(char *) "sizer", NULL
38430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
38431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38432 if (SWIG_arg_fail(1)) SWIG_fail
;
38433 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38434 if (SWIG_arg_fail(2)) SWIG_fail
;
38436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38437 (arg1
)->SetSizer(arg2
);
38439 wxPyEndAllowThreads(__tstate
);
38440 if (PyErr_Occurred()) SWIG_fail
;
38442 Py_INCREF(Py_None
); resultobj
= Py_None
;
38449 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38450 PyObject
*resultobj
;
38451 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38453 PyObject
* obj0
= 0 ;
38454 char *kwnames
[] = {
38455 (char *) "self", NULL
38458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
38459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38460 if (SWIG_arg_fail(1)) SWIG_fail
;
38462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38464 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
38465 result
= (wxSize
*) &_result_ref
;
38468 wxPyEndAllowThreads(__tstate
);
38469 if (PyErr_Occurred()) SWIG_fail
;
38471 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
38478 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38479 PyObject
*resultobj
;
38480 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38483 PyObject
* obj0
= 0 ;
38484 PyObject
* obj1
= 0 ;
38485 char *kwnames
[] = {
38486 (char *) "self",(char *) "size", NULL
38489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
38490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38491 if (SWIG_arg_fail(1)) SWIG_fail
;
38494 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38498 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
38500 wxPyEndAllowThreads(__tstate
);
38501 if (PyErr_Occurred()) SWIG_fail
;
38503 Py_INCREF(Py_None
); resultobj
= Py_None
;
38510 static PyObject
*_wrap_SizerItem_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38511 PyObject
*resultobj
;
38512 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38514 PyObject
* obj0
= 0 ;
38515 PyObject
* obj1
= 0 ;
38516 char *kwnames
[] = {
38517 (char *) "self",(char *) "show", NULL
38520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
38521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38522 if (SWIG_arg_fail(1)) SWIG_fail
;
38524 arg2
= (bool)(SWIG_As_bool(obj1
));
38525 if (SWIG_arg_fail(2)) SWIG_fail
;
38528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38529 (arg1
)->Show(arg2
);
38531 wxPyEndAllowThreads(__tstate
);
38532 if (PyErr_Occurred()) SWIG_fail
;
38534 Py_INCREF(Py_None
); resultobj
= Py_None
;
38541 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38542 PyObject
*resultobj
;
38543 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38545 PyObject
* obj0
= 0 ;
38546 char *kwnames
[] = {
38547 (char *) "self", NULL
38550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
38551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38552 if (SWIG_arg_fail(1)) SWIG_fail
;
38554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38555 result
= (bool)(arg1
)->IsShown();
38557 wxPyEndAllowThreads(__tstate
);
38558 if (PyErr_Occurred()) SWIG_fail
;
38561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38569 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38570 PyObject
*resultobj
;
38571 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38573 PyObject
* obj0
= 0 ;
38574 char *kwnames
[] = {
38575 (char *) "self", NULL
38578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
38579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38580 if (SWIG_arg_fail(1)) SWIG_fail
;
38582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38583 result
= (arg1
)->GetPosition();
38585 wxPyEndAllowThreads(__tstate
);
38586 if (PyErr_Occurred()) SWIG_fail
;
38589 wxPoint
* resultptr
;
38590 resultptr
= new wxPoint((wxPoint
&)(result
));
38591 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
38599 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38600 PyObject
*resultobj
;
38601 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38603 PyObject
* obj0
= 0 ;
38604 char *kwnames
[] = {
38605 (char *) "self", NULL
38608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
38609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38610 if (SWIG_arg_fail(1)) SWIG_fail
;
38612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38613 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
38615 wxPyEndAllowThreads(__tstate
);
38616 if (PyErr_Occurred()) SWIG_fail
;
38618 resultobj
= result
;
38625 static PyObject
* SizerItem_swigregister(PyObject
*, PyObject
*args
) {
38627 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38628 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
38630 return Py_BuildValue((char *)"");
38632 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38633 PyObject
*resultobj
;
38634 wxSizer
*arg1
= (wxSizer
*) 0 ;
38635 PyObject
*arg2
= (PyObject
*) 0 ;
38636 PyObject
* obj0
= 0 ;
38637 PyObject
* obj1
= 0 ;
38638 char *kwnames
[] = {
38639 (char *) "self",(char *) "_self", NULL
38642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
38643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38644 if (SWIG_arg_fail(1)) SWIG_fail
;
38647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38648 wxSizer__setOORInfo(arg1
,arg2
);
38650 wxPyEndAllowThreads(__tstate
);
38651 if (PyErr_Occurred()) SWIG_fail
;
38653 Py_INCREF(Py_None
); resultobj
= Py_None
;
38660 static PyObject
*_wrap_Sizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38661 PyObject
*resultobj
;
38662 wxSizer
*arg1
= (wxSizer
*) 0 ;
38663 PyObject
*arg2
= (PyObject
*) 0 ;
38664 int arg3
= (int) 0 ;
38665 int arg4
= (int) 0 ;
38666 int arg5
= (int) 0 ;
38667 PyObject
*arg6
= (PyObject
*) NULL
;
38668 wxSizerItem
*result
;
38669 PyObject
* obj0
= 0 ;
38670 PyObject
* obj1
= 0 ;
38671 PyObject
* obj2
= 0 ;
38672 PyObject
* obj3
= 0 ;
38673 PyObject
* obj4
= 0 ;
38674 PyObject
* obj5
= 0 ;
38675 char *kwnames
[] = {
38676 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38681 if (SWIG_arg_fail(1)) SWIG_fail
;
38685 arg3
= (int)(SWIG_As_int(obj2
));
38686 if (SWIG_arg_fail(3)) SWIG_fail
;
38691 arg4
= (int)(SWIG_As_int(obj3
));
38692 if (SWIG_arg_fail(4)) SWIG_fail
;
38697 arg5
= (int)(SWIG_As_int(obj4
));
38698 if (SWIG_arg_fail(5)) SWIG_fail
;
38705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38706 result
= (wxSizerItem
*)wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
38708 wxPyEndAllowThreads(__tstate
);
38709 if (PyErr_Occurred()) SWIG_fail
;
38711 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
38718 static PyObject
*_wrap_Sizer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38719 PyObject
*resultobj
;
38720 wxSizer
*arg1
= (wxSizer
*) 0 ;
38722 PyObject
*arg3
= (PyObject
*) 0 ;
38723 int arg4
= (int) 0 ;
38724 int arg5
= (int) 0 ;
38725 int arg6
= (int) 0 ;
38726 PyObject
*arg7
= (PyObject
*) NULL
;
38727 wxSizerItem
*result
;
38728 PyObject
* obj0
= 0 ;
38729 PyObject
* obj1
= 0 ;
38730 PyObject
* obj2
= 0 ;
38731 PyObject
* obj3
= 0 ;
38732 PyObject
* obj4
= 0 ;
38733 PyObject
* obj5
= 0 ;
38734 PyObject
* obj6
= 0 ;
38735 char *kwnames
[] = {
38736 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
38740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38741 if (SWIG_arg_fail(1)) SWIG_fail
;
38743 arg2
= (int)(SWIG_As_int(obj1
));
38744 if (SWIG_arg_fail(2)) SWIG_fail
;
38749 arg4
= (int)(SWIG_As_int(obj3
));
38750 if (SWIG_arg_fail(4)) SWIG_fail
;
38755 arg5
= (int)(SWIG_As_int(obj4
));
38756 if (SWIG_arg_fail(5)) SWIG_fail
;
38761 arg6
= (int)(SWIG_As_int(obj5
));
38762 if (SWIG_arg_fail(6)) SWIG_fail
;
38769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38770 result
= (wxSizerItem
*)wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
38772 wxPyEndAllowThreads(__tstate
);
38773 if (PyErr_Occurred()) SWIG_fail
;
38775 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
38782 static PyObject
*_wrap_Sizer_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38783 PyObject
*resultobj
;
38784 wxSizer
*arg1
= (wxSizer
*) 0 ;
38785 PyObject
*arg2
= (PyObject
*) 0 ;
38786 int arg3
= (int) 0 ;
38787 int arg4
= (int) 0 ;
38788 int arg5
= (int) 0 ;
38789 PyObject
*arg6
= (PyObject
*) NULL
;
38790 wxSizerItem
*result
;
38791 PyObject
* obj0
= 0 ;
38792 PyObject
* obj1
= 0 ;
38793 PyObject
* obj2
= 0 ;
38794 PyObject
* obj3
= 0 ;
38795 PyObject
* obj4
= 0 ;
38796 PyObject
* obj5
= 0 ;
38797 char *kwnames
[] = {
38798 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38803 if (SWIG_arg_fail(1)) SWIG_fail
;
38807 arg3
= (int)(SWIG_As_int(obj2
));
38808 if (SWIG_arg_fail(3)) SWIG_fail
;
38813 arg4
= (int)(SWIG_As_int(obj3
));
38814 if (SWIG_arg_fail(4)) SWIG_fail
;
38819 arg5
= (int)(SWIG_As_int(obj4
));
38820 if (SWIG_arg_fail(5)) SWIG_fail
;
38827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38828 result
= (wxSizerItem
*)wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
38830 wxPyEndAllowThreads(__tstate
);
38831 if (PyErr_Occurred()) SWIG_fail
;
38833 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
38840 static PyObject
*_wrap_Sizer_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38841 PyObject
*resultobj
;
38842 wxSizer
*arg1
= (wxSizer
*) 0 ;
38843 PyObject
*arg2
= (PyObject
*) 0 ;
38845 PyObject
* obj0
= 0 ;
38846 PyObject
* obj1
= 0 ;
38847 char *kwnames
[] = {
38848 (char *) "self",(char *) "item", NULL
38851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
38852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38853 if (SWIG_arg_fail(1)) SWIG_fail
;
38856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38857 result
= (bool)wxSizer_Remove(arg1
,arg2
);
38859 wxPyEndAllowThreads(__tstate
);
38860 if (PyErr_Occurred()) SWIG_fail
;
38863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38871 static PyObject
*_wrap_Sizer_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38872 PyObject
*resultobj
;
38873 wxSizer
*arg1
= (wxSizer
*) 0 ;
38874 PyObject
*arg2
= (PyObject
*) 0 ;
38876 PyObject
* obj0
= 0 ;
38877 PyObject
* obj1
= 0 ;
38878 char *kwnames
[] = {
38879 (char *) "self",(char *) "item", NULL
38882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
38883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38884 if (SWIG_arg_fail(1)) SWIG_fail
;
38887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38888 result
= (bool)wxSizer_Detach(arg1
,arg2
);
38890 wxPyEndAllowThreads(__tstate
);
38891 if (PyErr_Occurred()) SWIG_fail
;
38894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38902 static PyObject
*_wrap_Sizer_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38903 PyObject
*resultobj
;
38904 wxSizer
*arg1
= (wxSizer
*) 0 ;
38905 PyObject
*arg2
= (PyObject
*) 0 ;
38906 wxSizerItem
*result
;
38907 PyObject
* obj0
= 0 ;
38908 PyObject
* obj1
= 0 ;
38909 char *kwnames
[] = {
38910 (char *) "self",(char *) "item", NULL
38913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_GetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
38914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38915 if (SWIG_arg_fail(1)) SWIG_fail
;
38918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38919 result
= (wxSizerItem
*)wxSizer_GetItem(arg1
,arg2
);
38921 wxPyEndAllowThreads(__tstate
);
38922 if (PyErr_Occurred()) SWIG_fail
;
38924 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
38931 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38932 PyObject
*resultobj
;
38933 wxSizer
*arg1
= (wxSizer
*) 0 ;
38934 PyObject
*arg2
= (PyObject
*) 0 ;
38937 PyObject
* obj0
= 0 ;
38938 PyObject
* obj1
= 0 ;
38939 PyObject
* obj2
= 0 ;
38940 char *kwnames
[] = {
38941 (char *) "self",(char *) "item",(char *) "size", NULL
38944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38946 if (SWIG_arg_fail(1)) SWIG_fail
;
38950 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
38953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38954 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
38956 wxPyEndAllowThreads(__tstate
);
38957 if (PyErr_Occurred()) SWIG_fail
;
38959 Py_INCREF(Py_None
); resultobj
= Py_None
;
38966 static PyObject
*_wrap_Sizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38967 PyObject
*resultobj
;
38968 wxSizer
*arg1
= (wxSizer
*) 0 ;
38969 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
38970 wxSizerItem
*result
;
38971 PyObject
* obj0
= 0 ;
38972 PyObject
* obj1
= 0 ;
38973 char *kwnames
[] = {
38974 (char *) "self",(char *) "item", NULL
38977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
38978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38979 if (SWIG_arg_fail(1)) SWIG_fail
;
38980 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38981 if (SWIG_arg_fail(2)) SWIG_fail
;
38983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38984 result
= (wxSizerItem
*)(arg1
)->Add(arg2
);
38986 wxPyEndAllowThreads(__tstate
);
38987 if (PyErr_Occurred()) SWIG_fail
;
38989 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
38996 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38997 PyObject
*resultobj
;
38998 wxSizer
*arg1
= (wxSizer
*) 0 ;
39000 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
39001 wxSizerItem
*result
;
39002 PyObject
* obj0
= 0 ;
39003 PyObject
* obj1
= 0 ;
39004 PyObject
* obj2
= 0 ;
39005 char *kwnames
[] = {
39006 (char *) "self",(char *) "index",(char *) "item", NULL
39009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39011 if (SWIG_arg_fail(1)) SWIG_fail
;
39013 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
39014 if (SWIG_arg_fail(2)) SWIG_fail
;
39016 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39017 if (SWIG_arg_fail(3)) SWIG_fail
;
39019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39020 result
= (wxSizerItem
*)(arg1
)->Insert(arg2
,arg3
);
39022 wxPyEndAllowThreads(__tstate
);
39023 if (PyErr_Occurred()) SWIG_fail
;
39025 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39032 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39033 PyObject
*resultobj
;
39034 wxSizer
*arg1
= (wxSizer
*) 0 ;
39035 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
39036 wxSizerItem
*result
;
39037 PyObject
* obj0
= 0 ;
39038 PyObject
* obj1
= 0 ;
39039 char *kwnames
[] = {
39040 (char *) "self",(char *) "item", NULL
39043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39045 if (SWIG_arg_fail(1)) SWIG_fail
;
39046 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39047 if (SWIG_arg_fail(2)) SWIG_fail
;
39049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39050 result
= (wxSizerItem
*)(arg1
)->Prepend(arg2
);
39052 wxPyEndAllowThreads(__tstate
);
39053 if (PyErr_Occurred()) SWIG_fail
;
39055 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39062 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39063 PyObject
*resultobj
;
39064 wxSizer
*arg1
= (wxSizer
*) 0 ;
39069 PyObject
* obj0
= 0 ;
39070 PyObject
* obj1
= 0 ;
39071 PyObject
* obj2
= 0 ;
39072 PyObject
* obj3
= 0 ;
39073 PyObject
* obj4
= 0 ;
39074 char *kwnames
[] = {
39075 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
39078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
39079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39080 if (SWIG_arg_fail(1)) SWIG_fail
;
39082 arg2
= (int)(SWIG_As_int(obj1
));
39083 if (SWIG_arg_fail(2)) SWIG_fail
;
39086 arg3
= (int)(SWIG_As_int(obj2
));
39087 if (SWIG_arg_fail(3)) SWIG_fail
;
39090 arg4
= (int)(SWIG_As_int(obj3
));
39091 if (SWIG_arg_fail(4)) SWIG_fail
;
39094 arg5
= (int)(SWIG_As_int(obj4
));
39095 if (SWIG_arg_fail(5)) SWIG_fail
;
39098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39099 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
39101 wxPyEndAllowThreads(__tstate
);
39102 if (PyErr_Occurred()) SWIG_fail
;
39104 Py_INCREF(Py_None
); resultobj
= Py_None
;
39111 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39112 PyObject
*resultobj
;
39113 wxSizer
*arg1
= (wxSizer
*) 0 ;
39116 PyObject
* obj0
= 0 ;
39117 PyObject
* obj1
= 0 ;
39118 char *kwnames
[] = {
39119 (char *) "self",(char *) "size", NULL
39122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
39123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39124 if (SWIG_arg_fail(1)) SWIG_fail
;
39127 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
39130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39131 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
39133 wxPyEndAllowThreads(__tstate
);
39134 if (PyErr_Occurred()) SWIG_fail
;
39136 Py_INCREF(Py_None
); resultobj
= Py_None
;
39143 static PyObject
*_wrap_Sizer_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39144 PyObject
*resultobj
;
39145 wxSizer
*arg1
= (wxSizer
*) 0 ;
39147 PyObject
* obj0
= 0 ;
39148 char *kwnames
[] = {
39149 (char *) "self", NULL
39152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
39153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39154 if (SWIG_arg_fail(1)) SWIG_fail
;
39156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39157 result
= (arg1
)->GetSize();
39159 wxPyEndAllowThreads(__tstate
);
39160 if (PyErr_Occurred()) SWIG_fail
;
39163 wxSize
* resultptr
;
39164 resultptr
= new wxSize((wxSize
&)(result
));
39165 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39173 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39174 PyObject
*resultobj
;
39175 wxSizer
*arg1
= (wxSizer
*) 0 ;
39177 PyObject
* obj0
= 0 ;
39178 char *kwnames
[] = {
39179 (char *) "self", NULL
39182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
39183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39184 if (SWIG_arg_fail(1)) SWIG_fail
;
39186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39187 result
= (arg1
)->GetPosition();
39189 wxPyEndAllowThreads(__tstate
);
39190 if (PyErr_Occurred()) SWIG_fail
;
39193 wxPoint
* resultptr
;
39194 resultptr
= new wxPoint((wxPoint
&)(result
));
39195 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
39203 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39204 PyObject
*resultobj
;
39205 wxSizer
*arg1
= (wxSizer
*) 0 ;
39207 PyObject
* obj0
= 0 ;
39208 char *kwnames
[] = {
39209 (char *) "self", NULL
39212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
39213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39214 if (SWIG_arg_fail(1)) SWIG_fail
;
39216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39217 result
= (arg1
)->GetMinSize();
39219 wxPyEndAllowThreads(__tstate
);
39220 if (PyErr_Occurred()) SWIG_fail
;
39223 wxSize
* resultptr
;
39224 resultptr
= new wxSize((wxSize
&)(result
));
39225 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39233 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39234 PyObject
*resultobj
;
39235 wxSizer
*arg1
= (wxSizer
*) 0 ;
39236 PyObject
* obj0
= 0 ;
39237 char *kwnames
[] = {
39238 (char *) "self", NULL
39241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
39242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39243 if (SWIG_arg_fail(1)) SWIG_fail
;
39245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39246 (arg1
)->RecalcSizes();
39248 wxPyEndAllowThreads(__tstate
);
39249 if (PyErr_Occurred()) SWIG_fail
;
39251 Py_INCREF(Py_None
); resultobj
= Py_None
;
39258 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39259 PyObject
*resultobj
;
39260 wxSizer
*arg1
= (wxSizer
*) 0 ;
39262 PyObject
* obj0
= 0 ;
39263 char *kwnames
[] = {
39264 (char *) "self", NULL
39267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
39268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39269 if (SWIG_arg_fail(1)) SWIG_fail
;
39271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39272 result
= (arg1
)->CalcMin();
39274 wxPyEndAllowThreads(__tstate
);
39275 if (PyErr_Occurred()) SWIG_fail
;
39278 wxSize
* resultptr
;
39279 resultptr
= new wxSize((wxSize
&)(result
));
39280 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39288 static PyObject
*_wrap_Sizer_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39289 PyObject
*resultobj
;
39290 wxSizer
*arg1
= (wxSizer
*) 0 ;
39291 PyObject
* obj0
= 0 ;
39292 char *kwnames
[] = {
39293 (char *) "self", NULL
39296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
39297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39298 if (SWIG_arg_fail(1)) SWIG_fail
;
39300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39303 wxPyEndAllowThreads(__tstate
);
39304 if (PyErr_Occurred()) SWIG_fail
;
39306 Py_INCREF(Py_None
); resultobj
= Py_None
;
39313 static PyObject
*_wrap_Sizer_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39314 PyObject
*resultobj
;
39315 wxSizer
*arg1
= (wxSizer
*) 0 ;
39316 wxWindow
*arg2
= (wxWindow
*) 0 ;
39318 PyObject
* obj0
= 0 ;
39319 PyObject
* obj1
= 0 ;
39320 char *kwnames
[] = {
39321 (char *) "self",(char *) "window", NULL
39324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
39325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39326 if (SWIG_arg_fail(1)) SWIG_fail
;
39327 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39328 if (SWIG_arg_fail(2)) SWIG_fail
;
39330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39331 result
= (arg1
)->Fit(arg2
);
39333 wxPyEndAllowThreads(__tstate
);
39334 if (PyErr_Occurred()) SWIG_fail
;
39337 wxSize
* resultptr
;
39338 resultptr
= new wxSize((wxSize
&)(result
));
39339 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39347 static PyObject
*_wrap_Sizer_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39348 PyObject
*resultobj
;
39349 wxSizer
*arg1
= (wxSizer
*) 0 ;
39350 wxWindow
*arg2
= (wxWindow
*) 0 ;
39351 PyObject
* obj0
= 0 ;
39352 PyObject
* obj1
= 0 ;
39353 char *kwnames
[] = {
39354 (char *) "self",(char *) "window", NULL
39357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
39358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39359 if (SWIG_arg_fail(1)) SWIG_fail
;
39360 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39361 if (SWIG_arg_fail(2)) SWIG_fail
;
39363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39364 (arg1
)->FitInside(arg2
);
39366 wxPyEndAllowThreads(__tstate
);
39367 if (PyErr_Occurred()) SWIG_fail
;
39369 Py_INCREF(Py_None
); resultobj
= Py_None
;
39376 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39377 PyObject
*resultobj
;
39378 wxSizer
*arg1
= (wxSizer
*) 0 ;
39379 wxWindow
*arg2
= (wxWindow
*) 0 ;
39380 PyObject
* obj0
= 0 ;
39381 PyObject
* obj1
= 0 ;
39382 char *kwnames
[] = {
39383 (char *) "self",(char *) "window", NULL
39386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
39387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39388 if (SWIG_arg_fail(1)) SWIG_fail
;
39389 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39390 if (SWIG_arg_fail(2)) SWIG_fail
;
39392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39393 (arg1
)->SetSizeHints(arg2
);
39395 wxPyEndAllowThreads(__tstate
);
39396 if (PyErr_Occurred()) SWIG_fail
;
39398 Py_INCREF(Py_None
); resultobj
= Py_None
;
39405 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39406 PyObject
*resultobj
;
39407 wxSizer
*arg1
= (wxSizer
*) 0 ;
39408 wxWindow
*arg2
= (wxWindow
*) 0 ;
39409 PyObject
* obj0
= 0 ;
39410 PyObject
* obj1
= 0 ;
39411 char *kwnames
[] = {
39412 (char *) "self",(char *) "window", NULL
39415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
39416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39417 if (SWIG_arg_fail(1)) SWIG_fail
;
39418 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39419 if (SWIG_arg_fail(2)) SWIG_fail
;
39421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39422 (arg1
)->SetVirtualSizeHints(arg2
);
39424 wxPyEndAllowThreads(__tstate
);
39425 if (PyErr_Occurred()) SWIG_fail
;
39427 Py_INCREF(Py_None
); resultobj
= Py_None
;
39434 static PyObject
*_wrap_Sizer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39435 PyObject
*resultobj
;
39436 wxSizer
*arg1
= (wxSizer
*) 0 ;
39437 bool arg2
= (bool) false ;
39438 PyObject
* obj0
= 0 ;
39439 PyObject
* obj1
= 0 ;
39440 char *kwnames
[] = {
39441 (char *) "self",(char *) "deleteWindows", NULL
39444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
39445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39446 if (SWIG_arg_fail(1)) SWIG_fail
;
39449 arg2
= (bool)(SWIG_As_bool(obj1
));
39450 if (SWIG_arg_fail(2)) SWIG_fail
;
39454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39455 (arg1
)->Clear(arg2
);
39457 wxPyEndAllowThreads(__tstate
);
39458 if (PyErr_Occurred()) SWIG_fail
;
39460 Py_INCREF(Py_None
); resultobj
= Py_None
;
39467 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39468 PyObject
*resultobj
;
39469 wxSizer
*arg1
= (wxSizer
*) 0 ;
39470 PyObject
* obj0
= 0 ;
39471 char *kwnames
[] = {
39472 (char *) "self", NULL
39475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
39476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39477 if (SWIG_arg_fail(1)) SWIG_fail
;
39479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39480 (arg1
)->DeleteWindows();
39482 wxPyEndAllowThreads(__tstate
);
39483 if (PyErr_Occurred()) SWIG_fail
;
39485 Py_INCREF(Py_None
); resultobj
= Py_None
;
39492 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39493 PyObject
*resultobj
;
39494 wxSizer
*arg1
= (wxSizer
*) 0 ;
39496 PyObject
* obj0
= 0 ;
39497 char *kwnames
[] = {
39498 (char *) "self", NULL
39501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
39502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39503 if (SWIG_arg_fail(1)) SWIG_fail
;
39505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39506 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
39508 wxPyEndAllowThreads(__tstate
);
39509 if (PyErr_Occurred()) SWIG_fail
;
39511 resultobj
= result
;
39518 static PyObject
*_wrap_Sizer_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39519 PyObject
*resultobj
;
39520 wxSizer
*arg1
= (wxSizer
*) 0 ;
39521 PyObject
*arg2
= (PyObject
*) 0 ;
39522 bool arg3
= (bool) true ;
39523 bool arg4
= (bool) false ;
39525 PyObject
* obj0
= 0 ;
39526 PyObject
* obj1
= 0 ;
39527 PyObject
* obj2
= 0 ;
39528 PyObject
* obj3
= 0 ;
39529 char *kwnames
[] = {
39530 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
39533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39535 if (SWIG_arg_fail(1)) SWIG_fail
;
39539 arg3
= (bool)(SWIG_As_bool(obj2
));
39540 if (SWIG_arg_fail(3)) SWIG_fail
;
39545 arg4
= (bool)(SWIG_As_bool(obj3
));
39546 if (SWIG_arg_fail(4)) SWIG_fail
;
39550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39551 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
39553 wxPyEndAllowThreads(__tstate
);
39554 if (PyErr_Occurred()) SWIG_fail
;
39557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39565 static PyObject
*_wrap_Sizer_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39566 PyObject
*resultobj
;
39567 wxSizer
*arg1
= (wxSizer
*) 0 ;
39568 PyObject
*arg2
= (PyObject
*) 0 ;
39570 PyObject
* obj0
= 0 ;
39571 PyObject
* obj1
= 0 ;
39572 char *kwnames
[] = {
39573 (char *) "self",(char *) "item", NULL
39576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
39577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39578 if (SWIG_arg_fail(1)) SWIG_fail
;
39581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39582 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
39584 wxPyEndAllowThreads(__tstate
);
39585 if (PyErr_Occurred()) SWIG_fail
;
39588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39596 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39597 PyObject
*resultobj
;
39598 wxSizer
*arg1
= (wxSizer
*) 0 ;
39600 PyObject
* obj0
= 0 ;
39601 PyObject
* obj1
= 0 ;
39602 char *kwnames
[] = {
39603 (char *) "self",(char *) "show", NULL
39606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
39607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39608 if (SWIG_arg_fail(1)) SWIG_fail
;
39610 arg2
= (bool)(SWIG_As_bool(obj1
));
39611 if (SWIG_arg_fail(2)) SWIG_fail
;
39614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39615 (arg1
)->ShowItems(arg2
);
39617 wxPyEndAllowThreads(__tstate
);
39618 if (PyErr_Occurred()) SWIG_fail
;
39620 Py_INCREF(Py_None
); resultobj
= Py_None
;
39627 static PyObject
* Sizer_swigregister(PyObject
*, PyObject
*args
) {
39629 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39630 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
39632 return Py_BuildValue((char *)"");
39634 static PyObject
*_wrap_new_PySizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39635 PyObject
*resultobj
;
39637 char *kwnames
[] = {
39641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
39643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39644 result
= (wxPySizer
*)new wxPySizer();
39646 wxPyEndAllowThreads(__tstate
);
39647 if (PyErr_Occurred()) SWIG_fail
;
39649 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
39656 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39657 PyObject
*resultobj
;
39658 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
39659 PyObject
*arg2
= (PyObject
*) 0 ;
39660 PyObject
*arg3
= (PyObject
*) 0 ;
39661 PyObject
* obj0
= 0 ;
39662 PyObject
* obj1
= 0 ;
39663 PyObject
* obj2
= 0 ;
39664 char *kwnames
[] = {
39665 (char *) "self",(char *) "self",(char *) "_class", NULL
39668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPySizer
, SWIG_POINTER_EXCEPTION
| 0);
39670 if (SWIG_arg_fail(1)) SWIG_fail
;
39674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39675 (arg1
)->_setCallbackInfo(arg2
,arg3
);
39677 wxPyEndAllowThreads(__tstate
);
39678 if (PyErr_Occurred()) SWIG_fail
;
39680 Py_INCREF(Py_None
); resultobj
= Py_None
;
39687 static PyObject
* PySizer_swigregister(PyObject
*, PyObject
*args
) {
39689 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39690 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
39692 return Py_BuildValue((char *)"");
39694 static PyObject
*_wrap_new_BoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39695 PyObject
*resultobj
;
39696 int arg1
= (int) wxHORIZONTAL
;
39697 wxBoxSizer
*result
;
39698 PyObject
* obj0
= 0 ;
39699 char *kwnames
[] = {
39700 (char *) "orient", NULL
39703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
39706 arg1
= (int)(SWIG_As_int(obj0
));
39707 if (SWIG_arg_fail(1)) SWIG_fail
;
39711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39712 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
39714 wxPyEndAllowThreads(__tstate
);
39715 if (PyErr_Occurred()) SWIG_fail
;
39717 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
39724 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39725 PyObject
*resultobj
;
39726 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
39728 PyObject
* obj0
= 0 ;
39729 char *kwnames
[] = {
39730 (char *) "self", NULL
39733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
39734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39735 if (SWIG_arg_fail(1)) SWIG_fail
;
39737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39738 result
= (int)(arg1
)->GetOrientation();
39740 wxPyEndAllowThreads(__tstate
);
39741 if (PyErr_Occurred()) SWIG_fail
;
39744 resultobj
= SWIG_From_int((int)(result
));
39752 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39753 PyObject
*resultobj
;
39754 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
39756 PyObject
* obj0
= 0 ;
39757 PyObject
* obj1
= 0 ;
39758 char *kwnames
[] = {
39759 (char *) "self",(char *) "orient", NULL
39762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
39763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39764 if (SWIG_arg_fail(1)) SWIG_fail
;
39766 arg2
= (int)(SWIG_As_int(obj1
));
39767 if (SWIG_arg_fail(2)) SWIG_fail
;
39770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39771 (arg1
)->SetOrientation(arg2
);
39773 wxPyEndAllowThreads(__tstate
);
39774 if (PyErr_Occurred()) SWIG_fail
;
39776 Py_INCREF(Py_None
); resultobj
= Py_None
;
39783 static PyObject
* BoxSizer_swigregister(PyObject
*, PyObject
*args
) {
39785 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39786 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
39788 return Py_BuildValue((char *)"");
39790 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39791 PyObject
*resultobj
;
39792 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
39793 int arg2
= (int) wxHORIZONTAL
;
39794 wxStaticBoxSizer
*result
;
39795 PyObject
* obj0
= 0 ;
39796 PyObject
* obj1
= 0 ;
39797 char *kwnames
[] = {
39798 (char *) "box",(char *) "orient", NULL
39801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
39802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
39803 if (SWIG_arg_fail(1)) SWIG_fail
;
39806 arg2
= (int)(SWIG_As_int(obj1
));
39807 if (SWIG_arg_fail(2)) SWIG_fail
;
39811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39812 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
39814 wxPyEndAllowThreads(__tstate
);
39815 if (PyErr_Occurred()) SWIG_fail
;
39817 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
39824 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39825 PyObject
*resultobj
;
39826 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
39827 wxStaticBox
*result
;
39828 PyObject
* obj0
= 0 ;
39829 char *kwnames
[] = {
39830 (char *) "self", NULL
39833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
39834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39835 if (SWIG_arg_fail(1)) SWIG_fail
;
39837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39838 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
39840 wxPyEndAllowThreads(__tstate
);
39841 if (PyErr_Occurred()) SWIG_fail
;
39844 resultobj
= wxPyMake_wxObject(result
, 0);
39852 static PyObject
* StaticBoxSizer_swigregister(PyObject
*, PyObject
*args
) {
39854 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39855 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
39857 return Py_BuildValue((char *)"");
39859 static PyObject
*_wrap_new_GridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39860 PyObject
*resultobj
;
39861 int arg1
= (int) 1 ;
39862 int arg2
= (int) 0 ;
39863 int arg3
= (int) 0 ;
39864 int arg4
= (int) 0 ;
39865 wxGridSizer
*result
;
39866 PyObject
* obj0
= 0 ;
39867 PyObject
* obj1
= 0 ;
39868 PyObject
* obj2
= 0 ;
39869 PyObject
* obj3
= 0 ;
39870 char *kwnames
[] = {
39871 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
39874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39877 arg1
= (int)(SWIG_As_int(obj0
));
39878 if (SWIG_arg_fail(1)) SWIG_fail
;
39883 arg2
= (int)(SWIG_As_int(obj1
));
39884 if (SWIG_arg_fail(2)) SWIG_fail
;
39889 arg3
= (int)(SWIG_As_int(obj2
));
39890 if (SWIG_arg_fail(3)) SWIG_fail
;
39895 arg4
= (int)(SWIG_As_int(obj3
));
39896 if (SWIG_arg_fail(4)) SWIG_fail
;
39900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39901 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
39903 wxPyEndAllowThreads(__tstate
);
39904 if (PyErr_Occurred()) SWIG_fail
;
39906 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
39913 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39914 PyObject
*resultobj
;
39915 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
39917 PyObject
* obj0
= 0 ;
39918 PyObject
* obj1
= 0 ;
39919 char *kwnames
[] = {
39920 (char *) "self",(char *) "cols", NULL
39923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
39924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39925 if (SWIG_arg_fail(1)) SWIG_fail
;
39927 arg2
= (int)(SWIG_As_int(obj1
));
39928 if (SWIG_arg_fail(2)) SWIG_fail
;
39931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39932 (arg1
)->SetCols(arg2
);
39934 wxPyEndAllowThreads(__tstate
);
39935 if (PyErr_Occurred()) SWIG_fail
;
39937 Py_INCREF(Py_None
); resultobj
= Py_None
;
39944 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39945 PyObject
*resultobj
;
39946 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
39948 PyObject
* obj0
= 0 ;
39949 PyObject
* obj1
= 0 ;
39950 char *kwnames
[] = {
39951 (char *) "self",(char *) "rows", NULL
39954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
39955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39956 if (SWIG_arg_fail(1)) SWIG_fail
;
39958 arg2
= (int)(SWIG_As_int(obj1
));
39959 if (SWIG_arg_fail(2)) SWIG_fail
;
39962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39963 (arg1
)->SetRows(arg2
);
39965 wxPyEndAllowThreads(__tstate
);
39966 if (PyErr_Occurred()) SWIG_fail
;
39968 Py_INCREF(Py_None
); resultobj
= Py_None
;
39975 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39976 PyObject
*resultobj
;
39977 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
39979 PyObject
* obj0
= 0 ;
39980 PyObject
* obj1
= 0 ;
39981 char *kwnames
[] = {
39982 (char *) "self",(char *) "gap", NULL
39985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
39986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39987 if (SWIG_arg_fail(1)) SWIG_fail
;
39989 arg2
= (int)(SWIG_As_int(obj1
));
39990 if (SWIG_arg_fail(2)) SWIG_fail
;
39993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39994 (arg1
)->SetVGap(arg2
);
39996 wxPyEndAllowThreads(__tstate
);
39997 if (PyErr_Occurred()) SWIG_fail
;
39999 Py_INCREF(Py_None
); resultobj
= Py_None
;
40006 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40007 PyObject
*resultobj
;
40008 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40010 PyObject
* obj0
= 0 ;
40011 PyObject
* obj1
= 0 ;
40012 char *kwnames
[] = {
40013 (char *) "self",(char *) "gap", NULL
40016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
40017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40018 if (SWIG_arg_fail(1)) SWIG_fail
;
40020 arg2
= (int)(SWIG_As_int(obj1
));
40021 if (SWIG_arg_fail(2)) SWIG_fail
;
40024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40025 (arg1
)->SetHGap(arg2
);
40027 wxPyEndAllowThreads(__tstate
);
40028 if (PyErr_Occurred()) SWIG_fail
;
40030 Py_INCREF(Py_None
); resultobj
= Py_None
;
40037 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40038 PyObject
*resultobj
;
40039 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40041 PyObject
* obj0
= 0 ;
40042 char *kwnames
[] = {
40043 (char *) "self", NULL
40046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
40047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40048 if (SWIG_arg_fail(1)) SWIG_fail
;
40050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40051 result
= (int)(arg1
)->GetCols();
40053 wxPyEndAllowThreads(__tstate
);
40054 if (PyErr_Occurred()) SWIG_fail
;
40057 resultobj
= SWIG_From_int((int)(result
));
40065 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40066 PyObject
*resultobj
;
40067 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40069 PyObject
* obj0
= 0 ;
40070 char *kwnames
[] = {
40071 (char *) "self", NULL
40074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
40075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40076 if (SWIG_arg_fail(1)) SWIG_fail
;
40078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40079 result
= (int)(arg1
)->GetRows();
40081 wxPyEndAllowThreads(__tstate
);
40082 if (PyErr_Occurred()) SWIG_fail
;
40085 resultobj
= SWIG_From_int((int)(result
));
40093 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40094 PyObject
*resultobj
;
40095 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40097 PyObject
* obj0
= 0 ;
40098 char *kwnames
[] = {
40099 (char *) "self", NULL
40102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
40103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40104 if (SWIG_arg_fail(1)) SWIG_fail
;
40106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40107 result
= (int)(arg1
)->GetVGap();
40109 wxPyEndAllowThreads(__tstate
);
40110 if (PyErr_Occurred()) SWIG_fail
;
40113 resultobj
= SWIG_From_int((int)(result
));
40121 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40122 PyObject
*resultobj
;
40123 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40125 PyObject
* obj0
= 0 ;
40126 char *kwnames
[] = {
40127 (char *) "self", NULL
40130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
40131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40132 if (SWIG_arg_fail(1)) SWIG_fail
;
40134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40135 result
= (int)(arg1
)->GetHGap();
40137 wxPyEndAllowThreads(__tstate
);
40138 if (PyErr_Occurred()) SWIG_fail
;
40141 resultobj
= SWIG_From_int((int)(result
));
40149 static PyObject
* GridSizer_swigregister(PyObject
*, PyObject
*args
) {
40151 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40152 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
40154 return Py_BuildValue((char *)"");
40156 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40157 PyObject
*resultobj
;
40158 int arg1
= (int) 1 ;
40159 int arg2
= (int) 0 ;
40160 int arg3
= (int) 0 ;
40161 int arg4
= (int) 0 ;
40162 wxFlexGridSizer
*result
;
40163 PyObject
* obj0
= 0 ;
40164 PyObject
* obj1
= 0 ;
40165 PyObject
* obj2
= 0 ;
40166 PyObject
* obj3
= 0 ;
40167 char *kwnames
[] = {
40168 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
40171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40174 arg1
= (int)(SWIG_As_int(obj0
));
40175 if (SWIG_arg_fail(1)) SWIG_fail
;
40180 arg2
= (int)(SWIG_As_int(obj1
));
40181 if (SWIG_arg_fail(2)) SWIG_fail
;
40186 arg3
= (int)(SWIG_As_int(obj2
));
40187 if (SWIG_arg_fail(3)) SWIG_fail
;
40192 arg4
= (int)(SWIG_As_int(obj3
));
40193 if (SWIG_arg_fail(4)) SWIG_fail
;
40197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40198 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
40200 wxPyEndAllowThreads(__tstate
);
40201 if (PyErr_Occurred()) SWIG_fail
;
40203 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
40210 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40211 PyObject
*resultobj
;
40212 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40214 int arg3
= (int) 0 ;
40215 PyObject
* obj0
= 0 ;
40216 PyObject
* obj1
= 0 ;
40217 PyObject
* obj2
= 0 ;
40218 char *kwnames
[] = {
40219 (char *) "self",(char *) "idx",(char *) "proportion", NULL
40222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40224 if (SWIG_arg_fail(1)) SWIG_fail
;
40226 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
40227 if (SWIG_arg_fail(2)) SWIG_fail
;
40231 arg3
= (int)(SWIG_As_int(obj2
));
40232 if (SWIG_arg_fail(3)) SWIG_fail
;
40236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40237 (arg1
)->AddGrowableRow(arg2
,arg3
);
40239 wxPyEndAllowThreads(__tstate
);
40240 if (PyErr_Occurred()) SWIG_fail
;
40242 Py_INCREF(Py_None
); resultobj
= Py_None
;
40249 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40250 PyObject
*resultobj
;
40251 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40253 PyObject
* obj0
= 0 ;
40254 PyObject
* obj1
= 0 ;
40255 char *kwnames
[] = {
40256 (char *) "self",(char *) "idx", NULL
40259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
40260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40261 if (SWIG_arg_fail(1)) SWIG_fail
;
40263 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
40264 if (SWIG_arg_fail(2)) SWIG_fail
;
40267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40268 (arg1
)->RemoveGrowableRow(arg2
);
40270 wxPyEndAllowThreads(__tstate
);
40271 if (PyErr_Occurred()) SWIG_fail
;
40273 Py_INCREF(Py_None
); resultobj
= Py_None
;
40280 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40281 PyObject
*resultobj
;
40282 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40284 int arg3
= (int) 0 ;
40285 PyObject
* obj0
= 0 ;
40286 PyObject
* obj1
= 0 ;
40287 PyObject
* obj2
= 0 ;
40288 char *kwnames
[] = {
40289 (char *) "self",(char *) "idx",(char *) "proportion", NULL
40292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40294 if (SWIG_arg_fail(1)) SWIG_fail
;
40296 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
40297 if (SWIG_arg_fail(2)) SWIG_fail
;
40301 arg3
= (int)(SWIG_As_int(obj2
));
40302 if (SWIG_arg_fail(3)) SWIG_fail
;
40306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40307 (arg1
)->AddGrowableCol(arg2
,arg3
);
40309 wxPyEndAllowThreads(__tstate
);
40310 if (PyErr_Occurred()) SWIG_fail
;
40312 Py_INCREF(Py_None
); resultobj
= Py_None
;
40319 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40320 PyObject
*resultobj
;
40321 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40323 PyObject
* obj0
= 0 ;
40324 PyObject
* obj1
= 0 ;
40325 char *kwnames
[] = {
40326 (char *) "self",(char *) "idx", NULL
40329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
40330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40331 if (SWIG_arg_fail(1)) SWIG_fail
;
40333 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
40334 if (SWIG_arg_fail(2)) SWIG_fail
;
40337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40338 (arg1
)->RemoveGrowableCol(arg2
);
40340 wxPyEndAllowThreads(__tstate
);
40341 if (PyErr_Occurred()) SWIG_fail
;
40343 Py_INCREF(Py_None
); resultobj
= Py_None
;
40350 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40351 PyObject
*resultobj
;
40352 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40354 PyObject
* obj0
= 0 ;
40355 PyObject
* obj1
= 0 ;
40356 char *kwnames
[] = {
40357 (char *) "self",(char *) "direction", NULL
40360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
40361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40362 if (SWIG_arg_fail(1)) SWIG_fail
;
40364 arg2
= (int)(SWIG_As_int(obj1
));
40365 if (SWIG_arg_fail(2)) SWIG_fail
;
40368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40369 (arg1
)->SetFlexibleDirection(arg2
);
40371 wxPyEndAllowThreads(__tstate
);
40372 if (PyErr_Occurred()) SWIG_fail
;
40374 Py_INCREF(Py_None
); resultobj
= Py_None
;
40381 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40382 PyObject
*resultobj
;
40383 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40385 PyObject
* obj0
= 0 ;
40386 char *kwnames
[] = {
40387 (char *) "self", NULL
40390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
40391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40392 if (SWIG_arg_fail(1)) SWIG_fail
;
40394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40395 result
= (int)(arg1
)->GetFlexibleDirection();
40397 wxPyEndAllowThreads(__tstate
);
40398 if (PyErr_Occurred()) SWIG_fail
;
40401 resultobj
= SWIG_From_int((int)(result
));
40409 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40410 PyObject
*resultobj
;
40411 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40412 wxFlexSizerGrowMode arg2
;
40413 PyObject
* obj0
= 0 ;
40414 PyObject
* obj1
= 0 ;
40415 char *kwnames
[] = {
40416 (char *) "self",(char *) "mode", NULL
40419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
40420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40421 if (SWIG_arg_fail(1)) SWIG_fail
;
40423 arg2
= (wxFlexSizerGrowMode
)(SWIG_As_int(obj1
));
40424 if (SWIG_arg_fail(2)) SWIG_fail
;
40427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40428 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
40430 wxPyEndAllowThreads(__tstate
);
40431 if (PyErr_Occurred()) SWIG_fail
;
40433 Py_INCREF(Py_None
); resultobj
= Py_None
;
40440 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40441 PyObject
*resultobj
;
40442 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40443 wxFlexSizerGrowMode result
;
40444 PyObject
* obj0
= 0 ;
40445 char *kwnames
[] = {
40446 (char *) "self", NULL
40449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
40450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40451 if (SWIG_arg_fail(1)) SWIG_fail
;
40453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40454 result
= (wxFlexSizerGrowMode
)(arg1
)->GetNonFlexibleGrowMode();
40456 wxPyEndAllowThreads(__tstate
);
40457 if (PyErr_Occurred()) SWIG_fail
;
40459 resultobj
= SWIG_From_int((result
));
40466 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40467 PyObject
*resultobj
;
40468 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40469 wxArrayInt
*result
;
40470 PyObject
* obj0
= 0 ;
40471 char *kwnames
[] = {
40472 (char *) "self", NULL
40475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
40476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40477 if (SWIG_arg_fail(1)) SWIG_fail
;
40479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40481 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
40482 result
= (wxArrayInt
*) &_result_ref
;
40485 wxPyEndAllowThreads(__tstate
);
40486 if (PyErr_Occurred()) SWIG_fail
;
40489 resultobj
= PyList_New(0);
40491 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
40492 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
40493 PyList_Append(resultobj
, val
);
40503 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40504 PyObject
*resultobj
;
40505 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40506 wxArrayInt
*result
;
40507 PyObject
* obj0
= 0 ;
40508 char *kwnames
[] = {
40509 (char *) "self", NULL
40512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
40513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40514 if (SWIG_arg_fail(1)) SWIG_fail
;
40516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40518 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
40519 result
= (wxArrayInt
*) &_result_ref
;
40522 wxPyEndAllowThreads(__tstate
);
40523 if (PyErr_Occurred()) SWIG_fail
;
40526 resultobj
= PyList_New(0);
40528 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
40529 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
40530 PyList_Append(resultobj
, val
);
40540 static PyObject
* FlexGridSizer_swigregister(PyObject
*, PyObject
*args
) {
40542 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40543 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
40545 return Py_BuildValue((char *)"");
40547 static PyObject
*_wrap_new_GBPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40548 PyObject
*resultobj
;
40549 int arg1
= (int) 0 ;
40550 int arg2
= (int) 0 ;
40551 wxGBPosition
*result
;
40552 PyObject
* obj0
= 0 ;
40553 PyObject
* obj1
= 0 ;
40554 char *kwnames
[] = {
40555 (char *) "row",(char *) "col", NULL
40558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
40561 arg1
= (int)(SWIG_As_int(obj0
));
40562 if (SWIG_arg_fail(1)) SWIG_fail
;
40567 arg2
= (int)(SWIG_As_int(obj1
));
40568 if (SWIG_arg_fail(2)) SWIG_fail
;
40572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40573 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
40575 wxPyEndAllowThreads(__tstate
);
40576 if (PyErr_Occurred()) SWIG_fail
;
40578 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
40585 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40586 PyObject
*resultobj
;
40587 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
40589 PyObject
* obj0
= 0 ;
40590 char *kwnames
[] = {
40591 (char *) "self", NULL
40594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
40595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
40596 if (SWIG_arg_fail(1)) SWIG_fail
;
40598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40599 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
40601 wxPyEndAllowThreads(__tstate
);
40602 if (PyErr_Occurred()) SWIG_fail
;
40605 resultobj
= SWIG_From_int((int)(result
));
40613 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40614 PyObject
*resultobj
;
40615 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
40617 PyObject
* obj0
= 0 ;
40618 char *kwnames
[] = {
40619 (char *) "self", NULL
40622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
40623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
40624 if (SWIG_arg_fail(1)) SWIG_fail
;
40626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40627 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
40629 wxPyEndAllowThreads(__tstate
);
40630 if (PyErr_Occurred()) SWIG_fail
;
40633 resultobj
= SWIG_From_int((int)(result
));
40641 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40642 PyObject
*resultobj
;
40643 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
40645 PyObject
* obj0
= 0 ;
40646 PyObject
* obj1
= 0 ;
40647 char *kwnames
[] = {
40648 (char *) "self",(char *) "row", NULL
40651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
40652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
40653 if (SWIG_arg_fail(1)) SWIG_fail
;
40655 arg2
= (int)(SWIG_As_int(obj1
));
40656 if (SWIG_arg_fail(2)) SWIG_fail
;
40659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40660 (arg1
)->SetRow(arg2
);
40662 wxPyEndAllowThreads(__tstate
);
40663 if (PyErr_Occurred()) SWIG_fail
;
40665 Py_INCREF(Py_None
); resultobj
= Py_None
;
40672 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40673 PyObject
*resultobj
;
40674 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
40676 PyObject
* obj0
= 0 ;
40677 PyObject
* obj1
= 0 ;
40678 char *kwnames
[] = {
40679 (char *) "self",(char *) "col", NULL
40682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
40683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
40684 if (SWIG_arg_fail(1)) SWIG_fail
;
40686 arg2
= (int)(SWIG_As_int(obj1
));
40687 if (SWIG_arg_fail(2)) SWIG_fail
;
40690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40691 (arg1
)->SetCol(arg2
);
40693 wxPyEndAllowThreads(__tstate
);
40694 if (PyErr_Occurred()) SWIG_fail
;
40696 Py_INCREF(Py_None
); resultobj
= Py_None
;
40703 static PyObject
*_wrap_GBPosition___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40704 PyObject
*resultobj
;
40705 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
40706 wxGBPosition
*arg2
= 0 ;
40708 wxGBPosition temp2
;
40709 PyObject
* obj0
= 0 ;
40710 PyObject
* obj1
= 0 ;
40711 char *kwnames
[] = {
40712 (char *) "self",(char *) "other", NULL
40715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
40716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
40717 if (SWIG_arg_fail(1)) SWIG_fail
;
40720 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
40723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40724 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
40726 wxPyEndAllowThreads(__tstate
);
40727 if (PyErr_Occurred()) SWIG_fail
;
40730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40738 static PyObject
*_wrap_GBPosition___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40739 PyObject
*resultobj
;
40740 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
40741 wxGBPosition
*arg2
= 0 ;
40743 wxGBPosition temp2
;
40744 PyObject
* obj0
= 0 ;
40745 PyObject
* obj1
= 0 ;
40746 char *kwnames
[] = {
40747 (char *) "self",(char *) "other", NULL
40750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
40751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
40752 if (SWIG_arg_fail(1)) SWIG_fail
;
40755 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
40758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40759 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
40761 wxPyEndAllowThreads(__tstate
);
40762 if (PyErr_Occurred()) SWIG_fail
;
40765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40773 static PyObject
*_wrap_GBPosition_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40774 PyObject
*resultobj
;
40775 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
40776 int arg2
= (int) 0 ;
40777 int arg3
= (int) 0 ;
40778 PyObject
* obj0
= 0 ;
40779 PyObject
* obj1
= 0 ;
40780 PyObject
* obj2
= 0 ;
40781 char *kwnames
[] = {
40782 (char *) "self",(char *) "row",(char *) "col", NULL
40785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
40787 if (SWIG_arg_fail(1)) SWIG_fail
;
40790 arg2
= (int)(SWIG_As_int(obj1
));
40791 if (SWIG_arg_fail(2)) SWIG_fail
;
40796 arg3
= (int)(SWIG_As_int(obj2
));
40797 if (SWIG_arg_fail(3)) SWIG_fail
;
40801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40802 wxGBPosition_Set(arg1
,arg2
,arg3
);
40804 wxPyEndAllowThreads(__tstate
);
40805 if (PyErr_Occurred()) SWIG_fail
;
40807 Py_INCREF(Py_None
); resultobj
= Py_None
;
40814 static PyObject
*_wrap_GBPosition_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40815 PyObject
*resultobj
;
40816 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
40818 PyObject
* obj0
= 0 ;
40819 char *kwnames
[] = {
40820 (char *) "self", NULL
40823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
40824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
40825 if (SWIG_arg_fail(1)) SWIG_fail
;
40827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40828 result
= (PyObject
*)wxGBPosition_Get(arg1
);
40830 wxPyEndAllowThreads(__tstate
);
40831 if (PyErr_Occurred()) SWIG_fail
;
40833 resultobj
= result
;
40840 static PyObject
* GBPosition_swigregister(PyObject
*, PyObject
*args
) {
40842 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40843 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
40845 return Py_BuildValue((char *)"");
40847 static PyObject
*_wrap_new_GBSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40848 PyObject
*resultobj
;
40849 int arg1
= (int) 1 ;
40850 int arg2
= (int) 1 ;
40852 PyObject
* obj0
= 0 ;
40853 PyObject
* obj1
= 0 ;
40854 char *kwnames
[] = {
40855 (char *) "rowspan",(char *) "colspan", NULL
40858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
40861 arg1
= (int)(SWIG_As_int(obj0
));
40862 if (SWIG_arg_fail(1)) SWIG_fail
;
40867 arg2
= (int)(SWIG_As_int(obj1
));
40868 if (SWIG_arg_fail(2)) SWIG_fail
;
40872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40873 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
40875 wxPyEndAllowThreads(__tstate
);
40876 if (PyErr_Occurred()) SWIG_fail
;
40878 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
40885 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40886 PyObject
*resultobj
;
40887 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
40889 PyObject
* obj0
= 0 ;
40890 char *kwnames
[] = {
40891 (char *) "self", NULL
40894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
40895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
40896 if (SWIG_arg_fail(1)) SWIG_fail
;
40898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40899 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
40901 wxPyEndAllowThreads(__tstate
);
40902 if (PyErr_Occurred()) SWIG_fail
;
40905 resultobj
= SWIG_From_int((int)(result
));
40913 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40914 PyObject
*resultobj
;
40915 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
40917 PyObject
* obj0
= 0 ;
40918 char *kwnames
[] = {
40919 (char *) "self", NULL
40922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
40923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
40924 if (SWIG_arg_fail(1)) SWIG_fail
;
40926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40927 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
40929 wxPyEndAllowThreads(__tstate
);
40930 if (PyErr_Occurred()) SWIG_fail
;
40933 resultobj
= SWIG_From_int((int)(result
));
40941 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40942 PyObject
*resultobj
;
40943 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
40945 PyObject
* obj0
= 0 ;
40946 PyObject
* obj1
= 0 ;
40947 char *kwnames
[] = {
40948 (char *) "self",(char *) "rowspan", NULL
40951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
40952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
40953 if (SWIG_arg_fail(1)) SWIG_fail
;
40955 arg2
= (int)(SWIG_As_int(obj1
));
40956 if (SWIG_arg_fail(2)) SWIG_fail
;
40959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40960 (arg1
)->SetRowspan(arg2
);
40962 wxPyEndAllowThreads(__tstate
);
40963 if (PyErr_Occurred()) SWIG_fail
;
40965 Py_INCREF(Py_None
); resultobj
= Py_None
;
40972 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40973 PyObject
*resultobj
;
40974 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
40976 PyObject
* obj0
= 0 ;
40977 PyObject
* obj1
= 0 ;
40978 char *kwnames
[] = {
40979 (char *) "self",(char *) "colspan", NULL
40982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
40983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
40984 if (SWIG_arg_fail(1)) SWIG_fail
;
40986 arg2
= (int)(SWIG_As_int(obj1
));
40987 if (SWIG_arg_fail(2)) SWIG_fail
;
40990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40991 (arg1
)->SetColspan(arg2
);
40993 wxPyEndAllowThreads(__tstate
);
40994 if (PyErr_Occurred()) SWIG_fail
;
40996 Py_INCREF(Py_None
); resultobj
= Py_None
;
41003 static PyObject
*_wrap_GBSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41004 PyObject
*resultobj
;
41005 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41006 wxGBSpan
*arg2
= 0 ;
41009 PyObject
* obj0
= 0 ;
41010 PyObject
* obj1
= 0 ;
41011 char *kwnames
[] = {
41012 (char *) "self",(char *) "other", NULL
41015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
41016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41017 if (SWIG_arg_fail(1)) SWIG_fail
;
41020 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
41023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41024 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
41026 wxPyEndAllowThreads(__tstate
);
41027 if (PyErr_Occurred()) SWIG_fail
;
41030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41038 static PyObject
*_wrap_GBSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41039 PyObject
*resultobj
;
41040 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41041 wxGBSpan
*arg2
= 0 ;
41044 PyObject
* obj0
= 0 ;
41045 PyObject
* obj1
= 0 ;
41046 char *kwnames
[] = {
41047 (char *) "self",(char *) "other", NULL
41050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
41051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41052 if (SWIG_arg_fail(1)) SWIG_fail
;
41055 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
41058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41059 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
41061 wxPyEndAllowThreads(__tstate
);
41062 if (PyErr_Occurred()) SWIG_fail
;
41065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41073 static PyObject
*_wrap_GBSpan_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41074 PyObject
*resultobj
;
41075 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41076 int arg2
= (int) 1 ;
41077 int arg3
= (int) 1 ;
41078 PyObject
* obj0
= 0 ;
41079 PyObject
* obj1
= 0 ;
41080 PyObject
* obj2
= 0 ;
41081 char *kwnames
[] = {
41082 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
41085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41087 if (SWIG_arg_fail(1)) SWIG_fail
;
41090 arg2
= (int)(SWIG_As_int(obj1
));
41091 if (SWIG_arg_fail(2)) SWIG_fail
;
41096 arg3
= (int)(SWIG_As_int(obj2
));
41097 if (SWIG_arg_fail(3)) SWIG_fail
;
41101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41102 wxGBSpan_Set(arg1
,arg2
,arg3
);
41104 wxPyEndAllowThreads(__tstate
);
41105 if (PyErr_Occurred()) SWIG_fail
;
41107 Py_INCREF(Py_None
); resultobj
= Py_None
;
41114 static PyObject
*_wrap_GBSpan_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41115 PyObject
*resultobj
;
41116 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41118 PyObject
* obj0
= 0 ;
41119 char *kwnames
[] = {
41120 (char *) "self", NULL
41123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
41124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41125 if (SWIG_arg_fail(1)) SWIG_fail
;
41127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41128 result
= (PyObject
*)wxGBSpan_Get(arg1
);
41130 wxPyEndAllowThreads(__tstate
);
41131 if (PyErr_Occurred()) SWIG_fail
;
41133 resultobj
= result
;
41140 static PyObject
* GBSpan_swigregister(PyObject
*, PyObject
*args
) {
41142 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41143 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
41145 return Py_BuildValue((char *)"");
41147 static int _wrap_DefaultSpan_set(PyObject
*) {
41148 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
41153 static PyObject
*_wrap_DefaultSpan_get(void) {
41156 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
41161 static PyObject
*_wrap_new_GBSizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41162 PyObject
*resultobj
;
41163 wxGBSizerItem
*result
;
41164 char *kwnames
[] = {
41168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
41170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41171 result
= (wxGBSizerItem
*)new wxGBSizerItem();
41173 wxPyEndAllowThreads(__tstate
);
41174 if (PyErr_Occurred()) SWIG_fail
;
41176 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
41183 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41184 PyObject
*resultobj
;
41185 wxWindow
*arg1
= (wxWindow
*) 0 ;
41186 wxGBPosition
*arg2
= 0 ;
41187 wxGBSpan
*arg3
= 0 ;
41190 PyObject
*arg6
= (PyObject
*) NULL
;
41191 wxGBSizerItem
*result
;
41192 wxGBPosition temp2
;
41194 PyObject
* obj0
= 0 ;
41195 PyObject
* obj1
= 0 ;
41196 PyObject
* obj2
= 0 ;
41197 PyObject
* obj3
= 0 ;
41198 PyObject
* obj4
= 0 ;
41199 PyObject
* obj5
= 0 ;
41200 char *kwnames
[] = {
41201 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
41204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
41205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
41206 if (SWIG_arg_fail(1)) SWIG_fail
;
41209 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41213 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
41216 arg4
= (int)(SWIG_As_int(obj3
));
41217 if (SWIG_arg_fail(4)) SWIG_fail
;
41220 arg5
= (int)(SWIG_As_int(obj4
));
41221 if (SWIG_arg_fail(5)) SWIG_fail
;
41227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41228 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
41230 wxPyEndAllowThreads(__tstate
);
41231 if (PyErr_Occurred()) SWIG_fail
;
41233 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
41240 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41241 PyObject
*resultobj
;
41242 wxSizer
*arg1
= (wxSizer
*) 0 ;
41243 wxGBPosition
*arg2
= 0 ;
41244 wxGBSpan
*arg3
= 0 ;
41247 PyObject
*arg6
= (PyObject
*) NULL
;
41248 wxGBSizerItem
*result
;
41249 wxGBPosition temp2
;
41251 PyObject
* obj0
= 0 ;
41252 PyObject
* obj1
= 0 ;
41253 PyObject
* obj2
= 0 ;
41254 PyObject
* obj3
= 0 ;
41255 PyObject
* obj4
= 0 ;
41256 PyObject
* obj5
= 0 ;
41257 char *kwnames
[] = {
41258 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
41261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
41262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
41263 if (SWIG_arg_fail(1)) SWIG_fail
;
41266 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41270 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
41273 arg4
= (int)(SWIG_As_int(obj3
));
41274 if (SWIG_arg_fail(4)) SWIG_fail
;
41277 arg5
= (int)(SWIG_As_int(obj4
));
41278 if (SWIG_arg_fail(5)) SWIG_fail
;
41284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41285 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
41287 wxPyEndAllowThreads(__tstate
);
41288 if (PyErr_Occurred()) SWIG_fail
;
41290 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
41297 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41298 PyObject
*resultobj
;
41301 wxGBPosition
*arg3
= 0 ;
41302 wxGBSpan
*arg4
= 0 ;
41305 PyObject
*arg7
= (PyObject
*) NULL
;
41306 wxGBSizerItem
*result
;
41307 wxGBPosition temp3
;
41309 PyObject
* obj0
= 0 ;
41310 PyObject
* obj1
= 0 ;
41311 PyObject
* obj2
= 0 ;
41312 PyObject
* obj3
= 0 ;
41313 PyObject
* obj4
= 0 ;
41314 PyObject
* obj5
= 0 ;
41315 PyObject
* obj6
= 0 ;
41316 char *kwnames
[] = {
41317 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
41320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
41322 arg1
= (int)(SWIG_As_int(obj0
));
41323 if (SWIG_arg_fail(1)) SWIG_fail
;
41326 arg2
= (int)(SWIG_As_int(obj1
));
41327 if (SWIG_arg_fail(2)) SWIG_fail
;
41331 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
41335 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
41338 arg5
= (int)(SWIG_As_int(obj4
));
41339 if (SWIG_arg_fail(5)) SWIG_fail
;
41342 arg6
= (int)(SWIG_As_int(obj5
));
41343 if (SWIG_arg_fail(6)) SWIG_fail
;
41349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41350 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
41352 wxPyEndAllowThreads(__tstate
);
41353 if (PyErr_Occurred()) SWIG_fail
;
41355 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
41362 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41363 PyObject
*resultobj
;
41364 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41365 wxGBPosition result
;
41366 PyObject
* obj0
= 0 ;
41367 char *kwnames
[] = {
41368 (char *) "self", NULL
41371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
41372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41373 if (SWIG_arg_fail(1)) SWIG_fail
;
41375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41376 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
41378 wxPyEndAllowThreads(__tstate
);
41379 if (PyErr_Occurred()) SWIG_fail
;
41382 wxGBPosition
* resultptr
;
41383 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
41384 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
41392 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41393 PyObject
*resultobj
;
41394 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41396 PyObject
* obj0
= 0 ;
41397 char *kwnames
[] = {
41398 (char *) "self", NULL
41401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
41402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41403 if (SWIG_arg_fail(1)) SWIG_fail
;
41405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41406 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
41408 wxPyEndAllowThreads(__tstate
);
41409 if (PyErr_Occurred()) SWIG_fail
;
41412 wxGBSpan
* resultptr
;
41413 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
41414 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
41422 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41423 PyObject
*resultobj
;
41424 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41425 wxGBPosition
*arg2
= 0 ;
41427 wxGBPosition temp2
;
41428 PyObject
* obj0
= 0 ;
41429 PyObject
* obj1
= 0 ;
41430 char *kwnames
[] = {
41431 (char *) "self",(char *) "pos", NULL
41434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
41435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41436 if (SWIG_arg_fail(1)) SWIG_fail
;
41439 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41443 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
41445 wxPyEndAllowThreads(__tstate
);
41446 if (PyErr_Occurred()) SWIG_fail
;
41449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41457 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41458 PyObject
*resultobj
;
41459 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41460 wxGBSpan
*arg2
= 0 ;
41463 PyObject
* obj0
= 0 ;
41464 PyObject
* obj1
= 0 ;
41465 char *kwnames
[] = {
41466 (char *) "self",(char *) "span", NULL
41469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
41470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41471 if (SWIG_arg_fail(1)) SWIG_fail
;
41474 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
41477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41478 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
41480 wxPyEndAllowThreads(__tstate
);
41481 if (PyErr_Occurred()) SWIG_fail
;
41484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41492 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41493 PyObject
*resultobj
;
41494 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41495 wxGBSizerItem
*arg2
= 0 ;
41497 PyObject
* obj0
= 0 ;
41498 PyObject
* obj1
= 0 ;
41499 char *kwnames
[] = {
41500 (char *) "self",(char *) "other", NULL
41503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
41504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41505 if (SWIG_arg_fail(1)) SWIG_fail
;
41507 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41508 if (SWIG_arg_fail(2)) SWIG_fail
;
41509 if (arg2
== NULL
) {
41510 SWIG_null_ref("wxGBSizerItem");
41512 if (SWIG_arg_fail(2)) SWIG_fail
;
41515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41516 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
41518 wxPyEndAllowThreads(__tstate
);
41519 if (PyErr_Occurred()) SWIG_fail
;
41522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41530 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41531 PyObject
*resultobj
;
41532 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41533 wxGBPosition
*arg2
= 0 ;
41534 wxGBSpan
*arg3
= 0 ;
41536 wxGBPosition temp2
;
41538 PyObject
* obj0
= 0 ;
41539 PyObject
* obj1
= 0 ;
41540 PyObject
* obj2
= 0 ;
41541 char *kwnames
[] = {
41542 (char *) "self",(char *) "pos",(char *) "span", NULL
41545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41547 if (SWIG_arg_fail(1)) SWIG_fail
;
41550 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41554 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
41557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41558 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
41560 wxPyEndAllowThreads(__tstate
);
41561 if (PyErr_Occurred()) SWIG_fail
;
41564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41572 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41573 PyObject
*resultobj
;
41574 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41575 wxGBPosition result
;
41576 PyObject
* obj0
= 0 ;
41577 char *kwnames
[] = {
41578 (char *) "self", NULL
41581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
41582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41583 if (SWIG_arg_fail(1)) SWIG_fail
;
41585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41586 result
= wxGBSizerItem_GetEndPos(arg1
);
41588 wxPyEndAllowThreads(__tstate
);
41589 if (PyErr_Occurred()) SWIG_fail
;
41592 wxGBPosition
* resultptr
;
41593 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
41594 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
41602 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41603 PyObject
*resultobj
;
41604 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41605 wxGridBagSizer
*result
;
41606 PyObject
* obj0
= 0 ;
41607 char *kwnames
[] = {
41608 (char *) "self", NULL
41611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
41612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41613 if (SWIG_arg_fail(1)) SWIG_fail
;
41615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41616 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
41618 wxPyEndAllowThreads(__tstate
);
41619 if (PyErr_Occurred()) SWIG_fail
;
41621 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
41628 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41629 PyObject
*resultobj
;
41630 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41631 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
41632 PyObject
* obj0
= 0 ;
41633 PyObject
* obj1
= 0 ;
41634 char *kwnames
[] = {
41635 (char *) "self",(char *) "sizer", NULL
41638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
41639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41640 if (SWIG_arg_fail(1)) SWIG_fail
;
41641 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
41642 if (SWIG_arg_fail(2)) SWIG_fail
;
41644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41645 (arg1
)->SetGBSizer(arg2
);
41647 wxPyEndAllowThreads(__tstate
);
41648 if (PyErr_Occurred()) SWIG_fail
;
41650 Py_INCREF(Py_None
); resultobj
= Py_None
;
41657 static PyObject
* GBSizerItem_swigregister(PyObject
*, PyObject
*args
) {
41659 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41660 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
41662 return Py_BuildValue((char *)"");
41664 static PyObject
*_wrap_new_GridBagSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41665 PyObject
*resultobj
;
41666 int arg1
= (int) 0 ;
41667 int arg2
= (int) 0 ;
41668 wxGridBagSizer
*result
;
41669 PyObject
* obj0
= 0 ;
41670 PyObject
* obj1
= 0 ;
41671 char *kwnames
[] = {
41672 (char *) "vgap",(char *) "hgap", NULL
41675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
41678 arg1
= (int)(SWIG_As_int(obj0
));
41679 if (SWIG_arg_fail(1)) SWIG_fail
;
41684 arg2
= (int)(SWIG_As_int(obj1
));
41685 if (SWIG_arg_fail(2)) SWIG_fail
;
41689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41690 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
41692 wxPyEndAllowThreads(__tstate
);
41693 if (PyErr_Occurred()) SWIG_fail
;
41695 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
41702 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41703 PyObject
*resultobj
;
41704 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
41705 PyObject
*arg2
= (PyObject
*) 0 ;
41706 wxGBPosition
*arg3
= 0 ;
41707 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
41708 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
41709 int arg5
= (int) 0 ;
41710 int arg6
= (int) 0 ;
41711 PyObject
*arg7
= (PyObject
*) NULL
;
41712 wxGBSizerItem
*result
;
41713 wxGBPosition temp3
;
41715 PyObject
* obj0
= 0 ;
41716 PyObject
* obj1
= 0 ;
41717 PyObject
* obj2
= 0 ;
41718 PyObject
* obj3
= 0 ;
41719 PyObject
* obj4
= 0 ;
41720 PyObject
* obj5
= 0 ;
41721 PyObject
* obj6
= 0 ;
41722 char *kwnames
[] = {
41723 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
41726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
41727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
41728 if (SWIG_arg_fail(1)) SWIG_fail
;
41732 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
41737 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
41742 arg5
= (int)(SWIG_As_int(obj4
));
41743 if (SWIG_arg_fail(5)) SWIG_fail
;
41748 arg6
= (int)(SWIG_As_int(obj5
));
41749 if (SWIG_arg_fail(6)) SWIG_fail
;
41756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41757 result
= (wxGBSizerItem
*)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
41759 wxPyEndAllowThreads(__tstate
);
41760 if (PyErr_Occurred()) SWIG_fail
;
41762 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
41769 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41770 PyObject
*resultobj
;
41771 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
41772 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
41773 wxGBSizerItem
*result
;
41774 PyObject
* obj0
= 0 ;
41775 PyObject
* obj1
= 0 ;
41776 char *kwnames
[] = {
41777 (char *) "self",(char *) "item", NULL
41780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
41781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
41782 if (SWIG_arg_fail(1)) SWIG_fail
;
41783 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41784 if (SWIG_arg_fail(2)) SWIG_fail
;
41786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41787 result
= (wxGBSizerItem
*)(arg1
)->Add(arg2
);
41789 wxPyEndAllowThreads(__tstate
);
41790 if (PyErr_Occurred()) SWIG_fail
;
41792 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
41799 static PyObject
*_wrap_GridBagSizer_GetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41800 PyObject
*resultobj
;
41801 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
41805 PyObject
* obj0
= 0 ;
41806 PyObject
* obj1
= 0 ;
41807 PyObject
* obj2
= 0 ;
41808 char *kwnames
[] = {
41809 (char *) "self",(char *) "row",(char *) "col", NULL
41812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridBagSizer_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
41814 if (SWIG_arg_fail(1)) SWIG_fail
;
41816 arg2
= (int)(SWIG_As_int(obj1
));
41817 if (SWIG_arg_fail(2)) SWIG_fail
;
41820 arg3
= (int)(SWIG_As_int(obj2
));
41821 if (SWIG_arg_fail(3)) SWIG_fail
;
41824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41825 result
= ((wxGridBagSizer
const *)arg1
)->GetCellSize(arg2
,arg3
);
41827 wxPyEndAllowThreads(__tstate
);
41828 if (PyErr_Occurred()) SWIG_fail
;
41831 wxSize
* resultptr
;
41832 resultptr
= new wxSize((wxSize
&)(result
));
41833 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
41841 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41842 PyObject
*resultobj
;
41843 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
41845 PyObject
* obj0
= 0 ;
41846 char *kwnames
[] = {
41847 (char *) "self", NULL
41850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
41851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
41852 if (SWIG_arg_fail(1)) SWIG_fail
;
41854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41855 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
41857 wxPyEndAllowThreads(__tstate
);
41858 if (PyErr_Occurred()) SWIG_fail
;
41861 wxSize
* resultptr
;
41862 resultptr
= new wxSize((wxSize
&)(result
));
41863 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
41871 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41872 PyObject
*resultobj
;
41873 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
41876 PyObject
* obj0
= 0 ;
41877 PyObject
* obj1
= 0 ;
41878 char *kwnames
[] = {
41879 (char *) "self",(char *) "sz", NULL
41882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
41883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
41884 if (SWIG_arg_fail(1)) SWIG_fail
;
41887 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
41890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41891 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
41893 wxPyEndAllowThreads(__tstate
);
41894 if (PyErr_Occurred()) SWIG_fail
;
41896 Py_INCREF(Py_None
); resultobj
= Py_None
;
41903 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
41904 PyObject
*resultobj
;
41905 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
41906 wxWindow
*arg2
= (wxWindow
*) 0 ;
41907 wxGBPosition result
;
41908 PyObject
* obj0
= 0 ;
41909 PyObject
* obj1
= 0 ;
41911 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
41912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
41913 if (SWIG_arg_fail(1)) SWIG_fail
;
41914 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
41915 if (SWIG_arg_fail(2)) SWIG_fail
;
41917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41918 result
= (arg1
)->GetItemPosition(arg2
);
41920 wxPyEndAllowThreads(__tstate
);
41921 if (PyErr_Occurred()) SWIG_fail
;
41924 wxGBPosition
* resultptr
;
41925 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
41926 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
41934 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
41935 PyObject
*resultobj
;
41936 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
41937 wxSizer
*arg2
= (wxSizer
*) 0 ;
41938 wxGBPosition result
;
41939 PyObject
* obj0
= 0 ;
41940 PyObject
* obj1
= 0 ;
41942 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
41943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
41944 if (SWIG_arg_fail(1)) SWIG_fail
;
41945 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
41946 if (SWIG_arg_fail(2)) SWIG_fail
;
41948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41949 result
= (arg1
)->GetItemPosition(arg2
);
41951 wxPyEndAllowThreads(__tstate
);
41952 if (PyErr_Occurred()) SWIG_fail
;
41955 wxGBPosition
* resultptr
;
41956 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
41957 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
41965 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
41966 PyObject
*resultobj
;
41967 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
41969 wxGBPosition result
;
41970 PyObject
* obj0
= 0 ;
41971 PyObject
* obj1
= 0 ;
41973 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
41974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
41975 if (SWIG_arg_fail(1)) SWIG_fail
;
41977 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41978 if (SWIG_arg_fail(2)) SWIG_fail
;
41981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41982 result
= (arg1
)->GetItemPosition(arg2
);
41984 wxPyEndAllowThreads(__tstate
);
41985 if (PyErr_Occurred()) SWIG_fail
;
41988 wxGBPosition
* resultptr
;
41989 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
41990 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
41998 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
42003 argc
= PyObject_Length(args
);
42004 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
42005 argv
[ii
] = PyTuple_GetItem(args
,ii
);
42011 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42021 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
42029 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
42037 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42047 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
42055 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
42063 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42071 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
42073 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
42078 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
42083 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
42084 PyObject
*resultobj
;
42085 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42086 wxWindow
*arg2
= (wxWindow
*) 0 ;
42087 wxGBPosition
*arg3
= 0 ;
42089 wxGBPosition temp3
;
42090 PyObject
* obj0
= 0 ;
42091 PyObject
* obj1
= 0 ;
42092 PyObject
* obj2
= 0 ;
42094 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
42095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42096 if (SWIG_arg_fail(1)) SWIG_fail
;
42097 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42098 if (SWIG_arg_fail(2)) SWIG_fail
;
42101 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42105 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
42107 wxPyEndAllowThreads(__tstate
);
42108 if (PyErr_Occurred()) SWIG_fail
;
42111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42119 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
42120 PyObject
*resultobj
;
42121 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42122 wxSizer
*arg2
= (wxSizer
*) 0 ;
42123 wxGBPosition
*arg3
= 0 ;
42125 wxGBPosition temp3
;
42126 PyObject
* obj0
= 0 ;
42127 PyObject
* obj1
= 0 ;
42128 PyObject
* obj2
= 0 ;
42130 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
42131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42132 if (SWIG_arg_fail(1)) SWIG_fail
;
42133 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42134 if (SWIG_arg_fail(2)) SWIG_fail
;
42137 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42141 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
42143 wxPyEndAllowThreads(__tstate
);
42144 if (PyErr_Occurred()) SWIG_fail
;
42147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42155 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
42156 PyObject
*resultobj
;
42157 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42159 wxGBPosition
*arg3
= 0 ;
42161 wxGBPosition temp3
;
42162 PyObject
* obj0
= 0 ;
42163 PyObject
* obj1
= 0 ;
42164 PyObject
* obj2
= 0 ;
42166 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
42167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42168 if (SWIG_arg_fail(1)) SWIG_fail
;
42170 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
42171 if (SWIG_arg_fail(2)) SWIG_fail
;
42175 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42179 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
42181 wxPyEndAllowThreads(__tstate
);
42182 if (PyErr_Occurred()) SWIG_fail
;
42185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42193 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
42198 argc
= PyObject_Length(args
);
42199 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
42200 argv
[ii
] = PyTuple_GetItem(args
,ii
);
42206 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42216 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
42225 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
42228 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
42237 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42247 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
42256 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
42259 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
42268 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42276 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
42279 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
42282 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
42288 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
42293 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
42294 PyObject
*resultobj
;
42295 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42296 wxWindow
*arg2
= (wxWindow
*) 0 ;
42298 PyObject
* obj0
= 0 ;
42299 PyObject
* obj1
= 0 ;
42301 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
42302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42303 if (SWIG_arg_fail(1)) SWIG_fail
;
42304 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42305 if (SWIG_arg_fail(2)) SWIG_fail
;
42307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42308 result
= (arg1
)->GetItemSpan(arg2
);
42310 wxPyEndAllowThreads(__tstate
);
42311 if (PyErr_Occurred()) SWIG_fail
;
42314 wxGBSpan
* resultptr
;
42315 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
42316 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
42324 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
42325 PyObject
*resultobj
;
42326 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42327 wxSizer
*arg2
= (wxSizer
*) 0 ;
42329 PyObject
* obj0
= 0 ;
42330 PyObject
* obj1
= 0 ;
42332 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
42333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42334 if (SWIG_arg_fail(1)) SWIG_fail
;
42335 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42336 if (SWIG_arg_fail(2)) SWIG_fail
;
42338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42339 result
= (arg1
)->GetItemSpan(arg2
);
42341 wxPyEndAllowThreads(__tstate
);
42342 if (PyErr_Occurred()) SWIG_fail
;
42345 wxGBSpan
* resultptr
;
42346 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
42347 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
42355 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
42356 PyObject
*resultobj
;
42357 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42360 PyObject
* obj0
= 0 ;
42361 PyObject
* obj1
= 0 ;
42363 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
42364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42365 if (SWIG_arg_fail(1)) SWIG_fail
;
42367 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
42368 if (SWIG_arg_fail(2)) SWIG_fail
;
42371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42372 result
= (arg1
)->GetItemSpan(arg2
);
42374 wxPyEndAllowThreads(__tstate
);
42375 if (PyErr_Occurred()) SWIG_fail
;
42378 wxGBSpan
* resultptr
;
42379 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
42380 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
42388 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
42393 argc
= PyObject_Length(args
);
42394 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
42395 argv
[ii
] = PyTuple_GetItem(args
,ii
);
42401 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42411 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
42419 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
42427 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42437 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
42445 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
42453 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42461 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
42463 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
42468 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
42473 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
42474 PyObject
*resultobj
;
42475 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42476 wxWindow
*arg2
= (wxWindow
*) 0 ;
42477 wxGBSpan
*arg3
= 0 ;
42480 PyObject
* obj0
= 0 ;
42481 PyObject
* obj1
= 0 ;
42482 PyObject
* obj2
= 0 ;
42484 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
42485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42486 if (SWIG_arg_fail(1)) SWIG_fail
;
42487 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42488 if (SWIG_arg_fail(2)) SWIG_fail
;
42491 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42495 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
42497 wxPyEndAllowThreads(__tstate
);
42498 if (PyErr_Occurred()) SWIG_fail
;
42501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42509 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
42510 PyObject
*resultobj
;
42511 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42512 wxSizer
*arg2
= (wxSizer
*) 0 ;
42513 wxGBSpan
*arg3
= 0 ;
42516 PyObject
* obj0
= 0 ;
42517 PyObject
* obj1
= 0 ;
42518 PyObject
* obj2
= 0 ;
42520 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
42521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42522 if (SWIG_arg_fail(1)) SWIG_fail
;
42523 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42524 if (SWIG_arg_fail(2)) SWIG_fail
;
42527 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42531 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
42533 wxPyEndAllowThreads(__tstate
);
42534 if (PyErr_Occurred()) SWIG_fail
;
42537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42545 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
42546 PyObject
*resultobj
;
42547 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42549 wxGBSpan
*arg3
= 0 ;
42552 PyObject
* obj0
= 0 ;
42553 PyObject
* obj1
= 0 ;
42554 PyObject
* obj2
= 0 ;
42556 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
42557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42558 if (SWIG_arg_fail(1)) SWIG_fail
;
42560 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
42561 if (SWIG_arg_fail(2)) SWIG_fail
;
42565 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42569 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
42571 wxPyEndAllowThreads(__tstate
);
42572 if (PyErr_Occurred()) SWIG_fail
;
42575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42583 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
42588 argc
= PyObject_Length(args
);
42589 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
42590 argv
[ii
] = PyTuple_GetItem(args
,ii
);
42596 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42606 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
42615 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
42618 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
42627 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42637 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
42646 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
42649 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
42658 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42666 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
42669 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
42672 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
42678 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
42683 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*, PyObject
*args
) {
42684 PyObject
*resultobj
;
42685 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42686 wxWindow
*arg2
= (wxWindow
*) 0 ;
42687 wxGBSizerItem
*result
;
42688 PyObject
* obj0
= 0 ;
42689 PyObject
* obj1
= 0 ;
42691 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
42692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42693 if (SWIG_arg_fail(1)) SWIG_fail
;
42694 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42695 if (SWIG_arg_fail(2)) SWIG_fail
;
42697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42698 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
42700 wxPyEndAllowThreads(__tstate
);
42701 if (PyErr_Occurred()) SWIG_fail
;
42703 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
42710 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*, PyObject
*args
) {
42711 PyObject
*resultobj
;
42712 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42713 wxSizer
*arg2
= (wxSizer
*) 0 ;
42714 wxGBSizerItem
*result
;
42715 PyObject
* obj0
= 0 ;
42716 PyObject
* obj1
= 0 ;
42718 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
42719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42720 if (SWIG_arg_fail(1)) SWIG_fail
;
42721 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42722 if (SWIG_arg_fail(2)) SWIG_fail
;
42724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42725 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
42727 wxPyEndAllowThreads(__tstate
);
42728 if (PyErr_Occurred()) SWIG_fail
;
42730 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
42737 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
42742 argc
= PyObject_Length(args
);
42743 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
42744 argv
[ii
] = PyTuple_GetItem(args
,ii
);
42750 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42760 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
42768 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
42776 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42786 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
42794 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
42799 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
42804 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42805 PyObject
*resultobj
;
42806 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42807 wxGBPosition
*arg2
= 0 ;
42808 wxGBSizerItem
*result
;
42809 wxGBPosition temp2
;
42810 PyObject
* obj0
= 0 ;
42811 PyObject
* obj1
= 0 ;
42812 char *kwnames
[] = {
42813 (char *) "self",(char *) "pos", NULL
42816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
42817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42818 if (SWIG_arg_fail(1)) SWIG_fail
;
42821 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42825 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
42827 wxPyEndAllowThreads(__tstate
);
42828 if (PyErr_Occurred()) SWIG_fail
;
42830 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
42837 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42838 PyObject
*resultobj
;
42839 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42840 wxPoint
*arg2
= 0 ;
42841 wxGBSizerItem
*result
;
42843 PyObject
* obj0
= 0 ;
42844 PyObject
* obj1
= 0 ;
42845 char *kwnames
[] = {
42846 (char *) "self",(char *) "pt", NULL
42849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
42850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42851 if (SWIG_arg_fail(1)) SWIG_fail
;
42854 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
42857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42858 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
42860 wxPyEndAllowThreads(__tstate
);
42861 if (PyErr_Occurred()) SWIG_fail
;
42863 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
42870 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42871 PyObject
*resultobj
;
42872 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42873 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
42874 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
42876 PyObject
* obj0
= 0 ;
42877 PyObject
* obj1
= 0 ;
42878 PyObject
* obj2
= 0 ;
42879 char *kwnames
[] = {
42880 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
42883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42885 if (SWIG_arg_fail(1)) SWIG_fail
;
42886 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42887 if (SWIG_arg_fail(2)) SWIG_fail
;
42889 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42890 if (SWIG_arg_fail(3)) SWIG_fail
;
42893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42894 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
42896 wxPyEndAllowThreads(__tstate
);
42897 if (PyErr_Occurred()) SWIG_fail
;
42900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42908 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42909 PyObject
*resultobj
;
42910 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42911 wxGBPosition
*arg2
= 0 ;
42912 wxGBSpan
*arg3
= 0 ;
42913 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
42915 wxGBPosition temp2
;
42917 PyObject
* obj0
= 0 ;
42918 PyObject
* obj1
= 0 ;
42919 PyObject
* obj2
= 0 ;
42920 PyObject
* obj3
= 0 ;
42921 char *kwnames
[] = {
42922 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
42925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
42926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42927 if (SWIG_arg_fail(1)) SWIG_fail
;
42930 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42934 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42937 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42938 if (SWIG_arg_fail(4)) SWIG_fail
;
42941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42942 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
42944 wxPyEndAllowThreads(__tstate
);
42945 if (PyErr_Occurred()) SWIG_fail
;
42948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42956 static PyObject
* GridBagSizer_swigregister(PyObject
*, PyObject
*args
) {
42958 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42959 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
42961 return Py_BuildValue((char *)"");
42963 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42964 PyObject
*resultobj
;
42965 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
42966 wxRelationship arg2
;
42967 wxWindow
*arg3
= (wxWindow
*) 0 ;
42969 int arg5
= (int) 0 ;
42970 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
42971 PyObject
* obj0
= 0 ;
42972 PyObject
* obj1
= 0 ;
42973 PyObject
* obj2
= 0 ;
42974 PyObject
* obj3
= 0 ;
42975 PyObject
* obj4
= 0 ;
42976 PyObject
* obj5
= 0 ;
42977 char *kwnames
[] = {
42978 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
42981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
42982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
42983 if (SWIG_arg_fail(1)) SWIG_fail
;
42985 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
42986 if (SWIG_arg_fail(2)) SWIG_fail
;
42988 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42989 if (SWIG_arg_fail(3)) SWIG_fail
;
42991 arg4
= (wxEdge
)(SWIG_As_int(obj3
));
42992 if (SWIG_arg_fail(4)) SWIG_fail
;
42996 arg5
= (int)(SWIG_As_int(obj4
));
42997 if (SWIG_arg_fail(5)) SWIG_fail
;
43002 arg6
= (int)(SWIG_As_int(obj5
));
43003 if (SWIG_arg_fail(6)) SWIG_fail
;
43007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43008 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
43010 wxPyEndAllowThreads(__tstate
);
43011 if (PyErr_Occurred()) SWIG_fail
;
43013 Py_INCREF(Py_None
); resultobj
= Py_None
;
43020 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43021 PyObject
*resultobj
;
43022 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43023 wxWindow
*arg2
= (wxWindow
*) 0 ;
43024 int arg3
= (int) 0 ;
43025 PyObject
* obj0
= 0 ;
43026 PyObject
* obj1
= 0 ;
43027 PyObject
* obj2
= 0 ;
43028 char *kwnames
[] = {
43029 (char *) "self",(char *) "sibling",(char *) "marg", NULL
43032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43034 if (SWIG_arg_fail(1)) SWIG_fail
;
43035 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43036 if (SWIG_arg_fail(2)) SWIG_fail
;
43039 arg3
= (int)(SWIG_As_int(obj2
));
43040 if (SWIG_arg_fail(3)) SWIG_fail
;
43044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43045 (arg1
)->LeftOf(arg2
,arg3
);
43047 wxPyEndAllowThreads(__tstate
);
43048 if (PyErr_Occurred()) SWIG_fail
;
43050 Py_INCREF(Py_None
); resultobj
= Py_None
;
43057 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43058 PyObject
*resultobj
;
43059 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43060 wxWindow
*arg2
= (wxWindow
*) 0 ;
43061 int arg3
= (int) 0 ;
43062 PyObject
* obj0
= 0 ;
43063 PyObject
* obj1
= 0 ;
43064 PyObject
* obj2
= 0 ;
43065 char *kwnames
[] = {
43066 (char *) "self",(char *) "sibling",(char *) "marg", NULL
43069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43071 if (SWIG_arg_fail(1)) SWIG_fail
;
43072 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43073 if (SWIG_arg_fail(2)) SWIG_fail
;
43076 arg3
= (int)(SWIG_As_int(obj2
));
43077 if (SWIG_arg_fail(3)) SWIG_fail
;
43081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43082 (arg1
)->RightOf(arg2
,arg3
);
43084 wxPyEndAllowThreads(__tstate
);
43085 if (PyErr_Occurred()) SWIG_fail
;
43087 Py_INCREF(Py_None
); resultobj
= Py_None
;
43094 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43095 PyObject
*resultobj
;
43096 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43097 wxWindow
*arg2
= (wxWindow
*) 0 ;
43098 int arg3
= (int) 0 ;
43099 PyObject
* obj0
= 0 ;
43100 PyObject
* obj1
= 0 ;
43101 PyObject
* obj2
= 0 ;
43102 char *kwnames
[] = {
43103 (char *) "self",(char *) "sibling",(char *) "marg", NULL
43106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43108 if (SWIG_arg_fail(1)) SWIG_fail
;
43109 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43110 if (SWIG_arg_fail(2)) SWIG_fail
;
43113 arg3
= (int)(SWIG_As_int(obj2
));
43114 if (SWIG_arg_fail(3)) SWIG_fail
;
43118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43119 (arg1
)->Above(arg2
,arg3
);
43121 wxPyEndAllowThreads(__tstate
);
43122 if (PyErr_Occurred()) SWIG_fail
;
43124 Py_INCREF(Py_None
); resultobj
= Py_None
;
43131 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43132 PyObject
*resultobj
;
43133 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43134 wxWindow
*arg2
= (wxWindow
*) 0 ;
43135 int arg3
= (int) 0 ;
43136 PyObject
* obj0
= 0 ;
43137 PyObject
* obj1
= 0 ;
43138 PyObject
* obj2
= 0 ;
43139 char *kwnames
[] = {
43140 (char *) "self",(char *) "sibling",(char *) "marg", NULL
43143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43145 if (SWIG_arg_fail(1)) SWIG_fail
;
43146 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43147 if (SWIG_arg_fail(2)) SWIG_fail
;
43150 arg3
= (int)(SWIG_As_int(obj2
));
43151 if (SWIG_arg_fail(3)) SWIG_fail
;
43155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43156 (arg1
)->Below(arg2
,arg3
);
43158 wxPyEndAllowThreads(__tstate
);
43159 if (PyErr_Occurred()) SWIG_fail
;
43161 Py_INCREF(Py_None
); resultobj
= Py_None
;
43168 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43169 PyObject
*resultobj
;
43170 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43171 wxWindow
*arg2
= (wxWindow
*) 0 ;
43173 int arg4
= (int) 0 ;
43174 PyObject
* obj0
= 0 ;
43175 PyObject
* obj1
= 0 ;
43176 PyObject
* obj2
= 0 ;
43177 PyObject
* obj3
= 0 ;
43178 char *kwnames
[] = {
43179 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
43182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
43183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43184 if (SWIG_arg_fail(1)) SWIG_fail
;
43185 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43186 if (SWIG_arg_fail(2)) SWIG_fail
;
43188 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
43189 if (SWIG_arg_fail(3)) SWIG_fail
;
43193 arg4
= (int)(SWIG_As_int(obj3
));
43194 if (SWIG_arg_fail(4)) SWIG_fail
;
43198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43199 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
43201 wxPyEndAllowThreads(__tstate
);
43202 if (PyErr_Occurred()) SWIG_fail
;
43204 Py_INCREF(Py_None
); resultobj
= Py_None
;
43211 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43212 PyObject
*resultobj
;
43213 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43214 wxWindow
*arg2
= (wxWindow
*) 0 ;
43217 PyObject
* obj0
= 0 ;
43218 PyObject
* obj1
= 0 ;
43219 PyObject
* obj2
= 0 ;
43220 PyObject
* obj3
= 0 ;
43221 char *kwnames
[] = {
43222 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
43225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
43226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43227 if (SWIG_arg_fail(1)) SWIG_fail
;
43228 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43229 if (SWIG_arg_fail(2)) SWIG_fail
;
43231 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
43232 if (SWIG_arg_fail(3)) SWIG_fail
;
43235 arg4
= (int)(SWIG_As_int(obj3
));
43236 if (SWIG_arg_fail(4)) SWIG_fail
;
43239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43240 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
43242 wxPyEndAllowThreads(__tstate
);
43243 if (PyErr_Occurred()) SWIG_fail
;
43245 Py_INCREF(Py_None
); resultobj
= Py_None
;
43252 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43253 PyObject
*resultobj
;
43254 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43256 PyObject
* obj0
= 0 ;
43257 PyObject
* obj1
= 0 ;
43258 char *kwnames
[] = {
43259 (char *) "self",(char *) "val", NULL
43262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
43263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43264 if (SWIG_arg_fail(1)) SWIG_fail
;
43266 arg2
= (int)(SWIG_As_int(obj1
));
43267 if (SWIG_arg_fail(2)) SWIG_fail
;
43270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43271 (arg1
)->Absolute(arg2
);
43273 wxPyEndAllowThreads(__tstate
);
43274 if (PyErr_Occurred()) SWIG_fail
;
43276 Py_INCREF(Py_None
); resultobj
= Py_None
;
43283 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43284 PyObject
*resultobj
;
43285 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43286 PyObject
* obj0
= 0 ;
43287 char *kwnames
[] = {
43288 (char *) "self", NULL
43291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
43292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43293 if (SWIG_arg_fail(1)) SWIG_fail
;
43295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43296 (arg1
)->Unconstrained();
43298 wxPyEndAllowThreads(__tstate
);
43299 if (PyErr_Occurred()) SWIG_fail
;
43301 Py_INCREF(Py_None
); resultobj
= Py_None
;
43308 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43309 PyObject
*resultobj
;
43310 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43311 PyObject
* obj0
= 0 ;
43312 char *kwnames
[] = {
43313 (char *) "self", NULL
43316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
43317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43318 if (SWIG_arg_fail(1)) SWIG_fail
;
43320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43323 wxPyEndAllowThreads(__tstate
);
43324 if (PyErr_Occurred()) SWIG_fail
;
43326 Py_INCREF(Py_None
); resultobj
= Py_None
;
43333 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43334 PyObject
*resultobj
;
43335 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43337 PyObject
* obj0
= 0 ;
43338 char *kwnames
[] = {
43339 (char *) "self", NULL
43342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
43343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43344 if (SWIG_arg_fail(1)) SWIG_fail
;
43346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43347 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
43349 wxPyEndAllowThreads(__tstate
);
43350 if (PyErr_Occurred()) SWIG_fail
;
43353 resultobj
= wxPyMake_wxObject(result
, 0);
43361 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43362 PyObject
*resultobj
;
43363 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43365 PyObject
* obj0
= 0 ;
43366 char *kwnames
[] = {
43367 (char *) "self", NULL
43370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
43371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43372 if (SWIG_arg_fail(1)) SWIG_fail
;
43374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43375 result
= (wxEdge
)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
43377 wxPyEndAllowThreads(__tstate
);
43378 if (PyErr_Occurred()) SWIG_fail
;
43380 resultobj
= SWIG_From_int((result
));
43387 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43388 PyObject
*resultobj
;
43389 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43391 PyObject
* obj0
= 0 ;
43392 PyObject
* obj1
= 0 ;
43393 char *kwnames
[] = {
43394 (char *) "self",(char *) "which", NULL
43397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
43398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43399 if (SWIG_arg_fail(1)) SWIG_fail
;
43401 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
43402 if (SWIG_arg_fail(2)) SWIG_fail
;
43405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43406 (arg1
)->SetEdge((wxEdge
)arg2
);
43408 wxPyEndAllowThreads(__tstate
);
43409 if (PyErr_Occurred()) SWIG_fail
;
43411 Py_INCREF(Py_None
); resultobj
= Py_None
;
43418 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43419 PyObject
*resultobj
;
43420 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43422 PyObject
* obj0
= 0 ;
43423 PyObject
* obj1
= 0 ;
43424 char *kwnames
[] = {
43425 (char *) "self",(char *) "v", NULL
43428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
43429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43430 if (SWIG_arg_fail(1)) SWIG_fail
;
43432 arg2
= (int)(SWIG_As_int(obj1
));
43433 if (SWIG_arg_fail(2)) SWIG_fail
;
43436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43437 (arg1
)->SetValue(arg2
);
43439 wxPyEndAllowThreads(__tstate
);
43440 if (PyErr_Occurred()) SWIG_fail
;
43442 Py_INCREF(Py_None
); resultobj
= Py_None
;
43449 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43450 PyObject
*resultobj
;
43451 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43453 PyObject
* obj0
= 0 ;
43454 char *kwnames
[] = {
43455 (char *) "self", NULL
43458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
43459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43460 if (SWIG_arg_fail(1)) SWIG_fail
;
43462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43463 result
= (int)(arg1
)->GetMargin();
43465 wxPyEndAllowThreads(__tstate
);
43466 if (PyErr_Occurred()) SWIG_fail
;
43469 resultobj
= SWIG_From_int((int)(result
));
43477 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43478 PyObject
*resultobj
;
43479 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43481 PyObject
* obj0
= 0 ;
43482 PyObject
* obj1
= 0 ;
43483 char *kwnames
[] = {
43484 (char *) "self",(char *) "m", NULL
43487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
43488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43489 if (SWIG_arg_fail(1)) SWIG_fail
;
43491 arg2
= (int)(SWIG_As_int(obj1
));
43492 if (SWIG_arg_fail(2)) SWIG_fail
;
43495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43496 (arg1
)->SetMargin(arg2
);
43498 wxPyEndAllowThreads(__tstate
);
43499 if (PyErr_Occurred()) SWIG_fail
;
43501 Py_INCREF(Py_None
); resultobj
= Py_None
;
43508 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43509 PyObject
*resultobj
;
43510 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43512 PyObject
* obj0
= 0 ;
43513 char *kwnames
[] = {
43514 (char *) "self", NULL
43517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
43518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43519 if (SWIG_arg_fail(1)) SWIG_fail
;
43521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43522 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
43524 wxPyEndAllowThreads(__tstate
);
43525 if (PyErr_Occurred()) SWIG_fail
;
43528 resultobj
= SWIG_From_int((int)(result
));
43536 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43537 PyObject
*resultobj
;
43538 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43540 PyObject
* obj0
= 0 ;
43541 char *kwnames
[] = {
43542 (char *) "self", NULL
43545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
43546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43547 if (SWIG_arg_fail(1)) SWIG_fail
;
43549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43550 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
43552 wxPyEndAllowThreads(__tstate
);
43553 if (PyErr_Occurred()) SWIG_fail
;
43556 resultobj
= SWIG_From_int((int)(result
));
43564 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43565 PyObject
*resultobj
;
43566 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43568 PyObject
* obj0
= 0 ;
43569 char *kwnames
[] = {
43570 (char *) "self", NULL
43573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
43574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43575 if (SWIG_arg_fail(1)) SWIG_fail
;
43577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43578 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
43580 wxPyEndAllowThreads(__tstate
);
43581 if (PyErr_Occurred()) SWIG_fail
;
43584 resultobj
= SWIG_From_int((int)(result
));
43592 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43593 PyObject
*resultobj
;
43594 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43596 PyObject
* obj0
= 0 ;
43597 char *kwnames
[] = {
43598 (char *) "self", NULL
43601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
43602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43603 if (SWIG_arg_fail(1)) SWIG_fail
;
43605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43606 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
43608 wxPyEndAllowThreads(__tstate
);
43609 if (PyErr_Occurred()) SWIG_fail
;
43612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43620 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43621 PyObject
*resultobj
;
43622 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43624 PyObject
* obj0
= 0 ;
43625 PyObject
* obj1
= 0 ;
43626 char *kwnames
[] = {
43627 (char *) "self",(char *) "d", NULL
43630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
43631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43632 if (SWIG_arg_fail(1)) SWIG_fail
;
43634 arg2
= (bool)(SWIG_As_bool(obj1
));
43635 if (SWIG_arg_fail(2)) SWIG_fail
;
43638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43639 (arg1
)->SetDone(arg2
);
43641 wxPyEndAllowThreads(__tstate
);
43642 if (PyErr_Occurred()) SWIG_fail
;
43644 Py_INCREF(Py_None
); resultobj
= Py_None
;
43651 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43652 PyObject
*resultobj
;
43653 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43654 wxRelationship result
;
43655 PyObject
* obj0
= 0 ;
43656 char *kwnames
[] = {
43657 (char *) "self", NULL
43660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
43661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43662 if (SWIG_arg_fail(1)) SWIG_fail
;
43664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43665 result
= (wxRelationship
)(arg1
)->GetRelationship();
43667 wxPyEndAllowThreads(__tstate
);
43668 if (PyErr_Occurred()) SWIG_fail
;
43670 resultobj
= SWIG_From_int((result
));
43677 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43678 PyObject
*resultobj
;
43679 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43680 wxRelationship arg2
;
43681 PyObject
* obj0
= 0 ;
43682 PyObject
* obj1
= 0 ;
43683 char *kwnames
[] = {
43684 (char *) "self",(char *) "r", NULL
43687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
43688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43689 if (SWIG_arg_fail(1)) SWIG_fail
;
43691 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
43692 if (SWIG_arg_fail(2)) SWIG_fail
;
43695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43696 (arg1
)->SetRelationship((wxRelationship
)arg2
);
43698 wxPyEndAllowThreads(__tstate
);
43699 if (PyErr_Occurred()) SWIG_fail
;
43701 Py_INCREF(Py_None
); resultobj
= Py_None
;
43708 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43709 PyObject
*resultobj
;
43710 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43711 wxWindow
*arg2
= (wxWindow
*) 0 ;
43713 PyObject
* obj0
= 0 ;
43714 PyObject
* obj1
= 0 ;
43715 char *kwnames
[] = {
43716 (char *) "self",(char *) "otherW", NULL
43719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
43720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43721 if (SWIG_arg_fail(1)) SWIG_fail
;
43722 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43723 if (SWIG_arg_fail(2)) SWIG_fail
;
43725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43726 result
= (bool)(arg1
)->ResetIfWin(arg2
);
43728 wxPyEndAllowThreads(__tstate
);
43729 if (PyErr_Occurred()) SWIG_fail
;
43732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43740 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43741 PyObject
*resultobj
;
43742 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43743 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
43744 wxWindow
*arg3
= (wxWindow
*) 0 ;
43746 PyObject
* obj0
= 0 ;
43747 PyObject
* obj1
= 0 ;
43748 PyObject
* obj2
= 0 ;
43749 char *kwnames
[] = {
43750 (char *) "self",(char *) "constraints",(char *) "win", NULL
43753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43755 if (SWIG_arg_fail(1)) SWIG_fail
;
43756 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
43757 if (SWIG_arg_fail(2)) SWIG_fail
;
43758 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43759 if (SWIG_arg_fail(3)) SWIG_fail
;
43761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43762 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
43764 wxPyEndAllowThreads(__tstate
);
43765 if (PyErr_Occurred()) SWIG_fail
;
43768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43776 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43777 PyObject
*resultobj
;
43778 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43780 wxWindow
*arg3
= (wxWindow
*) 0 ;
43781 wxWindow
*arg4
= (wxWindow
*) 0 ;
43783 PyObject
* obj0
= 0 ;
43784 PyObject
* obj1
= 0 ;
43785 PyObject
* obj2
= 0 ;
43786 PyObject
* obj3
= 0 ;
43787 char *kwnames
[] = {
43788 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
43791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
43792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43793 if (SWIG_arg_fail(1)) SWIG_fail
;
43795 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
43796 if (SWIG_arg_fail(2)) SWIG_fail
;
43798 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43799 if (SWIG_arg_fail(3)) SWIG_fail
;
43800 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43801 if (SWIG_arg_fail(4)) SWIG_fail
;
43803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43804 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
43806 wxPyEndAllowThreads(__tstate
);
43807 if (PyErr_Occurred()) SWIG_fail
;
43810 resultobj
= SWIG_From_int((int)(result
));
43818 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*, PyObject
*args
) {
43820 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
43821 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
43823 return Py_BuildValue((char *)"");
43825 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43826 PyObject
*resultobj
;
43827 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
43828 wxIndividualLayoutConstraint
*result
;
43829 PyObject
* obj0
= 0 ;
43830 char *kwnames
[] = {
43831 (char *) "self", NULL
43834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
43835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
43836 if (SWIG_arg_fail(1)) SWIG_fail
;
43837 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
43839 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
43846 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43847 PyObject
*resultobj
;
43848 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
43849 wxIndividualLayoutConstraint
*result
;
43850 PyObject
* obj0
= 0 ;
43851 char *kwnames
[] = {
43852 (char *) "self", NULL
43855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
43856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
43857 if (SWIG_arg_fail(1)) SWIG_fail
;
43858 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
43860 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
43867 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43868 PyObject
*resultobj
;
43869 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
43870 wxIndividualLayoutConstraint
*result
;
43871 PyObject
* obj0
= 0 ;
43872 char *kwnames
[] = {
43873 (char *) "self", NULL
43876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
43877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
43878 if (SWIG_arg_fail(1)) SWIG_fail
;
43879 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
43881 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
43888 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43889 PyObject
*resultobj
;
43890 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
43891 wxIndividualLayoutConstraint
*result
;
43892 PyObject
* obj0
= 0 ;
43893 char *kwnames
[] = {
43894 (char *) "self", NULL
43897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
43898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
43899 if (SWIG_arg_fail(1)) SWIG_fail
;
43900 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
43902 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
43909 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43910 PyObject
*resultobj
;
43911 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
43912 wxIndividualLayoutConstraint
*result
;
43913 PyObject
* obj0
= 0 ;
43914 char *kwnames
[] = {
43915 (char *) "self", NULL
43918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
43919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
43920 if (SWIG_arg_fail(1)) SWIG_fail
;
43921 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
43923 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
43930 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43931 PyObject
*resultobj
;
43932 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
43933 wxIndividualLayoutConstraint
*result
;
43934 PyObject
* obj0
= 0 ;
43935 char *kwnames
[] = {
43936 (char *) "self", NULL
43939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
43940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
43941 if (SWIG_arg_fail(1)) SWIG_fail
;
43942 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
43944 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
43951 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43952 PyObject
*resultobj
;
43953 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
43954 wxIndividualLayoutConstraint
*result
;
43955 PyObject
* obj0
= 0 ;
43956 char *kwnames
[] = {
43957 (char *) "self", NULL
43960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
43961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
43962 if (SWIG_arg_fail(1)) SWIG_fail
;
43963 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
43965 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
43972 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43973 PyObject
*resultobj
;
43974 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
43975 wxIndividualLayoutConstraint
*result
;
43976 PyObject
* obj0
= 0 ;
43977 char *kwnames
[] = {
43978 (char *) "self", NULL
43981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
43982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
43983 if (SWIG_arg_fail(1)) SWIG_fail
;
43984 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
43986 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
43993 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43994 PyObject
*resultobj
;
43995 wxLayoutConstraints
*result
;
43996 char *kwnames
[] = {
44000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
44002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44003 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
44005 wxPyEndAllowThreads(__tstate
);
44006 if (PyErr_Occurred()) SWIG_fail
;
44008 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
44015 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44016 PyObject
*resultobj
;
44017 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44018 wxWindow
*arg2
= (wxWindow
*) 0 ;
44019 int *arg3
= (int *) 0 ;
44023 PyObject
* obj0
= 0 ;
44024 PyObject
* obj1
= 0 ;
44025 char *kwnames
[] = {
44026 (char *) "self",(char *) "win", NULL
44029 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
44030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
44031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44032 if (SWIG_arg_fail(1)) SWIG_fail
;
44033 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44034 if (SWIG_arg_fail(2)) SWIG_fail
;
44036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44037 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
44039 wxPyEndAllowThreads(__tstate
);
44040 if (PyErr_Occurred()) SWIG_fail
;
44043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44045 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
44046 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
44053 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44054 PyObject
*resultobj
;
44055 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44057 PyObject
* obj0
= 0 ;
44058 char *kwnames
[] = {
44059 (char *) "self", NULL
44062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
44063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44064 if (SWIG_arg_fail(1)) SWIG_fail
;
44066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44067 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
44069 wxPyEndAllowThreads(__tstate
);
44070 if (PyErr_Occurred()) SWIG_fail
;
44073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44081 static PyObject
* LayoutConstraints_swigregister(PyObject
*, PyObject
*args
) {
44083 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
44084 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
44086 return Py_BuildValue((char *)"");
44088 static PyMethodDef SwigMethods
[] = {
44089 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
44090 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
44091 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44092 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44093 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
44094 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44095 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44096 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44097 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44098 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44099 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44100 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44101 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44102 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44103 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44104 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44105 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44106 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44107 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44108 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44109 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44110 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44111 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44112 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44113 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44114 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
44115 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44116 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44117 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44118 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44119 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44120 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44121 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44122 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44123 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44124 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44125 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44126 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44127 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
44128 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44129 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44130 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44131 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44132 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44133 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44134 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44135 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44136 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44137 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44138 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44139 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44140 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44141 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44142 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
44143 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44144 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44145 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44146 { (char *)"new_RectS", (PyCFunction
) _wrap_new_RectS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44147 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44148 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44149 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44150 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44151 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44152 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44153 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44154 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44155 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44156 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44157 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44158 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44159 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44160 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44161 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44162 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44163 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44164 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44165 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44166 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44167 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44168 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44169 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44170 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44171 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44172 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44173 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44174 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44175 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44176 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44177 { (char *)"Rect_Union", (PyCFunction
) _wrap_Rect_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44178 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44179 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44180 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44181 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44182 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44183 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44184 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44185 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44186 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44187 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44188 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44189 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44190 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44191 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44192 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44193 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44194 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44195 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
44196 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44197 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44198 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44199 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44200 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44201 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44202 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44203 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44204 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44205 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44206 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44207 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44208 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44209 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44210 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44211 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44212 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44213 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44214 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44215 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44216 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44217 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44218 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44219 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44220 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44221 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44222 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44223 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
44224 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44225 { (char *)"delete_InputStream", (PyCFunction
) _wrap_delete_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44226 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44227 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44228 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44229 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44230 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44231 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44232 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44233 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44234 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44235 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44236 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44237 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44238 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44239 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44240 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44241 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44242 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
44243 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44244 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
44245 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44246 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44247 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44248 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44249 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44250 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44251 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44252 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
44253 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
44254 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44255 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44256 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44257 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44258 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44259 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44260 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44261 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44262 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44263 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44264 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44265 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
44266 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44267 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44268 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44269 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44270 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44271 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44272 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44273 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44274 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44275 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44276 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44277 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
44278 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44279 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44280 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44281 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
44282 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44283 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44284 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44285 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44286 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44287 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
44288 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44289 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44290 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44291 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44292 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44293 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44294 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44295 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44296 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44297 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
44298 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44299 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44300 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44301 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44302 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44303 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44304 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44305 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44306 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44307 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
44308 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44309 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44310 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44311 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
44312 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44313 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44314 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44315 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44316 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44317 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44318 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44319 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44320 { (char *)"new_ImageFromDataWithAlpha", (PyCFunction
) _wrap_new_ImageFromDataWithAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44321 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44322 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44323 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44324 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44325 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44326 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44327 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44328 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44329 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44330 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44331 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44332 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44333 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44334 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44335 { (char *)"Image_ConvertColourToAlpha", (PyCFunction
) _wrap_Image_ConvertColourToAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44336 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44337 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44338 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44339 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44340 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44341 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44342 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44343 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44344 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44345 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44346 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44347 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44348 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44349 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44350 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44351 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44352 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44353 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44354 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44355 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44356 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44357 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44358 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44359 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44360 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44361 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44362 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44363 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44364 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44365 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44366 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44367 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44368 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44369 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44370 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44371 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44372 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44373 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44374 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44375 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44376 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44377 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44378 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44379 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44380 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44381 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44382 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44383 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44384 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44385 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
44386 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44387 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
44388 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44389 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
44390 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44391 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
44392 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44393 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
44394 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44395 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
44396 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44397 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
44398 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44399 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
44400 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44401 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
44402 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44403 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
44404 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44405 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
44406 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44407 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
44408 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44409 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
44410 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44411 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44412 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44413 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44414 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44415 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44416 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44417 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44418 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44419 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44420 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44421 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44422 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44423 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
44424 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44425 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44426 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44427 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44428 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44429 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44430 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44431 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44432 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44433 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44434 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44435 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44436 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44437 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44438 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44439 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44440 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44441 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
44442 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44443 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44444 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
44445 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44446 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44447 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
44448 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44449 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44450 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44451 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44452 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44453 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44454 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44455 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44456 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44457 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44458 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44459 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
44460 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44461 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44462 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44463 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44464 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
44465 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44466 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44467 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44468 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44469 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44470 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
44471 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44472 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44473 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44474 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44475 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44476 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
44477 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44478 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44479 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44480 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44481 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44482 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44483 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44484 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44485 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44486 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44487 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44488 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44489 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44490 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44491 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44492 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44493 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44494 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44495 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44496 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44497 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44498 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44499 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44500 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44501 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44502 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44503 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44504 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44505 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44506 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44507 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44508 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44509 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44510 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44511 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44512 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44513 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44514 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44515 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44516 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44517 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44518 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44519 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44520 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44521 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44522 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44523 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44524 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44525 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44526 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44527 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44528 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44529 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44530 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44531 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44532 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44533 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44534 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44535 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44536 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44537 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44538 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44539 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
44540 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44541 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44542 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44543 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44544 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44545 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44546 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
44547 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44548 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44549 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44550 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44551 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44552 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44553 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44554 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44555 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44556 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44557 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44558 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44559 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44560 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44561 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44562 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44563 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44564 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44565 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44566 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44567 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44568 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44569 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44570 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44571 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44572 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44573 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44574 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44575 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44576 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44577 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44578 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44579 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44580 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44581 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44582 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
44583 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44584 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44585 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44586 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44587 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44588 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44589 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44590 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44591 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44592 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
44593 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44594 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44595 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44596 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44597 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44598 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44599 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44600 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44601 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44602 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
44603 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44604 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
44605 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44606 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
44607 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44608 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44609 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
44610 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44611 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44612 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44613 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
44614 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44615 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44616 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
44617 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44618 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44619 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
44620 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44621 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
44622 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44623 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44624 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44625 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44626 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
44627 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44628 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44629 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44630 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44631 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44632 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44633 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44634 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
44635 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44636 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44637 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44638 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
44639 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44640 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44641 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
44642 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44643 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
44644 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44645 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44646 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44647 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
44648 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44649 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44650 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44651 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44652 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44653 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44654 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44655 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44656 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44657 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44658 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44659 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44660 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44661 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44662 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44663 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44664 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
44665 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44666 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
44667 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44668 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44669 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
44670 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44671 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
44672 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44673 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44674 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44675 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
44676 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44677 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44678 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44679 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
44680 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44681 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44682 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44683 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44684 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44685 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44686 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44687 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44688 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
44689 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44690 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44691 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
44692 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44693 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44694 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
44695 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44696 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44697 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44698 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
44699 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44700 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44701 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44702 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44703 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44704 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44705 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
44706 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44707 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44708 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44709 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44710 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
44711 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44712 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44713 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44714 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44715 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
44716 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44717 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44718 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44719 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44720 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44721 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44722 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44723 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44724 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44725 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44726 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44727 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44728 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44729 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction
) _wrap_PyApp_IsMainLoopRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44730 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44731 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44732 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44733 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44734 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44735 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44736 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44737 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44738 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44739 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44740 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44741 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44742 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44743 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44744 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44745 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44746 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44747 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44748 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44749 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44750 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44751 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44752 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44753 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44754 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44755 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44756 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44757 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44758 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44759 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44760 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
44761 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44762 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44763 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44764 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44765 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44766 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44767 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44768 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44769 { (char *)"SetDefaultPyEncoding", (PyCFunction
) _wrap_SetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44770 { (char *)"GetDefaultPyEncoding", (PyCFunction
) _wrap_GetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44771 { (char *)"new_EventLoop", (PyCFunction
) _wrap_new_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44772 { (char *)"delete_EventLoop", (PyCFunction
) _wrap_delete_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44773 { (char *)"EventLoop_Run", (PyCFunction
) _wrap_EventLoop_Run
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44774 { (char *)"EventLoop_Exit", (PyCFunction
) _wrap_EventLoop_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44775 { (char *)"EventLoop_Pending", (PyCFunction
) _wrap_EventLoop_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44776 { (char *)"EventLoop_Dispatch", (PyCFunction
) _wrap_EventLoop_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44777 { (char *)"EventLoop_IsRunning", (PyCFunction
) _wrap_EventLoop_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44778 { (char *)"EventLoop_GetActive", (PyCFunction
) _wrap_EventLoop_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44779 { (char *)"EventLoop_SetActive", (PyCFunction
) _wrap_EventLoop_SetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44780 { (char *)"EventLoop_swigregister", EventLoop_swigregister
, METH_VARARGS
, NULL
},
44781 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44782 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44783 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44784 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44785 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44786 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44787 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
44788 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44789 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44790 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44791 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
44792 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44793 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44794 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44795 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44796 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44797 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44798 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44799 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44800 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44801 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
44802 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44803 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44804 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44805 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44806 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44807 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44808 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44809 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44810 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44811 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44812 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44813 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44814 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44815 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44816 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44817 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44818 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44819 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44820 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44821 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44822 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44823 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44824 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44825 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44826 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44827 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44828 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44829 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44830 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44831 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44832 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44833 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44834 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44835 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44836 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44837 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44838 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44839 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44840 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44841 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44842 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44843 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44844 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44845 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44846 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44847 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44848 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44849 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44850 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44851 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44852 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44853 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44854 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44855 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44856 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44857 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44858 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44859 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44860 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44861 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44862 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44863 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44864 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44865 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44866 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44867 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44868 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44869 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44870 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44871 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44872 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44873 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44874 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44875 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44876 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44877 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44878 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44879 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44880 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44881 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44882 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44883 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44884 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44885 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44886 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44887 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44888 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44889 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44890 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44891 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44892 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44893 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44894 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44895 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44896 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44897 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44898 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44899 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44900 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44901 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44902 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44903 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44904 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44905 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44906 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44907 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44908 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44909 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44910 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44911 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44912 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44913 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44914 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44915 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44916 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44917 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44918 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44919 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44920 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44921 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44922 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44923 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44924 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44925 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44926 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44927 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44928 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44929 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44930 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44931 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44932 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44933 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44934 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44935 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44936 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44937 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44938 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44939 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44940 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44941 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44942 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44943 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44944 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44945 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44946 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44947 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44948 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44949 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44950 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44951 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44952 { (char *)"Window_GetBackgroundStyle", (PyCFunction
) _wrap_Window_GetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44953 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44954 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44955 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44956 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44957 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44958 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44959 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44960 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44961 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44962 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44963 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44964 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44965 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44966 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44967 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44968 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44969 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44970 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
44971 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44972 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44973 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44974 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44975 { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44976 { (char *)"Window_DissociateHandle", (PyCFunction
) _wrap_Window_DissociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44977 { (char *)"Window_OnPaint", (PyCFunction
) _wrap_Window_OnPaint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44978 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44979 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44980 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44981 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44982 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44983 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44984 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44985 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44986 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44987 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44988 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44989 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44990 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44991 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44992 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44993 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44994 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44995 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44996 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44997 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44998 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44999 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45000 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45001 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45002 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45003 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45004 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45005 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45006 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45007 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45008 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45009 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45010 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45011 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45012 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
45013 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45014 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45015 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45016 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45017 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45018 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45019 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45020 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45021 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45022 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45023 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45024 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45025 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45026 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
45027 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45028 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45029 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
45030 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45031 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45032 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45033 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45034 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45035 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45036 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45037 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45038 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45039 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45040 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45041 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45042 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45043 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45044 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45045 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45046 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45047 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45048 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45049 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45050 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45051 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45052 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45053 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45054 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45055 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45056 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45057 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45058 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45059 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45060 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45061 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45062 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45063 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45064 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45065 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45066 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45067 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45068 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45069 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45070 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45071 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45072 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45073 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45074 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45075 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45076 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45077 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45078 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45079 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45080 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45081 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45082 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45083 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45084 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
45085 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45086 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45087 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45088 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45089 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45090 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45091 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45092 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45093 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45094 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45095 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45096 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45097 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45098 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45099 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45100 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45101 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45102 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45103 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45104 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45105 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45106 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45107 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45108 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45109 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45110 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45111 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
45112 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45113 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45114 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45115 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45116 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45117 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45118 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45119 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45120 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45121 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45122 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45123 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45124 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45125 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45126 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45127 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45128 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45129 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45130 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45131 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45132 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45133 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45134 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45135 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45136 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45137 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45138 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45139 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45140 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45141 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45142 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45143 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45144 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45145 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45146 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45147 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45148 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45149 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45150 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45151 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45152 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45153 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45154 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45155 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
45156 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45157 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45158 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45159 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45160 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45161 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45162 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45163 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
45164 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45165 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45166 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45167 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45168 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45169 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45170 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45171 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45172 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45173 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45174 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45175 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45176 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45177 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45178 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45179 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45180 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
45181 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
45182 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45183 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45184 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45185 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45186 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45187 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45188 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45189 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45190 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45191 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45192 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45193 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45194 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45195 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45196 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45197 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45198 { (char *)"SizerItem_GetRect", (PyCFunction
) _wrap_SizerItem_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45199 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45200 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45201 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45202 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45203 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45204 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45205 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45206 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45207 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45208 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45209 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45210 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45211 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45212 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45213 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45214 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45215 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45216 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45217 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45218 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
45219 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45220 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45221 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45222 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45223 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45224 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45225 { (char *)"Sizer_GetItem", (PyCFunction
) _wrap_Sizer_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45226 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45227 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45228 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45229 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45230 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45231 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45232 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45233 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45234 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45235 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45236 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45237 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45238 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45239 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45240 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45241 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45242 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45243 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45244 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45245 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45246 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45247 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45248 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
45249 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45250 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45251 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
45252 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45253 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45254 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45255 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
45256 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45257 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45258 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
45259 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45260 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45261 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45262 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45263 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45264 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45265 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45266 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45267 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45268 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
45269 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45270 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45271 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45272 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45273 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45274 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45275 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45276 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45277 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45278 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45279 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45280 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
45281 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45282 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45283 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45284 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45285 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45286 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45287 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45288 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45289 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45290 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
45291 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45292 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45293 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45294 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45295 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45296 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45297 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45298 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45299 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45300 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
45301 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45302 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45303 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45304 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45305 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45306 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45307 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45308 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45309 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45310 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45311 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45312 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45313 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45314 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
45315 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45316 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45317 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45318 { (char *)"GridBagSizer_GetCellSize", (PyCFunction
) _wrap_GridBagSizer_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45319 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45320 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45321 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
45322 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
45323 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
45324 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
45325 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
45326 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45327 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45328 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45329 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45330 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
45331 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45332 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45333 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45334 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45335 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45336 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45337 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45338 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45339 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45340 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45341 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45342 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45343 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45344 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45345 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45346 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45347 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45348 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45349 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45350 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45351 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45352 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45353 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45354 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45355 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45356 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45357 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
45358 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45359 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45360 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45361 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45362 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45363 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45364 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45365 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45366 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45367 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45368 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45369 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
45370 { NULL
, NULL
, 0, NULL
}
45374 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
45376 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
45377 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
45379 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
45380 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
45382 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
45383 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
45385 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
45386 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
45388 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
45389 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
45391 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
45392 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
45394 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
45395 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
45397 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
45398 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
45400 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
45401 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
45403 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
45404 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
45406 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
45407 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
45409 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
45410 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
45412 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
45413 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
45415 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
45416 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
45418 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
45419 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
45421 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
45422 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
45424 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
45425 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
45427 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
45428 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
45430 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
45431 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
45433 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
45434 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
45436 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
45437 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
45439 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
45440 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
45442 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
45443 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
45445 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
45446 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
45448 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
45449 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
45451 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
45452 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
45454 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
45455 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
45457 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
45458 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
45460 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
45461 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
45463 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
45464 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
45466 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
45467 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
45469 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
45470 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
45472 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
45473 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
45475 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
45476 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
45478 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
45479 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
45481 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
45482 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
45484 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
45485 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
45487 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
45488 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
45490 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
45491 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
45493 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
45494 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
45496 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
45497 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
45499 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
45500 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
45502 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
45503 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
45505 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
45506 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
45508 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
45509 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
45511 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
45512 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
45514 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
45515 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
45517 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
45518 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
45520 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
45521 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
45523 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
45524 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
45526 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
45527 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
45529 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
45530 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
45532 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
45533 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
45535 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
45536 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
45538 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
45539 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
45541 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
45542 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
45544 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
45545 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
45547 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
45548 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
45550 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
45551 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
45553 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
45554 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
45556 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
45557 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
45559 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
45560 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
45562 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
45563 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
45565 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
45566 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
45568 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
45569 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
45571 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
45572 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
45574 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
45575 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
45577 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
45578 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
45580 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
45581 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
45583 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
45584 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
45586 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
45587 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
45589 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
45590 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
45592 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
45593 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
45595 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
45596 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
45598 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
45599 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
45601 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
45602 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
45604 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
45605 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
45607 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
45608 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
45610 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
45611 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
45613 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
45614 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
45616 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
45617 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
45619 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
45620 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
45622 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
45623 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
45625 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
45626 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
45628 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
45629 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
45631 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
45632 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
45634 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
45635 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
45637 static void *_p_wxSizerTo_p_wxObject(void *x
) {
45638 return (void *)((wxObject
*) ((wxSizer
*) x
));
45640 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
45641 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
45643 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
45644 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
45646 static void *_p_wxMenuTo_p_wxObject(void *x
) {
45647 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
45649 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
45650 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
45652 static void *_p_wxImageTo_p_wxObject(void *x
) {
45653 return (void *)((wxObject
*) ((wxImage
*) x
));
45655 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
45656 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
45658 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
45659 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
45661 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
45662 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
45664 static void *_p_wxWindowTo_p_wxObject(void *x
) {
45665 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
45667 static void *_p_wxControlTo_p_wxObject(void *x
) {
45668 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
45670 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
45671 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
45673 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
45674 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
45676 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
45677 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
45679 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
45680 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
45682 static void *_p_wxEventTo_p_wxObject(void *x
) {
45683 return (void *)((wxObject
*) ((wxEvent
*) x
));
45685 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
45686 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
45688 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
45689 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
45691 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
45692 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
45694 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
45695 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
45697 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
45698 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
45700 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
45701 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
45703 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
45704 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
45706 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
45707 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
45709 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
45710 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
45712 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
45713 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
45715 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
45716 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
45718 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
45719 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
45721 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
45722 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
45724 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
45725 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
45727 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
45728 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
45730 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
45731 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
45733 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
45734 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
45736 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
45737 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
45739 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
45740 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
45742 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
45743 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
45745 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
45746 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
45748 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
45749 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
45751 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
45752 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
45754 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
45755 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
45757 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
45758 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
45760 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
45761 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
45763 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
45764 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
45766 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
45767 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
45769 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
45770 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
45772 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
45773 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
45775 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
45776 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
45778 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
45779 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
45781 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
45782 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
45784 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
45785 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
45787 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
45788 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
45790 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
45791 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
45793 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
45794 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
45796 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
45797 return (void *)((wxObject
*) ((wxFSFile
*) x
));
45799 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
45800 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
45802 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
45803 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
45805 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
45806 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
45808 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
45809 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
45811 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
45812 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
45814 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
45815 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
45817 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
45818 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
45820 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
45821 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
45823 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
45824 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
45826 static void *_p_wxControlTo_p_wxWindow(void *x
) {
45827 return (void *)((wxWindow
*) ((wxControl
*) x
));
45829 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
45830 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
45832 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
45833 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
45835 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
45836 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
45838 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
45839 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
45841 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
45842 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
45844 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
45845 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
45847 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
45848 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
45850 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
45851 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
45853 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
45854 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
45856 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
45857 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
45859 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
45860 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
45862 static swig_type_info _swigt__p_wxLayoutConstraints
[] = {{"_p_wxLayoutConstraints", 0, "wxLayoutConstraints *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45863 static 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}};
45864 static swig_type_info _swigt__p_wxSizerItem
[] = {{"_p_wxSizerItem", 0, "wxSizerItem *", 0, 0, 0, 0},{"_p_wxSizerItem", 0, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxSizerItem
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45865 static swig_type_info _swigt__p_wxGBSizerItem
[] = {{"_p_wxGBSizerItem", 0, "wxGBSizerItem *", 0, 0, 0, 0},{"_p_wxGBSizerItem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45866 static swig_type_info _swigt__p_wxScrollEvent
[] = {{"_p_wxScrollEvent", 0, "wxScrollEvent *", 0, 0, 0, 0},{"_p_wxScrollEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45867 static swig_type_info _swigt__p_wxEventLoop
[] = {{"_p_wxEventLoop", 0, "wxEventLoop *", 0, 0, 0, 0},{"_p_wxEventLoop", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45868 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
[] = {{"_p_wxIndividualLayoutConstraint", 0, "wxIndividualLayoutConstraint *", 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45869 static swig_type_info _swigt__p_wxSizer
[] = {{"_p_wxSizer", 0, "wxSizer *", 0, 0, 0, 0},{"_p_wxSizer", 0, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45870 static swig_type_info _swigt__p_wxBoxSizer
[] = {{"_p_wxBoxSizer", 0, "wxBoxSizer *", 0, 0, 0, 0},{"_p_wxBoxSizer", 0, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxBoxSizer
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45871 static swig_type_info _swigt__p_wxStaticBoxSizer
[] = {{"_p_wxStaticBoxSizer", 0, "wxStaticBoxSizer *", 0, 0, 0, 0},{"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45872 static swig_type_info _swigt__p_wxGridBagSizer
[] = {{"_p_wxGridBagSizer", 0, "wxGridBagSizer *", 0, 0, 0, 0},{"_p_wxGridBagSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45873 static swig_type_info _swigt__p_wxAcceleratorEntry
[] = {{"_p_wxAcceleratorEntry", 0, "wxAcceleratorEntry *", 0, 0, 0, 0},{"_p_wxAcceleratorEntry", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45874 static swig_type_info _swigt__p_wxUpdateUIEvent
[] = {{"_p_wxUpdateUIEvent", 0, "wxUpdateUIEvent *", 0, 0, 0, 0},{"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45875 static swig_type_info _swigt__p_wxEvent
[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45876 static swig_type_info _swigt__p_wxMenu
[] = {{"_p_wxMenu", 0, "wxMenu *", 0, 0, 0, 0},{"_p_wxMenu", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45877 static swig_type_info _swigt__p_wxGridSizer
[] = {{"_p_wxGridSizer", 0, "wxGridSizer *", 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxGridSizer
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", 0, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxGridSizer
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45878 static swig_type_info _swigt__p_wxFlexGridSizer
[] = {{"_p_wxFlexGridSizer", 0, "wxFlexGridSizer *", 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxFlexGridSizer
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45879 static swig_type_info _swigt__p_wxInitDialogEvent
[] = {{"_p_wxInitDialogEvent", 0, "wxInitDialogEvent *", 0, 0, 0, 0},{"_p_wxInitDialogEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45880 static swig_type_info _swigt__p_wxItemContainer
[] = {{"_p_wxItemContainer", 0, "wxItemContainer *", 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxItemContainer
, 0, 0, 0, 0, 0},{"_p_wxItemContainer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45881 static swig_type_info _swigt__p_wxNcPaintEvent
[] = {{"_p_wxNcPaintEvent", 0, "wxNcPaintEvent *", 0, 0, 0, 0},{"_p_wxNcPaintEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45882 static swig_type_info _swigt__p_wxPaintEvent
[] = {{"_p_wxPaintEvent", 0, "wxPaintEvent *", 0, 0, 0, 0},{"_p_wxPaintEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45883 static swig_type_info _swigt__p_wxSysColourChangedEvent
[] = {{"_p_wxSysColourChangedEvent", 0, "wxSysColourChangedEvent *", 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45884 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
[] = {{"_p_wxMouseCaptureChangedEvent", 0, "wxMouseCaptureChangedEvent *", 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45885 static swig_type_info _swigt__p_wxDisplayChangedEvent
[] = {{"_p_wxDisplayChangedEvent", 0, "wxDisplayChangedEvent *", 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45886 static swig_type_info _swigt__p_wxPaletteChangedEvent
[] = {{"_p_wxPaletteChangedEvent", 0, "wxPaletteChangedEvent *", 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45887 static swig_type_info _swigt__p_wxControl
[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45888 static 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}};
45889 static swig_type_info _swigt__p_wxMenuBarBase
[] = {{"_p_wxMenuBarBase", 0, "wxMenuBarBase *", 0, 0, 0, 0},{"_p_wxMenuBarBase", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45890 static swig_type_info _swigt__p_wxSetCursorEvent
[] = {{"_p_wxSetCursorEvent", 0, "wxSetCursorEvent *", 0, 0, 0, 0},{"_p_wxSetCursorEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45891 static swig_type_info _swigt__p_wxFSFile
[] = {{"_p_wxFSFile", 0, "wxFSFile *", 0, 0, 0, 0},{"_p_wxFSFile", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45892 static swig_type_info _swigt__p_wxCaret
[] = {{"_p_wxCaret", 0, "wxCaret *", 0, 0, 0, 0},{"_p_wxCaret", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45893 static 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}};
45894 static 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}};
45895 static swig_type_info _swigt__p_wxRegion
[] = {{"_p_wxRegion", 0, "wxRegion *", 0, 0, 0, 0},{"_p_wxRegion", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45896 static swig_type_info _swigt__p_wxPoint2D
[] = {{"_p_wxPoint2D", 0, "wxPoint2D *", 0, 0, 0, 0},{"_p_wxPoint2D", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45897 static 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}};
45898 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0, 0, 0, 0},{"_p_wxSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45899 static 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}};
45900 static swig_type_info _swigt__p_wxPySizer
[] = {{"_p_wxPySizer", 0, "wxPySizer *", 0, 0, 0, 0},{"_p_wxPySizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45901 static swig_type_info _swigt__p_wxVisualAttributes
[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45902 static swig_type_info _swigt__p_wxNotifyEvent
[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0, 0, 0, 0},{"_p_wxNotifyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45903 static swig_type_info _swigt__p_wxPyEvent
[] = {{"_p_wxPyEvent", 0, "wxPyEvent *", 0, 0, 0, 0},{"_p_wxPyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45904 static swig_type_info _swigt__p_wxPropagationDisabler
[] = {{"_p_wxPropagationDisabler", 0, "wxPropagationDisabler *", 0, 0, 0, 0},{"_p_wxPropagationDisabler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45905 static 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}};
45906 static swig_type_info _swigt__p_wxAppTraits
[] = {{"_p_wxAppTraits", 0, "wxAppTraits *", 0, 0, 0, 0},{"_p_wxAppTraits", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45907 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0, 0, 0, 0},{"_p_wxArrayString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45908 static swig_type_info _swigt__p_wxShowEvent
[] = {{"_p_wxShowEvent", 0, "wxShowEvent *", 0, 0, 0, 0},{"_p_wxShowEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45909 static swig_type_info _swigt__p_wxToolTip
[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0, 0, 0, 0},{"_p_wxToolTip", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45910 static swig_type_info _swigt__p_wxMoveEvent
[] = {{"_p_wxMoveEvent", 0, "wxMoveEvent *", 0, 0, 0, 0},{"_p_wxMoveEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45911 static swig_type_info _swigt__p_wxSizeEvent
[] = {{"_p_wxSizeEvent", 0, "wxSizeEvent *", 0, 0, 0, 0},{"_p_wxSizeEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45912 static swig_type_info _swigt__p_wxActivateEvent
[] = {{"_p_wxActivateEvent", 0, "wxActivateEvent *", 0, 0, 0, 0},{"_p_wxActivateEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45913 static swig_type_info _swigt__p_wxIconizeEvent
[] = {{"_p_wxIconizeEvent", 0, "wxIconizeEvent *", 0, 0, 0, 0},{"_p_wxIconizeEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45914 static swig_type_info _swigt__p_wxMaximizeEvent
[] = {{"_p_wxMaximizeEvent", 0, "wxMaximizeEvent *", 0, 0, 0, 0},{"_p_wxMaximizeEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45915 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
[] = {{"_p_wxQueryNewPaletteEvent", 0, "wxQueryNewPaletteEvent *", 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45916 static swig_type_info _swigt__p_wxWindowCreateEvent
[] = {{"_p_wxWindowCreateEvent", 0, "wxWindowCreateEvent *", 0, 0, 0, 0},{"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45917 static swig_type_info _swigt__p_wxIdleEvent
[] = {{"_p_wxIdleEvent", 0, "wxIdleEvent *", 0, 0, 0, 0},{"_p_wxIdleEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45918 static swig_type_info _swigt__p_wxMenuItem
[] = {{"_p_wxMenuItem", 0, "wxMenuItem *", 0, 0, 0, 0},{"_p_wxMenuItem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45919 static swig_type_info _swigt__p_wxStaticBox
[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0, 0, 0, 0},{"_p_wxStaticBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45920 static swig_type_info _swigt__p_long
[] = {{"_p_long", 0, "long *", 0, 0, 0, 0},{"_p_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45921 static 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}};
45922 static swig_type_info _swigt__p_wxTIFFHandler
[] = {{"_p_wxTIFFHandler", 0, "wxTIFFHandler *", 0, 0, 0, 0},{"_p_wxTIFFHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45923 static swig_type_info _swigt__p_wxXPMHandler
[] = {{"_p_wxXPMHandler", 0, "wxXPMHandler *", 0, 0, 0, 0},{"_p_wxXPMHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45924 static swig_type_info _swigt__p_wxPNMHandler
[] = {{"_p_wxPNMHandler", 0, "wxPNMHandler *", 0, 0, 0, 0},{"_p_wxPNMHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45925 static swig_type_info _swigt__p_wxJPEGHandler
[] = {{"_p_wxJPEGHandler", 0, "wxJPEGHandler *", 0, 0, 0, 0},{"_p_wxJPEGHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45926 static swig_type_info _swigt__p_wxPCXHandler
[] = {{"_p_wxPCXHandler", 0, "wxPCXHandler *", 0, 0, 0, 0},{"_p_wxPCXHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45927 static swig_type_info _swigt__p_wxGIFHandler
[] = {{"_p_wxGIFHandler", 0, "wxGIFHandler *", 0, 0, 0, 0},{"_p_wxGIFHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45928 static swig_type_info _swigt__p_wxPNGHandler
[] = {{"_p_wxPNGHandler", 0, "wxPNGHandler *", 0, 0, 0, 0},{"_p_wxPNGHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45929 static swig_type_info _swigt__p_wxANIHandler
[] = {{"_p_wxANIHandler", 0, "wxANIHandler *", 0, 0, 0, 0},{"_p_wxANIHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45930 static swig_type_info _swigt__p_wxMemoryFSHandler
[] = {{"_p_wxMemoryFSHandler", 0, "wxMemoryFSHandler *", 0, 0, 0, 0},{"_p_wxMemoryFSHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45931 static swig_type_info _swigt__p_wxZipFSHandler
[] = {{"_p_wxZipFSHandler", 0, "wxZipFSHandler *", 0, 0, 0, 0},{"_p_wxZipFSHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45932 static swig_type_info _swigt__p_wxInternetFSHandler
[] = {{"_p_wxInternetFSHandler", 0, "wxInternetFSHandler *", 0, 0, 0, 0},{"_p_wxInternetFSHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45933 static swig_type_info _swigt__p_wxPyFileSystemHandler
[] = {{"_p_wxPyFileSystemHandler", 0, "wxPyFileSystemHandler *", 0, 0, 0, 0},{"_p_wxPyFileSystemHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45934 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_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_wxMenu", _p_wxMenuTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45935 static swig_type_info _swigt__p_wxCURHandler
[] = {{"_p_wxCURHandler", 0, "wxCURHandler *", 0, 0, 0, 0},{"_p_wxCURHandler", 0, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxCURHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45936 static swig_type_info _swigt__p_wxICOHandler
[] = {{"_p_wxICOHandler", 0, "wxICOHandler *", 0, 0, 0, 0},{"_p_wxICOHandler", 0, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxICOHandler
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxICOHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45937 static swig_type_info _swigt__p_wxBMPHandler
[] = {{"_p_wxBMPHandler", 0, "wxBMPHandler *", 0, 0, 0, 0},{"_p_wxBMPHandler", 0, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxBMPHandler
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxBMPHandler
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxBMPHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45938 static swig_type_info _swigt__p_wxImageHandler
[] = {{"_p_wxImageHandler", 0, "wxImageHandler *", 0, 0, 0, 0},{"_p_wxImageHandler", 0, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxImageHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45939 static swig_type_info _swigt__p_wxFileSystemHandler
[] = {{"_p_wxFileSystemHandler", 0, "wxFileSystemHandler *", 0, 0, 0, 0},{"_p_wxFileSystemHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyFileSystemHandler", _p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler
, 0, 0, 0, 0, 0},{"_p_wxInternetFSHandler", _p_wxInternetFSHandlerTo_p_wxFileSystemHandler
, 0, 0, 0, 0, 0},{"_p_wxZipFSHandler", _p_wxZipFSHandlerTo_p_wxFileSystemHandler
, 0, 0, 0, 0, 0},{"_p_wxMemoryFSHandler", _p_wxMemoryFSHandlerTo_p_wxFileSystemHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45940 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0, 0, 0, 0},{"_p_wxRect", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45941 static swig_type_info _swigt__p_wxGBSpan
[] = {{"_p_wxGBSpan", 0, "wxGBSpan *", 0, 0, 0, 0},{"_p_wxGBSpan", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45942 static swig_type_info _swigt__p_wxPropagateOnce
[] = {{"_p_wxPropagateOnce", 0, "wxPropagateOnce *", 0, 0, 0, 0},{"_p_wxPropagateOnce", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45943 static swig_type_info _swigt__p_wxAcceleratorTable
[] = {{"_p_wxAcceleratorTable", 0, "wxAcceleratorTable *", 0, 0, 0, 0},{"_p_wxAcceleratorTable", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45944 static 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}};
45945 static swig_type_info _swigt__p_wxGBPosition
[] = {{"_p_wxGBPosition", 0, "wxGBPosition *", 0, 0, 0, 0},{"_p_wxGBPosition", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45946 static swig_type_info _swigt__p_wxImage
[] = {{"_p_wxImage", 0, "wxImage *", 0, 0, 0, 0},{"_p_wxImage", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45947 static swig_type_info _swigt__p_wxFrame
[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45948 static swig_type_info _swigt__p_wxScrollWinEvent
[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0, 0, 0, 0},{"_p_wxScrollWinEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45949 static 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}};
45950 static swig_type_info _swigt__p_wxImageHistogram
[] = {{"_p_wxImageHistogram", 0, "wxImageHistogram *", 0, 0, 0, 0},{"_p_wxImageHistogram", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45951 static 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}};
45952 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0, 0, 0, 0},{"_p_wxCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45953 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_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_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_wxMenu", _p_wxMenuTo_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_wxInitDialogEvent", _p_wxInitDialogEventTo_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_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_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_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_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_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_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_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_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_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_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_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_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_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45954 static swig_type_info _swigt__p_wxInputStream
[] = {{"_p_wxInputStream", 0, "wxInputStream *", 0, 0, 0, 0},{"_p_wxInputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45955 static swig_type_info _swigt__p_wxOutputStream
[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0, 0, 0, 0},{"_p_wxOutputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45956 static swig_type_info _swigt__p_wxPyInputStream
[] = {{"_p_wxPyInputStream", 0, "wxPyInputStream *", 0, 0, 0, 0},{"_p_wxPyInputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45957 static swig_type_info _swigt__p_wxDateTime
[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0, 0, 0, 0},{"_p_wxDateTime", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45958 static swig_type_info _swigt__p_wxKeyEvent
[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0, 0, 0, 0},{"_p_wxKeyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45959 static swig_type_info _swigt__p_wxNavigationKeyEvent
[] = {{"_p_wxNavigationKeyEvent", 0, "wxNavigationKeyEvent *", 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45960 static swig_type_info _swigt__p_wxWindowDestroyEvent
[] = {{"_p_wxWindowDestroyEvent", 0, "wxWindowDestroyEvent *", 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45961 static 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}};
45962 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45963 static swig_type_info _swigt__p_wxMenuBar
[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0, 0, 0, 0},{"_p_wxMenuBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45964 static swig_type_info _swigt__p_wxFileSystem
[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0, 0, 0, 0},{"_p_wxFileSystem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45965 static 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}};
45966 static 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}};
45967 static 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}};
45968 static swig_type_info _swigt__p_wxMenuEvent
[] = {{"_p_wxMenuEvent", 0, "wxMenuEvent *", 0, 0, 0, 0},{"_p_wxMenuEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45969 static swig_type_info _swigt__p_wxContextMenuEvent
[] = {{"_p_wxContextMenuEvent", 0, "wxContextMenuEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45970 static 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}};
45971 static swig_type_info _swigt__p_wxEraseEvent
[] = {{"_p_wxEraseEvent", 0, "wxEraseEvent *", 0, 0, 0, 0},{"_p_wxEraseEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45972 static swig_type_info _swigt__p_wxMouseEvent
[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0, 0, 0, 0},{"_p_wxMouseEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45973 static swig_type_info _swigt__p_wxCloseEvent
[] = {{"_p_wxCloseEvent", 0, "wxCloseEvent *", 0, 0, 0, 0},{"_p_wxCloseEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45974 static swig_type_info _swigt__p_wxPyApp
[] = {{"_p_wxPyApp", 0, "wxPyApp *", 0, 0, 0, 0},{"_p_wxPyApp", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45975 static swig_type_info _swigt__p_wxCommandEvent
[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45976 static swig_type_info _swigt__p_wxPyCommandEvent
[] = {{"_p_wxPyCommandEvent", 0, "wxPyCommandEvent *", 0, 0, 0, 0},{"_p_wxPyCommandEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45977 static swig_type_info _swigt__p_wxPyDropTarget
[] = {{"_p_wxPyDropTarget", 0, "wxPyDropTarget *", 0, 0, 0, 0},{"_p_wxPyDropTarget", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45978 static swig_type_info _swigt__p_wxQuantize
[] = {{"_p_wxQuantize", 0, "wxQuantize *", 0, 0, 0, 0},{"_p_wxQuantize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45979 static swig_type_info _swigt__p_wxChildFocusEvent
[] = {{"_p_wxChildFocusEvent", 0, "wxChildFocusEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45980 static swig_type_info _swigt__p_wxFocusEvent
[] = {{"_p_wxFocusEvent", 0, "wxFocusEvent *", 0, 0, 0, 0},{"_p_wxFocusEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45981 static swig_type_info _swigt__p_wxDropFilesEvent
[] = {{"_p_wxDropFilesEvent", 0, "wxDropFilesEvent *", 0, 0, 0, 0},{"_p_wxDropFilesEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45982 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxControlWithItems", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45983 static 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}};
45984 static swig_type_info _swigt__p_wxValidator
[] = {{"_p_wxValidator", 0, "wxValidator *", 0, 0, 0, 0},{"_p_wxValidator", 0, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45985 static swig_type_info _swigt__p_wxPyValidator
[] = {{"_p_wxPyValidator", 0, "wxPyValidator *", 0, 0, 0, 0},{"_p_wxPyValidator", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45987 static swig_type_info
*swig_types_initial
[] = {
45988 _swigt__p_wxLayoutConstraints
,
45989 _swigt__p_wxRealPoint
,
45990 _swigt__p_wxSizerItem
,
45991 _swigt__p_wxGBSizerItem
,
45992 _swigt__p_wxScrollEvent
,
45993 _swigt__p_wxEventLoop
,
45994 _swigt__p_wxIndividualLayoutConstraint
,
45996 _swigt__p_wxBoxSizer
,
45997 _swigt__p_wxStaticBoxSizer
,
45998 _swigt__p_wxGridBagSizer
,
45999 _swigt__p_wxAcceleratorEntry
,
46000 _swigt__p_wxUpdateUIEvent
,
46003 _swigt__p_wxGridSizer
,
46004 _swigt__p_wxFlexGridSizer
,
46005 _swigt__p_wxInitDialogEvent
,
46006 _swigt__p_wxItemContainer
,
46007 _swigt__p_wxNcPaintEvent
,
46008 _swigt__p_wxPaintEvent
,
46009 _swigt__p_wxSysColourChangedEvent
,
46010 _swigt__p_wxMouseCaptureChangedEvent
,
46011 _swigt__p_wxDisplayChangedEvent
,
46012 _swigt__p_wxPaletteChangedEvent
,
46013 _swigt__p_wxControl
,
46015 _swigt__p_wxMenuBarBase
,
46016 _swigt__p_wxSetCursorEvent
,
46017 _swigt__p_wxFSFile
,
46020 _swigt__std__ptrdiff_t
,
46021 _swigt__p_wxRegion
,
46022 _swigt__p_wxPoint2D
,
46026 _swigt__p_wxPySizer
,
46027 _swigt__p_wxVisualAttributes
,
46028 _swigt__p_wxNotifyEvent
,
46029 _swigt__p_wxPyEvent
,
46030 _swigt__p_wxPropagationDisabler
,
46031 _swigt__p_form_ops_t
,
46032 _swigt__p_wxAppTraits
,
46033 _swigt__p_wxArrayString
,
46034 _swigt__p_wxShowEvent
,
46035 _swigt__p_wxToolTip
,
46036 _swigt__p_wxMoveEvent
,
46037 _swigt__p_wxSizeEvent
,
46038 _swigt__p_wxActivateEvent
,
46039 _swigt__p_wxIconizeEvent
,
46040 _swigt__p_wxMaximizeEvent
,
46041 _swigt__p_wxQueryNewPaletteEvent
,
46042 _swigt__p_wxWindowCreateEvent
,
46043 _swigt__p_wxIdleEvent
,
46044 _swigt__p_wxMenuItem
,
46045 _swigt__p_wxStaticBox
,
46047 _swigt__p_wxDuplexMode
,
46048 _swigt__p_wxTIFFHandler
,
46049 _swigt__p_wxXPMHandler
,
46050 _swigt__p_wxPNMHandler
,
46051 _swigt__p_wxJPEGHandler
,
46052 _swigt__p_wxPCXHandler
,
46053 _swigt__p_wxGIFHandler
,
46054 _swigt__p_wxPNGHandler
,
46055 _swigt__p_wxANIHandler
,
46056 _swigt__p_wxMemoryFSHandler
,
46057 _swigt__p_wxZipFSHandler
,
46058 _swigt__p_wxInternetFSHandler
,
46059 _swigt__p_wxPyFileSystemHandler
,
46060 _swigt__p_wxEvtHandler
,
46061 _swigt__p_wxCURHandler
,
46062 _swigt__p_wxICOHandler
,
46063 _swigt__p_wxBMPHandler
,
46064 _swigt__p_wxImageHandler
,
46065 _swigt__p_wxFileSystemHandler
,
46067 _swigt__p_wxGBSpan
,
46068 _swigt__p_wxPropagateOnce
,
46069 _swigt__p_wxAcceleratorTable
,
46071 _swigt__p_wxGBPosition
,
46074 _swigt__p_wxScrollWinEvent
,
46075 _swigt__p_wxPaperSize
,
46076 _swigt__p_wxImageHistogram
,
46078 _swigt__p_wxCursor
,
46079 _swigt__p_wxObject
,
46080 _swigt__p_wxInputStream
,
46081 _swigt__p_wxOutputStream
,
46082 _swigt__p_wxPyInputStream
,
46083 _swigt__p_wxDateTime
,
46084 _swigt__p_wxKeyEvent
,
46085 _swigt__p_wxNavigationKeyEvent
,
46086 _swigt__p_wxWindowDestroyEvent
,
46087 _swigt__p_unsigned_long
,
46088 _swigt__p_wxWindow
,
46089 _swigt__p_wxMenuBar
,
46090 _swigt__p_wxFileSystem
,
46091 _swigt__p_wxBitmap
,
46092 _swigt__unsigned_int
,
46093 _swigt__p_unsigned_int
,
46094 _swigt__p_wxMenuEvent
,
46095 _swigt__p_wxContextMenuEvent
,
46096 _swigt__p_unsigned_char
,
46097 _swigt__p_wxEraseEvent
,
46098 _swigt__p_wxMouseEvent
,
46099 _swigt__p_wxCloseEvent
,
46101 _swigt__p_wxCommandEvent
,
46102 _swigt__p_wxPyCommandEvent
,
46103 _swigt__p_wxPyDropTarget
,
46104 _swigt__p_wxQuantize
,
46105 _swigt__p_wxChildFocusEvent
,
46106 _swigt__p_wxFocusEvent
,
46107 _swigt__p_wxDropFilesEvent
,
46108 _swigt__p_wxControlWithItems
,
46109 _swigt__p_wxColour
,
46110 _swigt__p_wxValidator
,
46111 _swigt__p_wxPyValidator
,
46116 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
46118 static swig_const_info swig_const_table
[] = {
46119 {0, 0, 0, 0.0, 0, 0}};
46130 /* Python-specific SWIG API */
46131 #define SWIG_newvarlink() SWIG_Python_newvarlink()
46132 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
46133 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
46135 /* -----------------------------------------------------------------------------
46136 * global variable support code.
46137 * ----------------------------------------------------------------------------- */
46139 typedef struct swig_globalvar
{
46140 char *name
; /* Name of global variable */
46141 PyObject
*(*get_attr
)(); /* Return the current value */
46142 int (*set_attr
)(PyObject
*); /* Set the value */
46143 struct swig_globalvar
*next
;
46146 typedef struct swig_varlinkobject
{
46148 swig_globalvar
*vars
;
46149 } swig_varlinkobject
;
46152 swig_varlink_repr(swig_varlinkobject
*v
) {
46154 return PyString_FromString("<Swig global variables>");
46158 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
46159 swig_globalvar
*var
;
46161 fprintf(fp
,"Swig global variables { ");
46162 for (var
= v
->vars
; var
; var
=var
->next
) {
46163 fprintf(fp
,"%s", var
->name
);
46164 if (var
->next
) fprintf(fp
,", ");
46166 fprintf(fp
," }\n");
46171 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
46172 swig_globalvar
*var
= v
->vars
;
46174 if (strcmp(var
->name
,n
) == 0) {
46175 return (*var
->get_attr
)();
46179 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
46184 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
46185 swig_globalvar
*var
= v
->vars
;
46187 if (strcmp(var
->name
,n
) == 0) {
46188 return (*var
->set_attr
)(p
);
46192 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
46196 static PyTypeObject varlinktype
= {
46197 PyObject_HEAD_INIT(0)
46198 0, /* Number of items in variable part (ob_size) */
46199 (char *)"swigvarlink", /* Type name (tp_name) */
46200 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
46201 0, /* Itemsize (tp_itemsize) */
46202 0, /* Deallocator (tp_dealloc) */
46203 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
46204 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
46205 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
46206 0, /* tp_compare */
46207 (reprfunc
) swig_varlink_repr
, /* tp_repr */
46208 0, /* tp_as_number */
46209 0, /* tp_as_sequence */
46210 0, /* tp_as_mapping */
46214 0, /* tp_getattro */
46215 0, /* tp_setattro */
46216 0, /* tp_as_buffer */
46219 #if PY_VERSION_HEX >= 0x02000000
46220 0, /* tp_traverse */
46223 #if PY_VERSION_HEX >= 0x02010000
46224 0, /* tp_richcompare */
46225 0, /* tp_weaklistoffset */
46227 #if PY_VERSION_HEX >= 0x02020000
46228 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
46230 #if PY_VERSION_HEX >= 0x02030000
46233 #ifdef COUNT_ALLOCS
46234 0,0,0,0 /* tp_alloc -> tp_next */
46238 /* Create a variable linking object for use later */
46240 SWIG_Python_newvarlink(void) {
46241 swig_varlinkobject
*result
= 0;
46242 result
= PyMem_NEW(swig_varlinkobject
,1);
46243 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
46244 result
->ob_type
= &varlinktype
;
46246 result
->ob_refcnt
= 0;
46247 Py_XINCREF((PyObject
*) result
);
46248 return ((PyObject
*) result
);
46252 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
46253 swig_varlinkobject
*v
;
46254 swig_globalvar
*gv
;
46255 v
= (swig_varlinkobject
*) p
;
46256 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
46257 gv
->name
= (char *) malloc(strlen(name
)+1);
46258 strcpy(gv
->name
,name
);
46259 gv
->get_attr
= get_attr
;
46260 gv
->set_attr
= set_attr
;
46261 gv
->next
= v
->vars
;
46265 /* -----------------------------------------------------------------------------
46266 * constants/methods manipulation
46267 * ----------------------------------------------------------------------------- */
46269 /* Install Constants */
46271 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
46274 for (i
= 0; constants
[i
].type
; i
++) {
46275 switch(constants
[i
].type
) {
46277 obj
= PyInt_FromLong(constants
[i
].lvalue
);
46279 case SWIG_PY_FLOAT
:
46280 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
46282 case SWIG_PY_STRING
:
46283 if (constants
[i
].pvalue
) {
46284 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
46286 Py_INCREF(Py_None
);
46290 case SWIG_PY_POINTER
:
46291 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
46293 case SWIG_PY_BINARY
:
46294 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
46301 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
46307 /* -----------------------------------------------------------------------------*/
46308 /* Fix SwigMethods to carry the callback ptrs when needed */
46309 /* -----------------------------------------------------------------------------*/
46312 SWIG_Python_FixMethods(PyMethodDef
*methods
,
46313 swig_const_info
*const_table
,
46314 swig_type_info
**types
,
46315 swig_type_info
**types_initial
) {
46317 for (i
= 0; methods
[i
].ml_name
; ++i
) {
46318 char *c
= methods
[i
].ml_doc
;
46319 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
46321 swig_const_info
*ci
= 0;
46322 char *name
= c
+ 10;
46323 for (j
= 0; const_table
[j
].type
; j
++) {
46324 if (strncmp(const_table
[j
].name
, name
,
46325 strlen(const_table
[j
].name
)) == 0) {
46326 ci
= &(const_table
[j
]);
46331 size_t shift
= (ci
->ptype
) - types
;
46332 swig_type_info
*ty
= types_initial
[shift
];
46333 size_t ldoc
= (c
- methods
[i
].ml_doc
);
46334 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
46335 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
46337 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
46338 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
46340 strncpy(buff
, "swig_ptr: ", 10);
46342 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
46343 methods
[i
].ml_doc
= ndoc
;
46349 /* -----------------------------------------------------------------------------*
46350 * Initialize type list
46351 * -----------------------------------------------------------------------------*/
46353 #if PY_MAJOR_VERSION < 2
46354 /* PyModule_AddObject function was introduced in Python 2.0. The following function
46355 is copied out of Python/modsupport.c in python version 2.3.4 */
46357 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
46360 if (!PyModule_Check(m
)) {
46361 PyErr_SetString(PyExc_TypeError
,
46362 "PyModule_AddObject() needs module as first arg");
46366 PyErr_SetString(PyExc_TypeError
,
46367 "PyModule_AddObject() needs non-NULL value");
46371 dict
= PyModule_GetDict(m
);
46372 if (dict
== NULL
) {
46373 /* Internal error -- modules must have a dict! */
46374 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
46375 PyModule_GetName(m
));
46378 if (PyDict_SetItemString(dict
, name
, o
))
46385 static swig_type_info
**
46386 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
46387 static PyMethodDef swig_empty_runtime_method_table
[] = {
46389 NULL
, NULL
, 0, NULL
46393 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
46394 swig_empty_runtime_method_table
);
46395 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
46396 if (pointer
&& module) {
46397 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
46399 return type_list_handle
;
46402 static swig_type_info
**
46403 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
46404 swig_type_info
**type_pointer
;
46406 /* first check if module already created */
46407 type_pointer
= SWIG_Python_GetTypeListHandle();
46408 if (type_pointer
) {
46409 return type_pointer
;
46411 /* create a new module and variable */
46412 return SWIG_Python_SetTypeListHandle(type_list_handle
);
46420 /* -----------------------------------------------------------------------------*
46421 * Partial Init method
46422 * -----------------------------------------------------------------------------*/
46424 #ifdef SWIG_LINK_RUNTIME
46428 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
46434 SWIGEXPORT(void) SWIG_init(void) {
46435 static PyObject
*SWIG_globals
= 0;
46436 static int typeinit
= 0;
46439 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
46441 /* Fix SwigMethods to carry the callback ptrs when needed */
46442 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
46444 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
46445 d
= PyModule_GetDict(m
);
46448 #ifdef SWIG_LINK_RUNTIME
46449 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
46451 # ifndef SWIG_STATIC_RUNTIME
46452 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
46455 for (i
= 0; swig_types_initial
[i
]; i
++) {
46456 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
46460 SWIG_InstallConstants(d
,swig_const_table
);
46463 #ifndef wxPyUSE_EXPORT
46464 // Make our API structure a CObject so other modules can import it
46465 // from this module.
46466 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
46467 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
46472 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_From_int((int)(wxNOT_FOUND
)));
46475 PyDict_SetItemString(d
,"VSCROLL", SWIG_From_int((int)(wxVSCROLL
)));
46478 PyDict_SetItemString(d
,"HSCROLL", SWIG_From_int((int)(wxHSCROLL
)));
46481 PyDict_SetItemString(d
,"CAPTION", SWIG_From_int((int)(wxCAPTION
)));
46484 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_From_int((int)(wxDOUBLE_BORDER
)));
46487 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_From_int((int)(wxSUNKEN_BORDER
)));
46490 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_From_int((int)(wxRAISED_BORDER
)));
46493 PyDict_SetItemString(d
,"BORDER", SWIG_From_int((int)(wxBORDER
)));
46496 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_From_int((int)(wxSIMPLE_BORDER
)));
46499 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_From_int((int)(wxSTATIC_BORDER
)));
46502 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_From_int((int)(wxTRANSPARENT_WINDOW
)));
46505 PyDict_SetItemString(d
,"NO_BORDER", SWIG_From_int((int)(wxNO_BORDER
)));
46508 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_From_int((int)(wxTAB_TRAVERSAL
)));
46511 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_From_int((int)(wxWANTS_CHARS
)));
46514 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_From_int((int)(wxPOPUP_WINDOW
)));
46517 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_From_int((int)(wxCENTER_FRAME
)));
46520 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_From_int((int)(wxCENTRE_ON_SCREEN
)));
46523 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_From_int((int)(wxCENTER_ON_SCREEN
)));
46526 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_From_int((int)(wxED_CLIENT_MARGIN
)));
46529 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_From_int((int)(wxED_BUTTONS_BOTTOM
)));
46532 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_From_int((int)(wxED_BUTTONS_RIGHT
)));
46535 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_From_int((int)(wxED_STATIC_LINE
)));
46538 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_From_int((int)(wxEXT_DIALOG_STYLE
)));
46541 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_From_int((int)(wxCLIP_CHILDREN
)));
46544 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_From_int((int)(wxCLIP_SIBLINGS
)));
46547 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_From_int((int)(wxALWAYS_SHOW_SB
)));
46550 PyDict_SetItemString(d
,"RETAINED", SWIG_From_int((int)(wxRETAINED
)));
46553 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_From_int((int)(wxBACKINGSTORE
)));
46556 PyDict_SetItemString(d
,"COLOURED", SWIG_From_int((int)(wxCOLOURED
)));
46559 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_From_int((int)(wxFIXED_LENGTH
)));
46562 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_From_int((int)(wxLB_NEEDED_SB
)));
46565 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_From_int((int)(wxLB_ALWAYS_SB
)));
46568 PyDict_SetItemString(d
,"LB_SORT", SWIG_From_int((int)(wxLB_SORT
)));
46571 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_From_int((int)(wxLB_SINGLE
)));
46574 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_From_int((int)(wxLB_MULTIPLE
)));
46577 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_From_int((int)(wxLB_EXTENDED
)));
46580 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_From_int((int)(wxLB_OWNERDRAW
)));
46583 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_From_int((int)(wxLB_HSCROLL
)));
46586 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_From_int((int)(wxPROCESS_ENTER
)));
46589 PyDict_SetItemString(d
,"PASSWORD", SWIG_From_int((int)(wxPASSWORD
)));
46592 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_From_int((int)(wxCB_SIMPLE
)));
46595 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_From_int((int)(wxCB_DROPDOWN
)));
46598 PyDict_SetItemString(d
,"CB_SORT", SWIG_From_int((int)(wxCB_SORT
)));
46601 PyDict_SetItemString(d
,"CB_READONLY", SWIG_From_int((int)(wxCB_READONLY
)));
46604 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_From_int((int)(wxRA_HORIZONTAL
)));
46607 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_From_int((int)(wxRA_VERTICAL
)));
46610 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_From_int((int)(wxRA_SPECIFY_ROWS
)));
46613 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_From_int((int)(wxRA_SPECIFY_COLS
)));
46616 PyDict_SetItemString(d
,"RB_GROUP", SWIG_From_int((int)(wxRB_GROUP
)));
46619 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_From_int((int)(wxRB_SINGLE
)));
46622 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_From_int((int)(wxSL_HORIZONTAL
)));
46625 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_From_int((int)(wxSL_VERTICAL
)));
46628 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_From_int((int)(wxSL_AUTOTICKS
)));
46631 PyDict_SetItemString(d
,"SL_LABELS", SWIG_From_int((int)(wxSL_LABELS
)));
46634 PyDict_SetItemString(d
,"SL_LEFT", SWIG_From_int((int)(wxSL_LEFT
)));
46637 PyDict_SetItemString(d
,"SL_TOP", SWIG_From_int((int)(wxSL_TOP
)));
46640 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_From_int((int)(wxSL_RIGHT
)));
46643 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_From_int((int)(wxSL_BOTTOM
)));
46646 PyDict_SetItemString(d
,"SL_BOTH", SWIG_From_int((int)(wxSL_BOTH
)));
46649 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_From_int((int)(wxSL_SELRANGE
)));
46652 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_From_int((int)(wxSB_HORIZONTAL
)));
46655 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_From_int((int)(wxSB_VERTICAL
)));
46658 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_From_int((int)(wxST_SIZEGRIP
)));
46661 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_From_int((int)(wxST_NO_AUTORESIZE
)));
46664 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_From_int((int)(wxFLOOD_SURFACE
)));
46667 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_From_int((int)(wxFLOOD_BORDER
)));
46670 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_From_int((int)(wxODDEVEN_RULE
)));
46673 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_From_int((int)(wxWINDING_RULE
)));
46676 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_From_int((int)(wxTOOL_TOP
)));
46679 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_From_int((int)(wxTOOL_BOTTOM
)));
46682 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_From_int((int)(wxTOOL_LEFT
)));
46685 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_From_int((int)(wxTOOL_RIGHT
)));
46688 PyDict_SetItemString(d
,"OK", SWIG_From_int((int)(wxOK
)));
46691 PyDict_SetItemString(d
,"YES_NO", SWIG_From_int((int)(wxYES_NO
)));
46694 PyDict_SetItemString(d
,"CANCEL", SWIG_From_int((int)(wxCANCEL
)));
46697 PyDict_SetItemString(d
,"YES", SWIG_From_int((int)(wxYES
)));
46700 PyDict_SetItemString(d
,"NO", SWIG_From_int((int)(wxNO
)));
46703 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_From_int((int)(wxNO_DEFAULT
)));
46706 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_From_int((int)(wxYES_DEFAULT
)));
46709 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_From_int((int)(wxICON_EXCLAMATION
)));
46712 PyDict_SetItemString(d
,"ICON_HAND", SWIG_From_int((int)(wxICON_HAND
)));
46715 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_From_int((int)(wxICON_QUESTION
)));
46718 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_From_int((int)(wxICON_INFORMATION
)));
46721 PyDict_SetItemString(d
,"ICON_STOP", SWIG_From_int((int)(wxICON_STOP
)));
46724 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_From_int((int)(wxICON_ASTERISK
)));
46727 PyDict_SetItemString(d
,"ICON_MASK", SWIG_From_int((int)(wxICON_MASK
)));
46730 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_From_int((int)(wxICON_WARNING
)));
46733 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_From_int((int)(wxICON_ERROR
)));
46736 PyDict_SetItemString(d
,"FORWARD", SWIG_From_int((int)(wxFORWARD
)));
46739 PyDict_SetItemString(d
,"BACKWARD", SWIG_From_int((int)(wxBACKWARD
)));
46742 PyDict_SetItemString(d
,"RESET", SWIG_From_int((int)(wxRESET
)));
46745 PyDict_SetItemString(d
,"HELP", SWIG_From_int((int)(wxHELP
)));
46748 PyDict_SetItemString(d
,"MORE", SWIG_From_int((int)(wxMORE
)));
46751 PyDict_SetItemString(d
,"SETUP", SWIG_From_int((int)(wxSETUP
)));
46754 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_From_int((int)(wxSIZE_AUTO_WIDTH
)));
46757 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)(wxSIZE_AUTO_HEIGHT
)));
46760 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_From_int((int)(wxSIZE_AUTO
)));
46763 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_From_int((int)(wxSIZE_USE_EXISTING
)));
46766 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)(wxSIZE_ALLOW_MINUS_ONE
)));
46769 PyDict_SetItemString(d
,"PORTRAIT", SWIG_From_int((int)(wxPORTRAIT
)));
46772 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_From_int((int)(wxLANDSCAPE
)));
46775 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_From_int((int)(wxPRINT_QUALITY_HIGH
)));
46778 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)(wxPRINT_QUALITY_MEDIUM
)));
46781 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_From_int((int)(wxPRINT_QUALITY_LOW
)));
46784 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)(wxPRINT_QUALITY_DRAFT
)));
46787 PyDict_SetItemString(d
,"ID_ANY", SWIG_From_int((int)(wxID_ANY
)));
46790 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_From_int((int)(wxID_SEPARATOR
)));
46793 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_From_int((int)(wxID_LOWEST
)));
46796 PyDict_SetItemString(d
,"ID_OPEN", SWIG_From_int((int)(wxID_OPEN
)));
46799 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_From_int((int)(wxID_CLOSE
)));
46802 PyDict_SetItemString(d
,"ID_NEW", SWIG_From_int((int)(wxID_NEW
)));
46805 PyDict_SetItemString(d
,"ID_SAVE", SWIG_From_int((int)(wxID_SAVE
)));
46808 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_From_int((int)(wxID_SAVEAS
)));
46811 PyDict_SetItemString(d
,"ID_REVERT", SWIG_From_int((int)(wxID_REVERT
)));
46814 PyDict_SetItemString(d
,"ID_EXIT", SWIG_From_int((int)(wxID_EXIT
)));
46817 PyDict_SetItemString(d
,"ID_UNDO", SWIG_From_int((int)(wxID_UNDO
)));
46820 PyDict_SetItemString(d
,"ID_REDO", SWIG_From_int((int)(wxID_REDO
)));
46823 PyDict_SetItemString(d
,"ID_HELP", SWIG_From_int((int)(wxID_HELP
)));
46826 PyDict_SetItemString(d
,"ID_PRINT", SWIG_From_int((int)(wxID_PRINT
)));
46829 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_From_int((int)(wxID_PRINT_SETUP
)));
46832 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_From_int((int)(wxID_PREVIEW
)));
46835 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_From_int((int)(wxID_ABOUT
)));
46838 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_From_int((int)(wxID_HELP_CONTENTS
)));
46841 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_From_int((int)(wxID_HELP_COMMANDS
)));
46844 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_From_int((int)(wxID_HELP_PROCEDURES
)));
46847 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_From_int((int)(wxID_HELP_CONTEXT
)));
46850 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_From_int((int)(wxID_CLOSE_ALL
)));
46853 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_From_int((int)(wxID_PREFERENCES
)));
46856 PyDict_SetItemString(d
,"ID_CUT", SWIG_From_int((int)(wxID_CUT
)));
46859 PyDict_SetItemString(d
,"ID_COPY", SWIG_From_int((int)(wxID_COPY
)));
46862 PyDict_SetItemString(d
,"ID_PASTE", SWIG_From_int((int)(wxID_PASTE
)));
46865 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_From_int((int)(wxID_CLEAR
)));
46868 PyDict_SetItemString(d
,"ID_FIND", SWIG_From_int((int)(wxID_FIND
)));
46871 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_From_int((int)(wxID_DUPLICATE
)));
46874 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_From_int((int)(wxID_SELECTALL
)));
46877 PyDict_SetItemString(d
,"ID_DELETE", SWIG_From_int((int)(wxID_DELETE
)));
46880 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_From_int((int)(wxID_REPLACE
)));
46883 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_From_int((int)(wxID_REPLACE_ALL
)));
46886 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_From_int((int)(wxID_PROPERTIES
)));
46889 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_From_int((int)(wxID_VIEW_DETAILS
)));
46892 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_From_int((int)(wxID_VIEW_LARGEICONS
)));
46895 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_From_int((int)(wxID_VIEW_SMALLICONS
)));
46898 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_From_int((int)(wxID_VIEW_LIST
)));
46901 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_From_int((int)(wxID_VIEW_SORTDATE
)));
46904 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_From_int((int)(wxID_VIEW_SORTNAME
)));
46907 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_From_int((int)(wxID_VIEW_SORTSIZE
)));
46910 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_From_int((int)(wxID_VIEW_SORTTYPE
)));
46913 PyDict_SetItemString(d
,"ID_FILE1", SWIG_From_int((int)(wxID_FILE1
)));
46916 PyDict_SetItemString(d
,"ID_FILE2", SWIG_From_int((int)(wxID_FILE2
)));
46919 PyDict_SetItemString(d
,"ID_FILE3", SWIG_From_int((int)(wxID_FILE3
)));
46922 PyDict_SetItemString(d
,"ID_FILE4", SWIG_From_int((int)(wxID_FILE4
)));
46925 PyDict_SetItemString(d
,"ID_FILE5", SWIG_From_int((int)(wxID_FILE5
)));
46928 PyDict_SetItemString(d
,"ID_FILE6", SWIG_From_int((int)(wxID_FILE6
)));
46931 PyDict_SetItemString(d
,"ID_FILE7", SWIG_From_int((int)(wxID_FILE7
)));
46934 PyDict_SetItemString(d
,"ID_FILE8", SWIG_From_int((int)(wxID_FILE8
)));
46937 PyDict_SetItemString(d
,"ID_FILE9", SWIG_From_int((int)(wxID_FILE9
)));
46940 PyDict_SetItemString(d
,"ID_OK", SWIG_From_int((int)(wxID_OK
)));
46943 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_From_int((int)(wxID_CANCEL
)));
46946 PyDict_SetItemString(d
,"ID_APPLY", SWIG_From_int((int)(wxID_APPLY
)));
46949 PyDict_SetItemString(d
,"ID_YES", SWIG_From_int((int)(wxID_YES
)));
46952 PyDict_SetItemString(d
,"ID_NO", SWIG_From_int((int)(wxID_NO
)));
46955 PyDict_SetItemString(d
,"ID_STATIC", SWIG_From_int((int)(wxID_STATIC
)));
46958 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_From_int((int)(wxID_FORWARD
)));
46961 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_From_int((int)(wxID_BACKWARD
)));
46964 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_From_int((int)(wxID_DEFAULT
)));
46967 PyDict_SetItemString(d
,"ID_MORE", SWIG_From_int((int)(wxID_MORE
)));
46970 PyDict_SetItemString(d
,"ID_SETUP", SWIG_From_int((int)(wxID_SETUP
)));
46973 PyDict_SetItemString(d
,"ID_RESET", SWIG_From_int((int)(wxID_RESET
)));
46976 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_From_int((int)(wxID_CONTEXT_HELP
)));
46979 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_From_int((int)(wxID_YESTOALL
)));
46982 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_From_int((int)(wxID_NOTOALL
)));
46985 PyDict_SetItemString(d
,"ID_ABORT", SWIG_From_int((int)(wxID_ABORT
)));
46988 PyDict_SetItemString(d
,"ID_RETRY", SWIG_From_int((int)(wxID_RETRY
)));
46991 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_From_int((int)(wxID_IGNORE
)));
46994 PyDict_SetItemString(d
,"ID_ADD", SWIG_From_int((int)(wxID_ADD
)));
46997 PyDict_SetItemString(d
,"ID_REMOVE", SWIG_From_int((int)(wxID_REMOVE
)));
47000 PyDict_SetItemString(d
,"ID_UP", SWIG_From_int((int)(wxID_UP
)));
47003 PyDict_SetItemString(d
,"ID_DOWN", SWIG_From_int((int)(wxID_DOWN
)));
47006 PyDict_SetItemString(d
,"ID_HOME", SWIG_From_int((int)(wxID_HOME
)));
47009 PyDict_SetItemString(d
,"ID_REFRESH", SWIG_From_int((int)(wxID_REFRESH
)));
47012 PyDict_SetItemString(d
,"ID_STOP", SWIG_From_int((int)(wxID_STOP
)));
47015 PyDict_SetItemString(d
,"ID_INDEX", SWIG_From_int((int)(wxID_INDEX
)));
47018 PyDict_SetItemString(d
,"ID_BOLD", SWIG_From_int((int)(wxID_BOLD
)));
47021 PyDict_SetItemString(d
,"ID_ITALIC", SWIG_From_int((int)(wxID_ITALIC
)));
47024 PyDict_SetItemString(d
,"ID_JUSTIFY_CENTER", SWIG_From_int((int)(wxID_JUSTIFY_CENTER
)));
47027 PyDict_SetItemString(d
,"ID_JUSTIFY_FILL", SWIG_From_int((int)(wxID_JUSTIFY_FILL
)));
47030 PyDict_SetItemString(d
,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)(wxID_JUSTIFY_RIGHT
)));
47033 PyDict_SetItemString(d
,"ID_JUSTIFY_LEFT", SWIG_From_int((int)(wxID_JUSTIFY_LEFT
)));
47036 PyDict_SetItemString(d
,"ID_UNDERLINE", SWIG_From_int((int)(wxID_UNDERLINE
)));
47039 PyDict_SetItemString(d
,"ID_INDENT", SWIG_From_int((int)(wxID_INDENT
)));
47042 PyDict_SetItemString(d
,"ID_UNINDENT", SWIG_From_int((int)(wxID_UNINDENT
)));
47045 PyDict_SetItemString(d
,"ID_ZOOM_100", SWIG_From_int((int)(wxID_ZOOM_100
)));
47048 PyDict_SetItemString(d
,"ID_ZOOM_FIT", SWIG_From_int((int)(wxID_ZOOM_FIT
)));
47051 PyDict_SetItemString(d
,"ID_ZOOM_IN", SWIG_From_int((int)(wxID_ZOOM_IN
)));
47054 PyDict_SetItemString(d
,"ID_ZOOM_OUT", SWIG_From_int((int)(wxID_ZOOM_OUT
)));
47057 PyDict_SetItemString(d
,"ID_UNDELETE", SWIG_From_int((int)(wxID_UNDELETE
)));
47060 PyDict_SetItemString(d
,"ID_REVERT_TO_SAVED", SWIG_From_int((int)(wxID_REVERT_TO_SAVED
)));
47063 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_From_int((int)(wxID_HIGHEST
)));
47066 PyDict_SetItemString(d
,"OPEN", SWIG_From_int((int)(wxOPEN
)));
47069 PyDict_SetItemString(d
,"SAVE", SWIG_From_int((int)(wxSAVE
)));
47072 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_From_int((int)(wxHIDE_READONLY
)));
47075 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_From_int((int)(wxOVERWRITE_PROMPT
)));
47078 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_From_int((int)(wxFILE_MUST_EXIST
)));
47081 PyDict_SetItemString(d
,"MULTIPLE", SWIG_From_int((int)(wxMULTIPLE
)));
47084 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_From_int((int)(wxCHANGE_DIR
)));
47087 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_From_int((int)(wxACCEL_ALT
)));
47090 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_From_int((int)(wxACCEL_CTRL
)));
47093 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_From_int((int)(wxACCEL_SHIFT
)));
47096 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_From_int((int)(wxACCEL_NORMAL
)));
47099 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_From_int((int)(wxPD_AUTO_HIDE
)));
47102 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_From_int((int)(wxPD_APP_MODAL
)));
47105 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_From_int((int)(wxPD_CAN_ABORT
)));
47108 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_From_int((int)(wxPD_ELAPSED_TIME
)));
47111 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_From_int((int)(wxPD_ESTIMATED_TIME
)));
47114 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_From_int((int)(wxPD_REMAINING_TIME
)));
47117 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)(wxDD_NEW_DIR_BUTTON
)));
47120 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_From_int((int)(wxDD_DEFAULT_STYLE
)));
47123 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_From_int((int)(wxMENU_TEAROFF
)));
47126 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_From_int((int)(wxMB_DOCKABLE
)));
47129 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxNO_FULL_REPAINT_ON_RESIZE
)));
47132 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxFULL_REPAINT_ON_RESIZE
)));
47135 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_From_int((int)(wxLI_HORIZONTAL
)));
47138 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_From_int((int)(wxLI_VERTICAL
)));
47141 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)(wxWS_EX_VALIDATE_RECURSIVELY
)));
47144 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)(wxWS_EX_BLOCK_EVENTS
)));
47147 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_From_int((int)(wxWS_EX_TRANSIENT
)));
47150 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)(wxWS_EX_THEMED_BACKGROUND
)));
47153 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)(wxWS_EX_PROCESS_IDLE
)));
47156 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)(wxWS_EX_PROCESS_UI_UPDATES
)));
47159 PyDict_SetItemString(d
,"MM_TEXT", SWIG_From_int((int)(wxMM_TEXT
)));
47162 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_From_int((int)(wxMM_LOMETRIC
)));
47165 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_From_int((int)(wxMM_HIMETRIC
)));
47168 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_From_int((int)(wxMM_LOENGLISH
)));
47171 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_From_int((int)(wxMM_HIENGLISH
)));
47174 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_From_int((int)(wxMM_TWIPS
)));
47177 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_From_int((int)(wxMM_ISOTROPIC
)));
47180 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_From_int((int)(wxMM_ANISOTROPIC
)));
47183 PyDict_SetItemString(d
,"MM_POINTS", SWIG_From_int((int)(wxMM_POINTS
)));
47186 PyDict_SetItemString(d
,"MM_METRIC", SWIG_From_int((int)(wxMM_METRIC
)));
47189 PyDict_SetItemString(d
,"CENTRE", SWIG_From_int((int)(wxCENTRE
)));
47192 PyDict_SetItemString(d
,"CENTER", SWIG_From_int((int)(wxCENTER
)));
47195 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_From_int((int)(wxHORIZONTAL
)));
47198 PyDict_SetItemString(d
,"VERTICAL", SWIG_From_int((int)(wxVERTICAL
)));
47201 PyDict_SetItemString(d
,"BOTH", SWIG_From_int((int)(wxBOTH
)));
47204 PyDict_SetItemString(d
,"LEFT", SWIG_From_int((int)(wxLEFT
)));
47207 PyDict_SetItemString(d
,"RIGHT", SWIG_From_int((int)(wxRIGHT
)));
47210 PyDict_SetItemString(d
,"UP", SWIG_From_int((int)(wxUP
)));
47213 PyDict_SetItemString(d
,"DOWN", SWIG_From_int((int)(wxDOWN
)));
47216 PyDict_SetItemString(d
,"TOP", SWIG_From_int((int)(wxTOP
)));
47219 PyDict_SetItemString(d
,"BOTTOM", SWIG_From_int((int)(wxBOTTOM
)));
47222 PyDict_SetItemString(d
,"NORTH", SWIG_From_int((int)(wxNORTH
)));
47225 PyDict_SetItemString(d
,"SOUTH", SWIG_From_int((int)(wxSOUTH
)));
47228 PyDict_SetItemString(d
,"WEST", SWIG_From_int((int)(wxWEST
)));
47231 PyDict_SetItemString(d
,"EAST", SWIG_From_int((int)(wxEAST
)));
47234 PyDict_SetItemString(d
,"ALL", SWIG_From_int((int)(wxALL
)));
47237 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_From_int((int)(wxALIGN_NOT
)));
47240 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTER_HORIZONTAL
)));
47243 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTRE_HORIZONTAL
)));
47246 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_From_int((int)(wxALIGN_LEFT
)));
47249 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_From_int((int)(wxALIGN_TOP
)));
47252 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_From_int((int)(wxALIGN_RIGHT
)));
47255 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_From_int((int)(wxALIGN_BOTTOM
)));
47258 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTER_VERTICAL
)));
47261 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTRE_VERTICAL
)));
47264 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_From_int((int)(wxALIGN_CENTER
)));
47267 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_From_int((int)(wxALIGN_CENTRE
)));
47270 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_From_int((int)(wxALIGN_MASK
)));
47273 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_From_int((int)(wxSTRETCH_NOT
)));
47276 PyDict_SetItemString(d
,"SHRINK", SWIG_From_int((int)(wxSHRINK
)));
47279 PyDict_SetItemString(d
,"GROW", SWIG_From_int((int)(wxGROW
)));
47282 PyDict_SetItemString(d
,"EXPAND", SWIG_From_int((int)(wxEXPAND
)));
47285 PyDict_SetItemString(d
,"SHAPED", SWIG_From_int((int)(wxSHAPED
)));
47288 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_From_int((int)(wxFIXED_MINSIZE
)));
47291 PyDict_SetItemString(d
,"TILE", SWIG_From_int((int)(wxTILE
)));
47294 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_From_int((int)(wxADJUST_MINSIZE
)));
47297 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_From_int((int)(wxBORDER_DEFAULT
)));
47300 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_From_int((int)(wxBORDER_NONE
)));
47303 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_From_int((int)(wxBORDER_STATIC
)));
47306 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_From_int((int)(wxBORDER_SIMPLE
)));
47309 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_From_int((int)(wxBORDER_RAISED
)));
47312 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_From_int((int)(wxBORDER_SUNKEN
)));
47315 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_From_int((int)(wxBORDER_DOUBLE
)));
47318 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_From_int((int)(wxBORDER_MASK
)));
47321 PyDict_SetItemString(d
,"BG_STYLE_SYSTEM", SWIG_From_int((int)(wxBG_STYLE_SYSTEM
)));
47324 PyDict_SetItemString(d
,"BG_STYLE_COLOUR", SWIG_From_int((int)(wxBG_STYLE_COLOUR
)));
47327 PyDict_SetItemString(d
,"BG_STYLE_CUSTOM", SWIG_From_int((int)(wxBG_STYLE_CUSTOM
)));
47330 PyDict_SetItemString(d
,"DEFAULT", SWIG_From_int((int)(wxDEFAULT
)));
47333 PyDict_SetItemString(d
,"DECORATIVE", SWIG_From_int((int)(wxDECORATIVE
)));
47336 PyDict_SetItemString(d
,"ROMAN", SWIG_From_int((int)(wxROMAN
)));
47339 PyDict_SetItemString(d
,"SCRIPT", SWIG_From_int((int)(wxSCRIPT
)));
47342 PyDict_SetItemString(d
,"SWISS", SWIG_From_int((int)(wxSWISS
)));
47345 PyDict_SetItemString(d
,"MODERN", SWIG_From_int((int)(wxMODERN
)));
47348 PyDict_SetItemString(d
,"TELETYPE", SWIG_From_int((int)(wxTELETYPE
)));
47351 PyDict_SetItemString(d
,"VARIABLE", SWIG_From_int((int)(wxVARIABLE
)));
47354 PyDict_SetItemString(d
,"FIXED", SWIG_From_int((int)(wxFIXED
)));
47357 PyDict_SetItemString(d
,"NORMAL", SWIG_From_int((int)(wxNORMAL
)));
47360 PyDict_SetItemString(d
,"LIGHT", SWIG_From_int((int)(wxLIGHT
)));
47363 PyDict_SetItemString(d
,"BOLD", SWIG_From_int((int)(wxBOLD
)));
47366 PyDict_SetItemString(d
,"ITALIC", SWIG_From_int((int)(wxITALIC
)));
47369 PyDict_SetItemString(d
,"SLANT", SWIG_From_int((int)(wxSLANT
)));
47372 PyDict_SetItemString(d
,"SOLID", SWIG_From_int((int)(wxSOLID
)));
47375 PyDict_SetItemString(d
,"DOT", SWIG_From_int((int)(wxDOT
)));
47378 PyDict_SetItemString(d
,"LONG_DASH", SWIG_From_int((int)(wxLONG_DASH
)));
47381 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_From_int((int)(wxSHORT_DASH
)));
47384 PyDict_SetItemString(d
,"DOT_DASH", SWIG_From_int((int)(wxDOT_DASH
)));
47387 PyDict_SetItemString(d
,"USER_DASH", SWIG_From_int((int)(wxUSER_DASH
)));
47390 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_From_int((int)(wxTRANSPARENT
)));
47393 PyDict_SetItemString(d
,"STIPPLE", SWIG_From_int((int)(wxSTIPPLE
)));
47396 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_From_int((int)(wxBDIAGONAL_HATCH
)));
47399 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_From_int((int)(wxCROSSDIAG_HATCH
)));
47402 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_From_int((int)(wxFDIAGONAL_HATCH
)));
47405 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_From_int((int)(wxCROSS_HATCH
)));
47408 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_From_int((int)(wxHORIZONTAL_HATCH
)));
47411 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_From_int((int)(wxVERTICAL_HATCH
)));
47414 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_From_int((int)(wxJOIN_BEVEL
)));
47417 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_From_int((int)(wxJOIN_MITER
)));
47420 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_From_int((int)(wxJOIN_ROUND
)));
47423 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_From_int((int)(wxCAP_ROUND
)));
47426 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_From_int((int)(wxCAP_PROJECTING
)));
47429 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_From_int((int)(wxCAP_BUTT
)));
47432 PyDict_SetItemString(d
,"CLEAR", SWIG_From_int((int)(wxCLEAR
)));
47435 PyDict_SetItemString(d
,"XOR", SWIG_From_int((int)(wxXOR
)));
47438 PyDict_SetItemString(d
,"INVERT", SWIG_From_int((int)(wxINVERT
)));
47441 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_From_int((int)(wxOR_REVERSE
)));
47444 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_From_int((int)(wxAND_REVERSE
)));
47447 PyDict_SetItemString(d
,"COPY", SWIG_From_int((int)(wxCOPY
)));
47450 PyDict_SetItemString(d
,"AND", SWIG_From_int((int)(wxAND
)));
47453 PyDict_SetItemString(d
,"AND_INVERT", SWIG_From_int((int)(wxAND_INVERT
)));
47456 PyDict_SetItemString(d
,"NO_OP", SWIG_From_int((int)(wxNO_OP
)));
47459 PyDict_SetItemString(d
,"NOR", SWIG_From_int((int)(wxNOR
)));
47462 PyDict_SetItemString(d
,"EQUIV", SWIG_From_int((int)(wxEQUIV
)));
47465 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_From_int((int)(wxSRC_INVERT
)));
47468 PyDict_SetItemString(d
,"OR_INVERT", SWIG_From_int((int)(wxOR_INVERT
)));
47471 PyDict_SetItemString(d
,"NAND", SWIG_From_int((int)(wxNAND
)));
47474 PyDict_SetItemString(d
,"OR", SWIG_From_int((int)(wxOR
)));
47477 PyDict_SetItemString(d
,"SET", SWIG_From_int((int)(wxSET
)));
47480 PyDict_SetItemString(d
,"WXK_BACK", SWIG_From_int((int)(WXK_BACK
)));
47483 PyDict_SetItemString(d
,"WXK_TAB", SWIG_From_int((int)(WXK_TAB
)));
47486 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_From_int((int)(WXK_RETURN
)));
47489 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_From_int((int)(WXK_ESCAPE
)));
47492 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_From_int((int)(WXK_SPACE
)));
47495 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_From_int((int)(WXK_DELETE
)));
47498 PyDict_SetItemString(d
,"WXK_START", SWIG_From_int((int)(WXK_START
)));
47501 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_From_int((int)(WXK_LBUTTON
)));
47504 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_From_int((int)(WXK_RBUTTON
)));
47507 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_From_int((int)(WXK_CANCEL
)));
47510 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_From_int((int)(WXK_MBUTTON
)));
47513 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_From_int((int)(WXK_CLEAR
)));
47516 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_From_int((int)(WXK_SHIFT
)));
47519 PyDict_SetItemString(d
,"WXK_ALT", SWIG_From_int((int)(WXK_ALT
)));
47522 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_From_int((int)(WXK_CONTROL
)));
47525 PyDict_SetItemString(d
,"WXK_MENU", SWIG_From_int((int)(WXK_MENU
)));
47528 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_From_int((int)(WXK_PAUSE
)));
47531 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_From_int((int)(WXK_CAPITAL
)));
47534 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_From_int((int)(WXK_PRIOR
)));
47537 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_From_int((int)(WXK_NEXT
)));
47540 PyDict_SetItemString(d
,"WXK_END", SWIG_From_int((int)(WXK_END
)));
47543 PyDict_SetItemString(d
,"WXK_HOME", SWIG_From_int((int)(WXK_HOME
)));
47546 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_From_int((int)(WXK_LEFT
)));
47549 PyDict_SetItemString(d
,"WXK_UP", SWIG_From_int((int)(WXK_UP
)));
47552 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_From_int((int)(WXK_RIGHT
)));
47555 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_From_int((int)(WXK_DOWN
)));
47558 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_From_int((int)(WXK_SELECT
)));
47561 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_From_int((int)(WXK_PRINT
)));
47564 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_From_int((int)(WXK_EXECUTE
)));
47567 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_From_int((int)(WXK_SNAPSHOT
)));
47570 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_From_int((int)(WXK_INSERT
)));
47573 PyDict_SetItemString(d
,"WXK_HELP", SWIG_From_int((int)(WXK_HELP
)));
47576 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_From_int((int)(WXK_NUMPAD0
)));
47579 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_From_int((int)(WXK_NUMPAD1
)));
47582 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_From_int((int)(WXK_NUMPAD2
)));
47585 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_From_int((int)(WXK_NUMPAD3
)));
47588 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_From_int((int)(WXK_NUMPAD4
)));
47591 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_From_int((int)(WXK_NUMPAD5
)));
47594 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_From_int((int)(WXK_NUMPAD6
)));
47597 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_From_int((int)(WXK_NUMPAD7
)));
47600 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_From_int((int)(WXK_NUMPAD8
)));
47603 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_From_int((int)(WXK_NUMPAD9
)));
47606 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_From_int((int)(WXK_MULTIPLY
)));
47609 PyDict_SetItemString(d
,"WXK_ADD", SWIG_From_int((int)(WXK_ADD
)));
47612 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_From_int((int)(WXK_SEPARATOR
)));
47615 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_From_int((int)(WXK_SUBTRACT
)));
47618 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_From_int((int)(WXK_DECIMAL
)));
47621 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_From_int((int)(WXK_DIVIDE
)));
47624 PyDict_SetItemString(d
,"WXK_F1", SWIG_From_int((int)(WXK_F1
)));
47627 PyDict_SetItemString(d
,"WXK_F2", SWIG_From_int((int)(WXK_F2
)));
47630 PyDict_SetItemString(d
,"WXK_F3", SWIG_From_int((int)(WXK_F3
)));
47633 PyDict_SetItemString(d
,"WXK_F4", SWIG_From_int((int)(WXK_F4
)));
47636 PyDict_SetItemString(d
,"WXK_F5", SWIG_From_int((int)(WXK_F5
)));
47639 PyDict_SetItemString(d
,"WXK_F6", SWIG_From_int((int)(WXK_F6
)));
47642 PyDict_SetItemString(d
,"WXK_F7", SWIG_From_int((int)(WXK_F7
)));
47645 PyDict_SetItemString(d
,"WXK_F8", SWIG_From_int((int)(WXK_F8
)));
47648 PyDict_SetItemString(d
,"WXK_F9", SWIG_From_int((int)(WXK_F9
)));
47651 PyDict_SetItemString(d
,"WXK_F10", SWIG_From_int((int)(WXK_F10
)));
47654 PyDict_SetItemString(d
,"WXK_F11", SWIG_From_int((int)(WXK_F11
)));
47657 PyDict_SetItemString(d
,"WXK_F12", SWIG_From_int((int)(WXK_F12
)));
47660 PyDict_SetItemString(d
,"WXK_F13", SWIG_From_int((int)(WXK_F13
)));
47663 PyDict_SetItemString(d
,"WXK_F14", SWIG_From_int((int)(WXK_F14
)));
47666 PyDict_SetItemString(d
,"WXK_F15", SWIG_From_int((int)(WXK_F15
)));
47669 PyDict_SetItemString(d
,"WXK_F16", SWIG_From_int((int)(WXK_F16
)));
47672 PyDict_SetItemString(d
,"WXK_F17", SWIG_From_int((int)(WXK_F17
)));
47675 PyDict_SetItemString(d
,"WXK_F18", SWIG_From_int((int)(WXK_F18
)));
47678 PyDict_SetItemString(d
,"WXK_F19", SWIG_From_int((int)(WXK_F19
)));
47681 PyDict_SetItemString(d
,"WXK_F20", SWIG_From_int((int)(WXK_F20
)));
47684 PyDict_SetItemString(d
,"WXK_F21", SWIG_From_int((int)(WXK_F21
)));
47687 PyDict_SetItemString(d
,"WXK_F22", SWIG_From_int((int)(WXK_F22
)));
47690 PyDict_SetItemString(d
,"WXK_F23", SWIG_From_int((int)(WXK_F23
)));
47693 PyDict_SetItemString(d
,"WXK_F24", SWIG_From_int((int)(WXK_F24
)));
47696 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_From_int((int)(WXK_NUMLOCK
)));
47699 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_From_int((int)(WXK_SCROLL
)));
47702 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_From_int((int)(WXK_PAGEUP
)));
47705 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_From_int((int)(WXK_PAGEDOWN
)));
47708 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_From_int((int)(WXK_NUMPAD_SPACE
)));
47711 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_From_int((int)(WXK_NUMPAD_TAB
)));
47714 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_From_int((int)(WXK_NUMPAD_ENTER
)));
47717 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_From_int((int)(WXK_NUMPAD_F1
)));
47720 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_From_int((int)(WXK_NUMPAD_F2
)));
47723 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_From_int((int)(WXK_NUMPAD_F3
)));
47726 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_From_int((int)(WXK_NUMPAD_F4
)));
47729 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_From_int((int)(WXK_NUMPAD_HOME
)));
47732 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_From_int((int)(WXK_NUMPAD_LEFT
)));
47735 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_From_int((int)(WXK_NUMPAD_UP
)));
47738 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)(WXK_NUMPAD_RIGHT
)));
47741 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_From_int((int)(WXK_NUMPAD_DOWN
)));
47744 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)(WXK_NUMPAD_PRIOR
)));
47747 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)(WXK_NUMPAD_PAGEUP
)));
47750 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_From_int((int)(WXK_NUMPAD_NEXT
)));
47753 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)(WXK_NUMPAD_PAGEDOWN
)));
47756 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_From_int((int)(WXK_NUMPAD_END
)));
47759 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)(WXK_NUMPAD_BEGIN
)));
47762 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_From_int((int)(WXK_NUMPAD_INSERT
)));
47765 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_From_int((int)(WXK_NUMPAD_DELETE
)));
47768 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)(WXK_NUMPAD_EQUAL
)));
47771 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)(WXK_NUMPAD_MULTIPLY
)));
47774 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_From_int((int)(WXK_NUMPAD_ADD
)));
47777 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)(WXK_NUMPAD_SEPARATOR
)));
47780 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)(WXK_NUMPAD_SUBTRACT
)));
47783 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)(WXK_NUMPAD_DECIMAL
)));
47786 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)(WXK_NUMPAD_DIVIDE
)));
47789 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_From_int((int)(WXK_WINDOWS_LEFT
)));
47792 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)(WXK_WINDOWS_RIGHT
)));
47795 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_From_int((int)(WXK_WINDOWS_MENU
)));
47798 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_From_int((int)(wxPAPER_NONE
)));
47801 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_From_int((int)(wxPAPER_LETTER
)));
47804 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_From_int((int)(wxPAPER_LEGAL
)));
47807 PyDict_SetItemString(d
,"PAPER_A4", SWIG_From_int((int)(wxPAPER_A4
)));
47810 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_From_int((int)(wxPAPER_CSHEET
)));
47813 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_From_int((int)(wxPAPER_DSHEET
)));
47816 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_From_int((int)(wxPAPER_ESHEET
)));
47819 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_From_int((int)(wxPAPER_LETTERSMALL
)));
47822 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_From_int((int)(wxPAPER_TABLOID
)));
47825 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_From_int((int)(wxPAPER_LEDGER
)));
47828 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_From_int((int)(wxPAPER_STATEMENT
)));
47831 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_From_int((int)(wxPAPER_EXECUTIVE
)));
47834 PyDict_SetItemString(d
,"PAPER_A3", SWIG_From_int((int)(wxPAPER_A3
)));
47837 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_From_int((int)(wxPAPER_A4SMALL
)));
47840 PyDict_SetItemString(d
,"PAPER_A5", SWIG_From_int((int)(wxPAPER_A5
)));
47843 PyDict_SetItemString(d
,"PAPER_B4", SWIG_From_int((int)(wxPAPER_B4
)));
47846 PyDict_SetItemString(d
,"PAPER_B5", SWIG_From_int((int)(wxPAPER_B5
)));
47849 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_From_int((int)(wxPAPER_FOLIO
)));
47852 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_From_int((int)(wxPAPER_QUARTO
)));
47855 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_From_int((int)(wxPAPER_10X14
)));
47858 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_From_int((int)(wxPAPER_11X17
)));
47861 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_From_int((int)(wxPAPER_NOTE
)));
47864 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_From_int((int)(wxPAPER_ENV_9
)));
47867 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_From_int((int)(wxPAPER_ENV_10
)));
47870 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_From_int((int)(wxPAPER_ENV_11
)));
47873 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_From_int((int)(wxPAPER_ENV_12
)));
47876 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_From_int((int)(wxPAPER_ENV_14
)));
47879 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_From_int((int)(wxPAPER_ENV_DL
)));
47882 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_From_int((int)(wxPAPER_ENV_C5
)));
47885 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_From_int((int)(wxPAPER_ENV_C3
)));
47888 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_From_int((int)(wxPAPER_ENV_C4
)));
47891 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_From_int((int)(wxPAPER_ENV_C6
)));
47894 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_From_int((int)(wxPAPER_ENV_C65
)));
47897 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_From_int((int)(wxPAPER_ENV_B4
)));
47900 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_From_int((int)(wxPAPER_ENV_B5
)));
47903 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_From_int((int)(wxPAPER_ENV_B6
)));
47906 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_From_int((int)(wxPAPER_ENV_ITALY
)));
47909 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_From_int((int)(wxPAPER_ENV_MONARCH
)));
47912 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_From_int((int)(wxPAPER_ENV_PERSONAL
)));
47915 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_From_int((int)(wxPAPER_FANFOLD_US
)));
47918 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_STD_GERMAN
)));
47921 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_LGL_GERMAN
)));
47924 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_From_int((int)(wxPAPER_ISO_B4
)));
47927 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)(wxPAPER_JAPANESE_POSTCARD
)));
47930 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_From_int((int)(wxPAPER_9X11
)));
47933 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_From_int((int)(wxPAPER_10X11
)));
47936 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_From_int((int)(wxPAPER_15X11
)));
47939 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_From_int((int)(wxPAPER_ENV_INVITE
)));
47942 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA
)));
47945 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)(wxPAPER_LEGAL_EXTRA
)));
47948 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)(wxPAPER_TABLOID_EXTRA
)));
47951 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_From_int((int)(wxPAPER_A4_EXTRA
)));
47954 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_TRANSVERSE
)));
47957 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A4_TRANSVERSE
)));
47960 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA_TRANSVERSE
)));
47963 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_From_int((int)(wxPAPER_A_PLUS
)));
47966 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_From_int((int)(wxPAPER_B_PLUS
)));
47969 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_From_int((int)(wxPAPER_LETTER_PLUS
)));
47972 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_From_int((int)(wxPAPER_A4_PLUS
)));
47975 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A5_TRANSVERSE
)));
47978 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_B5_TRANSVERSE
)));
47981 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_From_int((int)(wxPAPER_A3_EXTRA
)));
47984 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_From_int((int)(wxPAPER_A5_EXTRA
)));
47987 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_From_int((int)(wxPAPER_B5_EXTRA
)));
47990 PyDict_SetItemString(d
,"PAPER_A2", SWIG_From_int((int)(wxPAPER_A2
)));
47993 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_TRANSVERSE
)));
47996 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_EXTRA_TRANSVERSE
)));
47999 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_From_int((int)(wxDUPLEX_SIMPLEX
)));
48002 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_From_int((int)(wxDUPLEX_HORIZONTAL
)));
48005 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_From_int((int)(wxDUPLEX_VERTICAL
)));
48008 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_From_int((int)(wxITEM_SEPARATOR
)));
48011 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_From_int((int)(wxITEM_NORMAL
)));
48014 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_From_int((int)(wxITEM_CHECK
)));
48017 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_From_int((int)(wxITEM_RADIO
)));
48020 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_From_int((int)(wxITEM_MAX
)));
48023 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_From_int((int)(wxHT_NOWHERE
)));
48026 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)(wxHT_SCROLLBAR_FIRST
)));
48029 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_1
)));
48032 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_2
)));
48035 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_1
)));
48038 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_2
)));
48041 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)(wxHT_SCROLLBAR_THUMB
)));
48044 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_1
)));
48047 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_2
)));
48050 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_From_int((int)(wxHT_SCROLLBAR_LAST
)));
48053 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)(wxHT_WINDOW_OUTSIDE
)));
48056 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_From_int((int)(wxHT_WINDOW_INSIDE
)));
48059 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_VERT_SCROLLBAR
)));
48062 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_HORZ_SCROLLBAR
)));
48065 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_From_int((int)(wxHT_WINDOW_CORNER
)));
48068 PyDict_SetItemString(d
,"HT_MAX", SWIG_From_int((int)(wxHT_MAX
)));
48071 PyDict_SetItemString(d
,"MOD_NONE", SWIG_From_int((int)(wxMOD_NONE
)));
48074 PyDict_SetItemString(d
,"MOD_ALT", SWIG_From_int((int)(wxMOD_ALT
)));
48077 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_From_int((int)(wxMOD_CONTROL
)));
48080 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_From_int((int)(wxMOD_SHIFT
)));
48083 PyDict_SetItemString(d
,"MOD_WIN", SWIG_From_int((int)(wxMOD_WIN
)));
48086 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_From_int((int)(wxUPDATE_UI_NONE
)));
48089 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_From_int((int)(wxUPDATE_UI_RECURSE
)));
48092 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)(wxUPDATE_UI_FROMIDLE
)));
48094 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
48095 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
48097 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_From_int((int)(wxBITMAP_TYPE_INVALID
)));
48100 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_From_int((int)(wxBITMAP_TYPE_BMP
)));
48103 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_From_int((int)(wxBITMAP_TYPE_ICO
)));
48106 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_From_int((int)(wxBITMAP_TYPE_CUR
)));
48109 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_From_int((int)(wxBITMAP_TYPE_XBM
)));
48112 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XBM_DATA
)));
48115 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_From_int((int)(wxBITMAP_TYPE_XPM
)));
48118 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XPM_DATA
)));
48121 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_From_int((int)(wxBITMAP_TYPE_TIF
)));
48124 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_From_int((int)(wxBITMAP_TYPE_GIF
)));
48127 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_From_int((int)(wxBITMAP_TYPE_PNG
)));
48130 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_From_int((int)(wxBITMAP_TYPE_JPEG
)));
48133 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_From_int((int)(wxBITMAP_TYPE_PNM
)));
48136 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_From_int((int)(wxBITMAP_TYPE_PCX
)));
48139 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_From_int((int)(wxBITMAP_TYPE_PICT
)));
48142 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_From_int((int)(wxBITMAP_TYPE_ICON
)));
48145 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_From_int((int)(wxBITMAP_TYPE_ANI
)));
48148 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_From_int((int)(wxBITMAP_TYPE_IFF
)));
48151 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)(wxBITMAP_TYPE_MACCURSOR
)));
48154 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_From_int((int)(wxBITMAP_TYPE_ANY
)));
48157 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_From_int((int)(wxCURSOR_NONE
)));
48160 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_From_int((int)(wxCURSOR_ARROW
)));
48163 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)(wxCURSOR_RIGHT_ARROW
)));
48166 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_From_int((int)(wxCURSOR_BULLSEYE
)));
48169 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_From_int((int)(wxCURSOR_CHAR
)));
48172 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_From_int((int)(wxCURSOR_CROSS
)));
48175 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_From_int((int)(wxCURSOR_HAND
)));
48178 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_From_int((int)(wxCURSOR_IBEAM
)));
48181 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)(wxCURSOR_LEFT_BUTTON
)));
48184 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_From_int((int)(wxCURSOR_MAGNIFIER
)));
48187 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)(wxCURSOR_MIDDLE_BUTTON
)));
48190 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_From_int((int)(wxCURSOR_NO_ENTRY
)));
48193 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)(wxCURSOR_PAINT_BRUSH
)));
48196 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_From_int((int)(wxCURSOR_PENCIL
)));
48199 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_From_int((int)(wxCURSOR_POINT_LEFT
)));
48202 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_From_int((int)(wxCURSOR_POINT_RIGHT
)));
48205 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)(wxCURSOR_QUESTION_ARROW
)));
48208 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)(wxCURSOR_RIGHT_BUTTON
)));
48211 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_From_int((int)(wxCURSOR_SIZENESW
)));
48214 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_From_int((int)(wxCURSOR_SIZENS
)));
48217 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_From_int((int)(wxCURSOR_SIZENWSE
)));
48220 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_From_int((int)(wxCURSOR_SIZEWE
)));
48223 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_From_int((int)(wxCURSOR_SIZING
)));
48226 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_From_int((int)(wxCURSOR_SPRAYCAN
)));
48229 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_From_int((int)(wxCURSOR_WAIT
)));
48232 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_From_int((int)(wxCURSOR_WATCH
)));
48235 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_From_int((int)(wxCURSOR_BLANK
)));
48238 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_From_int((int)(wxCURSOR_DEFAULT
)));
48241 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_From_int((int)(wxCURSOR_COPY_ARROW
)));
48244 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_From_int((int)(wxCURSOR_ARROWWAIT
)));
48247 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_From_int((int)(wxCURSOR_MAX
)));
48249 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
48250 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
48252 PyDict_SetItemString(d
,"FromStart", SWIG_From_int((int)(wxFromStart
)));
48255 PyDict_SetItemString(d
,"FromCurrent", SWIG_From_int((int)(wxFromCurrent
)));
48258 PyDict_SetItemString(d
,"FromEnd", SWIG_From_int((int)(wxFromEnd
)));
48261 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
48264 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
48266 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
48267 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
48268 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
48269 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
48270 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
48271 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
48273 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)(wxIMAGE_RESOLUTION_INCHES
)));
48276 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)(wxIMAGE_RESOLUTION_CM
)));
48279 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_From_int((int)(wxBMP_24BPP
)));
48282 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_From_int((int)(wxBMP_8BPP
)));
48285 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_From_int((int)(wxBMP_8BPP_GREY
)));
48288 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_From_int((int)(wxBMP_8BPP_GRAY
)));
48291 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_From_int((int)(wxBMP_8BPP_RED
)));
48294 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_From_int((int)(wxBMP_8BPP_PALETTE
)));
48297 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_From_int((int)(wxBMP_4BPP
)));
48300 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_From_int((int)(wxBMP_1BPP
)));
48303 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_From_int((int)(wxBMP_1BPP_BW
)));
48306 PyDict_SetItemString(d
,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)(wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
)));
48309 PyDict_SetItemString(d
,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)(wxQUANTIZE_FILL_DESTINATION_IMAGE
)));
48312 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)(wxEVENT_PROPAGATE_NONE
)));
48315 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)(wxEVENT_PROPAGATE_MAX
)));
48317 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
48318 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
48319 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
48320 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
48321 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
48322 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
48323 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
48324 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
48325 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
48326 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
48327 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
48328 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
48329 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
48330 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
48331 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
48332 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
48333 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
48334 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
48335 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
48336 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
48337 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
48338 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
48339 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
48340 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
48341 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
48342 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
48343 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
48344 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
48345 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
48346 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
48347 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
48348 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
48349 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
48350 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
48351 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
48352 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
48353 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
48354 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
48355 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
48356 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
48357 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
48358 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
48359 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
48360 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
48361 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
48362 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
48363 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
48364 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
48365 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
48366 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
48367 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
48368 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
48369 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
48370 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
48371 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
48372 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
48373 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
48374 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
48375 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
48376 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
48377 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
48378 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
48379 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
48380 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
48381 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
48382 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
48383 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
48384 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
48385 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
48386 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
48387 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
48388 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
48389 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
48390 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
48391 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
48392 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
48393 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
48394 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
48395 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
48396 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
48397 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
48398 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
48399 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
48400 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
48401 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
48402 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
48403 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
48404 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
48405 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
48406 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
48407 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
48408 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
48409 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
48410 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
48411 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
48412 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
48413 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
48414 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
48415 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
48416 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
48417 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
48418 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
48419 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
48420 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
48421 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
48422 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
48423 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
48424 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
48425 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
48426 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
48427 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
48428 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
48429 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
48430 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
48432 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_From_int((int)(wxMOUSE_BTN_ANY
)));
48435 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_From_int((int)(wxMOUSE_BTN_NONE
)));
48438 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_From_int((int)(wxMOUSE_BTN_LEFT
)));
48441 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)(wxMOUSE_BTN_MIDDLE
)));
48444 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_From_int((int)(wxMOUSE_BTN_RIGHT
)));
48447 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_ALL
)));
48450 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_SPECIFIED
)));
48453 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)(wxNavigationKeyEvent::IsBackward
)));
48456 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_From_int((int)(wxNavigationKeyEvent::IsForward
)));
48459 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_From_int((int)(wxNavigationKeyEvent::WinChange
)));
48462 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_From_int((int)(wxIDLE_PROCESS_ALL
)));
48465 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)(wxIDLE_PROCESS_SPECIFIED
)));
48468 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)(wxPYAPP_ASSERT_SUPPRESS
)));
48471 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)(wxPYAPP_ASSERT_EXCEPTION
)));
48474 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)(wxPYAPP_ASSERT_DIALOG
)));
48477 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_From_int((int)(wxPYAPP_ASSERT_LOG
)));
48480 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_From_int((int)(wxPRINT_WINDOWS
)));
48483 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_From_int((int)(wxPRINT_POSTSCRIPT
)));
48485 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
48486 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
48488 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)(wxWINDOW_VARIANT_NORMAL
)));
48491 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)(wxWINDOW_VARIANT_SMALL
)));
48494 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_From_int((int)(wxWINDOW_VARIANT_MINI
)));
48497 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)(wxWINDOW_VARIANT_LARGE
)));
48500 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_From_int((int)(wxWINDOW_VARIANT_MAX
)));
48502 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
48503 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
48505 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_From_int((int)(wxFLEX_GROWMODE_NONE
)));
48508 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)(wxFLEX_GROWMODE_SPECIFIED
)));
48511 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_From_int((int)(wxFLEX_GROWMODE_ALL
)));
48513 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
48515 PyDict_SetItemString(d
,"Left", SWIG_From_int((int)(wxLeft
)));
48518 PyDict_SetItemString(d
,"Top", SWIG_From_int((int)(wxTop
)));
48521 PyDict_SetItemString(d
,"Right", SWIG_From_int((int)(wxRight
)));
48524 PyDict_SetItemString(d
,"Bottom", SWIG_From_int((int)(wxBottom
)));
48527 PyDict_SetItemString(d
,"Width", SWIG_From_int((int)(wxWidth
)));
48530 PyDict_SetItemString(d
,"Height", SWIG_From_int((int)(wxHeight
)));
48533 PyDict_SetItemString(d
,"Centre", SWIG_From_int((int)(wxCentre
)));
48536 PyDict_SetItemString(d
,"Center", SWIG_From_int((int)(wxCenter
)));
48539 PyDict_SetItemString(d
,"CentreX", SWIG_From_int((int)(wxCentreX
)));
48542 PyDict_SetItemString(d
,"CentreY", SWIG_From_int((int)(wxCentreY
)));
48545 PyDict_SetItemString(d
,"Unconstrained", SWIG_From_int((int)(wxUnconstrained
)));
48548 PyDict_SetItemString(d
,"AsIs", SWIG_From_int((int)(wxAsIs
)));
48551 PyDict_SetItemString(d
,"PercentOf", SWIG_From_int((int)(wxPercentOf
)));
48554 PyDict_SetItemString(d
,"Above", SWIG_From_int((int)(wxAbove
)));
48557 PyDict_SetItemString(d
,"Below", SWIG_From_int((int)(wxBelow
)));
48560 PyDict_SetItemString(d
,"LeftOf", SWIG_From_int((int)(wxLeftOf
)));
48563 PyDict_SetItemString(d
,"RightOf", SWIG_From_int((int)(wxRightOf
)));
48566 PyDict_SetItemString(d
,"SameAs", SWIG_From_int((int)(wxSameAs
)));
48569 PyDict_SetItemString(d
,"Absolute", SWIG_From_int((int)(wxAbsolute
)));
48572 // Initialize threading, some globals and such
48576 // Although these are defined in __version__ they need to be here too so
48577 // that an assert can be done to ensure that the wxPython and the wxWindows
48579 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
48580 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
48581 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));